[Openmp-commits] [flang] [llvm] [openmp] [Flang-RT] Fix GCC 15.1 Fortran Runtime libstdc++ Undefined Symbols (PR #157385)
Patrick Simmons via Openmp-commits
openmp-commits at lists.llvm.org
Tue Sep 23 05:11:00 PDT 2025
================
@@ -24,6 +24,9 @@ using cuda::std::variant_size_v;
using cuda::std::visit;
} // namespace std
#else // !RT_USE_LIBCUDACXX
+#include <initializer_list>
----------------
linuxrocks123 wrote:
@Meinersbur `bits/c++config` needs to be `#include`d prior to `variant`, because we need to replace that macro after it's defined and before `variant` uses it. You're not really supposed to `#include` things in the `bits` dir, so I used `initializer_list` to accomplish this indirectly.
https://github.com/llvm/llvm-project/pull/157385
More information about the Openmp-commits
mailing list