From d506c59efa134b425f4cc839e29482a2f604f731 Mon Sep 17 00:00:00 2001 From: paboyle Date: Mon, 5 Mar 2018 11:39:20 +0000 Subject: [PATCH] Warnings disabled --- lib/DisableWarnings.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/DisableWarnings.h b/lib/DisableWarnings.h index 4d933e12..8a9de4b0 100644 --- a/lib/DisableWarnings.h +++ b/lib/DisableWarnings.h @@ -30,6 +30,10 @@ directory #ifndef DISABLE_WARNINGS_H #define DISABLE_WARNINGS_H +#if defined __GNUC__ && __GNUC__>=6 +#pragma GCC diagnostic ignored "-Wignored-attributes" +#endif + //disables and intel compiler specific warning (in json.hpp) #pragma warning disable 488