diff options
author | SupSuper | 2019-11-24 04:56:53 +0000 |
---|---|---|
committer | SupSuper | 2019-11-24 04:56:53 +0000 |
commit | 4c89d6dca3c4159861ab28e0d1fa557e062dc1a4 (patch) | |
tree | a28196ada251ad33abb9f32138661004026518e5 /devtools/create_project | |
parent | 8014fe06fcf9386d98daa49418e3596bd2baa5a6 (diff) | |
download | scummvm-rg350-4c89d6dca3c4159861ab28e0d1fa557e062dc1a4.tar.gz scummvm-rg350-4c89d6dca3c4159861ab28e0d1fa557e062dc1a4.tar.bz2 scummvm-rg350-4c89d6dca3c4159861ab28e0d1fa557e062dc1a4.zip |
MSVC: Enable C++ Conformance mode
Disables non-portable behaviors in modern Visual Studio.
This reduces the chance of code compiling correctly in MSVC but failing in other compilers.
Diffstat (limited to 'devtools/create_project')
-rw-r--r-- | devtools/create_project/msbuild.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/devtools/create_project/msbuild.cpp b/devtools/create_project/msbuild.cpp index fe73509b73..d892ce3265 100644 --- a/devtools/create_project/msbuild.cpp +++ b/devtools/create_project/msbuild.cpp @@ -364,6 +364,7 @@ void MSBuildProvider::outputGlobalPropFile(const BuildSetup &setup, std::ofstrea "\t\t\t<TreatWarningAsError>false</TreatWarningAsError>\n" "\t\t\t<CompileAs>Default</CompileAs>\n" "\t\t\t<MultiProcessorCompilation>true</MultiProcessorCompilation>\n" + "\t\t\t<ConformanceMode>true</ConformanceMode>\n" "\t\t</ClCompile>\n" "\t\t<Link>\n" "\t\t\t<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>\n" |