Index: gyp/expat.gyp |
diff --git a/gyp/expat.gyp b/gyp/expat.gyp |
index 9e18383db35ae6eaec71cd89227b1e5f4ab5081d..62b6ebedd596bb8b92e1b062702add3b942fcbd1 100644 |
--- a/gyp/expat.gyp |
+++ b/gyp/expat.gyp |
@@ -11,8 +11,13 @@ |
'targets': [{ |
'target_name': 'expat', |
'type': 'static_library', |
- 'cflags': [ '-w' ], |
- 'defines': [ 'HAVE_MEMMOVE' ], |
+ 'cflags': [ '-Wno-missing-field-initializers' ], |
+ 'xcode_settings': { 'WARNING_CFLAGS': [ '-Wno-missing-field-initializers', ], }, |
+ 'msvs_disabled_warnings': [4244], |
+ 'defines': [ 'HAVE_EXPAT_CONFIG_H' ], |
+ 'include_dirs': [ |
+ '../third_party/externals/expat', |
+ ], |
'sources': [ |
'../third_party/externals/expat/lib/xmlparse.c', |
'../third_party/externals/expat/lib/xmlrole.c', |