mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-29 00:11:16 +01:00
Merge pull request #18205 from maribu/dist/tools/compile_commands
dist/tools/compile_commands: fix error handling
This commit is contained in:
commit
9827e573c0
@ -35,7 +35,7 @@ def detect_includes_and_version_gcc(compiler):
|
||||
except FileNotFoundError:
|
||||
msg = f"Compiler {compiler} not found, not adding system include paths\n"
|
||||
sys.stderr.write(msg)
|
||||
return []
|
||||
return ([], "")
|
||||
|
||||
stderrdata = stderrdata.decode("utf-8")
|
||||
version = REGEX_VERSION.search(stderrdata).group(1)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user