[build] Remove Windows constexpr mutex define (#7375)

Since we ship a newer runtime, and we also have checks to ensure a valid runtime, we can remove this again.
This commit is contained in:
Gold856
2024-11-16 10:27:46 -05:00
committed by GitHub
parent 969664ceaa
commit 91142ba5fe
3 changed files with 0 additions and 13 deletions

View File

@@ -55,9 +55,4 @@ macro(wpilib_target_warnings target)
)
target_compile_options(${target} PRIVATE -gz=zlib)
endif()
# Disable std::mutex constexpr constructor on MSVC
if(MSVC)
target_compile_options(${target} PRIVATE /D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR)
endif()
endmacro()

View File

@@ -40,9 +40,6 @@ build:windows --config=windows_common
build:windows --linkopt=/DEPENDENTLOADFLAG:0x1100
# TODO
build:windows --copt=/D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR
################################
# ARM Windows Flags
################################

View File

@@ -39,11 +39,6 @@ nativeUtils.platformConfigs.each {
}
}
// Disable std::mutex constexpr constructor on MSVC
nativeUtils.platformConfigs.named(nativeUtils.wpi.platforms.windowsx64).configure {
it.cppCompiler.args.add("/D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR")
}
nativeUtils.platformConfigs.linuxathena.linker.args.add("-Wl,--fatal-warnings")
model {