Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Jeff Sullivan <jps@zk3.dec.com>
Subject: Re: Templates in digital C++
Date: 1998/03/11	[thread overview]
Message-ID: <3506EC12.38A8A650@zk3.dec.com> (raw)
In-Reply-To: 34F2D7A3.41C6@bev.net


This issue was handled offline, but I am posting the resolution
here so that it may help others. The answer came from someone
else in the C++ group who worked the issue with Chris...

The problem turned out to be that Chris had a source
and include hierarchy in his application. Digital's template
automatic instantiation scheme requires that the
template repository files get created in a directory or
directories so that the final link can know where they are.

Once the makefile was changed to use the -ptr option
to specify the complete path name of where all the
template repository files should go and -I flags were added so
that the pre-linker could find the relevant include files,
the application compiled and linked successfully.

For any Digital C++ users with similar problems, Section 
5.2.9.2 "Building an Application" from the DEC C++ Version 
5.6 Using Guide covers this topic.

-Jeff
-- 
Jeff Sullivan | Digital Equipment Corp | E-mail:    jps@zk3.dec.com
DEC C and C++ | Nashua, NH  ZK3-2/2X29 | sullivan@decc.enet.dec.com



      reply	other threads:[~1998-03-11  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-24  5:00 Templates in digital C++ Chris Fury
1998-03-11  5:00 ` Jeff Sullivan [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