[Bug c++/35669] NULL (__null) not considered different from 0 with C++
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Mar 22 21:11:00 GMT 2008
------- Comment #1 from rguenth at gcc dot gnu dot org 2008-03-22 21:11 -------
Because a null pointer constant is an integral constant expression, thus the
warning is wrong. See PRs 5310 and 24745. You have to use -Wconversion to
get the warning back.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WORKSFORME
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35669
More information about the Gcc-bugs
mailing list