Viktor Szakats
36fe10c494
optiontable.pl: enable warnings, fix some
2025-07-27 22:23:16 +02:00
Viktor Szakats
d824ca1b2f
version-check.pl: enable warnings, fix one
2025-07-27 22:23:16 +02:00
Viktor Szakats
ffc825c197
adddocsref.pl: enable warnings, fix one
2025-07-27 22:23:16 +02:00
Viktor Szakats
f5bd582e79
symbols.pl: enable warnings, fix them
2025-07-27 22:23:16 +02:00
Viktor Szakats
35eaab5ced
mksymbolsmanpage.pl: enable warnings, fix one
2025-07-27 22:23:16 +02:00
Viktor Szakats
78b0ee0d84
release-notes.pl: enable warnings, fix them
2025-07-27 22:23:15 +02:00
Viktor Szakats
fbca901d39
singleuse.pl: enable warnings, fix them
2025-07-27 22:23:15 +02:00
Viktor Szakats
f47c18a1dc
randdisable: enable warnings, fix one
2025-07-27 22:23:15 +02:00
Viktor Szakats
7b20671570
nroff2cd: enable warnings, fix them
2025-07-27 22:23:15 +02:00
Viktor Szakats
9a5c861b41
mdlinkcheck: enable warnings, fix them
...
fix a typo that made this error never detected:
```
%s ERROR links to missing URL %s
```
2025-07-27 22:23:15 +02:00
Viktor Szakats
1899e27e21
managen: enable warnings, fix most
2025-07-27 22:23:15 +02:00
Viktor Szakats
6c27c77608
allversions.pm: enable warnings, fix one
2025-07-27 22:23:15 +02:00
Viktor Szakats
6c688767d3
cd2cd: enable warnings, fix them
2025-07-27 22:23:15 +02:00
Viktor Szakats
f6ae4b7723
badwords.pl: enable warnings, fix them
2025-07-27 22:23:15 +02:00
Viktor Szakats
20d80015d0
cleancmd.pl: enable warnings, fix one
2025-07-27 22:23:15 +02:00
Viktor Szakats
44496db495
cmp-config.pl: enable warnings
2025-07-27 22:23:15 +02:00
Viktor Szakats
b69a6c5bec
randcurl.pl: initialize variables
2025-07-27 22:23:15 +02:00
Viktor Szakats
aa1e6c3e38
trimmarkdownheader.pl: enable warnings, fix one
2025-07-27 22:23:15 +02:00
Viktor Szakats
e7cf939ab3
verify-synopsis.pl: enable warnings, fix one
2025-07-27 22:23:15 +02:00
Viktor Szakats
921219caa3
verify-examples.pl: enable warnings, fix them
2025-07-27 22:23:15 +02:00
Viktor Szakats
7070a7ea14
drop FATAL, do it separate PR
2025-07-27 22:23:15 +02:00
Viktor Szakats
f63d275137
test1140.pl: try fixing warning
...
```
Possible precedence issue with control flow operator (exit) at ../../tests/test1140.pl line 119.
```
https://github.com/curl/curl/actions/runs/16208581789/job/45764191709?pr=17877#step:16:1886
2025-07-27 22:23:15 +02:00
Viktor Szakats
1e65c5894b
test1175.pl formatting
2025-07-27 22:23:15 +02:00
Viktor Szakats
34472f7dc1
test1275.pl: initialize $errors
2025-07-27 22:23:15 +02:00
Viktor Szakats
0f7a83d7ee
test1707.pl: initialize $error
2025-07-27 22:23:15 +02:00
Viktor Szakats
a0bbb9776b
test1488.pl: initialize $error
2025-07-27 22:23:15 +02:00
Viktor Szakats
6c0baa5bf3
test1488.pl test971.pl fixup
2025-07-27 22:23:15 +02:00
Viktor Szakats
5b53ab2b0b
allversions.pm: text in comment
2025-07-27 22:23:15 +02:00
Viktor Szakats
c5b87ba164
test1013.pl: fix warning
...
```
Global symbol "@curl" requires explicit package name (did you forget to declare "my @curl"?) at ./test1013.pl line 47.
Global symbol "@curl" requires explicit package name (did you forget to declare "my @curl"?) at ./test1013.pl line 61.
Global symbol "@curl" requires explicit package name (did you forget to declare "my @curl"?) at ./test1013.pl line 61.
Global symbol "@curl" requires explicit package name (did you forget to declare "my @curl"?) at ./test1013.pl line 65.
```
2025-07-27 22:23:15 +02:00
Viktor Szakats
fea9610e47
test307.pl: silence warning
...
```
Scalar value @ARGV[0] better written as $ARGV[0] at ./test307.pl line 33.
```
2025-07-27 22:23:15 +02:00
Viktor Szakats
1c89117398
mk-lib1521.pl: fix warning
2025-07-27 22:23:15 +02:00
Viktor Szakats
28957cb37c
libtests: enable strict/warnings, fix formatting
2025-07-27 22:23:15 +02:00
Viktor Szakats
364c5442c5
test*: make all Perl warnings fatal
2025-07-27 22:23:15 +02:00
Viktor Szakats
13afb1bf10
extract-unit-protos: enable strict/warnings, fix them
2025-07-27 22:23:14 +02:00
Viktor Szakats
c052bd176f
mkhelp.pl: enable strict/warnings, fix them
2025-07-27 22:23:14 +02:00
Viktor Szakats
9bdd0db192
mk-file-embed.pl: enable strict/warnings, fix them
2025-07-27 22:23:14 +02:00
Viktor Szakats
bc1e0cf561
test971.pl: enable strict/warnings, fix them
2025-07-27 22:23:14 +02:00
Viktor Szakats
31e8d11aee
test1488.pl: enable strict, fix warning
2025-07-27 22:23:14 +02:00
Viktor Szakats
8323768234
test1276.pl: enable strict/warnings, fix them
2025-07-27 22:23:14 +02:00
Viktor Szakats
5bd42f479f
test1275.pl: enable strict/warnings, fix them
2025-07-27 22:23:14 +02:00
Viktor Szakats
d541cd3999
test1140.pl: enable strict/warnings, fix them
2025-07-27 22:23:14 +02:00
Viktor Szakats
d672bbd876
memanalyze.pl: try fixing a warning
...
```
Use of uninitialized value $sizeataddr{"5600c1703d38"} in numeric gt (>) at ../../tests/memanalyze.pl line 178, <$fileh> line 1.
Use of uninitialized value $sizeataddr{"5600c1703d38"} in numeric gt (>) at ../../tests/memanalyze.pl line 178, <$fileh> line 1.
```
https://github.com/curl/curl/actions/runs/16178889943/job/45670573824?pr=17877#step:39:163
2025-07-27 22:23:14 +02:00
Viktor Szakats
f01ca10aa3
runtests.pl: try fixing unitialized $allocs
...
```
Use of uninitialized value $allocs in numeric gt (>) at ../../tests/runtests.pl line 1729.
```
https://github.com/curl/curl/actions/runs/16178889943/job/45670573824?pr=17877#step:39:165
2025-07-27 22:23:14 +02:00
Viktor Szakats
d2c0b6b2d6
memanalyze.pl: fix warnings
2025-07-27 22:23:14 +02:00
Viktor Szakats
6c1879abb6
enable strict where missing cleanup
2025-07-27 22:23:14 +02:00
Viktor Szakats
9ba943e38e
enable strict where missing
2025-07-27 22:23:14 +02:00
Viktor Szakats
612557e022
bump warnings to errors
2025-07-27 22:23:14 +02:00
Viktor Szakats
9d7e97fe4d
enable warnings where missing
2025-07-27 22:23:13 +02:00
Viktor Szakats
08f97cbf5c
doh: rename symbols to avoid collision with mingw-w64 headers
...
Collision happens when building with mingw-w64 v3 or v2 while targeting
Vista or newer. `iphlpapi.h` includes `windns.h` in this case, which
defines macros named `DNS_TYPE_*`, colliding with curl doh enums.
The issue was fixed in mingw-w64 v4:
ea95d55e33
Fixes:
```
lib/doh.h:54:3: error: expected identifier before numeric constant
DNS_TYPE_A = 1,
^
```
Ref: https://github.com/curl/curl/actions/runs/16551209676/job/46806303365?pr=18009#step:10:17
This workaround seems harmless and generally good practice, but
another option is to require mingw-w64 v4.
Ref: #18009
Closes #18041
2025-07-27 18:54:00 +02:00
Stefan Eissing
6080143f9d
multi: replace remaining EXPIRE_RUN_NOW
...
Remove EXPIRE_RUN_NOW completely. Replace the remaining use of
EXPIRE_RUN_NOW with marking transfers as dirty.
Closes #17883
2025-07-27 18:40:41 +02:00