[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Compiler error on IBM XL for AIX
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 3 Aug 2009 13:26:26 -0300
> loslib.c (here loslib.cpp):
> =static int os_exit (lua_State *L) {
> = exit(luaL_optint(L, 1, EXIT_SUCCESS));
> + return 0;
> =}
Other compilers know that exit never returns and complain that "return 0"
is never reached. :-(
See for instance these threads:
http://lua-users.org/lists/lua-l/2008-01/msg00367.html
http://lua-users.org/lists/lua-l/2006-09/msg00872.html
http://lua-users.org/lists/lua-l/2002-06/msg00063.html
It seems an unsolvable issue... (Note the dates!)