diff options
author | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2019-06-14 14:57:46 +0200 |
---|---|---|
committer | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2019-06-14 14:57:46 +0200 |
commit | e0be7f30e137eba21bbde7b3c20300ce74b637b4 (patch) | |
tree | e1b5929237a7f2b1f7bbaaedd9d0a3efa4528bd2 /Eigen/src/Core/util | |
parent | 6d432eae5df88fe249d4db10c31647fa27872c8e (diff) |
bug #1724: Mask buggy warnings with g++-7
(grafted from 427f2f66d69ae9b124c2f8bcd927fb6e19e07e91
)
Diffstat (limited to 'Eigen/src/Core/util')
-rwxr-xr-x | Eigen/src/Core/util/DisableStupidWarnings.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Eigen/src/Core/util/DisableStupidWarnings.h b/Eigen/src/Core/util/DisableStupidWarnings.h index df6fcd63b..6c7c2d655 100755 --- a/Eigen/src/Core/util/DisableStupidWarnings.h +++ b/Eigen/src/Core/util/DisableStupidWarnings.h @@ -59,7 +59,10 @@ #if __GNUC__>=6 #pragma GCC diagnostic ignored "-Wignored-attributes" #endif - + #if __GNUC__==7 + // See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89325 + #pragma GCC diagnostic ignored "-Wattributes" + #endif #endif #if defined __NVCC__ |