mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-11 15:22:56 +00:00
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:
parent
a0a80f5f43
commit
d8263250ee
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue