Thread overview
Internal error ph 619
Nov 06, 2007
Nicolay Giraldo
Nov 06, 2007
chris elliott
Nov 09, 2007
Nicolay Giraldo
Nov 18, 2007
Walter Bright
Nov 22, 2007
Nicolay Giraldo
November 06, 2007
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.)
November 06, 2007
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
November 09, 2007
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
# Standard flags for C++
CXXFLAGS = -HP90

...to the configuration file because the samples were not compiling, with an out of memory error.
November 18, 2007
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.
November 22, 2007
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).