Reviewers: Mads Ager,

Description:
Disable MSVC warning that default array initializers now work properly.

Please review this at http://codereview.chromium.org/6272017/

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     SConstruct
  M     tools/gyp/v8.gyp


Index: SConstruct
===================================================================
--- SConstruct  (revision 6451)
+++ SConstruct  (working copy)
@@ -330,7 +330,7 @@
   },
   'msvc': {
     'all': {
-      'WARNINGFLAGS': ['/W3', '/WX', '/wd4355', '/wd4800']
+      'WARNINGFLAGS': ['/W3', '/WX', '/wd4351', '/wd4355', '/wd4800']
     },
     'library:shared': {
       'CPPDEFINES': ['BUILDING_V8_SHARED'],
Index: tools/gyp/v8.gyp
===================================================================
--- tools/gyp/v8.gyp    (revision 6452)
+++ tools/gyp/v8.gyp    (working copy)
@@ -750,7 +750,7 @@
                 '../../src/platform-win32.cc',
               ],
               # 4355, 4800 came from common.vsprops
-              'msvs_disabled_warnings': [4355, 4800],
+              'msvs_disabled_warnings': [4351, 4355, 4800],
               'link_settings':  {
                 'libraries': [ '-lwinmm.lib' ],
               },


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to