lua-users home
lua-l archive

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


Of course they are getting rid of it.
More api incompatibilities between C and C++, as C++ deprecates putting the void in the parameter list.

On Sat, Apr 25, 2020 at 04:12 Antonin Décimo <antonin.decimo@gmail.com> wrote:
Empty parameters lists were already deprecated in C89.

§6.7.5.3-14 Function declarators (including prototypes)

§6.11.6 Function declarators
> The use of function declarators with empty parentheses (not
> prototype-format parameter type declarators) is an obsolescent
> feature.

See GCC warnings old-style-declaration and old-style-definition.

-- Antonin
_______________________________________________
lua-l mailing list -- lua-l@lists.lua.org
To unsubscribe send an email to lua-l-leave@lists.lua.org
_______________________________________________
lua-l mailing list -- lua-l@lists.lua.org
To unsubscribe send an email to lua-l-leave@lists.lua.org