Crank up the warning level in GCC, from Joerg Mayer.

svn path=/trunk/; revision=3562
This commit is contained in:
Guy Harris 2001-06-18 02:26:00 +00:00
parent 8412393197
commit c6bee5f6c1
2 changed files with 3 additions and 2 deletions

View File

@ -79,6 +79,7 @@ Joerg Mayer <jmayer@loplof.de> {
Changes to structure initializations to initialize all members
Define __USE_XOPEN in files that use "strptime()"
Various signed vs. unsigned fixes
Crank up the warning level in GCC
}
Martin Maciaszek <fastjack@i-s-o.net> {

View File

@ -1,4 +1,4 @@
# $Id: configure.in,v 1.128 2001/06/02 06:21:13 guy Exp $
# $Id: configure.in,v 1.129 2001/06/18 02:26:00 guy Exp $
dnl
dnl Process this file with autoconf 2.13 or later to produce a
dnl configure script; 2.12 doesn't generate a "configure" script that
@ -87,7 +87,7 @@ AC_SUBST(HAVE_RPM_PACKAGING)
# If we're running gcc, add '-Wall' to CFLAGS.
AC_MSG_CHECKING(to see if we can add '-Wall' to CFLAGS)
if test x$GCC != x ; then
CFLAGS="-Wall $CFLAGS"
CFLAGS="-Wall -W -Wno-unused $CFLAGS"
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)