-
Notifications
You must be signed in to change notification settings - Fork 126
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
Strange build failure on i386 #93
Comments
I doubt v0.8.3 would fix this. It just added build support for unit tests with Catch2 v3.x. But also note that the v0.8.x line was just promoted to v1.0, so I do want to make sure it's as stable and portable as possible. I don't know that I have an i386 compiler installed anywhere anymore, but I can try a couple different versions of Clang to see what I can find. |
I tried it on a number of x64 systems and compilers, and everything built cleanly. Then, I tried a 32-bit Beaglebone Green that I had sitting on my desk, which already had Clang 13 installed. Sure enough, that hit it...
Looking at it a little closer, I agree, it was a poor choice of overloads in that a For now, perhaps an explicit cast in the example app would fix the build error for these 32-bit compilers. But I may reconsider the form of that string overload in v2 of the library. |
I added a fix to the Or if you need an actual release to put into the build pipeline for testing, I can push it out... |
D'Oh! 🤦♂️ Now I actually get it! Say we boiled it down a little further to two overloads:
And say we try to call it like this:
The But on 32-bit systems, both the So the call is ambiguous. I think the proper long-run solution is to get rid of the |
It looks good now, no build errors reported with the patch integrated. |
The build bot of FreeBSD packages indicates a strange error during i386 package build:
The full log is available here
Update of the port to 0.8.3 is pending, but I'm not sure it fixes the problem.
The text was updated successfully, but these errors were encountered: