Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Microsoft Compiler Internal Error
|
Re: Microsoft Compiler Internal Error [message #25491 is a reply to message #25480] |
Thu, 25 February 2010 19:10 |
|
mirek
Messages: 13975 Registered: November 2005
|
Ultimate Member |
|
|
frankdeprins wrote on Thu, 25 February 2010 06:22 | 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).
|
Yes, I am very aware about the issue for years. However, it only happens if you use BLITZ with Optimal release mode. As Blitz is mostly reserved for debug mode, there is little incentive to fix correct code to workaround compiler bug that is not causing any real problems....
Mirek
|
|
|
Re: Microsoft Compiler Internal Error [message #25492 is a reply to message #25491] |
Thu, 25 February 2010 19:58 |
frankdeprins
Messages: 99 Registered: September 2008 Location: Antwerp - Belgium
|
Member |
|
|
Thanks, I was not aware that leaving out Blitz solves it as well. But you are right indeed. Frankly, I have not yet looked at this Bliz stuff, what it is, what it does... That will be my next quest in my getting to know this wonderfull environment.
You guys really made something amazing.
frank
|
|
|
Goto Forum:
Current Time: Tue Apr 23 16:46:37 CEST 2024
Total time taken to generate the page: 0.03591 seconds
|