[libcxx-commits] [clang] [libcxx] [libc++] Enable GNU __attribute__((init_priority(...))) on z/OS. (PR #199573)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Mon May 25 22:22:46 PDT 2026
================
@@ -1,2 +1,2 @@
#pragma GCC system_header
-_LIBCPP_HIDDEN ios_base::Init __start_std_streams _LIBCPP_INIT_PRIORITY_MAX;
+_LIBCPP_HIDDEN ios_base::Init __start_std_streams __attribute__((init_priority(101)));
----------------
philnik777 wrote:
This change is incorrect AFAICT, and should be unrelated to the Clang patch. 101 is a priority the user is allowed to use - we should use 100, just like the macro - which is why we use the macro in the first place.
https://github.com/llvm/llvm-project/pull/199573
More information about the libcxx-commits
mailing list