diff --git a/SConstruct b/SConstruct index 0e49df4fc0..ebb59f60ad 100755 --- a/SConstruct +++ b/SConstruct @@ -317,8 +317,8 @@ if main['GCC'] or main['CLANG']: # we consistently violate main.Append(CCFLAGS=['-Wall', '-Wundef', '-Wextra', '-Wno-sign-compare', '-Wno-unused-parameter']) - # We always compile using C++11 - main.Append(CXXFLAGS=['-std=c++11']) + # We always compile using C++14 + main.Append(CXXFLAGS=['-std=c++14']) if sys.platform.startswith('freebsd'): main.Append(CCFLAGS=['-I/usr/local/include']) main.Append(CXXFLAGS=['-I/usr/local/include'])