| commit | 8478365e298f63ce1651d5bfd6befe1cce100e4d | [log] [tgz] |
|---|---|---|
| author | Viktor Szakats <commit@vsz.me> | Mon Apr 14 12:56:30 2025 +0200 |
| committer | Viktor Szakats <commit@vsz.me> | Wed Apr 16 14:34:12 2025 +0200 |
| tree | 9287c97948f89bc0e3f068f5d02766cb96e93824 | |
| parent | fbe408ccd767582e6e39054de62ef235628b8655 [diff] |
cmake: enable `-Wall` for MSVC when `PICKY_COMPILER=ON` Enable it for `_MSC_VER <= 1943`. Omit it for not yet CI-tested MSVC versions, to avoid hitting unfixed warnings emitted by future toolchain releases. It means we need to explicitly opt-in to newer MSVC versions while fixing any new issues. The newly enabled warnings did not reveal new issues. It hints that we catch those with clang/gcc. Yet, these warnings may be useful for local development done with MSVC. Also: - disable and document warnings that don't seem useful, unactionable, or unfixable. - disable and document warnings found in Windows SDK headers. - tidy up a few comments, also to avoid `-Wdocumentation-unknown-command`, part of llvm/clang `-Wall`. ``` lib\dynhds.h(159,29): error : unknown command tag name [-Werror,-Wdocumentation-unknown-command] lib\ftp.c(337,15): error : unknown command tag name [-Werror,-Wdocumentation-unknown-command] ``` (This patch did not end up enabling `-Wall` for clang-cl.) Closes #17050
curl is a command-line tool for transferring data specified with URL syntax. Learn how to use curl by reading the manpage or everything curl.
Find out how to install curl by reading the INSTALL document.
libcurl is the library curl is using to do its job. It is readily available to be used by your software. Read the libcurl manpage to learn how.
curl is Open Source and is distributed under an MIT-like license.
Contact us on a suitable mailing list or use GitHub issues/ pull requests/ discussions.
All contributors to the project are listed in the THANKS document.
For commercial support, maybe private and dedicated help with your problems or applications using (lib)curl visit the support page.
Visit the curl website for the latest news and downloads.
Download the latest source from the Git server:
git clone https://github.com/curl/curl.git
Report suspected security problems via our HackerOne page and not in public.
curl contains pieces of source code that is Copyright (c) 1998, 1999 Kungliga Tekniska Högskolan. This notice is included here to comply with the distribution terms.
Thank you to all our backers 🙏 Become a backer.
Support this project by becoming a sponsor.