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 ef8347b commit 0da23b0Copy full SHA for 0da23b0
src/common/src/mlib/config.h
@@ -291,6 +291,13 @@
291
#define _mlibTestBuildConfig_RelWithDebInfo_RelWithDebInfo()
292
#define _mlibTestBuildConfig_MinSizeRel_MinSizeRel()
293
294
+/**
295
+ * @brief Emit a _Pragma that will disable warnings about the use of deprecated entities.
296
+ */
297
+#define mlib_disable_deprecation_warnings() \
298
+ mlib_gnu_warning_disable ("-Wdeprecated-declarations"); \
299
+ mlib_msvc_warning (disable : 4996)
300
+
301
/**
302
* @brief Function-like macro that expands to `1` if we are certain that we are
303
* compiling with optimizations enabled.
0 commit comments