mirror of
https://github.com/curl/curl.git
synced 2025-09-16 17:12:43 +03:00
include/curl/curl.h: bump the deprecated requirements to gcc 6.1
Reported-by: Michael Kaufmann Fixes #9917 Closes #9987
This commit is contained in:
parent
eb559c8056
commit
dbd74baf78
|
@ -34,10 +34,9 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Compile-time deprecation macros. */
|
/* Compile-time deprecation macros. */
|
||||||
#if defined(__GNUC__) && defined(__GNUC_MINOR__) && \
|
#if defined(__GNUC__) && (__GNUC__ >= 6) && \
|
||||||
((__GNUC__ > 5) || (__GNUC__ == 5 && __GNUC_MINOR__ >= 3)) && \
|
!defined(__INTEL_COMPILER) && \
|
||||||
!defined(__INTEL_COMPILER) && \
|
!defined(CURL_DISABLE_DEPRECATION) && !defined(BUILDING_LIBCURL)
|
||||||
!defined(CURL_DISABLE_DEPRECATION) && !defined(BUILDING_LIBCURL)
|
|
||||||
#define CURL_DEPRECATED(version, message) \
|
#define CURL_DEPRECATED(version, message) \
|
||||||
__attribute__((deprecated("since " # version ". " message)))
|
__attribute__((deprecated("since " # version ". " message)))
|
||||||
#define CURL_IGNORE_DEPRECATION(statements) \
|
#define CURL_IGNORE_DEPRECATION(statements) \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user