Prof. A Olowofoyeku (The African Chief) wrote:
The asmnames for many routines in the GPC unit have changed (primarily a change of case). This (because asmnames are case-sensitive) breaks existing units (e.g., Sysutils) that rely on asmnames to work around the absence of qualified identifiers.
Are these case changes likely to be continuous, or are you finished with the changes now? Thanks.
Finished for now (the immediate reason was to let a built-in routine `FooBar' get an asmname `_p_FooBar' which simplifies some things in the compiler), but in the future further changes will likely occur, at least when "asmname mangling" is introduced.
As the note in the GPC unit says:
: This unit contains Pascal declarations of many RTS routines which : are not built into the compiler and can be called from programs. : Don't copy the declarations from this unit into your programs, but : rather include this unit with a `uses' statement. The reason is : that the internal declarations, e.g. the `asmnames', may change, : and this unit will be changed accordingly.
If you just need some declarations from the GPC unit in your units, you might achieve it via `only' imports (see my other mail), possibly with import renaming to avoid name conflicts:
import GPC only (FileMode => GPC_FileMode);
If you also need to re-export some of those declarations, I'll have to think further ...
Frank