frankdeprins Messages: 99 Registered: September 2008 Location: Antwerp - Belgium
Member
At some point in the U++ code, there is a code line that often (depends on build settings) raises an Internal Compiler Error for Microsoft compilers from Visual Studio/C++ 2003/2005 and 2008. This is a known problem at Microsoft an several people have reported it, not only in U++ sources. For me, it has the consequence that I cannot build theIDE.exe with MS compilers in release mode (Debug mode and any mode of Mingw works fine, but the exe is much larger and I prefer MS builds).
The solution/workaround, suggested by Microsoft, is to locally switch off code optimization.
The code where this happens in U++ is at line 54 of 'uppsrc/RichText/TextOp.cpp' and I already tried this suggestion out and attached the modified source. It 'fixes' the ICE indeed and I was wondering if you could make this change to your sources.
Thanks in advance.
PS: The ICE seems to have been fixed in Visual Studio/C++ 10 (it was still present in the beta's).