[PATCH] D102936: [CUDA] Work around compatibility issue with libstdc++ 11.1.0

Joachim Meyer via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 21 11:27:05 PDT 2021


fodinabor added a comment.

Sadly don't have stdibc++11 available locally as well.. so can't verify, but looks good to me except for the push and pop macros.



================
Comment at: clang/lib/Headers/cuda_wrappers/complex:77
+// https://bugs.llvm.org/show_bug.cgi?id=50383
+#pragma push_macro("__failed_assert")
+#if _GLIBCXX_RELEASE == 11 && __GLIBCXX__ == 20210427
----------------
Not sure I understand what the push of `__failed_assert` is for..? can't find any reference to `__failed_assert` anywhere... did you mean to write `__failed_assertion`?


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