lua-users home
lua-l archive

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


what version of MSVC you are using ?






---- Em Dom, 27 nov 2022 08:39:26 -0300 Alexander Riegler <alexriegler12@gmail.com> escreveu ---

To test c89 compatibility, i wanted to compile lua 5.4.4 on a very old version  of MSVC. The compiler complains about the line 270 of lmathlib.c "#if (ULONG_MAX>>31>>31)>=3" with "Fatal error C1012: unmatched parenthesis: missing ')'". Is this caused by non-conformance to c89 of the new random generator code or is this just a compiler bug ?