Reviewers: Sven Panne,

Description:
Skip -pedantic for GTest as long as we -std=gnu++0x.

[email protected]

Please review this at https://codereview.chromium.org/457553002/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+9, -0 lines):
  M test/base-unittests/base-unittests.gyp


Index: test/base-unittests/base-unittests.gyp
diff --git a/test/base-unittests/base-unittests.gyp b/test/base-unittests/base-unittests.gyp index e88f606c7408555830fc3a4ea4b98689a6fd687d..339269db1bc798f96eddd5f29d0ef7ebd5a6b253 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',
+          ],
+        }],
+      ],
     },
   ],
 }


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to