diff options
author | Tom Sepez <tsepez@chromium.org> | 2016-03-18 09:00:33 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2016-03-18 09:00:33 -0700 |
commit | 3420909bbb47d6e47d6c561cbcce06d056fdf0a3 (patch) | |
tree | a9de65d516c1ae94cdf452c432da6eef4500625d /third_party/third_party.gyp | |
parent | a1cef70c08a16e2b9d7ec14987a8b20660d83534 (diff) | |
download | pdfium-3420909bbb47d6e47d6c561cbcce06d056fdf0a3.tar.xz |
Fix GCC build
-Wno-sign-compare also for GCC.
-Wno-error=strict-overflow to ignore the following warning.
In file included from
../../third_party/pdfium/core/include/fpdfapi/cpdf_object.h:10:0,
from
../../third_party/pdfium/core/include/fpdfapi/cpdf_stream.h:10,
from
../../third_party/pdfium/core/include/fpdfapi/fpdf_resource.h:12,
from
../../third_party/pdfium/core/fpdfapi/fpdf_font/font_int.h:13,
from
../../third_party/pdfium/core/fpdfapi/fpdf_font/fpdf_font_cid.cpp:7:
../../third_party/pdfium/core/include/fxcrt/fx_string.h: In function
'CFX_ByteString {anonymous}::CMap_GetString(const CFX_ByteStringC&)':
../../third_party/pdfium/core/include/fxcrt/fx_string.h:111:19: warning:
assuming signed overflow does not occur when assuming that (X - c) > X is always
false [-Wstrict-overflow]
if (count < 0 || count > m_Length - index) {
BUG=589724
TEST=build with GCC
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1785943002 .
Diffstat (limited to 'third_party/third_party.gyp')
0 files changed, 0 insertions, 0 deletions