[Scummvm-git-logs] scummvm master -> 090d10862e3fb5f670fe96abc5cc48ea663f69dd

SupSuper noreply at scummvm.org
Wed Jun 4 01:28:28 UTC 2025


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
090d10862e CREATE_PROJECT: ASan is incompatible with /RTC


Commit: 090d10862e3fb5f670fe96abc5cc48ea663f69dd
    https://github.com/scummvm/scummvm/commit/090d10862e3fb5f670fe96abc5cc48ea663f69dd
Author: SupSuper (supsuper at gmail.com)
Date: 2025-06-04T02:27:48+01:00

Commit Message:
CREATE_PROJECT: ASan is incompatible with /RTC

Changed paths:
    devtools/create_project/msbuild.cpp


diff --git a/devtools/create_project/msbuild.cpp b/devtools/create_project/msbuild.cpp
index 29d03d7ed4e..d37ee4c13ba 100644
--- a/devtools/create_project/msbuild.cpp
+++ b/devtools/create_project/msbuild.cpp
@@ -490,10 +490,12 @@ void MSBuildProvider::createBuildProp(const BuildSetup &setup, bool isRelease, M
 	} else {
 		properties << "\t\t\t<Optimization>Disabled</Optimization>\n"
 		           << "\t\t\t<PreprocessorDefinitions>WIN32;" << (configuration == "LLVM" ? "_CRT_SECURE_NO_WARNINGS;" : "") << "%(PreprocessorDefinitions)</PreprocessorDefinitions>\n"
-		           << "\t\t\t<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>\n"
 		           << "\t\t\t<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>\n"
 		           << "\t\t\t<FunctionLevelLinking>true</FunctionLevelLinking>\n"
 				   << "\t\t\t<TreatWarningAsError>false</TreatWarningAsError>\n";
+		if (configuration != "ASan") {
+			properties << "\t\t\t<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>\n";
+		}
 		// Since MSVC 2015 Edit and Continue is supported for x86 and x86-64, but not for ARM.
 		if (configuration != "ASan" && (arch == ARCH_X86 || (arch == ARCH_AMD64 && _version >= 14))) {
 			properties << "\t\t\t<DebugInformationFormat>EditAndContinue</DebugInformationFormat>\n";




More information about the Scummvm-git-logs mailing list