compiler: mark tool messages as errors/warnings depending on the exit code

we use the exit code of the tool to decide whether it is a warning or an error.

Fixes #27370 (closed)

Merge request reports

Loading