From 4308ebf40d0aafc161dda2c6f3257a1a660a786a Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Wed, 14 Dec 2011 19:35:07 +0000 Subject: [PATCH] Eliminated warnings caused by passing the -ftemplate-depth parameter to the C compiler --- SConstruct | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SConstruct b/SConstruct index f38868ba1..d8ac6fc12 100644 --- a/SConstruct +++ b/SConstruct @@ -66,8 +66,8 @@ else: sys.exit(1) if env['CC'] == 'gcc': - defaults.cxxFlags = '' - defaults.ccFlags = ['-ftemplate-depth-128', '-Wall', '-g'] + defaults.cxxFlags = ['-ftemplate-depth-128'] + defaults.ccFlags = ['-Wall', '-g'] defaults.debugCcFlags = ['-O0', '-fno-inline'] defaults.releaseCcFlags = ['-O3', '-finline-functions', '-Wno-inline', '-DNDEBUG'] defaults.debugLinkFlags = []