redefinition of __fpending

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Aug 12 10:05:00 GMT 2013


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.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20130812/4880800b/attachment.sig>


More information about the Cygwin mailing list