From 8c7cf583d396a0e5871534e56dcef7678ae5ad61 Mon Sep 17 00:00:00 2001 From: JeongBong Seo Date: Fri, 5 Apr 2019 18:16:11 +0900 Subject: [PATCH] DRAFT [thud] rosbag2-transport-0.0.6.inc: Workaround type cast error It would be better to patch the code. --- includes-ros2/rosbag2/rosbag2-transport-0.0.7.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/includes-ros2/rosbag2/rosbag2-transport-0.0.7.inc b/includes-ros2/rosbag2/rosbag2-transport-0.0.7.inc index 3b8c0d0..1adc109 100644 --- a/includes-ros2/rosbag2/rosbag2-transport-0.0.7.inc +++ b/includes-ros2/rosbag2/rosbag2-transport-0.0.7.inc @@ -1,3 +1,6 @@ # Copyright (c) 2019 LG Electronics, Inc. ROS_BUILD_DEPENDS += "python-cmake-module" + +# XXX Workaround for a type casting error (PyMethodDef) in rosbag2_transport_python.cpp . +TARGET_CFLAGS += "-Wno-error=cast-function-type"