[PATCH] D102936: [CUDA] Work around compatibility issue with libstdc++ 11.1.0
Jonathan Wakely via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri May 21 14:02:55 PDT 2021
jwakely requested changes to this revision.
jwakely added a comment.
This revision now requires changes to proceed.
You can't use `__GLIBCXX__` this way. It will be different for different snapshots from the gcc-11 branch.
I would just check RELEASE == 11. If `__failed_assertion` is present, you'll rename it. If it's not present, nothing gets renamed but it works anyway.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102936/new/
https://reviews.llvm.org/D102936
More information about the cfe-commits
mailing list