Displaying 1 result from an estimated 1 matches for "r_calldef".
Did you mean:
calldef
2017 Feb 20
0
[patch] Eliminate warnings from gcc -Wold-style-declaration
...have '-Wextra' permanently set for installing packages. When
installing the modified package, I got the following warning (tested
with gcc 4.8.4 and 6.3.0):
> init.c:10:1: warning: ?static? is not at beginning of declaration [-Wold-style-declaration]
> const static R_CallMethodDef R_CallDef[] = {
I believe this is a case of the compiler (with '-Wold-style-declaration'
as part of '-Wextra') adhering to the following section of the C99 (or
C11) standard, see e.g.
<http://www.open-std.org/JTC1/SC22/WG14/www/standards.html>:
> 6.11 Future language directions...