Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions common/parse_compiler_output.pm
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,12 @@ sub handle_compiler_output_line($) {
return;
}

if ($s =~ m/Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy./) {
# Given by Visual Studio 2022
$self->Output_Normal ($s);
return;
}

if ($s =~ m/possibly used unsafely, use/) {
# Similar warnings on NetBSD
$self->Output_Normal ($s);
Expand Down
3 changes: 3 additions & 0 deletions make_pretty.pl
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,9 @@ ()
# have the word 'error' in the symbol name - ignore those.
return 0 if (m/^ld: \d+\-\d+ WARNING: Duplicate symbol:/);

# Given by Visual Studio 2022
return 0 if (m/Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy./);

# Look for lines that also should be color coded, but not counted
# as errors.
return 2 if (/Types pointed to are unrelated/
Expand Down
Loading