Boost logo

Boost :

Subject: [boost] [type_traits] ICE with msvc-12.0
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2016-02-13 12:22:53


I'm getting

boost\type_traits\common_type.hpp(43): fatal error C1001: An internal
error has occurred in the compiler.
  (compiler file 'msc1.cpp', line 1325)
   To work around this problem, try simplifying or changing the program
near the locations listed above.

which makes this toolset basically unusable.

Oddly enough, I don't see this error in the
regression matrix. Does anyone know what's
up with this?

> cl
Microsoft (R) C/C++ Optimizing Compiler Version 17.00.50727.1 for x86
Copyright (C) Microsoft Corporation. All rights reserved.

#include <boost/type_traits/common_type.hpp>

int main() {
    boost::type_traits::common_type<int, char, long>::type x = 0;

> cd libs/type_traits
> git log
commit 1f3a3a1553dc316ed002354dce3ba3f081b2e102
Author: jzmaddock
Date: Wed Jan 13 10:50:22 2016 +0000

    Fixes for older GCC versions, see issue 11904.

> dir boost
02/25/2015 08:26 PM <JUNCTION> type_traits

In Christ,
Steven Watanabe

Boost list run by bdawes at, gregod at, cpdaniel at, john at