[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: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 9 May 2019 13:46:35 -0300
> 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) {