]> granicus.if.org Git - libexpat/commitdiff
More GCC flags, when we're using GCC:
authorFred L. Drake, Jr. <fdrake@users.sourceforge.net>
Thu, 26 Jul 2001 20:48:06 +0000 (20:48 +0000)
committerFred L. Drake, Jr. <fdrake@users.sourceforge.net>
Thu, 26 Jul 2001 20:48:06 +0000 (20:48 +0000)
-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.

expat/configure.in

index 2e39480f289565c9c7d84484224f9fb0ccc795e1..2ea39df1f87c0ac63ccaa12186e86f2efb169aae 100644 (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.