From eb7091182606af6f3fafa9f6ebb4a003aec1bea2 Mon Sep 17 00:00:00 2001 From: mattias Date: Sat, 24 May 2014 01:51:39 +0000 Subject: [PATCH] IDE: test compiler options: clear messages git-svn-id: trunk@45159 - --- ide/checkcompileropts.pas | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ide/checkcompileropts.pas b/ide/checkcompileropts.pas index c49582b035..ffd89916e0 100644 --- a/ide/checkcompileropts.pas +++ b/ide/checkcompileropts.pas @@ -40,7 +40,7 @@ uses CodeToolsStructs, // IDEIntf ProjectIntf, MacroIntf, IDEExternToolIntf, LazIDEIntf, IDEDialogs, - PackageIntf, + PackageIntf, IDEMsgIntf, // IDE Project, PackageSystem, ExtToolEditDlg, IDEProcs, EnvironmentOpts, LazarusIDEStrConsts, PackageDefs, CompilerOptions, TransferMacros, LazConf; @@ -872,9 +872,10 @@ begin CompilerFiles:=nil; Target_PPUs:=nil; FPC_PPUs:=nil; + IDEMessagesWindow.Clear; Screen.Cursor:=crHourGlass; try - // do not confuse the user with cached data + // make sure there is no invalid cache due to bugs InvalidateFileStateCache(); // check for special characters in search paths