[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] Lua 5.2.0 (rc2) now available
- From: Tony Finch <dot@...>
- Date: Mon, 28 Nov 2011 17:38:30 +0000
Roberto Ierusalimschy <firstname.lastname@example.org> wrote:
> < exit(status);
> > return (exit(status), 0);
That's an error because exit() doesn't return a value :-)
I think in this case the compiler is wrong to produce the warning. Good
implementations have an annotation on exit() to say it never returns.
This is not a bug in Lua.
f.anthony.n.finch <email@example.com> http://dotat.at/
Fair Isle, Faeroes, South-east Iceland: Southerly or southwesterly, becoming
cyclonic at times in Fair Isle and Southeast Iceland, 6 to gale 8,
occasionally severe gale 9, decreasing 4 or 5 at times. High or very high.
Rain or showers. Good, occasionally poor.