* m4/gccwarn.m4: Do not check nor use -Wstrict-prototypes.

g++-3.4 complains it makes no sense in C++.
This commit is contained in:
Alexandre Duret-Lutz 2004-07-16 14:38:44 +00:00
parent bec7402a67
commit b4eda5e84d
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2004-07-16 Alexandre Duret-Lutz <adl@src.lip6.fr> 2004-07-16 Alexandre Duret-Lutz <adl@src.lip6.fr>
* 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/ssp.cc: Typos.
* iface/gspn/gspn.cc (tgba_succ_iterator_gspn::tgba_succ_iterator_gspn): * iface/gspn/gspn.cc (tgba_succ_iterator_gspn::tgba_succ_iterator_gspn):

View file

@ -9,6 +9,7 @@ dnl -Wredundant-decls (system headers make this too noisy)
dnl -pedantic dnl -pedantic
dnl -Wunreachable-code (broken, see GCC PR/7827) dnl -Wunreachable-code (broken, see GCC PR/7827)
dnl -Wredundant-decls (too many warnings in GLIBC's header with old GCC) 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
dnl A few other options have been left out because they are annoying in C++. dnl A few other options have been left out because they are annoying in C++.
@ -27,7 +28,6 @@ EOF
Wcast-align \ Wcast-align \
Wpointer-arith \ Wpointer-arith \
Wwrite-strings \ Wwrite-strings \
Wstrict-prototypes \
Wcast-qual \ Wcast-qual \
Werror Werror
do do