Re: INTERNAL COMPILER ERROR ???

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Almon B. Strowger (strowger_at_NOSPAM.kook.com)
Date: 07/24/04


Date: Sat, 24 Jul 2004 15:12:21 -0700


Yeah,

This is one of those cases where I'd actually
first blame the environment...Usually if you
exit the IDE or rebuild all or maybe do it a
few times, it seems to eventually make those
problems go away. One thing that I've found
that seems to reduce the occurrence of this
type of problem is to not open any project
resources before building.
I suspect that if you have some large resources
in your project, it reduces the "resources"
available to the compiler.

Hope this helps...

Almon B. Strowger
KOOK Pocket Software

<r_z_aret@pen_fact.com> wrote in message
news:t5gof0t1gkjin31o9mn0q8abkgjj7rrtet@4ax.com...
> On Mon, 19 Jul 2004 11:25:44 +0200, Olivier
> <olivier.vigliengo@tma.no_spam.fr> wrote:
>
> >When I build my project in "Win32 (ARMV4I) Debug" mode, all is correct.
> >But if I want to build it in "Win32 (ARMV4I) Release" mode, I obtain
> >this message :
> >
> >c:\clients\tma\usc_sp.c(1809) : fatal error C1001: INTERNAL COMPILER
ERROR
> > (compiler file 'D:\vcmckendric\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
> >Error executing clarm.exe.
> >
> >
> >My target is a PXA255 under Windows CE .net (4.2) and I develop my
> >application with eVC 4.0 sp3...
> >
> >Does someone know a solution for this problem ?
>
> Not offhand. I get this error message every so often, and have found
> work arounds, but no real (i.e. understandable) solution. The error
> message does point to a specific line in your source code. You need to
> look very hard at that line and its neighbors. Try commenting out some
> of them to see which trigger the error message.
>
> I suspect the real problem is that our code (mine is definitely
> included) exceeds some resource limit for the compiler.
>
> My latest "episode" occurred just last week. To add to the puzzle, it
> affected only the Pocket PC MIPS build. I ship only 4 executables, but
> routinely build for many platforms ("big" windows plus all CPUs
> supported by 13 SDKs - from HPC through Smartphone 2003) - partly to
> let multiple compilers find bugs in my code, and partly to avoid nasty
> surprises in case I ever need to support some of these platforms.
>
> So now my code contains the following:
>
> if (!m_bShowAux)
> #if 0
> showCount( m_clsCountST, m_clsHeaders.GetCount(), 0 );
> #else
> // 14 Jul 04 (5.2.0.36)
> // TODO: Why does compiler have problems
> // [error CBE6051: Internal Compiler Error (0xc0000005)]
> // when these braces are omitted, but not when braces around
> // showCount a few lines up are omitted?
> {
> showCount( m_clsCountST, m_clsHeaders.GetCount(), 0 );
> }
> #endif
>
> (showCount updates a progress meter, so having nearly identical code a
> few lines up _does_ make sense (well, at least to me).
>
>
> -----------------------------------------
> To reply to me, remove the underscores (_) from my email address (and
please indicate which newsgroup and message).
>
> Robert E. Zaret, eMVP
> PenFact, Inc.
> 500 Harrison Ave., Suite 3R
> Boston, MA 02118
> www.penfact.com



Relevant Pages

  • Re: Error a: _mayn.c:12 illegal return type, found int expected void
    ... > a given compiler writer allows or forbids is ... The error message I recieved was in plain english ... >Do you, Jacob, perhaps have a belief that all C programers ... the purpose of lint is to provide error messages. ...
    (comp.compilers.lcc)
  • understanding segmentation faults
    ... Is "segmentation fault" an error message that is issued by the operating ... not a problem that the compiler vendors can easily solve. ... technical terminology an "array section"?). ...
    (comp.lang.fortran)
  • Re: xPC target w/ Matlab 2009a - unable to build model
    ... The error message makes me believe that there is some compiler environment/path issue on the PC you are working on. ... When you do a mex -setup are you able to see the Watcom 1.7 compiler? ... Setting environment for using Microsoft Visual Studio 2008 ...
    (comp.soft-sys.matlab)
  • Re: Why leave the error handling to the caller?
    ... does terminate with an error message on fail. ... Library routines have no business deciding to terminate ... That's rubbish because the above situation is on a modern medium to high spec notebook. ... On my previous company notebook which was high spec at the time I would also run out of resources. ...
    (comp.lang.c)
  • Re: operator function
    ... >> of them have anything to do with what the error message seems ... Setting (int h, int m, int s, int TT) ... Now the compiler knows, that it is safe to use that function on a const ... >> operator returns a Setting object. ...
    (alt.comp.lang.learn.c-cpp)