Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Ken Block USG <block@zk3.dec.com>
Subject: Re: problem with building templates on OSF
Date: 1998/09/11	[thread overview]
Message-ID: <35F95F73.845E4542@zk3.dec.com> (raw)
In-Reply-To: 35F8139A.49CAB9F9@watson.ibm.com

The default behavior of the compiler is to instantiate the templates in
the repository with only one copy. The behavior you are describing might
be a known bug in the compiler or a user error. It is hard to tell which
it is without seeing what you are doing.

One thing to be sure of , don't declare any non-template variables in a
template implementation file. Read the documentation on implicit
inclusion to understand how the template implementation file gets
included automatically in your source module when it is needed.

If you are sure you are doing everything right, it is possible you have
hit a bug that causes the compiler to drop templates into the object
instead of the repository. It is hard to describe what causes this, but
the used of unused static variables to hold identification strings for
RCS or SCCS was the most common.

We have already fixed this bug and the new compiler has been given to
manufacturing and will be released on 10/9/98.

The current v6.1 compiler (to be released 10/9/98) only does run-time
instantiations. We are investigating adding link line instantiation to
v6.2.





      reply	other threads:[~1998-09-11  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-09-10  4:00 problem with building templates on OSF Sam Dooley
1998-09-11  4:00 ` Ken Block USG [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox