From a5067853ffa54542711e9ae9a06c7e1361ea632d Mon Sep 17 00:00:00 2001 From: "bmeurer@chromium.org" Date: Fri, 8 Aug 2014 06:59:11 +0000 Subject: [PATCH] Skip -pedantic for GTest as long as we -std=gnu++0x. R=svenpanne@chromium.org Review URL: https://codereview.chromium.org/457553002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22986 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- test/base-unittests/base-unittests.gyp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/base-unittests/base-unittests.gyp b/test/base-unittests/base-unittests.gyp index e88f606..339269d 100644 --- a/test/base-unittests/base-unittests.gyp +++ b/test/base-unittests/base-unittests.gyp @@ -27,6 +27,15 @@ 'platform/time-unittest.cc', 'utils/random-number-generator-unittest.cc', ], + 'conditions': [ + ['os_posix == 1', { + # TODO(svenpanne): This is a temporary work-around to fix the warnings + # that show up because we use -std=gnu++0x instead of -std=c++11. + 'cflags!': [ + '-pedantic', + ], + }], + ], }, ], } -- 2.7.4