-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[package] boost/* wrong -std targeting c++20 with gcc/clang #25702
Comments
@lukester1975 thanks a lot for the report - We're going to implement this fix (using Conan provided flags instead of the recipe mapping it itself) in a PR for boost alongside some other changes, which will take a bit, thanks a lot for your report :) |
Boost recipe is one of most challenging recipes in CCI, we still do not have generators for B2, so any command should be parsed manually, including cppstd. With Conan 2.x mandatory and default support now, we can simplify many parts of that recipe, including this current bug. Please, be aware we are only looking for Conan 2.x support now, as reporting some ago: #25461 |
FWIW this causes |
Totally fine, I prefer separated issues/PRs personally, easier to mitigate and work on. Plus, changing a single line in Boost recipe is always fragile. |
Sorry, I'm not sure what's being suggested now - should I just close this or do you want a PR to fix the 3 lines? Thanks |
Description
Those last two are somewhat pessimistic... Same problem with gcc for c++20:
cppstd_flags.setdefault("20", "2a" if gcc_version >= "8" else "20" if gcc_version >= "12" else None)
I can create a trivial PR (from https://github.com/lukester1975/conan-center-index/tree/fix-boost-clang-std) but given the comment "Replace it by Conan tool when available: conan-io/conan#12603" (and conan-io/conan#12603) maybe something else is preferred?
Thanks
Package and Environment Details
n/a
Conan profile
n/a
Steps to reproduce
n/a
Logs
n/a
The text was updated successfully, but these errors were encountered: