qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Blue Swirl <blauwirbel@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [5198] Enable gcc flag -Wendif-labels
Date: Thu, 11 Sep 2008 18:16:04 +0000	[thread overview]
Message-ID: <E1Kdqi4-00077u-1R@cvs.savannah.gnu.org> (raw)

Revision: 5198
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5198
Author:   blueswir1
Date:     2008-09-11 18:16:02 +0000 (Thu, 11 Sep 2008)

Log Message:
-----------
Enable gcc flag -Wendif-labels

Modified Paths:
--------------
    trunk/Makefile.target
    trunk/configure

Modified: trunk/Makefile.target
===================================================================
--- trunk/Makefile.target	2008-09-11 18:00:19 UTC (rev 5197)
+++ trunk/Makefile.target	2008-09-11 18:16:02 UTC (rev 5198)
@@ -73,7 +73,7 @@
 PROGS=$(QEMU_PROG)
 
 # We require -O2 to avoid the stack setup prologue in EXIT_TB
-OP_CFLAGS := -Wall -Wundef -O2 -g -fno-strict-aliasing
+OP_CFLAGS := -Wall -Wundef -Wendif-labels -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-11 18:00:19 UTC (rev 5197)
+++ trunk/configure	2008-09-11 18:16:02 UTC (rev 5198)
@@ -346,7 +346,7 @@
 done
 
 # default flags for all hosts
-CFLAGS="$CFLAGS -Wall -Wundef -O2 -g -fno-strict-aliasing"
+CFLAGS="$CFLAGS -Wall -Wundef -Wendif-labels -O2 -g -fno-strict-aliasing"
 LDFLAGS="$LDFLAGS -g"
 if test "$werror" = "yes" ; then
 CFLAGS="$CFLAGS -Werror"

                 reply	other threads:[~2008-09-11 18:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1Kdqi4-00077u-1R@cvs.savannah.gnu.org \
    --to=blauwirbel@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).