1
0
forked from 0ad/0ad

/W4 in Premake

This was SVN commit r2617.
This commit is contained in:
Ykkrosh 2005-08-14 01:16:11 +00:00
parent 7a9f59c192
commit be9bdcc308
3 changed files with 1 additions and 2 deletions

Binary file not shown.

View File

@ -118,7 +118,6 @@ function setuppackage (projectname)
if (OS == "windows") then
package.buildflags = { "no-rtti" }
package.buildoptions = { "/W4" }
else
package.buildflags = { }
end

View File

@ -455,7 +455,7 @@ static int writeVcProject(int version, Package* package)
else
fprintf(file, " UsePrecompiledHeader=\"0\"\n");
fprintf(file, " WarningLevel=\"3\"\n");
fprintf(file, " WarningLevel=\"4\"\n");
if (!managed) fprintf(file, " Detect64BitPortabilityProblems=\"%s\"\n", check64bit ? "TRUE" : "FALSE");
fprintf(file, " DebugInformationFormat=\"%d\"/>\n", symbols);