https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118112

Sam James <sjames at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
                 CC|                            |sjames at gcc dot gnu.org

--- Comment #1 from Sam James <sjames at gcc dot gnu.org> ---
The TL;DR of the change in C23 is..

> where slapi-private.h has:
> 
> /* JCMREPL - IFP and CFP should be defined centrally */
> #ifndef _IFP
> #define _IFP
> typedef int (*IFP)(); /* takes undefined arguments */
> #endif

... this now means "takes no arguments", i.e. it's the same as:
 typedef int (*IFP)(void);

I concur with your your bug. People aren't finding this easy to understand.

Reply via email to