Boost C++ Libraries: Ticket #10863: Geometry and asio includes cause compilation errors. https://svn.boost.org/trac10/ticket/10863 <p> Including </p> <pre class="wiki">#include &lt;boost/asio.hpp&gt; #include &lt;boost/geometry.hpp&gt; </pre><p> causes compilation errors. Everything is fine if includes are reordered: </p> <pre class="wiki">#include &lt;boost/geometry.hpp&gt; #include &lt;boost/asio.hpp&gt; </pre><p> Error also ocurres in boost 1.56.0. Boost 1.55.0 is fine. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10863 Trac 1.4.3 awulkiew Thu, 11 Dec 2014 22:43:14 GMT <link>https://svn.boost.org/trac10/ticket/10863#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10863#comment:1</guid> <description> <p> 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. </p> <p> I can't reproduce the problem. My code is very simple though. It compiles in msvc10 and mingw4.9.1. </p> <pre class="wiki">#include &lt;boost/asio.hpp&gt; #include &lt;boost/geometry.hpp&gt; #include &lt;boost/geometry/geometries/point.hpp&gt; 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&lt;double, 2, bg::cs::cartesian&gt; p1, p2; bg::equals(p1, p2); } </pre> </description> <category>Ticket</category> </item> <item> <author>tyss.k@…</author> <pubDate>Fri, 12 Dec 2014 06:02:19 GMT</pubDate> <title>attachment set https://svn.boost.org/trac10/ticket/10863 https://svn.boost.org/trac10/ticket/10863 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">suse-gcc-4.8-boost-1.56.txt</span> </li> </ul> Ticket tyss.k@… Fri, 12 Dec 2014 06:02:36 GMT attachment set https://svn.boost.org/trac10/ticket/10863 https://svn.boost.org/trac10/ticket/10863 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">arm-gcc-4.9-boost-1.56.txt</span> </li> </ul> Ticket tyss.k@… Fri, 12 Dec 2014 06:08:50 GMT attachment set https://svn.boost.org/trac10/ticket/10863 https://svn.boost.org/trac10/ticket/10863 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">arm-gcc-4.9-boost-1.57.0.txt</span> </li> </ul> Ticket anonymous Fri, 12 Dec 2014 06:16:45 GMT <link>https://svn.boost.org/trac10/ticket/10863#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10863#comment:2</guid> <description> <p> I compiled your example on my machine and attached my compiler output. I still get the error. I compiled your code with following configurations: </p> <ul><li>gcc 4.8.3 and boost 1.56 (suse-gcc-4.8-boost-1.56.txt) </li><li>cross gcc for arm 4.9.1 and boost 1.56 (arm-gcc-4.9-boost-1.56.txt) </li><li>cross gcc for arm 4.9.1 and boost 1.57.0 (arm-gcc-4.9-boost-1.57.0.txt) </li></ul><p> However your code compiles if I use boost 1.55 with both compilers. I hope that helps. </p> </description> <category>Ticket</category> </item> <item> <author>tyss.k@…</author> <pubDate>Fri, 12 Dec 2014 06:17:51 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/10863#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10863#comment:3</guid> <description> <p> Sorry. Forgot to sign my comment. It was still me :) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Fri, 12 Dec 2014 23:20:27 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/10863#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10863#comment:4</guid> <description> <p> Likely caused by POSIX termios.h which #defines B0 and similar constants. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>awulkiew</dc:creator> <pubDate>Tue, 16 Dec 2014 22:26:25 GMT</pubDate> <title>status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/10863#comment:5 https://svn.boost.org/trac10/ticket/10863#comment:5 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.58.0</span> </li> </ul> <p> This is a duplicate of <a class="ext-link" href="https://svn.boost.org/trac/boost/ticket/10467"><span class="icon">​</span>https://svn.boost.org/trac/boost/ticket/10467</a> </p> <p> Fixed in develop: <a class="ext-link" href="https://github.com/boostorg/geometry/commit/5fad5e3b7db2f980c13fdf4b07aaad7876f4c364"><span class="icon">​</span>https://github.com/boostorg/geometry/commit/5fad5e3b7db2f980c13fdf4b07aaad7876f4c364</a> </p> Ticket