Re: avoid two GCC11 warnings

2020-11-26 Thread Bruno Haible
Hi Jim, > Here's a first crack at the list of modules with a use of _exit, yet > no dependency on unistd: Oh, indeed. Yes, a few of them do need the dependency as well. Thanks. 2020-11-26 Bruno Haible Fix dependencies of modules that use '_exit' on native Windows. Reported b

Re: avoid two GCC11 warnings

2020-11-26 Thread Jim Meyering
On Thu, Nov 26, 2020 at 6:11 AM Bruno Haible wrote: > > Building grep with GCC11, I noticed some new warnings. > > Fixed with the just-pushed attached patches. > > Thanks. It's interesting to see GCC's inference capabilities to grow. > > But the second patch causes a compilation error on MSVC: > >

Re: avoid two GCC11 warnings

2020-11-26 Thread Bruno Haible
Hi Jim, > Building grep with GCC11, I noticed some new warnings. > Fixed with the just-pushed attached patches. Thanks. It's interesting to see GCC's inference capabilities to grow. But the second patch causes a compilation error on MSVC: test-raise.c(20): fatal error C1083: Cannot open include

avoid two GCC11 warnings

2020-11-25 Thread Jim Meyering
Building grep with GCC11, I noticed some new warnings. Fixed with the just-pushed attached patches. 0002-setlocale-tests-do-not-trigger-gcc-s-Wanalyzer-possi.patch Description: Binary data 0001-raise-tests-avoid-GCC-11-s-new-exit-from-signal-hand.patch Description: Binary data