This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Template flags
- To: egcs at cygnus dot com
- Subject: Re: Template flags
- From: Joe Buck <jbuck at synopsys dot com>
- Date: Wed, 10 Dec 97 15:45:23 PST
- Reply-To: egcs at cygnus dot com
> On Wed, 10 Dec 1997, Joe Buck wrote:
> > In most cases, no special flags should be used. Note that template
> > definitions as well as declarations must be handed to the compiler.
>
> What does 'handed to the compiler' mean?
It must be in the source code. Even with -frepo, gcc will not do the
cfront trick of assuming it should look in some file foo.C at link time
because foo.h was included and declared templates.