Re: [Boost-bugs] [Boost C++ Libraries] #10863: Geometry and asio includes cause compilation errors.

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10863: Geometry and asio includes cause compilation errors.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-12-11 22:43:14


#10863: Geometry and asio includes cause compilation errors.
-------------------------------+---------------------------
  Reporter: tyss.k@… | Owner: barendgehrels
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: geometry
   Version: Boost 1.57.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+---------------------------

Comment (by awulkiew):

 It's surprising. Could you provide more information? What compiler are you
 using? Could you prepare some short but complete example of a failing
 code? Or at least paste the compiler output.

 I can't reproduce the problem. My code is very simple though. It compiles
 in msvc10 and mingw4.9.1.

 {{{
 #include <boost/asio.hpp>
 #include <boost/geometry.hpp>

 #include <boost/geometry/geometries/point.hpp>

 namespace bg = boost::geometry;

 int main()
 {
     boost::asio::io_service io_service;

     using boost::asio::ip::tcp;
     tcp::resolver resolver(io_service);
     tcp::resolver::query query(tcp::v4(), "127.0.0.1", "7");

     bg::model::point<double, 2, bg::cs::cartesian> p1, p2;
     bg::equals(p1, p2);
 }
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10863#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:17 UTC