Microsoft bug?
-
I have a C# dll and inside MC++ I tried to use it! #using "mydell.dll" I get this error: fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2844) Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information
-
I have a C# dll and inside MC++ I tried to use it! #using "mydell.dll" I get this error: fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2844) Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information
Confirmed is a bug!!! NOW WHAT? Not work around? I am so mad!!! BUG: "C1001 Internal Compiler" Error Message When You Compile Code with Typename Identifier -------------------------------------------------------------------------------- The information in this article applies to: Microsoft Visual C++ .NET (2002) -------------------------------------------------------------------------------- SYMPTOMS When you attempt to compile the sample code fragment from the "More Information" section of this article, you receive the following compiler error message: t.cpp(16) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2844) CAUSE This behavior occurs if a template class contains a derived member method as a typename identifier. The compiler error message occurs only when you compile the code in a Managed C++ project. You do not receive this error message when you use a native code compiler. STATUS Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATION Steps to Reproduce the Problem Create a new Managed C++ application, and then replace the default code with the following: #include "stdafx.h" class A { public: void FA(); int i; }; class B : public A { public: virtual void FB(); int k; }; template class CLockFunc0 { public: CLockFunc0() : m_pF(pF) {} ~CLockFunc0() {} private: F m_pF; }; CLockFunc0 t1; Compile the program. You receive the error message described in the "Symptoms" section of this article. -------------------------------------------------------------------------------- :mad: :mad:
-
Confirmed is a bug!!! NOW WHAT? Not work around? I am so mad!!! BUG: "C1001 Internal Compiler" Error Message When You Compile Code with Typename Identifier -------------------------------------------------------------------------------- The information in this article applies to: Microsoft Visual C++ .NET (2002) -------------------------------------------------------------------------------- SYMPTOMS When you attempt to compile the sample code fragment from the "More Information" section of this article, you receive the following compiler error message: t.cpp(16) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2844) CAUSE This behavior occurs if a template class contains a derived member method as a typename identifier. The compiler error message occurs only when you compile the code in a Managed C++ project. You do not receive this error message when you use a native code compiler. STATUS Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATION Steps to Reproduce the Problem Create a new Managed C++ application, and then replace the default code with the following: #include "stdafx.h" class A { public: void FA(); int i; }; class B : public A { public: virtual void FB(); int k; }; template class CLockFunc0 { public: CLockFunc0() : m_pF(pF) {} ~CLockFunc0() {} private: F m_pF; }; CLockFunc0 t1; Compile the program. You receive the error message described in the "Symptoms" section of this article. -------------------------------------------------------------------------------- :mad: :mad:
After many hours I found the part of my code the crashes the compiler!
-
After many hours I found the part of my code the crashes the compiler!
Give us the details Albert :-)
Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.
-
Give us the details Albert :-)
Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.
I have received an email from MS letting me know its fixed in the next version of the compiler!
-
I have received an email from MS letting me know its fixed in the next version of the compiler!
Albert Pascual wrote: have received an email from MS letting me know its fixed in the next version of the compiler! That's cool! I didnt think MS would this responsive :-) Nish
Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.