Template flags

Joe Buck jbuck@synopsys.com
Wed Dec 10 15:45:00 GMT 1997


> 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.




More information about the Gcc mailing list