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

clang++ and libstdc++ 9 build failure #768

Open
DavidTruby opened this issue Sep 30, 2019 · 2 comments
Open

clang++ and libstdc++ 9 build failure #768

DavidTruby opened this issue Sep 30, 2019 · 2 comments

Comments

@DavidTruby
Copy link
Collaborator

DavidTruby commented Sep 30, 2019

std::get for std::variant in libstdc++ 9 is erroneously marked noexcept in one place and not marked somewhere else in the same header. GCC allows this but clang does not as the standard forbids it.

This has been fixed upstream so won't be a problem in libstdc++ 10. However I don't think there's an easy workaround for this, so possibly we just need to specify in the Readme that this combination of compiler and standard library won't work.

@DavidTruby
Copy link
Collaborator Author

Here's the upstream libstdc++ bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90397

@sscalpone sscalpone added enhancement New feature or request good first issue Good for newcomers labels Dec 11, 2019
@RichBarton-Arm
Copy link
Contributor

#1059 has fixed this problem for us. :-)

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

No branches or pull requests

3 participants