From a89c9eed6bc9e63ef55ec8148905b7102232403d Mon Sep 17 00:00:00 2001 From: Martin Bauer <martin.bauer@fau.de> Date: Wed, 20 Sep 2017 14:38:39 +0200 Subject: [PATCH] Removed warning in warning-ignore pragma :) --- src/postprocessing/sqlite/extern/sqlite3.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/postprocessing/sqlite/extern/sqlite3.c b/src/postprocessing/sqlite/extern/sqlite3.c index 0395a6699..cdc33f2e9 100644 --- a/src/postprocessing/sqlite/extern/sqlite3.c +++ b/src/postprocessing/sqlite/extern/sqlite3.c @@ -44,8 +44,10 @@ // Disable gcc warnings #ifdef WALBERLA_CXX_COMPILER_IS_GNU +#if __GNUC__ > 6 #pragma GCC diagnostic ignored "-Wstringop-overflow" #endif +#endif // Disable thread safety and load extension - compilable on all systems #define SQLITE_THREADSAFE 0 -- GitLab