snowyu / libtorrent

Automatically exported from code.google.com/p/libtorrent
Other
1 stars 0 forks source link

Compilation error with boost-1.55.0 (rb_libtorrent-0.16.10) #653

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
libtool: compile:  x86_64-pc-linux-gnu-g++ 
-DPACKAGE_NAME=\"libtorrent-rasterbar\" 
-DPACKAGE_TARNAME=\"libtorrent-rasterbar\" -DPACKAGE_VERSION=\"0.16.10\" 
"-DPACKAGE_STRING=\"libtorrent-rasterbar 0.16.10\"" 
-DPACKAGE_BUGREPORT=\"arvid@rasterbar.com\" 
-DPACKAGE_URL=\"http://www.libtorrent.org\" -DPACKAGE=\"libtorrent-rasterbar\" 
-DVERSION=\"0.16.10\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_BOOST=1 -DHAVE_BOOST_SYSTEM=1 
-DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 
-DHAVE_CLOCK_GETTIME=1 -DNDEBUG=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_PYTHON=\"2.7\" 
-DHAVE_BOOST_PYTHON=1 -DHAVE_LINUX_FIEMAP_H=1 -DWITH_SHIPPED_GEOIP_H=1 
-DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE=1 
-DBOOST_ASIO_ENABLE_CANCELIO=1 -DBOOST_ASIO_DYN_LINK=1 
-DTORRENT_BUILDING_SHARED=1 -I. -ftemplate-depth-100 -I../include -Os 
-I/usr/include -O2 -march=native -fomit-frame-pointer -pipe 
-fvisibility-inlines-hidden -c disk_buffer_pool.cpp  -fPIC -DPIC -o 
.libs/disk_buffer_pool.o
In file included from disk_buffer_pool.cpp:33:0:
../include/libtorrent/disk_buffer_pool.hpp:52:2: error: expected class-name 
before '{' token

Including boost/utility.hpp fixes the issue.

Original issue reported on code.google.com by dimans...@gmail.com on 28 Jul 2014 at 2:32

GoogleCodeExporter commented 9 years ago
This was fixed in 0.16.11

Original comment by arvid.no...@gmail.com on 28 Jul 2014 at 6:01