This forum has been archived. All content is frozen. Please use KDE Discuss instead.

MSVC 2013 Internal Compiler Error

Tags: None
(comma "," separated)
Evgeny Panasyuk
Registered Member
Posts
2
Karma
0

MSVC 2013 Internal Compiler Error

Wed Apr 09, 2014 2:19 pm
Following code compiles OK on MSVC2005, 2008, 2010, 2012 - but on MSVC2013 compiler crashes with Internal Compiler Error (in both, release and debug modes):
Code: Select all
#include <Eigen/Core>
using namespace Eigen;

template<typename T>
Matrix<double, sizeof(T), 1> *test(T);

int main()
{
    test(Vector3d());
}

2>..\main.cpp(9): fatal error C1001: An internal error has occurred in the compiler.
2> (compiler file 'msc1.cpp', line 1325)

I have reported to https://connect.microsoft.com/VisualStudio/feedback/details/849538/msvc-2013-internal-compiler-error-on-eigen-library

Following report http://connect.microsoft.com/VisualStudio/feedback/details/813571/vs2013-compiler-crash-with-eigen-and-template-functions looks similar, but I do not see it's test code, and for some reason it is closed as "Won't Fix"
Evgeny Panasyuk
Registered Member
Posts
2
Karma
0
Fixed with Update 2 (Tools -> Extensions and Updates -> Updates -> Product Updates).
http://support.microsoft.com/kb/2927432


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]