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 <[email protected]>

_______________________________________________
Pkg-crosswire-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-crosswire-devel

Reply via email to