J. David Bryan wrote:
Using:
gpc version 20030507, based on gcc-3.2.3 (mingw special 20030504-1)
configured as "i486-pc-mingw32" and running under Windows NT 4.0, the "widget_module" example from section 6.4.2.5 of the EP manual fails to compile, as follows:
D:\test>gpc --extended-pascal -c widget.pas widget.pas:37: result types in forward declared functions are an extension widget.pas:37: of UCSD Pascal, Borland Pascal, traditional Macintosh widget.pas:37: Pascal
That's funny. I just found and fixed this bug myself two hours ago (-: so you won't find it fixed in any release).
I can't promise that this patch will apply for you since (as usual) I've made other changes meanwhile, but you can try it.
Frank