From aa0f59453eb4ecbadbcf5959ce14a3f0371d396d Mon Sep 17 00:00:00 2001 From: Neil Date: Sun, 28 Apr 2019 08:46:10 +1000 Subject: Switch from /std:c++latest to /std:c++17 as Visual C++ 2019 now includes some C++20 features. --- win32/SciLexer.vcxproj | 8 ++++---- win32/scintilla.mak | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'win32') diff --git a/win32/SciLexer.vcxproj b/win32/SciLexer.vcxproj index 91c85139b..300cd2044 100644 --- a/win32/SciLexer.vcxproj +++ b/win32/SciLexer.vcxproj @@ -72,7 +72,7 @@ _DEBUG;%(PreprocessorDefinitions) - stdcpplatest + stdcpp17 Default @@ -81,7 +81,7 @@ _DEBUG;%(PreprocessorDefinitions) - stdcpplatest + stdcpp17 Default @@ -92,7 +92,7 @@ true true NDEBUG;%(PreprocessorDefinitions) - stdcpplatest + stdcpp17 true @@ -104,7 +104,7 @@ true true NDEBUG;%(PreprocessorDefinitions) - stdcpplatest + stdcpp17 true diff --git a/win32/scintilla.mak b/win32/scintilla.mak index 217ba1131..8c72176c6 100644 --- a/win32/scintilla.mak +++ b/win32/scintilla.mak @@ -25,7 +25,7 @@ XP_LINK=-SUBSYSTEM:WINDOWS,5.01 !ENDIF CRTFLAGS=-D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=1 -D_CRT_SECURE_NO_DEPRECATE=1 -D_SCL_SECURE_NO_WARNINGS=1 $(XP_DEFINE) -CXXFLAGS=-Zi -TP -MP -W4 -EHsc -std:c++latest $(CRTFLAGS) +CXXFLAGS=-Zi -TP -MP -W4 -EHsc -std:c++17 $(CRTFLAGS) CXXDEBUG=-Od -MTd -DDEBUG CXXNDEBUG=-O1 -MT -DNDEBUG -GL NAME=-Fo -- cgit v1.2.3