[fpc-pascal]Calling intr from Windows
James_Wilson at i2.com
James_Wilson at i2.com
Mon Mar 18 15:29:55 CET 2002
> I agree, but I also think we shouldn't have any function in the RTL that
> can silently fail. Either we remove the intr and msdos procedures from
the
> interface of all Dos.pp units (except of that for the go32v2 target), or
> we put a call to runerror in them (with a unique value that gets added
to
> the docs with the description "unsupported function on the current
> platform").
> Striving to a common interface for all platforms is a nice goal, but if
it
> can't be done, you should not silently fail imho, since that kind of
bugs
> are the hardest to track. The same can be said for mark/release, which
> also do nothing currently.
I concur as well. When I was using FPC for the first time I got caught by
intr when trying to compile win32 apps. An outright failure to compile
might not be necessary, but certainly a warning should be issued.
Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20020318/011848ca/attachment.html>
More information about the fpc-pascal
mailing list