Full pathnames for units

Prof A Olowofoyeku (The African Chief) chiefsoft at bigfoot.com
Tue Feb 6 10:56:52 CET 2007


Hi

(this is probably FAO Frank/Waldek)

When building a program and there is an error in one of the units used by 
the program, gpc gives an error in this format:

"timing.pas: In function `GetTimingCounter':
timing.pas:123: error: function call used as a statement
timing.pas: In main program:
timing.pas:160: error: function call used as a statement
gpc1.exe: gpc exited with status 1"

Would it be possible to provide the full path name to the source file in 
which the error occurred? - e.g.,
"/pas/units/timing.pas: In function `GetTimingCounter':
/pas/units/timing.pas:123: error: function call used as a statement
/pas/units/timing.pas: In main program:
/pas/units/timing.pas:160: error: function call used as a statement
gpc1.exe: gpc exited with status 1"

This would be very helpful for those developing IDEs (e.g., me) so that 
the source file can be opened into the IDE, and the cursor placed on the 
first line containing the error.

If this is possible, a patch would be fine at this point.

Thanks.

Best regards, The Chief
--------
Prof. Abimbola A. Olowofoyeku (The African Chief) 
web:  http://www.greatchief.plus.com/






More information about the Gpc mailing list