On Tue, 25 Feb 2014 13:22:41 +0200
patspiper <[email protected]> wrote:

>[...]
> LCLIntf's (winapi.h) EnterCriticalsection(TCriticalSection) always takes 
> precedence in compilation although codetools show it defined in 
> threadh.inc: EnterCriticalsection(TRTLCriticalSection).

The compiler is very strict and requires the "overload" keyword for
multiple functions with the same name in various units.
Codetools allows to see all overloads, no matter if the "overload"
keyword is missing. It depends on the context if this is a feature or a
bug.


Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to