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

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 21 11:58:34 PDT 2021


tra added inline comments.


================
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
----------------
fodinabor wrote:
> 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`?
It's a precaution -- we have no control over what may or may not be defined outside of this header.



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