We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d9a053 commit 57522deCopy full SHA for 57522de
include/manif/impl/macro.h
@@ -76,7 +76,7 @@ raise(Args&&... args)
76
#define MANIF_NOT_IMPLEMENTED_YET \
77
MANIF_THROW("Not implemented yet !");
78
79
-#if (__cplusplus >= 201402L) && __MANIF_HAVE_CPP_ATTRIBUTE(deprecated)
+#if defined(__cplusplus) && (__cplusplus >= 201402L) && __MANIF_HAVE_CPP_ATTRIBUTE(deprecated)
80
#define MANIF_DEPRECATED [[deprecated]]
81
#elif defined(__GNUC__) || defined(__clang__)
82
#define MANIF_DEPRECATED __attribute__((deprecated))
0 commit comments