B.Gayathri wrote:
I have an application running in HP pascal in MPE/iX platform. Now I port the same application in HP-UX and compiled. Many files got compiled, but one file is giving the following compilation error.
FILE: /BRW/brwsrc/sub/rcchecki 281 420.000 1 $INCLUDE 'sub/rcchecki' $ ^ **** ERROR # 1 $INCLUDE NOT ALLOWED HERE WHEN SYMBOLIC DEBUG IS ENABLED (294)
I dont know what the error is, but I found the cause given in HP pascal manual which is as follows: $INCLUDE of a file in executable code must be on a Pascal statement boundary if symbolic debug is enabled.
I dont understand what it is, so I request you to give the solution to correct this error.
That seems to be a HP Pascal specific extension which I don't know myself.
GPC supports including in the following way:
{$i filename}
or:
{$include "filename"}
All of them are non-standard (one is Borland Pascal compatible).
I suppose you want to compile with GPC since you're asking here. (The error message above is not from GPC, though.)
Frank