Logs
<snip>
Looking for a fallback subproject for the dependency substrate
Executing subproject substrate
substrate| Project name: substrate
substrate| Project version: 0.0.1
substrate| C++ compiler for the host machine: c++ (clang 13.0.0 "Apple clang version 13.0.0 (clang-1300.0.29.30)")
substrate| C++ linker for the host machine: c++ ld64 711
substrate| C++ compiler for the build machine: c++ (clang 13.0.0 "Apple clang version 13.0.0 (clang-1300.0.29.30)")
substrate| C++ linker for the build machine: c++ ld64 711
substrate| Compiler for C++ supports arguments -Wdouble-promotion: YES
substrate| Compiler for C++ supports arguments -Wformat=2: YES
substrate| Compiler for C++ supports arguments -Wformat-overflow=2: NO
substrate| Compiler for C++ supports arguments -Wformat-signedness: NO
substrate| Compiler for C++ supports arguments -Wformat-truncation: NO
substrate| Compiler for C++ supports arguments -Wnull-dereference: YES
substrate| Compiler for C++ supports arguments -Wmissing-attributes: NO
substrate| Compiler for C++ supports arguments -Wmissing-braces: YES
substrate| Compiler for C++ supports arguments -Wsequence-point: YES
substrate| Compiler for C++ supports arguments -Wreturn-type: YES
substrate| Compiler for C++ supports arguments -Wunused: YES
substrate| Compiler for C++ supports arguments -Wunused-local-typedefs: YES
substrate| Compiler for C++ supports arguments -Wunused-const-variable=2: NO
substrate| Compiler for C++ supports arguments -Wmaybe-uninitialized: NO
substrate| Compiler for C++ supports arguments -Wunknown-pragmas: YES
substrate| Compiler for C++ supports arguments -Wstrict-aliasing: YES
substrate| Compiler for C++ supports arguments -Wstrict-overflow=3: YES
substrate| Compiler for C++ supports arguments -Wstring-compare: YES
substrate| Compiler for C++ supports arguments -Wstringop-overflow: NO
substrate| Compiler for C++ supports arguments -Warith-conversion: NO
substrate| Compiler for C++ supports arguments -Wvla-parameter: NO
substrate| Compiler for C++ supports arguments -Wduplicated-branches: NO
substrate| Compiler for C++ supports arguments -Wshadow=local: NO
substrate| Compiler for C++ supports arguments -Wunsafe-loop-optimizations: NO
substrate| Compiler for C++ supports arguments -Wbad-function-cast: YES
substrate| Compiler for C++ supports arguments -Wcast-qual: YES
substrate| Compiler for C++ supports arguments -Wcast-align=strict: NO
substrate| Compiler for C++ supports arguments -Wcast-function-type: NO
substrate| Compiler for C++ supports arguments -Wconversion: YES
substrate| Compiler for C++ supports arguments -Wdangling-else: YES
substrate| Compiler for C++ supports arguments -Wsign-conversion: YES
substrate| Compiler for C++ supports arguments -Wfloat-conversion: YES
substrate| Compiler for C++ supports arguments -Wpacked: YES
substrate| Compiler for C++ supports arguments -Wredundant-decls: YES
substrate| Compiler for C++ supports arguments -Winline: YES
substrate| Compiler for C++ supports arguments -Wvla: YES
substrate| Compiler for C++ supports arguments -Wstack-protector: YES
substrate| Compiler for C++ supports arguments -Wunsuffixed-float-constant: NO
substrate| Compiler for C++ supports arguments -Wimplicit-fallthrough: YES
substrate| Compiler for C++ supports arguments -Wno-c++17-extensions: YES
substrate| Fetching value of define "__cplusplus" : 201703L
substrate| Checking if "accepts friend declarations for auto functions (LLVM #31852, #33222)" compiles: YES
substrate| Checking if "has a working std::variant implementation (GCC #80165)" compiles: YES
substrate| Checking if "has a working std::filesystem::path implementation (GCC >= 8 in macOS pre 10.15)" : links: YES
substrate| Program runClangTidy.py found: YES (/Users/amalia/Documents/audioStreamer/libaudio/deps/substrate/runClangTidy.py)
substrate| Build targets in project: 3
substrate| Subproject substrate finished.
Dependency substrate from subproject deps/substrate found: YES 0.0.1
<snip>
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/local/bin/ninja -C /Users/amalia/Documents/audioStreamer/libaudio/build
ninja: Entering directory `/Users/amalia/Documents/audioStreamer/libaudio/build'
[4/173] Compiling C++ object deps/substrate/impl/libsubstrateNative.a.p/socket.cxx.o
FAILED: deps/substrate/impl/libsubstrateNative.a.p/socket.cxx.o
c++ -Ideps/substrate/impl/libsubstrateNative.a.p -Ideps/substrate -I../deps/substrate -fvisibility=hidden -fvisibility-inlines-hidden -flto -fcolor-diagnostics -DNDEBUG -Wall -Winvalid-pch -Wextra -Wpedantic -O3 -DSUBSTRATE_BUILD_INTERNAL -MD -MQ deps/substrate/impl/libsubstrateNative.a.p/socket.cxx.o -MF deps/substrate/impl/libsubstrateNative.a.p/socket.cxx.o.d -o deps/substrate/impl/libsubstrateNative.a.p/socket.cxx.o -c ../deps/substrate/impl/socket.cxx
In file included from ../deps/substrate/impl/socket.cxx:11:
In file included from ../deps/substrate/substrate/utility:15:
../deps/substrate/substrate/internal/defs:35:31: warning: variadic macros are a C99 feature [-Wvariadic-macros]
# define SUBSTRATE_NO_DISCARD(...) __VA_ARGS__ __attribute__((warn_unused_result))
^
../deps/substrate/substrate/internal/defs:116:36: warning: variadic macros are a C99 feature [-Wvariadic-macros]
# define SUBSTRATE_DEDUCTION_GUIDE(...)
^
In file included from ../deps/substrate/impl/socket.cxx:11:
In file included from ../deps/substrate/substrate/utility:16:
In file included from ../deps/substrate/substrate/promotion_helpers:7:
../deps/substrate/substrate/internal/types:15:18: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using ssize_t = ::ssize_t;
^
In file included from ../deps/substrate/impl/socket.cxx:11:
In file included from ../deps/substrate/substrate/utility:16:
../deps/substrate/substrate/promotion_helpers:12:68: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
template<typename T> struct promoted_type<T, true> { using type = uint32_t; };
^
../deps/substrate/substrate/promotion_helpers:13:69: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
template<typename T> struct promoted_type<T, false> { using type = int32_t; };
^
../deps/substrate/substrate/promotion_helpers:14:65: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
template<> struct promoted_type<uint64_t, true> { using type = uint64_t; };
^
../deps/substrate/substrate/promotion_helpers:15:65: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
template<> struct promoted_type<int64_t, false> { using type = int64_t; };
^
../deps/substrate/substrate/promotion_helpers:16:97: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
template<> struct promoted_type<size_t, !std::is_same<uint64_t, size_t>::value> { using type = size_t; };
^
../deps/substrate/substrate/promotion_helpers:17:97: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
template<> struct promoted_type<ssize_t, std::is_same<int64_t, ssize_t>::value> { using type = ssize_t; };
^
../deps/substrate/substrate/promotion_helpers:19:47: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
template<typename T> using promoted_type_t = typename promoted_type<T>::type;
^
In file included from ../deps/substrate/impl/socket.cxx:11:
../deps/substrate/substrate/utility:78:22: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using enable_if_t = typename std::enable_if<B,T>::type;
^
../deps/substrate/substrate/utility:81:28: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using underlying_type_t = typename std::underlying_type<T>::type;
^
../deps/substrate/substrate/utility:84:24: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using conditional_t = typename std::conditional<B, T, F>::type;
^
../deps/substrate/substrate/utility:87:29: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using remove_reference_t = typename std::remove_reference<T>::type;
^
../deps/substrate/substrate/utility:90:22: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using remove_cv_t = typename std::remove_cv<T>::type;
^
../deps/substrate/substrate/utility:93:25: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using remove_const_t = typename std::remove_const<T>::type;
^
../deps/substrate/substrate/utility:96:28: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using remove_volatile_t = typename std::remove_volatile<T>::type;
^
../deps/substrate/substrate/utility:99:26: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using remove_extent_t = typename std::remove_extent<T>::type;
^
../deps/substrate/substrate/utility:102:19: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using add_cv_t = typename std::add_cv<T>::type;
^
../deps/substrate/substrate/utility:105:22: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using add_const_t = typename std::add_const<T>::type;
^
../deps/substrate/substrate/utility:108:25: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using add_volatile_t = typename std::add_volatile<T>::type;
^
../deps/substrate/substrate/utility:111:33: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using add_lvalue_reference_t = typename std::add_lvalue_reference<T>::type;
^
../deps/substrate/substrate/utility:114:33: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using add_rvalue_reference_t = typename std::add_rvalue_reference<T>::type;
^
../deps/substrate/substrate/utility:117:27: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using remove_pointer_t = typename std::remove_pointer<T>::type;
^
../deps/substrate/substrate/utility:120:24: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using add_pointer_t = typename std::add_pointer<T>::type;
^
../deps/substrate/substrate/utility:123:24: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using make_signed_t = typename std::make_signed<T>::type;
^
../deps/substrate/substrate/utility:126:26: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using make_unsigned_t = typename std::make_unsigned<T>::type;
^
../deps/substrate/substrate/utility:516:22: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using pure_type_t = typename std::remove_cv< remove_pointer_t<remove_reference_t<T>>>::type;
^
../deps/substrate/substrate/utility:516:84: error: a space is required between consecutive right angle brackets (use '> >')
using pure_type_t = typename std::remove_cv< remove_pointer_t<remove_reference_t<T>>>::type;
^~
> >
../deps/substrate/substrate/utility:519:29: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using requires_reference = std::integral_constant<bool, std::is_pointer<Argument>::value && !std::is_pointer<remove_reference_t<Value>>::value>;
^
../deps/substrate/substrate/utility:519:135: error: a space is required between consecutive right angle brackets (use '> >')
using requires_reference = std::integral_constant<bool, std::is_pointer<Argument>::value && !std::is_pointer<remove_reference_t<Value>>::value>;
^~
> >
../deps/substrate/substrate/utility:522:31: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using requires_dereference = std::integral_constant<bool, !std::is_pointer<Argument>::value && std::is_pointer<remove_reference_t<Value>>::value>;
^
../deps/substrate/substrate/utility:522:137: error: a space is required between consecutive right angle brackets (use '> >')
using requires_dereference = std::integral_constant<bool, !std::is_pointer<Argument>::value && std::is_pointer<remove_reference_t<Value>>::value>;
^~
> >
../deps/substrate/substrate/utility:534:34: error: a space is required between consecutive right angle brackets (use '> >')
internal::is_char<remove_cv_t<T>>::value> { };
^~
> >
../deps/substrate/substrate/utility:537:37: error: a space is required between consecutive right angle brackets (use '> >')
internal::is_boolean<remove_cv_t<T>>::value> { };
^~
> >
../deps/substrate/substrate/utility:543:80: error: a space is required between consecutive right angle brackets (use '> >')
template<typename R, typename P> struct is_duration<std::chrono::duration<R, P>> : public std::true_type { };
^~
> >
../deps/substrate/substrate/utility:547:2: warning: GCC does not allow 'unused' attribute in this position on a function definition [-Wgcc-compat]
SUBSTRATE_NOWARN_UNUSED(static inline std::string decode_typename(const char *const mangled_name))
^
../deps/substrate/substrate/internal/defs:27:54: note: expanded from macro 'SUBSTRATE_NOWARN_UNUSED'
# define SUBSTRATE_NOWARN_UNUSED(x) x __attribute__((unused))
^
In file included from ../deps/substrate/impl/socket.cxx:11:
../deps/substrate/substrate/utility:550:3: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
auto * const demangler = abi::__cxa_demangle(mangled_name, nullptr, nullptr, nullptr);
^
../deps/substrate/substrate/utility:554:41: error: no matching constructor for initialization of 'std::unique_ptr<char, void (*)(void *)>'
std::unique_ptr<char, void(*)(void*)> _demangle{demangler, std::free};
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:1551:21: note: candidate template ignored: requirement '!is_pointer<void (*)(void *)>::value' was not satisfied [with _Dummy = true]
_LIBCPP_CONSTEXPR unique_ptr() _NOEXCEPT : __ptr_(pointer(), __default_init_tag()) {}
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:1556:21: note: candidate constructor template not viable: requires 1 argument, but 0 were provided
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(pointer(), __default_init_tag()) {}
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:1561:12: note: candidate constructor template not viable: requires single argument '__p', but no arguments were provided
explicit unique_ptr(pointer __p) _NOEXCEPT : __ptr_(__p, __default_init_tag()) {}
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:1584:3: note: candidate constructor not viable: requires single argument '__u', but no arguments were provided
unique_ptr(unique_ptr&& __u) _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:1593:3: note: candidate constructor template not viable: requires single argument '__u', but no arguments were provided
unique_ptr(unique_ptr<_Up, _Ep>&& __u) _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:1637:3: note: candidate constructor not viable: requires 1 argument, but 0 were provided
unique_ptr(unique_ptr const&) = delete;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:1566:3: note: candidate constructor template not viable: requires 2 arguments, but 0 were provided
unique_ptr(pointer __p, _LValRefType<_Dummy> __d) _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:1572:3: note: candidate constructor template not viable: requires 2 arguments, but 0 were provided
unique_ptr(pointer __p, _GoodRValRefType<_Dummy> __d) _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:1581:3: note: candidate constructor template not viable: requires 2 arguments, but 0 were provided
unique_ptr(pointer __p, _BadRValRefType<_Dummy> __d) = delete;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:1599:3: note: candidate constructor template not viable: requires at least argument '__p', but no arguments were provided
unique_ptr(auto_ptr<_Up>&& __p,
^
In file included from ../deps/substrate/impl/socket.cxx:11:
../deps/substrate/substrate/utility:554:50: error: expected ';' at end of declaration
std::unique_ptr<char, void(*)(void*)> _demangle{demangler, std::free};
^
;
../deps/substrate/substrate/utility:555:10: warning: generalized initializer lists are a C++11 extension [-Wc++11-extensions]
return {_demangle ? _demangle.get() : mangled_name};
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../deps/substrate/substrate/utility:555:10: error: non-aggregate type 'std::string' (aka 'basic_string<char>') cannot be initialized with an initializer list
return {_demangle ? _demangle.get() : mangled_name};
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../deps/substrate/substrate/utility:560:21: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using _type_ref = typename substrate::remove_reference_t<T>;
^
../deps/substrate/substrate/utility:561:3: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
auto _type_name{decode_typename(typeid(_type_ref).name())};
^
../deps/substrate/substrate/utility:561:8: error: declaration of variable '_type_name' with deduced type 'auto' requires an initializer
auto _type_name{decode_typename(typeid(_type_ref).name())};
^
../deps/substrate/substrate/utility:561:18: error: expected ';' at end of declaration
auto _type_name{decode_typename(typeid(_type_ref).name())};
^
;
../deps/substrate/substrate/utility:577:64: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
template<typename T> struct makeUnique_t { using uniqueType = std::unique_ptr<T>; };
^
../deps/substrate/substrate/utility:578:69: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
template<typename T> struct makeUnique_t<T []> { using arrayType = std::unique_ptr<T []>; };
^
../deps/substrate/substrate/utility:581:31: warning: variadic templates are a C++11 extension [-Wc++11-extensions]
template<typename T, typename... args_t> inline typename makeUnique_t<T>::uniqueType
^
../deps/substrate/substrate/utility:582:22: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
make_unique(args_t &&...args)
^
../deps/substrate/substrate/utility:584:18: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using type_t = remove_const_t<T>;
^
../deps/substrate/substrate/utility:585:28: error: expected '(' for function-style cast or type construction
return std::unique_ptr<T>{new type_t{std::forward<args_t>(args)...}};
~~~~~~~~~~~~~~~~~~^
../deps/substrate/substrate/utility:582:27: warning: unused parameter 'args' [-Wunused-parameter]
make_unique(args_t &&...args)
^
../deps/substrate/substrate/utility:591:18: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using type_t = remove_const_t<remove_extent_t<T>>;
^
../deps/substrate/substrate/utility:591:50: error: a space is required between consecutive right angle brackets (use '> >')
using type_t = remove_const_t<remove_extent_t<T>>;
^~
> >
../deps/substrate/substrate/utility:592:28: error: expected '(' for function-style cast or type construction
return std::unique_ptr<T>{new type_t[num]{{}}};
~~~~~~~~~~~~~~~~~~^
../deps/substrate/substrate/utility:589:28: warning: unused parameter 'num' [-Wunused-parameter]
make_unique(const size_t num)
^
../deps/substrate/substrate/utility:595:31: warning: variadic templates are a C++11 extension [-Wc++11-extensions]
template<typename T, typename... args_t> inline typename makeUnique_t<T>::invalidType
^
../deps/substrate/substrate/utility:596:22: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
make_unique(args_t &&...) noexcept = delete;
^
../deps/substrate/substrate/utility:596:28: error: expected ';' at end of declaration
make_unique(args_t &&...) noexcept = delete;
^
;
../deps/substrate/substrate/utility:596:29: error: C++ requires a type specifier for all declarations
make_unique(args_t &&...) noexcept = delete;
^
../deps/substrate/substrate/utility:596:40: error: only functions can have deleted definitions
make_unique(args_t &&...) noexcept = delete;
^
../deps/substrate/substrate/utility:599:31: warning: variadic templates are a C++11 extension [-Wc++11-extensions]
template<typename T, typename... Args> inline typename makeUnique_t<T>::uniqueType
^
../deps/substrate/substrate/utility:600:28: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
make_unique_nothrow(Args &&...args) noexcept(noexcept(T{std::forward<Args>(args)...}))
^
../deps/substrate/substrate/utility:600:38: error: expected ';' at end of declaration
make_unique_nothrow(Args &&...args) noexcept(noexcept(T{std::forward<Args>(args)...}))
^
;
../deps/substrate/substrate/utility:600:39: error: C++ requires a type specifier for all declarations
make_unique_nothrow(Args &&...args) noexcept(noexcept(T{std::forward<Args>(args)...}))
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
47 warnings and 20 errors generated.
[6/173] Compiling C++ object deps/substrate/impl/libsubstrateNative.a.p/console.cxx.o
FAILED: deps/substrate/impl/libsubstrateNative.a.p/console.cxx.o
c++ -Ideps/substrate/impl/libsubstrateNative.a.p -Ideps/substrate -I../deps/substrate -fvisibility=hidden -fvisibility-inlines-hidden -flto -fcolor-diagnostics -DNDEBUG -Wall -Winvalid-pch -Wextra -Wpedantic -O3 -DSUBSTRATE_BUILD_INTERNAL -MD -MQ deps/substrate/impl/libsubstrateNative.a.p/console.cxx.o -MF deps/substrate/impl/libsubstrateNative.a.p/console.cxx.o.d -o deps/substrate/impl/libsubstrateNative.a.p/console.cxx.o -c ../deps/substrate/impl/console.cxx
In file included from ../deps/substrate/impl/console.cxx:17:
In file included from ../deps/substrate/substrate/console:20:
../deps/substrate/substrate/internal/defs:35:31: warning: variadic macros are a C99 feature [-Wvariadic-macros]
# define SUBSTRATE_NO_DISCARD(...) __VA_ARGS__ __attribute__((warn_unused_result))
^
../deps/substrate/substrate/internal/defs:116:36: warning: variadic macros are a C99 feature [-Wvariadic-macros]
# define SUBSTRATE_DEDUCTION_GUIDE(...)
^
In file included from ../deps/substrate/impl/console.cxx:17:
In file included from ../deps/substrate/substrate/console:21:
In file included from ../deps/substrate/substrate/utility:16:
In file included from ../deps/substrate/substrate/promotion_helpers:7:
../deps/substrate/substrate/internal/types:15:18: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using ssize_t = ::ssize_t;
^
In file included from ../deps/substrate/impl/console.cxx:17:
In file included from ../deps/substrate/substrate/console:21:
In file included from ../deps/substrate/substrate/utility:16:
../deps/substrate/substrate/promotion_helpers:12:68: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
template<typename T> struct promoted_type<T, true> { using type = uint32_t; };
^
../deps/substrate/substrate/promotion_helpers:13:69: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
template<typename T> struct promoted_type<T, false> { using type = int32_t; };
^
../deps/substrate/substrate/promotion_helpers:14:65: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
template<> struct promoted_type<uint64_t, true> { using type = uint64_t; };
^
../deps/substrate/substrate/promotion_helpers:15:65: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
template<> struct promoted_type<int64_t, false> { using type = int64_t; };
^
../deps/substrate/substrate/promotion_helpers:16:97: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
template<> struct promoted_type<size_t, !std::is_same<uint64_t, size_t>::value> { using type = size_t; };
^
../deps/substrate/substrate/promotion_helpers:17:97: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
template<> struct promoted_type<ssize_t, std::is_same<int64_t, ssize_t>::value> { using type = ssize_t; };
^
../deps/substrate/substrate/promotion_helpers:19:47: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
template<typename T> using promoted_type_t = typename promoted_type<T>::type;
^
In file included from ../deps/substrate/impl/console.cxx:17:
In file included from ../deps/substrate/substrate/console:21:
../deps/substrate/substrate/utility:78:22: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using enable_if_t = typename std::enable_if<B,T>::type;
^
../deps/substrate/substrate/utility:81:28: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using underlying_type_t = typename std::underlying_type<T>::type;
^
../deps/substrate/substrate/utility:84:24: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using conditional_t = typename std::conditional<B, T, F>::type;
^
../deps/substrate/substrate/utility:87:29: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using remove_reference_t = typename std::remove_reference<T>::type;
^
../deps/substrate/substrate/utility:90:22: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using remove_cv_t = typename std::remove_cv<T>::type;
^
../deps/substrate/substrate/utility:93:25: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using remove_const_t = typename std::remove_const<T>::type;
^
../deps/substrate/substrate/utility:96:28: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using remove_volatile_t = typename std::remove_volatile<T>::type;
^
../deps/substrate/substrate/utility:99:26: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using remove_extent_t = typename std::remove_extent<T>::type;
^
../deps/substrate/substrate/utility:102:19: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using add_cv_t = typename std::add_cv<T>::type;
^
../deps/substrate/substrate/utility:105:22: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using add_const_t = typename std::add_const<T>::type;
^
../deps/substrate/substrate/utility:108:25: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using add_volatile_t = typename std::add_volatile<T>::type;
^
../deps/substrate/substrate/utility:111:33: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using add_lvalue_reference_t = typename std::add_lvalue_reference<T>::type;
^
../deps/substrate/substrate/utility:114:33: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using add_rvalue_reference_t = typename std::add_rvalue_reference<T>::type;
^
../deps/substrate/substrate/utility:117:27: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using remove_pointer_t = typename std::remove_pointer<T>::type;
^
../deps/substrate/substrate/utility:120:24: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using add_pointer_t = typename std::add_pointer<T>::type;
^
../deps/substrate/substrate/utility:123:24: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using make_signed_t = typename std::make_signed<T>::type;
^
../deps/substrate/substrate/utility:126:26: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using make_unsigned_t = typename std::make_unsigned<T>::type;
^
../deps/substrate/substrate/utility:516:22: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using pure_type_t = typename std::remove_cv< remove_pointer_t<remove_reference_t<T>>>::type;
^
../deps/substrate/substrate/utility:516:84: error: a space is required between consecutive right angle brackets (use '> >')
using pure_type_t = typename std::remove_cv< remove_pointer_t<remove_reference_t<T>>>::type;
^~
> >
../deps/substrate/substrate/utility:519:29: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using requires_reference = std::integral_constant<bool, std::is_pointer<Argument>::value && !std::is_pointer<remove_reference_t<Value>>::value>;
^
../deps/substrate/substrate/utility:519:135: error: a space is required between consecutive right angle brackets (use '> >')
using requires_reference = std::integral_constant<bool, std::is_pointer<Argument>::value && !std::is_pointer<remove_reference_t<Value>>::value>;
^~
> >
../deps/substrate/substrate/utility:522:31: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using requires_dereference = std::integral_constant<bool, !std::is_pointer<Argument>::value && std::is_pointer<remove_reference_t<Value>>::value>;
^
../deps/substrate/substrate/utility:522:137: error: a space is required between consecutive right angle brackets (use '> >')
using requires_dereference = std::integral_constant<bool, !std::is_pointer<Argument>::value && std::is_pointer<remove_reference_t<Value>>::value>;
^~
> >
../deps/substrate/substrate/utility:534:34: error: a space is required between consecutive right angle brackets (use '> >')
internal::is_char<remove_cv_t<T>>::value> { };
^~
> >
../deps/substrate/substrate/utility:537:37: error: a space is required between consecutive right angle brackets (use '> >')
internal::is_boolean<remove_cv_t<T>>::value> { };
^~
> >
../deps/substrate/substrate/utility:543:80: error: a space is required between consecutive right angle brackets (use '> >')
template<typename R, typename P> struct is_duration<std::chrono::duration<R, P>> : public std::true_type { };
^~
> >
../deps/substrate/substrate/utility:547:2: warning: GCC does not allow 'unused' attribute in this position on a function definition [-Wgcc-compat]
SUBSTRATE_NOWARN_UNUSED(static inline std::string decode_typename(const char *const mangled_name))
^
../deps/substrate/substrate/internal/defs:27:54: note: expanded from macro 'SUBSTRATE_NOWARN_UNUSED'
# define SUBSTRATE_NOWARN_UNUSED(x) x __attribute__((unused))
^
In file included from ../deps/substrate/impl/console.cxx:17:
In file included from ../deps/substrate/substrate/console:21:
../deps/substrate/substrate/utility:550:3: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
auto * const demangler = abi::__cxa_demangle(mangled_name, nullptr, nullptr, nullptr);
^
../deps/substrate/substrate/utility:554:41: error: no matching constructor for initialization of 'std::unique_ptr<char, void (*)(void *)>'
std::unique_ptr<char, void(*)(void*)> _demangle{demangler, std::free};
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:1551:21: note: candidate template ignored: requirement '!is_pointer<void (*)(void *)>::value' was not satisfied [with _Dummy = true]
_LIBCPP_CONSTEXPR unique_ptr() _NOEXCEPT : __ptr_(pointer(), __default_init_tag()) {}
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:1556:21: note: candidate constructor template not viable: requires 1 argument, but 0 were provided
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(pointer(), __default_init_tag()) {}
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:1561:12: note: candidate constructor template not viable: requires single argument '__p', but no arguments were provided
explicit unique_ptr(pointer __p) _NOEXCEPT : __ptr_(__p, __default_init_tag()) {}
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:1584:3: note: candidate constructor not viable: requires single argument '__u', but no arguments were provided
unique_ptr(unique_ptr&& __u) _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:1593:3: note: candidate constructor template not viable: requires single argument '__u', but no arguments were provided
unique_ptr(unique_ptr<_Up, _Ep>&& __u) _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:1637:3: note: candidate constructor not viable: requires 1 argument, but 0 were provided
unique_ptr(unique_ptr const&) = delete;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:1566:3: note: candidate constructor template not viable: requires 2 arguments, but 0 were provided
unique_ptr(pointer __p, _LValRefType<_Dummy> __d) _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:1572:3: note: candidate constructor template not viable: requires 2 arguments, but 0 were provided
unique_ptr(pointer __p, _GoodRValRefType<_Dummy> __d) _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:1581:3: note: candidate constructor template not viable: requires 2 arguments, but 0 were provided
unique_ptr(pointer __p, _BadRValRefType<_Dummy> __d) = delete;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:1599:3: note: candidate constructor template not viable: requires at least argument '__p', but no arguments were provided
unique_ptr(auto_ptr<_Up>&& __p,
^
In file included from ../deps/substrate/impl/console.cxx:17:
In file included from ../deps/substrate/substrate/console:21:
../deps/substrate/substrate/utility:554:50: error: expected ';' at end of declaration
std::unique_ptr<char, void(*)(void*)> _demangle{demangler, std::free};
^
;
../deps/substrate/substrate/utility:555:10: warning: generalized initializer lists are a C++11 extension [-Wc++11-extensions]
return {_demangle ? _demangle.get() : mangled_name};
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../deps/substrate/substrate/utility:555:10: error: non-aggregate type 'std::string' (aka 'basic_string<char>') cannot be initialized with an initializer list
return {_demangle ? _demangle.get() : mangled_name};
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../deps/substrate/substrate/utility:560:21: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using _type_ref = typename substrate::remove_reference_t<T>;
^
../deps/substrate/substrate/utility:561:3: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
auto _type_name{decode_typename(typeid(_type_ref).name())};
^
../deps/substrate/substrate/utility:561:8: error: declaration of variable '_type_name' with deduced type 'auto' requires an initializer
auto _type_name{decode_typename(typeid(_type_ref).name())};
^
../deps/substrate/substrate/utility:561:18: error: expected ';' at end of declaration
auto _type_name{decode_typename(typeid(_type_ref).name())};
^
;
../deps/substrate/substrate/utility:577:64: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
template<typename T> struct makeUnique_t { using uniqueType = std::unique_ptr<T>; };
^
../deps/substrate/substrate/utility:578:69: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
template<typename T> struct makeUnique_t<T []> { using arrayType = std::unique_ptr<T []>; };
^
../deps/substrate/substrate/utility:581:31: warning: variadic templates are a C++11 extension [-Wc++11-extensions]
template<typename T, typename... args_t> inline typename makeUnique_t<T>::uniqueType
^
../deps/substrate/substrate/utility:582:22: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
make_unique(args_t &&...args)
^
../deps/substrate/substrate/utility:584:18: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using type_t = remove_const_t<T>;
^
../deps/substrate/substrate/utility:585:28: error: expected '(' for function-style cast or type construction
return std::unique_ptr<T>{new type_t{std::forward<args_t>(args)...}};
~~~~~~~~~~~~~~~~~~^
../deps/substrate/substrate/utility:582:27: warning: unused parameter 'args' [-Wunused-parameter]
make_unique(args_t &&...args)
^
../deps/substrate/substrate/utility:591:18: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using type_t = remove_const_t<remove_extent_t<T>>;
^
../deps/substrate/substrate/utility:591:50: error: a space is required between consecutive right angle brackets (use '> >')
using type_t = remove_const_t<remove_extent_t<T>>;
^~
> >
../deps/substrate/substrate/utility:592:28: error: expected '(' for function-style cast or type construction
return std::unique_ptr<T>{new type_t[num]{{}}};
~~~~~~~~~~~~~~~~~~^
../deps/substrate/substrate/utility:589:28: warning: unused parameter 'num' [-Wunused-parameter]
make_unique(const size_t num)
^
../deps/substrate/substrate/utility:595:31: warning: variadic templates are a C++11 extension [-Wc++11-extensions]
template<typename T, typename... args_t> inline typename makeUnique_t<T>::invalidType
^
../deps/substrate/substrate/utility:596:22: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
make_unique(args_t &&...) noexcept = delete;
^
../deps/substrate/substrate/utility:596:28: error: expected ';' at end of declaration
make_unique(args_t &&...) noexcept = delete;
^
;
../deps/substrate/substrate/utility:596:29: error: C++ requires a type specifier for all declarations
make_unique(args_t &&...) noexcept = delete;
^
../deps/substrate/substrate/utility:596:40: error: only functions can have deleted definitions
make_unique(args_t &&...) noexcept = delete;
^
../deps/substrate/substrate/utility:599:31: warning: variadic templates are a C++11 extension [-Wc++11-extensions]
template<typename T, typename... Args> inline typename makeUnique_t<T>::uniqueType
^
../deps/substrate/substrate/utility:600:28: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
make_unique_nothrow(Args &&...args) noexcept(noexcept(T{std::forward<Args>(args)...}))
^
../deps/substrate/substrate/utility:600:38: error: expected ';' at end of declaration
make_unique_nothrow(Args &&...args) noexcept(noexcept(T{std::forward<Args>(args)...}))
^
;
../deps/substrate/substrate/utility:600:39: error: C++ requires a type specifier for all declarations
make_unique_nothrow(Args &&...args) noexcept(noexcept(T{std::forward<Args>(args)...}))
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
47 warnings and 20 errors generated.
[7/173] Compiling C++ object deps/substrate/impl/libsubstrateNative.a.p/pty.cxx.o
FAILED: deps/substrate/impl/libsubstrateNative.a.p/pty.cxx.o
c++ -Ideps/substrate/impl/libsubstrateNative.a.p -Ideps/substrate -I../deps/substrate -fvisibility=hidden -fvisibility-inlines-hidden -flto -fcolor-diagnostics -DNDEBUG -Wall -Winvalid-pch -Wextra -Wpedantic -O3 -DSUBSTRATE_BUILD_INTERNAL -MD -MQ deps/substrate/impl/libsubstrateNative.a.p/pty.cxx.o -MF deps/substrate/impl/libsubstrateNative.a.p/pty.cxx.o.d -o deps/substrate/impl/libsubstrateNative.a.p/pty.cxx.o -c ../deps/substrate/impl/pty.cxx
In file included from ../deps/substrate/impl/pty.cxx:5:
In file included from ../deps/substrate/substrate/pty:5:
../deps/substrate/substrate/internal/defs:35:31: warning: variadic macros are a C99 feature [-Wvariadic-macros]
# define SUBSTRATE_NO_DISCARD(...) __VA_ARGS__ __attribute__((warn_unused_result))
^
../deps/substrate/substrate/internal/defs:116:36: warning: variadic macros are a C99 feature [-Wvariadic-macros]
# define SUBSTRATE_DEDUCTION_GUIDE(...)
^
In file included from ../deps/substrate/impl/pty.cxx:5:
In file included from ../deps/substrate/substrate/pty:7:
In file included from ../deps/substrate/substrate/fd:16:
In file included from ../deps/substrate/substrate/internal/fd_compat:14:
../deps/substrate/substrate/internal/types:15:18: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using ssize_t = ::ssize_t;
^
In file included from ../deps/substrate/impl/pty.cxx:5:
In file included from ../deps/substrate/substrate/pty:7:
In file included from ../deps/substrate/substrate/fd:16:
../deps/substrate/substrate/internal/fd_compat:32:17: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using mode_t = ::mode_t;
^
../deps/substrate/substrate/internal/fd_compat:33:16: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using off_t = ::off_t;
^
../deps/substrate/substrate/internal/fd_compat:42:18: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using stat_t = struct stat;
^
../deps/substrate/substrate/internal/fd_compat:45:89: error: expected function body after function declarator
inline int32_t fdopen(const char *const fileName, const int flags, const mode_t mode) noexcept
^
In file included from ../deps/substrate/impl/pty.cxx:5:
In file included from ../deps/substrate/substrate/pty:7:
In file included from ../deps/substrate/substrate/fd:22:
In file included from ../deps/substrate/substrate/mmap:25:
In file included from ../deps/substrate/substrate/utility:16:
../deps/substrate/substrate/promotion_helpers:12:68: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
template<typename T> struct promoted_type<T, true> { using type = uint32_t; };
^
../deps/substrate/substrate/promotion_helpers:13:69: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
template<typename T> struct promoted_type<T, false> { using type = int32_t; };
^
../deps/substrate/substrate/promotion_helpers:14:65: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
template<> struct promoted_type<uint64_t, true> { using type = uint64_t; };
^
../deps/substrate/substrate/promotion_helpers:15:65: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
template<> struct promoted_type<int64_t, false> { using type = int64_t; };
^
../deps/substrate/substrate/promotion_helpers:16:97: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
template<> struct promoted_type<size_t, !std::is_same<uint64_t, size_t>::value> { using type = size_t; };
^
../deps/substrate/substrate/promotion_helpers:17:97: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
template<> struct promoted_type<ssize_t, std::is_same<int64_t, ssize_t>::value> { using type = ssize_t; };
^
../deps/substrate/substrate/promotion_helpers:19:47: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
template<typename T> using promoted_type_t = typename promoted_type<T>::type;
^
In file included from ../deps/substrate/impl/pty.cxx:5:
In file included from ../deps/substrate/substrate/pty:7:
In file included from ../deps/substrate/substrate/fd:22:
In file included from ../deps/substrate/substrate/mmap:25:
../deps/substrate/substrate/utility:78:22: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using enable_if_t = typename std::enable_if<B,T>::type;
^
../deps/substrate/substrate/utility:81:28: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using underlying_type_t = typename std::underlying_type<T>::type;
^
../deps/substrate/substrate/utility:84:24: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using conditional_t = typename std::conditional<B, T, F>::type;
^
../deps/substrate/substrate/utility:87:29: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using remove_reference_t = typename std::remove_reference<T>::type;
^
../deps/substrate/substrate/utility:90:22: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using remove_cv_t = typename std::remove_cv<T>::type;
^
../deps/substrate/substrate/utility:93:25: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using remove_const_t = typename std::remove_const<T>::type;
^
../deps/substrate/substrate/utility:96:28: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using remove_volatile_t = typename std::remove_volatile<T>::type;
^
../deps/substrate/substrate/utility:99:26: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using remove_extent_t = typename std::remove_extent<T>::type;
^
../deps/substrate/substrate/utility:102:19: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using add_cv_t = typename std::add_cv<T>::type;
^
../deps/substrate/substrate/utility:105:22: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using add_const_t = typename std::add_const<T>::type;
^
../deps/substrate/substrate/utility:108:25: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using add_volatile_t = typename std::add_volatile<T>::type;
^
../deps/substrate/substrate/utility:111:33: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using add_lvalue_reference_t = typename std::add_lvalue_reference<T>::type;
^
../deps/substrate/substrate/utility:114:33: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using add_rvalue_reference_t = typename std::add_rvalue_reference<T>::type;
^
../deps/substrate/substrate/utility:117:27: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using remove_pointer_t = typename std::remove_pointer<T>::type;
^
../deps/substrate/substrate/utility:120:24: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using add_pointer_t = typename std::add_pointer<T>::type;
^
../deps/substrate/substrate/utility:123:24: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using make_signed_t = typename std::make_signed<T>::type;
^
../deps/substrate/substrate/utility:126:26: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using make_unsigned_t = typename std::make_unsigned<T>::type;
^
../deps/substrate/substrate/utility:516:22: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using pure_type_t = typename std::remove_cv< remove_pointer_t<remove_reference_t<T>>>::type;
^
../deps/substrate/substrate/utility:516:84: error: a space is required between consecutive right angle brackets (use '> >')
using pure_type_t = typename std::remove_cv< remove_pointer_t<remove_reference_t<T>>>::type;
^~
> >
../deps/substrate/substrate/utility:519:29: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using requires_reference = std::integral_constant<bool, std::is_pointer<Argument>::value && !std::is_pointer<remove_reference_t<Value>>::value>;
^
../deps/substrate/substrate/utility:519:135: error: a space is required between consecutive right angle brackets (use '> >')
using requires_reference = std::integral_constant<bool, std::is_pointer<Argument>::value && !std::is_pointer<remove_reference_t<Value>>::value>;
^~
> >
../deps/substrate/substrate/utility:522:31: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using requires_dereference = std::integral_constant<bool, !std::is_pointer<Argument>::value && std::is_pointer<remove_reference_t<Value>>::value>;
^
../deps/substrate/substrate/utility:522:137: error: a space is required between consecutive right angle brackets (use '> >')
using requires_dereference = std::integral_constant<bool, !std::is_pointer<Argument>::value && std::is_pointer<remove_reference_t<Value>>::value>;
^~
> >
../deps/substrate/substrate/utility:534:34: error: a space is required between consecutive right angle brackets (use '> >')
internal::is_char<remove_cv_t<T>>::value> { };
^~
> >
../deps/substrate/substrate/utility:537:37: error: a space is required between consecutive right angle brackets (use '> >')
internal::is_boolean<remove_cv_t<T>>::value> { };
^~
> >
../deps/substrate/substrate/utility:543:80: error: a space is required between consecutive right angle brackets (use '> >')
template<typename R, typename P> struct is_duration<std::chrono::duration<R, P>> : public std::true_type { };
^~
> >
../deps/substrate/substrate/utility:547:2: warning: GCC does not allow 'unused' attribute in this position on a function definition [-Wgcc-compat]
SUBSTRATE_NOWARN_UNUSED(static inline std::string decode_typename(const char *const mangled_name))
^
../deps/substrate/substrate/internal/defs:27:54: note: expanded from macro 'SUBSTRATE_NOWARN_UNUSED'
# define SUBSTRATE_NOWARN_UNUSED(x) x __attribute__((unused))
^
In file included from ../deps/substrate/impl/pty.cxx:5:
In file included from ../deps/substrate/substrate/pty:7:
In file included from ../deps/substrate/substrate/fd:22:
In file included from ../deps/substrate/substrate/mmap:25:
../deps/substrate/substrate/utility:550:3: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
auto * const demangler = abi::__cxa_demangle(mangled_name, nullptr, nullptr, nullptr);
^
../deps/substrate/substrate/utility:554:41: error: no matching constructor for initialization of 'std::unique_ptr<char, void (*)(void *)>'
std::unique_ptr<char, void(*)(void*)> _demangle{demangler, std::free};
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:1551:21: note: candidate template ignored: requirement '!is_pointer<void (*)(void *)>::value' was not satisfied [with _Dummy = true]
_LIBCPP_CONSTEXPR unique_ptr() _NOEXCEPT : __ptr_(pointer(), __default_init_tag()) {}
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:1556:21: note: candidate constructor template not viable: requires 1 argument, but 0 were provided
_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(pointer(), __default_init_tag()) {}
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:1561:12: note: candidate constructor template not viable: requires single argument '__p', but no arguments were provided
explicit unique_ptr(pointer __p) _NOEXCEPT : __ptr_(__p, __default_init_tag()) {}
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:1584:3: note: candidate constructor not viable: requires single argument '__u', but no arguments were provided
unique_ptr(unique_ptr&& __u) _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:1593:3: note: candidate constructor template not viable: requires single argument '__u', but no arguments were provided
unique_ptr(unique_ptr<_Up, _Ep>&& __u) _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:1637:3: note: candidate constructor not viable: requires 1 argument, but 0 were provided
unique_ptr(unique_ptr const&) = delete;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:1566:3: note: candidate constructor template not viable: requires 2 arguments, but 0 were provided
unique_ptr(pointer __p, _LValRefType<_Dummy> __d) _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:1572:3: note: candidate constructor template not viable: requires 2 arguments, but 0 were provided
unique_ptr(pointer __p, _GoodRValRefType<_Dummy> __d) _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:1581:3: note: candidate constructor template not viable: requires 2 arguments, but 0 were provided
unique_ptr(pointer __p, _BadRValRefType<_Dummy> __d) = delete;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:1599:3: note: candidate constructor template not viable: requires at least argument '__p', but no arguments were provided
unique_ptr(auto_ptr<_Up>&& __p,
^
In file included from ../deps/substrate/impl/pty.cxx:5:
In file included from ../deps/substrate/substrate/pty:7:
In file included from ../deps/substrate/substrate/fd:22:
In file included from ../deps/substrate/substrate/mmap:25:
../deps/substrate/substrate/utility:554:50: error: expected ';' at end of declaration
std::unique_ptr<char, void(*)(void*)> _demangle{demangler, std::free};
^
;
../deps/substrate/substrate/utility:555:10: warning: generalized initializer lists are a C++11 extension [-Wc++11-extensions]
return {_demangle ? _demangle.get() : mangled_name};
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../deps/substrate/substrate/utility:555:10: error: non-aggregate type 'std::string' (aka 'basic_string<char>') cannot be initialized with an initializer list
return {_demangle ? _demangle.get() : mangled_name};
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../deps/substrate/substrate/utility:560:21: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using _type_ref = typename substrate::remove_reference_t<T>;
^
../deps/substrate/substrate/utility:561:3: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
auto _type_name{decode_typename(typeid(_type_ref).name())};
^
../deps/substrate/substrate/utility:561:8: error: declaration of variable '_type_name' with deduced type 'auto' requires an initializer
auto _type_name{decode_typename(typeid(_type_ref).name())};
^
../deps/substrate/substrate/utility:561:18: error: expected ';' at end of declaration
auto _type_name{decode_typename(typeid(_type_ref).name())};
^
;
../deps/substrate/substrate/utility:577:64: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
template<typename T> struct makeUnique_t { using uniqueType = std::unique_ptr<T>; };
^
../deps/substrate/substrate/utility:578:69: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
template<typename T> struct makeUnique_t<T []> { using arrayType = std::unique_ptr<T []>; };
^
../deps/substrate/substrate/utility:581:31: warning: variadic templates are a C++11 extension [-Wc++11-extensions]
template<typename T, typename... args_t> inline typename makeUnique_t<T>::uniqueType
^
../deps/substrate/substrate/utility:582:22: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
make_unique(args_t &&...args)
^
../deps/substrate/substrate/utility:584:18: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using type_t = remove_const_t<T>;
^
../deps/substrate/substrate/utility:585:28: error: expected '(' for function-style cast or type construction
return std::unique_ptr<T>{new type_t{std::forward<args_t>(args)...}};
~~~~~~~~~~~~~~~~~~^
../deps/substrate/substrate/utility:582:27: warning: unused parameter 'args' [-Wunused-parameter]
make_unique(args_t &&...args)
^
../deps/substrate/substrate/utility:591:18: warning: alias declarations are a C++11 extension [-Wc++11-extensions]
using type_t = remove_const_t<remove_extent_t<T>>;
^
../deps/substrate/substrate/utility:591:50: error: a space is required between consecutive right angle brackets (use '> >')
using type_t = remove_const_t<remove_extent_t<T>>;
^~
> >
../deps/substrate/substrate/utility:592:28: error: expected '(' for function-style cast or type construction
return std::unique_ptr<T>{new type_t[num]{{}}};
~~~~~~~~~~~~~~~~~~^
../deps/substrate/substrate/utility:589:28: warning: unused parameter 'num' [-Wunused-parameter]
make_unique(const size_t num)
^
../deps/substrate/substrate/utility:595:31: warning: variadic templates are a C++11 extension [-Wc++11-extensions]
template<typename T, typename... args_t> inline typename makeUnique_t<T>::invalidType
^
../deps/substrate/substrate/utility:596:22: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
make_unique(args_t &&...) noexcept = delete;
^
../deps/substrate/substrate/utility:596:28: error: expected ';' at end of declaration
make_unique(args_t &&...) noexcept = delete;
^
;
../deps/substrate/substrate/utility:596:29: error: C++ requires a type specifier for all declarations
make_unique(args_t &&...) noexcept = delete;
^
../deps/substrate/substrate/utility:596:40: error: only functions can have deleted definitions
make_unique(args_t &&...) noexcept = delete;
^
../deps/substrate/substrate/utility:599:31: warning: variadic templates are a C++11 extension [-Wc++11-extensions]
template<typename T, typename... Args> inline typename makeUnique_t<T>::uniqueType
^
../deps/substrate/substrate/utility:600:28: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
make_unique_nothrow(Args &&...args) noexcept(noexcept(T{std::forward<Args>(args)...}))
^
../deps/substrate/substrate/utility:600:38: error: expected ';' at end of declaration
make_unique_nothrow(Args &&...args) noexcept(noexcept(T{std::forward<Args>(args)...}))
^
;
fatal error: too many errors emitted, stopping now [-ferror-limit=]
50 warnings and 20 errors generated.
[8/173] Compiling C++ object deps/substrate/impl/libsubstrate.a.p/command_line_arguments.cxx.o
../deps/substrate/impl/command_line/arguments.cxx:90:7: warning: lambda capture 'this' is not used [-Wunused-lambda-capture]
[this]([[maybe_unused]] const auto &result) -> std::optional<bool>
^~~~
1 warning generated.
[9/173] Compiling C++ object deps/substrate/impl/libsubstrate.a.p/command_line_options.cxx.o
ninja: build stopped: subcommand failed.