This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: 'false' should be a valid null pointer constant
- To: sdouglas at arm dot com
- Subject: Re: 'false' should be a valid null pointer constant
- From: "Martin v. Loewis" <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Thu, 25 Nov 1999 20:39:48 +0100
- CC: gcc-bugs at gcc dot gnu dot org
- References: <4.2.0.58.19991125152619.00b07a70@mail1>
> int *f() { return false; } // gives error: return to `int *' from `bool'
Thanks for your bug report. gcc-2.95.2 accepts this without problems;
so the bug has been fixed.
Regards,
Martin