/W4 in Premake
This was SVN commit r2617.
This commit is contained in:
parent
7a9f59c192
commit
be9bdcc308
Binary file not shown.
@ -118,7 +118,6 @@ function setuppackage (projectname)
|
||||
|
||||
if (OS == "windows") then
|
||||
package.buildflags = { "no-rtti" }
|
||||
package.buildoptions = { "/W4" }
|
||||
else
|
||||
package.buildflags = { }
|
||||
end
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user