diff --git a/ide/buildlazdialog.pas b/ide/buildlazdialog.pas index 438f53f346..158e0e1f14 100644 --- a/ide/buildlazdialog.pas +++ b/ide/buildlazdialog.pas @@ -153,7 +153,7 @@ type function ShowConfigureBuildLazarusDlg(AProfiles: TBuildLazarusProfiles): TModalResult; function BuildLazarus(Profiles: TBuildLazarusProfiles; - ExternalTools: TExternalToolList; Macros: TTransferMacroList; + ExternalTools: TBaseExternalToolList; Macros: TTransferMacroList; const PackageOptions, CompilerPath, MakePath: string; Flags: TBuildLazarusFlags): TModalResult; @@ -212,7 +212,7 @@ begin end; function BuildLazarus(Profiles: TBuildLazarusProfiles; - ExternalTools: TExternalToolList; Macros: TTransferMacroList; + ExternalTools: TBaseExternalToolList; Macros: TTransferMacroList; const PackageOptions, CompilerPath, MakePath: string; Flags: TBuildLazarusFlags): TModalResult; diff --git a/ide/lazbuild.lpr b/ide/lazbuild.lpr index 74fdded456..a73970e59b 100644 --- a/ide/lazbuild.lpr +++ b/ide/lazbuild.lpr @@ -34,6 +34,7 @@ uses // IDE IDEProcs, InitialSetupDlgs, OutputFilter, CompilerOptions, ApplicationBundle, TransferMacros, EnvironmentOpts, IDETranslations, LazarusIDEStrConsts, + ExtToolDialog, MiscOptions, Project, LazConf, PackageDefs, PackageLinks, PackageSystem, BuildLazDialog, BuildProfileManager, BuildManager, BaseBuildManager; @@ -807,8 +808,8 @@ begin end; TranslateResourceStrings(EnvironmentOptions.LazarusDirectory, EnvironmentOptions.LanguageID); - ExternalTools.OnNeedsOutputFilter:=@OnExtToolNeedsOutputFilter; - ExternalTools.OnFreeOutputFilter:=@OnExtToolFreeOutputFilter; + TExternalToolList(ExternalTools).OnNeedsOutputFilter:=@OnExtToolNeedsOutputFilter; + TExternalToolList(ExternalTools).OnFreeOutputFilter:=@OnExtToolFreeOutputFilter; if CompilerOverride<>'' then CompilerFilename:=CompilerOverride; if LazarusDirOverride<>'' then diff --git a/ide/outputfilter.pas b/ide/outputfilter.pas index 3c5565a1bc..5febb7411c 100644 --- a/ide/outputfilter.pas +++ b/ide/outputfilter.pas @@ -29,7 +29,7 @@ interface uses Classes, Math, SysUtils, Forms, Controls, Dialogs, CompilerOptions, - Process, AsyncProcess, LCLProc, DynQueue, FileUtil, UTF8Process, + AsyncProcess, LCLProc, DynQueue, FileUtil, UTF8Process, CodeCache, CodeToolManager, IDEDialogs, IDEMsgIntf, IDEExternToolIntf, IDEProcs, LazConf;