From dcffee005eb2c45567fd50c4da328c3675c410b4 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Thu, 17 Sep 2020 22:33:37 -0700 Subject: [PATCH] scons: Adjust the version of C++ to C++14. Change-Id: I318d337fc61bca0ae40413c23ee36d59d45a79bc Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/34820 Reviewed-by: Jason Lowe-Power Reviewed-by: Daniel Carvalho Reviewed-by: Andreas Sandberg Reviewed-by: Richard Cooper Reviewed-by: Bobby R. Bruce Reviewed-by: Giacomo Travaglini Maintainer: Jason Lowe-Power Tested-by: kokoro --- SConstruct | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SConstruct b/SConstruct index 0e49df4fc..ebb59f60a 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']) -- 2.30.2