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

Re: [libvirt] Libvirt / GNULIB failures using Mingw64 toolchain



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


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