-
Notifications
You must be signed in to change notification settings - Fork 275
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
Bundled Catch library fails to compile with recent C++ #160
Comments
Reported upstream: efficient/libcuckoo#160 Reported by: Andrea Venturoli <ml@netfence.it>
Motivated by #160. It seems like Catch is moving in the direction of a more fully-featured, separately-compiled test framework. And we basically just need the bare minimum here. The acutest library seems to provide this.
Thanks for reporting @arrowd! I wasn't able to reproduce your issue on clang 16.0.6 on my ubuntu machine, but nevertheless there is room to slim down our dependencies here. I looked into upgrading Catch, but they are actually moving towards a more fully-featured test framework, and we basically just need the bare minimum. So I tried replacing the test framework in this branch: https://github.com/efficient/libcuckoo/tree/replace-catch-with-acutest If you have a chance, would appreciate if you could check that this compiles and runs on FreeBSD. |
I think the problem is with the standard library then. FreeBSD uses libc++ matching Clang's version, while on Ubuntu Clang still uses libstdc++, I believe.
Tried it out and it build fine. Tests also pass, thanks for working on this! |
Awesome, great to hear! Just merged into the master branch. |
When building on FreeBSD 14 which uses Clang 16.0.6, I get the following error:
The text was updated successfully, but these errors were encountered: