This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Building GCC 4.6.x on Mac OS X
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Mihai Moldovan <ionic at ionic dot de>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Sun, 30 Oct 2011 20:24:49 +0000
- Subject: Re: Building GCC 4.6.x on Mac OS X
- References: <4EADA4B2.2080801@ionic.de>
On 30 October 2011 19:25, Mihai Moldovan wrote:
> As the first paste in http://trac.macports.org/ticket/27237#comment:14
> suggests (extracted from new_allocator.h:98), __p should be permitted to
> be a null pointer.. which... well, is clearly not the case here for some
> reason.
Calling delete on a null pointer is permitted, but passing a null
pointer to that allocator's deallocate function is not. Which is it?