[fpc-pascal]Calling intr from Windows

Jonas Maebe jonas at zeus.rug.ac.be
Sun Mar 17 22:13:10 CET 2002

On Sat, 16 Mar 2002, Andreas K. Foerster wrote:

> That would disallow to compile programms even when the unsupported
> function isn't essential.

I don't see how a call to msdos/intr could be 'non essential' (if they
would be, then why are they in te program? :). And even though a program
could run for a while calling dummy mark/release procedures, it would
eventually consume so much RAM the system would become unusable.

> I would vote for that:
> {$Warning function not implemented for this platform}
> This gives a warning, but doesn't nessesarily break compilation.

Putting a warning in a source only shows that warning while compiling the
source (so you'd only see this warning while compiling the Dos unit). And
it's only shown if you've turned warnings on. Calling an unsupported
function is an error imho, not a "possible error" (which is what a
warning indicates)


More information about the fpc-pascal mailing list