Boost C++ Libraries: Ticket #10948: use of 'I' in template in shared_ptr conflicts with complex.h https://svn.boost.org/trac10/ticket/10948 <p> Under g++, </p> <pre class="wiki">#include &lt;complex.h&gt; #include &lt;boost/shared_ptr.hpp&gt; </pre><p> yields weird error messages, whereas the inverse inclusion order works fine. The problem comes from the use of letter 'I', aka imaginary unit, as a template parameter in boost/smart_ptr/detail/spinlock_pool.hpp. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10948 Trac 1.4.3 Peter Dimov Wed, 21 Jan 2015 17:57:34 GMT <link>https://svn.boost.org/trac10/ticket/10948#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10948#comment:1</guid> <description> <p> Thanks, should be fixed in </p> <p> <a class="ext-link" href="https://github.com/boostorg/smart_ptr/commit/7faec4265bff23acae3f2599fa29b4608916d8aa"><span class="icon">​</span>https://github.com/boostorg/smart_ptr/commit/7faec4265bff23acae3f2599fa29b4608916d8aa</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Peter Dimov</dc:creator> <pubDate>Sun, 25 Jan 2015 21:21:53 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/10948#comment:2 https://svn.boost.org/trac10/ticket/10948#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> Ticket lebihan.bastien@… Mon, 13 Jun 2016 13:48:22 GMT <link>https://svn.boost.org/trac10/ticket/10948#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10948#comment:3</guid> <description> <p> Same error in boost/lambda/lambda.hpp </p> </description> <category>Ticket</category> </item> </channel> </rss>