lua-users home
lua-l archive

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


i'm using toLua to generate a .cpp file. i'm getting compiling errors when i have enums in the .pkg. For example:

error C2440: 'type cast' : cannot convert from 'float' to 'enum'

i suppose c++ cares so much because of strict type checking although gcc doesn't seem to care.

i've thought of all sorts of horrible ways to get around it. does anyone have a simple solution to this?


MSN 8 with e-mail virus protection service: 2 months FREE*