www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/10/27/21:25:14

Xref: news-dnh.mv.net comp.os.msdos.djgpp:2906
Path: news-dnh.mv.net!mv!news.sprintlink.net!EU.net!Austria.EU.net!newsfeed.ACO.net!swidir.switch.ch!swsbe6.switch.ch!scsing.switch.ch!news.rediris.es!panoramix.fi.upm.es!zipi.fi.upm.es!a920101
From: a920101 AT zipi DOT fi DOT upm DOT es
Newsgroups: comp.os.msdos.djgpp
Subject: Templates in DJGPP.
Date: 27 Oct 95 09:20:27 +0100
Organization: Facultad de Informatica - (UPM)
Lines: 14
Nntp-Posting-Host: zipi.fi.upm.es
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

Hi everybody.
I've made a generic list in C++ using templates, and tested it under BC++ 3.1.
It works fine. Then, i ported it to DJGPP. It compiles fine, but when I use it
in a test program, when linking, it complains about non-existing functions when
it finds a call to one of my list's method.
I know that templates are treated in different ways depending on the compiler.

How do I use them in GCC??? I've searched in the docs and so, but can't find
anything. Help?

(BTW, thanks to the guy who answered my previous question about building GRX.)

	Juan Jesus Alcolea.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019