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_stdvector.hpp
1// Wrapper to suppress warning from Eigen headers
2#ifndef __FPSDK_COMMON_EIGEN_STDVECTOR_HPP__
3#define __FPSDK_COMMON_EIGEN_STDVECTOR_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#if defined(__GNUC__) && (__GNUC__ >= 9)
11# pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
12# pragma GCC diagnostic ignored "-Wdeprecated-copy"
13# pragma GCC diagnostic ignored "-Walloc-size-larger-than="
14#endif
15#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
16#pragma GCC diagnostic ignored "-Walloc-size-larger-than="
17#include <Eigen/StdVector>
18#pragma GCC diagnostic pop
19// See exmplanation in eigen_core.hpp
20#if !EIGEN_VERSION_AT_LEAST(3, 4, 0) && defined(__GNUC__) && (__GNUC__ >= 9)
21# pragma GCC diagnostic ignored "-Wdeprecated-copy"
22#endif
23#endif // __FPSDK_COMMON_EIGEN_STDVECTOR_HPP__