[fpc-pascal] Windows unit and SyncObjs unit clash

Graeme Geldenhuys graemeg.lists at gmail.com
Wed Mar 26 12:03:34 CET 2008

On 26/03/2008, Michael Van Canneyt <michael at freepascal.org> wrote:
> Yes, use fully qualified names.
>  windows.tcriticalsection.
>  syncobjs.tcriticalsection.

Why doesn't Delphi compiler complain about it?  A quick search
revealed that Delphi's Windows.pas unit doesn't contain a
TCriticalSection type definition, so why does FPC's Windows.pas unit?
Why must FPC have two TCriticalSection type definitions?

  - Graeme -

fpGUI - a cross-platform Free Pascal GUI toolkit

More information about the fpc-pascal mailing list