silence warnings for gcc 2.95.x

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4579 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2002-07-10 08:29:33 +00:00
parent 251a7ae90a
commit 3731a877b3
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2002-07-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* lyxinclude.m4 (LYX_PROG_CXX): add -Wno-non-template-friend for
gcc 2.95.x.
2002-06-20 John Levon <moz@compsoc.man.ac.uk>
* lyxinclude.m4: add -Wno-non-template-friend

View File

@ -207,8 +207,7 @@ if test x$GXX = xyes; then
else
case $gxx_version in
2.95.1) CXXFLAGS="$lyx_opt -fpermissive";;
2.95.2) CXXFLAGS="$lyx_opt";;
2.95.*) CXXFLAGS="$lyx_opt";;
2.95.*) CXXFLAGS="$lyx_opt -Wno-non-template-friend";;
2.96*) CXXFLAGS="$lyx_opt -fno-exceptions -Wno-non-template-friend";;
3.0*) CXXFLAGS="$lyx_opt";;
3.1*) CXXFLAGS="$lyx_opt -finline-limit=500 -fno-exceptions";;