www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/16/19:56:43

From: <p_m_king AT mindspring DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problem with Templates
Date: Sun, 16 May 1999 19:31:28 -0400
Organization: MindSpring Enterprises
Lines: 17
Message-ID: <7hnk5u$qep$1@nntp2.atl.mindspring.net>
References: <373D6221 DOT 405F04B5 AT geocities DOT com>
NNTP-Posting-Host: a5.f7.78.36
X-Server-Date: 16 May 1999 23:25:50 GMT
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

There is a long discussion in the info files on this topic under C++/gnu
extensions. Brief summary,
your header file should include the line

#pragma interface

and your implementation should contain the line

#pragma implementation

and you should compile with -fexternal-templates.  There are other issues
and solutions that you
probably want to read about.

Pat


- Raw text -


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