mirror of
https://github.com/curl/curl.git
synced 2026-06-14 05:35:37 +03:00
and later -> or higher
This commit is contained in:
parent
de6ab39f5d
commit
97e75f98b7
7 changed files with 9 additions and 9 deletions
|
|
@ -670,7 +670,7 @@ CURL_CFLAG_EXTRAS=""
|
|||
if test "$want_werror" = "yes"; then
|
||||
CURL_CFLAG_EXTRAS="-Werror"
|
||||
if test "$compiler_id" = "GNU_C"; then
|
||||
dnl enable -pedantic-errors for GCC 5 and later,
|
||||
dnl enable -pedantic-errors for GCC 5 or higher,
|
||||
dnl as before that it was the same as -Werror=pedantic
|
||||
if test "$compiler_num" -ge "500"; then
|
||||
CURL_CFLAG_EXTRAS="$CURL_CFLAG_EXTRAS -pedantic-errors"
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
* An SSL-enabled libcurl is required for this sample to work (at least one
|
||||
* SSL backend has to be configured).
|
||||
*
|
||||
* **** This example only works with libcurl 7.56.0 and later! ****
|
||||
* **** This example only works with libcurl 7.56.0 or higher! ****
|
||||
*/
|
||||
|
||||
int main(int argc, const char **argv)
|
||||
|
|
|
|||
|
|
@ -1444,7 +1444,7 @@ example cookies so the only way to share that is with the share interface.
|
|||
|
||||
## [1]
|
||||
|
||||
libcurl 7.10.3 and later have the ability to switch over to chunked
|
||||
libcurl 7.10.3 or higher have the ability to switch over to chunked
|
||||
Transfer-Encoding in cases where HTTP uploads are done with data of an unknown
|
||||
size.
|
||||
|
||||
|
|
|
|||
|
|
@ -2388,7 +2388,7 @@ static CURLcode http_req_set_TE(struct Curl_easy *data,
|
|||
if(req_clen < 0) {
|
||||
/* indeterminate request content length */
|
||||
if(httpversion > 10) {
|
||||
/* On HTTP/1.1, enable chunked, on HTTP/2 and later we do not
|
||||
/* On HTTP/1.1, enable chunked, on HTTP/2 or higher we do not
|
||||
* need it */
|
||||
data->req.upload_chunky = (httpversion < 20);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -157,8 +157,8 @@ static void my_md5_final(unsigned char *digest, void *ctx)
|
|||
#include <CommonCrypto/CommonDigest.h>
|
||||
|
||||
/* For Apple operating systems: CommonCrypto has the functions we need.
|
||||
These functions are available on Tiger and later, as well as iOS 2.0
|
||||
and later. If you are building for an older cat, well, sorry.
|
||||
These functions are available on 10.4 (Tiger) or higher, as well as
|
||||
iOS 2.0 or higher. If you are building for an older cat, well, sorry.
|
||||
|
||||
Declaring the functions as static like this seems to be a bit more
|
||||
reliable than defining COMMON_DIGEST_FOR_OPENSSL on older cats. */
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@ static char *vms_getenv(const char *envvar)
|
|||
/* may do a malloc(2048) for each call to getenv(), so you will need */
|
||||
/* to add a free(vms_path) */
|
||||
/* Do not do a free() for DEC C RTL builds, which should be used for */
|
||||
/* VMS 5.5-2 and later, even if using GCC */
|
||||
/* VMS 5.5-2 or higher, even if using GCC */
|
||||
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -174,7 +174,7 @@ dnl -------------------------------------------------
|
|||
dnl Verify if compiler being used is GNU C
|
||||
dnl
|
||||
dnl $compiler_num is set to MAJOR * 100 + MINOR for gcc less than version
|
||||
dnl 7 and $MAJOR * 100 for gcc version 7 and later.
|
||||
dnl 7 and $MAJOR * 100 for gcc version 7 or higher.
|
||||
dnl
|
||||
dnl Examples:
|
||||
dnl Version 1.2.3 => 102
|
||||
|
|
@ -548,7 +548,7 @@ AC_DEFUN([CURL_SET_COMPILER_BASIC_OPTS], [
|
|||
GNU_C)
|
||||
|
||||
dnl turn implicit-function-declaration warning into error,
|
||||
dnl at least gcc 2.95 and later support this
|
||||
dnl at least gcc 2.95 or higher support this
|
||||
if test "$compiler_num" -ge "295"; then
|
||||
tmp_CFLAGS="$tmp_CFLAGS -Werror-implicit-function-declaration"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue