Thread overview
Xerces 3.1.1
Jul 27, 2011
Daryl
Aug 30, 2011
Jan Knepper
Jun 25, 2012
Daryl
July 27, 2011
I would like to know how to debug the following internal dmc compiler error:

nbytes = 65664, ph_maxsize = 65520
Internal error: ph 1854

I am attempting to build Xerces C/C++ 3.1.1 with the Digital Mars 8.52 compiler.  There have been a few instances where classes were not correctly "seen" in the hierarchy.  I have been modifying a few Xerces source files for this and happily moving forward until this internal error.  I had read a mention on the Internet that the ph might refer to precompiled headers, however, Xerces is not using them and the dmc option -H- did not make a difference.

Thanks in advance for anyone's time and suggestions!
August 30, 2011
I think you would have to use the command line switch to allow of a larger "Precompiled Header" file.



On 07/27/2011 04:08 PM, Daryl wrote:
> I would like to know how to debug the following internal dmc compiler error:
>
> nbytes = 65664, ph_maxsize = 65520
> Internal error: ph 1854
>
> I am attempting to build Xerces C/C++ 3.1.1 with the Digital Mars 8.52
> compiler.  There have been a few instances where classes were not correctly
> "seen" in the hierarchy.  I have been modifying a few Xerces source files for
> this and happily moving forward until this internal error.  I had read a
> mention on the Internet that the ph might refer to precompiled headers,
> however, Xerces is not using them and the dmc option -H- did not make a
> difference.
>
> Thanks in advance for anyone's time and suggestions!

June 25, 2012
Hello Jan!

I checked this post for a couple weeks then gave up when I saw no responses.  I recently decided to play with the Digital Mars compiler one more time and found your response.  I did try -HPnn (if that is what you were referring to) but it made no difference with regards to the error or the error details.  Unfortunately I do not have the compiler source to investigate this myself.

Thank you for your time though!
-- Daryl