diff options
author | Stephen Wilson <wilsons@start.ca> | 2011-01-06 22:10:24 +0000 |
---|---|---|
committer | Stephen Wilson <wilsons@start.ca> | 2011-01-06 22:10:24 +0000 |
commit | c08a6c15beb692d08afb81f1869a66949c9e74c0 (patch) | |
tree | 29581f9b3a13a00a73c402d3affd75d65f06b404 /lldb | |
parent | 7825bf3a12007492378be0052e583bb4bef3f548 (diff) | |
download | bcm5719-llvm-c08a6c15beb692d08afb81f1869a66949c9e74c0.tar.gz bcm5719-llvm-c08a6c15beb692d08afb81f1869a66949c9e74c0.zip |
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
Diffstat (limited to 'lldb')
-rw-r--r-- | lldb/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/Makefile b/lldb/Makefile index 70c48014a42..abe694bb376 100644 --- a/lldb/Makefile +++ b/lldb/Makefile @@ -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. |