Go to the documentation of this file.
8 #include "onnxruntime_config.h"
12 #pragma GCC diagnostic push
14 #pragma GCC diagnostic ignored "-Wignored-attributes"
16 #pragma GCC diagnostic ignored "-Wunused-parameter"
17 #pragma GCC diagnostic ignored "-Wunused-result"
18 #ifdef HAS_DEPRECATED_COPY
19 #pragma GCC diagnostic ignored "-Wdeprecated-copy"
25 #ifdef HAS_CLASS_MEMACCESS
26 #pragma GCC diagnostic ignored "-Wclass-memaccess"
33 #ifdef HAS_DEPRECATED_DECLARATIONS
34 #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
40 #ifdef HAS_UNUSED_BUT_SET_VARIABLE
41 #pragma GCC diagnostic ignored "-Wunused-but-set-variable"
48 #ifdef HAS_SHORTEN_64_TO_32
49 #pragma GCC diagnostic ignored "-Wshorten-64-to-32"
52 #elif defined(_MSC_VER)
59 #pragma warning(disable : 4554)
60 #pragma warning(disable : 4245)
61 #pragma warning(disable : 4127)
64 #include "unsupported/Eigen/CXX11/Tensor"
67 #pragma GCC diagnostic pop
68 #elif defined(_MSC_VER)