diff --git a/test/http.cpp b/test/http.cpp index 6500c8f7b..0a1950a8c 100644 --- a/test/http.cpp +++ b/test/http.cpp @@ -144,9 +144,16 @@ TEST(Http, reader) { #pragma clang diagnostic ignored "-Wunknown-pragmas" #pragma clang diagnostic ignored "-Wunknown-warning-option" #pragma clang diagnostic ignored "-Wself-move" +#endif +#if TD_GCC +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wconversion" #endif a = std::move(a); b = std::move(b); +#if TD_GCC +#pragma GCC diagnostic pop +#endif #if TD_CLANG #pragma clang diagnostic pop #endif