public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "mikpelinux at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/13029] [3.4 Regression] static consts and -Wunused-variable
Date: Mon, 17 Feb 2014 08:41:00 -0000 [thread overview]
Message-ID: <bug-13029-4-Rh0Vtro8PL@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-13029-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13029
--- Comment #6 from Mikael Pettersson <mikpelinux at gmail dot com> ---
(In reply to Chengnian Sun from comment #4)
> May I ask what is the design rational of not warning unused static const
> variables?
See PR28901. There are cases of unused static const where the warning isn't
wanted, and so far the decision has been to favour those over the cases where
the warning _is_ wanted and would have detected real bugs. Sigh.
next prev parent reply other threads:[~2014-02-17 8:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <bug-13029-4@http.gcc.gnu.org/bugzilla/>
2014-02-17 8:10 ` chengniansun at gmail dot com
2014-02-17 8:18 ` jakub at gcc dot gnu.org
2014-02-17 8:41 ` mikpelinux at gmail dot com [this message]
2014-02-17 9:07 ` chengniansun at gmail dot com
2014-02-17 9:12 ` jakub at gcc dot gnu.org
2014-02-17 21:14 ` tromey at gcc dot gnu.org
2003-11-12 21:58 [Bug c/13029] New: " mrs at apple dot com
2003-11-12 22:10 ` [Bug c/13029] [3.4 Regression] " pinskia at gcc dot gnu dot org
2003-11-13 19:40 ` cvs-commit at gcc dot gnu dot org
2003-11-13 19:42 ` mmitchel at gcc dot gnu dot org
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=bug-13029-4-Rh0Vtro8PL@http.gcc.gnu.org/bugzilla/ \
--to=gcc-bugzilla@gcc.gnu.org \
--cc=gcc-bugs@gcc.gnu.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 read-only IMAP folder(s) and NNTP newsgroup(s).