Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(208)

Unified Diff: pdfium.gyp

Issue 319033002: Disable pointer-to-int conversion warning. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdfium.gyp
diff --git a/pdfium.gyp b/pdfium.gyp
index 390b3f054e82a1fdc312fe930a7c8c7a68ddfb75..7d62b1d1643ac28083e68019784fe444f32fc52b 100644
--- a/pdfium.gyp
+++ b/pdfium.gyp
@@ -487,6 +487,13 @@
'core/src/fxcodec/libjpeg/makefile',
'core/src/fxcodec/libjpeg/transupp.h',
],
+ 'conditions': [
+ ['os_posix==1', {
+ # core/src/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int
+ # conversion to check that an address is 16-bit aligned (benign).
+ 'cflags_c': [ '-Wno-pointer-to-int-cast' ],
+ }],
+ ],
},
{
'target_name': 'fxcrt',
« no previous file with comments | « BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698