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

[PATCH] strftime: don't use __THROW

2016-11-14 Thread Jim Meyering
I've just pushed the attached, to avoid new warnings when attempting to build coreutils with the latest from gnulib: From c3b131294aa42b7997cc9b9a0bbb2934aa27fd6c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 13 Nov 2016 18:15:36 -0800 Subject: [PATCH] strftime: don't use __T