Description:
Open a new CLR Console project. In the main cpp file, insert a function, that it looks like this:
Compile in Debug mode. Should compile just fine. Turn of precompiled headers in the options. Compile again. It should bomb with a "fatal error C1001: internal compiler error". Anyone ever encountered this? Is there a hotfix or something available? I've been googling for some time now, but could not find anything related...Code:// fatalconsole.cpp : main project file. #include "stdafx.h" using namespace System; /// NEW FUNCTION: void ErrorOnCompile() { const wchar_t* text = L""; String^ s = gcnew String( text ); } // END NEW FUNCTION int main(array<System::String ^> ^args) { Console::WriteLine(L"Hello World"); return 0; }



LinkBack URL
About LinkBacks



