🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50196

Getting templates to work

#50196
From: Jonathan S Levinson
Date: Tue, 12 Oct 1993 16:52
16 lines
1279 bytes
Does anyone know how to get templates to work?
I can compile, link, and run my code under SUN C++, and my
code uses templates, but when I try doing the same with gcc
2.4.5 (after deleting all object and doing a complete re-make),
the link fails.  It can't find the routines in the classes that are 
template classes.

I bought Using and Porting GNU CC for version 2.4, but it does not
tell you about any particular magic you need to get templates
to work.

-- 
-------------------------------------------------------------------------
Jonathan Samuel Levinson - jsl@world.std.com    phone: (617) 492 - 8860
Computer Corporation of America                 fax:   (617) 497 - 1072
4 Cambridge Center                              Cambridge MA 02142
Technical Details
Message-ID: <CEsMv3.HBC@world.std.com>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!world!jsl

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,4152ca29b25e772f,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-10-12 11:48:51 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!world!jsl
From: jsl@world.std.com (Jonathan S Levinson)
Subject: Getting templates to work
Message-ID: <CEsMv3.HBC@world.std.com>
Organization: The World Public Access UNIX, Brookline, MA
Date: Tue, 12 Oct 1993 16:52:15 GMT
Lines: 16