Re: Add lots of warning flags to CFLAGS [was Re: Remote patch, 2007-02-28]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mark McLoughlin wrote:
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.

Looks great.

Rich.


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]