diff --git a/CHANGES.html b/CHANGES.html
index 7420262f4..6e6535832 100644
--- a/CHANGES.html
+++ b/CHANGES.html
@@ -68,7 +68,7 @@ us a note on ns-developers mailing list.
Changes to build system:
-
+- The default C++ standard is now C++17.
Changed behavior:
diff --git a/wscript b/wscript
index 112b48943..1e9c4d9b1 100644
--- a/wscript
+++ b/wscript
@@ -32,8 +32,8 @@ modules_enabled = ['all_modules']
examples_enabled = False
tests_enabled = False
-# GCC minimum version requirements for C++11 support
-gcc_min_version = (4, 9, 2)
+# GCC minimum version requirements for C++17 support
+gcc_min_version = (7, 0, 0)
# Bug 2181: clang warnings about unused local typedefs and potentially
# evaluated expressions affecting darwin clang/LLVM version 7.0.0 (Xcode 7)
@@ -735,7 +735,7 @@ def configure(conf):
cxx_standard = Options.options.cxx_standard
# No need to change CXXFLAGS
elif not cxx_standard and not Options.options.cxx_standard:
- cxx_standard = "-std=c++11"
+ cxx_standard = "-std=c++17"
env.append_value('CXXFLAGS', cxx_standard)
if not conf.check_compilation_flag(cxx_standard):