diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-04-16 13:58:51 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-04-16 13:58:51 -0700 |
commit | 269aaa26f33891f42934fa4f3e4ca3e320018a21 (patch) | |
tree | 7cacac848a5823ef303e4243a71b7b196d89efab | |
parent | 0e2e6ce29f2a5dc60798194860daa4b5c04b93cf (diff) | |
download | pdfium-269aaa26f33891f42934fa4f3e4ca3e320018a21.tar.xz |
Supress the two noisiest warnings on linux standalone builds.
Code might someday be made clean for -Wmissing-field-initializers
and -Wsign-compare, but for now this produces too much noise to be
useful.
The -Wmissing-field-initializers warning is misguided in a high
percentage of cases, and actually leads to bad fixes.
R=brucedawson@chromium.org
Review URL: https://codereview.chromium.org/1094713002
-rw-r--r-- | build/standalone.gypi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build/standalone.gypi b/build/standalone.gypi index 87fe3445ab..186db6e496 100644 --- a/build/standalone.gypi +++ b/build/standalone.gypi @@ -144,6 +144,10 @@ 'cflags': [ '-Wall', '-W', + '-Wno-missing-field-initializers', + # Code might someday be made clean for -Wsign-compare, but for now + # this produces too much noise to be useful. + '-Wno-sign-compare', '-Wno-unused-parameter', '-pthread', '-fno-exceptions', |