bug-m4
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Fix M4 build on DragonFly BSD


From: GW
Subject: Re: [PATCH] Fix M4 build on DragonFly BSD
Date: Tue, 05 Nov 2013 18:04:46 +0100
User-agent: KMail/4.11.2 (Linux/3.11.6-1-ARCH; KDE/4.11.2; x86_64; ; )

On Tuesday 05 November 2013 10.02:29 Eric Blake wrote:
> On 11/05/2013 09:53 AM, GW wrote:
> > On Tuesday 05 November 2013 09.48:44 Eric Blake wrote:
> >> On 11/05/2013 09:43 AM, GW wrote:
> >>> In file included from close-stream.c:25:0:
> >>> fpending.h:28:8: error: conflicting types for '__fpending'
> >>> In file included from ./stdio.h:43:0,
> >>> 
> >>>                  from close-stream.h:1,
> >>> 
> >>>                  from close-stream.c:20:
> >>> /usr/include/stdio.h:354:11: note: previous declaration of '__fpending'
> >>> was here *** Error code 1
> >> 
> >> Can you also show the relevant portion of your /usr/include/stdio.h
> >> (around line 354)?
> > 
> > Sure. __fpending is declared as such in /usr/include/stdio.h:
> > __ssize_t __fpending(const FILE *);
> 
> Thanks.  Both the return type (ssize_t vs. size_t) and the argument
> (FILE* vs. const FILE*) differ, but not in any way that should harm our
> usage of the internal function.  Sounds like I merely need to add a
> configure-time test for whether __fpending is declared, rather than just
> going off of whether it is #define'd.  Give me a bit of time, and I
> should have a patch.
Great. Thanks a lot Eric.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]