Re: Example use of manywarnings could be updated

2021-03-07 Thread Reuben Thomas
On Sun, 7 Mar 2021 at 21:49, Paul Eggert wrote: > On 3/7/21 6:04 AM, Reuben Thomas wrote: > > I think leaving just -Wsystem-headers in the list would be fine, as it's > a > > good example where opinions differ on what's desirable, and is unlikely > to > > be added to the list of ignored warnings,

Re: Example use of manywarnings could be updated

2021-03-07 Thread Paul Eggert
On 3/7/21 6:04 AM, Reuben Thomas wrote: I think leaving just -Wsystem-headers in the list would be fine, as it's a good example where opinions differ on what's desirable, and is unlikely to be added to the list of ignored warnings, while others come and go (easier future maintenance of this examp

Example use of manywarnings could be updated

2021-03-07 Thread Reuben Thomas
The example: @smallexample gl_MANYWARN_ALL_GCC([warnings]) # Set up the list of the pointless, undesired warnings. nw= nw="$nw -Wsystem-headers" # Don't let system headers trigger warnings nw="$nw -Wundef"# All compiler preprocessors support #if UNDEF nw="$nw -Wtraditional"