delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/04/23:37:53

Message-ID: <38C1E0F6.44FD7B8D@home.com>
From: Robin Johnson <robbat2 AT home DOT com>
Organization: Orbit Computers
X-Mailer: Mozilla 4.7 [en] (Win98; U)
X-Accept-Language: en,af,es
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: odd compiler error in DJGPP...
References: <38C17CB3 DOT BCC06203 AT myokay DOT net>
Lines: 31
Date: Sun, 05 Mar 2000 04:22:12 GMT
NNTP-Posting-Host: 24.113.36.103
X-Complaints-To: abuse AT home DOT net
X-Trace: news1.rdc1.bc.home.com 952230132 24.113.36.103 (Sat, 04 Mar 2000 20:22:12 PST)
NNTP-Posting-Date: Sat, 04 Mar 2000 20:22:12 PST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

did u remember to include the constructor in the structure?

caramaith wrote:
> 
> ...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

-- 
Robin Hugh Johnson
"Robbat2"
QTOD: "I used to be an idealist, but I got mugged by reality."
E-Mail     : robbat2 AT t-p-l DOT com
ICQ#       : 30269588 or 41961639
Home Page  : http://tesla.t-p-l.com
Time Zone  : Pacific Daylight (GMT - 8)

- Raw text -


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