www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript
electronics



c++ - Internal error ph 619

↑ ↓ ← 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
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.)

and what file were you compiling when the error ocurred thanks chris
Nov 06 2007
↑ ↓ → 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
# Standard flags for C++
CXXFLAGS = -HP90

...to the configuration file because the samples were not compiling, with an
out of memory error.
Nov 08 2007
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
↑ ↓ → 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