The compiler already gives unit information in case you have
conflicting types for making it easier to debug such problems. I
don't see why it shouldn't do the same for used function definitions.
Jonas
program A; // Bad program
uses sysutils,windows;
const B:shortstring='1.txt';
begin
On 30 mei 2006, at 12:10, Пётр Косаревский wrote:
The compiler already gives unit information in case you have
conflicting types for making it easier to debug such problems. I
don't see why it shouldn't do the same for used function definitions.
This is fpc-pascal maillist, I don't insist,
The problem is that Apple's universal interfaces also include a
round function, which returns a real instead of an integral type.
How can one find such a thing himself without trialerror?
Some time ago I had a similar problem with bool DeleteFile(PChar) function in
Windows API and