Re: warning in mingw [Was: [ANN] Lua 5.4.0 (rc1) now available]
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: warning in mingw [Was: [ANN] Lua 5.4.0 (rc1) now available]
- From: connor horman <chorman64@...>
- Date: 2020年4月25日 08:42:45 -0400
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.
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