www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/07/09:02:03

From: Peter Claessens <peter DOT claessens AT psy DOT kuleuven DOT ac DOT be>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: stl: multiple definitions
Date: Wed, 07 Apr 1999 14:14:39 -0700
Organization: KULeuvenNet
Lines: 37
Message-ID: <370BCABE.EA85A837@psy.kuleuven.ac.be>
References: <370AA402 DOT 5A082B71 AT psy DOT kuleuven DOT ac DOT be>
NNTP-Posting-Host: marvin.kulnet.kuleuven.ac.be
Mime-Version: 1.0
X-Trace: naxos.belnet.be 923488158 4147 134.58.127.3 (7 Apr 1999 12:29:18 GMT)
X-Complaints-To: abuse AT belnet DOT be
NNTP-Posting-Date: 7 Apr 1999 12:29:18 GMT
X-Mailer: Mozilla 4.5 [en] (Win98; I)
X-Accept-Language: nl-BE,nl,en
Cache-Post-Path: marvin!unknown AT p100pw109 DOT psy DOT kuleuven DOT ac DOT be
X-Cache: nntpcache 2.3.2.1 (see http://www.nntpcache.org/)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

This is a multi-part message in MIME format.
--------------0F549A44720CA60A1639ACFB
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

> Linking a c++ program in rhide including STL headers (map and vector) I
> get multiple definitions from stlinst.cc , namely for

I tried to track the error by selectively adding and removing parts of the
code. Apparently it was wrong of me to declare the stl variable (f.e.
vector<int> intvector;) in the header, even if it's in the body of a class
declaration, even with the #ifndef, #define and #endif 'bracketing'
structure.

--------------0F549A44720CA60A1639ACFB
Content-Type: text/x-vcard; charset=us-ascii;
 name="peter.claessens.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Peter Claessens
Content-Disposition: attachment;
 filename="peter.claessens.vcf"

begin:vcard 
n:Claessens;Peter
tel;fax:+32 16 32 60 99
tel;home:+32 16 29 17 28
tel;work:+32 16 32 59 30
x-mozilla-html:FALSE
org:University of Leuven, Psychology department ;Laboratory for Experimental Psychology
adr:;;Tiensestraat 102;Leuven;;B-3000;BELGIUM
version:2.1
email;internet:peter DOT claessens AT psy DOT kuleuven DOT ac DOT be
fn:Peter Claessens
end:vcard

--------------0F549A44720CA60A1639ACFB--

- Raw text -


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