diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/gtest.gyp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/gtest.gyp b/testing/gtest.gyp index 3c01552c4c..563f340e99 100644 --- a/testing/gtest.gyp +++ b/testing/gtest.gyp @@ -142,6 +142,16 @@ ], 'msvs_disabled_warnings': [4800], }, + 'variables': { + 'clang_warning_flags': [ + # The Mutex constructor initializer list in gtest-port.cc is + # incorrectly ordered. See + # https://groups.google.com/d/msg/googletestframework/S5uSV8L2TX8/U1FaTDa6J6sJ. + '-Wno-reorder', + # Suppress warnings for unused constants. + '-Wno-unused' + ], + }, }, { 'target_name': 'gtest_main', |