From 2d72ba44a9201a7520cb3711d07e63509490a424 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Wed, 29 Oct 2025 09:35:30 +0100 Subject: [PATCH] allow testing deprecating functions without warnings --- modules/libcom/src/misc/epicsUnitTest.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/libcom/src/misc/epicsUnitTest.h b/modules/libcom/src/misc/epicsUnitTest.h index 1f51eeeb2..61c1b8239 100644 --- a/modules/libcom/src/misc/epicsUnitTest.h +++ b/modules/libcom/src/misc/epicsUnitTest.h @@ -154,6 +154,10 @@ ok 3 - M_PI == 4.0*atan(1.0) #include "compilerDependencies.h" #include "libComAPI.h" +/* Allow to test deprecated functions without warnings */ +#undef EPICS_DEPRECATED +#define EPICS_DEPRECATED + #ifdef __cplusplus extern "C" { #endif