[fpc-pascal] units order (was using oldlinux )

Alain Vitry alain.vitry at gmail.com
Tue Jun 14 09:52:20 CEST 2005


Le 14 juin 05, à 09:46, Michael Van Canneyt a écrit :

>
> You must switch the order of the units, because you get the 'oldlinux' 
> types which
> you try to use in 'baseunix' functions.
>
>
This unit order trick is a bit of a wizardery to me. It quickly get 
very messy in a large enough program to swap units order until you get 
the one which doesn't break.
In the sw I'm porting, almost every single UPI type is re-defined in 
many units, which makes FPC complain about types.
Am I missing some switches or some pascal features, with my kernel 
hacker mind ?

Regards,
Alain





More information about the fpc-pascal mailing list