Suppress cppcheck unknownMacro (#237)

Fast forward to https://github.com/ament/ament_lint/pull/268

This suppresses a defect in `ament_cppcheck` - namely that if a macro is missing, it fails loudly. This is compounded by fact that `ament_cppcheck` does not include all dependent headers, so macros are likely to be missing in the first place.

Signed-off-by: Dan Rose <dan@digilabs.io>
This commit is contained in:
Dan Rose 2020-09-08 10:58:57 -05:00 committed by Alejandro Hernández Cordero
parent cd445cd1ef
commit 2477456a3c
2 changed files with 8 additions and 1 deletions

16
.github/resources/local.repos vendored Normal file
View file

@ -0,0 +1,16 @@
definitions:
- &empty_repo
type: zip
url: data:application/zip;base64,UEsFBgAAAAAAAAAAAAAAAAAAAAAAAA==
repositories:
ros2/rosidl_typesupport_connext/COLCON_IGNORE: *empty_repo
ros2/rmw_connext/COLCON_IGNORE: *empty_repo
ros2/rosidl_typesupport_fastrtps/COLCON_IGNORE: *empty_repo
ros2/rmw_fastrtps/COLCON_IGNORE: *empty_repo
ament/ament_lint:
type: git
url: https://github.com/ament/ament_lint.git
version: pull/268/merge