Add `sign-compare` suppression for warning coming from `gtest.h`

Differential Revision: D3935414

fbshipit-source-id: 5f531cc65e74cae4cb23a0706b92dac0f3ef272d
This commit is contained in:
Michael Lee 2016-09-28 14:35:59 -07:00 committed by Facebook Github Bot
parent e4c21fe292
commit fc154fcd74
1 changed files with 5 additions and 1 deletions

View File

@ -1,8 +1,12 @@
// Copyright 2004-present Facebook. All Rights Reserved. // Copyright 2004-present Facebook. All Rights Reserved.
#include <gtest/gtest.h>
#include <cxxreact/MethodCall.h> #include <cxxreact/MethodCall.h>
#include <folly/json.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;
using namespace facebook::react; using namespace facebook::react;