curl/lib
Viktor Szakats 3efc53f5e9
build: silence mingw32ce C99 format warnings, simplify CI
`./configure` mingw32ce builds enable C99 mode automatically, that
triggers compiler warnings in gcc 4.4.0. We initially worked it around
in CI by suppressing the detection of C99 with `ac_cv_prog_cc_c99=no`.

Replace it with automatically silencing the bogus warnings in C99 mode,
for all build systems:
```
lib/ftp.c: In function 'Curl_GetFTPResponse':
lib/ftp.c:726: error: format '%zd' expects type 'signed size_t', but argument 4 has type 'ssize_t'
lib/ws.c: In function 'ws_dec_pass_payload':
lib/ws.c:304: error: format '%zd' expects type 'signed size_t', but argument 3 has type 'ssize_t'
lib/ws.c: In function 'ws_enc_write_head':
lib/ws.c:581: error: format '%zd' expects type 'signed size_t', but argument 3 has type 'long int'
lib/vtls/schannel.c: In function 'schannel_connect_step1':
lib/vtls/schannel.c:1122: error: format '%zd' expects type 'signed size_t', but argument 3 has type 'ssize_t'
lib/vtls/schannel.c: In function 'schannel_connect_step2':
lib/vtls/schannel.c:1311: error: format '%zd' expects type 'signed size_t', but argument 3 has type 'ssize_t'
lib/vtls/schannel.c: In function 'schannel_send':
lib/vtls/schannel.c:1793: error: format '%zd' expects type 'signed size_t', but argument 3 has type 'ssize_t'
lib/vtls/schannel.c:1810: error: format '%zd' expects type 'signed size_t', but argument 3 has type 'ssize_t'
lib/vtls/schannel.c: In function 'schannel_shutdown':
lib/vtls/schannel.c:2286: error: format '%zd' expects type 'signed size_t', but argument 4 has type 'ssize_t'
lib/vtls/vtls.c: In function 'ssl_cf_recv':
lib/vtls/vtls.c:1422: error: format '%zd' expects type 'signed size_t', but argument 5 has type 'ssize_t'
```
Ref: https://github.com/curl/curl/actions/runs/13533841306/job/37821720902?pr=16492#step:9:20

Also: simplify Windows CE job configuration in GHA/windows.

Follow-up to 2a292c3984 #15975
Closes #16492
2025-02-26 12:35:03 +01:00
..
vauth lib: use Curl_str_* instead of strtok_r() 2025-02-17 13:18:28 +01:00
vquic wolfssl: tls early data support 2025-02-24 10:01:51 +01:00
vssh ssh: consider sftp quote commands case sensitive 2025-02-19 07:52:11 +01:00
vtls wolfssl: warn if CA native import option is ignored 2025-02-26 03:05:36 -05:00
.checksrc lib: use Curl_str_* instead of strtok_r() 2025-02-17 13:18:28 +01:00
.gitignore
altsvc.c altsvc: rewrite parser using strparse 2025-02-26 08:36:08 +01:00
altsvc.h
amigaos.c
amigaos.h
arpa_telnet.h
asyn-ares.c multi: event based rework 2025-02-22 14:47:40 +01:00
asyn-thread.c multi: event based rework 2025-02-22 14:47:40 +01:00
asyn.h multi: event based rework 2025-02-22 14:47:40 +01:00
base64.c
bufq.c
bufq.h
bufref.c
bufref.h
cf-h1-proxy.c cfilter: remove 'blocking' connect handling 2025-02-20 11:13:51 +01:00
cf-h1-proxy.h
cf-h2-proxy.c cfilter: remove 'blocking' connect handling 2025-02-20 11:13:51 +01:00
cf-h2-proxy.h
cf-haproxy.c cfilter: remove 'blocking' connect handling 2025-02-20 11:13:51 +01:00
cf-haproxy.h
cf-https-connect.c http: negotiation and room for alt-svc/https rr to navigate 2025-02-20 15:45:46 +01:00
cf-https-connect.h
cf-socket.c multi: event based rework 2025-02-22 14:47:40 +01:00
cf-socket.h
cfilters.c multi: event based rework 2025-02-22 14:47:40 +01:00
cfilters.h multi: event based rework 2025-02-22 14:47:40 +01:00
CMakeLists.txt cmake: SHARE_LIB_OBJECT=ON requires CMake 3.12 or newer 2025-02-18 15:05:39 +01:00
config-mac.h
config-os400.h lib: use Curl_str_* instead of strtok_r() 2025-02-17 13:18:28 +01:00
config-plan9.h lib: use Curl_str_* instead of strtok_r() 2025-02-17 13:18:28 +01:00
config-riscos.h lib: use Curl_str_* instead of strtok_r() 2025-02-17 13:18:28 +01:00
config-win32.h build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
conncache.c multi: event based rework 2025-02-22 14:47:40 +01:00
conncache.h multi: event based rework 2025-02-22 14:47:40 +01:00
connect.c build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
connect.h
content_encoding.c
content_encoding.h
cookie.c cookie: do prefix matching case-sensitively 2025-02-26 08:33:49 +01:00
cookie.h
curl_addrinfo.c
curl_addrinfo.h
curl_base64.h
curl_config.h.cmake lib: use Curl_str_* instead of strtok_r() 2025-02-17 13:18:28 +01:00
curl_ctype.h
curl_des.c
curl_des.h
curl_endian.c
curl_endian.h
curl_fnmatch.c
curl_fnmatch.h
curl_get_line.c
curl_get_line.h
curl_gethostname.c
curl_gethostname.h
curl_gssapi.c
curl_gssapi.h
curl_hmac.h
curl_krb5.h
curl_ldap.h
curl_md4.h
curl_md5.h
curl_memory.h
curl_memrchr.c
curl_memrchr.h
curl_multibyte.c build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
curl_multibyte.h
curl_ntlm_core.c openssl: drop support for old OpenSSL/LibreSSL versions 2025-02-21 12:02:35 +01:00
curl_ntlm_core.h
curl_printf.h
curl_range.c
curl_range.h
curl_rtmp.c
curl_rtmp.h
curl_sasl.c lib: use Curl_str_* instead of strtok_r() 2025-02-17 13:18:28 +01:00
curl_sasl.h
curl_setup_once.h build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
curl_setup.h build: silence mingw32ce C99 format warnings, simplify CI 2025-02-26 12:35:03 +01:00
curl_sha256.h
curl_sha512_256.c
curl_sha512_256.h
curl_sspi.c build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
curl_sspi.h build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
curl_threads.c build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
curl_threads.h build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
curl_trc.c multi: event based rework 2025-02-22 14:47:40 +01:00
curl_trc.h curl_trc: fix build with CURL_DISABLE_VERBOSE_STRINGS 2025-02-24 23:14:54 +01:00
curlx.h
cw-out.c client writer: handle pause before deocding 2025-02-20 15:53:18 +01:00
cw-out.h
cw-pause.c client writer: handle pause before deocding 2025-02-20 15:53:18 +01:00
cw-pause.h client writer: handle pause before deocding 2025-02-20 15:53:18 +01:00
dict.c
dict.h
dllmain.c
doh.c https-rr: implementation improvements 2025-02-18 16:12:26 +01:00
doh.h https-rr: implementation improvements 2025-02-18 16:12:26 +01:00
dynbuf.c
dynbuf.h
dynhds.c
dynhds.h
easy_lock.h
easy.c multi: event based rework 2025-02-22 14:47:40 +01:00
easygetopt.c
easyif.h
easyoptions.c
easyoptions.h
escape.c
escape.h
file.c build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
file.h
fileinfo.c
fileinfo.h
fopen.c build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
fopen.h
formdata.c
formdata.h
ftp.c build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
ftp.h
ftplistparser.c
ftplistparser.h
functypes.h
getenv.c build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
getinfo.c
getinfo.h
gopher.c
gopher.h
hash.c hash: use single linked list for entries 2025-02-17 14:23:23 +01:00
hash.h hash: use single linked list for entries 2025-02-17 14:23:23 +01:00
headers.c lib: simplify more white space loops 2025-02-17 13:17:18 +01:00
headers.h
hmac.c
hostasyn.c
hostip4.c
hostip6.c
hostip.c build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
hostip.h
hostsyn.c
hsts.c strparse: provide access functions 2025-02-19 12:17:32 +01:00
hsts.h
http1.c
http1.h
http2.c client writer: handle pause before deocding 2025-02-20 15:53:18 +01:00
http2.h
http_aws_sigv4.c strparse: provide access functions 2025-02-19 12:17:32 +01:00
http_aws_sigv4.h
http_chunks.c
http_chunks.h
http_digest.c lib: simplify more white space loops 2025-02-17 13:17:18 +01:00
http_digest.h
http_negotiate.c lib: simplify more white space loops 2025-02-17 13:17:18 +01:00
http_negotiate.h
http_ntlm.c lib: simplify more white space loops 2025-02-17 13:17:18 +01:00
http_ntlm.h
http_proxy.c cfilter: remove 'blocking' connect handling 2025-02-20 11:13:51 +01:00
http_proxy.h
http.c http: convert parsers to strparse 2025-02-24 10:02:40 +01:00
http.h http: split Curl_http_input_auth into sub functions 2025-02-21 14:46:55 +01:00
httpsrr.c httpsrr: fix the HTTPS-RR threaded-resolver build combo 2025-02-20 09:40:53 +01:00
httpsrr.h https-rr: implementation improvements 2025-02-18 16:12:26 +01:00
idn.c
idn.h
if2ip.c
if2ip.h
imap.c conn: fix connection reuse when SSL is optional 2025-02-20 16:23:35 +01:00
imap.h
inet_ntop.c build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
inet_ntop.h
inet_pton.c build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
inet_pton.h
krb5.c
ldap.c lib: use Curl_str_* instead of strtok_r() 2025-02-17 13:18:28 +01:00
libcurl.def
libcurl.rc
libcurl.vers.in
llist.c
llist.h
macos.c
macos.h
Makefile.am GHA/linux: build out-of-tree, make autotools tidy target support it 2025-02-26 12:35:03 +01:00
Makefile.inc multi: event based rework 2025-02-22 14:47:40 +01:00
Makefile.soname
md4.c
md5.c
memdebug.c build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
memdebug.h
mime.c tidy-up: use CURL_ARRAYSIZE() 2025-02-19 00:59:45 +01:00
mime.h
mprintf.c build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
mqtt.c
mqtt.h
multi_ev.c multi: event based rework 2025-02-22 14:47:40 +01:00
multi_ev.h multi: event based rework 2025-02-22 14:47:40 +01:00
multi.c multi: event based rework 2025-02-22 14:47:40 +01:00
multihandle.h multi: event based rework 2025-02-22 14:47:40 +01:00
multiif.h multi: event based rework 2025-02-22 14:47:40 +01:00
netrc.c
netrc.h
nonblock.c
nonblock.h
noproxy.c lib: simplify more white space loops 2025-02-17 13:17:18 +01:00
noproxy.h
openldap.c conn: fix connection reuse when SSL is optional 2025-02-20 16:23:35 +01:00
optiontable.pl
parsedate.c tidy-up: use CURL_ARRAYSIZE() 2025-02-19 00:59:45 +01:00
parsedate.h
pingpong.c
pingpong.h
pop3.c conn: fix connection reuse when SSL is optional 2025-02-20 16:23:35 +01:00
pop3.h
progress.c
progress.h
psl.c
psl.h
rand.c
rand.h
rename.c build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
rename.h
request.c strparse: speed up the hex parser somewhat 2025-02-19 07:49:06 +01:00
request.h
rtsp.c lib: simplify more white space loops 2025-02-17 13:17:18 +01:00
rtsp.h
select.c cfilter: remove 'blocking' connect handling 2025-02-20 11:13:51 +01:00
select.h cfilter: remove 'blocking' connect handling 2025-02-20 11:13:51 +01:00
sendf.c client writer: handle pause before deocding 2025-02-20 15:53:18 +01:00
sendf.h client writer: handle pause before deocding 2025-02-20 15:53:18 +01:00
setopt.c curl.h: change some enums to defines with L suffix 2025-02-26 07:58:15 +01:00
setopt.h
setup-os400.h
setup-vms.h openssl: drop support for old OpenSSL/LibreSSL versions 2025-02-21 12:02:35 +01:00
setup-win32.h windows: drop code and curl manifest targeting W2K and older 2025-02-24 21:00:31 +01:00
sha256.c openssl: drop support for old OpenSSL/LibreSSL versions 2025-02-21 12:02:35 +01:00
share.c
share.h
sigpipe.h
slist.c
slist.h
smb.c
smb.h
smtp.c conn: fix connection reuse when SSL is optional 2025-02-20 16:23:35 +01:00
smtp.h
sockaddr.h
socketpair.c build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
socketpair.h eventfd: allow for all CPUs 2025-02-21 12:07:24 +01:00
socks_gssapi.c
socks_sspi.c
socks.c cfilter: remove 'blocking' connect handling 2025-02-20 11:13:51 +01:00
socks.h
speedcheck.c
speedcheck.h
splay.c
splay.h
strcase.c
strcase.h
strdup.c http: convert parsers to strparse 2025-02-24 10:02:40 +01:00
strdup.h
strequal.c
strerror.c build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
strerror.h build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
strparse.c altsvc: rewrite parser using strparse 2025-02-26 08:36:08 +01:00
strparse.h altsvc: rewrite parser using strparse 2025-02-26 08:36:08 +01:00
strtoofft.c lib: simplify more white space loops 2025-02-17 13:17:18 +01:00
strtoofft.h
system_win32.c build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
system_win32.h
telnet.c
telnet.h
tftp.c
tftp.h
timediff.c timediff: remove unnecessary double typecast 2025-02-17 16:10:34 +01:00
timediff.h
timeval.c
timeval.h
transfer.c build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
transfer.h client writer: handle pause before deocding 2025-02-20 15:53:18 +01:00
url.c conn: fix connection reuse when SSL is optional 2025-02-20 16:23:35 +01:00
url.h
urlapi-int.h
urlapi.c build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
urldata.h urldata: move the ech struct field to the "right place" 2025-02-26 08:18:35 +01:00
version_win32.c windows: drop code and curl manifest targeting W2K and older 2025-02-24 21:00:31 +01:00
version_win32.h
version.c
warnless.c
warnless.h
ws.c http: negotiation and room for alt-svc/https rr to navigate 2025-02-20 15:45:46 +01:00
ws.h