Closed sshmaxime closed 4 years ago
Recompile again with the latest mavros master. the warnings should be gone
Just got the same warning. My setup:
...
.../src/mavros/mavros_msgs/include/mavros_msgs/mavlink_convert.h:108:62: warning: taking address of packed member of ‘mavlink::__mavlink_message’ may result in an unaligned pointer value [-Waddress-of-packed-member]
108 | rmsg.payload64 = mavros_msgs::Mavlink::_payload64_type(mmsg.payload64, mmsg.payload64 + payload64_len);
...
Any ideas? Mind to reopen?
Hello, this isn't really a bug HOWEVER how can I make mavros stop giving warning when compiling my program ?
Such as: