Commits

Jason Perkins committed a54c67a

Stop enabling VC'10 smaller type checks

Comments (0)

Files changed (2)

src/actions/vstudio/vs2010_vcxproj.lua

 			return
 		end
 
-		if premake.config.isdebugbuild(cfg) and cfg.flags.ExtraWarnings then
-			_p(3,'<SmallerTypeCheck>true</SmallerTypeCheck>')
-		end
-
 		if cfg.flags.FatalWarnings then
 			_p(3,'<TreatWarningAsError>true</TreatWarningAsError>')
 		end

tests/actions/vstudio/vc2010/test_compile_settings.lua

 		]]
 	end
 
---
--- Debug builds with extra warnings unlock smaller type checks.
---
-
-	function suite.smallerTypeCheck_onDebugWithExtraWarnings()
-		flags { "Symbols", "ExtraWarnings" }
-		prepare()
-		test.capture [[
-		<ClCompile>
-			<PrecompiledHeader>NotUsing</PrecompiledHeader>
-			<WarningLevel>Level4</WarningLevel>
-			<SmallerTypeCheck>true</SmallerTypeCheck>
-		]]
-	end
-
 
 --
 -- If the StaticRuntime flag is specified, add the <RuntimeLibrary> element.