rakshasa / libtorrent

libTorrent BitTorrent library
http://rtorrent.net/downloads/
GNU General Public License v2.0
885 stars 209 forks source link

Compilation fails since the last update #13

Closed kaleidoscopique closed 12 years ago

kaleidoscopique commented 12 years ago

Hi,

Everything worked fine 19 hours ago, but it's impossible to build since the last update. Here's the error :

chunk_list.cc: In member function 'void torrent::ChunkList::release(torrent::ChunkHandle*, int)': chunk_list.cc:204: error: overloaded function with no contextual type information

Thanks & cheer up MBK

rakshasa commented 12 years ago

Was that the only error message it produced?

kaleidoscopique commented 12 years ago

You will find all the details of the compilation here : http://pastebin.com/u3B8W9mJ

rakshasa commented 12 years ago

What gcc version are you using? Might be some bug / standard compliance improvement that causes it to have trouble with the use of the 'torrent' namespace.

kaleidoscopique commented 12 years ago

root@vps79340:~/libtorrent# gcc --version gcc (Debian 4.4.5-8) 4.4.5

I use libtorrent in a seedbox installation script and 3 users have reported the problem during compilation. I think they use the same version of gcc than me because they use the same Debian VPS than me.

Do you know what to do ?

rakshasa commented 12 years ago

Fixed in 7a065b3496a6.