From 7dc1d8c169d8d73020afc91076c07cf6897866f2 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 17 Feb 2012 15:14:31 -0600 Subject: Add -Won-disabled-macro-expansion flag when building with Clang --- acprep | 1 + 1 file changed, 1 insertion(+) diff --git a/acprep b/acprep index cbbe360e..ee44b38e 100755 --- a/acprep +++ b/acprep @@ -1210,6 +1210,7 @@ class PrepareBuild(CommandLineApp): self.CXXFLAGS.append('-Wno-switch-enum') self.CXXFLAGS.append('-Wno-missing-prototypes') self.CXXFLAGS.append('-Wno-missing-noreturn') + self.CXXFLAGS.append('-Wno-disabled-macro-expansion') self.CXXFLAGS.append('-fno-limit-debug-info') #self.CXXFLAGS.append('-Wold-style-cast') -- cgit v1.2.3