mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 03:21:44 +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;
|
end;
|
||||||
if not Tool.CleanPosToCaret(ErrorPos,CodePos) then continue;
|
if not Tool.CleanPosToCaret(ErrorPos,CodePos) then continue;
|
||||||
Msg:='unit '+AnUnitName+' requires package '+PkgName;
|
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');
|
CodePos.Code.Filename,CodePos.Y,CodePos.X,'Move Units');
|
||||||
|
{$ELSE}
|
||||||
|
IDEMessagesWindow.AddMsg('Warning: '+Msg,'',-1);
|
||||||
|
{$ENDIF}
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user