This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/17178] [3.5 Regression] static consts and -Wunused-variable
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Aug 2004 00:01:57 -0000
- Subject: [Bug c/17178] [3.5 Regression] static consts and -Wunused-variable
- References: <20040824223146.17178.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-08-25 00:01 -------
I'm not sure I can "settle this"; my voice is no stronger than any other
maintainer on non-release issues.
My feeling is that we should indeed not warn on this case; that's why I made the
change you reference. I see the logic in Zack's argument that we should target
rcs_id more specifically by using "const char *" -- but I think that given the
previous controversy, we should make changes here only with substantial
consensus. So, I think that the behavior should be changed back to not warn on
this case. Then, if Zack feels strongly (and is willing to fight the battle) he
could reopen this debate on the mailing lists. If that doesn't happen, for some
reason, I agree that we should change the manual to reflect the new reality.
Just my two cents, though.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17178