This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/35669] NULL (__null) not considered different from 0 with C++
- From: "mdorey at bluearc dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Dec 2009 20:02:35 -0000
- Subject: [Bug c++/35669] NULL (__null) not considered different from 0 with C++
- References: <bug-35669-14453@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #14 from mdorey at bluearc dot com 2009-12-21 20:02 -------
> so [implicit] conversion from NULL to int is OK.
That's true where NULL is defined as 0 (or eg 0L), but that's not the only
permitted definition of NULL.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35669