[Boost-bugs] [Boost C++ Libraries] #11885: MSVC 12: compiler error in boost/type_traits/common_type.hpp(42)

Subject: [Boost-bugs] [Boost C++ Libraries] #11885: MSVC 12: compiler error in boost/type_traits/common_type.hpp(42)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-01-04 16:54:35


#11885: MSVC 12: compiler error in boost/type_traits/common_type.hpp(42)
------------------------------+-------------------------
 Reporter: sk.aquileia@… | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: type_traits
  Version: Boost 1.60.0 | Severity: Problem
 Keywords: |
------------------------------+-------------------------
 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.

 Command line:
 {{{
 .\b2 --with-thread --toolset=msvc-12.0
 }}}
 error:
 {{{
 .\boost/type_traits/common_type.hpp(42) : fatal error C1001: Interner
 Compilerfehler.
 (Compilerdatei 'msc1.cpp', Zeile 1325)
 }}}

 This regression was likely introduced in commit '''Make common_type
 SFINAE-friendly, add tests'''[[BR]]
 [https://github.com/boostorg/type_traits/commit/9fd4ee06b2]

 [[BR]][[BR]]


 full error message for one of the files:
 {{{
 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" >
 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...
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11885>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:19 UTC