lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Roberto Ierusalimschy writes:
> Can you try this trick?
>   static int os_exit (lua_State *L) {
>     return (exit(luaL_optint(L, 1, EXIT_SUCCESS)), 0);  /* avoid warnings */
>   }

MSVC2005 still recognizes that the "return" is unreachable.