From 49e464524ba5e6f73041160eec93c8ba5fe5ea18 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Fri, 10 Jun 2011 15:35:01 +0200 Subject: [PATCH] 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. --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2