From 61f52828c665db74baa27010499a65f56da03754 Mon Sep 17 00:00:00 2001 From: khizmax Date: Tue, 19 Sep 2017 12:40:20 +0300 Subject: [PATCH] Try to suppress -Wshadow warnings for googletest --- test/include/cds_test/ext_gtest.h | 1 + 1 file changed, 1 insertion(+) diff --git a/test/include/cds_test/ext_gtest.h b/test/include/cds_test/ext_gtest.h index bc24ff6d..61786701 100644 --- a/test/include/cds_test/ext_gtest.h +++ b/test/include/cds_test/ext_gtest.h @@ -36,6 +36,7 @@ # pragma GCC diagnostic push // Unfortunately, seems, -Wduplicated-branches cannot be controlled via this pragma # pragma GCC diagnostic ignored "-Wduplicated-branches" +# pragma GCC diagnostic ignored "-Wshadow" #endif #include -- 2.34.1