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 12 15:26, LRN wrote:
> -----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.

Oh, good to know.

> Obviously, that doesn't really help you much - you still need to either
> patch packages, or update their copies of gnulib.

That's right.  In theory, patching this tiny problem in the packages
shouldn't be too terrible for the time being.  I hope...


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgpjf_8XxZXhl.pgp
Description: PGP signature


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