#11924 closed Bugs (duplicate)
MSVC 12: boost\type_traits\common_type.hpp(42): fatal error C1001:
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | Component: | type_traits | |
Version: | Boost 1.60.0 | Severity: | Problem |
Keywords: | variadic template, template aliases, MSVC 12 | Cc: |
Description
Boost 1.60 with Visual 2013 results in a compiler error :
boost\type_traits\common_type.hpp(42): fatal error C1001: An internal error has occurred in the compiler.
It happens with Template Aliases and Variadic Templates.
Visual 2013 version is 18.00.21005.1 (and we cannot update it cause of our clients), we have to add in boost/config/user.hpp the following line :
#if defined _MSC_VER # if _MSC_FULL_VER < 180021006 # define DTK_BOOST_NO_CXX11_TEMPLATE_ALIASES # endif #endif
Attachments (2)
Change History (4)
comment:1 by , 7 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:2 by , 7 years ago
Unfortunately we cannot apply the latest patch for this version, since some of our clients are stuck with this version, it means us too.
However we found a workaround like I said earlier in the ticket. Thanks though.
by , 6 years ago
by , 6 years ago
Attachment: | user.2.hpp added |
---|
Note:
See TracTickets
for help on using tickets.
This duplicates: https://svn.boost.org/trac/boost/ticket/11885
I realise you're stuck with VC12, but can you not use the latest patch release to that toolset, as everything works fine with version 18.00.31101 ?