Silence warnings about using deprecated pvData functions

Remove the PVD_INTERNAL macro after fixing the function use.
This commit is contained in:
2025-11-05 14:44:37 +01:00
committed by mdavidsaver
parent 1b65309ec9
commit 52cf5307ca
2 changed files with 6 additions and 0 deletions

View File

@@ -1,6 +1,9 @@
// disable buggy boost enable_shared_from_this assert code
#define BOOST_DISABLE_ASSERTS
// Disable warnings about using deprecated functions from pvData
#define PVD_INTERNAL
#include <stdlib.h>
#include <time.h>
#include <vector>

View File

@@ -5,6 +5,9 @@
// disable buggy boost enable_shared_from_this assert code
#define BOOST_DISABLE_ASSERTS
// Disable warnings about using deprecated functions from pvData
#define PVD_INTERNAL
#include <pv/serverContext.h>
#include <pv/clientContextImpl.h>
#include <epicsExit.h>