From 065a5d09dd37396c6860f3a1c4d8b681d3053cdd Mon Sep 17 00:00:00 2001 From: Rex Schilasky <49162693+rex-schilasky@users.noreply.github.com> Date: Fri, 1 Mar 2024 18:53:32 +0100 Subject: [PATCH] [core] deprecate function declaration added (#1414) minor fix in windows build batch file (HAS_QT instead HAS_QT5) --- build_win/win_make_cmake.bat | 4 ++-- ecal/core/include/ecal/cimpl/ecal_subscriber_cimpl.h | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/build_win/win_make_cmake.bat b/build_win/win_make_cmake.bat index 3ef8f4f373..0120260118 100644 --- a/build_win/win_make_cmake.bat +++ b/build_win/win_make_cmake.bat @@ -9,7 +9,7 @@ powershell -Command "& '%~dp0\download_npcap.ps1'" set CMAKE_OPTIONS_COMPLETE=-DCMAKE_INSTALL_PREFIX=_install ^ -DHAS_HDF5=ON ^ --DHAS_QT5=ON ^ +-DHAS_QT=ON ^ -DHAS_CURL=ON ^ -DHAS_CAPNPROTO=OFF ^ -DHAS_FTXUI=ON ^ @@ -43,7 +43,7 @@ set CMAKE_OPTIONS_COMPLETE=-DCMAKE_INSTALL_PREFIX=_install ^ set CMAKE_OPTIONS_SDK=-DCMAKE_INSTALL_PREFIX=_install ^ -DHAS_HDF5=ON ^ --DHAS_QT5=ON ^ +-DHAS_QT=ON ^ -DHAS_CURL=OFF ^ -DHAS_CAPNPROTO=OFF ^ -DHAS_FTXUI=ON ^ diff --git a/ecal/core/include/ecal/cimpl/ecal_subscriber_cimpl.h b/ecal/core/include/ecal/cimpl/ecal_subscriber_cimpl.h index 206fb87420..62e0e0e909 100644 --- a/ecal/core/include/ecal/cimpl/ecal_subscriber_cimpl.h +++ b/ecal/core/include/ecal/cimpl/ecal_subscriber_cimpl.h @@ -126,7 +126,6 @@ extern "C" /** * @brief Receive a message from the publisher - * * @deprecated Use the eCAL_Sub_Receive_ToBuffer or eCAL_Sub_Receive_Alloc instead. * * @param handle_ Subscriber handle. @@ -138,7 +137,7 @@ extern "C" * * @return Length of received buffer. **/ - ECALC_API int eCAL_Sub_Receive(ECAL_HANDLE handle_, void* buf_, int buf_len_, long long* time_, int rcv_timeout_); + ECALC_API_DEPRECATED int eCAL_Sub_Receive(ECAL_HANDLE handle_, void* buf_, int buf_len_, long long* time_, int rcv_timeout_); /** * @brief Receive a message from the publisher in a preallocated buffer.