Skip to content

Instantly share code, notes, and snippets.

@carstenhag
Created October 23, 2018 12:31
Show Gist options
  • Select an option

  • Save carstenhag/85019421fc0c215ac51704edbc9d9af0 to your computer and use it in GitHub Desktop.

Select an option

Save carstenhag/85019421fc0c215ac51704edbc9d9af0 to your computer and use it in GitHub Desktop.
CXX WebSocketSessionMan.lo
CXX FallocFileAllocationIterator.lo
CXX EpollEventPoll.lo
CXX InternalDHKeyExchange.lo
In file included from InternalDHKeyExchange.h:40:0,
from InternalDHKeyExchange.cc:36:
bignum.h: In constructor ‘bignum::ulong<dim>::ulong()’:
bignum.h:34:25: error: ‘make_unique’ was not declared in this scope
inline ulong() : buf_(make_unique<char_t[]>(dim)) {}
^~~~~~~~~~~
bignum.h:34:25: note: suggested alternative:
In file included from /usr/include/c++/6/memory:81:0,
from bignum.h:19,
from InternalDHKeyExchange.h:40,
from InternalDHKeyExchange.cc:36:
/usr/include/c++/6/bits/unique_ptr.h:802:5: note: ‘std::make_unique’
make_unique(_Args&&...) = delete;
^~~~~~~~~~~
In file included from InternalDHKeyExchange.h:40:0,
from InternalDHKeyExchange.cc:36:
bignum.h:34:43: error: expected primary-expression before ‘[’ token
inline ulong() : buf_(make_unique<char_t[]>(dim)) {}
^
bignum.h:34:44: error: expected primary-expression before ‘]’ token
inline ulong() : buf_(make_unique<char_t[]>(dim)) {}
^
bignum.h: In constructor ‘bignum::ulong<dim>::ulong(size_t)’:
bignum.h:35:33: error: ‘make_unique’ was not declared in this scope
inline ulong(size_t t) : buf_(make_unique<char_t[]>(dim))
^~~~~~~~~~~
bignum.h:35:33: note: suggested alternative:
In file included from /usr/include/c++/6/memory:81:0,
from bignum.h:19,
from InternalDHKeyExchange.h:40,
from InternalDHKeyExchange.cc:36:
/usr/include/c++/6/bits/unique_ptr.h:802:5: note: ‘std::make_unique’
make_unique(_Args&&...) = delete;
^~~~~~~~~~~
In file included from InternalDHKeyExchange.h:40:0,
from InternalDHKeyExchange.cc:36:
bignum.h:35:51: error: expected primary-expression before ‘[’ token
inline ulong(size_t t) : buf_(make_unique<char_t[]>(dim))
^
bignum.h:35:52: error: expected primary-expression before ‘]’ token
inline ulong(size_t t) : buf_(make_unique<char_t[]>(dim))
^
bignum.h: In copy constructor ‘bignum::ulong<dim>::ulong(const bignum::ulong<dim>&)’:
bignum.h:39:46: error: ‘make_unique’ was not declared in this scope
inline ulong(const ulong<dim>& rhs) : buf_(make_unique<char_t[]>(dim))
^~~~~~~~~~~
bignum.h:39:46: note: suggested alternative:
In file included from /usr/include/c++/6/memory:81:0,
from bignum.h:19,
from InternalDHKeyExchange.h:40,
from InternalDHKeyExchange.cc:36:
/usr/include/c++/6/bits/unique_ptr.h:802:5: note: ‘std::make_unique’
make_unique(_Args&&...) = delete;
^~~~~~~~~~~
In file included from InternalDHKeyExchange.h:40:0,
from InternalDHKeyExchange.cc:36:
bignum.h:39:64: error: expected primary-expression before ‘[’ token
inline ulong(const ulong<dim>& rhs) : buf_(make_unique<char_t[]>(dim))
^
bignum.h:39:65: error: expected primary-expression before ‘]’ token
inline ulong(const ulong<dim>& rhs) : buf_(make_unique<char_t[]>(dim))
^
bignum.h: In constructor ‘bignum::ulong<dim>::ulong(const char_t*, size_t)’:
bignum.h:44:14: error: ‘make_unique’ was not declared in this scope
: buf_(make_unique<char_t[]>(dim))
^~~~~~~~~~~
bignum.h:44:14: note: suggested alternative:
In file included from /usr/include/c++/6/memory:81:0,
from bignum.h:19,
from InternalDHKeyExchange.h:40,
from InternalDHKeyExchange.cc:36:
/usr/include/c++/6/bits/unique_ptr.h:802:5: note: ‘std::make_unique’
make_unique(_Args&&...) = delete;
^~~~~~~~~~~
In file included from InternalDHKeyExchange.h:40:0,
from InternalDHKeyExchange.cc:36:
bignum.h:44:32: error: expected primary-expression before ‘[’ token
: buf_(make_unique<char_t[]>(dim))
^
bignum.h:44:33: error: expected primary-expression before ‘]’ token
: buf_(make_unique<char_t[]>(dim))
^
Makefile:2300: recipe for target 'InternalDHKeyExchange.lo' failed
make[3]: *** [InternalDHKeyExchange.lo] Error 1
make[3]: Leaving directory '/mnt/volume-dataiku/SO_files/aria2-1.34.0/src'
Makefile:2341: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/mnt/volume-dataiku/SO_files/aria2-1.34.0/src'
Makefile:556: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/mnt/volume-dataiku/SO_files/aria2-1.34.0'
Makefile:467: recipe for target 'all' failed
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment