www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/05/03/17:59:56

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Message-Id: <5.0.2.1.0.20020503165044.00bc9118@pop.hotpop.com>
X-Sender: jlsgarrido AT pop DOT hotpop DOT com
X-Mailer: QUALCOMM Windows Eudora Version 5.0.2
Date: Fri, 03 May 2002 16:54:40 -0500
To: djgpp AT delorie DOT com
From: =?iso-8859-1?Q?=22Jos=E9_L=2E_S=E1nchez=22?= <jlsgarrido AT hotpop DOT com>
Subject: Re: Rhide: multiple definition problem
In-Reply-To: <1qBA8.57578$Ze.8804@afrodite.telenet-ops.be>
References: <ihBy8.42973$Ze DOT 6972 AT afrodite DOT telenet-ops DOT be>
<aaj31g$h17$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE>
Mime-Version: 1.0
X-HotPOP: -----------------------------------------------
Sent By HotPOP.com FREE Email
Get your FREE POP email at www.HotPOP.com
-----------------------------------------------
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

At 07:20 p.m. 03/05/2002 +0000, you wrote:
>You're right, of course. I didn't mentioned how I used Rhide. But since i've
>done nothing unusual than just included my .cpp and .h files to my project,
>and i'm not a genius, i thougt there wasn't more to mention. I just
>installed djgpp and rhide with all standard options unchanged, wrote and
>included those files, and hit compile & un. No .o files included.
>I use Windows Me.

Try to include only yours *.cpp files in the project. The multiple 
definition problem appears because your .h files are  included in project.


>About your remark:my program was just a testprogram, nothing more, nothing
>less. And if even this simple program doesn't work, well then it's no use
>trying something bigger.

Well..., if you need help for someone, you must be understand that someone 
needs complete information, not only a vague description.

Jose L.


>Thanks
>
>Jorg
>
>"Hans-Bernhard Broeker" <broeker AT physik DOT rwth-aachen DOT de> schreef in bericht
>news:aaj31g$h17$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE...
> > Jorg <Jorg DOT Daniels AT pandora DOT be> wrote:
> >
> > > The problem is: I always get multiple definition errors of all my
>functions,
> > > classes and main(). Here is my post to comp.lang.c++, and the answer:
> >
> > You've omitted the crucial part of the info needed to answer this.
> > The previous answer from c.l.c++ said you're using your compiler (or
> > IDE, in your case RHIDE) wrongly --- but you don't give the slightest
> > hint how you *did* use it.  What exactly did you do in RHIDE?
> >
> > The usual reason for this kind of error is to list both the .cpp and
> > the .o files in your RHIDE project --- don't do that.  The .o files
> > don't belong in there.
> >
> > A side issue: I'm totally at a loss what you think your "m.h" is going
> > to achieve.  It's completely useless as it is.  You may as well get
> > rid of both the file itself and all the lines #include'ing it.
> >
> >
> >
> >
> > --
> > Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
> > Even if all the snow were burnt, ashes would remain.


- Raw text -


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