Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
does this patch fix it?
Index: src/asio.cpp
===================================================================
--- src/asio.cpp (revision 7982)
+++ src/asio.cpp (working copy)
@@ -5,7 +5,7 @@
#define BOOST_ASIO_SOURCE
#endif
-#if _MSC_VER > 1310 && defined TORRENT_NO_BOOST_DATE_TIME
+#if 0 // _MSC_VER > 1310 && defined TORRENT_NO_BOOST_DATE_TIME
// on windows; including timer_queue.hpp results in an
// actual link-time dependency on boost.date_time, even
i.e. just remove the special case for msvc
Original comment by arvid.no...@gmail.com
on 6 Feb 2013 at 6:05
Yep. Builds fine. Also builds fine with 'boost-date-time=on' even when I don't
have date_time built - no unresolved date_time symbols like before.
Original comment by Daymansm...@gmail.com
on 6 Feb 2013 at 9:04
thanks. fixed in [7984]
Original comment by arvid.no...@gmail.com
on 6 Feb 2013 at 9:35
Hi. This fix is a bit of an overreaction. The relevant change in boost 1.53 is
this:
https://svn.boost.org/trac/boost/changeset/82265/trunk/boost/asio/impl
i.e. a new file included in the distributed src.hpp. IMHO, rather than
replicating the content of src.hpp in libtorrent, it would be better if you
simply do something like:
#define BOOST_ASIO_DETAIL_TIMER_QUEUE_PTIME_HPP
#include <boost/asio/impl/src.hpp>
to suppress the single boost.date_time-related header. Hope that helps.
Original comment by chris.ko...@gmail.com
on 6 Feb 2013 at 10:33
Original issue reported on code.google.com by
Daymansm...@gmail.com
on 4 Feb 2013 at 8:19