BullseyeCoverage Up Contents Search

Microsoft C++ Error C1001

SYMPTOMS

The error below occurs with Visual Studio 2017.

source(line): fatal error C1001: An internal error has occurred in the compiler.
(compiler file 'f:\dd\vctools\compiler\cxxfe\sl\p1\c\constexpr.cpp', line line)

CAUSE

The error is caused by a bug in the Microsoft C++ compiler.

RESOLUTION

Install the latest release of Visual Studio 2017.

MORE INFORMATION

The problem was introduced in compiler version 19.11 (Visual Studio 2017 15.0) and was fixed in 19.13.26209 (Visual Studio 2017 15.7).

Updated: 7 Jun 2018