This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problem with forward declaration within a namespace...
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: "Thomas J Amato" <Thomas_J_Amato at raytheon dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: 30 Apr 2002 02:41:55 -0300
- Subject: Re: Problem with forward declaration within a namespace...
- Organization: GCC Team, Red Hat
- References: <OFFD1DC165.96ED986A-ON85256BA0.0060E270@and.us.ray.com>
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