Re: g++ fall down, go boom.

[email protected] (John Porter) Tue, 7 Mar 2000 17:06:16 -0500
Newsgroups perl.perl6.porters
Message-ID <[email protected]>
Michael G Schwern wrote:
> 
> schwern@athens:/usr/local/src/topaz-0.10$ make
> g++ -g -pipe -frtti -Iegcs  -I. -c test_buffer.cc
> In file included from test_buffer.cc:1:
> Buffer.hh: In function `static class Perl::Buffer::Guts * Perl::Buffer::Guts::PtrPolicy<Perl::Buffer::Guts>::init()':
> Counted.hh:104:   instantiated from `Perl::CountedPtr<Perl::Buffer::Guts,Perl::Buffer::Guts::PtrPolicy<Perl::Buffer::Guts> >::CountedPtr()'
> Buffer.hh:36:   instantiated from here

Yall might want to see what the smart guys on ACE have to say about
template instantiation and how some compilers (such as "older" gcc)
have trouble with it, at:

http://www.cs.wustl.edu/~schmidt/ACE_wrappers/docs/tutorials/templates.html

although the particular error they've hit doesn't seem to be quite
the same as the one above.

-- 
John Porter

Papa!  Es un gringo en la calle con su coche!