Segfault on GCC 6 release builds

Started by
10 comments, last by WitchLord 7 years, 4 months ago

The changes you made now cause the following error when building on GCC 6.2.0:


../../source/as_callfunc.cpp: In function ‘int PrepareSystemFunction(asCScriptFunction*, asSSystemFunctionInterface*, asCScriptEngine*)’:
../../source/as_callfunc.cpp:489:47: error: ‘class asCTypeInfo’ has no member named ‘CastToObjectType’
    asSTypeBehaviour *beh = &dt.GetTypeInfo()->CastToObjectType()->beh;


Edit: Changing line 489 to the following fixes it


asSTypeBehaviour *beh = &CastToObjectType(dt.GetTypeInfo())->beh;
Advertisement

Thanks. I'll have it fixed.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement