From 372f92e67e3eb3ca800b6d9bcf214594cf3b6798 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Mon, 27 Nov 2023 09:41:25 +0100 Subject: [PATCH] Define macro XBT_ATTRIB_DEPRECATED_v340. (to use during the dev of v3.36) --- docs/source/Doxyfile | 3 ++- include/xbt/base.h | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/source/Doxyfile b/docs/source/Doxyfile index 80b57e9e9d..0e1decc2b3 100644 --- a/docs/source/Doxyfile +++ b/docs/source/Doxyfile @@ -69,4 +69,5 @@ PREDEFINED += \ XBT_ATTRIB_UNUSED= \ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(cname,parent,desc)= \ XBT_ATTRIB_DEPRECATED_v338(mesg)= \ - XBT_ATTRIB_DEPRECATED_v339(mesg)= + XBT_ATTRIB_DEPRECATED_v339(mesg)= \ + XBT_ATTRIB_DEPRECATED_v340(mesg)= diff --git a/include/xbt/base.h b/include/xbt/base.h index 080c784e78..ceb0fb2be1 100644 --- a/include/xbt/base.h +++ b/include/xbt/base.h @@ -46,6 +46,8 @@ XBT_ATTRIB_DEPRECATED(mesg " (this compatibility wrapper will be dropped after v3.37)") #define XBT_ATTRIB_DEPRECATED_v339(mesg) \ XBT_ATTRIB_DEPRECATED(mesg " (this compatibility wrapper will be dropped after v3.38)") +#define XBT_ATTRIB_DEPRECATED_v340(mesg) \ + XBT_ATTRIB_DEPRECATED(mesg " (this compatibility wrapper will be dropped after v3.39)") /* Work around https://github.com/microsoft/vscode-cpptools/issues/4503 */ #ifdef __INTELLISENSE__ -- 2.20.1