]> git.lyx.org Git - features.git/blobdiff - config/lyxinclude.m4
fix the reformat bug, some small things
[features.git] / config / lyxinclude.m4
index 2638e3b88fdd5cd52cd417ca92a08babbf1d6734..7209fa1b7a1d35c4eb55db98cc538cca0de784b2 100644 (file)
@@ -186,6 +186,7 @@ dnl Check the version of g++
       2.7*) CXXFLAGS="$lyx_opt";;
       2.95.1) CXXFLAGS="-g $lyx_opt -fpermissive -fno-rtti";;
       2.95.*) CXXFLAGS="-g $lyx_opt -fno-rtti -fno-exceptions";;
+      *2.91.*) CXXFLAGS="-g $lyx_opt -Wno-return-type -fno-exceptions -fno-rtti";;
       *)    CXXFLAGS="-g $lyx_opt -fno-exceptions -fno-rtti";;
     esac
   else