Boost C++ Libraries: Ticket #8823: Issue with smart_ptr on AIX 5.2 https://svn.boost.org/trac10/ticket/8823 <pre class="wiki">vacpp.compile.c++ bin.v2/libs/thread/build/vacpp/debug/address-model-64/link-static/runtime-link-static/threading-multi/pthread/thread.o xlC_r -c -DBOOST_ALL_NO_LIB=1 -DBOOST_SYSTEM_STATIC_LINK=1 -DBOOST_THREAD_BUILD_LIB=1 -DBOOST_THREAD_DONT_USE_CHRONO -DBOOST_THREAD_POSIX -qcpluscmt -qNOOPTimize -qnoinline -q64 -g -qfullpath -qfuncsect -qeh -qrtti -I"." -o "bin .v2/libs/thread/build/vacpp/debug/address-model-64/link-static/runtime-link-static/threading-multi/pthread/thread.o" "libs/thread/src/pthread/thread.cpp" "./boost/smart_ptr/shared_ptr.hpp", line 82.43: 1540-0403 (S) "template &lt;class T, std::size_t N&gt; struct boost::detail::sp_element&lt;T [N]&gt;" is already defined. "./boost/smart_ptr/shared_ptr.hpp", line 75.28: 1540-0425 (I) "sp_element&lt;T []&gt;" is defined on line 75 of "./boost/smart_ptr/shared_ptr.hpp". "./boost/smart_ptr/shared_ptr.hpp", line 131.43: 1540-0403 (S) "template &lt;class T, std::size_t N&gt; struct boost::detail::sp_dereference&lt;T [N]&gt;" is already defined. "./boost/smart_ptr/shared_ptr.hpp", line 124.28: 1540-0425 (I) "sp_dereference&lt;T []&gt;" is defined on line 124 of "./boost/smart_ptr/shared_ptr.hpp". "./boost/smart_ptr/shared_ptr.hpp", line 156.43: 1540-0403 (S) "template &lt;class T, std::size_t N&gt; struct boost::detail::sp_member_access&lt;T [N]&gt;" is already defined. "./boost/smart_ptr/shared_ptr.hpp", line 149.28: 1540-0425 (I) "sp_member_access&lt;T []&gt;" is defined on line 149 of "./boost/smart_ptr/shared_ptr.hpp". "./boost/smart_ptr/shared_ptr.hpp", line 181.43: 1540-0403 (S) "template &lt;class T, std::size_t N&gt; struct boost::detail::sp_array_access&lt;T [N]&gt;" is already defined. "./boost/smart_ptr/shared_ptr.hpp", line 174.28: 1540-0425 (I) "sp_array_access&lt;T []&gt;" is defined on line 174 of "./boost/smart_ptr/shared_ptr.hpp". .. .. </pre><p> Regards, Gert </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8823 Trac 1.4.3 viboes Sun, 29 Sep 2013 08:26:58 GMT description changed https://svn.boost.org/trac10/ticket/8823#comment:1 https://svn.boost.org/trac10/ticket/8823#comment:1 <ul> <li><strong>description</strong> modified (<a href="/trac10/ticket/8823?action=diff&amp;version=1">diff</a>) </li> </ul> Ticket viboes Sun, 29 Sep 2013 08:33:55 GMT cc set https://svn.boost.org/trac10/ticket/8823#comment:2 https://svn.boost.org/trac10/ticket/8823#comment:2 <ul> <li><strong>cc</strong> <span class="trac-author">viboes</span> added </li> </ul> Ticket Peter Dimov Sun, 29 Sep 2013 11:22:18 GMT <link>https://svn.boost.org/trac10/ticket/8823#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8823#comment:3</guid> <description> <p> Which version of XL C++ is that? 9.0? What is the value of __IBMCPP__? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Peter Dimov</dc:creator> <pubDate>Sun, 29 Sep 2013 11:28:56 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/8823#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8823#comment:4</guid> <description> <p> Actually 12.1 would be a better guess, I think. :-) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Peter Dimov</dc:creator> <pubDate>Sun, 27 Oct 2013 16:52:30 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/8823#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8823#comment:5</guid> <description> <p> Hubert Tong from IBM Canada reports that: </p> <blockquote class="citation"> <p> Using the following test case as a reference: </p> </blockquote> <pre class="wiki">template&lt; class T &gt; struct sp_dereference; template&lt; class T &gt; struct sp_dereference&lt; T[] &gt; { typedef void type; }; template&lt; class T, unsigned long N &gt; struct sp_dereference&lt; T[N] &gt; { typedef void type; }; int main() { (sp_dereference&lt;int []&gt;::type)0; (sp_dereference&lt;int [42]&gt;::type)0; } </pre><blockquote class="citation"> <p> The issue described cannot be reproduced with the following versions of XL C/C++ for AIX: </p> <p> 9.0.0.8 <br /> 10.1.0.2 <br /> 11.1.0.0 <br /> 12.1.0.0 <br /> </p> <p> Note that for v9.0 and v10.1, the issue is reproducible on older levels of the release. </p> </blockquote> <p> Seems that we don't need to do anything for this ticket. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Peter Dimov</dc:creator> <pubDate>Wed, 11 Dec 2013 17:08:51 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/8823#comment:6 https://svn.boost.org/trac10/ticket/8823#comment:6 <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