Re: [PATCH] strftime: don't use __THROW

2016-11-15 Thread Paul Eggert
On 11/15/2016 08:07 AM, Bruno Haible wrote: I don't understand why you see this warning but the glibc developers haven't noticed it yet?? I was puzzled about that too. For what it's worth, those __THROWs were introduced to glibc in 2004 by Ulrich Drepper, here: https://sourceware.org/git/?p

Re: [PATCH] strftime: don't use __THROW

2016-11-15 Thread Bruno Haible
Hi Jim, > I've just pushed the attached, to avoid new warnings when attempting > to build coreutils with the latest from gnulib: > + strftime: don't use __THROW > + Each use of __THROW would provoke this from gcc-7-to-be: > + > + lib/strftime.c:371:1: warning: '__leaf__' attribute ha