Go to file
Patrick Monnerat 6967571bf2
lib: feature deprecation warnings in gcc >= 4.3
Add a deprecated attribute to functions and enum values that should not
be used anymore.
This uses a gcc 4.3 dialect, thus is only available for this version of
gcc and newer. Note that the _Pragma() keyword is introduced by C99, but
is available as part of the gcc dialect even when compiling in C89 mode.

It is still possible to disable deprecation at a calling module compile
time by defining CURL_DISABLE_DEPRECATION.

Gcc type checking macros are made aware of possible deprecations.

Some testing support Perl programs are adapted to the extended
declaration syntax.

Several test and unit test C programs intentionally use deprecated
functions/options and are annotated to not generate a warning.

New test 1222 checks the deprecation status in doc and header files.

Closes #9667
2022-11-15 10:57:29 +01:00
.circleci CI: skip make, do make install at once for dependencies 2022-09-13 15:42:10 +02:00
.github Revert "GHA: add scorecard.yml" 2022-11-09 10:29:19 +01:00
.lift
.reuse
CMake lib: sync guard for Curl_getaddrinfo_ex() definition and use 2022-11-01 22:40:36 +00:00
docs lib: feature deprecation warnings in gcc >= 4.3 2022-11-15 10:57:29 +01:00
include lib: feature deprecation warnings in gcc >= 4.3 2022-11-15 10:57:29 +01:00
lib cfilters: use %zu for outputting size_t 2022-11-14 14:54:39 +01:00
LICENSES
m4 curl-rustls.m4: on macOS, rustls also needs the Security framework 2022-11-10 17:50:51 +01:00
packages lib: fix some type mismatches and remove unneeded typecasts 2022-11-08 03:11:01 -05:00
plan9
projects headers: add endif comments 2022-11-09 00:36:33 +01:00
scripts log2changes.pl: wrap long lines at 80 columns 2022-11-15 10:56:09 +01:00
src tool: use feature names instead of bit mask, when possible 2022-11-14 09:19:10 +01:00
tests lib: feature deprecation warnings in gcc >= 4.3 2022-11-15 10:57:29 +01:00
winbuild winidn: drop WANT_IDN_PROTOTYPES 2022-10-26 09:45:23 +00:00
zuul.d misc: typo and grammar fixes 2022-10-27 10:01:30 +02:00
.azure-pipelines.yml test972: verify the output without using external tool 2022-09-22 13:46:40 +02:00
.cirrus.yml CI/cirrus: remove superfluous double-quotes and sudo 2022-10-30 22:52:07 +01:00
.dcignore
.dir-locals.el
.git-blame-ignore-revs
.gitattributes
.gitignore
.lgtm.yml
.mailmap mailmap: unify Stefan Eissing 2022-11-07 12:24:07 +01:00
acinclude.m4 functypes: provide the recv and send arg and return types 2022-09-28 09:06:11 +02:00
appveyor.yml CI: report AppVeyor build status for each job 2022-10-20 20:48:13 +02:00
buildconf
buildconf.bat
CHANGES
CMakeLists.txt lib: sync guard for Curl_getaddrinfo_ex() definition and use 2022-11-01 22:40:36 +00:00
configure.ac configure: require fork for NTLM-WB 2022-11-06 00:04:47 +01:00
COPYING
curl-config.in
GIT-INFO
libcurl.pc.in
MacOSX-Framework scripts: use grep -E instead of egrep 2022-09-13 10:18:50 +02:00
Makefile.am
Makefile.dist
maketgz maketgz: set the right version in lib/libcurl.plist 2022-11-08 10:46:12 +01:00
mlc_config.json
README docs: minor grammar fixes 2022-09-29 10:44:12 +02:00
README.md README.md: remove badges and xmas-tree garnish 2022-11-01 16:57:37 +01:00
RELEASE-NOTES RELEASE-NOTES: synced 2022-11-12 00:54:35 +01:00
SECURITY.md docs: spellfixes 2022-09-21 15:20:08 +02:00

curl logo

Curl is a command-line tool for transferring data specified with URL syntax. Find out how to use curl by reading the curl.1 man page or the MANUAL document. 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.3 man page to learn how.

You can find answers to the most frequent questions we get in the FAQ document.

Study the COPYING file for distribution terms.

Contact

If you have problems, questions, ideas or suggestions, please contact us by posting to a suitable mailing list.

All contributors to the project are listed in the THANKS document.

Commercial support

For commercial support, maybe private and dedicated help with your problems or applications using (lib)curl visit the support page.

Website

Visit the curl website for the latest news and downloads.

Git

To download the latest source from the Git server, do this:

git clone https://github.com/curl/curl.git

(you will get a directory named curl created, filled with the source code)

Security problems

Report suspected security problems via our HackerOne page and not in public.

Notice

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.

Backers

Thank you to all our backers! 🙏 [Become a backer]

Sponsors

Support this project by becoming a sponsor.