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 -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html GPC download signing key: 51FF C1F0 1A77 C6C2 4482 4DDC 117A 9773 7F88 1707