Try to suppress -Wshadow warnings for googletest
authorkhizmax <khizmax@gmail.com>
Tue, 19 Sep 2017 09:40:20 +0000 (12:40 +0300)
committerkhizmax <khizmax@gmail.com>
Tue, 19 Sep 2017 09:40:20 +0000 (12:40 +0300)
test/include/cds_test/ext_gtest.h

index bc24ff6d894b8e30e8d9f7463315c004903fe4cf..617867015fbc991a21f106e4fc125021bd824330 100644 (file)
@@ -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 <gtest/gtest.h>