bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/867] Compilation errors for binutil-2.14 on RedHat 7.2


From: nickc at redhat dot com
Subject: [Bug binutils/867] Compilation errors for binutil-2.14 on RedHat 7.2
Date: 25 Apr 2005 08:07:25 -0000

------- 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]