We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c159ad0 commit ba8812fCopy full SHA for ba8812f
src/Settings/NamespaceSettings.hpp
@@ -17,7 +17,7 @@
17
18
#if __cplusplus >= 201402L
19
#define CS_DEPREC(msg) [[deprecated(msg)]]
20
-#elif defined(__GNUC__)
+#elif (defined(__GNUC__) && __GNUC__ > 6) || defined(__clang__)
21
#define CS_DEPREC(msg) __attribute__((deprecated(msg)))
22
#else
23
#define CS_DEPREC(...)
0 commit comments