Skip to content

Commit

Permalink
Merge pull request Ericsson#4071 from Szelethus/gcc_ignore_compiler_w…
Browse files Browse the repository at this point in the history
…arnings

[gcc] Ignore compiler warnings for the time being
  • Loading branch information
bruntib authored Nov 9, 2023
2 parents 6af1f60 + 2108017 commit 482804c
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,13 @@ def postprocess_result(self, skip_handlers: Optional[SkipListHandlers]):
gcc_output_file, self.checker_labels,
source_dir_path=self.source_dir_path)

reports = [r for r in reports if not r.skip(skip_handlers)]
# FIXME: We absolutely want to support gcc compiler warnings
# eventually (which don't start with '-Wanalyzer'), but we should
# probably list them in the label files as well, etc.
reports = \
[r for r in reports if not r.skip(skip_handlers) and
r.checker_name.startswith("-Wanalyzer")]

for report in reports:
report.checker_name = \
actual_name_to_codechecker_name(report.checker_name)
Expand Down

0 comments on commit 482804c

Please sign in to comment.