I'm using CW 6.0 on a Mac.  To get main.cpp to compile I had to change

void* operator new(unsigned n)

to

void* operator new(std::size_t n)

in struct Base.

After that everything ran fine.

Chris

> -----Original Message-----
> From: Gary Powell [mailto:Gary.Powell@sierra.com]
> Sent: Wednesday, April 04, 2001 4:38 PM
> To: 'boost@yahoogroups.com'
> Subject: RE: [boost] Re: auto_array_ptr
>
>
> Thanks to Jens Maurer, auto_array_ptr now works with Comeau
> Beta2 4.2.45.2.
> Also a bug that is in MSVC 6.X has been worked around, and
> gcc 2.95.2 works.
> (It is only fair to point out that the Comeau found many bugs
> in the code,
> vs 1 possible bug in the compiler, which both MSVC and gcc
> passed right
> over.)
>
> Anyone want to try Borland? Metrowerks? Intel?
>
> >   -gary-
> >
> > gary.powell@sierra.com
> >
> > You can access this file at the URL
> > 
> >
> http://groups.yahoo.com/group/boost/files/auto_array_ptr/auto_
array.hpp 
>
>