[fpc-pascal] FPC_HAS_FEATURE_TEXTIO - Strange behaviour!

Marco van de Voort marcov at stack.nl
Wed Aug 13 20:28:32 CEST 2008

In our previous episode, SirStorm25 said:
> Im trying to develop reading capabilities for an OS im helping to develop.
> When enabling the FPC_HAS_FEATURE_TEXTIO from the RTL, I get a few errors
> involving
> the file: Text.inc.
> All of the errors returned are mainly "do_" functions.
> E.g:
> do_read
> do_write
> do_close
> do_erase
> dp_rename
> etc...
> any ideas on stopping this?

Implement them. You enabled the generic part of textio with that define, so
the missing functions are the OS dependant primitives you need to implement
for your OS.

Look at the other implementations (e.g. Dos or linux) to get a clue about
what they are supposed to do.

More information about the fpc-pascal mailing list