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

Bug#759249: freebsd-libs: FTBFS - conflicting types for 'funopen'



reassign 759249 libbsd-dev, src:freebsd-glue
found 759249 libbsd/0.7.0
affects 759249 src:freebsd-glue
affects 759249 src:freebsd-libs
affects 759249 src:kfreebsd-10
thanks

Hi Guillem,

libbsd/0.7.0 caused this regression building freebsd-libs and possibly
kfreebsd-10 as well.  Could you give some advice please?

Should we drop funopen etc. from freebsd-glue's stdio.h now that libbsd
provides them?  Or would that create other issues?  Thanks.

On 16:50, Michael Tautschnig wrote:
> [...]
> /usr/include/freebsd/stdio.h:16:7: error: conflicting types for 'funopen'
>  FILE *funopen (const void *cookie, int (*readfn)(void *, char *, int),
>        ^
> In file included from /usr/include/freebsd/stdio.h:6:0,
>                  from /srv/jenkins-slave/workspace/sid-goto-cc-freebsd-libs/freebsd-libs-10.0/lib/libsbuf/../../sys/kern/subr_sbuf.c:46:
> /usr/include/bsd/stdio.h:57:7: note: previous declaration of 'funopen' was here
>  FILE *funopen(const void *cookie,
>        ^

Regards,
-- 
Steven Chamberlain
steven@pyro.eu.org


Reply to: