Suppress compiler warnings from fmt library

See: #570
pull/577/head
Jonathan G Rennison 11 months ago
parent 508f871c5f
commit d7ef1416a7

@ -10,7 +10,18 @@
#ifndef FORMAT_HPP
#define FORMAT_HPP
#if defined(__GNUC__) && (__GNUC__ >= 12)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Warray-bounds"
#pragma GCC diagnostic ignored "-Wstringop-overflow"
#endif /* __GNUC__ */
#include "../3rdparty/fmt/format.h"
#if defined(__GNUC__) && (__GNUC__ >= 12)
#pragma GCC diagnostic pop
#endif /* __GNUC__ */
//#include "strong_typedef_type.hpp"
#include <type_traits>

Loading…
Cancel
Save