|
From: | Nick Clifton |
Subject: | Re: [Bug binutils/867] New: Compilation errors for binutil-2.14 on RedHat 7.2 |
Date: | Mon, 25 Apr 2005 09:05:59 +0100 |
User-agent: | Mozilla Thunderbird 1.0 (X11/20041206) |
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
[Prev in Thread] | Current Thread | [Next in Thread] |