[Gc] trivial GC bug in C++ under g++ 4.1.0

Boehm, Hans hans.boehm at hp.com
Thu Mar 2 17:27:50 PST 2006


That's already fixed in 6.7, which I will release as soon as I finish a
bit more testing.

Hans

> -----Original Message-----
> From: gc-bounces at napali.hpl.hp.com 
> [mailto:gc-bounces at napali.hpl.hp.com] On Behalf Of Michael Vanier
> Sent: Thursday, March 02, 2006 4:48 PM
> To: gc at napali.hpl.hp.com
> Subject: [Gc] trivial GC bug in C++ under g++ 4.1.0
> 
> When I use the (just-released) g++ 4.1.0 compiler with the 
> Boehm GC, I get this error message:
> 
> gc_cpp.h:183: error: extra qualification 'gc::' on member 
> 'operator delete []'
> 
> If I change lines 182-4 from:
> 
> #   ifdef GC_PLACEMENT_DELETE
>        inline void gc::operator delete[]( void*, void* );
> #   endif
> 
> to:
> 
> #   ifdef GC_PLACEMENT_DELETE
>        inline void operator delete[]( void*, void* );
> #   endif
> 
> everything works.  Could some real C++ experts comment on why 
> this is, and if this is the correct fix?
> 
> Mike
> 
> _______________________________________________
> Gc mailing list
> Gc at linux.hpl.hp.com
> http://www.hpl.hp.com/hosted/linux/mail-archives/gc/
> 



More information about the Gc mailing list