Fixed or silenced all warnings and turned on warnings-as-errors.
[pdfium.git] / pdfium.gyp
index 26c5d72..2135b2f 100644 (file)
@@ -1,6 +1,5 @@
 {
   'variables': {
-    'win_third_party_warn_as_error': 'false',
     'pdf_use_skia%': 0,
   },
   'target_defaults': {
       ['OS=="mac"', {
         'xcode_settings': {
           'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',
-          'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO',    # -Werror
         },
       }],
       ['clang==1', {
         'cflags!': [
-          '-Werror',
+          '-Wheader-hygiene',
         ],
       }],
     ],