From ebd37e2015fbb89d20892a2a8283b1b823833fa4 Mon Sep 17 00:00:00 2001 From: khizmax Date: Fri, 26 May 2017 22:44:28 +0300 Subject: [PATCH] Added a comment --- test/include/cds_test/ext_gtest.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/include/cds_test/ext_gtest.h b/test/include/cds_test/ext_gtest.h index 0d525018..bc24ff6d 100644 --- a/test/include/cds_test/ext_gtest.h +++ b/test/include/cds_test/ext_gtest.h @@ -31,8 +31,10 @@ #ifndef CDSTEST_EXT_GTEST_H #define CDSTEST_EXT_GTEST_H + #if defined( __GCC__ ) && !defined(__clang__) && __GNUC__ >= 7 # pragma GCC diagnostic push + // Unfortunately, seems, -Wduplicated-branches cannot be controlled via this pragma # pragma GCC diagnostic ignored "-Wduplicated-branches" #endif -- 2.34.1