Open mergify[bot] opened 7 months ago
Assigned @clalancette to run CI and merge 🧇
I'm going to suggest we hold off on this one until after the Jazzy release. It is low-risk, but also low-impact, so I think it is fine to put it in for a patch release.
Issue Summary
When
WarningsAsErrors
is specified in.clang-tidy
, this can lead to some failures in result reporting. Specifically, the following test program (src/factorial.cpp):fails with this output:
when running
ament_clang_tidy
.After applying this fix, I get the following output, which is expected
Relevant section of
.clang-tidy
, for reference:Fix
By trying to access the
output
attribute of the raised exception, we can populate the output in cases where exceptions were raised and there was valid output.This is an automatic backport of pull request #397 done by Mergify.