lua-users home
lua-l archive

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


Hi list,
I was porting some code to Windows and was surprised that a method:

static in __gc(lua_State *L)

was using the "__gc" keyword.  Apparently managed C++ on windows
defines __gc for itself and gives errors in my code when I use it to
define a function.   The errors said to use /clr:oldsyntax as a
compiler switch, which is even worse since that is apparently
deprecated and will not even compile.  Anyone know how to turn off
managed C++ to avoid this problem?

thanks,
wes