Boost C++ Libraries: Ticket #7359: Compatibility with Intel icpc 13.0 when using -use-clang-env option on Mac OS X https://svn.boost.org/trac10/ticket/7359 <p> The recently released Intel C++ Compiler has a new option -use-clang-env (OS X version only). This cause icpc to define the macro <span class="underline">clang</span> and use Clang's headers etc. I haven't found any particular effects at the moment. Maybe they are planning switching to libc++ on Mac OS X as libstdc++ will not be distributed on OS X anymore in the near future. </p> <p> Anyway, the problem is that with this macro defined, select_compiler_config.hpp will select Clang instead of Intel icpc as compilers. Further, even icpc has this macro, it does not have all the clang's <span class="underline">has_features(...) macros defined, and thus this wrong selection cause compilation error. </span></p> <p> The fix is very simple, simply test <span class="underline">INTEL_COMPILER before </span>clang<span class="underline">. The fixed header is attached in this report. I am not aware if there are any other compatibility problem with this new compiler yet. However, this one need immediate fix. </span></p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7359 Trac 1.4.3 anonymous Mon, 10 Sep 2012 16:27:08 GMT <link>https://svn.boost.org/trac10/ticket/7359#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7359#comment:1</guid> <description> <p> I cannot upload the fixed header. The tracker says it is a spam and entering the code does not help. However, the fix is very simple. Just select Intel icpc before trying Clang </p> </description> <category>Ticket</category> </item> <item> <author>zhouyan@…</author> <pubDate>Wed, 10 Oct 2012 14:20:33 GMT</pubDate> <title>attachment set https://svn.boost.org/trac10/ticket/7359 https://svn.boost.org/trac10/ticket/7359 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">select_compiler_config_patch.hpp</span> </li> </ul> <p> Patch to the bug </p> Ticket zhouyan@… Wed, 10 Oct 2012 14:27:08 GMT version changed https://svn.boost.org/trac10/ticket/7359#comment:2 https://svn.boost.org/trac10/ticket/7359#comment:2 <ul> <li><strong>version</strong> <span class="trac-field-old">Boost 1.51.0</span> → <span class="trac-field-new">Boost 1.52.0</span> </li> </ul> Ticket John Maddock Sun, 24 Feb 2013 19:08:04 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/7359#comment:3 https://svn.boost.org/trac10/ticket/7359#comment:3 <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/83139" title="Merge changes from Trunk. Fixes #6013. Fixes #7151. Fixes #7359. Fixes ...">[83139]</a>) Merge changes from Trunk. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6013" title="#6013: Patches: endian.hpp header patch to utilize OpenBSD's endian header (closed: fixed)">#6013</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7151" title="#7151: Bugs: config.hpp does not define BOOST_HAS_TR1_TUPLE (closed: fixed)">#7151</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7359" title="#7359: Bugs: Compatibility with Intel icpc 13.0 when using -use-clang-env option on ... (closed: fixed)">#7359</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7389" title="#7389: Bugs: __STDC_LIMIT_MACROS can be redefined by boost when using mingw32 (closed: fixed)">#7389</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7452" title="#7452: Patches: Compiling Boost.Asio Example Error [with Clang compiled by MinGW gcc] (closed: fixed)">#7452</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7528" title="#7528: Bugs: Compilation failure on Android and Xbox 360 (closed: fixed)">#7528</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7703" title="#7703: Bugs: endian.hpp for QNX / BlackBerry10 (closed: fixed)">#7703</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7841" title="#7841: Feature Requests: A macro to detect real GCC (closed: fixed)">#7841</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7898" title="#7898: Bugs: TI compiller: wrong decision about type_info presence in boost/config (closed: fixed)">#7898</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7938" title="#7938: Patches: Support vxWorks (closed: fixed)">#7938</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8048" title="#8048: Bugs: Boost 1.53 + GCC 4.6.3 __int128 undefined. (closed: fixed)">#8048</a>. </p> Ticket