Changeset 74 for trunk/Compiler/Modules


Ignore:
Timestamp:
Jan 18, 2018, 11:54:13 PM (7 years ago)
Author:
chronos
Message:
  • Fixed: Build under Lazarus 1.8.0.
Location:
trunk/Compiler/Modules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Compiler/Modules/GCC/UModuleGCC.pas

    r73 r74  
    66
    77uses
    8   Classes, SysUtils, UModularSystem, UProducerGCC, UTargetGCC;
     8  Classes, SysUtils, UModularSystem, UProducerGCC, UTargetGCC, UCompilerAPI;
    99
    1010type
     
    4343begin
    4444  Target := TTargetGCC.Create;
     45  with TCompilerAPI(API) do begin
     46    RegisterTarget(TTargetGCC);
     47  end;
    4548  inherited;
    4649end;
     
    4851procedure TModuleGCC.DoUninstall;
    4952begin
     53  with TCompilerAPI(API) do begin
     54    UnregisterTarget(TTargetGCC);
     55  end;
    5056  inherited;
    5157end;
  • trunk/Compiler/Modules/Pascal/UAnalyzerPascal.pas

    r72 r74  
    14711471{ TParserUsedModuleList }
    14721472
    1473 function TAnalyzerPascal.ParseUses(SourceCode: TUsedModuleList; AExported: Boolean = False): Boolean;
     1473function TAnalyzerPascal.ParseUses(SourceCode: TUsedModuleList; AExported: Boolean): Boolean;
    14741474var
    14751475  NewUsedModule: TUsedModule;
Note: See TracChangeset for help on using the changeset viewer.