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

Compilation with std::variant fails with clang and libstdc++ #174

Open
patrikhuber opened this issue Jan 14, 2018 · 0 comments
Open

Compilation with std::variant fails with clang and libstdc++ #174

patrikhuber opened this issue Jan 14, 2018 · 0 comments

Comments

@patrikhuber
Copy link
Owner

patrikhuber commented Jan 14, 2018

This only affects the clang + libstdc++ combo. MSVC and gcc are fine.

clang has a bug that causes std::variant compilation to fail with libstdc++ from gcc-7. Apparently the bug is not fixed yet, not even in the latest clang trunk. This sort-of makes clang with std::variant a bit unusable currently. We could maybe force eos::cpp17::variant to alias to MPark.Variant for that combo.

https://bugs.llvm.org/show_bug.cgi?id=31852
https://bugs.llvm.org/show_bug.cgi?id=33222
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877838

@patrikhuber patrikhuber changed the title [devel] Compilation with std::variant fails with clang-5 and libstdc++ [devel] Compilation with std::variant fails with clang and libstdc++ Jan 14, 2018
@patrikhuber patrikhuber added the devel-branch Issues affecting only the devel branch. label Apr 1, 2018
@patrikhuber patrikhuber changed the title [devel] Compilation with std::variant fails with clang and libstdc++ Compilation with std::variant fails with clang and libstdc++ Apr 1, 2018
@patrikhuber patrikhuber removed the devel-branch Issues affecting only the devel branch. label May 14, 2018
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

1 participant