From 5f24388b04f2f86d3355a2ea330f08510fe79ef1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Sousa?= Date: Sun, 14 Feb 2021 20:41:59 -0300 Subject: [PATCH] Add -std:c++17 flag on test windows build --- test/SConstruct | 1 + 1 file changed, 1 insertion(+) diff --git a/test/SConstruct b/test/SConstruct index 2dd85d5a..75253f5d 100644 --- a/test/SConstruct +++ b/test/SConstruct @@ -104,6 +104,7 @@ elif env['platform'] == "windows": env.Append(CPPDEFINES=['WIN32', '_WIN32', '_WINDOWS', '_CRT_SECURE_NO_WARNINGS']) env.Append(CCFLAGS=['-W3', '-GR']) + env.Append(CXXFLAGS=['-std:c++17']) if env['target'] in ('debug', 'd'): env.Append(CPPDEFINES=['_DEBUG']) env.Append(CCFLAGS=['-EHsc', '-MDd', '-ZI'])