[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Warnings when compiling the Lua 5.3.5 interpreter by gcc version 7.4.0
- From: Dirk Laurie <dirk.laurie@...>
- Date: Thu, 9 May 2019 18:52:31 +0200
You are right. This buiild was not in a pristine Lua directory, but in
one that has been patched.
Sorry for the noise.
Op Do. 9 Mei 2019 om 18:47 het Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> geskryf:
>
> > lua.c:259:12: note: expected ‘char *’ but argument is of type ‘const char *’
> > static int dolibrary (lua_State *L, char *name) {
>
> The line number is right but the contents is not. In Lua 5.3.5, this line reads:
>
> static int dolibrary (lua_State *L, const char *name) {
>