This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/11051] -Wno-deprecated needed also for C
- From: "manu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jan 2007 01:38:09 -0000
- Subject: [Bug c/11051] -Wno-deprecated needed also for C
- References: <bug-11051-102@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from manu at gcc dot gnu dot org 2007-01-27 01:38 -------
(In reply to comment #10)
> Subject: Re: -Wno-deprecated needed also for C
>
> manu at gcc dot gnu dot org wrote:
> >
> > But it doesn't produce that warning. Is that warning dead code or what?
> >
>
> Apparently so. I think it should have stayed a warning, but that's a
> long time gone, and is way too late to fix now. I'm going to submit a
> doc patch, since this change was never documented.
>
Wouldn't it be better to remove the dead code? Or is there a policy against
touching things that are not broken? I think that at least one comment on the
code would be appropriate.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11051