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


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

Reply via email to