[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [5931] Enable gcc flag -Wredundant-decls
From: |
Blue Swirl |
Subject: |
[Qemu-devel] [5931] Enable gcc flag -Wredundant-decls |
Date: |
Sun, 07 Dec 2008 19:16:28 +0000 |
Revision: 5931
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5931
Author: blueswir1
Date: 2008-12-07 19:16:27 +0000 (Sun, 07 Dec 2008)
Log Message:
-----------
Enable gcc flag -Wredundant-decls
Modified Paths:
--------------
trunk/Makefile.target
trunk/configure
Modified: trunk/Makefile.target
===================================================================
--- trunk/Makefile.target 2008-12-07 19:15:47 UTC (rev 5930)
+++ trunk/Makefile.target 2008-12-07 19:16:27 UTC (rev 5931)
@@ -73,7 +73,7 @@
# We require -O2 to avoid the stack setup prologue in EXIT_TB
OP_CFLAGS := -O2 -g -fno-strict-aliasing
-OP_CFLAGS += -Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes
-Wstrict-prototypes
+OP_CFLAGS += -Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes
-Wstrict-prototypes -Wredundant-decls
# cc-option
# Usage: OP_CFLAGS+=$(call cc-option, -falign-functions=0, -malign-functions=0)
Modified: trunk/configure
===================================================================
--- trunk/configure 2008-12-07 19:15:47 UTC (rev 5930)
+++ trunk/configure 2008-12-07 19:16:27 UTC (rev 5931)
@@ -381,7 +381,7 @@
# default flags for all hosts
CFLAGS="$CFLAGS -O2 -g -fno-strict-aliasing"
-CFLAGS="$CFLAGS -Wall -Wundef -Wendif-labels -Wwrite-strings
-Wmissing-prototypes -Wstrict-prototypes"
+CFLAGS="$CFLAGS -Wall -Wundef -Wendif-labels -Wwrite-strings
-Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls"
LDFLAGS="$LDFLAGS -g"
if test "$werror" = "yes" ; then
CFLAGS="$CFLAGS -Werror"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [5931] Enable gcc flag -Wredundant-decls,
Blue Swirl <=