mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 09:39:09 +02:00
IDE: fixed compiling with old ext tools
git-svn-id: trunk@45495 -
This commit is contained in:
parent
e4751d8f8c
commit
c90ba0acf2
@ -3211,8 +3211,12 @@ var
|
||||
end;
|
||||
if not Tool.CleanPosToCaret(ErrorPos,CodePos) then continue;
|
||||
Msg:='unit '+AnUnitName+' requires package '+PkgName;
|
||||
IDEMessagesWindow.AddCustomMessage(mluError,Msg,
|
||||
{$IFNDEF EnableOldExtTools}
|
||||
IDEMessagesWindow.AddCustomMessage(mluWarning,Msg,
|
||||
CodePos.Code.Filename,CodePos.Y,CodePos.X,'Move Units');
|
||||
{$ELSE}
|
||||
IDEMessagesWindow.AddMsg('Warning: '+Msg,'',-1);
|
||||
{$ENDIF}
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user