Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kc1uL-0001lZ-4W for qemu-devel@nongnu.org; Sat, 06 Sep 2008 13:49:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kc1uK-0001lE-CL for qemu-devel@nongnu.org; Sat, 06 Sep 2008 13:49:12 -0400 Received: from [199.232.76.173] (port=39158 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kc1uK-0001l9-2y for qemu-devel@nongnu.org; Sat, 06 Sep 2008 13:49:12 -0400 Received: from savannah.gnu.org ([199.232.41.3]:38846 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kc1uK-000570-6T for qemu-devel@nongnu.org; Sat, 06 Sep 2008 13:49:12 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1Kc1uF-0005Eq-0f for qemu-devel@nongnu.org; Sat, 06 Sep 2008 17:49:07 +0000 Received: from blueswir1 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1Kc1uE-0005Em-NU for qemu-devel@nongnu.org; Sat, 06 Sep 2008 17:49:06 +0000 MIME-Version: 1.0 Errors-To: blueswir1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Blue Swirl Message-Id: Date: Sat, 06 Sep 2008 17:49:06 +0000 Subject: [Qemu-devel] [5174] Enable gcc flag -Wundef Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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"