You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lukester1975
changed the title
[boost] wrong -std targeting c++20 with gcc/clang
[package] boost/* wrong -std targeting c++20 with gcc/clang
Oct 31, 2024
@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 cobalt not to build (sorry, I should've said that originally). I.e. it's not just a cosmetic thing - so I imagine a fix should go in sooner rather than later!
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: