I'm trying to build on Gentoo Linux. I always stuck with a error.
[ 10%] Building CXX object bin/CMakeFiles/gridfs.dir/**/src/gridfs_fuse.cpp.o
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/include/g++-v4/cinttypes:35:0,
from /usr/include/libmemcached-1.0/memcached.h:46,
from /usr/include/libmemcached/util/pool.h:41,
from /root/gridfs-fuse/src/gridfs_fuse.cpp:8:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/include/g++-v4/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
error This file requires compiler and library support for the \
Hi,
I'm trying to build on Gentoo Linux. I always stuck with a error.
[ 10%] Building CXX object bin/CMakeFiles/gridfs.dir/**/src/gridfs_fuse.cpp.o In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/include/g++-v4/cinttypes:35:0, from /usr/include/libmemcached-1.0/memcached.h:46, from /usr/include/libmemcached/util/pool.h:41, from /root/gridfs-fuse/src/gridfs_fuse.cpp:8: /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/include/g++-v4/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
error This file requires compiler and library support for the \
^ make[2]: * [bin/CMakeFiles/gridfs.dir//src/gridfs_fuse.cpp.o] Error 1 make[1]: * [bin/CMakeFiles/gridfs.dir/all] Error 2 make: * [all] Error 2
Thanks for help