From c507a05f7025abaf2f79a92513a0eca1335cb07e Mon Sep 17 00:00:00 2001 From: Chris Hopman Date: Mon, 12 Sep 2016 16:34:15 -0700 Subject: [PATCH] Use c++1y for cxxreact Reviewed By: mhorowitz Differential Revision: D3852279 fbshipit-source-id: a7b80170d6b86428db47c15bbf02d68d293112fc --- ReactCommon/cxxreact/BUCK | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ReactCommon/cxxreact/BUCK b/ReactCommon/cxxreact/BUCK index 6c5ec502c..48eece686 100644 --- a/ReactCommon/cxxreact/BUCK +++ b/ReactCommon/cxxreact/BUCK @@ -91,7 +91,7 @@ cxx_library( '-fno-omit-frame-pointer', '-Wall', '-Werror', - '-std=c++11', + '-std=c++1y', '-fexceptions', ], deps = [ @@ -167,6 +167,7 @@ react_library( '-fexceptions', '-fvisibility=hidden', '-frtti', + '-std=c++1y', ] + REACT_LIBRARY_EXTRA_COMPILER_FLAGS, deps = [ ':module',