This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: redefinition of __fpending


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

Attachment: pgpKb4YZysOQh.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]