From 5833f47114bbca249d5402afa434e53c3102b818 Mon Sep 17 00:00:00 2001 From: Igor Canadi Date: Mon, 10 Feb 2014 11:06:25 -0800 Subject: [PATCH] Switch to c++11 Summary: Looks like gnu++11 is not very portable (see https://github.com/facebook/rocksdb/issues/80). We don't (yet) depend on any extensions of gnu++11, so I think we should switch back to c++11. More on this topic here: http://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Extensions.html Test Plan: make check works :) Reviewers: kailiu, dhruba, haobo Reviewed By: kailiu CC: leveldb Differential Revision: https://reviews.facebook.net/D16053 --- build_tools/build_detect_platform | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_tools/build_detect_platform b/build_tools/build_detect_platform index 8e83ae497..abfe0189b 100755 --- a/build_tools/build_detect_platform +++ b/build_tools/build_detect_platform @@ -38,7 +38,7 @@ if test -z "$OUTPUT"; then fi # we depend on C++11 -PLATFORM_CXXFLAGS="-std=gnu++11" +PLATFORM_CXXFLAGS="-std=c++11" # we currently depend on POSIX platform COMMON_FLAGS="-DROCKSDB_PLATFORM_POSIX"