mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 04:58:11 +02:00
IDE: fpc msg parser: mark stderr linker lines as error
git-svn-id: trunk@60774 -
This commit is contained in:
parent
6d813c4d01
commit
414727c13f
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user