Skip to content

Commit 5833f47

Browse files
committed
Switch to c++11
Summary: Looks like gnu++11 is not very portable (see #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
1 parent bc2ff59 commit 5833f47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build_tools/build_detect_platform

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ if test -z "$OUTPUT"; then
3838
fi
3939

4040
# we depend on C++11
41-
PLATFORM_CXXFLAGS="-std=gnu++11"
41+
PLATFORM_CXXFLAGS="-std=c++11"
4242
# we currently depend on POSIX platform
4343
COMMON_FLAGS="-DROCKSDB_PLATFORM_POSIX"
4444

0 commit comments

Comments
 (0)