-
-
Notifications
You must be signed in to change notification settings - Fork 362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pioneerLib.dir/src/CollMesh.cpp does not compile on i686 arch #4691
Comments
|
I'm going to take a stab in the dark and guess that on i686 the |
|
This patch is working: |
|
@Web-eWorks / @fluffyfreak is this a bug, and if so, what desired action should be taken, in the best of worlds? Naturally, it would be nice to support as many platforms at possible, but not at the (unreasonable) cost of code complexity, or dev-time, in my opinion. |
|
It is kind of a bug, it's means that the serialisation will be platform dependent and save games might not be portable across platforms/architectures. Since this is just the alignment it might be ok, as I believe that we (de/)serialise data structures as individual values (?) rather than directly as binary blobs. However I can't be 100% certain of that, there's so much code I don't know it all anymore. |
|
OK, thanks for explenation, then this sounds like we're keeping this open, for now. |
|
This is a left-over canary from my attempt to speed up serialization of model and collision data. We don't actually write any of these structures in their whole form anymore, so this isn't quite necessary. It is somewhat useful to catch platforms where alignment is very non-standard, but ultimately these checks can be removed. |
|
I'm experimenting with implementing a Bounding Interval Hierarchy tree (AKA a loose kd-tree) instead of our current BVH tree for triangle collision acceleration, so I'll clean up the serializer code at the end of that PR. |
|
Is this caused by the removal of the |
|
@fluffyfreak no, it's caused by |
Observed behaviour
pioneerLib.dir/src/CollMesh.cppcompilation is failed on Fedora 30 i686 architecture with the following error:Expected behaviour
Correctly compiled.
Steps to reproduce
Try to compile on Fedora with
The text was updated successfully, but these errors were encountered: