From: Andre Noll Date: Fri, 10 Jun 2011 13:35:01 +0000 (+0200) Subject: Avoid warning when compiling with clang. X-Git-Tag: v0.4.8~27^2~2 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=49e464524ba5e6f73041160eec93c8ba5fe5ea18;p=paraslash.git Avoid warning when compiling with clang. Apparently clang does not recognize the #pragma GCC visibility push(default) lines in osl.h and complains for each file which includes this header. Compliling without -Wno-unknown-pragmas fixes this. --- diff --git a/Makefile.in b/Makefile.in index 7a23832b..5016b065 100644 --- a/Makefile.in +++ b/Makefile.in @@ -21,7 +21,7 @@ GIT_VERSION := $(shell ./GIT-VERSION-GEN git-version.h) DEBUG_CPPFLAGS += -g -Wunused -Wundef -W DEBUG_CPPFLAGS += -Wredundant-decls -DEBUG_CPPFLAGS += -Wall -Wno-sign-compare +DEBUG_CPPFLAGS += -Wall -Wno-sign-compare -Wno-unknown-pragmas DEBUG_CPPFLAGS += -Wformat-security DEBUG_CPPFLAGS += -Wmissing-format-attribute # produces false positives