Re: libgo: fix for C23 nullptr keyword

2024-10-18 Thread Ian Lance Taylor
On Thu, Oct 17, 2024 at 1:19 PM Joseph Myers wrote: > > Making GCC default to -std=gnu23 for C code produces Go test failures > because of C code used by Go that uses a variable called nullptr, which is > a keyword in C23. > > I've submitted this fix upstream at > https://github.com/golang/go/pull

libgo: fix for C23 nullptr keyword

2024-10-17 Thread Joseph Myers
Making GCC default to -std=gnu23 for C code produces Go test failures because of C code used by Go that uses a variable called nullptr, which is a keyword in C23. I've submitted this fix upstream at https://github.com/golang/go/pull/69927 using the GitHub mirror workflow. Ian, once some form