Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
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
 
Read Message
Read Message
Read Message
Previous Topic: [BUG] Win32DnD.cpp: tagPOINT has no member named ToString
Next Topic: compiling u++ with VC2008
Goto Forum:
  


Current Time: Sat Aug 23 17:22:22 CEST 2025

Total time taken to generate the page: 0.03178 seconds