bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New warnings on emacs-26 branch with gcc 8.2.0


From: Yuri Khan
Subject: Re: New warnings on emacs-26 branch with gcc 8.2.0
Date: Sun, 19 Aug 2018 14:08:31 +0700

On Sun, Aug 19, 2018 at 4:26 AM Bruno Haible <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]