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 bc24ff6..6178670 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>