[Top][All Lists]

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

Re: [PATCH] Fix M4 build on DragonFly BSD

From: Eric Blake
Subject: Re: [PATCH] Fix M4 build on DragonFly BSD
Date: Tue, 05 Nov 2013 10:02:29 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

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.

Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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