Boost C++ Libraries: Ticket #11885: MSVC 12: compiler error in boost/type_traits/common_type.hpp(42) https://svn.boost.org/trac10/ticket/11885 <p> Visual Studio 2013 fails to build Boost 1.60, whereas 1.58 is built correctly. When built with Visual Studio 2008, 1.60 doesn't show this issue. </p> <p> Command line: </p> <pre class="wiki">.\b2 --with-thread --toolset=msvc-12.0 </pre><p> error: </p> <pre class="wiki">.\boost/type_traits/common_type.hpp(42) : fatal error C1001: Interner Compilerfehler. (Compilerdatei 'msc1.cpp', Zeile 1325) </pre><p> This regression was likely introduced in commit <strong>Make common_type SFINAE-friendly, add tests</strong><br /> <a class="ext-link" href="https://github.com/boostorg/type_traits/commit/9fd4ee06b2"><span class="icon">​</span>https://github.com/boostorg/type_traits/commit/9fd4ee06b2</a> </p> <p> <br /><br /> </p> <p> full error message for one of the files: </p> <pre class="wiki">compile-c-c++ bin.v2\libs\chrono\build\msvc-12.0\debug\link-static\threading-multi\chrono.obj chrono.cpp C:\GitHub\external\_lib\boost_1_60_0\boost/type_traits/common_type.hpp(42) : fatal error C1001: Interner Compilerfehler. (Compilerdatei 'msc1.cpp', Zeile 1325) Vereinfachen oder ändern Sie das Programm im Umfeld der oben aufgeführten Positionen. Wählen Sie im Menü "Hilfe" von Visual C++ den Befehl "Technischer Support", oder öffnen Sie die Hilfedatei des technischen Supports, um weitere Informationen zu erhalten. Interner Compilerfehler in C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\cl.exe. Sie werden aufgefordert, später einen Fehlerbericht an Microsoft zu senden. call "C:\Users\SEBAST~2\AppData\Local\Temp\b2_msvc_12.0_vcvarsall_x86.cmd" &gt; nul cl /Zm800 -nologo @"bin.v2\libs\chrono\build\msvc-12.0\debug\link-static\threading-multi\chrono.obj.rsp" ...failed compile-c-c++ bin.v2\libs\chrono\build\msvc-12.0\debug\link-static\threading-multi\chrono.obj... </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11885 Trac 1.4.3 John Maddock Mon, 04 Jan 2016 19:32:40 GMT <link>https://svn.boost.org/trac10/ticket/11885#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11885#comment:1</guid> <description> <p> I'm unable to reproduce: the tests for both chrono and type_traits all build OK for me (other than some unrelated and expected type_traits failures) with msvc-10,11,12 and 14 and both Git develop and 1.60 release. This is with fully up to date / patched versions of Visual Studio though: is it possible your vc12 install is not patched with the latest updates? </p> </description> <category>Ticket</category> </item> <item> <author>sk.aquileia@…</author> <pubDate>Tue, 05 Jan 2016 20:50:07 GMT</pubDate> <title>milestone deleted https://svn.boost.org/trac10/ticket/11885#comment:2 https://svn.boost.org/trac10/ticket/11885#comment:2 <ul> <li><strong>milestone</strong> <span class="trac-field-deleted">To Be Determined</span> </li> </ul> <p> It was indeed fixed by Update 5, sorry that I didn't check for patches before reporting it - I had just assumed Microsoft wouldn't publish major patches 2 years after release. </p> Ticket John Maddock Sat, 06 Feb 2016 17:07:09 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/11885#comment:3 https://svn.boost.org/trac10/ticket/11885#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">worksforme</span> </li> </ul> Ticket anonymous Fri, 25 Mar 2016 13:03:39 GMT <link>https://svn.boost.org/trac10/ticket/11885#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11885#comment:4</guid> <description> <p> I hit the same issue with boost-1.60; I'm on "Update 3 of Visual Studio 2013 for Windows Desktop". As I had boost-1.55 downloaded, and didn't need the latest version, I've switched to using that, and the problem has gone away. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Mon, 28 Mar 2016 06:42:17 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11885#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11885#comment:5</guid> <description> <p> the same problem and couldn't fixed unless switched to old version<sub></sub><sub></sub>so sad </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Mon, 28 Mar 2016 11:52:07 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11885#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11885#comment:6</guid> <description> <p> Don't you guys ever run Microsoft update? Seriously, update your VC12 install to update 5 and the issue goes away. </p> </description> <category>Ticket</category> </item> </channel> </rss>