[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.4.3 (rc1) now available
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 3 Mar 2021 15:40:14 -0300
> Because l_likely does not put its arguments in parentheses the following
> change removed the parentheses from the argument 'cond' after macro
> expansion, which gave me some warnings in my code.
>
> [...]
>
> Perhaps l_likely should be defined as "#define l_likely(x) (x)", or
> luaL_argcheck as:
>
> [...]
We must correct the definition of l_likely to "#define l_likely(x) (x)",
as this problem may arise in other places.
Thanks for the feedback,
-- Roberto