diff --git a/ide/buildmanager.pas b/ide/buildmanager.pas index d2a443fb7e..5adaa4ddf0 100644 --- a/ide/buildmanager.pas +++ b/ide/buildmanager.pas @@ -55,7 +55,7 @@ uses // IdeConfig LazConf, EnvironmentOpts, ModeMatrixOpts, TransferMacros, IdeConfStrConsts, IDEProcs, etMakeMsgParser, etFPCMsgFilePool, ParsedCompilerOpts, CompilerOptions, - EditDefineTree, + EditDefineTree, IDECmdLine, // IdePackager IdePackagerStrConsts, // IDE @@ -1138,7 +1138,7 @@ begin debugln('Warning: (lazarus) [TBuildManager.RescanCompilerDefines]: invalid compiler:'); debugln(Msg); - if not Quiet then begin + if not Quiet and not GetSkipCheck(skcFpcSrc) then begin IDEMessageDialog(lisCCOErrorCaption, Format( lisThereIsNoFreePascalCompilerEGFpcOrPpcCpuConfigured, [ExeExt, LineEnding, Msg]), mtError, [mbOk]); @@ -1267,7 +1267,7 @@ begin FPCSrcScans.Scan(AsyncScanFPCSrcDir); end; - if not Quiet then begin + if not Quiet and not GetSkipCheck(skcFpcExe) then begin // check for common installation mistakes if not PPUFilesAndCompilerMatch then exit; if (UnitSetCache.GetCompilerKind=pcFPC) then begin