From: brian m. carlson Date: Sun, 17 Nov 2024 16:03:31 GMT Subject: Re: -Wunterminated-string-initialization warning with GCC 15 in object-file.c Message-ID: In-Reply-To: <20241117090329.GA2341486@coredump.intra.peff.net> On 2024-11-17 at 09:03:29, Jeff King wrote: > Here are some patches. The first one should fix the warning (but I don't > have gcc-15 handy to test!). Please let me know if it works for you (and > thank you for reporting). Just so you know, since I believe you also use Debian unstable, you can install the gcc-snapshot package (which is, admittedly, rather large) and use `CC=/usr/lib/gcc-snapshot/bin/gcc`. > The others are cleanups and future-proofing I found in the same area. > Not strictly required, but IMHO worth doing. > > +cc brian since I think this is a continuation of some hash-algo > cleanups he did earlier, plus he piped up in the other gcc-15 thread. ;) Other than the issue that René noticed, this seems reasonable to me. -- brian m. carlson (they/them or he/him) Toronto, Ontario, CA