From 6689c9ce1f73b867c4d26bd24a40bedb441dc722 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Thu, 6 Nov 2025 12:44:07 +0100 Subject: [PATCH] Allow testing deprecated functions without causing compiler warnings --- testApp/misc/testByteBuffer.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/testApp/misc/testByteBuffer.cpp b/testApp/misc/testByteBuffer.cpp index ff26f06..dca0ac2 100644 --- a/testApp/misc/testByteBuffer.cpp +++ b/testApp/misc/testByteBuffer.cpp @@ -14,6 +14,11 @@ #include #include +// allow to test deprecated functions without causing compiler warnings +#include +#undef EPICS_DEPRECATED +#define EPICS_DEPRECATED + #include #include