[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua: compilation failure on TinyCC, probably cause: Lua non compliant usage of sizeof
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 22 May 2020 11:05:06 -0300
> That is a snippet from my code that triggers the error.
So, Lua is not using sizeof (or casts) in non compliant ways. You are,
when you use MAX_SIZE in a preprocessor expression.
MAX_SIZE is defined in llimits.h, an internal header file. It is not
intended for general use. If you use something you should not be using
and get an error, that is your problem. Do not write in the subject
"Lua: compilation failure on TinyCC" when your code is broken.
-- Roberto