-
Notifications
You must be signed in to change notification settings - Fork 62
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
Build error on v1.1.2: redefinition of ‘struct std::hash<std::filesystem::__cxx11::path>’ #1047
Comments
Hi Eduardo, Thanks for letting me know. If you could provide any of the info listed here, it would be helpful. In particular, compiler version and flags are likely to explain this. That specialization was previously not defined until C++17. Likely, a toolchain defined this in its standard library implementation since a certain version. It would be useful to confirm this. It would appear benign though if it's the only error you're seeing. Cheers, |
Hi John, Thanks for the prompt reply. For your convenience, please find below the template-friendly problem I am facing and further info. Describe the bug When trying to build and install CNL v1.1.2 I ran through the following error:
It happens in both To Reproduce Run the following commands:
Expected behavior Files successfully installed in the system. Desktop OS: Ubuntu 22.04.3 LTS Jammy Please let me know if you need more information. |
Hi John, I downgraded my gcc/g++ compilers to version 10.5 instead of 11.4. Now the build is successful. The issue is not present in my system anymore, so I guess we can close this one. |
Please don't close. CNL is intended to work with both versions of the compiler. |
Ok, let me know what else you will need from me and I can feed you with more details of the issue. I am still able to reproduce it should I upgrade the version. |
Hi,
When trying to build and install CNL v1.1.2 I ran through the following error:
It happens in both
cppcon2017.cpp
andcppcon2018.cpp.
Any hint on what might be going wrong here or what I can be missing?Note: I am running it on WSL Ubuntu 22.04
The text was updated successfully, but these errors were encountered: