logo       

Re: Errors when compiling libtorrent-0.9.2-060421.tar.gz: msg#00042

network.bit-torrent.libtorrent

Subject: Re: Errors when compiling libtorrent-0.9.2-060421.tar.gz

On Apr 24, 2006, at 06:25, Tianhao Qiu wrote:
I took a quick look at the Jamfile and added all the definitions into the project. Now it is reduced to only 12 errors and 12 warnings. I've attached the errors below. They don't make much sense to me. For example I don't see anything wrong with the definition of libtorrent::http_tracker_connection::on_response().

"
1>http_tracker_connection.cpp
1>d:\projects\libtorrent-0.9.2\src\http_tracker_connection.cpp (675) : error C2143: syntax error : missing ';' before 'inline function header'
1>d:\projects\libtorrent-0.9.2\src\http_tracker_connection.cpp (676) : error C4430: missing type specifier - int assumed. Note: C+ + does not support default-int
1>d:\projects\libtorrent-0.9.2\src\http_tracker_connection.cpp (676) : error C2556: 'int libtorrent::http_tracker_connection::on_response(void)' : overloaded function differs only by return type from 'void libtorrent::http_tracker_connection::on_response(void)'
1> d:\projects\libtorrent-0.9.2\include\libtorrent \http_tracker_connection.hpp(132) : see declaration of 'libtorrent::http_tracker_connection::on_response'
1>d:\projects\libtorrent-0.9.2\src\http_tracker_connection.cpp (676) : error C2371: 'libtorrent::http_tracker_connection::on_response' : redefinition; different basic types
1> d:\projects\libtorrent-0.9.2\include\libtorrent \http_tracker_connection.hpp(132) : see declaration of 'libtorrent::http_tracker_connection::on_response'

Ah, that looks like the bug in msvc where it has problems parsing function try blocks. I think adding a semicolon after the catch block may help. GCC is accepting that semicolon as well, I'm not sure one is actually allowed to have one there though.

Maybe you could have a try and let me know if that helped (in that case I will add them and check them into the cvs).

Is there a release schedule for libtorrent-0.9.2?

As soon as all the known bugs/asserts are fixed. Which should be pretty soon, because there aren't that many.

Is there a bug list somewhere? I've checked the sourceforge and didn't see one.

Not really. I just keep track of reports from this list and from the irc channel locally.
The list of known bugs is generally short anyway, since I try to fix them as soon as I know about them.

--
Arvid Norberg




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise