* [Qemu-devel] [5929] Enable gcc flag -Wmissing-prototypes
@ 2008-12-07 19:15 Blue Swirl
0 siblings, 0 replies; only message in thread
From: Blue Swirl @ 2008-12-07 19:15 UTC (permalink / raw)
To: qemu-devel
Revision: 5929
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5929
Author: blueswir1
Date: 2008-12-07 19:15:17 +0000 (Sun, 07 Dec 2008)
Log Message:
-----------
Enable gcc flag -Wmissing-prototypes
Modified Paths:
--------------
trunk/Makefile.target
trunk/configure
Modified: trunk/Makefile.target
===================================================================
--- trunk/Makefile.target 2008-12-07 19:13:12 UTC (rev 5928)
+++ trunk/Makefile.target 2008-12-07 19:15:17 UTC (rev 5929)
@@ -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
+OP_CFLAGS += -Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes
# cc-option
# Usage: OP_CFLAGS+=$(call cc-option, -falign-functions=0, -malign-functions=0)
Modified: trunk/configure
===================================================================
--- trunk/configure 2008-12-07 19:13:12 UTC (rev 5928)
+++ trunk/configure 2008-12-07 19:15:17 UTC (rev 5929)
@@ -381,7 +381,7 @@
# default flags for all hosts
CFLAGS="$CFLAGS -O2 -g -fno-strict-aliasing"
-CFLAGS="$CFLAGS -Wall -Wundef -Wendif-labels -Wwrite-strings"
+CFLAGS="$CFLAGS -Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes"
LDFLAGS="$LDFLAGS -g"
if test "$werror" = "yes" ; then
CFLAGS="$CFLAGS -Werror"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-12-07 19:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-07 19:15 [Qemu-devel] [5929] Enable gcc flag -Wmissing-prototypes Blue Swirl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).