[gq-commit] gq configure.in,1.55,1.56
Status: Beta
Brought to you by:
sur5r
From: <sta...@us...> - 2003-11-02 17:23:51
|
Update of /cvsroot/gqclient/gq In directory sc8-pr-cvs1:/tmp/cvs-serv10199 Modified Files: configure.in Log Message: * Added -Wmissing-declarations when using gcc to catch bugs due to forgotten header inclusion when defining a previously declared function when prototypes do not match * Fixed all warnings generated by -Wmissing-declarations Index: configure.in =================================================================== RCS file: /cvsroot/gqclient/gq/configure.in,v retrieving revision 1.55 retrieving revision 1.56 diff -C2 -d -r1.55 -r1.56 *** configure.in 24 Oct 2003 19:19:52 -0000 1.55 --- configure.in 2 Nov 2003 17:23:49 -0000 1.56 *************** *** 495,498 **** --- 495,501 ---- CFLAGS="$CFLAGS -Wall" fi + if test -z "`echo "$CFLAGS" | grep "\-Wmissing-declarations" 2> /dev/null`" ; then + CFLAGS="$CFLAGS -Wmissing-declarations" + fi fi |