Re: [fpc-devel] Circular references or Forward Declarations

2009-08-14 Thread Martin
Graeme Geldenhuys wrote: Lance posted this in the Lazarus mailing list, and I think it is more appropriate here... Lance Collins wrote: >> How can you avoid circular references with two modules that >> interact with each other? Basically it should be possible with a minor language change and n

Re: [fpc-devel] Circular references or Forward Declarations

2009-08-14 Thread Jonas Maebe
On 14 Aug 2009, at 08:43, Graeme Geldenhuys wrote: I can't agree more. Sometimes there is a valid design for something like that. The compilers already handle forward declarations in the same unit, Actually, only in the same "type" block. so why can that not be applied for multiple units

[fpc-devel] Circular references or Forward Declarations

2009-08-14 Thread Graeme Geldenhuys
Lance posted this in the Lazarus mailing list, and I think it is more appropriate here... Lance Collins wrote: > >> How can you avoid circular references with two modules that >> interact with each other? > Basically it should be possible with a minor language change and not too much effort fr