[ 82%] Built target cryptopp-static [ 82%] Building CXX object CMakeFiles/securefs-static.dir/sources/lite_fs.cpp.o In file included from /temp/securefs-0.7.3/sources/lite_fs.h:3:0, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /temp/securefs-0.7.3/sources/aes_siv.h:19:5: warning: identifier ‘constexpr’ is a keyword in C++11 [-Wc++0x-compat] static constexpr size_t IV_SIZE = 16; ^ In file included from /temp/securefs-0.7.3/sources/myutils.h:2:0, from /temp/securefs-0.7.3/sources/exceptions.h:2, from /temp/securefs-0.7.3/sources/streams.h:2, from /temp/securefs-0.7.3/sources/lite_stream.h:3, from /temp/securefs-0.7.3/sources/lite_fs.h:4, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /temp/securefs-0.7.3/sources/mystring.h:23:5: warning: identifier ‘nullptr’ is a keyword in C++11 [-Wc++0x-compat] BasicStringRef() : m_buffer(nullptr), m_size(0) {} ^ /temp/securefs-0.7.3/sources/mystring.h:30:5: warning: identifier ‘noexcept’ is a keyword in C++11 [-Wc++0x-compat] const CharT* data() const noexcept { return m_buffer; } ^ In file included from /usr/include/c++/4.9/type_traits:35:0, from /temp/securefs-0.7.3/external/optional.hpp:14, from /temp/securefs-0.7.3/sources/myutils.h:4, from /temp/securefs-0.7.3/sources/exceptions.h:2, from /temp/securefs-0.7.3/sources/streams.h:2, from /temp/securefs-0.7.3/sources/lite_stream.h:3, from /temp/securefs-0.7.3/sources/lite_fs.h:4, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /usr/include/c++/4.9/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 \ ^ In file included from /temp/securefs-0.7.3/sources/myutils.h:4:0, from /temp/securefs-0.7.3/sources/exceptions.h:2, from /temp/securefs-0.7.3/sources/streams.h:2, from /temp/securefs-0.7.3/sources/lite_stream.h:3, from /temp/securefs-0.7.3/sources/lite_fs.h:4, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /temp/securefs-0.7.3/external/optional.hpp:189:5: warning: identifier ‘static_assert’ is a keyword in C++11 [-Wc++0x-compat] static_assert(!std::is_lvalue_reference::value, "!!"); ^ In file included from /temp/securefs-0.7.3/sources/lite_fs.h:3:0, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /temp/securefs-0.7.3/sources/aes_siv.h:19:12: error: ‘constexpr’ does not name a type static constexpr size_t IV_SIZE = 16; ^ /temp/securefs-0.7.3/sources/aes_siv.h:19:12: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 In file included from /temp/securefs-0.7.3/sources/myutils.h:2:0, from /temp/securefs-0.7.3/sources/exceptions.h:2, from /temp/securefs-0.7.3/sources/streams.h:2, from /temp/securefs-0.7.3/sources/lite_stream.h:3, from /temp/securefs-0.7.3/sources/lite_fs.h:4, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /temp/securefs-0.7.3/sources/mystring.h:30:25: error: expected ‘;’ at end of member declaration const CharT* data() const noexcept { return m_buffer; } ^ /temp/securefs-0.7.3/sources/mystring.h:30:31: error: ‘noexcept’ does not name a type const CharT* data() const noexcept { return m_buffer; } ^ /temp/securefs-0.7.3/sources/mystring.h:31:26: error: expected ‘;’ at end of member declaration const CharT* c_str() const noexcept { return m_buffer; } ^ /temp/securefs-0.7.3/sources/mystring.h:31:32: error: ‘noexcept’ does not name a type const CharT* c_str() const noexcept { return m_buffer; } ^ /temp/securefs-0.7.3/sources/mystring.h:32:19: error: expected ‘;’ at end of member declaration size_t size() const noexcept { return m_size; } ^ /temp/securefs-0.7.3/sources/mystring.h:32:25: error: ‘noexcept’ does not name a type size_t size() const noexcept { return m_size; } ^ /temp/securefs-0.7.3/sources/mystring.h:33:21: error: expected ‘;’ at end of member declaration size_t length() const noexcept { return m_size; } ^ /temp/securefs-0.7.3/sources/mystring.h:33:27: error: ‘noexcept’ does not name a type size_t length() const noexcept { return m_size; } ^ /temp/securefs-0.7.3/sources/mystring.h:34:32: error: expected ‘;’ at end of member declaration CharT operator[](size_t i) const noexcept { return m_buffer[i]; } ^ /temp/securefs-0.7.3/sources/mystring.h:34:38: error: ‘noexcept’ does not name a type CharT operator[](size_t i) const noexcept { return m_buffer[i]; } ^ /temp/securefs-0.7.3/sources/mystring.h:35:26: error: expected ‘;’ at end of member declaration const CharT* begin() const noexcept { return data(); } ^ /temp/securefs-0.7.3/sources/mystring.h:35:32: error: ‘noexcept’ does not name a type const CharT* begin() const noexcept { return data(); } ^ /temp/securefs-0.7.3/sources/mystring.h:36:24: error: expected ‘;’ at end of member declaration const CharT* end() const noexcept { return data() + size(); } ^ /temp/securefs-0.7.3/sources/mystring.h:36:30: error: ‘noexcept’ does not name a type const CharT* end() const noexcept { return data() + size(); } ^ /temp/securefs-0.7.3/sources/mystring.h:37:19: error: expected ‘;’ at end of member declaration CharT front() const noexcept { return m_buffer[0]; } ^ /temp/securefs-0.7.3/sources/mystring.h:37:25: error: ‘noexcept’ does not name a type CharT front() const noexcept { return m_buffer[0]; } ^ /temp/securefs-0.7.3/sources/mystring.h:38:18: error: expected ‘;’ at end of member declaration CharT back() const noexcept { return m_buffer[m_size - 1]; } ^ /temp/securefs-0.7.3/sources/mystring.h:38:24: error: ‘noexcept’ does not name a type CharT back() const noexcept { return m_buffer[m_size - 1]; } ^ /temp/securefs-0.7.3/sources/mystring.h:39:18: error: expected ‘;’ at end of member declaration bool empty() const noexcept { return size() == 0; } ^ /temp/securefs-0.7.3/sources/mystring.h:39:24: error: ‘noexcept’ does not name a type bool empty() const noexcept { return size() == 0; } ^ /temp/securefs-0.7.3/sources/mystring.h:44:52: error: expected ‘;’ at end of member declaration bool starts_with(BasicStringRef prefix) const noexcept ^ /temp/securefs-0.7.3/sources/mystring.h:44:58: error: ‘noexcept’ does not name a type bool starts_with(BasicStringRef prefix) const noexcept ^ /temp/securefs-0.7.3/sources/mystring.h:49:50: error: expected ‘;’ at end of member declaration bool ends_with(BasicStringRef suffix) const noexcept ^ /temp/securefs-0.7.3/sources/mystring.h:49:56: error: ‘noexcept’ does not name a type bool ends_with(BasicStringRef suffix) const noexcept ^ /temp/securefs-0.7.3/sources/mystring.h: In constructor ‘securefs::BasicStringRef::BasicStringRef()’: /temp/securefs-0.7.3/sources/mystring.h:23:33: error: ‘nullptr’ was not declared in this scope BasicStringRef() : m_buffer(nullptr), m_size(0) {} ^ In file included from /temp/securefs-0.7.3/sources/myutils.h:4:0, from /temp/securefs-0.7.3/sources/exceptions.h:2, from /temp/securefs-0.7.3/sources/streams.h:2, from /temp/securefs-0.7.3/sources/lite_stream.h:3, from /temp/securefs-0.7.3/sources/lite_fs.h:4, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /temp/securefs-0.7.3/external/optional.hpp: At global scope: /temp/securefs-0.7.3/external/optional.hpp:182:27: error: ‘constexpr’ does not name a type template inline constexpr T&& constexpr_forward(typename std::remove_reference::type& t) noexcept ^ /temp/securefs-0.7.3/external/optional.hpp:182:27: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:187:27: error: ‘constexpr’ does not name a type template inline constexpr T&& constexpr_forward(typename std::remove_reference::type&& t) noexcept ^ /temp/securefs-0.7.3/external/optional.hpp:187:27: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:193:27: error: ‘constexpr’ does not name a type template inline constexpr typename std::remove_reference::type&& constexpr_move(T&& t) noexcept ^ /temp/securefs-0.7.3/external/optional.hpp:193:27: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:214:3: error: ‘constexpr’ does not name a type constexpr static bool has_overload(...) { return false; } ^ /temp/securefs-0.7.3/external/optional.hpp:214:3: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:216:40: error: ‘declval’ is not a member of ‘std’ template ().operator&()) > ^ /temp/securefs-0.7.3/external/optional.hpp:216:54: error: expected primary-expression before ‘&’ token template ().operator&()) > ^ /temp/securefs-0.7.3/external/optional.hpp:216:55: error: expected primary-expression before ‘>’ token template ().operator&()) > ^ /temp/securefs-0.7.3/external/optional.hpp:216:57: error: expected primary-expression before ‘)’ token template ().operator&()) > ^ /temp/securefs-0.7.3/external/optional.hpp:217:3: error: ‘constexpr’ does not name a type constexpr static bool has_overload(bool) { return true; } ^ /temp/securefs-0.7.3/external/optional.hpp:217:3: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:219:3: error: ‘constexpr’ does not name a type constexpr static bool value = has_overload(true); ^ /temp/securefs-0.7.3/external/optional.hpp:219:3: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:21:46: error: expected nested-name-specifier before ‘enable_if’ # define TR2_OPTIONAL_REQUIRES(...) typename enable_if<__VA_ARGS__::value, bool>::type = false ^ /temp/securefs-0.7.3/external/optional.hpp:222:23: note: in expansion of macro ‘TR2_OPTIONAL_REQUIRES’ template )> ^ /temp/securefs-0.7.3/external/optional.hpp:21:55: error: expected ‘>’ before ‘<’ token # define TR2_OPTIONAL_REQUIRES(...) typename enable_if<__VA_ARGS__::value, bool>::type = false ^ /temp/securefs-0.7.3/external/optional.hpp:222:23: note: in expansion of macro ‘TR2_OPTIONAL_REQUIRES’ template )> ^ /temp/securefs-0.7.3/external/optional.hpp:223:1: error: ‘constexpr’ does not name a type constexpr T* static_addressof(T& ref) ^ /temp/securefs-0.7.3/external/optional.hpp:223:1: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:21:46: error: expected nested-name-specifier before ‘enable_if’ # define TR2_OPTIONAL_REQUIRES(...) typename enable_if<__VA_ARGS__::value, bool>::type = false ^ /temp/securefs-0.7.3/external/optional.hpp:228:23: note: in expansion of macro ‘TR2_OPTIONAL_REQUIRES’ template )> ^ /temp/securefs-0.7.3/external/optional.hpp:21:55: error: expected ‘>’ before ‘<’ token # define TR2_OPTIONAL_REQUIRES(...) typename enable_if<__VA_ARGS__::value, bool>::type = false ^ /temp/securefs-0.7.3/external/optional.hpp:228:23: note: in expansion of macro ‘TR2_OPTIONAL_REQUIRES’ template )> ^ /temp/securefs-0.7.3/external/optional.hpp: In function ‘T* std::experimental::detail_::static_addressof(T&)’: /temp/securefs-0.7.3/external/optional.hpp:231:10: error: ‘addressof’ is not a member of ‘std’ return std::addressof(ref); ^ /temp/securefs-0.7.3/external/optional.hpp: At global scope: /temp/securefs-0.7.3/external/optional.hpp:237:1: error: ‘constexpr’ does not name a type constexpr U convert(U v) { return v; } ^ /temp/securefs-0.7.3/external/optional.hpp:237:1: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:242:1: error: ‘constexpr’ does not name a type constexpr struct trivial_init_t{} trivial_init{}; ^ /temp/securefs-0.7.3/external/optional.hpp:242:1: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:242:35: error: ‘trivial_init’ does not name a type constexpr struct trivial_init_t{} trivial_init{}; ^ /temp/securefs-0.7.3/external/optional.hpp:246:1: error: ‘constexpr’ does not name a type constexpr struct in_place_t{} in_place{}; ^ /temp/securefs-0.7.3/external/optional.hpp:246:1: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:246:31: error: ‘in_place’ does not name a type constexpr struct in_place_t{} in_place{}; ^ /temp/securefs-0.7.3/external/optional.hpp:253:3: error: ‘constexpr’ does not name a type constexpr explicit nullopt_t(init){} ^ /temp/securefs-0.7.3/external/optional.hpp:253:3: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:255:1: error: ‘constexpr’ does not name a type constexpr nullopt_t nullopt{nullopt_t::init()}; ^ /temp/securefs-0.7.3/external/optional.hpp:255:1: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp: In constructor ‘std::experimental::bad_optional_access::bad_optional_access(const string&)’: /temp/securefs-0.7.3/external/optional.hpp:261:69: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 explicit bad_optional_access(const string& what_arg) : logic_error{what_arg} {} ^ /temp/securefs-0.7.3/external/optional.hpp: In constructor ‘std::experimental::bad_optional_access::bad_optional_access(const char*)’: /temp/securefs-0.7.3/external/optional.hpp:262:67: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 explicit bad_optional_access(const char* what_arg) : logic_error{what_arg} {} ^ /temp/securefs-0.7.3/external/optional.hpp: At global scope: /temp/securefs-0.7.3/external/optional.hpp:272:3: error: ‘constexpr’ does not name a type constexpr storage_t( trivial_init_t ) noexcept : dummy_() {}; ^ /temp/securefs-0.7.3/external/optional.hpp:272:3: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:274:18: warning: variadic templates only available with -std=c++11 or -std=gnu++11 template ^ /temp/securefs-0.7.3/external/optional.hpp:275:3: error: ‘constexpr’ does not name a type constexpr storage_t( Args&&... args ) : value_(constexpr_forward(args)...) {} ^ /temp/securefs-0.7.3/external/optional.hpp:275:3: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:287:5: error: ‘constexpr’ does not name a type constexpr constexpr_storage_t( trivial_init_t ) noexcept : dummy_() {}; ^ /temp/securefs-0.7.3/external/optional.hpp:287:5: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:289:20: warning: variadic templates only available with -std=c++11 or -std=gnu++11 template ^ /temp/securefs-0.7.3/external/optional.hpp:290:5: error: ‘constexpr’ does not name a type constexpr constexpr_storage_t( Args&&... args ) : value_(constexpr_forward(args)...) {} ^ /temp/securefs-0.7.3/external/optional.hpp:290:5: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:292:30: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 ~constexpr_storage_t() = default; ^ /temp/securefs-0.7.3/external/optional.hpp:302:5: error: ‘constexpr’ does not name a type constexpr optional_base() noexcept : init_(false), storage_(trivial_init) {}; ^ /temp/securefs-0.7.3/external/optional.hpp:302:5: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:304:14: error: ‘constexpr’ does not name a type explicit constexpr optional_base(const T& v) : init_(true), storage_(v) {} ^ /temp/securefs-0.7.3/external/optional.hpp:304:14: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:306:14: error: ‘constexpr’ does not name a type explicit constexpr optional_base(T&& v) : init_(true), storage_(constexpr_move(v)) {} ^ /temp/securefs-0.7.3/external/optional.hpp:306:14: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:308:20: warning: variadic templates only available with -std=c++11 or -std=gnu++11 template explicit optional_base(in_place_t, Args&&... args) ^ /temp/securefs-0.7.3/external/optional.hpp:308:63: error: expected ‘)’ before ‘,’ token template explicit optional_base(in_place_t, Args&&... args) ^ /temp/securefs-0.7.3/external/optional.hpp:311:29: warning: variadic templates only available with -std=c++11 or -std=gnu++11 template >)> ^ /temp/securefs-0.7.3/external/optional.hpp:21:46: error: expected nested-name-specifier before ‘enable_if’ # define TR2_OPTIONAL_REQUIRES(...) typename enable_if<__VA_ARGS__::value, bool>::type = false ^ /temp/securefs-0.7.3/external/optional.hpp:311:39: note: in expansion of macro ‘TR2_OPTIONAL_REQUIRES’ template >)> ^ /temp/securefs-0.7.3/external/optional.hpp:21:55: error: expected ‘>’ before ‘<’ token # define TR2_OPTIONAL_REQUIRES(...) typename enable_if<__VA_ARGS__::value, bool>::type = false ^ /temp/securefs-0.7.3/external/optional.hpp:311:39: note: in expansion of macro ‘TR2_OPTIONAL_REQUIRES’ template >)> ^ /temp/securefs-0.7.3/external/optional.hpp:313:66: error: expected unqualified-id before ‘{’ token : init_(true), storage_(il, std::forward(args)...) {} ^ /temp/securefs-0.7.3/external/optional.hpp:325:5: error: ‘constexpr’ does not name a type constexpr constexpr_optional_base() noexcept : init_(false), storage_(trivial_init) {}; ^ /temp/securefs-0.7.3/external/optional.hpp:325:5: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:327:14: error: ‘constexpr’ does not name a type explicit constexpr constexpr_optional_base(const T& v) : init_(true), storage_(v) {} ^ /temp/securefs-0.7.3/external/optional.hpp:327:14: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:329:14: error: ‘constexpr’ does not name a type explicit constexpr constexpr_optional_base(T&& v) : init_(true), storage_(constexpr_move(v)) {} ^ /temp/securefs-0.7.3/external/optional.hpp:329:14: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:331:20: warning: variadic templates only available with -std=c++11 or -std=gnu++11 template explicit constexpr constexpr_optional_base(in_place_t, Args&&... args) ^ /temp/securefs-0.7.3/external/optional.hpp:331:39: error: ‘constexpr’ does not name a type template explicit constexpr constexpr_optional_base(in_place_t, Args&&... args) ^ /temp/securefs-0.7.3/external/optional.hpp:331:39: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:334:29: warning: variadic templates only available with -std=c++11 or -std=gnu++11 template >)> ^ /temp/securefs-0.7.3/external/optional.hpp:21:46: error: expected nested-name-specifier before ‘enable_if’ # define TR2_OPTIONAL_REQUIRES(...) typename enable_if<__VA_ARGS__::value, bool>::type = false ^ /temp/securefs-0.7.3/external/optional.hpp:334:39: note: in expansion of macro ‘TR2_OPTIONAL_REQUIRES’ template >)> ^ /temp/securefs-0.7.3/external/optional.hpp:21:55: error: expected ‘>’ before ‘<’ token # define TR2_OPTIONAL_REQUIRES(...) typename enable_if<__VA_ARGS__::value, bool>::type = false ^ /temp/securefs-0.7.3/external/optional.hpp:334:39: note: in expansion of macro ‘TR2_OPTIONAL_REQUIRES’ template >)> ^ /temp/securefs-0.7.3/external/optional.hpp:336:64: error: expected unqualified-id before ‘{’ token : init_(true), storage_(il, std::forward(args)...) {} ^ /temp/securefs-0.7.3/external/optional.hpp:338:34: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 ~constexpr_optional_base() = default; ^ /temp/securefs-0.7.3/external/optional.hpp:342:1: error: expected unqualified-id before ‘using’ using OptionalBase = typename std::conditional< ^ /temp/securefs-0.7.3/external/optional.hpp:351:38: error: expected template-name before ‘<’ token class optional : private OptionalBase ^ /temp/securefs-0.7.3/external/optional.hpp:351:38: error: expected ‘{’ before ‘<’ token /temp/securefs-0.7.3/external/optional.hpp:351:38: error: expected unqualified-id before ‘<’ token In file included from /temp/securefs-0.7.3/sources/myutils.h:4:0, from /temp/securefs-0.7.3/sources/exceptions.h:2, from /temp/securefs-0.7.3/sources/streams.h:2, from /temp/securefs-0.7.3/sources/lite_stream.h:3, from /temp/securefs-0.7.3/sources/lite_fs.h:4, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /temp/securefs-0.7.3/external/optional.hpp:606:18: error: expected identifier before ‘sizeof’ static_assert( sizeof(T) == 0, "optional rvalue references disallowed" ); ^ /temp/securefs-0.7.3/external/optional.hpp:606:18: error: expected ‘,’ or ‘...’ before ‘sizeof’ /temp/securefs-0.7.3/external/optional.hpp:606:74: error: ISO C++ forbids declaration of ‘static_assert’ with no type [-fpermissive] static_assert( sizeof(T) == 0, "optional rvalue references disallowed" ); ^ /temp/securefs-0.7.3/external/optional.hpp:611:19: error: template argument 1 is invalid class optional ^ /temp/securefs-0.7.3/external/optional.hpp:618:20: error: ‘constexpr’ does not name a type template constexpr bool operator==(const optional& x, const optional& y) ^ /temp/securefs-0.7.3/external/optional.hpp:618:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:623:20: error: ‘constexpr’ does not name a type template constexpr bool operator!=(const optional& x, const optional& y) ^ /temp/securefs-0.7.3/external/optional.hpp:623:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:628:20: error: ‘constexpr’ does not name a type template constexpr bool operator<(const optional& x, const optional& y) ^ /temp/securefs-0.7.3/external/optional.hpp:628:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:633:20: error: ‘constexpr’ does not name a type template constexpr bool operator>(const optional& x, const optional& y) ^ /temp/securefs-0.7.3/external/optional.hpp:633:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:638:20: error: ‘constexpr’ does not name a type template constexpr bool operator<=(const optional& x, const optional& y) ^ /temp/securefs-0.7.3/external/optional.hpp:638:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:643:20: error: ‘constexpr’ does not name a type template constexpr bool operator>=(const optional& x, const optional& y) ^ /temp/securefs-0.7.3/external/optional.hpp:643:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:650:20: error: ‘constexpr’ does not name a type template constexpr bool operator==(const optional& x, nullopt_t) noexcept ^ /temp/securefs-0.7.3/external/optional.hpp:650:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:655:20: error: ‘constexpr’ does not name a type template constexpr bool operator==(nullopt_t, const optional& x) noexcept ^ /temp/securefs-0.7.3/external/optional.hpp:655:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:660:20: error: ‘constexpr’ does not name a type template constexpr bool operator!=(const optional& x, nullopt_t) noexcept ^ /temp/securefs-0.7.3/external/optional.hpp:660:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:665:20: error: ‘constexpr’ does not name a type template constexpr bool operator!=(nullopt_t, const optional& x) noexcept ^ /temp/securefs-0.7.3/external/optional.hpp:665:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:670:20: error: ‘constexpr’ does not name a type template constexpr bool operator<(const optional&, nullopt_t) noexcept ^ /temp/securefs-0.7.3/external/optional.hpp:670:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:675:20: error: ‘constexpr’ does not name a type template constexpr bool operator<(nullopt_t, const optional& x) noexcept ^ /temp/securefs-0.7.3/external/optional.hpp:675:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:680:20: error: ‘constexpr’ does not name a type template constexpr bool operator<=(const optional& x, nullopt_t) noexcept ^ /temp/securefs-0.7.3/external/optional.hpp:680:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:685:20: error: ‘constexpr’ does not name a type template constexpr bool operator<=(nullopt_t, const optional&) noexcept ^ /temp/securefs-0.7.3/external/optional.hpp:685:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:690:20: error: ‘constexpr’ does not name a type template constexpr bool operator>(const optional& x, nullopt_t) noexcept ^ /temp/securefs-0.7.3/external/optional.hpp:690:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:695:20: error: ‘constexpr’ does not name a type template constexpr bool operator>(nullopt_t, const optional&) noexcept ^ /temp/securefs-0.7.3/external/optional.hpp:695:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:700:20: error: ‘constexpr’ does not name a type template constexpr bool operator>=(const optional&, nullopt_t) noexcept ^ /temp/securefs-0.7.3/external/optional.hpp:700:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:705:20: error: ‘constexpr’ does not name a type template constexpr bool operator>=(nullopt_t, const optional& x) noexcept ^ /temp/securefs-0.7.3/external/optional.hpp:705:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:713:20: error: ‘constexpr’ does not name a type template constexpr bool operator==(const optional& x, const T& v) ^ /temp/securefs-0.7.3/external/optional.hpp:713:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:718:20: error: ‘constexpr’ does not name a type template constexpr bool operator==(const T& v, const optional& x) ^ /temp/securefs-0.7.3/external/optional.hpp:718:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:723:20: error: ‘constexpr’ does not name a type template constexpr bool operator!=(const optional& x, const T& v) ^ /temp/securefs-0.7.3/external/optional.hpp:723:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:728:20: error: ‘constexpr’ does not name a type template constexpr bool operator!=(const T& v, const optional& x) ^ /temp/securefs-0.7.3/external/optional.hpp:728:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:733:20: error: ‘constexpr’ does not name a type template constexpr bool operator<(const optional& x, const T& v) ^ /temp/securefs-0.7.3/external/optional.hpp:733:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:738:20: error: ‘constexpr’ does not name a type template constexpr bool operator>(const T& v, const optional& x) ^ /temp/securefs-0.7.3/external/optional.hpp:738:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:743:20: error: ‘constexpr’ does not name a type template constexpr bool operator>(const optional& x, const T& v) ^ /temp/securefs-0.7.3/external/optional.hpp:743:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:748:20: error: ‘constexpr’ does not name a type template constexpr bool operator<(const T& v, const optional& x) ^ /temp/securefs-0.7.3/external/optional.hpp:748:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:753:20: error: ‘constexpr’ does not name a type template constexpr bool operator>=(const optional& x, const T& v) ^ /temp/securefs-0.7.3/external/optional.hpp:753:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:758:20: error: ‘constexpr’ does not name a type template constexpr bool operator<=(const T& v, const optional& x) ^ /temp/securefs-0.7.3/external/optional.hpp:758:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:763:20: error: ‘constexpr’ does not name a type template constexpr bool operator<=(const optional& x, const T& v) ^ /temp/securefs-0.7.3/external/optional.hpp:763:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:768:20: error: ‘constexpr’ does not name a type template constexpr bool operator>=(const T& v, const optional& x) ^ /temp/securefs-0.7.3/external/optional.hpp:768:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:775:20: error: ‘constexpr’ does not name a type template constexpr bool operator==(const optional& x, const T& v) ^ /temp/securefs-0.7.3/external/optional.hpp:775:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:780:20: error: ‘constexpr’ does not name a type template constexpr bool operator==(const T& v, const optional& x) ^ /temp/securefs-0.7.3/external/optional.hpp:780:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:785:20: error: ‘constexpr’ does not name a type template constexpr bool operator!=(const optional& x, const T& v) ^ /temp/securefs-0.7.3/external/optional.hpp:785:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:790:20: error: ‘constexpr’ does not name a type template constexpr bool operator!=(const T& v, const optional& x) ^ /temp/securefs-0.7.3/external/optional.hpp:790:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:795:20: error: ‘constexpr’ does not name a type template constexpr bool operator<(const optional& x, const T& v) ^ /temp/securefs-0.7.3/external/optional.hpp:795:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:800:20: error: ‘constexpr’ does not name a type template constexpr bool operator>(const T& v, const optional& x) ^ /temp/securefs-0.7.3/external/optional.hpp:800:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:805:20: error: ‘constexpr’ does not name a type template constexpr bool operator>(const optional& x, const T& v) ^ /temp/securefs-0.7.3/external/optional.hpp:805:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:810:20: error: ‘constexpr’ does not name a type template constexpr bool operator<(const T& v, const optional& x) ^ /temp/securefs-0.7.3/external/optional.hpp:810:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:815:20: error: ‘constexpr’ does not name a type template constexpr bool operator>=(const optional& x, const T& v) ^ /temp/securefs-0.7.3/external/optional.hpp:815:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:820:20: error: ‘constexpr’ does not name a type template constexpr bool operator<=(const T& v, const optional& x) ^ /temp/securefs-0.7.3/external/optional.hpp:820:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:825:20: error: ‘constexpr’ does not name a type template constexpr bool operator<=(const optional& x, const T& v) ^ /temp/securefs-0.7.3/external/optional.hpp:825:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:830:20: error: ‘constexpr’ does not name a type template constexpr bool operator>=(const T& v, const optional& x) ^ /temp/securefs-0.7.3/external/optional.hpp:830:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:836:20: error: ‘constexpr’ does not name a type template constexpr bool operator==(const optional& x, const T& v) ^ /temp/securefs-0.7.3/external/optional.hpp:836:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:841:20: error: ‘constexpr’ does not name a type template constexpr bool operator==(const T& v, const optional& x) ^ /temp/securefs-0.7.3/external/optional.hpp:841:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:846:20: error: ‘constexpr’ does not name a type template constexpr bool operator!=(const optional& x, const T& v) ^ /temp/securefs-0.7.3/external/optional.hpp:846:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:851:20: error: ‘constexpr’ does not name a type template constexpr bool operator!=(const T& v, const optional& x) ^ /temp/securefs-0.7.3/external/optional.hpp:851:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:856:20: error: ‘constexpr’ does not name a type template constexpr bool operator<(const optional& x, const T& v) ^ /temp/securefs-0.7.3/external/optional.hpp:856:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:861:20: error: ‘constexpr’ does not name a type template constexpr bool operator>(const T& v, const optional& x) ^ /temp/securefs-0.7.3/external/optional.hpp:861:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:866:20: error: ‘constexpr’ does not name a type template constexpr bool operator>(const optional& x, const T& v) ^ /temp/securefs-0.7.3/external/optional.hpp:866:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:871:20: error: ‘constexpr’ does not name a type template constexpr bool operator<(const T& v, const optional& x) ^ /temp/securefs-0.7.3/external/optional.hpp:871:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:876:20: error: ‘constexpr’ does not name a type template constexpr bool operator>=(const optional& x, const T& v) ^ /temp/securefs-0.7.3/external/optional.hpp:876:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:881:20: error: ‘constexpr’ does not name a type template constexpr bool operator<=(const T& v, const optional& x) ^ /temp/securefs-0.7.3/external/optional.hpp:881:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:886:20: error: ‘constexpr’ does not name a type template constexpr bool operator<=(const optional& x, const T& v) ^ /temp/securefs-0.7.3/external/optional.hpp:886:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:891:20: error: ‘constexpr’ does not name a type template constexpr bool operator>=(const T& v, const optional& x) ^ /temp/securefs-0.7.3/external/optional.hpp:891:20: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:899:43: error: expected initializer before ‘noexcept’ void swap(optional& x, optional& y) noexcept(noexcept(x.swap(y))) ^ /temp/securefs-0.7.3/external/optional.hpp:906:1: error: ‘constexpr’ does not name a type constexpr optional::type> make_optional(T&& v) ^ /temp/securefs-0.7.3/external/optional.hpp:906:1: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:912:1: error: ‘constexpr’ does not name a type constexpr optional make_optional(reference_wrapper v) ^ /temp/securefs-0.7.3/external/optional.hpp:912:1: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:924:10: error: ‘hash’ is not a class template struct hash> ^ /temp/securefs-0.7.3/external/optional.hpp:924:44: error: ‘>>’ should be ‘> >’ within a nested template argument list struct hash> ^ /temp/securefs-0.7.3/external/optional.hpp:929:5: error: ‘constexpr’ does not name a type constexpr result_type operator()(argument_type const& arg) const { ^ /temp/securefs-0.7.3/external/optional.hpp:929:5: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/external/optional.hpp:935:45: error: ‘>>’ should be ‘> >’ within a nested template argument list struct hash> ^ /temp/securefs-0.7.3/external/optional.hpp:940:5: error: ‘constexpr’ does not name a type constexpr result_type operator()(argument_type const& arg) const { ^ /temp/securefs-0.7.3/external/optional.hpp:940:5: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 In file included from /temp/securefs-0.7.3/sources/exceptions.h:2:0, from /temp/securefs-0.7.3/sources/streams.h:2, from /temp/securefs-0.7.3/sources/lite_stream.h:3, from /temp/securefs-0.7.3/sources/lite_fs.h:4, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /temp/securefs-0.7.3/sources/myutils.h:71:30: error: expected ‘,’ or ‘...’ before ‘&&’ token explicit scope_guard(Func&& on_exit) : on_exit_(std::move(on_exit)) {} ^ /temp/securefs-0.7.3/sources/myutils.h:73:39: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 scope_guard(scope_guard const&) = delete; ^ /temp/securefs-0.7.3/sources/myutils.h:74:50: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 scope_guard& operator=(scope_guard const&) = delete; ^ /temp/securefs-0.7.3/sources/myutils.h:76:28: error: expected ‘,’ or ‘...’ before ‘&&’ token scope_guard(scope_guard&& other) : on_exit_(std::move(other.on_exit_)) {} ^ /temp/securefs-0.7.3/sources/myutils.h:76:36: error: invalid constructor; you probably meant ‘stdex::scope_guard (const stdex::scope_guard&)’ scope_guard(scope_guard&& other) : on_exit_(std::move(other.on_exit_)) {} ^ /temp/securefs-0.7.3/sources/myutils.h: In constructor ‘stdex::scope_guard::scope_guard(Func)’: /temp/securefs-0.7.3/sources/myutils.h:71:53: error: ‘move’ is not a member of ‘std’ explicit scope_guard(Func&& on_exit) : on_exit_(std::move(on_exit)) {} ^ /temp/securefs-0.7.3/sources/myutils.h: At global scope: /temp/securefs-0.7.3/sources/myutils.h:94:34: error: expected ‘,’ or ‘...’ before ‘&&’ token scope_guard make_guard(Func&& f) ^ /temp/securefs-0.7.3/sources/myutils.h: In function ‘stdex::scope_guard stdex::make_guard(Func)’: /temp/securefs-0.7.3/sources/myutils.h:96:30: error: ‘forward’ is not a member of ‘std’ return scope_guard(std::forward(f)); ^ /temp/securefs-0.7.3/sources/myutils.h:96:49: error: ‘f’ was not declared in this scope return scope_guard(std::forward(f)); ^ /temp/securefs-0.7.3/sources/myutils.h:96:29: error: expected primary-expression before ‘(’ token return scope_guard(std::forward(f)); ^ /temp/securefs-0.7.3/sources/myutils.h:96:30: error: ‘forward’ is not a member of ‘std’ return scope_guard(std::forward(f)); ^ /temp/securefs-0.7.3/sources/myutils.h:96:47: error: expected primary-expression before ‘>’ token return scope_guard(std::forward(f)); ^ /temp/securefs-0.7.3/sources/myutils.h: At global scope: /temp/securefs-0.7.3/sources/myutils.h:105:1: error: ‘constexpr’ does not name a type constexpr inline size_t array_length(const T (&)[N]) ^ /temp/securefs-0.7.3/sources/myutils.h:105:1: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/sources/myutils.h:110:8: error: ‘constexpr’ does not name a type inline constexpr bool is_windows(void) ^ /temp/securefs-0.7.3/sources/myutils.h:110:8: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/sources/myutils.h:123:1: error: ‘constexpr’ does not name a type constexpr uint32_t KEY_LENGTH = 32, ID_LENGTH = 32, BLOCK_SIZE = 4096; ^ /temp/securefs-0.7.3/sources/myutils.h:123:1: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/sources/myutils.h:126:13: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type inline std::unique_ptr make_unique_array(size_t size) ^ /temp/securefs-0.7.3/sources/myutils.h:134:18: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type typedef std::unique_ptr _Single_object; ^ /temp/securefs-0.7.3/sources/myutils.h:140:18: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type typedef std::unique_ptr _Unknown_bound; ^ /temp/securefs-0.7.3/sources/myutils.h:149:25: warning: variadic templates only available with -std=c++11 or -std=gnu++11 template ^ /temp/securefs-0.7.3/sources/myutils.h:150:56: error: expected ‘,’ or ‘...’ before ‘&&’ token typename _Unique_if::_Single_object make_unique(Args&&... args) ^ /temp/securefs-0.7.3/sources/myutils.h:150:66: error: parameter packs not expanded with ‘...’: typename _Unique_if::_Single_object make_unique(Args&&... args) ^ /temp/securefs-0.7.3/sources/myutils.h:150:66: note: ‘Args’ /temp/securefs-0.7.3/sources/myutils.h: In function ‘typename securefs::_Unique_if::_Single_object securefs::make_unique()’: /temp/securefs-0.7.3/sources/myutils.h:152:12: error: ‘unique_ptr’ is not a member of ‘std’ return std::unique_ptr(new T(std::forward(args)...)); ^ /temp/securefs-0.7.3/sources/myutils.h:152:29: error: expected primary-expression before ‘>’ token return std::unique_ptr(new T(std::forward(args)...)); ^ /temp/securefs-0.7.3/sources/myutils.h:152:37: error: ‘forward’ is not a member of ‘std’ return std::unique_ptr(new T(std::forward(args)...)); ^ /temp/securefs-0.7.3/sources/myutils.h:152:54: error: expected primary-expression before ‘>’ token return std::unique_ptr(new T(std::forward(args)...)); ^ /temp/securefs-0.7.3/sources/myutils.h:152:56: error: ‘args’ was not declared in this scope return std::unique_ptr(new T(std::forward(args)...)); ^ /temp/securefs-0.7.3/sources/myutils.h: In function ‘typename securefs::_Unique_if::_Unknown_bound securefs::make_unique(size_t)’: /temp/securefs-0.7.3/sources/myutils.h:158:27: error: ‘remove_extent’ in namespace ‘std’ does not name a template type typedef typename std::remove_extent::type U; ^ /temp/securefs-0.7.3/sources/myutils.h:158:40: error: expected unqualified-id before ‘<’ token typedef typename std::remove_extent::type U; ^ /temp/securefs-0.7.3/sources/myutils.h:159:12: error: ‘unique_ptr’ is not a member of ‘std’ return std::unique_ptr(new U[n]()); ^ /temp/securefs-0.7.3/sources/myutils.h:159:29: error: expected primary-expression before ‘>’ token return std::unique_ptr(new U[n]()); ^ /temp/securefs-0.7.3/sources/myutils.h:159:35: error: ‘U’ does not name a type return std::unique_ptr(new U[n]()); ^ /temp/securefs-0.7.3/sources/myutils.h:159:36: error: expected ‘)’ before ‘[’ token return std::unique_ptr(new U[n]()); ^ /temp/securefs-0.7.3/sources/myutils.h: At global scope: /temp/securefs-0.7.3/sources/myutils.h:162:25: warning: variadic templates only available with -std=c++11 or -std=gnu++11 template ^ /temp/securefs-0.7.3/sources/myutils.h:163:54: error: expected ‘,’ or ‘...’ before ‘&&’ token typename _Unique_if::_Known_bound make_unique(Args&&...) = delete; ^ /temp/securefs-0.7.3/sources/myutils.h:163:59: error: parameter packs not expanded with ‘...’: typename _Unique_if::_Known_bound make_unique(Args&&...) = delete; ^ /temp/securefs-0.7.3/sources/myutils.h:163:59: note: ‘Args’ /temp/securefs-0.7.3/sources/myutils.h:163:63: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 typename _Unique_if::_Known_bound make_unique(Args&&...) = delete; ^ /temp/securefs-0.7.3/sources/myutils.h:171:24: error: ‘std::is_pod’ has not been declared static_assert(std::is_pod::value, "Only POD types are supported"); ^ /temp/securefs-0.7.3/sources/myutils.h:171:30: error: expected ‘,’ or ‘...’ before ‘<’ token static_assert(std::is_pod::value, "Only POD types are supported"); ^ /temp/securefs-0.7.3/sources/myutils.h:171:72: error: ISO C++ forbids declaration of ‘static_assert’ with no type [-fpermissive] static_assert(std::is_pod::value, "Only POD types are supported"); ^ /temp/securefs-0.7.3/sources/myutils.h:174:23: error: expected ‘;’ at end of member declaration explicit PODArray() noexcept { memset(m_data, 0, sizeof(m_data)); } ^ /temp/securefs-0.7.3/sources/myutils.h:174:25: error: ‘noexcept’ does not name a type explicit PODArray() noexcept { memset(m_data, 0, sizeof(m_data)); } ^ /temp/securefs-0.7.3/sources/myutils.h:175:37: error: expected ‘;’ at end of member declaration explicit PODArray(const T& value) noexcept ^ /temp/securefs-0.7.3/sources/myutils.h:175:39: error: ‘noexcept’ does not name a type explicit PODArray(const T& value) noexcept ^ /temp/securefs-0.7.3/sources/myutils.h:179:35: error: expected ‘;’ at end of member declaration PODArray(const PODArray& other) noexcept { memcpy(m_data, other.m_data, size()); } ^ /temp/securefs-0.7.3/sources/myutils.h:179:37: error: ‘noexcept’ does not name a type PODArray(const PODArray& other) noexcept { memcpy(m_data, other.m_data, size()); } ^ /temp/securefs-0.7.3/sources/myutils.h:180:46: error: expected ‘;’ at end of member declaration PODArray& operator=(const PODArray& other) noexcept ^ /temp/securefs-0.7.3/sources/myutils.h:180:48: error: ‘noexcept’ does not name a type PODArray& operator=(const PODArray& other) noexcept ^ /temp/securefs-0.7.3/sources/myutils.h:185:21: error: expected ‘;’ at end of member declaration const T* data() const noexcept { return m_data; } ^ /temp/securefs-0.7.3/sources/myutils.h:185:27: error: ‘noexcept’ does not name a type const T* data() const noexcept { return m_data; } ^ /temp/securefs-0.7.3/sources/myutils.h:186:13: error: expected ‘;’ at end of member declaration T* data() noexcept { return m_data; } ^ /temp/securefs-0.7.3/sources/myutils.h:186:15: error: ‘noexcept’ does not name a type T* data() noexcept { return m_data; } ^ /temp/securefs-0.7.3/sources/myutils.h:187:12: error: ‘constexpr’ does not name a type static constexpr size_t size() noexcept { return Size; }; ^ /temp/securefs-0.7.3/sources/myutils.h:187:12: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/sources/myutils.h:188:44: error: expected ‘;’ at end of member declaration bool operator==(const PODArray& other) const noexcept ^ /temp/securefs-0.7.3/sources/myutils.h:188:50: error: ‘noexcept’ does not name a type bool operator==(const PODArray& other) const noexcept ^ /temp/securefs-0.7.3/sources/myutils.h:192:44: error: expected ‘;’ at end of member declaration bool operator!=(const PODArray& other) const noexcept { return !(*this == other); } ^ /temp/securefs-0.7.3/sources/myutils.h:192:50: error: ‘noexcept’ does not name a type bool operator!=(const PODArray& other) const noexcept { return !(*this == other); } ^ /temp/securefs-0.7.3/sources/myutils.h:196:24: error: ‘KEY_LENGTH’ was not declared in this scope typedef PODArray key_type; ^ /temp/securefs-0.7.3/sources/myutils.h:196:34: error: template argument 2 is invalid typedef PODArray key_type; ^ /temp/securefs-0.7.3/sources/myutils.h:196:44: error: invalid type in declaration before ‘;’ token typedef PODArray key_type; ^ /temp/securefs-0.7.3/sources/myutils.h:197:24: error: ‘ID_LENGTH’ was not declared in this scope typedef PODArray id_type; ^ /temp/securefs-0.7.3/sources/myutils.h:197:33: error: template argument 2 is invalid typedef PODArray id_type; ^ /temp/securefs-0.7.3/sources/myutils.h:197:42: error: invalid type in declaration before ‘;’ token typedef PODArray id_type; ^ /temp/securefs-0.7.3/sources/myutils.h: In function ‘bool securefs::is_all_zeros(const void*, size_t)’: /temp/securefs-0.7.3/sources/myutils.h:213:5: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat] auto bytes = static_cast(data); ^ /temp/securefs-0.7.3/sources/myutils.h:213:10: error: ‘bytes’ does not name a type auto bytes = static_cast(data); ^ /temp/securefs-0.7.3/sources/myutils.h:214:25: error: ‘bytes’ was not declared in this scope return is_all_equal(bytes, bytes + len, 0); ^ /temp/securefs-0.7.3/sources/myutils.h: At global scope: /temp/securefs-0.7.3/sources/myutils.h:211:38: warning: unused parameter ‘data’ [-Wunused-parameter] inline bool is_all_zeros(const void* data, size_t len) ^ /temp/securefs-0.7.3/sources/myutils.h:218:53: error: expected initializer before ‘noexcept’ inline void to_little_endian(T value, void* output) noexcept ^ /temp/securefs-0.7.3/sources/myutils.h:230:22: error: ‘remove_reference’ in namespace ‘std’ does not name a template type inline typename std::remove_reference::type from_little_endian(const void* input) noexcept ^ /temp/securefs-0.7.3/sources/myutils.h:230:38: error: expected unqualified-id before ‘<’ token inline typename std::remove_reference::type from_little_endian(const void* input) noexcept ^ /temp/securefs-0.7.3/sources/myutils.h:281:42: error: expected ‘;’ at end of member declaration size_t operator()(const id_type& id) const noexcept ^ /temp/securefs-0.7.3/sources/myutils.h:281:48: error: ‘noexcept’ does not name a type size_t operator()(const id_type& id) const noexcept ^ /temp/securefs-0.7.3/sources/myutils.h:289:6: error: ‘unordered_set’ in namespace ‘std’ does not name a template type std::unordered_set find_all_ids(const std::string& basedir); ^ /temp/securefs-0.7.3/sources/myutils.h:294:16: error: ‘unordered_map’ in namespace ‘std’ does not name a template type const std::unordered_map>& actionMap); ^ /temp/securefs-0.7.3/sources/myutils.h:294:29: error: expected ‘,’ or ‘...’ before ‘<’ token const std::unordered_map>& actionMap); ^ /temp/securefs-0.7.3/sources/myutils.h:296:48: error: expected initializer before ‘noexcept’ size_t popcount(const byte* data, size_t size) noexcept; ^ /temp/securefs-0.7.3/sources/myutils.h:298:87: error: expected initializer before ‘noexcept’ void warn_if_key_not_random(const byte* key, size_t size, const char* file, int line) noexcept; ^ /temp/securefs-0.7.3/sources/myutils.h:301:77: error: expected initializer before ‘noexcept’ void warn_if_key_not_random(const Container& c, const char* file, int line) noexcept ^ In file included from /temp/securefs-0.7.3/sources/streams.h:2:0, from /temp/securefs-0.7.3/sources/lite_stream.h:3, from /temp/securefs-0.7.3/sources/lite_fs.h:4, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /temp/securefs-0.7.3/sources/exceptions.h:27:32: error: expected ‘;’ at end of member declaration virtual int error_number() const noexcept { return EPERM; } ^ /temp/securefs-0.7.3/sources/exceptions.h:27:38: error: ‘noexcept’ does not name a type virtual int error_number() const noexcept { return EPERM; } ^ /temp/securefs-0.7.3/sources/exceptions.h:28:24: error: expected ‘;’ at end of member declaration const char* what() const noexcept override; ^ /temp/securefs-0.7.3/sources/exceptions.h:28:30: error: ‘noexcept’ does not name a type const char* what() const noexcept override; ^ /temp/securefs-0.7.3/sources/exceptions.h:25:13: error: looser throw specifier for ‘virtual securefs::ExceptionBase::~ExceptionBase()’ virtual ~ExceptionBase(); ^ In file included from /usr/include/c++/4.9/new:40:0, from /usr/include/c++/4.9/ext/new_allocator.h:33, from /usr/include/x86_64-linux-gnu/c++/4.9/bits/c++allocator.h:33, from /usr/include/c++/4.9/bits/allocator.h:46, from /usr/include/c++/4.9/string:41, from /temp/securefs-0.7.3/external/cryptopp/stdcpp.h:9, from /temp/securefs-0.7.3/external/cryptopp/cryptlib.h:87, from /temp/securefs-0.7.3/external/cryptopp/seckey.h:16, from /temp/securefs-0.7.3/external/cryptopp/rijndael.h:11, from /temp/securefs-0.7.3/external/cryptopp/aes.h:9, from /temp/securefs-0.7.3/sources/aes_siv.h:3, from /temp/securefs-0.7.3/sources/lite_fs.h:3, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /usr/include/c++/4.9/exception:64:13: error: overriding ‘virtual std::exception::~exception() throw ()’ virtual ~exception() _GLIBCXX_USE_NOEXCEPT; ^ In file included from /temp/securefs-0.7.3/sources/streams.h:2:0, from /temp/securefs-0.7.3/sources/lite_stream.h:3, from /temp/securefs-0.7.3/sources/lite_fs.h:4, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /temp/securefs-0.7.3/sources/exceptions.h:28:17: error: looser throw specifier for ‘virtual const char* securefs::ExceptionBase::what() const’ const char* what() const noexcept override; ^ In file included from /usr/include/c++/4.9/new:40:0, from /usr/include/c++/4.9/ext/new_allocator.h:33, from /usr/include/x86_64-linux-gnu/c++/4.9/bits/c++allocator.h:33, from /usr/include/c++/4.9/bits/allocator.h:46, from /usr/include/c++/4.9/string:41, from /temp/securefs-0.7.3/external/cryptopp/stdcpp.h:9, from /temp/securefs-0.7.3/external/cryptopp/cryptlib.h:87, from /temp/securefs-0.7.3/external/cryptopp/seckey.h:16, from /temp/securefs-0.7.3/external/cryptopp/rijndael.h:11, from /temp/securefs-0.7.3/external/cryptopp/aes.h:9, from /temp/securefs-0.7.3/sources/aes_siv.h:3, from /temp/securefs-0.7.3/sources/lite_fs.h:3, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /usr/include/c++/4.9/exception:68:25: error: overriding ‘virtual const char* std::exception::what() const throw ()’ virtual const char* what() const _GLIBCXX_USE_NOEXCEPT; ^ In file included from /temp/securefs-0.7.3/sources/streams.h:2:0, from /temp/securefs-0.7.3/sources/lite_stream.h:3, from /temp/securefs-0.7.3/sources/lite_fs.h:4, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /temp/securefs-0.7.3/sources/exceptions.h:44:27: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 std::string message() const override ^ /temp/securefs-0.7.3/sources/exceptions.h:62:24: error: expected ‘;’ at end of member declaration int error_number() const noexcept override { return m_errno; } ^ /temp/securefs-0.7.3/sources/exceptions.h:62:30: error: ‘noexcept’ does not name a type int error_number() const noexcept override { return m_errno; } ^ /temp/securefs-0.7.3/sources/exceptions.h:64:27: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 std::string message() const override; ^ /temp/securefs-0.7.3/sources/exceptions.h:67:1: error: expected unqualified-id before ‘[’ token [[noreturn]] void throwVFSException(int errc); ^ /temp/securefs-0.7.3/sources/exceptions.h:83:24: error: expected ‘;’ at end of member declaration int error_number() const noexcept override { return m_errno; } ^ /temp/securefs-0.7.3/sources/exceptions.h:83:30: error: ‘noexcept’ does not name a type int error_number() const noexcept override { return m_errno; } ^ /temp/securefs-0.7.3/sources/exceptions.h:85:27: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 std::string message() const override; ^ /temp/securefs-0.7.3/sources/exceptions.h: In constructor ‘securefs::POSIXException::POSIXException(int, std::string)’: /temp/securefs-0.7.3/sources/exceptions.h:80:79: error: ‘move’ is not a member of ‘std’ explicit POSIXException(int errc, std::string msg) : m_errno(errc), m_msg(std::move(msg)) {} ^ /temp/securefs-0.7.3/sources/exceptions.h: At global scope: /temp/securefs-0.7.3/sources/exceptions.h:98:1: error: expected unqualified-id before ‘[’ token [[noreturn]] void throwPOSIXExceptionDoNotUseDirectly(int err, std::string msg); ^ /temp/securefs-0.7.3/sources/exceptions.h:117:27: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 std::string message() const override { return m_msg; } ^ /temp/securefs-0.7.3/sources/exceptions.h:119:24: error: expected ‘;’ at end of member declaration int error_number() const noexcept override { return EINVAL; } ^ /temp/securefs-0.7.3/sources/exceptions.h:119:30: error: ‘noexcept’ does not name a type int error_number() const noexcept override { return EINVAL; } ^ /temp/securefs-0.7.3/sources/exceptions.h:122:1: error: expected unqualified-id before ‘[’ token [[noreturn]] void throwInvalidArgumentException(const char* why); ^ /temp/securefs-0.7.3/sources/exceptions.h:123:1: error: expected unqualified-id before ‘[’ token [[noreturn]] void throwInvalidArgumentException(std::string why); ^ /temp/securefs-0.7.3/sources/exceptions.h:137:27: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 std::string message() const override ^ /temp/securefs-0.7.3/sources/exceptions.h: In constructor ‘securefs::CorruptedMetaDataException::CorruptedMetaDataException(const id_type&, const char*)’: /temp/securefs-0.7.3/sources/exceptions.h:134:21: error: request for member ‘data’ in ‘((securefs::CorruptedMetaDataException*)this)->securefs::CorruptedMetaDataException::m_id’, which is of non-class type ‘securefs::id_type {aka int}’ memcpy(m_id.data(), id.data(), id.size()); ^ /temp/securefs-0.7.3/sources/exceptions.h:134:32: error: request for member ‘data’ in ‘id’, which is of non-class type ‘const id_type {aka const int}’ memcpy(m_id.data(), id.data(), id.size()); ^ /temp/securefs-0.7.3/sources/exceptions.h:134:43: error: request for member ‘size’ in ‘id’, which is of non-class type ‘const id_type {aka const int}’ memcpy(m_id.data(), id.data(), id.size()); ^ /temp/securefs-0.7.3/sources/exceptions.h: In member function ‘virtual std::string securefs::CorruptedMetaDataException::message() const’: /temp/securefs-0.7.3/sources/exceptions.h:140:38: error: request for member ‘data’ in ‘((const securefs::CorruptedMetaDataException*)this)->securefs::CorruptedMetaDataException::m_id’, which is of non-class type ‘const id_type {aka const int}’ hexify(m_id.data(), m_id.size()).c_str(), ^ /temp/securefs-0.7.3/sources/exceptions.h:140:51: error: request for member ‘size’ in ‘((const securefs::CorruptedMetaDataException*)this)->securefs::CorruptedMetaDataException::m_id’, which is of non-class type ‘const id_type {aka const int}’ hexify(m_id.data(), m_id.size()).c_str(), ^ /temp/securefs-0.7.3/sources/exceptions.h: At global scope: /temp/securefs-0.7.3/sources/exceptions.h:157:27: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 std::string message() const override ^ /temp/securefs-0.7.3/sources/exceptions.h: In constructor ‘securefs::MessageVerificationException::MessageVerificationException(const id_type&, securefs::offset_type)’: /temp/securefs-0.7.3/sources/exceptions.h:154:21: error: request for member ‘data’ in ‘((securefs::MessageVerificationException*)this)->securefs::MessageVerificationException::m_id’, which is of non-class type ‘securefs::id_type {aka int}’ memcpy(m_id.data(), id.data(), id.size()); ^ /temp/securefs-0.7.3/sources/exceptions.h:154:32: error: request for member ‘data’ in ‘id’, which is of non-class type ‘const id_type {aka const int}’ memcpy(m_id.data(), id.data(), id.size()); ^ /temp/securefs-0.7.3/sources/exceptions.h:154:43: error: request for member ‘size’ in ‘id’, which is of non-class type ‘const id_type {aka const int}’ memcpy(m_id.data(), id.data(), id.size()); ^ /temp/securefs-0.7.3/sources/exceptions.h: In member function ‘virtual std::string securefs::MessageVerificationException::message() const’: /temp/securefs-0.7.3/sources/exceptions.h:160:38: error: request for member ‘data’ in ‘((const securefs::MessageVerificationException*)this)->securefs::MessageVerificationException::m_id’, which is of non-class type ‘const id_type {aka const int}’ hexify(m_id.data(), m_id.size()).c_str(), ^ /temp/securefs-0.7.3/sources/exceptions.h:160:51: error: request for member ‘size’ in ‘((const securefs::MessageVerificationException*)this)->securefs::MessageVerificationException::m_id’, which is of non-class type ‘const id_type {aka const int}’ hexify(m_id.data(), m_id.size()).c_str(), ^ /temp/securefs-0.7.3/sources/exceptions.h: At global scope: /temp/securefs-0.7.3/sources/exceptions.h:178:27: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 std::string message() const override ^ /temp/securefs-0.7.3/sources/exceptions.h: In constructor ‘securefs::XattrVerificationException::XattrVerificationException(const id_type&, std::string)’: /temp/securefs-0.7.3/sources/exceptions.h:174:21: error: request for member ‘data’ in ‘((securefs::XattrVerificationException*)this)->securefs::XattrVerificationException::m_id’, which is of non-class type ‘securefs::id_type {aka int}’ memcpy(m_id.data(), id.data(), id.size()); ^ /temp/securefs-0.7.3/sources/exceptions.h:174:32: error: request for member ‘data’ in ‘id’, which is of non-class type ‘const id_type {aka const int}’ memcpy(m_id.data(), id.data(), id.size()); ^ /temp/securefs-0.7.3/sources/exceptions.h:174:43: error: request for member ‘size’ in ‘id’, which is of non-class type ‘const id_type {aka const int}’ memcpy(m_id.data(), id.data(), id.size()); ^ /temp/securefs-0.7.3/sources/exceptions.h: In member function ‘virtual std::string securefs::XattrVerificationException::message() const’: /temp/securefs-0.7.3/sources/exceptions.h:181:38: error: request for member ‘data’ in ‘((const securefs::XattrVerificationException*)this)->securefs::XattrVerificationException::m_id’, which is of non-class type ‘const id_type {aka const int}’ hexify(m_id.data(), m_id.size()).c_str(), ^ /temp/securefs-0.7.3/sources/exceptions.h:181:51: error: request for member ‘size’ in ‘((const securefs::XattrVerificationException*)this)->securefs::XattrVerificationException::m_id’, which is of non-class type ‘const id_type {aka const int}’ hexify(m_id.data(), m_id.size()).c_str(), ^ /temp/securefs-0.7.3/sources/exceptions.h: At global scope: /temp/securefs-0.7.3/sources/exceptions.h:189:27: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 std::string message() const override { return "File content has invalid checksum"; } ^ /temp/securefs-0.7.3/sources/exceptions.h:204:27: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 std::string message() const override ^ /temp/securefs-0.7.3/sources/exceptions.h:210:24: error: expected ‘;’ at end of member declaration int error_number() const noexcept override { return EFBIG; } ^ /temp/securefs-0.7.3/sources/exceptions.h:210:30: error: ‘noexcept’ does not name a type int error_number() const noexcept override { return EFBIG; } ^ /temp/securefs-0.7.3/sources/exceptions.h:225:27: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 std::string message() const override ^ /temp/securefs-0.7.3/sources/exceptions.h:234:27: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 std::string message() const override ^ /temp/securefs-0.7.3/sources/exceptions.h:241:1: error: expected unqualified-id before ‘[’ token [[noreturn]] void throwFileTypeInconsistencyException(); ^ /temp/securefs-0.7.3/sources/exceptions.h:243:1: error: expected unqualified-id before ‘[’ token [[noreturn]] void throw_runtime_error(const char*); ^ /temp/securefs-0.7.3/sources/exceptions.h:244:1: error: expected unqualified-id before ‘[’ token [[noreturn]] void throw_runtime_error(const std::string&); ^ /temp/securefs-0.7.3/sources/exceptions.h:246:6: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type std::unique_ptr get_type_name(const std::exception& e) noexcept; ^ In file included from /temp/securefs-0.7.3/sources/exceptions.h:2:0, from /temp/securefs-0.7.3/sources/streams.h:2, from /temp/securefs-0.7.3/sources/lite_stream.h:3, from /temp/securefs-0.7.3/sources/lite_fs.h:4, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /temp/securefs-0.7.3/sources/myutils.h:22:23: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 cls(const cls&) = delete; \ ^ /temp/securefs-0.7.3/sources/streams.h:19:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(StreamBase) ^ /temp/securefs-0.7.3/sources/myutils.h:23:12: error: expected ‘,’ or ‘...’ before ‘&&’ token cls(cls&&) = delete; \ ^ /temp/securefs-0.7.3/sources/streams.h:19:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(StreamBase) ^ /temp/securefs-0.7.3/sources/myutils.h:23:18: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 cls(cls&&) = delete; \ ^ /temp/securefs-0.7.3/sources/streams.h:19:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(StreamBase) ^ /temp/securefs-0.7.3/sources/myutils.h:23:18: error: invalid constructor; you probably meant ‘securefs::StreamBase (const securefs::StreamBase&)’ cls(cls&&) = delete; \ ^ /temp/securefs-0.7.3/sources/streams.h:19:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(StreamBase) ^ /temp/securefs-0.7.3/sources/myutils.h:24:34: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 cls& operator=(const cls&) = delete; \ ^ /temp/securefs-0.7.3/sources/streams.h:19:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(StreamBase) ^ /temp/securefs-0.7.3/sources/myutils.h:25:23: error: expected ‘,’ or ‘...’ before ‘&&’ token cls& operator=(cls&&) = delete; ^ /temp/securefs-0.7.3/sources/streams.h:19:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(StreamBase) ^ /temp/securefs-0.7.3/sources/myutils.h:25:29: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 cls& operator=(cls&&) = delete; ^ /temp/securefs-0.7.3/sources/streams.h:19:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(StreamBase) ^ In file included from /temp/securefs-0.7.3/sources/lite_stream.h:3:0, from /temp/securefs-0.7.3/sources/lite_fs.h:4, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /temp/securefs-0.7.3/sources/streams.h:47:30: error: expected ‘;’ at end of member declaration virtual bool is_sparse() const noexcept { return false; } ^ /temp/securefs-0.7.3/sources/streams.h:47:36: error: ‘noexcept’ does not name a type virtual bool is_sparse() const noexcept { return false; } ^ /temp/securefs-0.7.3/sources/streams.h:52:46: error: expected ‘;’ at end of member declaration virtual length_type optimal_block_size() const noexcept { return 1; } ^ /temp/securefs-0.7.3/sources/streams.h:52:52: error: ‘noexcept’ does not name a type virtual length_type optimal_block_size() const noexcept { return 1; } ^ In file included from /temp/securefs-0.7.3/sources/exceptions.h:2:0, from /temp/securefs-0.7.3/sources/streams.h:2, from /temp/securefs-0.7.3/sources/lite_stream.h:3, from /temp/securefs-0.7.3/sources/lite_fs.h:4, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /temp/securefs-0.7.3/sources/streams.h:19:23: error: cannot declare parameter to be of abstract type ‘securefs::StreamBase’ DISABLE_COPY_MOVE(StreamBase) ^ /temp/securefs-0.7.3/sources/myutils.h:23:9: note: in definition of macro ‘DISABLE_COPY_MOVE’ cls(cls&&) = delete; \ ^ In file included from /temp/securefs-0.7.3/sources/lite_stream.h:3:0, from /temp/securefs-0.7.3/sources/lite_fs.h:4, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /temp/securefs-0.7.3/sources/streams.h:14:7: note: because the following virtual functions are pure within ‘securefs::StreamBase’: class StreamBase ^ /temp/securefs-0.7.3/sources/streams.h:25:25: note: virtual securefs::length_type securefs::StreamBase::read(void*, securefs::offset_type, securefs::length_type) virtual length_type read(void* output, offset_type offset, length_type length) = 0; ^ /temp/securefs-0.7.3/sources/streams.h:31:18: note: virtual void securefs::StreamBase::write(const void*, securefs::offset_type, securefs::length_type) virtual void write(const void* input, offset_type offset, length_type length) = 0; ^ /temp/securefs-0.7.3/sources/streams.h:33:25: note: virtual securefs::length_type securefs::StreamBase::size() const virtual length_type size() const = 0; ^ /temp/securefs-0.7.3/sources/streams.h:35:18: note: virtual void securefs::StreamBase::flush() virtual void flush() = 0; ^ /temp/securefs-0.7.3/sources/streams.h:41:18: note: virtual void securefs::StreamBase::resize(securefs::length_type) virtual void resize(length_type) = 0; ^ In file included from /temp/securefs-0.7.3/sources/exceptions.h:2:0, from /temp/securefs-0.7.3/sources/streams.h:2, from /temp/securefs-0.7.3/sources/lite_stream.h:3, from /temp/securefs-0.7.3/sources/lite_fs.h:4, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /temp/securefs-0.7.3/sources/streams.h:19:23: error: cannot declare parameter to be of abstract type ‘securefs::StreamBase’ DISABLE_COPY_MOVE(StreamBase) ^ /temp/securefs-0.7.3/sources/myutils.h:25:20: note: in definition of macro ‘DISABLE_COPY_MOVE’ cls& operator=(cls&&) = delete; ^ /temp/securefs-0.7.3/sources/myutils.h:22:23: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 cls(const cls&) = delete; \ ^ /temp/securefs-0.7.3/sources/streams.h:63:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(HeaderBase) ^ /temp/securefs-0.7.3/sources/myutils.h:23:12: error: expected ‘,’ or ‘...’ before ‘&&’ token cls(cls&&) = delete; \ ^ /temp/securefs-0.7.3/sources/streams.h:63:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(HeaderBase) ^ /temp/securefs-0.7.3/sources/myutils.h:23:18: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 cls(cls&&) = delete; \ ^ /temp/securefs-0.7.3/sources/streams.h:63:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(HeaderBase) ^ /temp/securefs-0.7.3/sources/myutils.h:23:18: error: invalid constructor; you probably meant ‘securefs::HeaderBase (const securefs::HeaderBase&)’ cls(cls&&) = delete; \ ^ /temp/securefs-0.7.3/sources/streams.h:63:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(HeaderBase) ^ /temp/securefs-0.7.3/sources/myutils.h:24:34: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 cls& operator=(const cls&) = delete; \ ^ /temp/securefs-0.7.3/sources/streams.h:63:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(HeaderBase) ^ /temp/securefs-0.7.3/sources/myutils.h:25:23: error: expected ‘,’ or ‘...’ before ‘&&’ token cls& operator=(cls&&) = delete; ^ /temp/securefs-0.7.3/sources/streams.h:63:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(HeaderBase) ^ /temp/securefs-0.7.3/sources/myutils.h:25:29: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 cls& operator=(cls&&) = delete; ^ /temp/securefs-0.7.3/sources/streams.h:63:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(HeaderBase) ^ In file included from /temp/securefs-0.7.3/sources/lite_stream.h:3:0, from /temp/securefs-0.7.3/sources/lite_fs.h:4, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /temp/securefs-0.7.3/sources/streams.h:65:45: error: expected ‘;’ at end of member declaration virtual length_type max_header_length() const noexcept = 0; ^ /temp/securefs-0.7.3/sources/streams.h:65:51: error: ‘noexcept’ does not name a type virtual length_type max_header_length() const noexcept = 0; ^ In file included from /temp/securefs-0.7.3/sources/exceptions.h:2:0, from /temp/securefs-0.7.3/sources/streams.h:2, from /temp/securefs-0.7.3/sources/lite_stream.h:3, from /temp/securefs-0.7.3/sources/lite_fs.h:4, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /temp/securefs-0.7.3/sources/streams.h:63:23: error: cannot declare parameter to be of abstract type ‘securefs::HeaderBase’ DISABLE_COPY_MOVE(HeaderBase) ^ /temp/securefs-0.7.3/sources/myutils.h:23:9: note: in definition of macro ‘DISABLE_COPY_MOVE’ cls(cls&&) = delete; \ ^ In file included from /temp/securefs-0.7.3/sources/lite_stream.h:3:0, from /temp/securefs-0.7.3/sources/lite_fs.h:4, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /temp/securefs-0.7.3/sources/streams.h:58:7: note: because the following virtual functions are pure within ‘securefs::HeaderBase’: class HeaderBase ^ /temp/securefs-0.7.3/sources/streams.h:71:18: note: virtual bool securefs::HeaderBase::read_header(void*, securefs::length_type) virtual bool read_header(void* output, length_type length) = 0; ^ /temp/securefs-0.7.3/sources/streams.h:76:18: note: virtual void securefs::HeaderBase::write_header(const void*, securefs::length_type) virtual void write_header(const void* input, length_type length) = 0; ^ /temp/securefs-0.7.3/sources/streams.h:77:18: note: virtual void securefs::HeaderBase::flush_header() virtual void flush_header() = 0; ^ In file included from /temp/securefs-0.7.3/sources/exceptions.h:2:0, from /temp/securefs-0.7.3/sources/streams.h:2, from /temp/securefs-0.7.3/sources/lite_stream.h:3, from /temp/securefs-0.7.3/sources/lite_fs.h:4, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /temp/securefs-0.7.3/sources/streams.h:63:23: error: cannot declare parameter to be of abstract type ‘securefs::HeaderBase’ DISABLE_COPY_MOVE(HeaderBase) ^ /temp/securefs-0.7.3/sources/myutils.h:25:20: note: in definition of macro ‘DISABLE_COPY_MOVE’ cls& operator=(cls&&) = delete; ^ In file included from /temp/securefs-0.7.3/sources/lite_stream.h:3:0, from /temp/securefs-0.7.3/sources/lite_fs.h:4, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /temp/securefs-0.7.3/sources/streams.h:80:6: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type std::shared_ptr make_stream_hmac(const key_type& key_, ^ /temp/securefs-0.7.3/sources/streams.h:111:74: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 length_type read(void* output, offset_type offset, length_type length) override; ^ /temp/securefs-0.7.3/sources/streams.h:112:73: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 void write(const void* input, offset_type offset, length_type length) override; ^ /temp/securefs-0.7.3/sources/streams.h:113:39: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 void resize(length_type new_length) override; ^ /temp/securefs-0.7.3/sources/streams.h:114:38: error: expected ‘;’ at end of member declaration length_type optimal_block_size() const noexcept override { return m_block_size; } ^ /temp/securefs-0.7.3/sources/streams.h:114:44: error: ‘noexcept’ does not name a type length_type optimal_block_size() const noexcept override { return m_block_size; } ^ /temp/securefs-0.7.3/sources/streams.h:130:10: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type std::shared_ptr m_stream; ^ /temp/securefs-0.7.3/sources/streams.h:143:66: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 length_type read_block(offset_type block_number, void* output) override; ^ /temp/securefs-0.7.3/sources/streams.h:144:85: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 void write_block(offset_type block_number, const void* input, length_type length) override; ^ /temp/securefs-0.7.3/sources/streams.h:145:48: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 void adjust_logical_size(length_type length) override { m_stream->resize(length); } ^ /temp/securefs-0.7.3/sources/streams.h:148:41: error: expected ‘)’ before ‘<’ token explicit CryptStream(std::shared_ptr stream, length_type block_size) ^ /temp/securefs-0.7.3/sources/streams.h:157:16: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 void flush() override { m_stream->flush(); } ^ /temp/securefs-0.7.3/sources/streams.h:158:24: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 length_type size() const override { return m_stream->size(); } ^ /temp/securefs-0.7.3/sources/streams.h: In member function ‘virtual void securefs::CryptStream::adjust_logical_size(securefs::length_type)’: /temp/securefs-0.7.3/sources/streams.h:145:61: error: ‘m_stream’ was not declared in this scope void adjust_logical_size(length_type length) override { m_stream->resize(length); } ^ /temp/securefs-0.7.3/sources/streams.h: In member function ‘virtual void securefs::CryptStream::flush()’: /temp/securefs-0.7.3/sources/streams.h:157:29: error: ‘m_stream’ was not declared in this scope void flush() override { m_stream->flush(); } ^ /temp/securefs-0.7.3/sources/streams.h: In member function ‘virtual securefs::length_type securefs::CryptStream::size() const’: /temp/securefs-0.7.3/sources/streams.h:158:48: error: ‘m_stream’ was not declared in this scope length_type size() const override { return m_stream->size(); } ^ /temp/securefs-0.7.3/sources/streams.h: At global scope: /temp/securefs-0.7.3/sources/streams.h:167:11: error: ‘shared_ptr’ is not a member of ‘std’ std::pair, std::shared_ptr> ^ /temp/securefs-0.7.3/sources/streams.h:167:11: error: ‘shared_ptr’ is not a member of ‘std’ /temp/securefs-0.7.3/sources/streams.h:167:38: error: wrong number of template arguments (1, should be 2) std::pair, std::shared_ptr> ^ In file included from /usr/include/c++/4.9/bits/stl_algobase.h:64:0, from /usr/include/c++/4.9/bits/char_traits.h:39, from /usr/include/c++/4.9/string:40, from /temp/securefs-0.7.3/external/cryptopp/stdcpp.h:9, from /temp/securefs-0.7.3/external/cryptopp/cryptlib.h:87, from /temp/securefs-0.7.3/external/cryptopp/seckey.h:16, from /temp/securefs-0.7.3/external/cryptopp/rijndael.h:11, from /temp/securefs-0.7.3/external/cryptopp/aes.h:9, from /temp/securefs-0.7.3/sources/aes_siv.h:3, from /temp/securefs-0.7.3/sources/lite_fs.h:3, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /usr/include/c++/4.9/bits/stl_pair.h:96:12: error: provided for ‘template struct std::pair’ struct pair ^ In file included from /temp/securefs-0.7.3/sources/lite_stream.h:3:0, from /temp/securefs-0.7.3/sources/lite_fs.h:4, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /temp/securefs-0.7.3/sources/streams.h:167:39: error: expected unqualified-id before ‘,’ token std::pair, std::shared_ptr> ^ /temp/securefs-0.7.3/sources/streams.h:167:56: error: expected initializer before ‘<’ token std::pair, std::shared_ptr> ^ In file included from /temp/securefs-0.7.3/sources/lite_fs.h:4:0, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /temp/securefs-0.7.3/sources/lite_stream.h:18:31: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 std::string message() const override; ^ /temp/securefs-0.7.3/sources/lite_stream.h:27:14: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type std::shared_ptr m_stream; ^ /temp/securefs-0.7.3/sources/lite_stream.h:28:14: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type std::unique_ptr m_buffer; ^ /temp/securefs-0.7.3/sources/lite_stream.h:33:38: error: expected ‘;’ at end of member declaration length_type get_block_size() const noexcept { return m_block_size; } ^ /temp/securefs-0.7.3/sources/lite_stream.h:33:44: error: ‘noexcept’ does not name a type length_type get_block_size() const noexcept { return m_block_size; } ^ /temp/securefs-0.7.3/sources/lite_stream.h:35:35: error: expected ‘;’ at end of member declaration length_type get_iv_size() const noexcept { return m_iv_size; } ^ /temp/securefs-0.7.3/sources/lite_stream.h:35:41: error: ‘noexcept’ does not name a type length_type get_iv_size() const noexcept { return m_iv_size; } ^ /temp/securefs-0.7.3/sources/lite_stream.h:37:16: error: ‘constexpr’ does not name a type static constexpr unsigned get_mac_size() noexcept { return 16; } ^ /temp/securefs-0.7.3/sources/lite_stream.h:37:16: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/sources/lite_stream.h:39:16: error: ‘constexpr’ does not name a type static constexpr length_type get_header_size() noexcept { return 16; } ^ /temp/securefs-0.7.3/sources/lite_stream.h:39:16: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11 /temp/securefs-0.7.3/sources/lite_stream.h:41:49: error: expected ‘;’ at end of member declaration length_type get_underlying_block_size() const noexcept ^ /temp/securefs-0.7.3/sources/lite_stream.h:41:55: error: ‘noexcept’ does not name a type length_type get_underlying_block_size() const noexcept ^ /temp/securefs-0.7.3/sources/lite_stream.h:47:70: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 length_type read_block(offset_type block_number, void* output) override; ^ /temp/securefs-0.7.3/sources/lite_stream.h:49:87: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 void write_block(offset_type block_number, const void* input, length_type size) override; ^ /temp/securefs-0.7.3/sources/lite_stream.h:51:52: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 void adjust_logical_size(length_type length) override; ^ /temp/securefs-0.7.3/sources/lite_stream.h:54:51: error: expected ‘)’ before ‘<’ token explicit AESGCMCryptStream(std::shared_ptr stream, ^ /temp/securefs-0.7.3/sources/lite_stream.h:62:36: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 virtual length_type size() const override; ^ /temp/securefs-0.7.3/sources/lite_stream.h:64:28: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 virtual void flush() override; ^ /temp/securefs-0.7.3/sources/lite_stream.h:66:34: error: expected ‘;’ at end of member declaration virtual bool is_sparse() const noexcept override; ^ /temp/securefs-0.7.3/sources/lite_stream.h:66:40: error: ‘noexcept’ does not name a type virtual bool is_sparse() const noexcept override; ^ /temp/securefs-0.7.3/sources/lite_stream.h:70:67: error: expected ‘;’ at end of member declaration length_type iv_size) noexcept; ^ /temp/securefs-0.7.3/sources/lite_stream.h:70:69: error: ‘noexcept’ does not name a type length_type iv_size) noexcept; ^ In file included from /temp/securefs-0.7.3/sources/lite_fs.h:7:0, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /temp/securefs-0.7.3/sources/platform.h:108:24: error: expected ‘;’ at end of member declaration virtual void close() noexcept = 0; ^ /temp/securefs-0.7.3/sources/platform.h:108:26: error: ‘noexcept’ does not name a type virtual void close() noexcept = 0; ^ /temp/securefs-0.7.3/sources/platform.h:114:25: error: expected ‘;’ at end of member declaration virtual void unlock() noexcept = 0; ^ /temp/securefs-0.7.3/sources/platform.h:114:27: error: ‘noexcept’ does not name a type virtual void unlock() noexcept = 0; ^ In file included from /temp/securefs-0.7.3/sources/exceptions.h:2:0, from /temp/securefs-0.7.3/sources/streams.h:2, from /temp/securefs-0.7.3/sources/lite_stream.h:3, from /temp/securefs-0.7.3/sources/lite_fs.h:4, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /temp/securefs-0.7.3/sources/myutils.h:22:23: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 cls(const cls&) = delete; \ ^ /temp/securefs-0.7.3/sources/platform.h:119:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(DirectoryTraverser) ^ /temp/securefs-0.7.3/sources/myutils.h:23:12: error: expected ‘,’ or ‘...’ before ‘&&’ token cls(cls&&) = delete; \ ^ /temp/securefs-0.7.3/sources/platform.h:119:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(DirectoryTraverser) ^ /temp/securefs-0.7.3/sources/myutils.h:23:18: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 cls(cls&&) = delete; \ ^ /temp/securefs-0.7.3/sources/platform.h:119:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(DirectoryTraverser) ^ /temp/securefs-0.7.3/sources/myutils.h:23:18: error: invalid constructor; you probably meant ‘securefs::DirectoryTraverser (const securefs::DirectoryTraverser&)’ cls(cls&&) = delete; \ ^ /temp/securefs-0.7.3/sources/platform.h:119:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(DirectoryTraverser) ^ /temp/securefs-0.7.3/sources/myutils.h:24:34: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 cls& operator=(const cls&) = delete; \ ^ /temp/securefs-0.7.3/sources/platform.h:119:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(DirectoryTraverser) ^ /temp/securefs-0.7.3/sources/myutils.h:25:23: error: expected ‘,’ or ‘...’ before ‘&&’ token cls& operator=(cls&&) = delete; ^ /temp/securefs-0.7.3/sources/platform.h:119:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(DirectoryTraverser) ^ /temp/securefs-0.7.3/sources/myutils.h:25:29: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 cls& operator=(cls&&) = delete; ^ /temp/securefs-0.7.3/sources/platform.h:119:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(DirectoryTraverser) ^ /temp/securefs-0.7.3/sources/platform.h:119:23: error: cannot declare parameter to be of abstract type ‘securefs::DirectoryTraverser’ DISABLE_COPY_MOVE(DirectoryTraverser) ^ /temp/securefs-0.7.3/sources/myutils.h:23:9: note: in definition of macro ‘DISABLE_COPY_MOVE’ cls(cls&&) = delete; \ ^ In file included from /temp/securefs-0.7.3/sources/lite_fs.h:7:0, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /temp/securefs-0.7.3/sources/platform.h:117:7: note: because the following virtual functions are pure within ‘securefs::DirectoryTraverser’: class DirectoryTraverser ^ /temp/securefs-0.7.3/sources/platform.h:124:18: note: virtual bool securefs::DirectoryTraverser::next(std::string*, stat*) virtual bool next(std::string* name, struct fuse_stat* st) = 0; ^ In file included from /temp/securefs-0.7.3/sources/exceptions.h:2:0, from /temp/securefs-0.7.3/sources/streams.h:2, from /temp/securefs-0.7.3/sources/lite_stream.h:3, from /temp/securefs-0.7.3/sources/lite_fs.h:4, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /temp/securefs-0.7.3/sources/platform.h:119:23: error: cannot declare parameter to be of abstract type ‘securefs::DirectoryTraverser’ DISABLE_COPY_MOVE(DirectoryTraverser) ^ /temp/securefs-0.7.3/sources/myutils.h:25:20: note: in definition of macro ‘DISABLE_COPY_MOVE’ cls& operator=(cls&&) = delete; ^ In file included from /temp/securefs-0.7.3/sources/lite_fs.h:7:0, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /temp/securefs-0.7.3/sources/platform.h:157:10: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type std::shared_ptr open_file_stream(StringRef path, int flags, unsigned mode) const; ^ /temp/securefs-0.7.3/sources/platform.h:158:46: error: expected ‘;’ at end of member declaration bool remove_file_nothrow(StringRef path) const noexcept; ^ /temp/securefs-0.7.3/sources/platform.h:158:52: error: ‘noexcept’ does not name a type bool remove_file_nothrow(StringRef path) const noexcept; ^ /temp/securefs-0.7.3/sources/platform.h:159:51: error: expected ‘;’ at end of member declaration bool remove_directory_nothrow(StringRef path) const noexcept; ^ /temp/securefs-0.7.3/sources/platform.h:159:57: error: ‘noexcept’ does not name a type bool remove_directory_nothrow(StringRef path) const noexcept; ^ /temp/securefs-0.7.3/sources/platform.h:179:18: error: ‘function’ in namespace ‘std’ does not name a template type typedef std::function recursive_traverse_callback; ^ /temp/securefs-0.7.3/sources/platform.h:180:50: error: ‘recursive_traverse_callback’ does not name a type void recursive_traverse(StringRef dir, const recursive_traverse_callback& callback) const; ^ /temp/securefs-0.7.3/sources/platform.h:182:10: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type std::unique_ptr create_traverser(StringRef dir) const; ^ In file included from /temp/securefs-0.7.3/sources/exceptions.h:2:0, from /temp/securefs-0.7.3/sources/streams.h:2, from /temp/securefs-0.7.3/sources/lite_stream.h:3, from /temp/securefs-0.7.3/sources/lite_fs.h:4, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /temp/securefs-0.7.3/sources/myutils.h:22:23: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 cls(const cls&) = delete; \ ^ /temp/securefs-0.7.3/sources/platform.h:252:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(ConsoleColourSetter) ^ /temp/securefs-0.7.3/sources/myutils.h:23:12: error: expected ‘,’ or ‘...’ before ‘&&’ token cls(cls&&) = delete; \ ^ /temp/securefs-0.7.3/sources/platform.h:252:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(ConsoleColourSetter) ^ /temp/securefs-0.7.3/sources/myutils.h:23:18: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 cls(cls&&) = delete; \ ^ /temp/securefs-0.7.3/sources/platform.h:252:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(ConsoleColourSetter) ^ /temp/securefs-0.7.3/sources/myutils.h:23:18: error: invalid constructor; you probably meant ‘securefs::ConsoleColourSetter (const securefs::ConsoleColourSetter&)’ cls(cls&&) = delete; \ ^ /temp/securefs-0.7.3/sources/platform.h:252:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(ConsoleColourSetter) ^ /temp/securefs-0.7.3/sources/myutils.h:24:34: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 cls& operator=(const cls&) = delete; \ ^ /temp/securefs-0.7.3/sources/platform.h:252:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(ConsoleColourSetter) ^ /temp/securefs-0.7.3/sources/myutils.h:25:23: error: expected ‘,’ or ‘...’ before ‘&&’ token cls& operator=(cls&&) = delete; ^ /temp/securefs-0.7.3/sources/platform.h:252:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(ConsoleColourSetter) ^ /temp/securefs-0.7.3/sources/myutils.h:25:29: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 cls& operator=(cls&&) = delete; ^ /temp/securefs-0.7.3/sources/platform.h:252:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(ConsoleColourSetter) ^ In file included from /temp/securefs-0.7.3/sources/lite_fs.h:7:0, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /temp/securefs-0.7.3/sources/platform.h:256:41: error: expected ‘;’ at end of member declaration virtual void use(Colour::Code colour) noexcept = 0; ^ /temp/securefs-0.7.3/sources/platform.h:256:43: error: ‘noexcept’ does not name a type virtual void use(Colour::Code colour) noexcept = 0; ^ /temp/securefs-0.7.3/sources/platform.h:259:17: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type static std::unique_ptr create_setter(FILE* fp); ^ In file included from /temp/securefs-0.7.3/sources/exceptions.h:2:0, from /temp/securefs-0.7.3/sources/streams.h:2, from /temp/securefs-0.7.3/sources/lite_stream.h:3, from /temp/securefs-0.7.3/sources/lite_fs.h:4, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /temp/securefs-0.7.3/sources/myutils.h:22:23: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 cls(const cls&) = delete; \ ^ /temp/securefs-0.7.3/sources/lite_fs.h:25:9: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(File) ^ /temp/securefs-0.7.3/sources/myutils.h:23:12: error: expected ‘,’ or ‘...’ before ‘&&’ token cls(cls&&) = delete; \ ^ /temp/securefs-0.7.3/sources/lite_fs.h:25:9: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(File) ^ /temp/securefs-0.7.3/sources/myutils.h:23:18: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 cls(cls&&) = delete; \ ^ /temp/securefs-0.7.3/sources/lite_fs.h:25:9: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(File) ^ /temp/securefs-0.7.3/sources/myutils.h:23:18: error: invalid constructor; you probably meant ‘securefs::lite::File (const securefs::lite::File&)’ cls(cls&&) = delete; \ ^ /temp/securefs-0.7.3/sources/lite_fs.h:25:9: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(File) ^ /temp/securefs-0.7.3/sources/myutils.h:24:34: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 cls& operator=(const cls&) = delete; \ ^ /temp/securefs-0.7.3/sources/lite_fs.h:25:9: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(File) ^ /temp/securefs-0.7.3/sources/myutils.h:25:23: error: expected ‘,’ or ‘...’ before ‘&&’ token cls& operator=(cls&&) = delete; ^ /temp/securefs-0.7.3/sources/lite_fs.h:25:9: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(File) ^ /temp/securefs-0.7.3/sources/myutils.h:25:29: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 cls& operator=(cls&&) = delete; ^ /temp/securefs-0.7.3/sources/lite_fs.h:25:9: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(File) ^ In file included from /temp/securefs-0.7.3/sources/lite_fs.cpp:1:0: /temp/securefs-0.7.3/sources/lite_fs.h:28:53: error: field ‘m_crypt_stream’ has incomplete type ‘std::experimental::optional’ securefs::optional m_crypt_stream; ^ /temp/securefs-0.7.3/sources/lite_fs.h:29:14: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type std::shared_ptr m_file_stream; ^ /temp/securefs-0.7.3/sources/lite_fs.h:30:14: error: ‘mutex’ in namespace ‘std’ does not name a type std::mutex m_lock; ^ /temp/securefs-0.7.3/sources/lite_fs.h:33:38: error: expected ‘)’ before ‘<’ token explicit File(std::shared_ptr file_stream, ^ /temp/securefs-0.7.3/sources/lite_fs.h:42:26: error: expected ‘;’ at end of member declaration bool is_sparse() const noexcept { return m_crypt_stream->is_sparse(); } ^ /temp/securefs-0.7.3/sources/lite_fs.h:42:32: error: ‘noexcept’ does not name a type bool is_sparse() const noexcept { return m_crypt_stream->is_sparse(); } ^ /temp/securefs-0.7.3/sources/lite_fs.h:68:21: error: expected ‘;’ at end of member declaration void unlock() noexcept ^ /temp/securefs-0.7.3/sources/lite_fs.h:68:23: error: ‘noexcept’ does not name a type void unlock() noexcept ^ /temp/securefs-0.7.3/sources/lite_fs.h: In member function ‘void securefs::lite::File::write(const void*, securefs::offset_type, securefs::length_type)’: /temp/securefs-0.7.3/sources/lite_fs.h:50:57: error: return-statement with a value, in function returning 'void' [-fpermissive] return m_crypt_stream->write(input, off, len); ^ /temp/securefs-0.7.3/sources/lite_fs.h: In member function ‘void securefs::lite::File::fsync()’: /temp/securefs-0.7.3/sources/lite_fs.h:53:24: error: ‘m_file_stream’ was not declared in this scope void fsync() { m_file_stream->fsync(); } ^ /temp/securefs-0.7.3/sources/lite_fs.h: In member function ‘void securefs::lite::File::utimens(const timespec*)’: /temp/securefs-0.7.3/sources/lite_fs.h:54:51: error: ‘m_file_stream’ was not declared in this scope void utimens(const fuse_timespec ts[2]) { m_file_stream->utimens(ts); } ^ /temp/securefs-0.7.3/sources/lite_fs.h: In member function ‘void securefs::lite::File::lock(bool)’: /temp/securefs-0.7.3/sources/lite_fs.h:57:13: error: ‘m_lock’ was not declared in this scope m_lock.lock(); ^ /temp/securefs-0.7.3/sources/lite_fs.h:60:17: error: ‘m_file_stream’ was not declared in this scope m_file_stream->lock(exclusive); ^ /temp/securefs-0.7.3/sources/lite_fs.h: At global scope: /temp/securefs-0.7.3/sources/lite_fs.h:77:18: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type typedef std::unique_ptr AutoClosedFile; ^ /temp/securefs-0.7.3/sources/lite_fs.h:91:31: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11 std::string message() const override; ^ /temp/securefs-0.7.3/sources/lite_fs.h:92:28: error: expected ‘;’ at end of member declaration int error_number() const noexcept override { return EINVAL; } ^ /temp/securefs-0.7.3/sources/lite_fs.h:92:34: error: ‘noexcept’ does not name a type int error_number() const noexcept override { return EINVAL; } ^ In file included from /temp/securefs-0.7.3/sources/exceptions.h:2:0, from /temp/securefs-0.7.3/sources/streams.h:2, from /temp/securefs-0.7.3/sources/lite_stream.h:3, from /temp/securefs-0.7.3/sources/lite_fs.h:4, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /temp/securefs-0.7.3/sources/myutils.h:22:23: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 cls(const cls&) = delete; \ ^ /temp/securefs-0.7.3/sources/lite_fs.h:97:9: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(FileSystem) ^ /temp/securefs-0.7.3/sources/myutils.h:23:12: error: expected ‘,’ or ‘...’ before ‘&&’ token cls(cls&&) = delete; \ ^ /temp/securefs-0.7.3/sources/lite_fs.h:97:9: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(FileSystem) ^ /temp/securefs-0.7.3/sources/myutils.h:23:18: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 cls(cls&&) = delete; \ ^ /temp/securefs-0.7.3/sources/lite_fs.h:97:9: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(FileSystem) ^ /temp/securefs-0.7.3/sources/myutils.h:23:18: error: invalid constructor; you probably meant ‘securefs::lite::FileSystem (const securefs::lite::FileSystem&)’ cls(cls&&) = delete; \ ^ /temp/securefs-0.7.3/sources/lite_fs.h:97:9: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(FileSystem) ^ /temp/securefs-0.7.3/sources/myutils.h:24:34: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 cls& operator=(const cls&) = delete; \ ^ /temp/securefs-0.7.3/sources/lite_fs.h:97:9: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(FileSystem) ^ /temp/securefs-0.7.3/sources/myutils.h:25:23: error: expected ‘,’ or ‘...’ before ‘&&’ token cls& operator=(cls&&) = delete; ^ /temp/securefs-0.7.3/sources/lite_fs.h:97:9: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(FileSystem) ^ /temp/securefs-0.7.3/sources/myutils.h:25:29: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 cls& operator=(cls&&) = delete; ^ /temp/securefs-0.7.3/sources/lite_fs.h:97:9: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(FileSystem) ^ In file included from /temp/securefs-0.7.3/sources/lite_fs.cpp:1:0: /temp/securefs-0.7.3/sources/lite_fs.h:106:14: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type std::shared_ptr m_root; ^ /temp/securefs-0.7.3/sources/lite_fs.h:114:35: error: expected ‘)’ before ‘<’ token FileSystem(std::shared_ptr root, ^ /temp/securefs-0.7.3/sources/lite_fs.h:124:9: error: ‘AutoClosedFile’ does not name a type AutoClosedFile open(StringRef path, int flags, fuse_mode_t mode); ^ /temp/securefs-0.7.3/sources/lite_fs.h:136:14: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type std::unique_ptr create_traverser(StringRef path); ^ In file included from /temp/securefs-0.7.3/sources/lite_fs.cpp:2:0: /temp/securefs-0.7.3/sources/case_fold.h:9:35: error: expected initializer before ‘noexcept’ uint32_t case_fold(uint32_t rune) noexcept; ^ In file included from /temp/securefs-0.7.3/sources/exceptions.h:2:0, from /temp/securefs-0.7.3/sources/streams.h:2, from /temp/securefs-0.7.3/sources/lite_stream.h:3, from /temp/securefs-0.7.3/sources/lite_fs.h:4, from /temp/securefs-0.7.3/sources/lite_fs.cpp:1: /temp/securefs-0.7.3/sources/myutils.h:22:23: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 cls(const cls&) = delete; \ ^ /temp/securefs-0.7.3/sources/logger.h:41:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(Logger) ^ /temp/securefs-0.7.3/sources/myutils.h:23:12: error: expected ‘,’ or ‘...’ before ‘&&’ token cls(cls&&) = delete; \ ^ /temp/securefs-0.7.3/sources/logger.h:41:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(Logger) ^ /temp/securefs-0.7.3/sources/myutils.h:23:18: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 cls(cls&&) = delete; \ ^ /temp/securefs-0.7.3/sources/logger.h:41:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(Logger) ^ /temp/securefs-0.7.3/sources/myutils.h:23:18: error: invalid constructor; you probably meant ‘securefs::Logger (const securefs::Logger&)’ cls(cls&&) = delete; \ ^ /temp/securefs-0.7.3/sources/logger.h:41:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(Logger) ^ /temp/securefs-0.7.3/sources/myutils.h:24:34: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 cls& operator=(const cls&) = delete; \ ^ /temp/securefs-0.7.3/sources/logger.h:41:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(Logger) ^ /temp/securefs-0.7.3/sources/myutils.h:25:23: error: expected ‘,’ or ‘...’ before ‘&&’ token cls& operator=(cls&&) = delete; ^ /temp/securefs-0.7.3/sources/logger.h:41:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(Logger) ^ /temp/securefs-0.7.3/sources/myutils.h:25:29: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 cls& operator=(cls&&) = delete; ^ /temp/securefs-0.7.3/sources/logger.h:41:5: note: in expansion of macro ‘DISABLE_COPY_MOVE’ DISABLE_COPY_MOVE(Logger) ^ In file included from /temp/securefs-0.7.3/sources/lite_fs.cpp:4:0: /temp/securefs-0.7.3/sources/logger.h:46:10: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type std::unique_ptr m_console_color; ^ /temp/securefs-0.7.3/sources/logger.h:55:67: error: expected ‘;’ at end of member declaration void vlog(LoggingLevel level, const char* format, va_list args) noexcept; ^ /temp/securefs-0.7.3/sources/logger.h:55:69: error: ‘noexcept’ does not name a type void vlog(LoggingLevel level, const char* format, va_list args) noexcept; ^ /temp/securefs-0.7.3/sources/logger.h:56:57: error: expected ‘;’ at end of member declaration void log(LoggingLevel level, const char* format, ...) noexcept ^ /temp/securefs-0.7.3/sources/logger.h:56:59: error: ‘noexcept’ does not name a type void log(LoggingLevel level, const char* format, ...) noexcept ^ /temp/securefs-0.7.3/sources/logger.h:62:30: error: expected ‘;’ at end of member declaration LoggingLevel get_level() const noexcept { return m_level; } ^ /temp/securefs-0.7.3/sources/logger.h:62:36: error: ‘noexcept’ does not name a type LoggingLevel get_level() const noexcept { return m_level; } ^ /temp/securefs-0.7.3/sources/logger.h:63:36: error: expected ‘;’ at end of member declaration void set_level(LoggingLevel lvl) noexcept { m_level = lvl; } ^ /temp/securefs-0.7.3/sources/logger.h:63:38: error: ‘noexcept’ does not name a type void set_level(LoggingLevel lvl) noexcept { m_level = lvl; } ^ /temp/securefs-0.7.3/sources/lite_fs.cpp:15:15: error: expected constructor, destructor, or type conversion before ‘(’ token File::File(std::shared_ptr file_stream, ^ /temp/securefs-0.7.3/sources/lite_fs.cpp:475:1: error: expected ‘}’ at end of input } ^ /temp/securefs-0.7.3/sources/lite_fs.cpp:475:1: error: expected ‘}’ at end of input CMakeFiles/securefs-static.dir/build.make:54: recipe for target 'CMakeFiles/securefs-static.dir/sources/lite_fs.cpp.o' failed make[2]: *** [CMakeFiles/securefs-static.dir/sources/lite_fs.cpp.o] Error 1 CMakeFiles/Makefile2:96: recipe for target 'CMakeFiles/securefs-static.dir/all' failed make[1]: *** [CMakeFiles/securefs-static.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2 achim@lmde2 /temp/securefs-0.7.3 $