[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] Wget 1.17 doesn't compile on Windows (hsts.c)
From: |
Jernej Simončič |
Subject: |
[Bug-wget] Wget 1.17 doesn't compile on Windows (hsts.c) |
Date: |
Mon, 16 Nov 2015 14:53:11 +0100 |
Looks like hsts.c tries to use flock with a parameter that doesn't
work on Windows:
x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H
-DSYSTEM_WGETRC=\"/win32dev/misc/wget/out64/etc/wgetrc\"
-DLOCALEDIR=\"/win32dev/misc/wget/out64/share/locale\" -I. -I../lib -I../lib
-I/win32dev/misc/wget/out64/include -I/win32dev/misc/wget/out64/include
-DHAVE_LIBSSL -DNDEBUG -MT hsts.o -MD -MP -MF .deps/hsts.Tpo -c -o hsts.o
hsts.c
hsts.c: In function 'hsts_store_dump':
hsts.c:329:20: warning: format '%lu' expects argument of type 'long unsigned
int', but argument 6 has type 'time_t' [-Wformat=]
khi->created, khi->max_age) < 0)
^
hsts.c:329:20: warning: format '%lu' expects argument of type 'long unsigned
int', but argument 7 has type 'time_t' [-Wformat=]
hsts.c: In function 'hsts_store_save':
hsts.c:505:22: error: 'LOCK_EX' undeclared (first use in this function)
flock (fd, LOCK_EX);
^
hsts.c:505:22: note: each undeclared identifier is reported only once for each
function it appears in
--
< Jernej Simončič ><><><><><><><><><><><>< http://eternallybored.org/ >
Because 10 billion years' time is so fragile, so ephemeral...
it arouses such a bittersweet, almost heartbreaking fondness.
- [Bug-wget] Wget 1.17 doesn't compile on Windows (hsts.c),
Jernej Simončič <=
- Re: [Bug-wget] Wget 1.17 doesn't compile on Windows (hsts.c), Dagobert Michelsen, 2015/11/16
- Re: [Bug-wget] Wget 1.17 doesn't compile on Windows (hsts.c), Tim Ruehsen, 2015/11/17
- Re: [Bug-wget] Wget 1.17 doesn't compile on Windows (hsts.c), Dagobert Michelsen, 2015/11/17
- Re: [Bug-wget] Wget 1.17 doesn't compile on Windows (hsts.c), Tim Ruehsen, 2015/11/17
- Re: [Bug-wget] Wget 1.17 doesn't compile on Windows (hsts.c), Dagobert Michelsen, 2015/11/17
- Re: [Bug-wget] Wget 1.17 doesn't compile on Windows (hsts.c), Tim Ruehsen, 2015/11/17
- Re: [Bug-wget] Wget 1.17 doesn't compile on Windows (hsts.c), Dagobert Michelsen, 2015/11/17
- Re: [Bug-wget] Wget 1.17 doesn't compile on Windows (hsts.c), Darshit Shah, 2015/11/17
- Re: [Bug-wget] Wget 1.17 doesn't compile on Windows (hsts.c), Tim Ruehsen, 2015/11/17
- Re: [Bug-wget] Wget 1.17 doesn't compile on Windows (hsts.c), Tim Rühsen, 2015/11/17