caisan / libtorrent

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

Boost deprecated functions in libtorrent sources #735

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
  BOOST_SYSTEM_NO_DEPRECATED defined for boost

What is the expected output? What do you see instead?
  error C2039: 'get_system_category' : is not a member of 'boost::system'
  (libtorrent/src/file.cpp)

What version of the product are you using? On what operating system?
  boost 1.57
  libtorrent-rasterbar-1.0.4
  MS VS 2013 update 4
  (Win 8.1 64)

Please provide any additional information below.

  In src/file.cpp used deprecated boost::system::get_system_category()
  In other sources used get_system_category() defined in include/libtorrent/error_code.hpp

  All used defines:
    'TORRENT_DISABLE_GEO_IP'
    'TORRENT_DISABLE_ENCRYPTION'
    'TORRENT_DISABLE_FULL_STATS'
    'TORRENT_NO_DEPRECATE'
    'TORRENT_DISABLE_INVARIANT_CHECKS'
    'TORRENT_NO_ASSERTS'
    'TORRENT_BUILDING_SHARED'
    'TORRENT_DEBUG' // on debug

    'BOOST_EXCEPTION_DISABLE'
    'BOOST_ASIO_ENABLE_CANCELIO'
    'BOOST_ASIO_SEPARATE_COMPILATION'
    'BOOST_ASIO_HASH_MAP_BUCKETS=1021'
    'BOOST_ALL_NO_LIB'
    'BOOST_SYSTEM_NO_DEPRECATED'
    'BOOST_SYSTEM_DYN_LINK'

Original issue reported on code.google.com by rominmai...@gmail.com on 9 Apr 2015 at 12:57

GoogleCodeExporter commented 8 years ago
thanks. fixed in RC_1_0.

Original comment by arvid.no...@gmail.com on 10 Apr 2015 at 3:25

GoogleCodeExporter commented 8 years ago
Hi.
boost::system::get_system_category still used in file.cpp: lines 840, 914.
RC_1_0, 10964

Original comment by rominmai...@gmail.com on 13 Apr 2015 at 10:08