lua-users home
lua-l archive

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


Roberto Ierusalimschy <roberto@inf.puc-rio.br> writes:
>> As the Lua source already seems to have support for no-return
>> annotations (using the "l_noret" macro), perhaps that annotation could
>> be added to lua_error and luaL_error?
>
> At least for now we do not want to add more strange macros in the API.
> There are two easy fixs for those warnings:
...

FWIW, just getting rid of the return seems to result in better code
with gcc... (smaller by a fair amount)

-miles

-- 
永日の 澄んだ紺から 永遠へ