G
Guest
I'm getting an internal compiler error from Visual C++ .NET 2003 when I'm using managed extensions. Here is the error.
Generating Code...
c:\development\icu\source\common\uhash.c(869) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'f:\vs70builds\3077\vc\Compiler\Utc\src\P2\main.c', line 148)
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
I think the problem is due to the assignment of a returned union to another union. If I change uhash.c line 869 from
result = _uhash_internalRemoveElement(hash, e);
to
_uhash_internalRemoveElement(hash, e);
That specific error goes away, but then I get this error messege.
uhash.obj : fatal error LNK1235: corrupt or invalid COFF symbol table
Here are the steps to reproduce the problem.
1) Download the ICU 3.0 open source project from http://oss.software.ibm.com/icu/download/3.0/index.html
2) unzip ICU
3) Open icu\source\allinone\allinone.sln
4) Change the properties on the common project to use managed extensions
5) Build ICU
Any ideas as to what the problem might be? This code works on many other non-Windows platforms, but it can't be built with managed extensions.
Generating Code...
c:\development\icu\source\common\uhash.c(869) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'f:\vs70builds\3077\vc\Compiler\Utc\src\P2\main.c', line 148)
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
I think the problem is due to the assignment of a returned union to another union. If I change uhash.c line 869 from
result = _uhash_internalRemoveElement(hash, e);
to
_uhash_internalRemoveElement(hash, e);
That specific error goes away, but then I get this error messege.
uhash.obj : fatal error LNK1235: corrupt or invalid COFF symbol table
Here are the steps to reproduce the problem.
1) Download the ICU 3.0 open source project from http://oss.software.ibm.com/icu/download/3.0/index.html
2) unzip ICU
3) Open icu\source\allinone\allinone.sln
4) Change the properties on the common project to use managed extensions
5) Build ICU
Any ideas as to what the problem might be? This code works on many other non-Windows platforms, but it can't be built with managed extensions.