increase template depth for some versions of g++

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5424 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2002-10-16 09:22:46 +00:00
parent bcbfc72c47
commit 8644c32d38
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2002-10-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
* lyxinclude.m4: increase template depth for some versions of g++.
2002-10-15 Lars Gullik Bjønnes <larsbj@birdstep.com> 2002-10-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
* configure.in,configure.ac: make the AM_CONDITIONAL check a bit * configure.in,configure.ac: make the AM_CONDITIONAL check a bit

View File

@ -206,9 +206,9 @@ if test x$GXX = xyes; then
CXXFLAGS="$ac_save_CXXFLAGS" CXXFLAGS="$ac_save_CXXFLAGS"
else else
case $gxx_version in case $gxx_version in
2.95.1) CXXFLAGS="$lyx_opt -fpermissive";; 2.95.1) CXXFLAGS="$lyx_opt -fpermissive -ftemplate-depth-30";;
2.95.*) CXXFLAGS="$lyx_opt -Wno-non-template-friend";; 2.95.*) CXXFLAGS="$lyx_opt -Wno-non-template-friend -ftemplate-depth-30";;
2.96*) CXXFLAGS="$lyx_opt -fno-exceptions -Wno-non-template-friend";; 2.96*) CXXFLAGS="$lyx_opt -fno-exceptions -ftemplate-depth-30 -Wno-non-template-friend";;
3.0*) CXXFLAGS="$lyx_opt";; 3.0*) CXXFLAGS="$lyx_opt";;
3.1*) CXXFLAGS="$lyx_opt -finline-limit=500 -fno-exceptions";; 3.1*) CXXFLAGS="$lyx_opt -finline-limit=500 -fno-exceptions";;
3.2*) CXXFLAGS="$lyx_opt -fno-exceptions";; 3.2*) CXXFLAGS="$lyx_opt -fno-exceptions";;