This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Gcc Fails during ld phase for automatic instantiation
- To: chandra <cpuchaka@us.oracle.com>
- Subject: Re: Gcc Fails during ld phase for automatic instantiation
- From: Alexandre Oliva <oliva@dcc.unicamp.br>
- Date: 15 Aug 1999 04:56:35 -0300
- Cc: gcc@gcc.gnu.org
- References: <37B476EA.BE7DDB1F@us.oracle.com>
On Aug 13, 1999, chandra <cpuchaka@us.oracle.com> wrote:
> I Compiled template-using code with `-frepo'. The
> compiler generated files with the extension `.rpo' listing all of
> the template instantiations . But when I try to create the final
> executable I see lot of undefined reference.
Are templates defined (not only declared) in all translation units
that use them? This is required even when using -frepo.
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{dcc.unicamp.br,guarana.{org,com}} aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them