This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14644] enum of value zero not converted to (null) pointer
- From: "schwab at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Mar 2006 23:09:47 -0000
- Subject: [Bug c++/14644] enum of value zero not converted to (null) pointer
- References: <bug-14644-5283@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from schwab at suse dot de 2006-03-28 23:09 -------
Ignore my last comment. The type matters, and what is needed is indeed a
constant of _integer_ type, but enumerators are not of integer type.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14644