This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Bug overriding global delete operator
- To: Matthew Seidl <seidl at vex dot cs dot colorado dot edu>
- Subject: Re: Bug overriding global delete operator
- From: Nathan Sidwell <nathan at acm dot org>
- Date: Fri, 11 Feb 2000 09:10:28 +0000
- CC: gcc-bugs at gcc dot gnu dot org
- References: <200002101716.KAA24207@vex.cs.colorado.edu>
Matthew Seidl wrote:
> For the new operators it correctly calls the system ::operator new,
> but for delete it calls free, not ::operator delete. Therefor, with
> the below program, only the printf in the new operator is run.
This has just been fixed, not 7 days ago, in the CVS tree. The next
release will correct it.
nathan
--
Dr Nathan Sidwell :: Computer Science Department :: Bristol University
Never hand someone a gun unless you are sure where they will point it
nathan@acm.org http://www.cs.bris.ac.uk/~nathan/ nathan@cs.bris.ac.uk