diff --git a/scons/site_tools/arm.py b/scons/site_tools/arm.py index aa5b2f548..fae58fae7 100644 --- a/scons/site_tools/arm.py +++ b/scons/site_tools/arm.py @@ -170,7 +170,7 @@ def generate(env, **kw): env['CXXFLAGS'] = [ # "-fverbose-asm", # "-save-temps", # save preprocessed files - "-std=c++11", + "-std=c++14", "-fconstexpr-depth=10000", # enable deep recursion "-fno-exceptions", "-fno-rtti", diff --git a/scons/site_tools/avr.py b/scons/site_tools/avr.py index 91dbea7c0..329fd0a91 100644 --- a/scons/site_tools/avr.py +++ b/scons/site_tools/avr.py @@ -150,8 +150,7 @@ def generate(env, **kw): # C++ flags env['CXXFLAGS'] = [ -# "-std=gnu++98", - "-std=gnu++0x", + "-std=c++14", "-fno-exceptions", "-fno-rtti", "-fno-threadsafe-statics", diff --git a/scons/site_tools/hosted.py b/scons/site_tools/hosted.py index 82d3ee76a..647e52463 100644 --- a/scons/site_tools/hosted.py +++ b/scons/site_tools/hosted.py @@ -100,7 +100,7 @@ def generate(env, **kw): # C++ flags env['CXXFLAGS'] = [ - "-std=c++11", + "-std=c++14", # "-Weffc++", "-Woverloaded-virtual", ]