This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/25173] gcc outputs unnecessary warnings



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]