Make sure the code is considered c++17 because using msvc c++20 breaks existing code and no c++20 features are actually being used
This commit is contained in:
parent
ca7637b438
commit
2b0529ab7d
@ -456,10 +456,7 @@ workspace "iw4x"
|
|||||||
--iw4mvm.project()
|
--iw4mvm.project()
|
||||||
|
|
||||||
workspace "*"
|
workspace "*"
|
||||||
buildoptions {
|
cppdialect "C++17"
|
||||||
"/std:c++latest"
|
|
||||||
}
|
|
||||||
systemversion "latest"
|
|
||||||
defines { "_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS" }
|
defines { "_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS" }
|
||||||
|
|
||||||
rule "ProtobufCompiler"
|
rule "ProtobufCompiler"
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
|
|
||||||
#ifndef RC_INVOKED
|
#ifndef RC_INVOKED
|
||||||
|
|
||||||
#define _HAS_CXX17 1
|
//#define _HAS_CXX17 1
|
||||||
#define _HAS_CXX20 1
|
//#define _HAS_CXX20 1
|
||||||
#define VC_EXTRALEAN
|
#define VC_EXTRALEAN
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#define _CRT_SECURE_NO_WARNINGS
|
#define _CRT_SECURE_NO_WARNINGS
|
||||||
|
Loading…
Reference in New Issue
Block a user