[MacPorts] #58664: aria2 @1.34.0: error: use of undeclared identifier 'make_unique'
MacPorts
noreply at macports.org
Sun Jun 30 21:36:46 UTC 2019
#58664: aria2 @1.34.0: error: use of undeclared identifier 'make_unique'
------------------------+-------------------------
Reporter: ryandesign | Owner: Schamschula
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: aria2
------------------------+-------------------------
[https://build.macports.org/builders/ports-10.14_x86_64-builder/builds/33837/steps
/install-port/logs/stdio aria2 doesn't build]:
{{{
In file included from InternalDHKeyExchange.cc:36:
In file included from ./InternalDHKeyExchange.h:40:
./bignum.h:34:25: error: use of undeclared identifier 'make_unique'
inline ulong() : buf_(make_unique<char_t[]>(dim)) {}
^
./bignum.h:34:37: error: unexpected type name 'char_t': expected
expression
inline ulong() : buf_(make_unique<char_t[]>(dim)) {}
^
./bignum.h:34:44: error: expected expression
inline ulong() : buf_(make_unique<char_t[]>(dim)) {}
^
./bignum.h:35:33: error: use of undeclared identifier 'make_unique'
inline ulong(size_t t) : buf_(make_unique<char_t[]>(dim))
^
./bignum.h:35:45: error: unexpected type name 'char_t': expected
expression
inline ulong(size_t t) : buf_(make_unique<char_t[]>(dim))
^
./bignum.h:35:52: error: expected expression
inline ulong(size_t t) : buf_(make_unique<char_t[]>(dim))
^
./bignum.h:39:46: error: use of undeclared identifier 'make_unique'
inline ulong(const ulong<dim>& rhs) : buf_(make_unique<char_t[]>(dim))
^
./bignum.h:39:58: error: unexpected type name 'char_t': expected
expression
inline ulong(const ulong<dim>& rhs) : buf_(make_unique<char_t[]>(dim))
^
./bignum.h:39:65: error: expected expression
inline ulong(const ulong<dim>& rhs) : buf_(make_unique<char_t[]>(dim))
^
./bignum.h:44:14: error: use of undeclared identifier 'make_unique'
: buf_(make_unique<char_t[]>(dim))
^
./bignum.h:44:26: error: unexpected type name 'char_t': expected
expression
: buf_(make_unique<char_t[]>(dim))
^
./bignum.h:44:33: error: expected expression
: buf_(make_unique<char_t[]>(dim))
^
}}}
--
Ticket URL: <https://trac.macports.org/ticket/58664>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list