From b4eda5e84d495598de6920af4f5c7b9b0f8fd8ea Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Fri, 16 Jul 2004 14:38:44 +0000 Subject: [PATCH] * m4/gccwarn.m4: Do not check nor use -Wstrict-prototypes. g++-3.4 complains it makes no sense in C++. --- ChangeLog | 3 +++ m4/gccwarn.m4 | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6efaaf56a..e4ed5e427 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2004-07-16 Alexandre Duret-Lutz + * m4/gccwarn.m4: Do not check nor use -Wstrict-prototypes. + g++-3.4 complains it makes no sense in C++. + * iface/gspn/ssp.cc: Typos. * iface/gspn/gspn.cc (tgba_succ_iterator_gspn::tgba_succ_iterator_gspn): diff --git a/m4/gccwarn.m4 b/m4/gccwarn.m4 index 1fcdf8f63..1d78974ad 100644 --- a/m4/gccwarn.m4 +++ b/m4/gccwarn.m4 @@ -9,6 +9,7 @@ dnl -Wredundant-decls (system headers make this too noisy) dnl -pedantic dnl -Wunreachable-code (broken, see GCC PR/7827) dnl -Wredundant-decls (too many warnings in GLIBC's header with old GCC) +dnl -Wstrict-prototypes (not valid in C++, gcc-3.4 complains) dnl dnl A few other options have been left out because they are annoying in C++. @@ -27,7 +28,6 @@ EOF Wcast-align \ Wpointer-arith \ Wwrite-strings \ - Wstrict-prototypes \ Wcast-qual \ Werror do