Fixposition SDK 0.0.0-heads/main-0-g7b59b93
Collection of c++ libraries and apps for use with Fixposition products
Loading...
Searching...
No Matches
eigen_conversions.hpp
1// Wrapper to suppress warnings from ROS headers
2#ifndef __FPSDK_ROS1_EXT_EIGEN_CONVERSIONS_HPP__
3#define __FPSDK_ROS1_EXT_EIGEN_CONVERSIONS_HPP__
4#pragma GCC diagnostic push
5#pragma GCC diagnostic ignored "-Wall"
6#pragma GCC diagnostic ignored "-Wextra"
7#pragma GCC diagnostic ignored "-Wpedantic"
8#pragma GCC diagnostic ignored "-Wunused-parameter"
9#pragma GCC diagnostic ignored "-Wshadow"
10#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
11#if defined(__GNUC__) && (__GNUC__ >= 9)
12# pragma GCC diagnostic ignored "-Wdeprecated-copy"
13#endif
14#include <eigen_conversions/eigen_msg.h>
15#pragma GCC diagnostic pop
16// See commentes in fp_common/ext/eigen_core.hpp
17#if !EIGEN_VERSION_AT_LEAST(3, 4, 0) && defined(__GNUC__) && (__GNUC__ >= 9)
18# pragma GCC diagnostic ignored "-Wdeprecated-copy"
19#endif
20#endif // __FPSDK_ROS1_EXT_EIGEN_CONVERSIONS_HPP__