lua-users home
lua-l archive

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


> 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