mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Add sign-compare suppression for warning coming from gtest.h
Differential Revision: D3935414 fbshipit-source-id: 5f531cc65e74cae4cb23a0706b92dac0f3ef272d
This commit is contained in:
committed by
Facebook Github Bot
parent
e4c21fe292
commit
fc154fcd74
@@ -1,8 +1,12 @@
|
||||
// Copyright 2004-present Facebook. All Rights Reserved.
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include <cxxreact/MethodCall.h>
|
||||
|
||||
#include <folly/json.h>
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wsign-compare"
|
||||
#include <gtest/gtest.h>
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
using namespace facebook;
|
||||
using namespace facebook::react;
|
||||
|
||||
Reference in New Issue
Block a user