JustPaste.it

root@host [/usr/local/src/xbt/Tracker]# ./make.sh
In file included from ../misc/xbt/bt_misc.h:3,
from ../misc/bt_misc.cpp:1:
../misc/xbt/data_ref.h: In function ‘int eat(str_ref&, char)’:
../misc/xbt/data_ref.h:148: error: ‘class data_ref_base<const char*, const void*>’ has no member named ‘pop_front’
../misc/xbt/data_ref.h: In function ‘int try_parse(T&, str_ref)’:
../misc/xbt/data_ref.h:181: error: ‘class str_ref’ has no member named ‘pop_front’
../misc/bt_misc.cpp: In function ‘std::string escape_string(const std::string&)’:
../misc/bt_misc.cpp:20: error: expected initializer before ‘:’ token
../misc/bt_misc.cpp:408: error: expected primary-expression at end of input
../misc/bt_misc.cpp:408: error: expected ‘;’ at end of input
../misc/bt_misc.cpp:408: error: expected primary-expression at end of input
../misc/bt_misc.cpp:408: error: expected ‘)’ at end of input
../misc/bt_misc.cpp:408: error: expected statement at end of input
../misc/bt_misc.cpp:408: error: expected ‘}’ at end of input
In file included from ../misc/xbt/sql_result.h:5,
from ../misc/xbt/database.h:5,
from ../misc/database.cpp:1:
../misc/xbt/data_ref.h: In function ‘int eat(str_ref&, char)’:
../misc/xbt/data_ref.h:148: error: ‘class data_ref_base<const char*, const void*>’ has no member named ‘pop_front’
../misc/xbt/data_ref.h: In function ‘int try_parse(T&, str_ref)’:
../misc/xbt/data_ref.h:181: error: ‘class str_ref’ has no member named ‘pop_front’
In file included from ../misc/xbt/database.h:5,
from ../misc/database.cpp:1:
../misc/xbt/sql_result.h: At global scope:
../misc/xbt/sql_result.h:50: error: ISO C++ forbids initialization of member ‘res_’
../misc/xbt/sql_result.h:50: error: making ‘res_’ static
../misc/xbt/sql_result.h:50: error: invalid in-class initialization of static data member of non-integral type ‘Csql_result*’
../misc/xbt/sql_result.h: In constructor ‘Csql_result::iterator::iterator(Csql_result&)’:
../misc/xbt/sql_result.h:45: error: class ‘Csql_result::iterator’ does not have any field named ‘res_’
../misc/xbt/sql_result.h:45: error: ‘res_’ was not declared in this scope
../misc/xbt/sql_result.h: In member function ‘Csql_row Csql_result::iterator::operator*()’:
../misc/xbt/sql_result.h:47: error: ‘res_’ was not declared in this scope
../misc/xbt/sql_result.h: In member function ‘void Csql_result::iterator::operator++()’:
../misc/xbt/sql_result.h:48: error: ‘res_’ was not declared in this scope
In file included from ../misc/database.cpp:1:
../misc/xbt/database.h: At global scope:
../misc/xbt/database.h:39: error: ISO C++ forbids initialization of member ‘m_query_log’
../misc/xbt/database.h:39: error: making ‘m_query_log’ static
../misc/xbt/database.h:39: error: invalid in-class initialization of static data member of non-integral type ‘std::ostream*’
../misc/database.cpp: In member function ‘int Cdatabase::query_nothrow(const std::string&)’:
../misc/database.cpp:35: error: ‘m_query_log’ was not declared in this scope
../misc/database.cpp: In member function ‘void Cdatabase::set_query_log(std::ostream*)’:
../misc/database.cpp:86: error: ‘m_query_log’ was not declared in this scope
In file included from ../misc/sha1.h:22,
from ../misc/sha1.cpp:32:
../misc/xbt/data_ref.h: In function ‘int eat(str_ref&, char)’:
../misc/xbt/data_ref.h:148: error: ‘class data_ref_base<const char*, const void*>’ has no member named ‘pop_front’
../misc/xbt/data_ref.h: In function ‘int try_parse(T&, str_ref)’:
../misc/xbt/data_ref.h:181: error: ‘class str_ref’ has no member named ‘pop_front’
In file included from ../misc/socket.h:6,
from ../misc/socket.cpp:1:
../misc/xbt/data_ref.h: In function ‘int eat(str_ref&, char)’:
../misc/xbt/data_ref.h:148: error: ‘class data_ref_base<const char*, const void*>’ has no member named ‘pop_front’
../misc/xbt/data_ref.h: In function ‘int try_parse(T&, str_ref)’:
../misc/xbt/data_ref.h:181: error: ‘class str_ref’ has no member named ‘pop_front’
In file included from ../misc/xbt/sql_query.h:3,
from ../misc/sql_query.cpp:1:
../misc/xbt/data_ref.h: In function ‘int eat(str_ref&, char)’:
../misc/xbt/data_ref.h:148: error: ‘class data_ref_base<const char*, const void*>’ has no member named ‘pop_front’
../misc/xbt/data_ref.h: In function ‘int try_parse(T&, str_ref)’:
../misc/xbt/data_ref.h:181: error: ‘class str_ref’ has no member named ‘pop_front’
In file included from ../misc/xbt/database.h:5,
from ../misc/sql_query.cpp:5:
../misc/xbt/sql_result.h: At global scope:
../misc/xbt/sql_result.h:50: error: ISO C++ forbids initialization of member ‘res_’
../misc/xbt/sql_result.h:50: error: making ‘res_’ static
../misc/xbt/sql_result.h:50: error: invalid in-class initialization of static data member of non-integral type ‘Csql_result*’
../misc/xbt/sql_result.h: In constructor ‘Csql_result::iterator::iterator(Csql_result&)’:
../misc/xbt/sql_result.h:45: error: class ‘Csql_result::iterator’ does not have any field named ‘res_’
../misc/xbt/sql_result.h:45: error: ‘res_’ was not declared in this scope
../misc/xbt/sql_result.h: In member function ‘Csql_row Csql_result::iterator::operator*()’:
../misc/xbt/sql_result.h:47: error: ‘res_’ was not declared in this scope
../misc/xbt/sql_result.h: In member function ‘void Csql_result::iterator::operator++()’:
../misc/xbt/sql_result.h:48: error: ‘res_’ was not declared in this scope
In file included from ../misc/sql_query.cpp:5:
../misc/xbt/database.h: At global scope:
../misc/xbt/database.h:39: error: ISO C++ forbids initialization of member ‘m_query_log’
../misc/xbt/database.h:39: error: making ‘m_query_log’ static
../misc/xbt/database.h:39: error: invalid in-class initialization of static data member of non-integral type ‘std::ostream*’
In file included from ../misc/xbt/shared_data.h:12,
from ../misc/xbt/xcc_z.h:3,
from ../misc/xcc_z.cpp:1:
../misc/xbt/cfile.h:38: error: only declarations of constructors can be ‘explicit’
../misc/xbt/cfile.h:58: error: ISO C++ forbids initialization of member ‘f_’
../misc/xbt/cfile.h:58: error: making ‘f_’ static
../misc/xbt/cfile.h:58: error: invalid in-class initialization of static data member of non-integral type ‘FILE*’
../misc/xbt/cfile.h: In constructor ‘cfile_handle::cfile_handle(FILE*)’:
../misc/xbt/cfile.h:24: error: class ‘cfile_handle’ does not have any field named ‘f_’
../misc/xbt/cfile.h: In member function ‘FILE* cfile_handle::get() const’:
../misc/xbt/cfile.h:30: error: ‘f_’ was not declared in this scope
../misc/xbt/cfile.h: In member function ‘void cfile_handle::reset(FILE*)’:
../misc/xbt/cfile.h:45: error: ‘f_’ was not declared in this scope
../misc/xbt/cfile.h: At global scope:
../misc/xbt/cfile.h:111: error: only declarations of constructors can be ‘explicit’
In file included from ../misc/xbt/shared_data.h:13,
from ../misc/xbt/xcc_z.h:3,
from ../misc/xcc_z.cpp:1:
../misc/xbt/data_ref.h: In function ‘int eat(str_ref&, char)’:
../misc/xbt/data_ref.h:148: error: ‘class data_ref_base<const char*, const void*>’ has no member named ‘pop_front’
../misc/xbt/data_ref.h: In function ‘int try_parse(T&, str_ref)’:
../misc/xbt/data_ref.h:181: error: ‘class str_ref’ has no member named ‘pop_front’
In file included from ../misc/sha1.h:22,
from stdafx.h:22,
from config.cpp:1:
../misc/xbt/data_ref.h: In function ‘int eat(str_ref&, char)’:
../misc/xbt/data_ref.h:148: error: ‘class data_ref_base<const char*, const void*>’ has no member named ‘pop_front’
../misc/xbt/data_ref.h: In function ‘int try_parse(T&, str_ref)’:
../misc/xbt/data_ref.h:181: error: ‘class str_ref’ has no member named ‘pop_front’
In file included from ../misc/xbt/database.h:5,
from stdafx.h:30,
from config.cpp:1:
../misc/xbt/sql_result.h: At global scope:
../misc/xbt/sql_result.h:50: error: ISO C++ forbids initialization of member ‘res_’
../misc/xbt/sql_result.h:50: error: making ‘res_’ static
../misc/xbt/sql_result.h:50: error: invalid in-class initialization of static data member of non-integral type ‘Csql_result*’
../misc/xbt/sql_result.h: In constructor ‘Csql_result::iterator::iterator(Csql_result&)’:
../misc/xbt/sql_result.h:45: error: class ‘Csql_result::iterator’ does not have any field named ‘res_’
../misc/xbt/sql_result.h:45: error: ‘res_’ was not declared in this scope
../misc/xbt/sql_result.h: In member function ‘Csql_row Csql_result::iterator::operator*()’:
../misc/xbt/sql_result.h:47: error: ‘res_’ was not declared in this scope
../misc/xbt/sql_result.h: In member function ‘void Csql_result::iterator::operator++()’:
../misc/xbt/sql_result.h:48: error: ‘res_’ was not declared in this scope
In file included from stdafx.h:30,
from config.cpp:1:
../misc/xbt/database.h: At global scope:
../misc/xbt/database.h:39: error: ISO C++ forbids initialization of member ‘m_query_log’
../misc/xbt/database.h:39: error: making ‘m_query_log’ static
../misc/xbt/database.h:39: error: invalid in-class initialization of static data member of non-integral type ‘std::ostream*’
In file included from ../misc/xbt/shared_data.h:12,
from ../misc/xbt/xcc_z.h:3,
from stdafx.h:34,
from config.cpp:1:
../misc/xbt/cfile.h:38: error: only declarations of constructors can be ‘explicit’
../misc/xbt/cfile.h:58: error: ISO C++ forbids initialization of member ‘f_’
../misc/xbt/cfile.h:58: error: making ‘f_’ static
../misc/xbt/cfile.h:58: error: invalid in-class initialization of static data member of non-integral type ‘FILE*’
../misc/xbt/cfile.h: In constructor ‘cfile_handle::cfile_handle(FILE*)’:
../misc/xbt/cfile.h:24: error: class ‘cfile_handle’ does not have any field named ‘f_’
../misc/xbt/cfile.h: In member function ‘FILE* cfile_handle::get() const’:
../misc/xbt/cfile.h:30: error: ‘f_’ was not declared in this scope
../misc/xbt/cfile.h: In member function ‘void cfile_handle::reset(FILE*)’:
../misc/xbt/cfile.h:45: error: ‘f_’ was not declared in this scope
../misc/xbt/cfile.h: At global scope:
../misc/xbt/cfile.h:111: error: only declarations of constructors can be ‘explicit’
In file included from connection.cpp:5:
server.h:6:19: error: stats.h: No such file or directory
server.h:7:31: error: tcp_listen_socket.h: No such file or directory
server.h:9:31: error: udp_listen_socket.h: No such file or directory
server.h:13:26: error: sql/database.h: No such file or directory
In file included from ../misc/sha1.h:22,
from stdafx.h:22,
from connection.cpp:1:
../misc/xbt/data_ref.h: In function ‘int eat(str_ref&, char)’:
../misc/xbt/data_ref.h:148: error: ‘class data_ref_base<const char*, const void*>’ has no member named ‘pop_front’
../misc/xbt/data_ref.h: In function ‘int try_parse(T&, str_ref)’:
../misc/xbt/data_ref.h:181: error: ‘class str_ref’ has no member named ‘pop_front’
In file included from ../misc/xbt/database.h:5,
from stdafx.h:30,
from connection.cpp:1:
../misc/xbt/sql_result.h: At global scope:
../misc/xbt/sql_result.h:50: error: ISO C++ forbids initialization of member ‘res_’
../misc/xbt/sql_result.h:50: error: making ‘res_’ static
../misc/xbt/sql_result.h:50: error: invalid in-class initialization of static data member of non-integral type ‘Csql_result*’
../misc/xbt/sql_result.h: In constructor ‘Csql_result::iterator::iterator(Csql_result&)’:
../misc/xbt/sql_result.h:45: error: class ‘Csql_result::iterator’ does not have any field named ‘res_’
../misc/xbt/sql_result.h:45: error: ‘res_’ was not declared in this scope
../misc/xbt/sql_result.h: In member function ‘Csql_row Csql_result::iterator::operator*()’:
../misc/xbt/sql_result.h:47: error: ‘res_’ was not declared in this scope
../misc/xbt/sql_result.h: In member function ‘void Csql_result::iterator::operator++()’:
../misc/xbt/sql_result.h:48: error: ‘res_’ was not declared in this scope
In file included from stdafx.h:30,
from connection.cpp:1:
../misc/xbt/database.h: At global scope:
../misc/xbt/database.h:39: error: ISO C++ forbids initialization of member ‘m_query_log’
../misc/xbt/database.h:39: error: making ‘m_query_log’ static
../misc/xbt/database.h:39: error: invalid in-class initialization of static data member of non-integral type ‘std::ostream*’
In file included from ../misc/xbt/shared_data.h:12,
from ../misc/xbt/xcc_z.h:3,
from stdafx.h:34,
from connection.cpp:1:
../misc/xbt/cfile.h:38: error: only declarations of constructors can be ‘explicit’
../misc/xbt/cfile.h:58: error: ISO C++ forbids initialization of member ‘f_’
../misc/xbt/cfile.h:58: error: making ‘f_’ static
../misc/xbt/cfile.h:58: error: invalid in-class initialization of static data member of non-integral type ‘FILE*’
../misc/xbt/cfile.h: In constructor ‘cfile_handle::cfile_handle(FILE*)’:
../misc/xbt/cfile.h:24: error: class ‘cfile_handle’ does not have any field named ‘f_’
../misc/xbt/cfile.h: In member function ‘FILE* cfile_handle::get() const’:
../misc/xbt/cfile.h:30: error: ‘f_’ was not declared in this scope
../misc/xbt/cfile.h: In member function ‘void cfile_handle::reset(FILE*)’:
../misc/xbt/cfile.h:45: error: ‘f_’ was not declared in this scope
../misc/xbt/cfile.h: At global scope:
../misc/xbt/cfile.h:111: error: only declarations of constructors can be ‘explicit’
In file included from connection.cpp:4:
epoll.h:37: error: ISO C++ forbids initialization of member ‘m_fd’
epoll.h:37: error: making ‘m_fd’ static
epoll.h:37: error: ISO C++ forbids in-class initialization of non-const static member ‘m_fd’
In file included from server.h:8,
from connection.cpp:5:
tracker_input.h:27: error: ISO C++ forbids initialization of member ‘m_event’
tracker_input.h:27: error: making ‘m_event’ static
tracker_input.h:27: error: ISO C++ forbids in-class initialization of non-const static member ‘m_event’
tracker_input.h:31: error: ISO C++ forbids initialization of member ‘m_downloaded’
tracker_input.h:31: error: making ‘m_downloaded’ static
tracker_input.h:31: error: ISO C++ forbids in-class initialization of non-const static member ‘m_downloaded’
tracker_input.h:32: error: ISO C++ forbids initialization of member ‘m_left’
tracker_input.h:32: error: making ‘m_left’ static
tracker_input.h:32: error: ISO C++ forbids in-class initialization of non-const static member ‘m_left’
tracker_input.h:33: error: ISO C++ forbids initialization of member ‘m_uploaded’
tracker_input.h:33: error: making ‘m_uploaded’ static
tracker_input.h:33: error: ISO C++ forbids in-class initialization of non-const static member ‘m_uploaded’
tracker_input.h:34: error: ISO C++ forbids initialization of member ‘m_ipa’
tracker_input.h:34: error: making ‘m_ipa’ static
tracker_input.h:34: error: ISO C++ forbids in-class initialization of non-const static member ‘m_ipa’
tracker_input.h:35: error: ISO C++ forbids initialization of member ‘m_port’
tracker_input.h:35: error: making ‘m_port’ static
tracker_input.h:35: error: ISO C++ forbids in-class initialization of non-const static member ‘m_port’
In file included from connection.cpp:5:
server.h:181: error: ISO C++ forbids declaration of ‘Cstats’ with no type
server.h:181: error: expected ‘;’ before ‘&’ token
server.h:186: error: expected ‘;’ before ‘time_t’
server.h:209: error: ‘Ctcp_listen_socket’ was not declared in this scope
server.h:209: error: template argument 1 is invalid
server.h:209: error: template argument 2 is invalid
server.h:210: error: ‘Cudp_listen_socket’ was not declared in this scope
server.h:210: error: template argument 1 is invalid
server.h:210: error: template argument 2 is invalid
server.h:217: error: ‘Cstats’ does not name a type
connection.cpp: In constructor ‘Cconnection::Cconnection(const Csocket&, const sockaddr_in&)’:
connection.cpp:11: error: ‘srv_time’ was not declared in this scope
connection.cpp: In member function ‘int Cconnection::post_select(fd_set*, fd_set*)’:
connection.cpp:29: error: ‘srv_time’ was not declared in this scope
connection.cpp: In member function ‘void Cconnection::read(const std::string&)’:
connection.cpp:122: error: ‘srv_config’ was not declared in this scope
connection.cpp:125: error: ‘srv_time’ was not declared in this scope
connection.cpp:171: error: ‘find_user_by_torrent_pass’ was not declared in this scope
connection.cpp:171: error: ‘srv_insert_peer’ was not declared in this scope
connection.cpp:172: error: ‘srv_select_peers’ was not declared in this scope
connection.cpp:176: error: ‘srv_config’ was not declared in this scope
connection.cpp:179: error: ‘srv_debug’ was not declared in this scope
connection.cpp:186: error: ‘srv_statistics’ was not declared in this scope
connection.cpp:188: error: ‘srv_config’ was not declared in this scope
connection.cpp:191: error: ‘find_user_by_torrent_pass’ was not declared in this scope
connection.cpp:191: error: ‘srv_scrape’ was not declared in this scope
connection.cpp:197: error: ‘srv_config’ was not declared in this scope
connection.cpp: In member function ‘int Cconnection::run()’:
connection.cpp:277: error: ‘srv_time’ was not declared in this scope
In file included from epoll.cpp:1:
epoll.h:37: error: ISO C++ forbids initialization of member ‘m_fd’
epoll.h:37: error: making ‘m_fd’ static
epoll.h:37: error: ISO C++ forbids in-class initialization of non-const static member ‘m_fd’
In file included from server.cpp:2:
server.h:6:19: error: stats.h: No such file or directory
server.h:7:31: error: tcp_listen_socket.h: No such file or directory
server.h:9:31: error: udp_listen_socket.h: No such file or directory
server.h:13:26: error: sql/database.h: No such file or directory
server.cpp:7:27: error: sql/sql_query.h: No such file or directory
server.cpp:11:21: error: bt_misc.h: No such file or directory
In file included from ../misc/sha1.h:22,
from stdafx.h:22,
from server.cpp:1:
../misc/xbt/data_ref.h: In function ‘int eat(str_ref&, char)’:
../misc/xbt/data_ref.h:148: error: ‘class data_ref_base<const char*, const void*>’ has no member named ‘pop_front’
../misc/xbt/data_ref.h: In function ‘int try_parse(T&, str_ref)’:
../misc/xbt/data_ref.h:181: error: ‘class str_ref’ has no member named ‘pop_front’
In file included from ../misc/xbt/database.h:5,
from stdafx.h:30,
from server.cpp:1:
../misc/xbt/sql_result.h: At global scope:
../misc/xbt/sql_result.h:50: error: ISO C++ forbids initialization of member ‘res_’
../misc/xbt/sql_result.h:50: error: making ‘res_’ static
../misc/xbt/sql_result.h:50: error: invalid in-class initialization of static data member of non-integral type ‘Csql_result*’
../misc/xbt/sql_result.h: In constructor ‘Csql_result::iterator::iterator(Csql_result&)’:
../misc/xbt/sql_result.h:45: error: class ‘Csql_result::iterator’ does not have any field named ‘res_’
../misc/xbt/sql_result.h:45: error: ‘res_’ was not declared in this scope
../misc/xbt/sql_result.h: In member function ‘Csql_row Csql_result::iterator::operator*()’:
../misc/xbt/sql_result.h:47: error: ‘res_’ was not declared in this scope
../misc/xbt/sql_result.h: In member function ‘void Csql_result::iterator::operator++()’:
../misc/xbt/sql_result.h:48: error: ‘res_’ was not declared in this scope
In file included from stdafx.h:30,
from server.cpp:1:
../misc/xbt/database.h: At global scope:
../misc/xbt/database.h:39: error: ISO C++ forbids initialization of member ‘m_query_log’
../misc/xbt/database.h:39: error: making ‘m_query_log’ static
../misc/xbt/database.h:39: error: invalid in-class initialization of static data member of non-integral type ‘std::ostream*’
In file included from ../misc/xbt/shared_data.h:12,
from ../misc/xbt/xcc_z.h:3,
from stdafx.h:34,
from server.cpp:1:
../misc/xbt/cfile.h:38: error: only declarations of constructors can be ‘explicit’
../misc/xbt/cfile.h:58: error: ISO C++ forbids initialization of member ‘f_’
../misc/xbt/cfile.h:58: error: making ‘f_’ static
../misc/xbt/cfile.h:58: error: invalid in-class initialization of static data member of non-integral type ‘FILE*’
../misc/xbt/cfile.h: In constructor ‘cfile_handle::cfile_handle(FILE*)’:
../misc/xbt/cfile.h:24: error: class ‘cfile_handle’ does not have any field named ‘f_’
../misc/xbt/cfile.h: In member function ‘FILE* cfile_handle::get() const’:
../misc/xbt/cfile.h:30: error: ‘f_’ was not declared in this scope
../misc/xbt/cfile.h: In member function ‘void cfile_handle::reset(FILE*)’:
../misc/xbt/cfile.h:45: error: ‘f_’ was not declared in this scope
../misc/xbt/cfile.h: At global scope:
../misc/xbt/cfile.h:111: error: only declarations of constructors can be ‘explicit’
In file included from server.h:5,
from server.cpp:2:
epoll.h:37: error: ISO C++ forbids initialization of member ‘m_fd’
epoll.h:37: error: making ‘m_fd’ static
epoll.h:37: error: ISO C++ forbids in-class initialization of non-const static member ‘m_fd’
In file included from server.h:8,
from server.cpp:2:
tracker_input.h:27: error: ISO C++ forbids initialization of member ‘m_event’
tracker_input.h:27: error: making ‘m_event’ static
tracker_input.h:27: error: ISO C++ forbids in-class initialization of non-const static member ‘m_event’
tracker_input.h:31: error: ISO C++ forbids initialization of member ‘m_downloaded’
tracker_input.h:31: error: making ‘m_downloaded’ static
tracker_input.h:31: error: ISO C++ forbids in-class initialization of non-const static member ‘m_downloaded’
tracker_input.h:32: error: ISO C++ forbids initialization of member ‘m_left’
tracker_input.h:32: error: making ‘m_left’ static
tracker_input.h:32: error: ISO C++ forbids in-class initialization of non-const static member ‘m_left’
tracker_input.h:33: error: ISO C++ forbids initialization of member ‘m_uploaded’
tracker_input.h:33: error: making ‘m_uploaded’ static
tracker_input.h:33: error: ISO C++ forbids in-class initialization of non-const static member ‘m_uploaded’
tracker_input.h:34: error: ISO C++ forbids initialization of member ‘m_ipa’
tracker_input.h:34: error: making ‘m_ipa’ static
tracker_input.h:34: error: ISO C++ forbids in-class initialization of non-const static member ‘m_ipa’
tracker_input.h:35: error: ISO C++ forbids initialization of member ‘m_port’
tracker_input.h:35: error: making ‘m_port’ static
tracker_input.h:35: error: ISO C++ forbids in-class initialization of non-const static member ‘m_port’
In file included from server.cpp:2:
server.h:181: error: ISO C++ forbids declaration of ‘Cstats’ with no type
server.h:181: error: expected ‘;’ before ‘&’ token
server.h:186: error: expected ‘;’ before ‘time_t’
server.h:209: error: ‘Ctcp_listen_socket’ was not declared in this scope
server.h:209: error: template argument 1 is invalid
server.h:209: error: template argument 2 is invalid
server.h:210: error: ‘Cudp_listen_socket’ was not declared in this scope
server.h:210: error: template argument 1 is invalid
server.h:210: error: template argument 2 is invalid
server.h:217: error: ‘Cstats’ does not name a type
server.cpp: In member function ‘int Cserver::run()’:
server.cpp:36: error: no matching function for call to ‘Cepoll::create(int)’
epoll.h:32: note: candidates are: int Cepoll::create()
server.cpp:43: error: ‘Cconfig::t_listen_ipas’ has not been declared
server.cpp:43: error: expected ‘;’ before ‘j’
server.cpp:45: error: ‘Cconfig::t_listen_ports’ has not been declared
server.cpp:45: error: expected ‘;’ before ‘i’
server.cpp:51: error: ‘j’ was not declared in this scope
server.cpp:51: error: ‘i’ was not declared in this scope
server.cpp:67: error: request for member ‘push_back’ in ‘lt’, which is of non-class type ‘Cserver::t_tcp_sockets’
server.cpp:67: error: ‘Ctcp_listen_socket’ was not declared in this scope
server.cpp:68: error: request for member ‘back’ in ‘lt’, which is of non-class type ‘Cserver::t_tcp_sockets’
server.cpp:73: error: ‘Cconfig::t_listen_ports’ has not been declared
server.cpp:73: error: expected ‘;’ before ‘i’
server.cpp:79: error: ‘j’ was not declared in this scope
server.cpp:79: error: ‘i’ was not declared in this scope
server.cpp:83: error: request for member ‘push_back’ in ‘lu’, which is of non-class type ‘Cserver::t_udp_sockets’
server.cpp:83: error: ‘Cudp_listen_socket’ was not declared in this scope
server.cpp:84: error: request for member ‘back’ in ‘lu’, which is of non-class type ‘Cserver::t_udp_sockets’
server.cpp: In member function ‘void Cserver::accept(const Csocket&)’:
server.cpp:245: error: ‘m_stats’ was not declared in this scope
server.cpp:248: error: ‘m_stats’ was not declared in this scope
server.cpp:251: error: no matching function for call to ‘Cconnection::Cconnection(Cserver* const, Csocket&, sockaddr_in&)’
connection.h:15: note: candidates are: Cconnection::Cconnection(const Csocket&, const sockaddr_in&)
connection.h:6: note: Cconnection::Cconnection(const Cconnection&)
server.cpp: In member function ‘std::string Cserver::insert_peer(const Ctracker_input&, bool, Cserver::t_user*)’:
server.cpp:372: error: ‘m_stats’ was not declared in this scope
server.cpp: In member function ‘std::string Cserver::t_file::select_peers(const Ctracker_input&) const’:
server.cpp:394: error: ‘const class Ctracker_input’ has no member named ‘m_num_want’
server.cpp:394: error: ‘const class Ctracker_input’ has no member named ‘m_num_want’
server.cpp: In member function ‘Cvirtual_binary Cserver::scrape(const Ctracker_input&)’:
server.cpp:477: error: no matching function for call to ‘Csql_query::p_raw(const char [5])’
../misc/xbt/sql_query.h:17: note: candidates are: Csql_query& Csql_query::p_raw(data_ref)
server.cpp:487: error: ‘m_stats’ was not declared in this scope
server.cpp:488: error: ‘const class Ctracker_input’ has no member named ‘m_compact’
server.cpp:515: error: ‘m_stats’ was not declared in this scope
server.cpp:516: error: ‘Ctracker_input::t_info_hashes’ has not been declared
server.cpp:516: error: expected ‘;’ before ‘j’
server.cpp:518: error: ‘j’ was not declared in this scope
server.cpp: In member function ‘void Cserver::read_db_deny_from_hosts()’:
server.cpp:554: error: expected type-specifier
server.cpp:554: error: expected unqualified-id before ‘&’ token
server.cpp:554: error: expected ‘)’ before ‘&’ token
server.cpp:554: error: expected ‘{’ before ‘&’ token
server.cpp:554: error: expected primary-expression before ‘)’ token
server.cpp:554: error: expected ‘;’ before ‘)’ token
server.cpp:564: error: expected type-specifier
server.cpp:564: error: expected unqualified-id before ‘&’ token
server.cpp:564: error: expected ‘)’ before ‘&’ token
server.cpp:564: error: expected ‘{’ before ‘&’ token
server.cpp:564: error: expected primary-expression before ‘)’ token
server.cpp:564: error: expected ‘;’ before ‘)’ token
server.cpp: In member function ‘void Cserver::read_db_files_sql()’:
server.cpp:661: error: expected type-specifier
server.cpp:661: error: expected unqualified-id before ‘&’ token
server.cpp:661: error: expected ‘)’ before ‘&’ token
server.cpp:661: error: expected ‘{’ before ‘&’ token
server.cpp:661: error: expected primary-expression before ‘)’ token
server.cpp:661: error: expected ‘;’ before ‘)’ token
server.cpp: In member function ‘void Cserver::read_db_users()’:
server.cpp:745: error: expected type-specifier
server.cpp:745: error: expected unqualified-id before ‘&’ token
server.cpp:745: error: expected ‘)’ before ‘&’ token
server.cpp:745: error: expected ‘{’ before ‘&’ token
server.cpp:745: error: expected primary-expression before ‘)’ token
server.cpp:745: error: expected ‘;’ before ‘)’ token
server.cpp: In member function ‘void Cserver::write_db_files()’:
server.cpp:783: error: expected type-specifier
server.cpp:783: error: expected unqualified-id before ‘&’ token
server.cpp:783: error: expected ‘)’ before ‘&’ token
server.cpp:783: error: expected ‘{’ before ‘&’ token
server.cpp:783: error: expected primary-expression before ‘)’ token
server.cpp:783: error: expected ‘;’ before ‘)’ token
server.cpp:793: error: expected type-specifier
server.cpp:793: error: expected unqualified-id before ‘&’ token
server.cpp:793: error: expected ‘)’ before ‘&’ token
server.cpp:793: error: expected ‘{’ before ‘&’ token
server.cpp:793: error: expected primary-expression before ‘)’ token
server.cpp:793: error: expected ‘;’ before ‘)’ token
server.cpp:805: error: expected type-specifier
server.cpp:805: error: expected unqualified-id before ‘&’ token
server.cpp:805: error: expected ‘)’ before ‘&’ token
server.cpp:805: error: expected ‘{’ before ‘&’ token
server.cpp:805: error: expected primary-expression before ‘)’ token
server.cpp:805: error: expected ‘;’ before ‘)’ token
server.cpp: In member function ‘void Cserver::write_db_users()’:
server.cpp:837: error: expected type-specifier
server.cpp:837: error: expected unqualified-id before ‘&’ token
server.cpp:837: error: expected ‘)’ before ‘&’ token
server.cpp:837: error: expected ‘{’ before ‘&’ token
server.cpp:837: error: expected primary-expression before ‘)’ token
server.cpp:837: error: expected ‘;’ before ‘)’ token
server.cpp:853: error: expected type-specifier
server.cpp:853: error: expected unqualified-id before ‘&’ token
server.cpp:853: error: expected ‘)’ before ‘&’ token
server.cpp:853: error: expected ‘{’ before ‘&’ token
server.cpp:853: error: expected primary-expression before ‘)’ token
server.cpp:853: error: expected ‘;’ before ‘)’ token
server.cpp: In member function ‘void Cserver::read_config()’:
server.cpp:881: error: expected type-specifier
server.cpp:881: error: expected unqualified-id before ‘&’ token
server.cpp:881: error: expected ‘)’ before ‘&’ token
server.cpp:881: error: expected ‘{’ before ‘&’ token
server.cpp:881: error: expected primary-expression before ‘)’ token
server.cpp:881: error: expected ‘;’ before ‘)’ token
server.cpp: In member function ‘void Cserver::t_file::debug(std::ostream&) const’:
server.cpp:907: error: ‘const_memory_range’ was not declared in this scope
server.cpp: In member function ‘std::string Cserver::statistics() const’:
server.cpp:937: error: ‘m_stats’ was not declared in this scope
server.cpp:955: error: ‘const class Cconfig’ has no member named ‘m_anonymous_connect’
server.cpp: In member function ‘std::string Cserver::table_name(int) const’:
server.cpp:1033: error: ‘const class Cconfig’ has no member named ‘m_table_deny_from_hosts’
server.cpp:1033: error: ‘const class Cconfig’ has no member named ‘m_table_deny_from_hosts’
server.cpp:1035: error: ‘const class Cconfig’ has no member named ‘m_table_files’
server.cpp:1035: error: ‘const class Cconfig’ has no member named ‘m_table_files’
server.cpp:1037: error: ‘const class Cconfig’ has no member named ‘m_table_files_users’
server.cpp:1037: error: ‘const class Cconfig’ has no member named ‘m_table_files_users’
server.cpp: In member function ‘int Cserver::test_sql()’:
server.cpp:1053: error: ‘class Cdatabase’ has no member named ‘handle’
server.cpp:1074: error: expected type-specifier
server.cpp:1074: error: expected unqualified-id before ‘&’ token
server.cpp:1074: error: expected ‘)’ before ‘&’ token
server.cpp:1074: error: expected ‘{’ before ‘&’ token
server.cpp:1074: error: expected primary-expression before ‘)’ token
server.cpp:1074: error: expected ‘;’ before ‘)’ token
In file included from ../misc/sha1.h:22,
from stdafx.h:22,
from tracker_input.cpp:1:
../misc/xbt/data_ref.h: In function ‘int eat(str_ref&, char)’:
../misc/xbt/data_ref.h:148: error: ‘class data_ref_base<const char*, const void*>’ has no member named ‘pop_front’
../misc/xbt/data_ref.h: In function ‘int try_parse(T&, str_ref)’:
../misc/xbt/data_ref.h:181: error: ‘class str_ref’ has no member named ‘pop_front’
In file included from ../misc/xbt/database.h:5,
from stdafx.h:30,
from tracker_input.cpp:1:
../misc/xbt/sql_result.h: At global scope:
../misc/xbt/sql_result.h:50: error: ISO C++ forbids initialization of member ‘res_’
../misc/xbt/sql_result.h:50: error: making ‘res_’ static
../misc/xbt/sql_result.h:50: error: invalid in-class initialization of static data member of non-integral type ‘Csql_result*’
../misc/xbt/sql_result.h: In constructor ‘Csql_result::iterator::iterator(Csql_result&)’:
../misc/xbt/sql_result.h:45: error: class ‘Csql_result::iterator’ does not have any field named ‘res_’
../misc/xbt/sql_result.h:45: error: ‘res_’ was not declared in this scope
../misc/xbt/sql_result.h: In member function ‘Csql_row Csql_result::iterator::operator*()’:
../misc/xbt/sql_result.h:47: error: ‘res_’ was not declared in this scope
../misc/xbt/sql_result.h: In member function ‘void Csql_result::iterator::operator++()’:
../misc/xbt/sql_result.h:48: error: ‘res_’ was not declared in this scope
In file included from stdafx.h:30,
from tracker_input.cpp:1:
../misc/xbt/database.h: At global scope:
../misc/xbt/database.h:39: error: ISO C++ forbids initialization of member ‘m_query_log’
../misc/xbt/database.h:39: error: making ‘m_query_log’ static
../misc/xbt/database.h:39: error: invalid in-class initialization of static data member of non-integral type ‘std::ostream*’
In file included from ../misc/xbt/shared_data.h:12,
from ../misc/xbt/xcc_z.h:3,
from stdafx.h:34,
from tracker_input.cpp:1:
../misc/xbt/cfile.h:38: error: only declarations of constructors can be ‘explicit’
../misc/xbt/cfile.h:58: error: ISO C++ forbids initialization of member ‘f_’
../misc/xbt/cfile.h:58: error: making ‘f_’ static
../misc/xbt/cfile.h:58: error: invalid in-class initialization of static data member of non-integral type ‘FILE*’
../misc/xbt/cfile.h: In constructor ‘cfile_handle::cfile_handle(FILE*)’:
../misc/xbt/cfile.h:24: error: class ‘cfile_handle’ does not have any field named ‘f_’
../misc/xbt/cfile.h: In member function ‘FILE* cfile_handle::get() const’:
../misc/xbt/cfile.h:30: error: ‘f_’ was not declared in this scope
../misc/xbt/cfile.h: In member function ‘void cfile_handle::reset(FILE*)’:
../misc/xbt/cfile.h:45: error: ‘f_’ was not declared in this scope
../misc/xbt/cfile.h: At global scope:
../misc/xbt/cfile.h:111: error: only declarations of constructors can be ‘explicit’
In file included from tracker_input.cpp:2:
tracker_input.h:27: error: ISO C++ forbids initialization of member ‘m_event’
tracker_input.h:27: error: making ‘m_event’ static
tracker_input.h:27: error: ISO C++ forbids in-class initialization of non-const static member ‘m_event’
tracker_input.h:31: error: ISO C++ forbids initialization of member ‘m_downloaded’
tracker_input.h:31: error: making ‘m_downloaded’ static
tracker_input.h:31: error: ISO C++ forbids in-class initialization of non-const static member ‘m_downloaded’
tracker_input.h:32: error: ISO C++ forbids initialization of member ‘m_left’
tracker_input.h:32: error: making ‘m_left’ static
tracker_input.h:32: error: ISO C++ forbids in-class initialization of non-const static member ‘m_left’
tracker_input.h:33: error: ISO C++ forbids initialization of member ‘m_uploaded’
tracker_input.h:33: error: making ‘m_uploaded’ static
tracker_input.h:33: error: ISO C++ forbids in-class initialization of non-const static member ‘m_uploaded’
tracker_input.h:34: error: ISO C++ forbids initialization of member ‘m_ipa’
tracker_input.h:34: error: making ‘m_ipa’ static
tracker_input.h:34: error: ISO C++ forbids in-class initialization of non-const static member ‘m_ipa’
tracker_input.h:35: error: ISO C++ forbids initialization of member ‘m_port’
tracker_input.h:35: error: making ‘m_port’ static
tracker_input.h:35: error: ISO C++ forbids in-class initialization of non-const static member ‘m_port’
In file included from transaction.cpp:5:
server.h:6:19: error: stats.h: No such file or directory
server.h:7:31: error: tcp_listen_socket.h: No such file or directory
server.h:9:31: error: udp_listen_socket.h: No such file or directory
server.h:13:26: error: sql/database.h: No such file or directory
In file included from ../misc/sha1.h:22,
from stdafx.h:22,
from transaction.cpp:1:
../misc/xbt/data_ref.h: In function ‘int eat(str_ref&, char)’:
../misc/xbt/data_ref.h:148: error: ‘class data_ref_base<const char*, const void*>’ has no member named ‘pop_front’
../misc/xbt/data_ref.h: In function ‘int try_parse(T&, str_ref)’:
../misc/xbt/data_ref.h:181: error: ‘class str_ref’ has no member named ‘pop_front’
In file included from ../misc/xbt/database.h:5,
from stdafx.h:30,
from transaction.cpp:1:
../misc/xbt/sql_result.h: At global scope:
../misc/xbt/sql_result.h:50: error: ISO C++ forbids initialization of member ‘res_’
../misc/xbt/sql_result.h:50: error: making ‘res_’ static
../misc/xbt/sql_result.h:50: error: invalid in-class initialization of static data member of non-integral type ‘Csql_result*’
../misc/xbt/sql_result.h: In constructor ‘Csql_result::iterator::iterator(Csql_result&)’:
../misc/xbt/sql_result.h:45: error: class ‘Csql_result::iterator’ does not have any field named ‘res_’
../misc/xbt/sql_result.h:45: error: ‘res_’ was not declared in this scope
../misc/xbt/sql_result.h: In member function ‘Csql_row Csql_result::iterator::operator*()’:
../misc/xbt/sql_result.h:47: error: ‘res_’ was not declared in this scope
../misc/xbt/sql_result.h: In member function ‘void Csql_result::iterator::operator++()’:
../misc/xbt/sql_result.h:48: error: ‘res_’ was not declared in this scope
In file included from stdafx.h:30,
from transaction.cpp:1:
../misc/xbt/database.h: At global scope:
../misc/xbt/database.h:39: error: ISO C++ forbids initialization of member ‘m_query_log’
../misc/xbt/database.h:39: error: making ‘m_query_log’ static
../misc/xbt/database.h:39: error: invalid in-class initialization of static data member of non-integral type ‘std::ostream*’
In file included from ../misc/xbt/shared_data.h:12,
from ../misc/xbt/xcc_z.h:3,
from stdafx.h:34,
from transaction.cpp:1:
../misc/xbt/cfile.h:38: error: only declarations of constructors can be ‘explicit’
../misc/xbt/cfile.h:58: error: ISO C++ forbids initialization of member ‘f_’
../misc/xbt/cfile.h:58: error: making ‘f_’ static
../misc/xbt/cfile.h:58: error: invalid in-class initialization of static data member of non-integral type ‘FILE*’
../misc/xbt/cfile.h: In constructor ‘cfile_handle::cfile_handle(FILE*)’:
../misc/xbt/cfile.h:24: error: class ‘cfile_handle’ does not have any field named ‘f_’
../misc/xbt/cfile.h: In member function ‘FILE* cfile_handle::get() const’:
../misc/xbt/cfile.h:30: error: ‘f_’ was not declared in this scope
../misc/xbt/cfile.h: In member function ‘void cfile_handle::reset(FILE*)’:
../misc/xbt/cfile.h:45: error: ‘f_’ was not declared in this scope
../misc/xbt/cfile.h: At global scope:
../misc/xbt/cfile.h:111: error: only declarations of constructors can be ‘explicit’
In file included from server.h:5,
from transaction.cpp:5:
epoll.h:37: error: ISO C++ forbids initialization of member ‘m_fd’
epoll.h:37: error: making ‘m_fd’ static
epoll.h:37: error: ISO C++ forbids in-class initialization of non-const static member ‘m_fd’
In file included from server.h:8,
from transaction.cpp:5:
tracker_input.h:27: error: ISO C++ forbids initialization of member ‘m_event’
tracker_input.h:27: error: making ‘m_event’ static
tracker_input.h:27: error: ISO C++ forbids in-class initialization of non-const static member ‘m_event’
tracker_input.h:31: error: ISO C++ forbids initialization of member ‘m_downloaded’
tracker_input.h:31: error: making ‘m_downloaded’ static
tracker_input.h:31: error: ISO C++ forbids in-class initialization of non-const static member ‘m_downloaded’
tracker_input.h:32: error: ISO C++ forbids initialization of member ‘m_left’
tracker_input.h:32: error: making ‘m_left’ static
tracker_input.h:32: error: ISO C++ forbids in-class initialization of non-const static member ‘m_left’
tracker_input.h:33: error: ISO C++ forbids initialization of member ‘m_uploaded’
tracker_input.h:33: error: making ‘m_uploaded’ static
tracker_input.h:33: error: ISO C++ forbids in-class initialization of non-const static member ‘m_uploaded’
tracker_input.h:34: error: ISO C++ forbids initialization of member ‘m_ipa’
tracker_input.h:34: error: making ‘m_ipa’ static
tracker_input.h:34: error: ISO C++ forbids in-class initialization of non-const static member ‘m_ipa’
tracker_input.h:35: error: ISO C++ forbids initialization of member ‘m_port’
tracker_input.h:35: error: making ‘m_port’ static
tracker_input.h:35: error: ISO C++ forbids in-class initialization of non-const static member ‘m_port’
In file included from transaction.cpp:5:
server.h:181: error: ISO C++ forbids declaration of ‘Cstats’ with no type
server.h:181: error: expected ‘;’ before ‘&’ token
server.h:186: error: expected ‘;’ before ‘time_t’
server.h:209: error: ‘Ctcp_listen_socket’ was not declared in this scope
server.h:209: error: template argument 1 is invalid
server.h:209: error: template argument 2 is invalid
server.h:210: error: ‘Cudp_listen_socket’ was not declared in this scope
server.h:210: error: template argument 1 is invalid
server.h:210: error: template argument 2 is invalid
server.h:217: error: ‘Cstats’ does not name a type
transaction.cpp: In member function ‘long long int Ctransaction::connection_id() const’:
transaction.cpp:16: error: ‘srv_secret’ was not declared in this scope
transaction.cpp: In member function ‘void Ctransaction::recv()’:
transaction.cpp:37: error: ‘srv_stats’ was not declared in this scope
transaction.cpp: In member function ‘void Ctransaction::send_announce(data_ref)’:
transaction.cpp:74: error: ‘srv_config’ was not declared in this scope
transaction.cpp:90: error: ‘srv_insert_peer’ was not declared in this scope
transaction.cpp:96: error: ‘find_torrent’ was not declared in this scope
transaction.cpp:96: error: unable to deduce ‘auto’ from ‘<expression error>’
transaction.cpp:102: error: ‘srv_config’ was not declared in this scope
transaction.cpp: In member function ‘void Ctransaction::send_scrape(data_ref)’:
transaction.cpp:114: error: ‘srv_config’ was not declared in this scope
transaction.cpp:126: error: ‘find_torrent’ was not declared in this scope
transaction.cpp:126: error: unable to deduce ‘auto’ from ‘<expression error>’
transaction.cpp:139: error: ‘srv_stats’ was not declared in this scope
transaction.cpp: In member function ‘void Ctransaction::send(data_ref)’:
transaction.cpp:156: error: ‘srv_stats’ was not declared in this scope
In file included from XBT Tracker.cpp:4:
server.h:6:19: error: stats.h: No such file or directory
server.h:7:31: error: tcp_listen_socket.h: No such file or directory
server.h:9:31: error: udp_listen_socket.h: No such file or directory
server.h:13:26: error: sql/database.h: No such file or directory
In file included from ../misc/sha1.h:22,
from stdafx.h:22,
from XBT Tracker.cpp:1:
../misc/xbt/data_ref.h: In function ‘int eat(str_ref&, char)’:
../misc/xbt/data_ref.h:148: error: ‘class data_ref_base<const char*, const void*>’ has no member named ‘pop_front’
../misc/xbt/data_ref.h: In function ‘int try_parse(T&, str_ref)’:
../misc/xbt/data_ref.h:181: error: ‘class str_ref’ has no member named ‘pop_front’
In file included from ../misc/xbt/database.h:5,
from stdafx.h:30,
from XBT Tracker.cpp:1:
../misc/xbt/sql_result.h: At global scope:
../misc/xbt/sql_result.h:50: error: ISO C++ forbids initialization of member ‘res_’
../misc/xbt/sql_result.h:50: error: making ‘res_’ static
../misc/xbt/sql_result.h:50: error: invalid in-class initialization of static data member of non-integral type ‘Csql_result*’
../misc/xbt/sql_result.h: In constructor ‘Csql_result::iterator::iterator(Csql_result&)’:
../misc/xbt/sql_result.h:45: error: class ‘Csql_result::iterator’ does not have any field named ‘res_’
../misc/xbt/sql_result.h:45: error: ‘res_’ was not declared in this scope
../misc/xbt/sql_result.h: In member function ‘Csql_row Csql_result::iterator::operator*()’:
../misc/xbt/sql_result.h:47: error: ‘res_’ was not declared in this scope
../misc/xbt/sql_result.h: In member function ‘void Csql_result::iterator::operator++()’:
../misc/xbt/sql_result.h:48: error: ‘res_’ was not declared in this scope
In file included from stdafx.h:30,
from XBT Tracker.cpp:1:
../misc/xbt/database.h: At global scope:
../misc/xbt/database.h:39: error: ISO C++ forbids initialization of member ‘m_query_log’
../misc/xbt/database.h:39: error: making ‘m_query_log’ static
../misc/xbt/database.h:39: error: invalid in-class initialization of static data member of non-integral type ‘std::ostream*’
In file included from ../misc/xbt/shared_data.h:12,
from ../misc/xbt/xcc_z.h:3,
from stdafx.h:34,
from XBT Tracker.cpp:1:
../misc/xbt/cfile.h:38: error: only declarations of constructors can be ‘explicit’
../misc/xbt/cfile.h:58: error: ISO C++ forbids initialization of member ‘f_’
../misc/xbt/cfile.h:58: error: making ‘f_’ static
../misc/xbt/cfile.h:58: error: invalid in-class initialization of static data member of non-integral type ‘FILE*’
../misc/xbt/cfile.h: In constructor ‘cfile_handle::cfile_handle(FILE*)’:
../misc/xbt/cfile.h:24: error: class ‘cfile_handle’ does not have any field named ‘f_’
../misc/xbt/cfile.h: In member function ‘FILE* cfile_handle::get() const’:
../misc/xbt/cfile.h:30: error: ‘f_’ was not declared in this scope
../misc/xbt/cfile.h: In member function ‘void cfile_handle::reset(FILE*)’:
../misc/xbt/cfile.h:45: error: ‘f_’ was not declared in this scope
../misc/xbt/cfile.h: At global scope:
../misc/xbt/cfile.h:111: error: only declarations of constructors can be ‘explicit’
In file included from server.h:5,
from XBT Tracker.cpp:4:
epoll.h:37: error: ISO C++ forbids initialization of member ‘m_fd’
epoll.h:37: error: making ‘m_fd’ static
epoll.h:37: error: ISO C++ forbids in-class initialization of non-const static member ‘m_fd’
In file included from server.h:8,
from XBT Tracker.cpp:4:
tracker_input.h:27: error: ISO C++ forbids initialization of member ‘m_event’
tracker_input.h:27: error: making ‘m_event’ static
tracker_input.h:27: error: ISO C++ forbids in-class initialization of non-const static member ‘m_event’
tracker_input.h:31: error: ISO C++ forbids initialization of member ‘m_downloaded’
tracker_input.h:31: error: making ‘m_downloaded’ static
tracker_input.h:31: error: ISO C++ forbids in-class initialization of non-const static member ‘m_downloaded’
tracker_input.h:32: error: ISO C++ forbids initialization of member ‘m_left’
tracker_input.h:32: error: making ‘m_left’ static
tracker_input.h:32: error: ISO C++ forbids in-class initialization of non-const static member ‘m_left’
tracker_input.h:33: error: ISO C++ forbids initialization of member ‘m_uploaded’
tracker_input.h:33: error: making ‘m_uploaded’ static
tracker_input.h:33: error: ISO C++ forbids in-class initialization of non-const static member ‘m_uploaded’
tracker_input.h:34: error: ISO C++ forbids initialization of member ‘m_ipa’
tracker_input.h:34: error: making ‘m_ipa’ static
tracker_input.h:34: error: ISO C++ forbids in-class initialization of non-const static member ‘m_ipa’
tracker_input.h:35: error: ISO C++ forbids initialization of member ‘m_port’
tracker_input.h:35: error: making ‘m_port’ static
tracker_input.h:35: error: ISO C++ forbids in-class initialization of non-const static member ‘m_port’
In file included from XBT Tracker.cpp:4:
server.h:181: error: ISO C++ forbids declaration of ‘Cstats’ with no type
server.h:181: error: expected ‘;’ before ‘&’ token
server.h:186: error: expected ‘;’ before ‘time_t’
server.h:209: error: ‘Ctcp_listen_socket’ was not declared in this scope
server.h:209: error: template argument 1 is invalid
server.h:209: error: template argument 2 is invalid
server.h:210: error: ‘Cudp_listen_socket’ was not declared in this scope
server.h:210: error: template argument 1 is invalid
server.h:210: error: template argument 2 is invalid
server.h:217: error: ‘Cstats’ does not name a type
XBT Tracker.cpp: In function ‘int main1()’:
XBT Tracker.cpp:33: error: ‘srv_database’ was not declared in this scope
XBT Tracker.cpp:43: error: ‘srv_database’ was not declared in this scope
XBT Tracker.cpp:45: error: ‘srv_run’ was not declared in this scope