ROS 2 Wrapper Building Warnings

I receive some warnings when building the ROS 2 Wrapper. How can I decide if they are worrisome?

florian@ubuntu:~/colcon_ws$ colcon build --symlink-install
Starting >>> zed_interfaces
Finished <<< zed_interfaces [0.76s]                     
Starting >>> zed_components
Finished <<< zed_components [27.6s]                       
Starting >>> zed_wrapper
--- stderr: zed_wrapper                               
In file included from /home/florian/colcon_ws/install/zed_components/include/zed_components/sl_tools.h:50,
                 from /home/florian/colcon_ws/install/zed_components/include/zed_components/zed_camera_component.hpp:29,
                 from /home/florian/colcon_ws/src/zed-ros2-wrapper/zed_wrapper/src/zed_wrapper.cpp:26:
/usr/local/zed/include/sl/Camera.hpp:820:13: warning: ISO C++ prohibits anonymous structs [-Wpedantic]
  820 |             };
      |             ^
/usr/local/zed/include/sl/Camera.hpp:973:13: warning: ISO C++ prohibits anonymous structs [-Wpedantic]
  973 |             };
      |             ^
/usr/local/zed/include/sl/Camera.hpp:1150:13: warning: ISO C++ prohibits anonymous structs [-Wpedantic]
 1150 |             };
      |             ^
/usr/local/zed/include/sl/Camera.hpp:1314:13: warning: ISO C++ prohibits anonymous structs [-Wpedantic]
 1314 |             };
      |             ^
/usr/local/zed/include/sl/Camera.hpp:1318:13: warning: ISO C++ prohibits anonymous structs [-Wpedantic]
 1318 |             };
      |             ^
/usr/local/zed/include/sl/Camera.hpp:1322:13: warning: ISO C++ prohibits anonymous structs [-Wpedantic]
 1322 |             };
      |             ^
/usr/local/zed/include/sl/Camera.hpp:1562:13: warning: ISO C++ prohibits anonymous structs [-Wpedantic]
 1562 |             };
      |             ^
/usr/local/zed/include/sl/Camera.hpp:1566:13: warning: ISO C++ prohibits anonymous structs [-Wpedantic]
 1566 |             };
      |             ^
/usr/local/zed/include/sl/Camera.hpp:1570:13: warning: ISO C++ prohibits anonymous structs [-Wpedantic]
 1570 |             };
      |             ^
/usr/local/zed/include/sl/Camera.hpp: In function ‘sl::Timestamp sl::operator+(sl::Timestamp, const sl::Timestamp&)’:
/usr/local/zed/include/sl/Camera.hpp:2024:16: warning: implicitly-declared ‘constexpr sl::Timestamp::Timestamp(const sl::Timestamp&)’ is deprecated [-Wdeprecated-copy]
 2024 |         return lhs;
      |                ^~~
/usr/local/zed/include/sl/Camera.hpp:1963:20: note: because ‘sl::Timestamp’ has user-provided ‘sl::Timestamp& sl::Timestamp::operator=(sl::Timestamp)’
 1963 |         Timestamp& operator=(Timestamp other) {
      |                    ^~~~~~~~
/usr/local/zed/include/sl/Camera.hpp: In function ‘sl::Timestamp sl::operator-(sl::Timestamp, const sl::Timestamp&)’:
/usr/local/zed/include/sl/Camera.hpp:2029:16: warning: implicitly-declared ‘constexpr sl::Timestamp::Timestamp(const sl::Timestamp&)’ is deprecated [-Wdeprecated-copy]
 2029 |         return lhs;
      |                ^~~
/usr/local/zed/include/sl/Camera.hpp:1963:20: note: because ‘sl::Timestamp’ has user-provided ‘sl::Timestamp& sl::Timestamp::operator=(sl::Timestamp)’
 1963 |         Timestamp& operator=(Timestamp other) {
      |                    ^~~~~~~~
/usr/local/zed/include/sl/Camera.hpp: In function ‘sl::Timestamp sl::operator/(sl::Timestamp, const sl::Timestamp&)’:
/usr/local/zed/include/sl/Camera.hpp:2034:16: warning: implicitly-declared ‘constexpr sl::Timestamp::Timestamp(const sl::Timestamp&)’ is deprecated [-Wdeprecated-copy]
 2034 |         return lhs;
      |                ^~~
/usr/local/zed/include/sl/Camera.hpp:1963:20: note: because ‘sl::Timestamp’ has user-provided ‘sl::Timestamp& sl::Timestamp::operator=(sl::Timestamp)’
 1963 |         Timestamp& operator=(Timestamp other) {
      |                    ^~~~~~~~
/usr/local/zed/include/sl/Camera.hpp: In function ‘sl::Timestamp sl::operator*(sl::Timestamp, const sl::Timestamp&)’:
/usr/local/zed/include/sl/Camera.hpp:2039:16: warning: implicitly-declared ‘constexpr sl::Timestamp::Timestamp(const sl::Timestamp&)’ is deprecated [-Wdeprecated-copy]
 2039 |         return lhs;
      |                ^~~
/usr/local/zed/include/sl/Camera.hpp:1963:20: note: because ‘sl::Timestamp’ has user-provided ‘sl::Timestamp& sl::Timestamp::operator=(sl::Timestamp)’
 1963 |         Timestamp& operator=(Timestamp other) {
      |                    ^~~~~~~~
/usr/local/zed/include/sl/Camera.hpp: In function ‘sl::Timestamp sl::getCurrentTimeStamp()’:
/usr/local/zed/include/sl/Camera.hpp:2073:16: warning: implicitly-declared ‘constexpr sl::Timestamp::Timestamp(const sl::Timestamp&)’ is deprecated [-Wdeprecated-copy]
 2073 |         return current_ts;
      |                ^~~~~~~~~~
/usr/local/zed/include/sl/Camera.hpp:1963:20: note: because ‘sl::Timestamp’ has user-provided ‘sl::Timestamp& sl::Timestamp::operator=(sl::Timestamp)’
 1963 |         Timestamp& operator=(Timestamp other) {
      |                    ^~~~~~~~
/usr/local/zed/include/sl/Camera.hpp: In function ‘cudaError sl::__cudaSafeCall(cudaError, const char*, const char*, int)’:
/usr/local/zed/include/sl/Camera.hpp:2080:89: warning: unused parameter ‘file’ [-Wunused-parameter]
 2080 |     static inline cudaError __cudaSafeCall(cudaError err, const char *func, const char *file, const int line) {
      |                                                                             ~~~~~~~~~~~~^~~~
/usr/local/zed/include/sl/Camera.hpp:2080:105: warning: unused parameter ‘line’ [-Wunused-parameter]
 2080 |     static inline cudaError __cudaSafeCall(cudaError err, const char *func, const char *file, const int line) {
      |                                                                                               ~~~~~~~~~~^~~~
In file included from /home/florian/colcon_ws/install/zed_components/include/zed_components/sl_tools.h:50,
                 from /home/florian/colcon_ws/install/zed_components/include/zed_components/zed_camera_component.hpp:29,
                 from /home/florian/colcon_ws/src/zed-ros2-wrapper/zed_wrapper/src/zed_wrapper.cpp:26:
/usr/local/zed/include/sl/Camera.hpp: At global scope:
/usr/local/zed/include/sl/Camera.hpp:5410:12: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
 5410 |     inline const void /*@cond SHOWHIDDEN*/SL_SDK_EXPORT/*@endcond*/ getZEDSDKBuildVersion(int &major, int& minor, int& patch) {
      |            ^~~~~
/usr/local/zed/include/sl/Camera.hpp:5802:2: warning: extra ‘;’ [-Wpedantic]
 5802 | };
      |  ^
---
Finished <<< zed_wrapper [5.52s]
Starting >>> zed_ros2
Finished <<< zed_ros2 [0.47s]                   

Summary: 4 packages finished [34.4s]
  1 package had stderr output: zed_wrapper
3 Likes