Skip to content
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

Ubuntu/Clang14 incompatibility. #1380

Closed
evoskuil opened this issue Jan 29, 2024 · 4 comments
Closed

Ubuntu/Clang14 incompatibility. #1380

evoskuil opened this issue Jan 29, 2024 · 4 comments
Assignees
Labels

Comments

@evoskuil
Copy link
Member

/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/chrono:2320:48: error: call to consteval function 'std::chrono::hh_mm_ss::_S_fractional_width' is not a constant expression
        static constexpr unsigned fractional_width = {_S_fractional_width()};
                                                      ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/chrono:2320:48: note: undefined function '_S_fractional_width' cannot be used in a constant expression
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/chrono:2275:2: note: declared here
        _S_fractional_width()
        ^
  CXX      src/chain/libbitcoin_system_la-chain_state.lo

https://github.com/libbitcoin/libbitcoin-system/actions/runs/7681642280/job/20949297354?pr=1378#step:8:627

@evoskuil
Copy link
Member Author

evoskuil commented Jan 29, 2024

The problem is an incompatibility with Clang14.

Some ubuntu-latest runners come with a newer version of libstdc++ and still have clang 14 which only has partial consteval support.

@evoskuil
Copy link
Member Author

#1378

@evoskuil evoskuil changed the title Clang14 incompatibility. Ubuntu/Clang14 incompatibility. Jan 29, 2024
@pmienk
Copy link
Member

pmienk commented Jan 29, 2024

Addressed by libbitcoin-build#305 which bumps to clang-15.

@evoskuil
Copy link
Member Author

Resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants