Am 21.02.2011 08:54, schrieb Graeme Geldenhuys: > Op 2011-02-21 09:50, Graeme Geldenhuys het geskryf: >> Op 2011-02-21 09:41, Mattias Gaertner het geskryf: >>> >>> You can't create circular dependencies with only interface >>> dependencies. Only implementation uses section allow this. >> >> Really? See attached project. Took me all of 30 seconds to create such >> an example for you. Only Interface uses sections are used. > > And just to be clear...by that I mean, to get the "circular unit > reference error" in FPC. So simply using Interfaces uses section only > doesn't resolve such an issue.
Of course it does: a similiar project using the units only in the implementation part compiles. -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus