www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/01/08:14:12

Date: Mon, 1 Feb 1999 15:10:05 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Alberto Chessa <achessa AT fiar DOT finmeccanica DOT it>
cc: djgpp AT delorie DOT com
Subject: Re: Rhide: multiple definition of...
In-Reply-To: <01be4dd9$50344f40$92c809c0@chessa>
Message-ID: <Pine.SUN.3.91.990201150757.22142D-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On 1 Feb 1999, Alberto Chessa wrote:

> Error: gfd.o: In function 'gfd_bitmap_c::RawGetPixel(int, int)
> gfd.cc(403) Error: multiple definition of 'gfd_bitmap_c::RawGetPixel(int,
> int)':
> o:gfd.cc (403) Error:first defined here

Looks like gfd.o is submitted twice to the linker.  You need to look at 
the command line RHIDE uses to run GCC and find out why does that happen.

> Regardless the corretness of my code, why rhide and gcc (or gxx) give
> different result on the same command ?

Presumably because the command line you pass to gxx is correct, while 
that passed by RHIDE isn't.  Maybe you messed up the list of the files in 
your project?

- Raw text -


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