Skip to content

Commit

Permalink
include/curl/curl.h: bump the deprecated requirements to gcc 6.1
Browse files Browse the repository at this point in the history
Reported-by: Michael Kaufmann
Fixes #9917
Closes #9987
  • Loading branch information
bagder committed Nov 28, 2022
1 parent eb559c8 commit dbd74ba
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions include/curl/curl.h
Expand Up @@ -34,10 +34,9 @@
#endif

/* Compile-time deprecation macros. */
#if defined(__GNUC__) && defined(__GNUC_MINOR__) && \
((__GNUC__ > 5) || (__GNUC__ == 5 && __GNUC_MINOR__ >= 3)) && \
!defined(__INTEL_COMPILER) && \
!defined(CURL_DISABLE_DEPRECATION) && !defined(BUILDING_LIBCURL)
#if defined(__GNUC__) && (__GNUC__ >= 6) && \
!defined(__INTEL_COMPILER) && \
!defined(CURL_DISABLE_DEPRECATION) && !defined(BUILDING_LIBCURL)
#define CURL_DEPRECATED(version, message) \
__attribute__((deprecated("since " # version ". " message)))
#define CURL_IGNORE_DEPRECATION(statements) \
Expand Down

0 comments on commit dbd74ba

Please sign in to comment.