Boost C++ Libraries: Ticket #5280: compilation error by including order https://svn.boost.org/trac10/ticket/5280 <p> In VC8~VC10, a compilation error will be occurred when you include headers in the following order: </p> <pre class="wiki">#include &lt;boost/utility/value_init.hpp&gt; #include &lt;boost/wave/util/cpp_include_paths.hpp&gt; </pre><pre class="wiki">error C2872: 'detail' : ambiguous symbol. </pre><p> Because, In cpp_include_paths.hpp, the VC++ compiler doesn't lookup boost::multi_index::get function. </p> <p> So, I think it is necessary to write using declarations explicitly. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5280 Trac 1.4.3 bolero.murakami+cpp@… Tue, 08 Mar 2011 13:38:07 GMT attachment set https://svn.boost.org/trac10/ticket/5280 https://svn.boost.org/trac10/ticket/5280 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">cpp_include_paths.patch</span> </li> </ul> Ticket Hartmut Kaiser Tue, 08 Mar 2011 15:34:43 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/5280#comment:1 https://svn.boost.org/trac10/ticket/5280#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">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/69685" title="Fixed #5280: compilation error by including order">[69685]</a>) Fixed <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5280" title="#5280: Bugs: compilation error by including order (closed: fixed)">#5280</a>: compilation error by including order </p> Ticket Hartmut Kaiser Tue, 08 Mar 2011 15:36:41 GMT <link>https://svn.boost.org/trac10/ticket/5280#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5280#comment:2</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/69686" title="Fixed #5280: compilation error by including order">[69686]</a>) Fixed <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5280" title="#5280: Bugs: compilation error by including order (closed: fixed)">#5280</a>: compilation error by including order </p> </description> <category>Ticket</category> </item> </channel> </rss>