This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with forward declaration within a namespace...


On Apr 19, 2002, "Thomas J Amato" <Thomas_J_Amato@raytheon.com> wrote:

> I was wondering if someone could tell me why this code fragment fails to
> compile under 3.0.3 (Solaris 2.7). 

> void* operator new(size_t, Arch::Allocator *const) throw(std::bad_alloc);

> new.hxx:21: type specifier omitted for parameter

Hmm...  Does using std::size_t make any difference?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]