Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions ros/src/foxglove_bridge/src/message_definition_cache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,12 @@ const MessageSpec& MessageDefinitionCache::load_message_spec(
}

// Get the package share directory, or throw a PackageNotFoundError
// TODO: FLE-167: Remove warning once ament_index_cpp is updated and synced across all current
// ROS2 distributions.
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
const std::string share_dir = ament_index_cpp::get_package_share_directory(package);
#pragma GCC diagnostic pop

// Get the rosidl_interfaces index contents for this package
std::string index_contents;
Expand Down