Commit 20e56b1
authored
Suppress deprecation warning for ament_index API (#804)
### Changelog
None
### Docs
None
### Description
Temporarily suppress deprecation warnings for
`get_package_share_directory`, which will cause ROS2 buildfarm builds to
pass for Foxglove Bridge. These suppressions will be reverted in #803
once ament/ament_index#105 has merged and ROS packages have synced.
Fixes: FLE-165
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Temporarily mutes deprecation warnings to unblock ROS2 builds.
>
> - Wraps `ament_index_cpp::get_package_share_directory` call in
`message_definition_cache.cpp` with GCC pragmas to ignore
`-Wdeprecated-declarations`
> - Adds TODO noting removal after `ament_index_cpp` update (FLE-167)
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
14325f4. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent 64bcb9a commit 20e56b1
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
218 | 222 | | |
| 223 | + | |
219 | 224 | | |
220 | 225 | | |
221 | 226 | | |
| |||
0 commit comments