Add lots of warning flags to CFLAGS [was Re: [Libvir] Remote patch, 2007-02-28]
Mark McLoughlin
markmc at redhat.com
Thu Mar 1 16:09:26 UTC 2007
On Thu, 2007-03-01 at 16:06 +0000, Mark McLoughlin wrote:
> @@ -75,7 +77,7 @@ dnl
> dnl make CFLAGS very pedantic at least during the devel phase for everybody
> dnl
> if test "${GCC}" = "yes" ; then
> - CFLAGS="-g -O -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -Wall"
> + CFLAGS="-Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls"
> fi
>
Uh, never mind this ... fixed patch attached.
Cheers,
Mark.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-compile-warnings.patch
Type: text/x-patch
Size: 7022 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070301/2804b123/attachment-0001.bin>
More information about the libvir-list
mailing list