Boost C++ Libraries: Ticket #5932: Intel C++ V12.1.0.233 in Linux compilation errors https://svn.boost.org/trac10/ticket/5932 <p> Intel(R) C++ Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 12.1.0.233 Build 20110811 Copyright (C) 1985-2011 Intel Corporation. All rights reserved. FOR NON-COMMERCIAL USE ONLY </p> <p> intel-linux.compile.c++ /home/pal/work/cpp/tmp/boost/bin.v2/libs/regex/build/intel-linux-linux/release/address-model-64/link-static/threading-multi/c_regex_traits.o </p> <p> ./boost/config/compiler/intel.hpp(98): remark <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/193" title="#193: Feature Requests: Check ordering for mutexes (closed: invalid)">#193</a>: zero used for undefined preprocessing identifier "_WCHAR_T_DEFINED" </p> <blockquote> <p> # if ((_WCHAR_T_DEFINED + 0) == 0) &amp;&amp; ((_WCHAR_T + 0) == 0) </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> ./boost/throw_exception.hpp(76): remark <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1418" title="#1418: Patches: polymorphic archive performance improvement (closed: invalid)">#1418</a>: external function definition with no prior declaration </p> <blockquote> <p> throw_exception_( E const &amp; x, char const * current_function, char const * file, int line ) <sup> </sup></p> </blockquote> <p> ./boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp(75): remark <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/593" title="#593: Bugs: shared_ptr&lt;&gt; causes memory leacks and crash (closed: Invalid)">#593</a>: variable "tmp" was set but never used </p> <blockquote> <p> int rv, tmp; </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> ./boost/smart_ptr/detail/shared_count.hpp(321): error: copy constructor for class "boost::detail::shared_count" may not have a parameter of type "boost::detail::shared_count" </p> <blockquote> <p> shared_count(shared_count &amp;&amp; r): pi_(r.pi_) <em> nothrow </em></p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> ./boost/smart_ptr/detail/shared_count.hpp(321): error: expected a ")" </p> <blockquote> <p> shared_count(shared_count &amp;&amp; r): pi_(r.pi_) <em> nothrow </em></p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> ./boost/smart_ptr/detail/shared_count.hpp(321): error: identifier "r" is undefined </p> <blockquote> <p> shared_count(shared_count &amp;&amp; r): pi_(r.pi_) <em> nothrow </em></p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> ./boost/smart_ptr/detail/shared_count.hpp(428): error: copy constructor for class "boost::detail::weak_count" may not have a parameter of type "boost::detail::weak_count" </p> <blockquote> <p> weak_count(weak_count &amp;&amp; r): pi_(r.pi_) <em> nothrow </em></p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> ./boost/smart_ptr/detail/shared_count.hpp(428): error: expected a ")" </p> <blockquote> <p> weak_count(weak_count &amp;&amp; r): pi_(r.pi_) <em> nothrow </em></p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> ./boost/smart_ptr/detail/shared_count.hpp(428): error: identifier "r" is undefined </p> <blockquote> <p> weak_count(weak_count &amp;&amp; r): pi_(r.pi_) <em> nothrow </em></p> </blockquote> <p> ... </p> <p> compilation aborted for libs/regex/build/../src/cregex.cpp (code 2) </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5932 Trac 1.4.3 boost@… Fri, 23 Sep 2011 21:10:48 GMT attachment set https://svn.boost.org/trac10/ticket/5932 https://svn.boost.org/trac10/ticket/5932 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost.out</span> </li> </ul> <p> error messages produced by icpc on linux </p> Ticket Vladislav <phprus@…> Sat, 24 Sep 2011 09:38:11 GMT <link>https://svn.boost.org/trac10/ticket/5932#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5932#comment:1</guid> <description> <p> A similar discussion on the Intel Software Network forum: <a class="ext-link" href="http://software.intel.com/en-us/forums/showthread.php?t=85958"><span class="icon">​</span>http://software.intel.com/en-us/forums/showthread.php?t=85958</a> </p> </description> <category>Ticket</category> </item> <item> <author>Peter Loibl <boost@…></author> <pubDate>Tue, 27 Sep 2011 18:11:00 GMT</pubDate> <title>component changed; owner set https://svn.boost.org/trac10/ticket/5932#comment:2 https://svn.boost.org/trac10/ticket/5932#comment:2 <ul> <li><strong>owner</strong> set to <span class="trac-author">Peter Dimov</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">smart_ptr</span> </li> </ul> Ticket tetsu.h@… Thu, 29 Sep 2011 06:45:36 GMT <link>https://svn.boost.org/trac10/ticket/5932#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5932#comment:3</guid> <description> <p> I have hitting same problem with Intel compiler 12.1.0 on MacOSX and Boost 1.47.0. </p> <p> this ticket is related with <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5941" title="#5941: Patches: Wrong determination of support of the standard of a C++0X. (closed: fixed)">#5941</a>, <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5878" title="#5878: Bugs: Detection of C++0x features broken with latest Intel compiler (closed: fixed)">#5878</a>. <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5878" title="#5878: Bugs: Detection of C++0x features broken with latest Intel compiler (closed: fixed)">#5878</a> suggest workaround modify and it solved this problem. </p> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/74573" title="Tentative fox for C++0x detection in Intel 12.1 and later. Refs #5941. ...">r74573</a> doesn't fix this issue. </p> <p> This problem can be caused by incorrect value of __INTEL_COMPILER define. Intel compiler 12.1.0 set __INTEL_COMPILER to 9999. </p> <p> Previous Intel compiler 12.0.X set __INTEL_COMPILER to 1200, and boost/config/compiler/intel.hpp check it version and set variables. </p> </description> <category>Ticket</category> </item> <item> <author>Vladislav <phprus@…></author> <pubDate>Thu, 29 Sep 2011 07:00:12 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/5932#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5932#comment:4</guid> <description> <p> <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5941" title="#5941: Patches: Wrong determination of support of the standard of a C++0X. (closed: fixed)">#5941</a> is not workaround. This is a new compiler behavior. </p> </description> <category>Ticket</category> </item> <item> <author>tetsu.h@…</author> <pubDate>Thu, 29 Sep 2011 08:12:37 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/5932#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5932#comment:5</guid> <description> <p> Let me correct my mistake. </p> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/74573" title="Tentative fox for C++0x detection in Intel 12.1 and later. Refs #5941. ...">r74573</a> fixes this <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5932" title="#5932: Bugs: Intel C++ V12.1.0.233 in Linux compilation errors (closed: duplicate)">#5932</a> problem on Intel compiler 12.1.0 on MacOSX with Boost 1.47.0. </p> <p> and, as phprus says, <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5941" title="#5941: Patches: Wrong determination of support of the standard of a C++0X. (closed: fixed)">#5941</a> is not workaround. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Peter Dimov</dc:creator> <pubDate>Thu, 29 Sep 2011 08:27:54 GMT</pubDate> <title>owner changed https://svn.boost.org/trac10/ticket/5932#comment:6 https://svn.boost.org/trac10/ticket/5932#comment:6 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Peter Dimov</span> to <span class="trac-author">John Maddock</span> </li> </ul> Ticket Peter Loibl <boost@…> Thu, 29 Sep 2011 14:27:15 GMT <link>https://svn.boost.org/trac10/ticket/5932#comment:7 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5932#comment:7</guid> <description> <p> Ticket <a class="assigned ticket" href="https://svn.boost.org/trac10/ticket/5937" title="#5937: Bugs: Sun C++ 5.11 Linux compilation errors: operations.cpp (assigned)">#5937</a> has an attachment that shows the arguments Intel C++ is giving by default: <a class="ext-link" href="https://svn.boost.org/trac/boost/attachment/ticket/5937/compilers"><span class="icon">​</span>https://svn.boost.org/trac/boost/attachment/ticket/5937/compilers</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Sun, 02 Oct 2011 11:24:34 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/5932#comment:8 https://svn.boost.org/trac10/ticket/5932#comment:8 <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">duplicate</span> </li> </ul> <p> Duplicates ticket <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5878" title="#5878: Bugs: Detection of C++0x features broken with latest Intel compiler (closed: fixed)">#5878</a>. Verified fixed in Trunk. </p> Ticket