Re: Ruby SWIG bindings fail to build with upcoming GCC-15 release

2025-04-05 Thread James McCoy
On Thu, Apr 03, 2025 at 11:10:29AM +0900, Jun Omae wrote: Hi, On 2025/04/03 10:27, James McCoy wrote: As noted in the [porting docs], GCC-15 uses c23 (well, gnu23) by default. This causes -Wincompatible-pointer-types errors to occur when building the Ruby SWIG bindings due to the rb_ensure, rb_

Re: Ruby SWIG bindings fail to build with upcoming GCC-15 release

2025-04-05 Thread Jun Omae
Hi, On 2025/04/03 10:27, James McCoy wrote: > As noted in the [porting docs], GCC-15 uses c23 (well, gnu23) by > default. This causes -Wincompatible-pointer-types errors to occur when > building the Ruby SWIG bindings due to the rb_ensure, rb_iterate, and > rb_rescue2 callbacks. > > [porting docs

Re: Ruby SWIG bindings fail to build with upcoming GCC-15 release

2025-04-04 Thread Jun Omae
On 2025/04/03 20:23, Nathan Hartman wrote: > On Wed, Apr 2, 2025 at 10:53 PM James McCoy wrote: > > On Thu, Apr 03, 2025 at 11:10:29AM +0900, Jun Omae wrote: > >Hi, > > > >On 2025/04/03 10:27, James McCoy wrote: > >> As noted in the [porting docs], GCC-15 uses c23 (well, gnu23)

Re: Ruby SWIG bindings fail to build with upcoming GCC-15 release

2025-04-04 Thread Jun Omae
On 2025/04/03 11:52, James McCoy wrote: > On Thu, Apr 03, 2025 at 11:10:29AM +0900, Jun Omae wrote: >> Hi, >> >> On 2025/04/03 10:27, James McCoy wrote: >>> As noted in the [porting docs], GCC-15 uses c23 (well, gnu23) by >>> default. This causes -Wincompatible-pointer-types errors to occur when >>

Re: Ruby SWIG bindings fail to build with upcoming GCC-15 release

2025-04-03 Thread Nathan Hartman
On Wed, Apr 2, 2025 at 10:53 PM James McCoy wrote: > On Thu, Apr 03, 2025 at 11:10:29AM +0900, Jun Omae wrote: > >Hi, > > > >On 2025/04/03 10:27, James McCoy wrote: > >> As noted in the [porting docs], GCC-15 uses c23 (well, gnu23) by > >> default. This causes -Wincompatible-pointer-types errors

Ruby SWIG bindings fail to build with upcoming GCC-15 release

2025-04-02 Thread James McCoy
As noted in the [porting docs], GCC-15 uses c23 (well, gnu23) by default. This causes -Wincompatible-pointer-types errors to occur when building the Ruby SWIG bindings due to the rb_ensure, rb_iterate, and rb_rescue2 callbacks. [porting docs]: https://gcc.gnu.org/gcc-15/porting_to.html This can