From de3960456368cde2d9f80f418f4d9bcfd0a8858c Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Sat, 16 Apr 2005 09:51:48 +0000 Subject: Remove flags that can't be used with g++. --- conf/m4/plptools/PLP_CHECK_COMPILERS.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/m4/plptools/PLP_CHECK_COMPILERS.m4 b/conf/m4/plptools/PLP_CHECK_COMPILERS.m4 index 6797a58..21135cf 100644 --- a/conf/m4/plptools/PLP_CHECK_COMPILERS.m4 +++ b/conf/m4/plptools/PLP_CHECK_COMPILERS.m4 @@ -80,7 +80,7 @@ AC_DEFUN([PLP_CHECK_COMPILERS], if test "$GXX" = "yes"; then if test "$plp_use_debug_code" = "yes"; then - CXXFLAGS="-g -Wpointer-arith -Wmissing-prototypes $CXXFLAGS" + CXXFLAGS="-g -Wpointer-arith $CXXFLAGS" PLP_CHECK_COMPILER_FLAG(Wno-long-long,[CXXFLAGS="-Wno-long-long $CXXFLAGS"]) PLP_CHECK_COMPILER_FLAG(Wnon-virtual-dtor,[CXXFLAGS="-Wnon-virtual-dtor $CXXFLAGS"]) @@ -88,7 +88,7 @@ AC_DEFUN([PLP_CHECK_COMPILERS], case $host in dnl *-*-linux-gnu) - CXXFLAGS="-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wbad-function-cast -Wcast-align -Wundef $CXXFLAGS" + CXXFLAGS="-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wundef $CXXFLAGS" ;; esac -- cgit v1.2.3