<command-line>: error: redeclared with 2 template parameters
In file included from /opt/local/include/gcc12/c++/bits/shared_ptr_base.h:59,
from /opt/local/include/gcc12/c++/bits/shared_ptr.h:53,
from /opt/local/include/gcc12/c++/condition_variable:42,
from /opt/local/include/gcc12/c++/mutex:46,
from /opt/local/libexec/boost/1.81/include/boost/system/detail/error_category_impl.hpp:104,
from /opt/local/libexec/boost/1.81/include/boost/system/error_category.hpp:11,
from /opt/local/libexec/boost/1.81/include/boost/system/error_code.hpp:14,
from /opt/local/include/libtorrent/error_code.hpp:41,
from /opt/local/include/libtorrent/entry.hpp:75,
from /opt/local/include/libtorrent/bencode.hpp:61,
from /opt/local/include/libtorrent/create_torrent.hpp:39,
from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_fatrat/fatrat/work/fatrat-b5be2b17ee291f6253484ec749037bc2c9200ccc/src/tools/CreateTorrentDlg.h:36,
from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_fatrat/fatrat/work/fatrat-b5be2b17ee291f6253484ec749037bc2c9200ccc/src/AppTools.cpp:35:
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: previous declaration 'template<class> class std::auto_ptr' used 1 template parameter
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:527:32: error: wrong number of template arguments (2, should be 1)
527 | class unique_ptr<_Tp[], _Dp>
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:808:29: error: wrong number of template arguments (2, should be 1)
808 | swap(unique_ptr<_Tp, _Dp>& __x,
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:809:29: error: wrong number of template arguments (2, should be 1)
809 | unique_ptr<_Tp, _Dp>& __y) noexcept
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h: In function 'typename std::enable_if<std::__is_swappable<_T2>::value>::type std::swap(int&, int&)':
/opt/local/include/gcc12/c++/bits/unique_ptr.h:810:11: error: request for member 'swap' in '__x', which is of non-class type 'int'
810 | { __x.swap(__y); }
| ^~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h: At global scope:
/opt/local/include/gcc12/c++/bits/unique_ptr.h:815:29: error: wrong number of template arguments (2, should be 1)
815 | swap(unique_ptr<_Tp, _Dp>&,
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:816:29: error: wrong number of template arguments (2, should be 1)
816 | unique_ptr<_Tp, _Dp>&) = delete;
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:824:41: error: wrong number of template arguments (2, should be 1)
824 | operator==(const unique_ptr<_Tp, _Dp>& __x,
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:825:41: error: wrong number of template arguments (2, should be 1)
825 | const unique_ptr<_Up, _Ep>& __y)
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:824:5: error: 'bool std::operator==(const int&, const int&)' must have an argument of class or enumerated type
824 | operator==(const unique_ptr<_Tp, _Dp>& __x,
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:832:41: error: wrong number of template arguments (2, should be 1)
832 | operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:832:5: error: 'bool std::operator==(const int&, nullptr_t)' must have an argument of class or enumerated type
832 | operator==(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:840:52: error: wrong number of template arguments (2, should be 1)
840 | operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:840:5: error: 'bool std::operator==(nullptr_t, const int&)' must have an argument of class or enumerated type
840 | operator==(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:848:41: error: wrong number of template arguments (2, should be 1)
848 | operator!=(const unique_ptr<_Tp, _Dp>& __x,
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:849:41: error: wrong number of template arguments (2, should be 1)
849 | const unique_ptr<_Up, _Ep>& __y)
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:848:5: error: 'bool std::operator!=(const int&, const int&)' must have an argument of class or enumerated type
848 | operator!=(const unique_ptr<_Tp, _Dp>& __x,
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:856:41: error: wrong number of template arguments (2, should be 1)
856 | operator!=(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:856:5: error: 'bool std::operator!=(const int&, nullptr_t)' must have an argument of class or enumerated type
856 | operator!=(const unique_ptr<_Tp, _Dp>& __x, nullptr_t) noexcept
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:863:52: error: wrong number of template arguments (2, should be 1)
863 | operator!=(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:863:5: error: 'bool std::operator!=(nullptr_t, const int&)' must have an argument of class or enumerated type
863 | operator!=(nullptr_t, const unique_ptr<_Tp, _Dp>& __x) noexcept
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:872:40: error: wrong number of template arguments (2, should be 1)
872 | operator<(const unique_ptr<_Tp, _Dp>& __x,
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:873:40: error: wrong number of template arguments (2, should be 1)
873 | const unique_ptr<_Up, _Ep>& __y)
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:872:5: error: 'bool std::operator<(const int&, const int&)' must have an argument of class or enumerated type
872 | operator<(const unique_ptr<_Tp, _Dp>& __x,
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:885:40: error: wrong number of template arguments (2, should be 1)
885 | operator<(const unique_ptr<_Tp, _Dp>& __x, nullptr_t)
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:885:5: error: 'bool std::operator<(const int&, nullptr_t)' must have an argument of class or enumerated type
885 | operator<(const unique_ptr<_Tp, _Dp>& __x, nullptr_t)
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:895:51: error: wrong number of template arguments (2, should be 1)
895 | operator<(nullptr_t, const unique_ptr<_Tp, _Dp>& __x)
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:895:5: error: 'bool std::operator<(nullptr_t, const int&)' must have an argument of class or enumerated type
895 | operator<(nullptr_t, const unique_ptr<_Tp, _Dp>& __x)
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:906:41: error: wrong number of template arguments (2, should be 1)
906 | operator<=(const unique_ptr<_Tp, _Dp>& __x,
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:907:41: error: wrong number of template arguments (2, should be 1)
907 | const unique_ptr<_Up, _Ep>& __y)
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:906:5: error: 'bool std::operator<=(const int&, const int&)' must have an argument of class or enumerated type
906 | operator<=(const unique_ptr<_Tp, _Dp>& __x,
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:914:41: error: wrong number of template arguments (2, should be 1)
914 | operator<=(const unique_ptr<_Tp, _Dp>& __x, nullptr_t)
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:914:5: error: 'bool std::operator<=(const int&, nullptr_t)' must have an argument of class or enumerated type
914 | operator<=(const unique_ptr<_Tp, _Dp>& __x, nullptr_t)
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:921:52: error: wrong number of template arguments (2, should be 1)
921 | operator<=(nullptr_t, const unique_ptr<_Tp, _Dp>& __x)
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:921:5: error: 'bool std::operator<=(nullptr_t, const int&)' must have an argument of class or enumerated type
921 | operator<=(nullptr_t, const unique_ptr<_Tp, _Dp>& __x)
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:929:40: error: wrong number of template arguments (2, should be 1)
929 | operator>(const unique_ptr<_Tp, _Dp>& __x,
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:930:40: error: wrong number of template arguments (2, should be 1)
930 | const unique_ptr<_Up, _Ep>& __y)
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:929:5: error: 'bool std::operator>(const int&, const int&)' must have an argument of class or enumerated type
929 | operator>(const unique_ptr<_Tp, _Dp>& __x,
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:937:40: error: wrong number of template arguments (2, should be 1)
937 | operator>(const unique_ptr<_Tp, _Dp>& __x, nullptr_t)
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:937:5: error: 'bool std::operator>(const int&, nullptr_t)' must have an argument of class or enumerated type
937 | operator>(const unique_ptr<_Tp, _Dp>& __x, nullptr_t)
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:947:51: error: wrong number of template arguments (2, should be 1)
947 | operator>(nullptr_t, const unique_ptr<_Tp, _Dp>& __x)
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:947:5: error: 'bool std::operator>(nullptr_t, const int&)' must have an argument of class or enumerated type
947 | operator>(nullptr_t, const unique_ptr<_Tp, _Dp>& __x)
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:958:41: error: wrong number of template arguments (2, should be 1)
958 | operator>=(const unique_ptr<_Tp, _Dp>& __x,
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:959:41: error: wrong number of template arguments (2, should be 1)
959 | const unique_ptr<_Up, _Ep>& __y)
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:958:5: error: 'bool std::operator>=(const int&, const int&)' must have an argument of class or enumerated type
958 | operator>=(const unique_ptr<_Tp, _Dp>& __x,
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:966:41: error: wrong number of template arguments (2, should be 1)
966 | operator>=(const unique_ptr<_Tp, _Dp>& __x, nullptr_t)
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:966:5: error: 'bool std::operator>=(const int&, nullptr_t)' must have an argument of class or enumerated type
966 | operator>=(const unique_ptr<_Tp, _Dp>& __x, nullptr_t)
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:972:52: error: wrong number of template arguments (2, should be 1)
972 | operator>=(nullptr_t, const unique_ptr<_Tp, _Dp>& __x)
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:972:5: error: 'bool std::operator>=(nullptr_t, const int&)' must have an argument of class or enumerated type
972 | operator>=(nullptr_t, const unique_ptr<_Tp, _Dp>& __x)
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:1022:33: error: wrong number of template arguments (2, should be 1)
1022 | struct hash<unique_ptr<_Tp, _Dp>>
| ^~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:1022:36: error: template argument 1 is invalid
1022 | struct hash<unique_ptr<_Tp, _Dp>>
| ^~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:1023:50: error: wrong number of template arguments (2, should be 1)
1023 | : public __hash_base<size_t, unique_ptr<_Tp, _Dp>>,
| ^~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:1023:53: error: template argument 2 is invalid
1023 | : public __hash_base<size_t, unique_ptr<_Tp, _Dp>>,
| ^~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:1024:46: error: wrong number of template arguments (2, should be 1)
1024 | public __uniq_ptr_hash<unique_ptr<_Tp, _Dp>>
| ^~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:1024:49: error: template argument 1 is invalid
1024 | public __uniq_ptr_hash<unique_ptr<_Tp, _Dp>>
| ^~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:1024:49: error: template argument 2 is invalid
/opt/local/include/gcc12/c++/bits/unique_ptr.h:1024:49: error: template argument 3 is invalid
/opt/local/include/gcc12/c++/bits/unique_ptr.h:1156:56: error: wrong number of template arguments (2, should be 1)
1156 | struct _Never_valueless_alt<std::unique_ptr<_Tp, _Del>>
| ^~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:1156:60: error: template argument 1 is invalid
1156 | struct _Never_valueless_alt<std::unique_ptr<_Tp, _Del>>
| ^~
/opt/local/include/gcc12/c++/bits/shared_ptr_base.h:1036:49: error: wrong number of template arguments (2, should be 1)
1036 | __shared_count(std::unique_ptr<_Tp, _Del>&& __r) : _M_pi(0)
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/shared_ptr_base.h: In constructor 'std::__shared_count<_Lp>::__shared_count(int&&)':
/opt/local/include/gcc12/c++/bits/shared_ptr_base.h:1040:19: error: request for member 'get' in '__r', which is of non-class type 'int'
1040 | if (__r.get() == nullptr)
| ^~~
/opt/local/include/gcc12/c++/bits/shared_ptr_base.h:1043:53: error: wrong number of template arguments (2, should be 1)
1043 | using _Ptr = typename unique_ptr<_Tp, _Del>::pointer;
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/shared_ptr_base.h:1048:35: error: '_Ptr' was not declared in this scope
1048 | = _Sp_counted_deleter<_Ptr, _Del2, allocator<void>, _Lp>;
| ^~~~
/opt/local/include/gcc12/c++/bits/shared_ptr_base.h:1048:68: error: template argument 1 is invalid
1048 | = _Sp_counted_deleter<_Ptr, _Del2, allocator<void>, _Lp>;
| ^
/opt/local/include/gcc12/c++/bits/shared_ptr_base.h:1049:36: error: '_Sp_cd_type' was not declared in this scope
1049 | using _Alloc = allocator<_Sp_cd_type>;
| ^~~~~~~~~~~
/opt/local/include/gcc12/c++/bits/shared_ptr_base.h:1049:47: error: template argument 1 is invalid
1049 | using _Alloc = allocator<_Sp_cd_type>;
| ^
/opt/local/include/gcc12/c++/bits/shared_ptr_base.h:1050:50: error: '_Alloc' was not declared in this scope; did you mean 'malloc'?
1050 | using _Alloc_traits = allocator_traits<_Alloc>;
| ^~~~~~
| malloc
/opt/local/include/gcc12/c++/bits/shared_ptr_base.h:1050:56: error: template argument 1 is invalid
1050 | using _Alloc_traits = allocator_traits<_Alloc>;
| ^
/opt/local/include/gcc12/c++/bits/shared_ptr_base.h:1051:18: error: expected ';' before '__a'
1051 | _Alloc __a;
| ^~~
/opt/local/include/gcc12/c++/bits/shared_ptr_base.h:1052:24: error: '__mem' was not declared in this scope
1052 | _Sp_cd_type* __mem = _Alloc_traits::allocate(__a, 1);
| ^~~~~
/opt/local/include/gcc12/c++/bits/shared_ptr_base.h:1052:32: error: '_Alloc_traits' has not been declared
1052 | _Sp_cd_type* __mem = _Alloc_traits::allocate(__a, 1);
| ^~~~~~~~~~~~~
/opt/local/include/gcc12/c++/bits/shared_ptr_base.h:1052:56: error: '__a' was not declared in this scope; did you mean '__r'?
1052 | _Sp_cd_type* __mem = _Alloc_traits::allocate(__a, 1);
| ^~~
| __r
/opt/local/include/gcc12/c++/bits/shared_ptr_base.h:1056:11: error: '_Alloc_traits' has not been declared
1056 | _Alloc_traits::construct(__a, __mem, __r.release(),
| ^~~~~~~~~~~~~
/opt/local/include/gcc12/c++/bits/shared_ptr_base.h:1056:52: error: request for member 'release' in '__r', which is of non-class type 'int'
1056 | _Alloc_traits::construct(__a, __mem, __r.release(),
| ^~~~~~~
/opt/local/include/gcc12/c++/bits/shared_ptr_base.h:1057:59: error: request for member 'get_deleter' in '__r', which is of non-class type 'int'
1057 | std::forward<_Del>(__r.get_deleter()));
| ^~~~~~~~~~~
/opt/local/include/gcc12/c++/bits/shared_ptr_base.h: At global scope:
/opt/local/include/gcc12/c++/bits/shared_ptr_base.h:1445:61: error: wrong number of template arguments (2, should be 1)
1445 | typename _Ptr = typename unique_ptr<_Yp, _Del>::pointer>
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/shared_ptr_base.h:1454:73: error: template argument 4 is invalid
1454 | using _UniqAssignable = _UniqCompatible<_Yp, _Del, __shared_ptr&>;
| ^
/opt/local/include/gcc12/c++/bits/shared_ptr_base.h:1557:48: error: template argument 4 is invalid
1557 | typename = _UniqCompatible<_Yp, _Del>>
| ^~~~
/opt/local/include/gcc12/c++/bits/shared_ptr_base.h:1558:42: error: wrong number of template arguments (2, should be 1)
1558 | __shared_ptr(unique_ptr<_Yp, _Del>&& __r)
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/shared_ptr_base.h:1633:9: error: '_UniqAssignable' does not name a type; did you mean '_Assignable'?
1633 | _UniqAssignable<_Yp, _Del>
| ^~~~~~~~~~~~~~~
| _Assignable
/opt/local/include/gcc12/c++/bits/shared_ptr_base.h: In constructor 'std::__shared_ptr<_Tp, _Lp>::__shared_ptr(int&&)':
/opt/local/include/gcc12/c++/bits/shared_ptr_base.h:1559:22: error: request for member 'get' in '__r', which is of non-class type 'int'
1559 | : _M_ptr(__r.get()), _M_refcount()
| ^~~
/opt/local/include/gcc12/c++/bits/shared_ptr_base.h:1561:41: error: request for member 'get' in '__r', which is of non-class type 'int'
1561 | auto __raw = __to_address(__r.get());
| ^~~
/opt/local/include/gcc12/c++/bits/shared_ptr.h: At global scope:
/opt/local/include/gcc12/c++/bits/shared_ptr.h:394:58: error: wrong number of template arguments (2, should be 1)
394 | typename = _Constructible<unique_ptr<_Yp, _Del>>>
| ^~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/shared_ptr.h:394:62: error: template argument 1 is invalid
394 | typename = _Constructible<unique_ptr<_Yp, _Del>>>
| ^~
/opt/local/include/gcc12/c++/bits/shared_ptr.h:395:40: error: wrong number of template arguments (2, should be 1)
395 | shared_ptr(unique_ptr<_Yp, _Del>&& __r)
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/shared_ptr.h:453:37: error: wrong number of template arguments (2, should be 1)
453 | _Assignable<unique_ptr<_Yp, _Del>>
| ^~~~
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/shared_ptr.h:453:41: error: template argument 1 is invalid
453 | _Assignable<unique_ptr<_Yp, _Del>>
| ^~
/opt/local/include/gcc12/c++/bits/shared_ptr.h:454:39: error: wrong number of template arguments (2, should be 1)
454 | operator=(unique_ptr<_Yp, _Del>&& __r)
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/include/gcc12/c++/bits/shared_ptr.h:545:36: error: wrong number of template arguments (2, should be 1)
545 | shared_ptr(unique_ptr<_Tp, _Del>) -> shared_ptr<_Tp>;
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
In file included from /opt/local/include/gcc12/c++/memory:81,
from /opt/local/include/libtorrent/disk_interface.hpp:41,
from /opt/local/include/libtorrent/file_storage.hpp:55,
from /opt/local/include/libtorrent/create_torrent.hpp:40:
/opt/local/include/gcc12/c++/backward/auto_ptr.h:328:24: error: wrong number of template arguments (2, should be 1)
328 | unique_ptr<_Tp, _Dp>::unique_ptr(auto_ptr<_Up>&& __u) noexcept
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
<command-line>: error: too many template-parameter-lists
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_fatrat/fatrat/work/fatrat-b5be2b17ee291f6253484ec749037bc2c9200ccc/src/fatrat.cpp: In function 'void daemonize()':
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_fatrat/fatrat/work/fatrat-b5be2b17ee291f6253484ec749037bc2c9200ccc/src/fatrat.cpp:672:15: warning: 'int daemon(int, int)' is deprecated [-Wdeprecated-declarations]
672 | daemon(true, false);
| ~~~~~~^~~~~~~~~~~~~
In file included from /opt/local/include/gcc12/c++/cstdlib:75,
from /opt/local/include/gcc12/c++/bits/stl_algo.h:69,
from /opt/local/include/gcc12/c++/algorithm:61,
from /opt/local/libexec/qt4/include/QtCore/qglobal.h:68,
from /opt/local/libexec/qt4/include/QtCore/qchar.h:45,
from /opt/local/libexec/qt4/include/QtCore/qstring.h:45,
from /opt/local/libexec/qt4/include/QtCore/QString:1,
from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_fatrat/fatrat/work/fatrat-b5be2b17ee291f6253484ec749037bc2c9200ccc/src/fatrat.h:31,
from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_fatrat/fatrat/work/fatrat-b5be2b17ee291f6253484ec749037bc2c9200ccc/src/fatrat.cpp:29:
/usr/include/stdlib.h:289:10: note: declared here
289 | int daemon(int, int) __DARWIN_1050(daemon) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_2_0,__IPHONE_2_0);
| ^~~~~~
[ 49%] Building CXX object CMakeFiles/fatrat.dir/src/Queue.cpp.o
/opt/local/bin/g++-mp-12 -DBOOST_ASIO_DYN_LINK -DBOOST_FILESYSTEM_NARROW_ONLY -DNDEBUG -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WEBKIT_LIB -DQT_XML_LIB -DTORRENT_USE_OPENSSL -Dunique_ptr=auto_ptr -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_fatrat/fatrat/work/fatrat-b5be2b17ee291f6253484ec749037bc2c9200ccc/src -I/opt/local/libexec/boost/1.81/include -I/opt/local/include/p11-kit-1 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_fatrat/fatrat/work/fatrat-b5be2b17ee291f6253484ec749037bc2c9200ccc/. -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_fatrat/fatrat/work/fatrat-b5be2b17ee291f6253484ec749037bc2c9200ccc/.. -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_fatrat/fatrat/work/build -isystem /opt/local/libexec/qt4/include -isystem /opt/local/libexec/qt4/include/QtSvg -isystem /opt/local/libexec/qt4/include/QtWebKit -isystem /opt/local/libexec/qt4/include/QtGui -isystem /opt/local/libexec/qt4/include/QtDBus -isystem /opt/local/libexec/qt4/include/QtXml -isystem /opt/local/libexec/qt4/include/QtNetwork -isystem /opt/local/libexec/qt4/include/QtCore -pipe -I/opt/local/libexec/openssl3/include -I/opt/local/libexec/boost/1.81/include -Os -DNDEBUG -I/opt/local/libexec/openssl3/include -I/opt/local/libexec/boost/1.81/include -isystem/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -mmacosx-version-min=10.6 -ggdb -Wall -MD -MT CMakeFiles/fatrat.dir/src/Queue.cpp.o -MF CMakeFiles/fatrat.dir/src/Queue.cpp.o.d -o CMakeFiles/fatrat.dir/src/Queue.cpp.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_fatrat/fatrat/work/fatrat-b5be2b17ee291f6253484ec749037bc2c9200ccc/src/Queue.cpp
[ 50%] Building CXX object CMakeFiles/fatrat.dir/src/QueueMgr.cpp.o
/opt/local/bin/g++-mp-12 -DBOOST_ASIO_DYN_LINK -DBOOST_FILESYSTEM_NARROW_ONLY -DNDEBUG -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WEBKIT_LIB -DQT_XML_LIB -DTORRENT_USE_OPENSSL -Dunique_ptr=auto_ptr -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_fatrat/fatrat/work/fatrat-b5be2b17ee291f6253484ec749037bc2c9200ccc/src -I/opt/local/libexec/boost/1.81/include -I/opt/local/include/p11-kit-1 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_fatrat/fatrat/work/fatrat-b5be2b17ee291f6253484ec749037bc2c9200ccc/. -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_fatrat/fatrat/work/fatrat-b5be2b17ee291f6253484ec749037bc2c9200ccc/.. -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_fatrat/fatrat/work/build -isystem /opt/local/libexec/qt4/include -isystem /opt/local/libexec/qt4/include/QtSvg -isystem /opt/local/libexec/qt4/include/QtWebKit -isystem /opt/local/libexec/qt4/include/QtGui -isystem /opt/local/libexec/qt4/include/QtDBus -isystem /opt/local/libexec/qt4/include/QtXml -isystem /opt/local/libexec/qt4/include/QtNetwork -isystem /opt/local/libexec/qt4/include/QtCore -pipe -I/opt/local/libexec/openssl3/include -I/opt/local/libexec/boost/1.81/include -Os -DNDEBUG -I/opt/local/libexec/openssl3/include -I/opt/local/libexec/boost/1.81/include -isystem/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -mmacosx-version-min=10.6 -ggdb -Wall -MD -MT CMakeFiles/fatrat.dir/src/QueueMgr.cpp.o -MF CMakeFiles/fatrat.dir/src/QueueMgr.cpp.o.d -o CMakeFiles/fatrat.dir/src/QueueMgr.cpp.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_fatrat/fatrat/work/fatrat-b5be2b17ee291f6253484ec749037bc2c9200ccc/src/QueueMgr.cpp
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_fatrat/fatrat/work/fatrat-b5be2b17ee291f6253484ec749037bc2c9200ccc/src/fatrat.cpp: At global scope:
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_fatrat/fatrat/work/fatrat-b5be2b17ee291f6253484ec749037bc2c9200ccc/src/fatrat.cpp:108:13: warning: 'void testJava()' declared 'static' but never defined [-Wunused-function]
108 | static void testJava();
| ^~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_fatrat/fatrat/work/fatrat-b5be2b17ee291f6253484ec749037bc2c9200ccc/src/fatrat.cpp:675:6: warning: 'void testNotif()' defined but not used [-Wunused-function]
675 | void testNotif()
| ^~~~~~~~~
In file included from /opt/local/libexec/boost/1.81/include/boost/smart_ptr/shared_ptr.hpp:17,
from /opt/local/libexec/boost/1.81/include/boost/shared_ptr.hpp:17,
from /opt/local/libexec/boost/1.81/include/boost/date_time/time_clock.hpp:17,
from /opt/local/libexec/boost/1.81/include/boost/date_time/posix_time/posix_time_types.hpp:10,
from /opt/local/libexec/boost/1.81/include/boost/asio/time_traits.hpp:23,
from /opt/local/libexec/boost/1.81/include/boost/asio/detail/timer_queue_ptime.hpp:22,
from /opt/local/libexec/boost/1.81/include/boost/asio/detail/deadline_timer_service.hpp:31,
from /opt/local/libexec/boost/1.81/include/boost/asio/basic_waitable_timer.hpp:22,
from /opt/local/libexec/boost/1.81/include/boost/asio/steady_timer.hpp:22,
from /opt/local/libexec/boost/1.81/include/boost/asio/basic_socket_streambuf.hpp:36,
from /opt/local/libexec/boost/1.81/include/boost/asio/basic_socket_iostream.hpp:24,
from /opt/local/libexec/boost/1.81/include/boost/asio/ip/tcp.hpp:20,
from /opt/local/include/libtorrent/socket.hpp:56,
from /opt/local/include/libtorrent/kademlia/dht_state.hpp:40,
from /opt/local/include/libtorrent/session_params.hpp:46,
from /opt/local/include/libtorrent/create_torrent.hpp:44:
/opt/local/libexec/boost/1.81/include/boost/smart_ptr/detail/shared_count.hpp:383:48: error: wrong number of template arguments (2, should be 1)
383 | explicit shared_count( std::unique_ptr<Y, D> & r ): pi_( 0 )
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/libexec/boost/1.81/include/boost/smart_ptr/detail/shared_count.hpp: In constructor 'boost::detail::shared_count::shared_count(int&)':
/opt/local/libexec/boost/1.81/include/boost/smart_ptr/detail/shared_count.hpp:390:36: error: request for member 'get_deleter' in 'r', which is of non-class type 'int'
390 | D2 d2( static_cast<D&&>( r.get_deleter() ) );
| ^~~~~~~~~~~
/opt/local/libexec/boost/1.81/include/boost/smart_ptr/detail/shared_count.hpp:391:68: error: wrong number of template arguments (2, should be 1)
391 | pi_ = new sp_counted_impl_pd< typename std::unique_ptr<Y, D>::pointer, D2 >( r.get(), d2 );
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/libexec/boost/1.81/include/boost/smart_ptr/detail/shared_count.hpp:391:69: error: '<declaration error>' is not a template [-fpermissive]
391 | pi_ = new sp_counted_impl_pd< typename std::unique_ptr<Y, D>::pointer, D2 >( r.get(), d2 );
| ^~
/opt/local/libexec/boost/1.81/include/boost/smart_ptr/detail/shared_count.hpp:391:83: error: template argument 1 is invalid
391 | pi_ = new sp_counted_impl_pd< typename std::unique_ptr<Y, D>::pointer, D2 >( r.get(), d2 );
| ^
/opt/local/libexec/boost/1.81/include/boost/smart_ptr/detail/shared_count.hpp:391:88: error: request for member 'get' in 'r', which is of non-class type 'int'
391 | pi_ = new sp_counted_impl_pd< typename std::unique_ptr<Y, D>::pointer, D2 >( r.get(), d2 );
| ^~~
/opt/local/libexec/boost/1.81/include/boost/smart_ptr/detail/shared_count.hpp:402:11: error: request for member 'release' in 'r', which is of non-class type 'int'
402 | r.release();
| ^~~~~~~
/opt/local/libexec/boost/1.81/include/boost/smart_ptr/shared_ptr.hpp: At global scope:
/opt/local/libexec/boost/1.81/include/boost/smart_ptr/shared_ptr.hpp:552:39: error: wrong number of template arguments (2, should be 1)
552 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn()
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/libexec/boost/1.81/include/boost/smart_ptr/shared_ptr.hpp:634:49: error: wrong number of template arguments (2, should be 1)
634 | shared_ptr & operator=( std::unique_ptr<Y, D> && r )
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/libexec/boost/1.81/include/boost/smart_ptr/shared_ptr.hpp: In constructor 'boost::shared_ptr<T>::shared_ptr(int&&)':
/opt/local/libexec/boost/1.81/include/boost/smart_ptr/shared_ptr.hpp:552:55: error: request for member 'get' in 'r', which is of non-class type 'int'
552 | shared_ptr( std::unique_ptr< Y, D > && r ): px( r.get() ), pn()
| ^~~
/opt/local/libexec/boost/1.81/include/boost/smart_ptr/shared_ptr.hpp:556:40: error: wrong number of template arguments (2, should be 1)
556 | typename std::unique_ptr< Y, D >::pointer tmp = r.get();
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/libexec/boost/1.81/include/boost/smart_ptr/shared_ptr.hpp:556:41: error: '<declaration error>' is not a template [-fpermissive]
556 | typename std::unique_ptr< Y, D >::pointer tmp = r.get();
| ^~
/opt/local/libexec/boost/1.81/include/boost/smart_ptr/shared_ptr.hpp:556:59: error: request for member 'get' in 'r', which is of non-class type 'int'
556 | typename std::unique_ptr< Y, D >::pointer tmp = r.get();
| ^~~
/opt/local/libexec/boost/1.81/include/boost/smart_ptr/shared_ptr.hpp: In member function 'boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(int&&)':
/opt/local/libexec/boost/1.81/include/boost/smart_ptr/shared_ptr.hpp:636:53: error: wrong number of template arguments (2, should be 1)
636 | this_type( static_cast< std::unique_ptr<Y, D> && >( r ) ).swap(*this);
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
/opt/local/libexec/boost/1.81/include/boost/smart_ptr/shared_ptr.hpp:636:18: error: expected primary-expression before '(' token
636 | this_type( static_cast< std::unique_ptr<Y, D> && >( r ) ).swap(*this);
| ^
/opt/local/libexec/boost/1.81/include/boost/smart_ptr/shared_ptr.hpp:636:55: error: expected '>' before '&&' token
636 | this_type( static_cast< std::unique_ptr<Y, D> && >( r ) ).swap(*this);
| ^~
/opt/local/libexec/boost/1.81/include/boost/smart_ptr/shared_ptr.hpp:636:55: error: expected '(' before '&&' token
/opt/local/libexec/boost/1.81/include/boost/smart_ptr/shared_ptr.hpp:636:58: error: expected identifier before '>' token
636 | this_type( static_cast< std::unique_ptr<Y, D> && >( r ) ).swap(*this);
| ^
/opt/local/libexec/boost/1.81/include/boost/smart_ptr/shared_ptr.hpp: At global scope:
/opt/local/libexec/boost/1.81/include/boost/smart_ptr/shared_ptr.hpp:1264:60: error: wrong number of template arguments (2, should be 1)
1264 | template<class T, class D> shared_ptr( std::unique_ptr<T, D> ) -> shared_ptr<T>;
| ^
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: provided for 'template<class> class std::auto_ptr'
64 | template<typename> class auto_ptr;
| ^~~~~~~~
<command-line>: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: declared here
64 | template<typename> class auto_ptr;
| ^~~~~~~~
<command-line>: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: declared here
64 | template<typename> class auto_ptr;
| ^~~~~~~~
<command-line>: warning: 'template<class> class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
/opt/local/include/gcc12/c++/bits/unique_ptr.h:64:28: note: declared here
64 | template<typename> class auto_ptr;
| ^~~~~~~~
make[2]: *** [CMakeFiles/fatrat.dir/src/AppTools.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....