tags 778183 +patch
thanks

gcc5 makes exceeding the max template instantiation depth a fatal error, rather
than a warning, and the previous max depth of 25 was insufficient. Simply
increasing the debug maximum to 250 fixes the problem.


--- xiphos-3.2.2+dfsg1.orig/wscript
+++ xiphos-3.2.2+dfsg1/wscript
@@ -199,8 +199,8 @@ def configure(conf):
         env['CXXFLAGS']            = []
         env['CXXFLAGS_OPTIMIZED']  = ['-O2']
         env['CXXFLAGS_RELEASE']    = ['-O2']
-        env['CXXFLAGS_DEBUG']      = ['-g', '-DDEBUG', '-ftemplate-depth-25']
-        env['CXXFLAGS_ULTRADEBUG'] = ['-g3', '-O0', '-DDEBUG', 
'-ftemplate-depth-25']
+        env['CXXFLAGS_DEBUG']      = ['-g', '-DDEBUG', '-ftemplate-depth=250']
+        env['CXXFLAGS_ULTRADEBUG'] = ['-g3', '-O0', '-DDEBUG', 
'-ftemplate-depth=250']

     if env['IS_WIN32']:
         ## setup for Winsock on Windows (required for read-aloud)

-- 
Brett Johnson <br...@hp.com>


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to