[lazarus] Copmpiler dependency bug ??

Marc Weustink weus at quicknet.nl
Sat Apr 8 12:43:18 EDT 2000


Hi,
While addapting the makefiles I ran into the following problem:

In the interface unit A uses B
In the interface unit B uses C
In the implementation unit C uses A

When you compile A, unit B and C are created as well. If you compile A 
again unit B is recompiled, since the checksum for C is changed.
This is IMO not correct, nothing is changed.

Marc

---------------------------------------------------------
unit A;

interface

uses
   b;

procedure AA;

implementation

procedure AA;
begin
end;

end.
---------------------------------------------------------
unit B;

interface
uses
   c;

procedure BB;

implementation

procedure BB;
begin
end;

end.
---------------------------------------------------------
unit C;

interface

procedure CC;

implementation
uses
   a;

procedure CC;
begin
end;

end.
---------------------------------------------------------






More information about the Lazarus mailing list