X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fe7c6f0387242e24e27165774475f3b3994b6c1a..738c4c4803946ff408f194533bbcc5441fd1cdee:/include/xbt/base.h diff --git a/include/xbt/base.h b/include/xbt/base.h index 88deb0f494..d764f5ee30 100644 --- a/include/xbt/base.h +++ b/include/xbt/base.h @@ -62,6 +62,11 @@ #define XBT_ATTRIB_DEPRECATED_v332(mesg) \ XBT_ATTRIB_DEPRECATED(mesg " (this compatibility wrapper will be dropped after v3.31)") +/* Work around https://github.com/microsoft/vscode-cpptools/issues/4503 */ +#ifdef __INTELLISENSE__ +#pragma diag_suppress 1094 +#endif + #if !defined(__APPLE__) # define XBT_ATTRIB_CONSTRUCTOR(prio) __attribute__((__constructor__(prio))) # define XBT_ATTRIB_DESTRUCTOR(prio) __attribute__((__destructor__(prio)))