Build appears to be broken.

2025-06-02 Thread Jerry D via Gcc

I am getting this tonight.

Jerry

In file included from 
/home/jerry/dev/usr/include/c++/16.0.0/x86_64-pc-linux-gnu/bits/gthr-default.h:35,
 from 
/home/jerry/dev/usr/include/c++/16.0.0/x86_64-pc-linux-gnu/bits/gthr.h:157,
 from 
/home/jerry/dev/usr/include/c++/16.0.0/ext/atomicity.h:37,
 from 
/home/jerry/dev/usr/include/c++/16.0.0/bits/shared_ptr_base.h:61,
 from 
/home/jerry/dev/usr/include/c++/16.0.0/bits/shared_ptr.h:53,

 from /home/jerry/dev/usr/include/c++/16.0.0/memory:82,
 from ../../trunk/libcody/cody.hh:24,
 from ../../trunk/libcody/internal.hh:5,
 from ../../trunk/libcody/buffer.cc:6:
/home/jerry/dev/usr/include/c++/16.0.0/ext/concurrence.h:257:32: error: 
cannot convert ‘’ to ‘unsigned int’ in 
initialization

  257 | __gthread_cond_t _M_cond = __GTHREAD_COND_INIT;
  |^~~




Re: Build appears to be broken.

2025-06-02 Thread Jonathan Wakely via Gcc
On Tue, 3 Jun 2025, 03:19 Jerry D via Gcc,  wrote:

> I am getting this tonight.
>

This is a glibc change to the definition of PTHREAD_COND_INITIALIZER. It
looks like you updated glibc. A clean build should fix it.




> Jerry
>
> In file included from
>
> /home/jerry/dev/usr/include/c++/16.0.0/x86_64-pc-linux-gnu/bits/gthr-default.h:35,
>   from
> /home/jerry/dev/usr/include/c++/16.0.0/x86_64-pc-linux-gnu/bits/gthr.h:157,
>   from
> /home/jerry/dev/usr/include/c++/16.0.0/ext/atomicity.h:37,
>   from
> /home/jerry/dev/usr/include/c++/16.0.0/bits/shared_ptr_base.h:61,
>   from
> /home/jerry/dev/usr/include/c++/16.0.0/bits/shared_ptr.h:53,
>   from /home/jerry/dev/usr/include/c++/16.0.0/memory:82,
>   from ../../trunk/libcody/cody.hh:24,
>   from ../../trunk/libcody/internal.hh:5,
>   from ../../trunk/libcody/buffer.cc:6:
> /home/jerry/dev/usr/include/c++/16.0.0/ext/concurrence.h:257:32: error:
> cannot convert ‘’ to ‘unsigned int’ in
> initialization
>257 | __gthread_cond_t _M_cond = __GTHREAD_COND_INIT;
>|^~~
>
>
>