diff options
Diffstat (limited to 'pdfium.gyp')
-rw-r--r-- | pdfium.gyp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pdfium.gyp b/pdfium.gyp index 732c2abe67..8cf3950a68 100644 --- a/pdfium.gyp +++ b/pdfium.gyp @@ -1,5 +1,6 @@ { 'variables': { + 'win_third_party_warn_as_error': 'false', 'pdf_use_skia%': 0, }, 'target_defaults': { @@ -36,8 +37,14 @@ ['OS=="mac"', { 'xcode_settings': { 'GCC_ENABLE_CPP_EXCEPTIONS': 'YES', + 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Werror }, }], + ['clang==1', {
+ 'cflags!': [ + '-Werror', + ], + }], ], 'msvs_disabled_warnings': [ 4005, 4018, 4146, 4333, 4345 |