Felipe Monteiro de Carvalho wrote:
On 4/9/07, Mattias Gaertner <[EMAIL PROTECTED]> wrote:
That's what I meant. fpGui is creating a unit circle with StyleManager.
And even worse: it uses inlines.
Break the circles and the error will vanish.

Can you elaborate some more? What do you mean by inlines?

My current guess is that you mean that fpgui has a big unit circle, like this:

unit a references unit b on interface
unit b references unit c on interface
unit c references unit a on interface

This is invalid, it is impossible to compile object pascal code if exist circular reference call when all involved units are declared in the interface section.

Using several units inside circular reference in the implementation section only means more memory usage to compile such units.

--
Joao Morais

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

Reply via email to