🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
AngelScript 1.10.1c - Stable (2004/12/19)
I've just released 1.10.1c which fixes the following:
* ExecuteString() could sometimes return an invalid context pointer when an error occurred.
* Application functions that returned float or double failed on GNUC based compilers with optimizations turned on. (thanks Marcin "Szpak" Zajaczkowski)
* Prepare() could crash if the function id was incorrect.
Regards,
Andreas
The latest Angelscript.h generated a warning. here..the fix was on MSDN in VS.NET 2003, hence
----------------------------------------------------------------------------
angelscript.h(69) : warning C4121: 'asUPtr' : alignment of a member was sensitive to packing
union asUPtr
{
asFUNCTION_t func;
asMETHOD_t mthd;
};
----------------------------------------------------------------------------
change the struct to (reverse the elements)
union asUPtr
{
asMETHOD_t mthd;
asFUNCTION_t func;
};
----------------------------------------------------------------------------
should fix the warning. not a major pain though, but a lot of files in my project have called AS.h and the warning msg pops up.
----------------------------------------------------------------------------
angelscript.h(69) : warning C4121: 'asUPtr' : alignment of a member was sensitive to packing
union asUPtr
{
asFUNCTION_t func;
asMETHOD_t mthd;
};
----------------------------------------------------------------------------
change the struct to (reverse the elements)
union asUPtr
{
asMETHOD_t mthd;
asFUNCTION_t func;
};
----------------------------------------------------------------------------
should fix the warning. not a major pain though, but a lot of files in my project have called AS.h and the warning msg pops up.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement