[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (rc7) now available
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 8 Dec 2011 17:10:09 -0200
> 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