Re: warnings from gzip and diffutils

2024-12-18 Thread Bruno Haible via Gnulib discussion list
Simon Josefsson wrote: > As far as I can tell, all of those lines could all be replaced into > something like this: > > gl_MEGAWARNINGS([-fanalyzer -Wbad-function-cast ... # unwantedflags], > [-Wno-error=analyzer-use-of-uninitialized-value ... # error > flags]) Unfortunately, thi

Re: warnings from gzip and diffutils

2024-12-18 Thread Simon Josefsson via Gnulib discussion list
Bruno Haible via Gnulib discussion list writes: > Paul Eggert wrote: >> On 2024-12-17 17:21, Bruno Haible via Gnulib discussion list wrote: >> > Therefore, how about applying -Werror only to a subset of all >> > warnings, hand-picked by the maintainer? >> >> We already tailor warnings from Gnuli

Re: warnings from gzip and diffutils

2024-12-18 Thread Bruno Haible via Gnulib discussion list
Paul Eggert wrote: > On 2024-12-17 17:21, Bruno Haible via Gnulib discussion list wrote: > > Therefore, how about applying -Werror only to a subset of all > > warnings, hand-picked by the maintainer? > > We already tailor warnings from Gnulib as opposed to warnings from the > main program Oh I s

Re: warnings from gzip and diffutils

2024-12-18 Thread Paul Eggert
On 2024-12-17 17:21, Bruno Haible via Gnulib discussion list wrote: Therefore, how about applying -Werror only to a subset of all warnings, hand-picked by the maintainer? We already tailor warnings from Gnulib as opposed to warnings from the main program, so we could do that for this particula

Re: warnings from gzip and diffutils

2024-12-17 Thread Bruno Haible via Gnulib discussion list
Jim Meyering wrote: > Thank you for fixing those things for both gzip and diffutils! It is at the limit of what kind of constraints packages may impose on gnulib. If other kinds of warnings appear, which don't lead to code improvements in gnulib, I'll kindly ask the maintainer of such packages to