[CHROMIUM] Suppress c4267 build warnings for Win64 targets
authorjschuh@chromium.org <jschuh@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 22 Jan 2013 06:13:26 +0000 (06:13 +0000)
committerjschuh@chromium.org <jschuh@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 22 Jan 2013 06:13:26 +0000 (06:13 +0000)
https://bugs.webkit.org/show_bug.cgi?id=107499

Reviewed by Abhishek Arya.

Source/JavaScriptCore:

* JavaScriptCore.gyp/JavaScriptCore.gyp:

Source/Platform:

* Platform.gyp/Platform.gyp:

Source/WebCore:

No new tests. No code changes.

* WebCore.gyp/WebCore.gyp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140384 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp
Source/Platform/ChangeLog
Source/Platform/Platform.gyp/Platform.gyp
Source/WebCore/ChangeLog
Source/WebCore/WebCore.gyp/WebCore.gyp

index cbf0392..d8030f3 100644 (file)
@@ -1,3 +1,12 @@
+2013-01-21  Justin Schuh  <jschuh@chromium.org>
+
+        [CHROMIUM] Suppress c4267 build warnings for Win64 targets
+        https://bugs.webkit.org/show_bug.cgi?id=107499
+
+        Reviewed by Abhishek Arya.
+
+        * JavaScriptCore.gyp/JavaScriptCore.gyp:
+
 2013-01-21  Dirk Schulze  <dschulze@adobe.com>
 
         Add build flag for Canvas's Path object (disabled by default)
index 4f7a205..27335b7 100644 (file)
       'export_dependent_settings': [
         '../../WTF/WTF.gyp/WTF.gyp:wtf',
       ],
+      'conditions': [
+        ['OS=="win"', {
+          # Disable c4267 warnings until we fix size_t to int truncations.
+          'msvs_disabled_warnings': [4267, ],
+        }],
+      ],
     },
   ], # targets
 }
index f64874c..2477d8b 100644 (file)
@@ -1,3 +1,12 @@
+2013-01-21  Justin Schuh  <jschuh@chromium.org>
+
+        [CHROMIUM] Suppress c4267 build warnings for Win64 targets
+        https://bugs.webkit.org/show_bug.cgi?id=107499
+
+        Reviewed by Abhishek Arya.
+
+        * Platform.gyp/Platform.gyp:
+
 2013-01-21  Tommy Widenflycht  <tommyw@google.com>
 
         MediaStream API: Update the RTCPeerConnection states to match the latest specification
index c8f1f1f..d9dbb9e 100644 (file)
                         }],
                     ],
                 }],
+                ['OS=="win"', {
+                    # Disable c4267 warnings until we fix size_t to int truncations.
+                    'msvs_disabled_warnings': [4267, ],
+                }],
             ],
             'copies': [
                 {
index 57fe572..e049ba8 100644 (file)
@@ -1,3 +1,14 @@
+2013-01-21  Justin Schuh  <jschuh@chromium.org>
+
+        [CHROMIUM] Suppress c4267 build warnings for Win64 targets
+        https://bugs.webkit.org/show_bug.cgi?id=107499
+
+        Reviewed by Abhishek Arya.
+
+        No new tests. No code changes.
+
+        * WebCore.gyp/WebCore.gyp:
+
 2013-01-21  Andreas Kling  <akling@apple.com>
 
         CSSSelector::value() should assert that m_match != Tag.
index a06517e..6c688b5 100644 (file)
             'include_dirs+++': ['../dom'],
           },
           # In generated bindings code: 'switch contains default but no case'.
-          'msvs_disabled_warnings': [ 4065 ],
+          # Disable c4267 warnings until we fix size_t to int truncations.
+          'msvs_disabled_warnings': [ 4065, 4267 ],
         }],
         ['OS in ("linux", "android") and "WTF_USE_WEBAUDIO_IPP=1" in feature_defines', {
           'cflags': [