tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Fixing configure failures from newer gcc



On Sun, 19 Oct 2025 at 14:36, Greg A. Woods <woods%planix.ca@localhost> wrote:

> So, I don't believe it is _ever_ worthwhile for pkgsrc to suppress
> compiler warnings.

And when they are accompanied by -Werror?

To be specific.  GCC compilers were overly zealous when it came to
structure initializers.  For instance, rejecting:
   my_struct = {0}; // blame microsoft?
Is stripping -Werror, or adding -Wno-struct-initializers, the less
evil of the two choices?  Complaining upstream is likely to be met
with an eye role :-)


Home | Main Index | Thread Index | Old Index