From 1f1b10ae4ebe55179d0fe4e6cb384beb62cb2e6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20Umann?= Date: Fri, 6 Oct 2023 10:44:10 +0200 Subject: [PATCH] add an error log --- analyzer/codechecker_analyzer/analyzers/gcc/analyzer.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/analyzer/codechecker_analyzer/analyzers/gcc/analyzer.py b/analyzer/codechecker_analyzer/analyzers/gcc/analyzer.py index 3050b0a577..bf940c174f 100644 --- a/analyzer/codechecker_analyzer/analyzers/gcc/analyzer.py +++ b/analyzer/codechecker_analyzer/analyzers/gcc/analyzer.py @@ -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,