[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [5174] Enable gcc flag -Wundef
From: |
Blue Swirl |
Subject: |
[Qemu-devel] [5174] Enable gcc flag -Wundef |
Date: |
Sat, 06 Sep 2008 17:49:06 +0000 |
Revision: 5174
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5174
Author: blueswir1
Date: 2008-09-06 17:49:06 +0000 (Sat, 06 Sep 2008)
Log Message:
-----------
Enable gcc flag -Wundef
Modified Paths:
--------------
trunk/Makefile.target
trunk/configure
Modified: trunk/Makefile.target
===================================================================
--- trunk/Makefile.target 2008-09-06 17:47:39 UTC (rev 5173)
+++ trunk/Makefile.target 2008-09-06 17:49:06 UTC (rev 5174)
@@ -73,7 +73,7 @@
PROGS=$(QEMU_PROG)
# We require -O2 to avoid the stack setup prologue in EXIT_TB
-OP_CFLAGS := -Wall -O2 -g -fno-strict-aliasing
+OP_CFLAGS := -Wall -Wundef -O2 -g -fno-strict-aliasing
# cc-option
# Usage: OP_CFLAGS+=$(call cc-option, -falign-functions=0, -malign-functions=0)
Modified: trunk/configure
===================================================================
--- trunk/configure 2008-09-06 17:47:39 UTC (rev 5173)
+++ trunk/configure 2008-09-06 17:49:06 UTC (rev 5174)
@@ -346,7 +346,7 @@
done
# default flags for all hosts
-CFLAGS="$CFLAGS -Wall -O2 -g -fno-strict-aliasing"
+CFLAGS="$CFLAGS -Wall -Wundef -O2 -g -fno-strict-aliasing"
LDFLAGS="$LDFLAGS -g"
if test "$werror" = "yes" ; then
CFLAGS="$CFLAGS -Werror"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [5174] Enable gcc flag -Wundef,
Blue Swirl <=