delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/14/10:20:21

Message-ID: <37DE1C10.278D1EB8@ufu.br>
Date: Tue, 14 Sep 1999 06:57:39 -0300
From: spy <bcc14 AT ufu DOT br>
X-Mailer: Mozilla 4.5 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Headers HELP PLEASE!!!
Reply-To: djgpp AT delorie DOT com

When I thought that all was working fine (C++ compiling and link OK,
programs running OK), I tried to do a header
that have the class definition and the prototypes to the functions in
the other file (say header.h and header.cxx containing, respectively,
the class and prototypes, and the functions themself) and made a program
that used that header (all as a project in RHIDE). When i tried to
compile, RHIDE said undefined reference to "class::function" as a linker
error (class::function is a function member of the class defined in
header.h).
  What can be hapenning? as i put the header definitions (#ifndef,
#define and #endif....), tried without them and so... but
nothing solved my problem....

that this is a linking trouble, i already know... how to slve it?
 Please help...

  Oh... i have DJGPP v.2.01

Rodrigo Domingues (SPY)
bcc14 AT ufu DOT br

- Raw text -


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