On Thu, 10 Jul 2025, Takashi Yano via Cygwin-apps wrote: > On Wed, 9 Jul 2025 23:27:10 -0700 (PDT) > Jeremy Drake wrote: > > Also, I am confused about #define-ing constinit in the libc++ patches. Is > > there still some issue with constinit? > > Without this patch, I have seen errors like: > libcxx-20.1.7-1.x86_64/src/libcxx-20.1.7.src/src/random_shuffle.cpp:22:35: > error: variable does not have a constant initializer > 22 | static constinit __libcpp_mutex_t __rs_mut = > _LIBCPP_MUTEX_INITIALIZER; > | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ > > I'm using gcc v12.4.0. Using gcc 13 may solves the issue?
This should have been fixed in cygwin by 5be6ebd4d5c3492c539e662cc8849c284a456e7d (and 1186791e9f404644832023b8fa801227c2995ab7 on cygwin-3_6-branch)
