Another funny error message from Visual Studio .net 2005. I love you Microsoft guys, seriously.

It sure takes lots of talent to write applications that generate such artistically challenging error messages (whatever this sentence might mean… I’m too tired to write two sentences that make sense in a row).

Ok, quit the intro. Here is the core of the 2K long error message:

 

[…]\Microsoft Visual Studio 8\VC\include\xstring(1014) : fatal error C1001: An internal error has occurred in the compiler.
(compiler file ‘msc1.cpp’, line 1392)
To work around this problem, try simplifying or changing the program near the locations listed above.

It seems like I will have to spend some time simplifying the .net C++ compiler source code because the good guys at Microsoft were too busy coding the 5D neural network graphics processor powered eye candies for Vista (wow, that was a long sentence! let’s make it longer with this note!).

I wonder if google will help me find the source code for the compiler…

So, ladies and gentlemen (young and good looking ladies please contact the author of this post), here comes the full error message:

 

C:\Program files\Development\Microsoft Visual Studio 8\VC\include\xstring(1014) : fatal error C1001: An internal error has occurred in the compiler.
(compiler file ‘msc1.cpp’, line 1392)
To work around this problem, try simplifying or changing the program near the locations listed above.
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
C:\Program files\Development\Microsoft Visual Studio 8\VC\include\xstring(1000) : while compiling class template member function ’std::basic_stringgt; &std::basic_stringgt;::assign(const std::basic_stringgt; &,unsigned int,unsigned int)’
with
[
_Elem=char,
_Traits=std::char_traitsgt;,
_Ax=std::_DebugHeapAllocatorgt;
]
C:\Program files\Development\Microsoft Visual Studio 8\VC\include\xdebug(111) : see reference to class template instantiation ’std::basic_stringgt;’ being compiled
with
[
_Elem=char,
_Traits=std::char_traitsgt;,
_Ax=std::_DebugHeapAllocatorgt;
]