delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/04/16:38:09

From: caramaith <caramaith AT myokay DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: odd compiler error in DJGPP...
Date: Sat, 04 Mar 2000 22:14:27 +0100
Organization: T-Online
Lines: 18
Message-ID: <38C17CB3.BCC06203@myokay.net>
Mime-Version: 1.0
X-Trace: news01.btx.dtag.de 952204608 3556 320054133135-0001 000304 21:16:48
X-Complaints-To: abuse AT t-online DOT de
X-Sender: 320054133135-0001 AT t-dialin DOT net
X-Mailer: Mozilla 4.7 [de] (Win98; I)
X-Accept-Language: de
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

...whatever I do, the compiler will flag an error of the following
strucure:

testfil.cpp(2) Error: undefined reference to 'Stash::initialize(int)'
...
...

this goes for every called function/method in the testfile that
naturally includes its header. first I had it with a code I did on my
own and i thought, well - you could've made a mistake. so I took some
code from Bruce Eckels "thinking in c++" and compiling runs errorfree.
but also here the compiler won't recognize the methods... and I wonder
what lill option in DJGPP can make it vanish, because the code is 100%
correct.

pls help.

thx caramaith

- Raw text -


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