This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: redefinition of __fpending
- From: LRN <lrn1986 at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 12 Aug 2013 15:26:24 +0400
- Subject: Re: redefinition of __fpending
- References: <E4C62E40-CEF3-400D-B41D-FF3C3BCA9021 at Denis-Excoffier dot org> <20130812100541 dot GA2691 at calimero dot vinschen dot de>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12.08.2013 14:05, Corinna Vinschen wrote:
> On Aug 11 09:20, Denis Excoffier wrote:
>> Hello,
>>
>> I don't really know what is going on, but the new (since 1.7.23) __fpending() declaration
>> in /usr/include/stdio_def.h (line 47) seems to prevent the following to compile (redefinition
>> of __fpending, i'm using GCC-4.8.1):
>> - m4-1.4.16
>> - grep-2.14
>> - findutils-4.5.11
>>
>> These packages use fpending.c from gnulib.
>
> Big sigh.
>
> The gnulib-related configure test checks for the declaration of
> __fpending, but the build environment still tries to compile gnulib's
> fpending.c. But __fpending is defined as inline function in stdio_ext.h
> so the definition in fpending.c clashes with the one in stdio_ext.h.
>
> That's a bug in the gnulib build environment. The definition of
> __fpending should be skipped if HAVE_DECL___FPENDING is 1.
>
> The problem is that this doesn't really help us a lot since all
> packages with integrated gnulib are affected.
>
> I'm not sure how to fix this yet.
This is fixed in upstream gnulib.
Obviously, that doesn't really help you much - you still need to either
patch packages, or update their copies of gnulib.
- --
O< ascii ribbon - stop html email! - www.asciiribbon.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
iQEcBAEBAgAGBQJSCMZeAAoJEOs4Jb6SI2CwnAkIANvlrNJsGl49P6v/u+MFpRi+
3Q5WiGpMbJXdS5PlWwei5WjI43ctdYudO/alPkiKOI/A74wnVt/rzSspdGtIZxcD
x4UMfGxfkLurAmxHoPBGaGH/TuqdpI3U+XtO8+JNbVT9eXT1+1K4XlxZwl+1F4K1
hTKOsMq+T0Tkxl7K3CM3wdEB1yBXdCimt2eg4wN/dMLSM+YsjisNuGZIOE0Af2YN
mg7y+no9tHt5jLnxXVapBWj+ddzGT5wt33yq/iGYCdgFtNiGRwa/S7JVPB2n/xVz
RMsWFJn6w3KE6rKdkNjM+/KyjYkRgMmswQ0METFeYQ+tmPwxFVPuRZ4aOGpuc1s=
=2BKV
-----END PGP SIGNATURE-----
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple