From: khizmax Date: Tue, 19 Sep 2017 09:40:20 +0000 (+0300) Subject: Try to suppress -Wshadow warnings for googletest X-Git-Url: http://plrg.eecs.uci.edu/git/?p=libcds.git;a=commitdiff_plain;h=61f52828c665db74baa27010499a65f56da03754 Try to suppress -Wshadow warnings for googletest --- 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