All pastes #884429 Raw Edit

Anonymous

public text v1 · immutable
#884429 ·published 2008-01-30 10:28 UTC
rendered paste body
test_bandwidth_limiter.cpp:130: error: wrong number of template arguments (1, should be 2)
../include/libtorrent/bandwidth_queue_entry.hpp:41: error: provided for 'template<class PeerConnection, class Torrent> struct libtorrent::bw_queue_entry'
test_bandwidth_limiter.cpp:130: error: template argument 1 is invalid
test_bandwidth_limiter.cpp:130: error: template argument 2 is invalid
test_bandwidth_limiter.cpp: In member function 'void torrent::request_bandwidth(int, const boost::intrusive_ptr<peer_connection>&, int)':
test_bandwidth_limiter.cpp:107: error: expected initializer before 'i'
test_bandwidth_limiter.cpp:108: error: 'i' was not declared in this scope
test_bandwidth_limiter.cpp:108: error: request for member 'rend' in '((torrent*)this)->torrent::m_bandwidth_queue[channel]', which is of non-class type 'int'
test_bandwidth_limiter.cpp:113: error: request for member 'insert' in '((torrent*)this)->torrent::m_bandwidth_queue[channel]', which is of non-class type 'int'
test_bandwidth_limiter.cpp:113: error: 'i' was not declared in this scope
test_bandwidth_limiter.cpp:113: error: wrong number of template arguments (1, should be 2)
../include/libtorrent/bandwidth_queue_entry.hpp:41: error: provided for 'template<class PeerConnection, class Torrent> struct libtorrent::bw_queue_entry'
test_bandwidth_limiter.cpp: In member function 'void torrent::expire_bandwidth(int, int)':
test_bandwidth_limiter.cpp:218: error: request for member 'empty' in '((torrent*)this)->torrent::m_bandwidth_queue[channel]', which is of non-class type 'int'
test_bandwidth_limiter.cpp:220: error: wrong number of template arguments (1, should be 2)
../include/libtorrent/bandwidth_queue_entry.hpp:41: error: provided for 'template<class PeerConnection, class Torrent> struct libtorrent::bw_queue_entry'
test_bandwidth_limiter.cpp:220: error: invalid type in declaration before '=' token
test_bandwidth_limiter.cpp:220: error: request for member 'front' in '((torrent*)this)->torrent::m_bandwidth_queue[channel]', which is of non-class type 'int'
test_bandwidth_limiter.cpp:223: error: request for member 'pop_front' in '((torrent*)this)->torrent::m_bandwidth_queue[channel]', which is of non-class type 'int'
test_bandwidth_limiter.cpp:224: error: request for member 'peer' in 'qe', which is of non-class type 'int'
test_bandwidth_limiter.cpp:226: error: request for member 'peer' in 'qe', which is of non-class type 'int'
test_bandwidth_limiter.cpp:226: error: request for member 'push_back' in 'tmp', which is of non-class type 'int'
test_bandwidth_limiter.cpp:229: error: request for member 'peer' in 'qe', which is of non-class type 'int'
test_bandwidth_limiter.cpp:230: error: request for member 'max_block_size' in 'qe', which is of non-class type 'int'
test_bandwidth_limiter.cpp:230: error: request for member 'priority' in 'qe', which is of non-class type 'int'
test_bandwidth_limiter.cpp:232: error: request for member 'insert' in '((torrent*)this)->torrent::m_bandwidth_queue[channel]', which is of non-class type 'int'
test_bandwidth_limiter.cpp:232: error: request for member 'begin' in '((torrent*)this)->torrent::m_bandwidth_queue[channel]', which is of non-class type 'int'
test_bandwidth_limiter.cpp:232: error: request for member 'begin' in 'tmp', which is of non-class type 'int'
test_bandwidth_limiter.cpp:232: error: request for member 'end' in 'tmp', which is of non-class type 'int'
make[1]: *** [test_bandwidth_limiter.o] Error 1
make[1]: Leaving directory `/home/chris/devel/libtorrent/branches/RC_0_13/test'
make: *** [all-recursive] Error 1
chris@chris-laptop:~/devel/libtorrent/branches/RC_0_13$