Skip to content

Commit

Permalink
Suppress Warray-bound warnings from fmt library
Browse files Browse the repository at this point in the history
  • Loading branch information
JGRennison committed Jul 20, 2023
1 parent 508f871 commit 88ad19e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/core/format.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,15 @@
#ifndef FORMAT_HPP
#define FORMAT_HPP

#if defined(__GNUC__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Warray-bound"

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (GCC - Dedicated)

unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (GCC - Dedicated)

unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (GCC - Dedicated)

unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (GCC - Dedicated)

unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (GCC - Dedicated)

unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (GCC - Dedicated)

unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (GCC - Dedicated)

unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (GCC - Dedicated)

unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (GCC - Dedicated)

unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (GCC - Dedicated)

unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (Clang)

unknown warning group '-Warray-bound', ignored [-Wunknown-warning-option]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (Clang)

unknown warning group '-Warray-bound', ignored [-Wunknown-warning-option]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (Clang)

unknown warning group '-Warray-bound', ignored [-Wunknown-warning-option]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (Clang)

unknown warning group '-Warray-bound', ignored [-Wunknown-warning-option]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (Clang)

unknown warning group '-Warray-bound', ignored [-Wunknown-warning-option]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (Clang)

unknown warning group '-Warray-bound', ignored [-Wunknown-warning-option]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (Clang)

unknown warning group '-Warray-bound', ignored [-Wunknown-warning-option]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (Clang)

unknown warning group '-Warray-bound', ignored [-Wunknown-warning-option]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (Clang)

unknown warning group '-Warray-bound', ignored [-Wunknown-warning-option]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (Clang)

unknown warning group '-Warray-bound', ignored [-Wunknown-warning-option]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (GCC - SDL1.2)

unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (GCC - SDL1.2)

unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (GCC - SDL1.2)

unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (GCC - SDL1.2)

unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (GCC - SDL1.2)

unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (GCC - SDL1.2)

unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (GCC - SDL1.2)

unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (GCC - SDL1.2)

unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (GCC - SDL1.2)

unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (GCC - SDL1.2)

unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (GCC - SDL2)

unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (GCC - SDL2)

unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (GCC - SDL2)

unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (GCC - SDL2)

unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (GCC - SDL2)

unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (GCC - SDL2)

unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (GCC - SDL2)

unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (GCC - SDL2)

unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (GCC - SDL2)

unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Linux (GCC - SDL2)

unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Emscripten

unknown warning group '-Warray-bound', ignored [-Wunknown-warning-option]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Emscripten

unknown warning group '-Warray-bound', ignored [-Wunknown-warning-option]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Emscripten

unknown warning group '-Warray-bound', ignored [-Wunknown-warning-option]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Emscripten

unknown warning group '-Warray-bound', ignored [-Wunknown-warning-option]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Emscripten

unknown warning group '-Warray-bound', ignored [-Wunknown-warning-option]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Emscripten

unknown warning group '-Warray-bound', ignored [-Wunknown-warning-option]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Emscripten

unknown warning group '-Warray-bound', ignored [-Wunknown-warning-option]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Emscripten

unknown warning group '-Warray-bound', ignored [-Wunknown-warning-option]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Emscripten

unknown warning group '-Warray-bound', ignored [-Wunknown-warning-option]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Emscripten

unknown warning group '-Warray-bound', ignored [-Wunknown-warning-option]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / MinGW (x86_64)

unknown option after '#pragma GCC diagnostic' kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / MinGW (x86_64)

unknown option after '#pragma GCC diagnostic' kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / MinGW (x86_64)

unknown option after '#pragma GCC diagnostic' kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Mac OS (x64)

unknown warning group '-Warray-bound', ignored [-Wunknown-warning-option]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Mac OS (x64)

unknown warning group '-Warray-bound', ignored [-Wunknown-warning-option]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Mac OS (x64)

unknown warning group '-Warray-bound', ignored [-Wunknown-warning-option]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Mac OS (x64)

unknown warning group '-Warray-bound', ignored [-Wunknown-warning-option]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Mac OS (x64)

unknown warning group '-Warray-bound', ignored [-Wunknown-warning-option]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Mac OS (x64)

unknown warning group '-Warray-bound', ignored [-Wunknown-warning-option]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Mac OS (x64)

unknown warning group '-Warray-bound', ignored [-Wunknown-warning-option]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Mac OS (x64)

unknown warning group '-Warray-bound', ignored [-Wunknown-warning-option]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Mac OS (x64)

unknown warning group '-Warray-bound', ignored [-Wunknown-warning-option]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / Mac OS (x64)

unknown warning group '-Warray-bound', ignored [-Wunknown-warning-option]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / MinGW (i686)

unknown option after '#pragma GCC diagnostic' kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / MinGW (i686)

unknown option after '#pragma GCC diagnostic' kind [-Wpragmas]

Check warning on line 15 in src/core/format.hpp

View workflow job for this annotation

GitHub Actions / MinGW (i686)

unknown option after '#pragma GCC diagnostic' kind [-Wpragmas]

#include "../3rdparty/fmt/format.h"

#pragma GCC diagnostic pop
#endif /* __GNUC__ */

//#include "strong_typedef_type.hpp"

#include <type_traits>
Expand Down

0 comments on commit 88ad19e

Please sign in to comment.