Compile WebCore with /W4 on Windows
authoraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 1 Jul 2007 04:53:35 +0000 (04:53 +0000)
committeraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 1 Jul 2007 04:53:35 +0000 (04:53 +0000)
Some more warnings were disabled globally, including assignment within
a conditional, unused variable, and various warnings related to
inability to instantiate opaque structs.

In addition, the "unreachable code" warning was turned off for
CSSGrammar.cpp and XPathGrammar.cpp.

Reviewed by Oliver.

* WebCore.vcproj/WebCore.vcproj:

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

WebCore/ChangeLog
WebCore/WebCore.vcproj/WebCore.vcproj

index 2218a2d..79c0914 100644 (file)
@@ -1,5 +1,20 @@
 2007-06-30  Adam Roben  <aroben@apple.com>
 
+        Compile WebCore with /W4 on Windows
+
+        Some more warnings were disabled globally, including assignment within
+        a conditional, unused variable, and various warnings related to
+        inability to instantiate opaque structs.
+
+        In addition, the "unreachable code" warning was turned off for
+        CSSGrammar.cpp and XPathGrammar.cpp.
+
+        Reviewed by Oliver.
+
+        * WebCore.vcproj/WebCore.vcproj:
+
+2007-06-29  Adam Roben  <aroben@apple.com>
+
         Give CString an equality operator to fix a bug in HTMLFormElement::formData
 
         The bug was spotted by MSVC /W4. The problem was that we were comparing
index 427a6b2..34cf9bf 100644 (file)
                                RuntimeTypeInfo="false"
                                UsePrecompiledHeader="2"
                                PrecompiledHeaderThrough="WebCorePrefix.h"
-                               WarningLevel="3"
+                               WarningLevel="4"
+                               WarnAsError="false"
                                Detect64BitPortabilityProblems="false"
                                DebugInformationFormat="4"
-                               DisableSpecificWarnings="4099;4138;4244;4800;4996;4355;4291;4068;6011;6031;6211;6246;6255;6387"
+                               DisableSpecificWarnings="4099;4100;4127;4138;4189;4244;4510;4512;4610;4706;4800;4996;4355;4291;4068;6011;6031;6211;6246;6255;6387"
                                ForcedIncludeFiles="WebCorePrefix.h"
                                EnablePREfast="true"
                        />
                                RuntimeTypeInfo="false"
                                UsePrecompiledHeader="2"
                                PrecompiledHeaderThrough="WebCorePrefix.h"
-                               WarningLevel="3"
+                               WarningLevel="4"
+                               WarnAsError="false"
                                Detect64BitPortabilityProblems="false"
                                DebugInformationFormat="3"
-                               DisableSpecificWarnings="4099;4138;4244;4800;4996;4355;4291;4068;6011;6031;6211;6246;6255;6387"
+                               DisableSpecificWarnings="4099;4100;4127;4138;4189;4244;4510;4512;4610;4706;4800;4996;4355;4291;4068;6011;6031;6211;6246;6255;6387"
                                ForcedIncludeFiles="WebCorePrefix.h"
                                EnablePREfast="true"
                        />
                                RuntimeTypeInfo="false"
                                UsePrecompiledHeader="2"
                                PrecompiledHeaderThrough="WebCorePrefix.h"
-                               WarningLevel="3"
+                               WarningLevel="4"
+                               WarnAsError="false"
                                Detect64BitPortabilityProblems="false"
                                DebugInformationFormat="4"
-                               DisableSpecificWarnings="4099;4138;4244;4800;4996;4355;4291;4068;6011;6031;6211;6246;6255;6387"
+                               DisableSpecificWarnings="4099;4100;4127;4138;4189;4244;4510;4512;4610;4706;4800;4996;4355;4291;4068;6011;6031;6211;6246;6255;6387"
                                ForcedIncludeFiles="WebCorePrefix.h"
                                EnablePREfast="true"
                        />
                                        <Tool
                                                Name="VCCLCompilerTool"
                                                UsePrecompiledHeader="0"
-                                               DisableSpecificWarnings="4065"
+                                               DisableSpecificWarnings="4065;4702"
                                                ForcedIncludeFiles="$(NOINHERIT)"
                                        />
                                </FileConfiguration>
                                        <Tool
                                                Name="VCCLCompilerTool"
                                                UsePrecompiledHeader="0"
-                                               DisableSpecificWarnings="4065"
+                                               DisableSpecificWarnings="4065;4702"
                                                ForcedIncludeFiles="$(NOINHERIT)"
                                        />
                                </FileConfiguration>
                                        <Tool
                                                Name="VCCLCompilerTool"
                                                UsePrecompiledHeader="0"
-                                               DisableSpecificWarnings="4065"
+                                               DisableSpecificWarnings="4065;4702"
                                                ForcedIncludeFiles="$(NOINHERIT)"
                                        />
                                </FileConfiguration>
                                        <Tool
                                                Name="VCCLCompilerTool"
                                                UsePrecompiledHeader="0"
-                                               DisableSpecificWarnings="4065"
+                                               DisableSpecificWarnings="4065;4702"
                                                ForcedIncludeFiles="$(NOINHERIT)"
                                        />
                                </FileConfiguration>