Hi,
Attached is a patch for types.pp. It must be applied from the root FPC Source directory.
Changes:
* As suggested by Vinzent Hoefler, regarding my patch supplied on the 25 July. I removed the SIZE = TSize declaration from types.pp. I searched all of the FPC Src for any references to SIZE. All I could find was local Size variables or types, all declared in the units it was needed, never using the one declared in the types.pp unit. If I missed on, it can just be change to TSize. I recompiled the whole FPC Source and compiled Lazarus and a few of my apps and they all seem to be happy with SIZE being gone.
* Added two new Size() functions that work the same as Rect(), Bounds() or Point().
function Size(AWidth, AHeight: Integer): TSize;
function Size(ARect: TRect): TSize;