i got these warnings during compilation progress:
CXX magnet_uri.lo
magnet_uri.cpp: In function 'libtorrent::torrent_handle
libtorrent::add_magnet_uri(libtorrent::session&, const std::string&, const
boost::filesystem::path&, libtorrent::storage_mode_t, bool,
libtorrent::storage_interface* (*)(const libtorrent::file_storage&, const
libtorrent::file_storage*, const boost::filesystem::path&,
libtorrent::file_pool&), void*)':
magnet_uri.cpp:127:40: warning: 'libtorrent::torrent_handle
libtorrent::session::add_torrent(const char*, const libtorrent::sha1_hash&,
const char*, const boost::filesystem::path&, const libtorrent::entry&,
libtorrent::storage_mode_t, bool, libtorrent::storage_interface* (*)(const
libtorrent::file_storage&, const libtorrent::file_storage*, const
boost::filesystem::path&, libtorrent::file_pool&), void*)' is deprecated
(declared at ../include/libtorrent/session.hpp:280)
------
CXX session.lo
session.cpp: In constructor 'libtorrent::session::session(const
libtorrent::fingerprint&, std::pair<int, int>, const char*, int, int)':
session.cpp:263:28: warning: 'void libtorrent::session::set_alert_mask(int)' is
deprecated (declared at ../include/libtorrent/session.hpp:451)
session.cpp: In constructor 'libtorrent::session::session(const
libtorrent::fingerprint&, int, int)':
session.cpp:304:28: warning: 'void libtorrent::session::set_alert_mask(int)' is
deprecated (declared at ../include/libtorrent/session.hpp:451)
------
CC GeoIP.lo
cc1: warning: command line option "-ftemplate-depth-100" is valid for
C++/ObjC++ but not for C
GeoIP.c: In function '_get_name':
GeoIP.c:1012:8: warning: ignoring return value of 'fread', declared with
attribute warn_unused_result
GeoIP.c: In function 'GeoIP_database_info':
GeoIP.c:858:8: warning: ignoring return value of 'fread', declared with
attribute warn_unused_result
GeoIP.c:873:8: warning: ignoring return value of 'fread', declared with
attribute warn_unused_result
GeoIP.c:879:9: warning: ignoring return value of 'fread', declared with
attribute warn_unused_result
GeoIP.c: In function '_setup_segments':
GeoIP.c:280:8: warning: ignoring return value of 'fread', declared with
attribute warn_unused_result
GeoIP.c:282:9: warning: ignoring return value of 'fread', declared with
attribute warn_unused_result
GeoIP.c:304:10: warning: ignoring return value of 'fread', declared with
attribute warn_unused_result
GeoIP.c: In function '_GeoIP_seek_record':
GeoIP.c:431:9: warning: ignoring return value of 'fread', declared with
attribute warn_unused_result
CXXLD libtorrent-rasterbar.la
______________________________________
make[1]: Leaving directory `/root/libtorrent-rasterbar-0.15.8/src'
Making all in examples
make[1]: Entering directory `/root/libtorrent-rasterbar-0.15.8/examples'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/libtorrent-rasterbar-0.15.8/examples'
Making all in test
make[1]: Entering directory `/root/libtorrent-rasterbar-0.15.8/test'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/libtorrent-rasterbar-0.15.8/test'
Making all in bindings
make[1]: Entering directory `/root/libtorrent-rasterbar-0.15.8/bindings'
Making all in python
make[2]: Entering directory `/root/libtorrent-rasterbar-0.15.8/bindings/python'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/libtorrent-rasterbar-0.15.8/bindings/python'
make[2]: Entering directory `/root/libtorrent-rasterbar-0.15.8/bindings'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/root/libtorrent-rasterbar-0.15.8/bindings'
make[1]: Leaving directory `/root/libtorrent-rasterbar-0.15.8/bindings'
make[1]: Entering directory `/root/libtorrent-rasterbar-0.15.8'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/root/libtorrent-rasterbar-0.15.8'
root@vps:~/libtorrent-rasterbar-0.15.8#
Original issue reported on code.google.com by magle...@gmail.com on 12 Oct 2011 at 3:36
Original issue reported on code.google.com by
magle...@gmail.com
on 12 Oct 2011 at 3:36