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