diff --git a/test/test_stream/impl/error.ipp b/test/test_stream/impl/error.ipp index 8448bf3a..e82750e9 100644 --- a/test/test_stream/impl/error.ipp +++ b/test/test_stream/impl/error.ipp @@ -12,6 +12,11 @@ #include "error.hpp" +#ifdef __MINGW32__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wnon-virtual-dtor" +#endif + namespace wintls { namespace test { @@ -45,6 +50,10 @@ public: } }; +#ifdef __MINGW32__ +#pragma GCC diagnostic pop +#endif + inline error_code make_error_code(wintls::test::error e) noexcept