lua-users home
lua-l archive

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


> A Sun machine I sometimes use has an old version of GCC (3.4.6).  It says:
> 
> ldo.c: In function `luaD_throw':
> ldo.c:122: warning: `noreturn' function does return
> 
> 
> My usual environment is GCC 4.4.5 on (Debian) Linux, where the warning
> does not appear.
> 
> I realise that 3.4.6 is an ancient version of GCC, and that fixing
> warnings yields diminishing returns ;)  I'm just reporting it for
> completeness.

The warning is probably related to functions 'longjmp' or 'abort' not
being declared as "non returning" in the header files. Thanks for
the feedback.

-- Roberto