We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64adae8 commit b750ac8Copy full SHA for b750ac8
include/curl/curl.h
@@ -34,11 +34,12 @@
34
#endif
35
36
/* Compile-time deprecation macros. */
37
-#if defined(__GNUC__) && (__GNUC__ >= 6) && \
+#if defined(__GNUC__) && \
38
+ ((__GNUC__ > 12) || ((__GNUC__ == 12) && (__GNUC_MINOR__ >= 1 ))) && \
39
!defined(__INTEL_COMPILER) && \
40
!defined(CURL_DISABLE_DEPRECATION) && !defined(BUILDING_LIBCURL)
-#define CURL_DEPRECATED(version, message) \
41
- __attribute__((deprecated("since " # version ". " message)))
+#define CURL_DEPRECATED(version, message) \
42
+ __attribute__((deprecated("since " # version ". " message)))
43
#define CURL_IGNORE_DEPRECATION(statements) \
44
_Pragma("GCC diagnostic push") \
45
_Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"") \
0 commit comments