bug-gnulib
[Top][All Lists]
Advanced

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

Re: Libvirt / GNULIB failures using Mingw64 toolchain


From: Bruno Haible
Subject: Re: Libvirt / GNULIB failures using Mingw64 toolchain
Date: Sun, 17 Jun 2012 16:28:02 +0200
User-agent: KMail/4.7.4 (Linux/3.1.10-1.9-desktop; KDE/4.7.4; x86_64; ; )

Hello Daniel,

>   CC     fstat.lo
> ../../../gnulib/lib/fstat.c:27:0: warning: "stat" redefined [enabled by 
> default]
> In file included from ./sys/stat.h:32:0,
>                  from ../../../gnulib/lib/fstat.c:25:
> /usr/x86_64-w64-mingw32/sys-root/mingw/include/sys/stat.h:258:0: note: this 
> is the location of the previous definition
> ../../../gnulib/lib/fstat.c:28:0: warning: "fstat" redefined [enabled by 
> default]
> In file included from ./sys/stat.h:32:0,
>                  from ../../../gnulib/lib/fstat.c:25:
> /usr/x86_64-w64-mingw32/sys-root/mingw/include/sys/stat.h:259:0: note: this 
> is the location of the previous definition

In the copy of mingw64 that I have, <sys/stat.h> does not have a
"#define stat ..." or "#define fstat ...". Can you please point us,
where to find the <sys/stat.h> that you are using?

>   CC     stdio-read.lo
> ../../../gnulib/lib/stdio-read.c:102:1: error: redefinition of 'vscanf'
> In file included from ./stdio.h:43:0,
>                  from ../../../gnulib/lib/stdio-read.c:21:
> /usr/x86_64-w64-mingw32/sys-root/mingw/include/stdio.h:397:7: note: previous 
> definition of 'vscanf' was here

Likewise for <stdio.h>. The mingw64 <stdio.h> that I have contains a
declaration, not a definition, of vscanf. Yours must be different. Can
you please show it?

Bruno




reply via email to

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