On Sun, Aug 19, 2018 at 4:26 AM Bruno Haible <br...@clisp.org> wrote:

> Indeed, casting through (void *) or (void (*) (void)) avoids the
> warning.

I seem to remember C does not guarantee that pointers to functions
must survive casting through void*. It does for casting between
function pointer types. So casting through (void (*)(void)) is going
to be more portable.

Reply via email to