Skip to content

Instantly share code, notes, and snippets.

@dionyziz
Created December 31, 2013 21:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dionyziz/8202455 to your computer and use it in GitHub Desktop.
Save dionyziz/8202455 to your computer and use it in GitHub Desktop.
dionyziz@erdos ~/workspace/twister/twister-core/src (master*) % make -f makefile.unix
Building libtorrent ...
Making all in include/libtorrent
make[2]: Nothing to be done for `all'.
Making all in src
CXX web_connection_base.lo
In file included from web_connection_base.cpp:40:
In file included from ../include/libtorrent/web_connection_base.hpp:63:
In file included from ../include/libtorrent/storage.hpp:36:
In file included from ./../../src/leveldb.h:7:
In file included from ../../src/serialize.h:22:
../../src/allocators.h:188:5: warning: 'OPENSSL_cleanse' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
OPENSSL_cleanse((void*)(&t), sizeof(T));
^
/usr/include/openssl/crypto.h:486:6: note: 'OPENSSL_cleanse' declared here
void OPENSSL_cleanse(void *ptr, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
In file included from web_connection_base.cpp:40:
In file included from ../include/libtorrent/web_connection_base.hpp:63:
In file included from ../include/libtorrent/storage.hpp:36:
In file included from ./../../src/leveldb.h:7:
../../src/serialize.h:911:10: error: class member cannot be redeclared
void insert(iterator it, std::vector<char>::const_iterator first, std::vector<char>::const_iterator last)
^
../../src/serialize.h:898:10: note: previous declaration is here
void insert(iterator it, const_iterator first, const_iterator last)
^
../../src/serialize.h:911:10: error: redefinition of 'insert'
void insert(iterator it, std::vector<char>::const_iterator first, std::vector<char>::const_iterator last)
^
../../src/serialize.h:898:10: note: previous definition is here
void insert(iterator it, const_iterator first, const_iterator last)
^
In file included from web_connection_base.cpp:40:
In file included from ../include/libtorrent/web_connection_base.hpp:63:
In file included from ../include/libtorrent/storage.hpp:36:
In file included from ./../../src/leveldb.h:7:
In file included from ../../src/serialize.h:22:
../../src/allocators.h:263:13: warning: 'OPENSSL_cleanse' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
OPENSSL_cleanse(p, sizeof(T) * n);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:1486:14: note: in instantiation of member function 'zero_after_free_allocator<char>::deallocate'
requested here
{__a.deallocate(__p, __n);}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/vector:478:25: note: in instantiation of member function
'std::__1::allocator_traits<zero_after_free_allocator<char> >::deallocate' requested here
__alloc_traits::deallocate(__alloc(), __begin_, capacity());
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iterator:1197:53: note: in instantiation of member function 'std::__1::__vector_base<char,
zero_after_free_allocator<char> >::~__vector_base' requested here
template <class _Tp, class _Alloc> friend class vector;
^
/usr/include/openssl/crypto.h:486:6: note: 'OPENSSL_cleanse' declared here
void OPENSSL_cleanse(void *ptr, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
2 warnings and 2 errors generated.
make[2]: *** [web_connection_base.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [../libtorrent/src/.libs/libtorrent-rasterbar.a] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment