Yes, it is working now!
I'll keep debugging the other issues. I'll come back with more things soon.
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!
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.
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:
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?