Boost C++ Libraries: Ticket #3903: Duplicate include in asio/error.hpp https://svn.boost.org/trac10/ticket/3903 <p> boost/asio/detail/push_options.hpp is included twice </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3903 Trac 1.4.3 Yuriy A. Krasnoschek <aka.rider@…> Fri, 05 Feb 2010 01:20:27 GMT attachment set https://svn.boost.org/trac10/ticket/3903 https://svn.boost.org/trac10/ticket/3903 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">error.patch</span> </li> </ul> Ticket chris_kohlhoff Thu, 18 Mar 2010 00:36:59 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3903#comment:1 https://svn.boost.org/trac10/ticket/3903#comment:1 <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">invalid</span> </li> </ul> <p> The include is correct. The push_options.hpp and pop_options.hpp headers are used in matched pairs. In this case, one pair for the whole file, and one for the non-asio headers. </p> <p> The reason for wrapping the non-asio headers is now mostly historical I think. Some headers supplied by Borland compilers would change alignment options and not restore them. </p> Ticket