[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua 5.1 (work4) now available
- From: Wim Couwenberg <w.couwenberg@...>
- Date: Fri, 31 Dec 2004 13:04:06 +0100
The definition of
__inline int l_lrint (double flt)
in luaconf.h leads to an error in Borland CBuilder 6:
"Inline assembly not allowed in inline and template functions"
Also the warning pragma seems VC specific. Check for _MSC_VER (VC) or
__BORLANDC__ (Borland). Changing "__inline" into "static" is a fix, I
didn't check if the compiler inlines the code anyway.
Why all the fuss over this rint function btw? Will an int cast not do
fine? (And lrint returns a long int).
--
Wim