[Lldb-commits] [lldb] r122974 - /lldb/trunk/Makefile
Stephen Wilson
wilsons at start.ca
Thu Jan 6 14:10:24 PST 2011
Author: wilsons
Date: Thu Jan 6 16:10:24 2011
New Revision: 122974
URL: http://llvm.org/viewvc/llvm-project?rev=122974&view=rev
Log:
Ignore unknown pragmas.
In particular, we are looking to ignore the "#pragma mark" construct which GCC
warns about on platforms other than Darwin. This cleans up diagnostic output
significantly.
Modified:
lldb/trunk/Makefile
Modified: lldb/trunk/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/Makefile?rev=122974&r1=122973&r2=122974&view=diff
==============================================================================
--- lldb/trunk/Makefile (original)
+++ lldb/trunk/Makefile Thu Jan 6 16:10:24 2011
@@ -53,6 +53,10 @@
# We can revisit this when LLVM/Clang support it.
CXX.Flags += -fno-strict-aliasing
+# Do not warn about pragmas. In particular, we are looking to ignore the
+# "#pragma mark" construct which GCC warns about on platforms other than Darwin.
+EXTRA_OPTIONS += -Wno-unknown-pragmas
+
###
# LLDB Top Level specific stuff.
More information about the lldb-commits
mailing list