logo       

Re: C++ syntax error.: msg#00062

network.bit-torrent.libtorrent

Subject: Re: C++ syntax error.


On Apr 29, 2006, at 07:35, Andreas Bruse wrote:

Hi,

There is a syntax error in the file include/libtorrent/storage.hpp. At
line 111 there is an extra qualification of the member declaration:

void storage::shuffle();

This is an error in C++ syntax and newer versions of g++ (version 4
and up I think) will recognize it as such and reject it. All member
functions must use an unqualified name for the member itself:

void shuffle();

The version of g++ I'm using (gcc version 4.1.0 20060304 (Red Hat
4.1.0-3)) refused to compile libtorrent because of this.

Thanks for the report. This was fixed a few months ago.


--
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