Paul Ishenin schreef:
Giuliano Colla wrote:
Paul Ishenin ha scritto:
Giuliano Colla пишет:
Latest svn (r 13667) fails to compile (Linux - fpc 2.0.4).
Unit lcl/ldocktree.pas complains that InflateRect is undefined. Adding LCLIntf to the uses clauses fixes the problem.
InflateRect is defined in types.pas of fpc 2.2.0


That's why I specified that the problem is fpc 2.0.4 specific.
Unless the LCLIntf implementation is broken, adding the uses clause keeps fpc 2.0.4 compatibility. Mattias said that 2.0.4 must be still supported, because 2.2.0 doesn't run (yet) in some platforms.
Since fix is very easy I will not persist too much. Applied in 13668.


Maybe it is better to wrap it in {$IFDEF VER2_0}...{$ENDIF}, so we can find it easier after the 2.2.2 release.

Vincent

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to