Boost C++ Libraries: Ticket #2334: Error while using asio and xpressive together https://svn.boost.org/trac10/ticket/2334 <p> I get compiler error with the following code: </p> <p> #include &lt;boost/asio.hpp&gt; #include &lt;boost/xpressive/xpressive.hpp&gt; int main(int argc, char*argv[]) {} </p> <p> If I flip the order of #include, code compiles fine. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2334 Trac 1.4.3 Eric Niebler Sat, 06 Dec 2008 21:34:59 GMT <link>https://svn.boost.org/trac10/ticket/2334#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2334#comment:1</guid> <description> <p> I'm unable to reproduce this error on boost trunk. Can we close it? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>chris_kohlhoff</dc:creator> <pubDate>Thu, 16 Apr 2009 09:11:52 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/2334#comment:2 https://svn.boost.org/trac10/ticket/2334#comment:2 <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> </ul> <p> The problem was caused by a macro "B0" being defined on linux, in the header file /usr/include/bits/termios.h. As of boost 1.36.0, xpressive had some template parameters named "B0". Since those template parameters no longer exist on the trunk, the problem has been fixed. </p> Ticket