Re: posix_spawn difference from Linux

2025-06-14 Thread Glenn Strauss via Cygwin
On Sat, Jun 14, 2025 at 12:29:57PM -0600, Brian Inglis via Cygwin wrote: > On 2025-06-13 21:39, Glenn Strauss via Cygwin wrote: > > On Fri, Jun 13, 2025 at 02:25:17PM -0700, Jeremy Drake via Cygwin wrote: > > > On Fri, 13 Jun 2025, Jeremy Drake wrote: > > > > > > > I am working on some posix_spawn

PTHREAD_MUTEX_INITIALIZER and constinit

2025-06-14 Thread Jeremy Drake via Cygwin
Consider the following -std=c++20: #include constinit pthread_mutex_t foo = PTHREAD_MUTEX_INITIALIZER; With g++ 12.4.0, this succeeds, but with clang 20.1.6 it fails: pthreadtest.cpp:3:27: error: variable does not have a constant initializer 3 | constinit pthread_mutex_t foo = PTHREAD_MUTEX_

Re: posix_spawn difference from Linux

2025-06-14 Thread Brian Inglis via Cygwin
On 2025-06-13 21:39, Glenn Strauss via Cygwin wrote: On Fri, Jun 13, 2025 at 02:25:17PM -0700, Jeremy Drake via Cygwin wrote: On Fri, 13 Jun 2025, Jeremy Drake wrote: I am working on some posix_spawn tests for the new stc repository [1], and making sure they behave the same between Cygwin and

Re: D compiler package is incomplete

2025-06-14 Thread ASSI via Cygwin
Bruno Haible via Cygwin writes: > When I build GCC myself from source for other platforms, the D runtime > library is called 'libgphobos'. Without this library, both 'gdc' and 'd21' > are useless. If you had tried to build it for Cygwin you would have discovered that this isn't supported and when