From: Fred L. Drake, Jr. Date: Thu, 26 Jul 2001 20:48:06 +0000 (+0000) Subject: More GCC flags, when we're using GCC: X-Git-Tag: R_1_95_2~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d8263250ee5fe2eefc7cd94a05c5ee077912bc55;p=libexpat 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. --- diff --git a/expat/configure.in b/expat/configure.in index 2e39480f..2ea39df1 100644 --- a/expat/configure.in +++ b/expat/configure.in @@ -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.