From f1b8ba45e7076db3555e07a74b62e98e2f2c48b8 Mon Sep 17 00:00:00 2001 From: Quadro Date: Wed, 5 May 2021 19:54:21 -0400 Subject: [PATCH] Warning on GCC suppress unrelated to my code so why doesn't it shut up about its ABI fix --- Grid/DisableWarnings.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Grid/DisableWarnings.h b/Grid/DisableWarnings.h index 4bd1edd0..a725fc76 100644 --- a/Grid/DisableWarnings.h +++ b/Grid/DisableWarnings.h @@ -34,6 +34,9 @@ directory #if defined __GNUC__ && __GNUC__>=6 #pragma GCC diagnostic ignored "-Wignored-attributes" +#endif +#if defined __GNUC__ +#pragma GCC diagnostic ignored "-Wpsabi" #endif //disables and intel compiler specific warning (in json.hpp)