[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (rc2) now available
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 28 Nov 2011 14:41:24 -0200
> "..\src\lua\loslib.c", line 278: warning #940-D: missing return statement at
> end of non-void function "os_exit"
> }
> ^
>
> [...]
>
> The first warning is probably unavoidable, because if a "return 0" is
> added at the end of the function, GCC will probably complain...
Maybe this?
277c277
< exit(status);
---
> return (exit(status), 0);
(I am sure we already had a long disussion in this list about this issue,
without any good conclusions, but I could not find it...)
-- Roberto