You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, could you please update protobuffers version, so C++20 is supported without the compilation errors? I currently get many warnings such as:
[build] In file included from /app/lib/kortex-2.5.0/api_cpp/examples/kortex_api/include/messages/Frame.pb.h:25,
[build] from /app/lib/kortex-2.5.0/api_cpp/examples/kortex_api/include/client_stubs/BaseClientRpc.h:9,
[build] from /app/include/kortex_controller.h:1,
[build] from /app/include/robot_controller.h:5,
[build] from /app/src/main.cpp:10:
[build] /app/lib/kortex-2.5.0/api_cpp/examples/kortex_api/include/google/protobuf/generated_message_table_driven.h:187:20: warning: ‘template<class _Tp> struct std::is_pod’ is deprecated: use is_standard_layout && is_trivial instead [-Wdeprecated-declarations]
[build] 187 | static_assert(std::is_pod<ParseTableField>::value, "");
[build] | ^~~~~~
[build] In file included from /usr/include/c++/10/ratio:39,
[build] from /usr/include/c++/10/chrono:39,
[build] from /usr/include/c++/10/thread:43,
[build] from /app/src/main.cpp:1:
[build] /usr/include/c++/10/type_traits:697:5: note: declared here
[build] 697 | is_pod
[build] | ^~~~~~
[build] In file included from /app/lib/kortex-2.5.0/api_cpp/examples/kortex_api/include/messages/Frame.pb.h:25,
[build] from /app/lib/kortex-2.5.0/api_cpp/examples/kortex_api/include/client_stubs/BaseClientRpc.h:9,
[build] from /app/include/kortex_controller.h:1,
[build] from /app/include/robot_controller.h:5,
[build] from /app/src/main.cpp:10:
[build] /app/lib/kortex-2.5.0/api_cpp/examples/kortex_api/include/google/protobuf/generated_message_table_driven.h:188:20: warning: ‘template<class _Tp> struct std::is_pod’ is deprecated: use is_standard_layout && is_trivial instead [-Wdeprecated-declarations]
[build] 188 | static_assert(std::is_pod<AuxillaryParseTableField>::value, "");
[build] | ^~~~~~
It seems to be caused by the usage of old protocol buffers library (issue here). I need to use C++20 as I am using jthread and some other stuff that is available in C++20.
Version
At a minimum, provide the Kortex API and Kortex-enabled device versions.
I expect not to get such warnings as they clutter the console, so it is annoying to go through. I currently did not find any way to stop those using CMakeLists.txt.
The text was updated successfully, but these errors were encountered:
The Kortex API is compiled using an old version of protobuf and it is not planned at the moment to upgrade to a newer protobuf version.
If you ask me, we will have, at some point, to uprade our API to a more recent protobuf version. We already are having issues with Python3.10, and now C++20. For sure, this feature will be essential if we want to continue selling this product.
Unfortunately, I do not have a timeline to give you at the moment.
I will leave the issue opened and update it whenever there is progress about this.
Description
Hello, could you please update protobuffers version, so C++20 is supported without the compilation errors? I currently get many warnings such as:
It seems to be caused by the usage of old protocol buffers library (issue here). I need to use C++20 as I am using jthread and some other stuff that is available in C++20.
Version
At a minimum, provide the Kortex API and Kortex-enabled device versions.
KortexAPI : 2.5.0
Kortex Device : ... irrelevant
Steps to reproduce
in CMakeLists.txt.
Expected behavior
I expect not to get such warnings as they clutter the console, so it is annoying to go through. I currently did not find any way to stop those using CMakeLists.txt.
The text was updated successfully, but these errors were encountered: