From b01b21f24d83352ebd0ce638fbe1e8d9285238f9 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Sat, 10 Sep 2011 05:37:19 +0000 Subject: [PATCH] move template-depth max to 300 to allow wkt parser compile with boost 1.47 on RHEL - closes #874 --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 12371f4aa..b3983b17a 100644 --- a/SConstruct +++ b/SConstruct @@ -1427,7 +1427,7 @@ if not preconfigured: env.Append(CXXFLAGS = common_cxx_flags + '-O %s' % ndebug_flags) else: # Common flags for GCC. - gcc_cxx_flags = '-ansi -Wall %s %s -ftemplate-depth-200 %s' % (env['WARNING_CXXFLAGS'], pthread, common_cxx_flags) + gcc_cxx_flags = '-ansi -Wall %s %s -ftemplate-depth-300 %s' % (env['WARNING_CXXFLAGS'], pthread, common_cxx_flags) if env['DEBUG']: env.Append(CXXFLAGS = gcc_cxx_flags + '-O0 -fno-inline %s' % debug_flags) else: