Add `sign-compare` suppression for warning coming from `gtest.h`
Differential Revision: D3935414 fbshipit-source-id: 5f531cc65e74cae4cb23a0706b92dac0f3ef272d
This commit is contained in:
parent
e4c21fe292
commit
fc154fcd74
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue