diff options
author | weili <weili@chromium.org> | 2016-05-27 13:21:54 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-27 13:21:54 -0700 |
commit | d23df55b95716a4b6021ab600b99fd31954c8052 (patch) | |
tree | 02095dd966c3430b0cc977b14db10d12d3af8fc9 | |
parent | a54bc400fa69491ad72ad97f74742ec28cbe849a (diff) | |
download | pdfium-d23df55b95716a4b6021ab600b99fd31954c8052.tar.xz |
Change to disable a warning for GCC compilationchromium/2754chromium/2753chromium/2752chromium/2751
The warning was only shown and asked not to be treated as an error.
However, some recent flag change of chromeos toolchain has some
interference with the warning. To avoid future problem, disable the
warning for GCC.
BUG=chromium:615424
Review-Url: https://codereview.chromium.org/2013163003
-rw-r--r-- | BUILD.gn | 2 | ||||
-rw-r--r-- | xfa.gyp | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -51,7 +51,7 @@ config("pdfium_config") { } if (is_posix && !is_clang) { # When GCC. - cflags += [ "-Wno-error=strict-overflow" ] + cflags += [ "-Wno-strict-overflow" ] } } @@ -699,7 +699,7 @@ ["clang==1" , { }], ["os_posix==1 and clang==0", { # When GCC - 'cflags': [ '-Wno-error=strict-overflow' ], + 'cflags': [ '-Wno-strict-overflow' ], }], ["pdf_enable_v8==1", { 'dependencies': [ |