From 59723ae693d3f8683173e69d5f5ba24648ef2e72 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Tue, 1 Dec 2015 13:59:45 -0500 Subject: [PATCH] restore -Wno-unsequenced, accidentally dropped in 7608040906a0402 --- SConstruct | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SConstruct b/SConstruct index f2b328efa..05562d9a7 100644 --- a/SConstruct +++ b/SConstruct @@ -1787,6 +1787,9 @@ if not preconfigured: # TODO: clean up code more to make -Wextra -Wsign-compare -Wsign-conversion -Wconversion viable common_cxx_flags = '-Wall %s %s -ftemplate-depth-300 -Wsign-compare -Wshadow ' % (env['WARNING_CXXFLAGS'], pthread) + if 'clang++' in env['CXX']: + common_cxx_flags += ' -Wno-unsequenced ' + if env['DEBUG']: env.Append(CXXFLAGS = common_cxx_flags + '-O0') else: