IDE: fpc msg parser: mark stderr linker lines as error

git-svn-id: trunk@60774 -
This commit is contained in:
mattias 2019-03-26 13:44:06 +00:00
parent 6d813c4d01
commit 414727c13f

View File

@ -1522,7 +1522,10 @@ begin
MsgLine:=CreateMsgLine;
MsgLine.MsgID:=0;
MsgLine.SubTool:=SubToolFPCLinker;
MsgLine.Urgency:=mluHint;
if fMsgIsStdErr then
MsgLine.Urgency:=mluError
else
MsgLine.Urgency:=mluHint;
MsgLine.Msg:='linker: '+p;
inherited AddMsgLine(MsgLine);
exit(true);
@ -2976,6 +2979,8 @@ begin
Handled:=true;
//debugln(['TIDEFPCParser.ReadLine ',IsStdErr,' ',Line]);
// check for (msgid) message
if CheckForMsgId(p) then exit;
// check for 'filename(line,column) Error: message'