Re: binutils fails to compile on AIX due to mismatched declaration

2021-03-03 Thread Alan Modra
On Wed, Mar 03, 2021 at 02:48:52PM -0400, Calvin Buckley wrote: > The declaration for a function is incorrect; the implementation of it > is missing a const. Adding a const to the implementation (line 335) is > enough to fix this particular issue. > > rs6000-core.c:280:19: warning: type qualifiers

binutils fails to compile on AIX due to mismatched declaration

2021-03-03 Thread Calvin Buckley
The declaration for a function is incorrect; the implementation of it is missing a const. Adding a const to the implementation (line 335) is enough to fix this particular issue. rs6000-core.c:280:19: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const bfd_cleanu