This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/25173] gcc outputs unnecessary warnings
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Nov 2005 02:13:07 -0000
- Subject: [Bug c/25173] gcc outputs unnecessary warnings
- References: <bug-25173-11775@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2005-11-30 02:13 -------
(In reply to comment #2)
> But surely that example isn't evidence of a problem.
yes it is, since it is invalid code, I repeat it is invalid code. How many
more times do I need to repeat that?
Just add a cast to get rid of the warning. The warning is there so people know
that this is invalid code.
Do you rather we reject it instead?
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25173