curl-curl/tests
Viktor Szakats 578ee6b79b
gcc: guard #pragma diagnostic in core code for <4.6, disable picky warnings
Extend `#pragma diagnostic push`/`pop` guards to the whole codebase
(from tests and examples only) to disable it for GCC <4.6. Rename guard
to `CURL_HAVE_DIAG` and make it include llvm/clang to be interchangeable
with `__GNUC__ || __clang__` in this context.

The above means no longer disabling certain warnings locally, so pair
this with disabling all picky warnings for GCC <4.6.

Also:
- drop global workarounds for misbehaving GCC <4.6 compiler warnings.
  Not needed with picky warnings disabled.

Reported-by: fds242 on github
Reported-by: Sergey Fedorov
Thanks-to: Orgad Shaneh
Follow-up to f07a98ae11 #20366
Fixes #20892
Fixes #20924
Closes #20902
Closes #20907
2026-03-18 11:33:37 +01:00
..
certs cmake: mark two internal options as advanced 2026-03-05 04:00:08 +01:00
cmake cmake: minor improvements to integration test framework 2026-03-02 14:50:33 +01:00
data ftp: reject PWD responses containing control characters 2026-03-18 11:24:41 +01:00
http pytest: add additional quiche check for flaky test_05_01 2026-03-17 14:53:15 +01:00
libtest gcc: guard #pragma diagnostic in core code for <4.6, disable picky warnings 2026-03-18 11:33:37 +01:00
server gcc: guard #pragma diagnostic in core code for <4.6, disable picky warnings 2026-03-18 11:33:37 +01:00
tunit autotools: limit checksrc target to ignore non-repo test sources 2026-03-12 01:45:24 +01:00
unit gcc: guard #pragma diagnostic in core code for <4.6, disable picky warnings 2026-03-18 11:33:37 +01:00
.gitignore
allversions.pm
appveyor.pm
azure.pm
CMakeLists.txt cmake: add CURL_GCC_ANALYZER option, enable in CI, fix/silence 2026-03-16 11:49:34 +01:00
config.in
configurehelp.pm.in
devtest.pl
dictserver.py
directories.pm
ech_combos.py
ech_tests.sh
ftpserver.pl badwords: avoid 'simply' 2026-03-10 19:34:06 +01:00
getpart.pm
globalconfig.pm
http2-server.pl
http3-server.pl
http-server.pl
Makefile.am
memanalyze.pl
memanalyzer.pm tidy-up: miscellaneous 2026-02-25 14:44:56 +01:00
negtelnetserver.py
nghttpx.conf
pathhelp.pm tidy-up: Markdown, clang-format nits 2026-01-22 23:44:47 +01:00
processhelp.pm
requirements.txt
rtspserver.pl
runner.pm tidy-up: miscellaneous 2026-02-12 14:52:16 +01:00
runtests.pl badwords: avoid 'simply' 2026-03-10 19:34:06 +01:00
secureserver.pl badwords: avoid 'simply' 2026-03-10 19:34:06 +01:00
serverhelp.pm tidy-up: miscellaneous 2026-02-12 14:52:16 +01:00
servers.pm tidy-up: miscellaneous 2026-02-25 14:44:56 +01:00
smbserver.py
sshhelp.pm tidy-up: miscellaneous 2026-02-12 14:52:16 +01:00
sshserver.pl tidy-up: miscellaneous 2026-02-12 14:52:16 +01:00
test745.pl tidy-up: Markdown, clang-format nits 2026-01-22 23:44:47 +01:00
test971.pl
test1119.pl tidy-up: miscellaneous 2026-03-09 11:35:19 +01:00
test1135.pl
test1139.pl tidy-up: miscellaneous 2026-02-25 14:44:56 +01:00
test1140.pl
test1165.pl build: disable typecheck via the command-line instead of curl_config.h 2026-02-20 16:32:37 +01:00
test1167.pl
test1173.pl
test1175.pl
test1177.pl
test1222.pl
test1275.pl
test1276.pl
test1477.pl
test1486.pl
test1488.pl
test1544.pl
test1707.pl
testcurl.pl
testutil.pm
tftpserver.pl
util.py
valgrind.pm
valgrind.supp