delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/11/16:33:20

Message-ID: <37DAA863.F1F51E41@ufu.br>
Date: Sat, 11 Sep 1999 16:07:17 -0300
From: bcc14 AT ufu DOT br (Bacharelado Curso Ciencia Computacao-14)
X-Mailer: Mozilla 4.5 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Rhide, C++ and headers HELP please
Reply-To: djgpp AT delorie DOT com

--------------7CA4469759D2FD9CF1772EC7
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


  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.
  What can be hapenning? as i put the header definitions (#ifndef,
#define and #endif....), tried without them and so... but nothing solved
my problem....
  Please help...

  Oh... i have DJGPP v.2.01

Rodrigo Domingues (SPY)
bcc14 AT ufu DOT br


--------------7CA4469759D2FD9CF1772EC7
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
&nbsp;
<br>&nbsp; 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 <b>undefined reference
to "class::function"</b> as a linker error.
<br>&nbsp; What can be hapenning? as i put the header definitions (#ifndef,
#define and #endif....), tried without them and so... but nothing solved
my problem....
<br>&nbsp; Please help...
<p>&nbsp; Oh... i have DJGPP v.2.01
<p>Rodrigo Domingues (SPY)
<br>bcc14 AT ufu DOT br
<br>&nbsp;</html>

--------------7CA4469759D2FD9CF1772EC7--

- Raw text -


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