mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 01:29:29 +02:00
Enable writing of Warnings/Notes/hints if they are considered as errors using -SeX option
to avoid getting a compiler failure without any error printed out git-svn-id: trunk@22378 -
This commit is contained in:
parent
3b968b4b35
commit
2d0f01e0dd
@ -519,7 +519,11 @@ implementation
|
||||
status.errorwarning:=false;
|
||||
end
|
||||
else
|
||||
status.errorwarning:=true;
|
||||
begin
|
||||
status.errorwarning:=true;
|
||||
{ Enable writing of warnings, to avoid getting errors without any message }
|
||||
status.verbosity:=status.verbosity or V_Warning;
|
||||
end;
|
||||
end;
|
||||
'n','N' :
|
||||
begin
|
||||
@ -529,7 +533,12 @@ implementation
|
||||
status.errornote:=false;
|
||||
end
|
||||
else
|
||||
status.errornote:=true;
|
||||
begin
|
||||
status.errornote:=true;
|
||||
{ Enable writing of notes, to avoid getting errors without any message }
|
||||
status.verbosity:=status.verbosity or V_Note;
|
||||
end;
|
||||
|
||||
end;
|
||||
'h','H' :
|
||||
begin
|
||||
@ -539,7 +548,11 @@ implementation
|
||||
status.errorhint:=false;
|
||||
end
|
||||
else
|
||||
status.errorhint:=true;
|
||||
begin
|
||||
status.errorhint:=true;
|
||||
{ Enable writing of hints, to avoid getting errors without any message }
|
||||
status.verbosity:=status.verbosity or V_Hint;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user