lua-users home
lua-l archive

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


> And what about this?
> 
> > #define lua_number2int(i,d) __asm \
> >                                 { \
> >                                   fld d \
> >                                   fistp i \
> >                                 }

VC7.1:

u:\Downloads\lua51\lua-5.1-work6\src\lapi.c(323) : warning C4405: 'fistp' :
identifier is reserved word
u:\Downloads\lua51\lua-5.1-work6\src\lapi.c(323) : error C2400: inline
assembler syntax error in 'first operand'; found 'res'

Josh