mirror of
https://github.com/curl/curl.git
synced 2025-02-23 15:10:03 +08:00
- appveyor: add build-only job for clang-cl. - cmake: `-pedantic-errors` enables `-Werror,-Wlanguage-extension-token` automatically, which makes `__int64` detection fail. Explictly disable this compiler warning for clang-cl to make the feature detection work and to accept `__int64` in the source code. - cmake: disable `-Wlanguage-extension-token` warning for clang-cl to fix these when encountering `__int64`: ``` lib/formdata.c(797,29): error : extension used [-Werror,-Wlanguage-extension-token] lib/warnless.c(117,33): error : extension used [-Werror,-Wlanguage-extension-token] lib/warnless.c(60,28): message : expanded from macro 'CURL_MASK_SCOFFT' lib/warnless.c(59,38): message : expanded from macro 'CURL_MASK_UCOFFT' include\curl/system.h(352,40): message : expanded from macro 'CURL_TYPEOF_CURL_OFF_T' ``` - make `__GNUC__` warning suppressions apply to `__clang__` too. Necessary for clang-cl, which defines the latter, but not the former. (Regular clang defines both.) - examples: fix clang-cl compiler warning in `http2-upload.c`. ``` docs\examples\http2-upload.c(56,5): error : no previous prototype for function 'my_gettimeofday' [-Werror,-Wmissing-prototypes] docs\examples\http2-upload.c(56,1): message : declare 'static' if the function is not intended to be used outside of this translation unit ``` - unit2604: add missing `#pragma GCC diagnostic pop`. Follow-up to |
||
---|---|---|
.. | ||
cmdline-opts | ||
examples | ||
internals | ||
libcurl | ||
.gitignore | ||
BINDINGS.md | ||
BUG-BOUNTY.md | ||
BUGS.md | ||
CIPHERS-TLS12.md | ||
CIPHERS.md | ||
CMakeLists.txt | ||
CODE_OF_CONDUCT.md | ||
CODE_REVIEW.md | ||
CONTRIBUTE.md | ||
curl-config.md | ||
CURL-DISABLE.md | ||
CURLDOWN.md | ||
DEPRECATE.md | ||
DISTROS.md | ||
EARLY-RELEASE.md | ||
ECH.md | ||
EXPERIMENTAL.md | ||
FAQ | ||
FEATURES.md | ||
GOVERNANCE.md | ||
HELP-US.md | ||
HISTORY.md | ||
HTTP3.md | ||
HTTP-COOKIES.md | ||
INSTALL | ||
INSTALL-CMAKE.md | ||
INSTALL.md | ||
INTERNALS.md | ||
IPFS.md | ||
KNOWN_BUGS | ||
MAIL-ETIQUETTE.md | ||
Makefile.am | ||
MANUAL.md | ||
mk-ca-bundle.md | ||
options-in-versions | ||
README.md | ||
RELEASE-PROCEDURE.md | ||
ROADMAP.md | ||
RUSTLS.md | ||
SECURITY-ADVISORY.md | ||
SPONSORS.md | ||
SSL-PROBLEMS.md | ||
SSLCERTS.md | ||
THANKS | ||
THANKS-filter | ||
TheArtOfHttpScripting.md | ||
TODO | ||
URL-SYNTAX.md | ||
VERSIONS.md | ||
VULN-DISCLOSURE-POLICY.md |
Documentation
You find a mix of various documentation in this directory and subdirectories, using several different formats. Some of them are not ideal for reading directly in your browser.
If you would rather see the rendered version of the documentation, check out the curl website's documentation section for general curl stuff or the libcurl section for libcurl related documentation.