[Bug c/25173] gcc outputs unnecessary warnings
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Nov 30 03:08:00 GMT 2005
------- Comment #5 from pinskia at gcc dot gnu dot org 2005-11-30 03:08 -------
(In reply to comment #4)
> Don't you think that forcing people to cast pointers is much much more
> dangerous than allowing simple equivalence of pointers when they aren't even
> being derefenced?
No. Read my comment again about this code being not valid ISO C. Again this
is not valid C, we used to only warn with -pedantic but we decided that we
should warn all the time. Again if you want to ignore the warning use
-Wno-pointer-sign.
If you think it should be valid code, well talk with the C standards committee.
--
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
More information about the Gcc-bugs
mailing list