compiler Error
Posted: 06.12.2005, 11:58
With celx.cpp v1.79 the compiler gives a conversion error on the following code:
if (star->getOrbitBarycenter() != NULL)
{
Selection parent(star->getOrbitBarycenter());
lua_pushstring(l, "parent");
object_new(l, parent);
lua_settable(l, -3);
}
The compiler can't convert "star" to "star* "
I use vc++ 2003 on winxp
if (star->getOrbitBarycenter() != NULL)
{
Selection parent(star->getOrbitBarycenter());
lua_pushstring(l, "parent");
object_new(l, parent);
lua_settable(l, -3);
}
The compiler can't convert "star" to "star* "
I use vc++ 2003 on winxp