From f1df2cd8747169c0b5175ef3b1a4596e604f78d9 Mon Sep 17 00:00:00 2001 From: Michael MIGLIORE Date: Fri, 26 Apr 2024 23:21:11 +0200 Subject: [PATCH] Disable warning on macos with dmon.h (#1402) --- application/F3DStarter.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/application/F3DStarter.cxx b/application/F3DStarter.cxx index 5233c32fa7..0b32308ad6 100644 --- a/application/F3DStarter.cxx +++ b/application/F3DStarter.cxx @@ -15,6 +15,11 @@ // dmon includes Windows.h which defines 'ERROR' and conflicts with log.h #undef ERROR #pragma warning(pop) +#elif __APPLE__ +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-declarations" +#include "dmon.h" +#pragma clang diagnostic pop #else #include "dmon.h" #endif