Pascal Viandier wrote:
The schema of the cyclic dependencies I face is:
. Module A implementation section imports Module B . Module B implementation section imports Module A and Module C . Module C implementation section imports Module A and Module B (not Module C)
Please note the dependencies are in the implementation sections, not in the interfaces.
Although for each module the interface section is in a separate file included in the appropriate implementation file (i.e. A.pas includes A.h but no other file), I think this is not the cause of the problem. With this, gp says: cyclic interface dependency A.pas -> B.pas -> C.pas and it stops.
Oh yes, it's a bug, thanks for finding.
Here's a patch (yes, it's a quick fix, but this code will change anyway ...). You need flex to rebuild, or get the archive from my web site which includes the flex generated file.
This bug *might* also cause some spurious recompilations, so those who noticed any, you might want to try it as well.
Frank