www.digitalmars.com         C & C++   DMDScript  

c++ - Internal error ph 619

reply Nicolay Giraldo <Nicolay.G gmail.com> writes:
What does this error means?
Can it be fixed?

I happens to me in WinXP compiling wxWidgets in the WX_2_8_BRANCH in the
revision 49563, but only if I add
-HP90 to the CPP flags.

If I take the -HP90 flag away the error stops and the compilation is succesful.

(Sorry I don't know any other way to reproduce the error.)
Nov 06 2007
next sibling parent reply chris elliott <biol75 york.ac.uk> writes:
Nicolay Giraldo wrote:
 What does this error means?
 Can it be fixed?
 
 I happens to me in WinXP compiling wxWidgets in the WX_2_8_BRANCH in the
revision 49563, but only if I add
 -HP90 to the CPP flags.
 
 If I take the -HP90 flag away the error stops and the compilation is succesful.
 
 (Sorry I don't know any other way to reproduce the error.)
Can you give some more details; which version were you using of d mars, and what file were you compiling when the error ocurred thanks chris
Nov 06 2007
parent Nicolay Giraldo <Nicolay.G gmail.com> writes:
scppn gives:
Digital Mars C/C++ Compiler Version 8.50.4n
Copyright (C) Digital Mars 2000-2006.  All Rights Reserved.
Written by Walter Bright
www.digitalmars.com


And the compilation dies on:
dmc -mn -c -cpp -odmc_mswd\baselib_dummy.obj -g -o+none    
-D_WIN32_WINNT=0x0400 -D__WXMSW__  -D__WXDEBUG__       -
I..\..\lib\dmc_lib\mswd -I..\..\include -w- -I..\..\src\tiff -I..\..\src\jpeg
-I..\..\src\png -I..\..\src\zlib  -
I..\..\src\regex -I..\..\src\expat\lib -DwxUSE_GUI=0 -DwxUSE_BASE=1  -Ar -Ae -H
-HP99 -HO- -HHdmc_mswd
\pch_wxprec_baselib.sym  -HP90 ..\..\src\common\dummy.cpp
Internal error: ph 619
--- errorlevel 1



I added

CXXFLAGS = -HP90

...to the configuration file because the samples were not compiling, with an
out of memory error.
Nov 08 2007
prev sibling parent reply Walter Bright <newshound1 digitalmars.com> writes:
Nicolay Giraldo wrote:
 What does this error means? Can it be fixed?
 
 I happens to me in WinXP compiling wxWidgets in the WX_2_8_BRANCH in
 the revision 49563, but only if I add -HP90 to the CPP flags.
 
 If I take the -HP90 flag away the error stops and the compilation is
 succesful.
 
 (Sorry I don't know any other way to reproduce the error.)
It means there is a potential overflow/wraparound issue in the way the compiler manages memory mapped file I/O. I suggest if it works without -HP90, then don't use it.
Nov 18 2007
parent Nicolay Giraldo <Nicolay.G gmail.com> writes:
I changed another thing.

I set USE_EXCEPTIONS = 0
it was 1 previously.

Now everything compiles and runs correctly, even the Unicode builds, those
weren't working with exceptions enabled, no
matter what the -HP flag was. I had to add the -HP flag to be able to compile
samples, and take it away to compile the
library. Now that's no longer necessary.

Everything is nice and good. I will not enable exceptions again (I don't use
them anyway).
Nov 21 2007