mirror of https://github.com/gabime/spdlog.git
Use pragams instead of compile options
parent
b8fdc9bf5d
commit
29b24f9e72
@ -1,2 +1,11 @@
|
|||||||
|
#if defined (__GNUC__) && __GNUC__ == 12
|
||||||
|
# pragma GCC diagnostic push
|
||||||
|
# pragma GCC diagnostic ignored "-Wmaybe-uninitialized" // Workaround for GCC 12
|
||||||
|
#endif
|
||||||
|
|
||||||
#define CATCH_CONFIG_MAIN
|
#define CATCH_CONFIG_MAIN
|
||||||
#include "catch.hpp"
|
#include "catch.hpp"
|
||||||
|
|
||||||
|
#if defined (__GNUC__) && __GNUC__ == 12
|
||||||
|
# pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue