* 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:
parent
bec7402a67
commit
b4eda5e84d
2 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue