File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -155,6 +155,12 @@ sub handle_compiler_output_line($) {
155155 return ;
156156 }
157157
158+ if ($s =~ m / Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy./ ) {
159+ # Given by Visual Studio 2022
160+ $self -> Output_Normal ($s );
161+ return ;
162+ }
163+
158164 if ($s =~ m / possibly used unsafely, use/ ) {
159165 # Similar warnings on NetBSD
160166 $self -> Output_Normal ($s );
Original file line number Diff line number Diff line change 235235 # have the word 'error' in the symbol name - ignore those.
236236 return 0 if (m/^ld: \d +\-\d + WARNING: Duplicate symbol:/);
237237
238+ # Given by Visual Studio 2022
239+ return 0 if (m/Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy./);
240+
238241 # Look for lines that also should be color coded, but not counted
239242 # as errors.
240243 return 2 if (/Types pointed to are unrelated/
You can’t perform that action at this time.
0 commit comments