Browse Source

silenced warnings about unknown pragmas in eigen and gmm wrapper

tempestpy_adaptions
Sebastian Junges 8 years ago
parent
commit
14be5c128f
  1. 4
      src/storm/utility/eigen.h
  2. 1
      src/storm/utility/gmm.h

4
src/storm/utility/eigen.h

@ -3,6 +3,9 @@
// Include this utility header so we can access utility function from Eigen.
#include "storm/utility/constants.h"
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunknown-pragmas"
// Finally include the parts of Eigen we need.
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wignored-attributes"
@ -11,3 +14,4 @@
#include <Eigen/Sparse>
#include <unsupported/Eigen/IterativeSolvers>
#pragma GCC diagnostic pop
#pragma clang diagnostic pop

1
src/storm/utility/gmm.h

@ -4,6 +4,7 @@
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-variable"
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wunknown-pragmas"
#pragma GCC diagnostic push

Loading…
Cancel
Save