Just as I thought that Graphics32 won't be easy to compile.
Hint: Start of reading config file H:\fpc\bin\i386-win32\fpc.cfg
Hint: End of reading config file H:\fpc\bin\i386-win32\fpc.cfg
Free Pascal Compiler version 2.2.0 [2007/10/04] for i386
Copyright (c) 1993-2007 by Florian Klaempfl
Target OS: Win32 for i386
Compiling GR32_L.pas
Compiling D:\GR32\GR32.pas
D:\GR32\GR32.pas(165,16) Hint: Type "PByteArray" redefinition
D:\GR32\GR32.pas(166,16) Hint: Type "TByteArray" redefinition
D:\GR32\GR32.pas(170,16) Hint: Type "PWordArray" redefinition
D:\GR32\GR32.pas(171,16) Hint: Type "TWordArray" redefinition
D:\GR32\GR32.pas(175,19) Hint: Type "PIntegerArray" redefinition
D:\GR32\GR32.pas(176,19) Hint: Type "TIntegerArray" redefinition
D:\GR32\GR32.pas(204,12) Hint: Type "PPoint" redefinition
D:\GR32\GR32.pas(1135,26) Hint: use DIV instead to get an integer result
D:\GR32\GR32.pas(1136,28) Hint: use DIV instead to get an integer result
D:\GR32\GR32.pas(1137,27) Hint: use DIV instead to get an integer result
D:\GR32\GR32.pas(1660,43) Hint: use DIV instead to get an integer result
D:\GR32\GR32.pas(1746,29) Error: Illegal type conversion: "<record type>" to "DWord"
D:\GR32\GR32.pas(1755,37) Error: Illegal type conversion: "<record type>" to "DWord"
D:\GR32\GR32.pas(1766,36) Error: Illegal type conversion: "<record type>" to "DWord"
D:\GR32\GR32.pas(1775,36) Error: Illegal type conversion: "<record type>" to "DWord"
D:\GR32\GR32.pas(3444,18) Hint: use DIV instead to get an integer result
D:\GR32\GR32.pas(3513,20) Hint: use DIV instead to get an integer result
D:\GR32\GR32.pas(3555,22) Hint: use DIV instead to get an integer result
D:\GR32\GR32.pas(3556,22) Hint: use DIV instead to get an integer result
D:\GR32\GR32.pas(3602,45) Hint: use DIV instead to get an integer result
D:\GR32\GR32.pas(3602,64) Hint: use DIV instead to get an integer result
D:\GR32\GR32.pas(3620,45) Hint: use DIV instead to get an integer result
D:\GR32\GR32.pas(3620,64) Hint: use DIV instead to get an integer result
D:\GR32\GR32.pas(3632,22) Hint: use DIV instead to get an integer result
D:\GR32\GR32.pas(3632,53) Hint: use DIV instead to get an integer result
D:\GR32\GR32.pas(3650,45) Hint: use DIV instead to get an integer result
D:\GR32\GR32.pas(3650,64) Hint: use DIV instead to get an integer result
D:\GR32\GR32.pas(4369,28) Hint: Local variable "w" does not seem to be initialized
D:\GR32\GR32.pas(4370,28) Hint: Local variable "h" does not seem to be initialized
D:\GR32\GR32.pas(4572,5) Hint: Local variable "Buffer" does not seem to be initialized
D:\GR32\GR32.pas(5453,8) Warning: Symbol "Handle" is deprecated
D:\GR32\GR32.pas(5710,43) Hint: Local variable "Height" does not seem to be initialized
D:\GR32\GR32.pas(5710,43) Hint: Local variable "Width" does not seem to be initialized
D:\GR32\GR32.pas(5872) Fatal: There were 4 errors compiling module, stopping
The errors seem logical since TCriticalSection is defined as PtrUInt, while
Flock is of type TRTLCriticalSection, which is a record. Any solution to this?