From 7705432820db1148c8448b7dd1baf99702da5c72 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Wed, 20 Dec 2023 13:13:52 -0600 Subject: [PATCH] refactor --- .cspell/words.txt | 1 + include/common.hpp | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.cspell/words.txt b/.cspell/words.txt index 945ea026..83857d96 100644 --- a/.cspell/words.txt +++ b/.cspell/words.txt @@ -242,6 +242,7 @@ usermount userprofile utimens utimensat +waggressive wcast wconversion wdouble diff --git a/include/common.hpp b/include/common.hpp index d88f43a4..77e3ae8b 100644 --- a/include/common.hpp +++ b/include/common.hpp @@ -24,8 +24,9 @@ #if defined(__GNUC__) // clang-format off -#define REPERTORY_IGNORE_WARNINGS_ENABLE() \ +#define REPERTORY_IGNORE_WARNINGS_ENABLE() \ _Pragma("GCC diagnostic push") \ + _Pragma("GCC diagnostic ignored \"-Waggressive-loop-optimizations\"") \ _Pragma("GCC diagnostic ignored \"-Wconversion\"") \ _Pragma("GCC diagnostic ignored \"-Wdouble-promotion\"") \ _Pragma("GCC diagnostic ignored \"-Wduplicated-branches\"") \ @@ -121,6 +122,7 @@ template #include #include #include +#include #include #include #include