------- Additional Comments From nickc at redhat dot com  2005-04-25 08:07 
-------
Subject: Re:  New: Compilation errors for binutil-2.14 on
 RedHat 7.2

Hi Vivekk,

> I am getting to compilation errors for binutils-2.14.

FYI: This is an old release of binutils.  We are now at 2.15 and version 
2.16 is about to be released.

> localealias.c:337: void value not ignored as it ought to be
> localealias.c:341: void value not ignored as it ought to be

> Am I missing anything?

It appears that you have a bad prototype for memcpy() somewhere in your 
include path.  Both of these errors refer to the code in localealias.c 
looking at the return value from memcpy().  memcpy() does return a value 
so the error message is wrong, hence the probable cause is that the 
compiler has been given a bad prototype.

What happens for example if you add this line:

   extern void * memcpy (void *, const void *, size_t);

at the start of the code for read_alias_file() in intl/localealias.c ?

Cheers
   Nick


-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=867

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to