Questions tagged [c1001]

C1001 is an internal error in the Visual C++ compiler.

fatal error C1001: An internal error has occurred in the compiler.

Visual C++ error C1001 indicates that the compiler has encountered an internal error. This means that the compiler was somehow unable to correctly handle a particular piece of code. Such errors may be resolvable by disabling optimization, but if your computer hardware is functioning normally (no memory errors, etc.), this is a bug in the compiler, which Visual Studio will (by default) attempt to report to Microsoft.

19 questions
0
votes
4 answers

VC6 and template error

I am overloading operator << to implement a stream like interface for a class: template CAudit& operator << ( const T& data ) { audittext << data; return *this; } CAudit& operator << ( LPCSTR data ) { audittext << data; …
Patrick
  • 8,175
  • 7
  • 56
  • 72
-1
votes
2 answers

freopen and cout creating internal error

I'm trying to read and write some files, but i get "ERROR C1001, internal error happened in compiler" every time i try to std::cout something to my output.out file. Why ? (i used _CRT_SECURE_NO_WARNINGS in preprocesssor definition to be able to use…
NanBlanc
  • 127
  • 1
  • 12
-1
votes
1 answer

Conversion from char * to System::String gives compiler internal error

I have a string as char *. I need to convert to System::String. After trying various things, I get compiler internal error! Original code: char * fileName = "D:\\path1\\path2\\myFile.log"; Console::WriteLine(fileName); 1 First it gives a warning…
-2
votes
1 answer

How to fix the error 1001 when i build the CAGL demo with boost?

I meet this error when i try to build the CAGL demo. error C1001 INTERNAL COMPILER ERROR I:\ThirdPartLIB\boost_1_61_0\boost\type_traits\common_type.hpp 43 1 AABB_demo find the code is a part of Boost 1.61.0 namespace…
ADdinn
  • 3
  • 3
1
2