Yes, it is working now!
I'll keep debugging the other issues. I'll come back with more things soon.
Yes, it is working now!
I'll keep debugging the other issues. I'll come back with more things soon.
Patch for enabling datetime test compilation on gcc.
Edit: missed a change on add_on/datetime/datetime.cpp. Another patch attached.
Thanks. I've checked in these fixes in revision 2330.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
Andreas,
now test_namespace is the one failing. Particularly these lines:
What about the attached patch? With it, all tests up to test_compiler pass.
Failed on line 1742 in ../../source/test_compiler.cpp
The attached patch fixes the previous mentioned error in test_compiler.cpp:1742
Next errors are now:
Thanks. I'll review and include these patches.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
I've checked in the patches in revision 2338.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
Andreas,
the tests to check the division of -2147483648 by -1 were failing on PPC. That's because when the value (1<<31) is parsed, it's saved as an int64 (0xffffffff80000000). If we get a dword from that, we get the 0xffffffff part on big endians. So int values need to be properly downsized.
The attached patch fixes this problem BUT it's not the proper solution. Do you have any ideas how to better do this? Maybe we need to properly parse int32 vs int64 values?
Thanks. I'll look into this.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game