+ revert template instantiation depth back to 200

won't compile on os x 64-bit gcc version 4.2.1 (Apple Inc. build 5646)
This commit is contained in:
Artem Pavlenko 2010-03-08 11:54:52 +00:00
parent bbfdc4fab8
commit 2ed6c57c21

View file

@ -1021,7 +1021,7 @@ if not preconfigured:
env.Append(CXXFLAGS = common_cxx_flags + '-O %s' % ndebug_flags) env.Append(CXXFLAGS = common_cxx_flags + '-O %s' % ndebug_flags)
else: else:
# Common flags for GCC. # Common flags for GCC.
gcc_cxx_flags = '-ansi -Wall %s -ftemplate-depth-160 %s' % (pthread, common_cxx_flags) gcc_cxx_flags = '-ansi -Wall %s -ftemplate-depth-200 %s' % (pthread, common_cxx_flags)
if env['DEBUG']: if env['DEBUG']:
env.Append(CXXFLAGS = gcc_cxx_flags + '-O0 -fno-inline %s' % debug_flags) env.Append(CXXFLAGS = gcc_cxx_flags + '-O0 -fno-inline %s' % debug_flags)