This is the mail archive of the
mailing list for the binutils project.
Re: Commit: PR 22823: Fix gcc 8 compile time warnings
On Thu, Feb 15, 2018 at 08:37:49AM +0000, Maciej W. Rozycki wrote:
> however (we have `-Wstrict-prototypes' spelled out explicitly). It looks
> like casting to `void (*) (void)' is the way to calm GCC, according to
> `-Wcast-function-type' option documentation (if all else fails, check the
Just plain (void *) works too.
Australia Development Lab, IBM