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.

llvm-svn: 122974
This commit is contained in:
Stephen Wilson 2011-01-06 22:10:24 +00:00
parent 7825bf3a12
commit c08a6c15be
1 changed files with 4 additions and 0 deletions

View File

@ -53,6 +53,10 @@ endif
# 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.