List Archive
Thread
-
MinGW-w64 build failure with 1.3.1 and 1.3.2,
Benjamin Gilbert
(2017/11/20 11:53:35)
-
Re: MinGW-w64 build failure with 1.3.1 and 1.3.2,
Thomas Klausner
(2017/11/20 12:07:03)
-
Re: MinGW-w64 build failure with 1.3.1 and 1.3.2,
Benjamin Gilbert
(2017/11/20 12:11:32)
- Re: MinGW-w64 build failure with 1.3.1 and 1.3.2, Thomas Klausner (2017/11/20 12:16:59)
-
Re: MinGW-w64 build failure with 1.3.1 and 1.3.2,
Benjamin Gilbert
(2017/11/20 12:11:32)
-
Re: MinGW-w64 build failure with 1.3.1 and 1.3.2,
Thomas Klausner
(2017/11/20 12:07:03)
Message
Hi,
libzip 1.3.1 and 1.3.2 fail to build with MinGW-w64:
nonrandomopentest.c: In function 'main':
nonrandomopentest.c:51:39: error: macro "open" requires 3 arguments, but only 2 given
fd = open("/dev/urandom", O_RDONLY);
^
nonrandomopentest.c:51:8: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
fd = open("/dev/urandom", O_RDONLY);
^
make[2]: *** [Makefile:947: nonrandomopentest.o] Error 1
nonrandomopentest.c:51:39: error: macro "open" requires 3 arguments, but only 2 given
fd = open("/dev/urandom", O_RDONLY);
^
nonrandomopentest.c:51:8: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
fd = open("/dev/urandom", O_RDONLY);
^
make[2]: *** [Makefile:947: nonrandomopentest.o] Error 1
--Benjamin Gilbert
Made by MHonArc.