diff --git a/tutorials/plugins/gdnative/files/cpp_example/SConstruct b/tutorials/plugins/gdnative/files/cpp_example/SConstruct index 6259f8294dc..eb3fdbeb3ad 100644 --- a/tutorials/plugins/gdnative/files/cpp_example/SConstruct +++ b/tutorials/plugins/gdnative/files/cpp_example/SConstruct @@ -76,6 +76,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'])