More GCC flags, when we're using GCC:

-Wmissing-prototypes, to tighten up the warnings, and
-fexceptions, to make the generated code exception-safe when using it
with C++ code.

This closes SF bug #419585.
This commit is contained in:
Fred L. Drake, Jr. 2001-07-26 20:48:06 +00:00
parent a0a80f5f43
commit d8263250ee

View file

@ -63,7 +63,7 @@ AC_PROG_CC
AC_PROG_INSTALL
if test "$GCC" = yes ; then
CFLAGS="$CFLAGS -Wall -Wstrict-prototypes"
CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions"
fi
dnl Checks for libraries.