Re: some gcc warnings

2017-05-04 Thread Paul Eggert
On 05/04/2017 03:24 PM, Bruno Haible wrote: https://dev.gnupg.org/rCf17d50bbd31b1faa24af1e46c10bba845becf585 https://dev.gnupg.org/rCdfb4673da8ee52d95e0a62c9f49ca8599943f22e But this fix is only effective for GCC. How could a compiler-independent fix look like? Why do we need a compiler-indepe

Re: some gcc warnings

2017-05-04 Thread Bruno Haible
Paul Eggert wrote on 2016-10-20: > I'll leave rijndael-api-fst.c for Simon. I'm still seeing the warnings with gcc-7.1: rijndael-api-fst.c: In function 'rijndaelBlockEncrypt': rijndael-api-fst.c:234:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasi

Re: strerror_r breakage on mingw

2017-05-04 Thread Bruno Haible
> > Fix conflict between strerror_r-posix module and AC_FUNC_STRERROR_R. > > * modules/strerror_r-posix (configure.ac): Invoke gl_MODULE_INDICATOR. > > * lib/error.c: Test GNULIB_STRERROR_R_POSIX before testing > > HAVE_DECL_STRERROR_R, HAVE_STRERROR_R, or STRERROR_R_CHAR_P. > >

Re: Typo in argp-help.c

2017-05-04 Thread Bruno Haible
Reuben Thomas wrote: > "preceeding" ā†’ "preceding" Thanks. Applied.

Re: tzset: add native Windows workaround

2017-05-04 Thread Eli Zaretskii
> From: Bruno Haible > Cc: bug-gnulib@gnu.org > Date: Tue, 02 May 2017 22:19:16 +0200 > > > Also, the test "strchr (tz, '/') != NULL" allows many Cygwin-compatible > > TZ settings that Microsoft does not document support for, e.g., > > TZ="PST8PDT,M3.2.0,M11.1.0" for Los Angeles. Admittedly mos

Re: [Emacs-diffs] master 085c7f6 2/2: Test format-time-string with zone arg

2017-05-04 Thread Eli Zaretskii
> From: "Billy O'Neal (VC LIBS)" > CC: "bug-gnulib@gnu.org" , "kbr...@cornell.edu" > , "emacs-de...@gnu.org" > Date: Wed, 3 May 2017 21:12:33 + > > Iā€™m not an expert at all in this area. I did run a few queries against Win > sources though. Thanks for your input, much appreciated.

Typo in argp-help.c

2017-05-04 Thread Reuben Thomas
"preceeding" ā†’ "preceding" Found while grepping a code base that uses gnulib for that particular error, which I found in a test file! -- http://rrt.sc3d.org