Skip to content

Commit

Permalink
add an error log
Browse files Browse the repository at this point in the history
  • Loading branch information
Szelethus committed Oct 6, 2023
1 parent cd865c6 commit 1f1b10a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions analyzer/codechecker_analyzer/analyzers/gcc/analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,9 @@ def version_compatible(cls, configured_binary, environ):
if analyzer_version >= StrictVersion("13.0.0"):
return True

# FIXME: Maybe this isn't to place to emit an error, especially when
# we cycle over multiple binarier to find the correct one.
LOG.error("GCC binary is too old; minimum version is 13.0.0.")
return False

def construct_result_handler(self, buildaction, report_output,
Expand Down

0 comments on commit 1f1b10a

Please sign in to comment.