[Bug c/17178] [3.5 Regression] static consts and -Wunused-variable
mmitchel at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Aug 25 00:01:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list