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
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>