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.


Reply via email to