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_core.hpp
1
// Wrapper to suppress warning from Eigen headers
2
#ifndef __FPSDK_COMMON_EXT_EIGEN_CORE_HPP__
3
#define __FPSDK_COMMON_EXT_EIGEN_CORE_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/Core>
15
#pragma GCC diagnostic pop
16
// For older Eigen (e.g. 3.3.7, which we have in fusion-dev-env and on the sensor), we unfortunately have to disable
17
// this warning globally (templates instantiation can be anywhere...). :-/ GCC 9 (in Yocto) doesn't like this.
18
// See https://gitlab.com/libeigen/eigen/-/issues/1788, https://gitlab.com/libeigen/eigen/-/merge_requests/29
19
#if !EIGEN_VERSION_AT_LEAST(3, 4, 0) && defined(__GNUC__) && (__GNUC__ >= 9)
20
# pragma GCC diagnostic ignored "-Wdeprecated-copy"
21
#endif
22
#endif
// __FPSDK_COMMON_EXT_EIGEN_CORE_HPP__
fpsdk_common
include
fpsdk_common
ext
eigen_core.hpp
Generated on Thu Nov 7 2024 20:57:20 for Fixposition SDK by
1.11.0