Closed Jaeyoung-Lim closed 3 years ago
@bkueng This is the sort of output that was flooding the build logs when building on Ubuntu focal
In file included from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/common.h:2348,
from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/mavlink.h:32,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/mavlink_interface.h:52,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/jsbsim_bridge.h:43,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/src/main.cpp:42:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_obstacle_distance.h: In function ‘uint16_t mavlink_msg_obstacle_distance_encode(uint8_t, uint8_t, mavlink_message_t*, const mavlink_obstacle_distance_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_obstacle_distance.h:173:158: warning: taking address of packed member of ‘__mavlink_obstacle_distance_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | return mavlink_msg_obstacle_distance_pack(system_id, component_id, msg, obstacle_distance->time_usec, obstacle_distance->sensor_type, obstacle_distance->distances, obstacle_distance->increment, obstacle_distance->min_distance, obstacle_distance->max_distance, obstacle_distance->increment_f, obstacle_distance->angle_offset, obstacle_distance->frame);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_obstacle_distance.h: In function ‘uint16_t mavlink_msg_obstacle_distance_encode_chan(uint8_t, uint8_t, uint8_t, mavlink_message_t*, const mavlink_obstacle_distance_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_obstacle_distance.h:187:169: warning: taking address of packed member of ‘__mavlink_obstacle_distance_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
187 | return mavlink_msg_obstacle_distance_pack_chan(system_id, component_id, chan, msg, obstacle_distance->time_usec, obstacle_distance->sensor_type, obstacle_distance->distances, obstacle_distance->increment, obstacle_distance->min_distance, obstacle_distance->max_distance, obstacle_distance->increment_f, obstacle_distance->angle_offset, obstacle_distance->frame);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~
[7/12] Building CXX object CMakeFiles/jsbsim_bridge.dir/src/sensor_baro_plugin.cpp.o
In file included from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/common.h:2268,
from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/mavlink.h:32,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/mavlink_interface.h:52,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/sensor_plugin.h:45,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/sensor_baro_plugin.h:45,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/src/sensor_baro_plugin.cpp:42:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_distance_sensor.h: In function ‘uint16_t mavlink_msg_distance_sensor_encode(uint8_t, uint8_t, mavlink_message_t*, const mavlink_distance_sensor_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_distance_sensor.h:200:387: warning: taking address of packed member of ‘__mavlink_distance_sensor_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
200 | return mavlink_msg_distance_sensor_pack(system_id, component_id, msg, distance_sensor->time_boot_ms, distance_sensor->min_distance, distance_sensor->max_distance, distance_sensor->current_distance, distance_sensor->type, distance_sensor->id, distance_sensor->orientation, distance_sensor->covariance, distance_sensor->horizontal_fov, distance_sensor->vertical_fov, distance_sensor->quaternion, distance_sensor->signal_quality);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_distance_sensor.h: In function ‘uint16_t mavlink_msg_distance_sensor_encode_chan(uint8_t, uint8_t, uint8_t, mavlink_message_t*, const mavlink_distance_sensor_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_distance_sensor.h:214:398: warning: taking address of packed member of ‘__mavlink_distance_sensor_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
214 | return mavlink_msg_distance_sensor_pack_chan(system_id, component_id, chan, msg, distance_sensor->time_boot_ms, distance_sensor->min_distance, distance_sensor->max_distance, distance_sensor->current_distance, distance_sensor->type, distance_sensor->id, distance_sensor->orientation, distance_sensor->covariance, distance_sensor->horizontal_fov, distance_sensor->vertical_fov, distance_sensor->quaternion, distance_sensor->signal_quality);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/common.h:2282,
from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/mavlink.h:32,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/mavlink_interface.h:52,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/sensor_plugin.h:45,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/sensor_baro_plugin.h:45,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/src/sensor_baro_plugin.cpp:42:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_battery_status.h: In function ‘uint16_t mavlink_msg_battery_status_encode(uint8_t, uint8_t, mavlink_message_t*, const mavlink_battery_status_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_battery_status.h:201:195: warning: taking address of packed member of ‘__mavlink_battery_status_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
201 | return mavlink_msg_battery_status_pack(system_id, component_id, msg, battery_status->id, battery_status->battery_function, battery_status->type, battery_status->temperature, battery_status->voltages, battery_status->current_battery, battery_status->current_consumed, battery_status->energy_consumed, battery_status->battery_remaining, battery_status->time_remaining, battery_status->charge_state, battery_status->voltages_ext);
| ~~~~~~~~~~~~~~~~^~~~~~~~
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_battery_status.h:201:418: warning: taking address of packed member of ‘__mavlink_battery_status_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
201 | return mavlink_msg_battery_status_pack(system_id, component_id, msg, battery_status->id, battery_status->battery_function, battery_status->type, battery_status->temperature, battery_status->voltages, battery_status->current_battery, battery_status->current_consumed, battery_status->energy_consumed, battery_status->battery_remaining, battery_status->time_remaining, battery_status->charge_state, battery_status->voltages_ext);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_battery_status.h: In function ‘uint16_t mavlink_msg_battery_status_encode_chan(uint8_t, uint8_t, uint8_t, mavlink_message_t*, const mavlink_battery_status_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_battery_status.h:215:206: warning: taking address of packed member of ‘__mavlink_battery_status_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
215 | return mavlink_msg_battery_status_pack_chan(system_id, component_id, chan, msg, battery_status->id, battery_status->battery_function, battery_status->type, battery_status->temperature, battery_status->voltages, battery_status->current_battery, battery_status->current_consumed, battery_status->energy_consumed, battery_status->battery_remaining, battery_status->time_remaining, battery_status->charge_state, battery_status->voltages_ext);
| ~~~~~~~~~~~~~~~~^~~~~~~~
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_battery_status.h:215:429: warning: taking address of packed member of ‘__mavlink_battery_status_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
215 | return mavlink_msg_battery_status_pack_chan(system_id, component_id, chan, msg, battery_status->id, battery_status->battery_function, battery_status->type, battery_status->temperature, battery_status->voltages, battery_status->current_battery, battery_status->current_consumed, battery_status->energy_consumed, battery_status->battery_remaining, battery_status->time_remaining, battery_status->charge_state, battery_status->voltages_ext);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/common.h:2284,
from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/mavlink.h:32,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/mavlink_interface.h:52,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/sensor_plugin.h:45,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/sensor_baro_plugin.h:45,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/src/sensor_baro_plugin.cpp:42:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_landing_target.h: In function ‘uint16_t mavlink_msg_landing_target_encode(uint8_t, uint8_t, mavlink_message_t*, const mavlink_landing_target_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_landing_target.h:218:349: warning: taking address of packed member of ‘__mavlink_landing_target_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
218 | return mavlink_msg_landing_target_pack(system_id, component_id, msg, landing_target->time_usec, landing_target->target_num, landing_target->frame, landing_target->angle_x, landing_target->angle_y, landing_target->distance, landing_target->size_x, landing_target->size_y, landing_target->x, landing_target->y, landing_target->z, landing_target->q, landing_target->type, landing_target->position_valid);
| ~~~~~~~~~~~~~~~~^
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_landing_target.h: In function ‘uint16_t mavlink_msg_landing_target_encode_chan(uint8_t, uint8_t, uint8_t, mavlink_message_t*, const mavlink_landing_target_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_landing_target.h:232:360: warning: taking address of packed member of ‘__mavlink_landing_target_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
232 | return mavlink_msg_landing_target_pack_chan(system_id, component_id, chan, msg, landing_target->time_usec, landing_target->target_num, landing_target->frame, landing_target->angle_x, landing_target->angle_y, landing_target->distance, landing_target->size_x, landing_target->size_y, landing_target->x, landing_target->y, landing_target->z, landing_target->q, landing_target->type, landing_target->position_valid);
| ~~~~~~~~~~~~~~~~^
In file included from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/common.h:2295,
from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/mavlink.h:32,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/mavlink_interface.h:52,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/sensor_plugin.h:45,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/sensor_baro_plugin.h:45,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/src/sensor_baro_plugin.cpp:42:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_home_position.h: In function ‘uint16_t mavlink_msg_home_position_encode(uint8_t, uint8_t, mavlink_message_t*, const mavlink_home_position_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_home_position.h:191:218: warning: taking address of packed member of ‘__mavlink_home_position_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
191 | return mavlink_msg_home_position_pack(system_id, component_id, msg, home_position->latitude, home_position->longitude, home_position->altitude, home_position->x, home_position->y, home_position->z, home_position->q, home_position->approach_x, home_position->approach_y, home_position->approach_z, home_position->time_usec);
| ~~~~~~~~~~~~~~~^
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_home_position.h: In function ‘uint16_t mavlink_msg_home_position_encode_chan(uint8_t, uint8_t, uint8_t, mavlink_message_t*, const mavlink_home_position_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_home_position.h:205:229: warning: taking address of packed member of ‘__mavlink_home_position_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
205 | return mavlink_msg_home_position_pack_chan(system_id, component_id, chan, msg, home_position->latitude, home_position->longitude, home_position->altitude, home_position->x, home_position->y, home_position->z, home_position->q, home_position->approach_x, home_position->approach_y, home_position->approach_z, home_position->time_usec);
| ~~~~~~~~~~~~~~~^
In file included from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/common.h:2296,
from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/mavlink.h:32,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/mavlink_interface.h:52,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/sensor_plugin.h:45,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/sensor_baro_plugin.h:45,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/src/sensor_baro_plugin.cpp:42:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_set_home_position.h: In function ‘uint16_t mavlink_msg_set_home_position_encode(uint8_t, uint8_t, mavlink_message_t*, const mavlink_set_home_position_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_set_home_position.h:200:284: warning: taking address of packed member of ‘__mavlink_set_home_position_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
200 | return mavlink_msg_set_home_position_pack(system_id, component_id, msg, set_home_position->target_system, set_home_position->latitude, set_home_position->longitude, set_home_position->altitude, set_home_position->x, set_home_position->y, set_home_position->z, set_home_position->q, set_home_position->approach_x, set_home_position->approach_y, set_home_position->approach_z, set_home_position->time_usec);
| ~~~~~~~~~~~~~~~~~~~^
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_set_home_position.h: In function ‘uint16_t mavlink_msg_set_home_position_encode_chan(uint8_t, uint8_t, uint8_t, mavlink_message_t*, const mavlink_set_home_position_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_set_home_position.h:214:295: warning: taking address of packed member of ‘__mavlink_set_home_position_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
214 | return mavlink_msg_set_home_position_pack_chan(system_id, component_id, chan, msg, set_home_position->target_system, set_home_position->latitude, set_home_position->longitude, set_home_position->altitude, set_home_position->x, set_home_position->y, set_home_position->z, set_home_position->q, set_home_position->approach_x, set_home_position->approach_y, set_home_position->approach_z, set_home_position->time_usec);
| ~~~~~~~~~~~~~~~~~~~^
In file included from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/common.h:2348,
from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/mavlink.h:32,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/mavlink_interface.h:52,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/sensor_plugin.h:45,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/sensor_baro_plugin.h:45,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/src/sensor_baro_plugin.cpp:42:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_obstacle_distance.h: In function ‘uint16_t mavlink_msg_obstacle_distance_encode(uint8_t, uint8_t, mavlink_message_t*, const mavlink_obstacle_distance_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_obstacle_distance.h:173:158: warning: taking address of packed member of ‘__mavlink_obstacle_distance_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | return mavlink_msg_obstacle_distance_pack(system_id, component_id, msg, obstacle_distance->time_usec, obstacle_distance->sensor_type, obstacle_distance->distances, obstacle_distance->increment, obstacle_distance->min_distance, obstacle_distance->max_distance, obstacle_distance->increment_f, obstacle_distance->angle_offset, obstacle_distance->frame);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_obstacle_distance.h: In function ‘uint16_t mavlink_msg_obstacle_distance_encode_chan(uint8_t, uint8_t, uint8_t, mavlink_message_t*, const mavlink_obstacle_distance_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_obstacle_distance.h:187:169: warning: taking address of packed member of ‘__mavlink_obstacle_distance_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
187 | return mavlink_msg_obstacle_distance_pack_chan(system_id, component_id, chan, msg, obstacle_distance->time_usec, obstacle_distance->sensor_type, obstacle_distance->distances, obstacle_distance->increment, obstacle_distance->min_distance, obstacle_distance->max_distance, obstacle_distance->increment_f, obstacle_distance->angle_offset, obstacle_distance->frame);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~
[8/12] Building CXX object CMakeFiles/jsbsim_bridge.dir/src/sensor_plugin.cpp.o
In file included from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/common.h:2268,
from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/mavlink.h:32,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/mavlink_interface.h:52,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/sensor_plugin.h:45,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/src/sensor_plugin.cpp:42:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_distance_sensor.h: In function ‘uint16_t mavlink_msg_distance_sensor_encode(uint8_t, uint8_t, mavlink_message_t*, const mavlink_distance_sensor_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_distance_sensor.h:200:387: warning: taking address of packed member of ‘__mavlink_distance_sensor_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
200 | return mavlink_msg_distance_sensor_pack(system_id, component_id, msg, distance_sensor->time_boot_ms, distance_sensor->min_distance, distance_sensor->max_distance, distance_sensor->current_distance, distance_sensor->type, distance_sensor->id, distance_sensor->orientation, distance_sensor->covariance, distance_sensor->horizontal_fov, distance_sensor->vertical_fov, distance_sensor->quaternion, distance_sensor->signal_quality);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_distance_sensor.h: In function ‘uint16_t mavlink_msg_distance_sensor_encode_chan(uint8_t, uint8_t, uint8_t, mavlink_message_t*, const mavlink_distance_sensor_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_distance_sensor.h:214:398: warning: taking address of packed member of ‘__mavlink_distance_sensor_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
214 | return mavlink_msg_distance_sensor_pack_chan(system_id, component_id, chan, msg, distance_sensor->time_boot_ms, distance_sensor->min_distance, distance_sensor->max_distance, distance_sensor->current_distance, distance_sensor->type, distance_sensor->id, distance_sensor->orientation, distance_sensor->covariance, distance_sensor->horizontal_fov, distance_sensor->vertical_fov, distance_sensor->quaternion, distance_sensor->signal_quality);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/common.h:2282,
from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/mavlink.h:32,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/mavlink_interface.h:52,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/sensor_plugin.h:45,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/src/sensor_plugin.cpp:42:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_battery_status.h: In function ‘uint16_t mavlink_msg_battery_status_encode(uint8_t, uint8_t, mavlink_message_t*, const mavlink_battery_status_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_battery_status.h:201:195: warning: taking address of packed member of ‘__mavlink_battery_status_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
201 | return mavlink_msg_battery_status_pack(system_id, component_id, msg, battery_status->id, battery_status->battery_function, battery_status->type, battery_status->temperature, battery_status->voltages, battery_status->current_battery, battery_status->current_consumed, battery_status->energy_consumed, battery_status->battery_remaining, battery_status->time_remaining, battery_status->charge_state, battery_status->voltages_ext);
| ~~~~~~~~~~~~~~~~^~~~~~~~
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_battery_status.h:201:418: warning: taking address of packed member of ‘__mavlink_battery_status_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
201 | return mavlink_msg_battery_status_pack(system_id, component_id, msg, battery_status->id, battery_status->battery_function, battery_status->type, battery_status->temperature, battery_status->voltages, battery_status->current_battery, battery_status->current_consumed, battery_status->energy_consumed, battery_status->battery_remaining, battery_status->time_remaining, battery_status->charge_state, battery_status->voltages_ext);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_battery_status.h: In function ‘uint16_t mavlink_msg_battery_status_encode_chan(uint8_t, uint8_t, uint8_t, mavlink_message_t*, const mavlink_battery_status_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_battery_status.h:215:206: warning: taking address of packed member of ‘__mavlink_battery_status_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
215 | return mavlink_msg_battery_status_pack_chan(system_id, component_id, chan, msg, battery_status->id, battery_status->battery_function, battery_status->type, battery_status->temperature, battery_status->voltages, battery_status->current_battery, battery_status->current_consumed, battery_status->energy_consumed, battery_status->battery_remaining, battery_status->time_remaining, battery_status->charge_state, battery_status->voltages_ext);
| ~~~~~~~~~~~~~~~~^~~~~~~~
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_battery_status.h:215:429: warning: taking address of packed member of ‘__mavlink_battery_status_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
215 | return mavlink_msg_battery_status_pack_chan(system_id, component_id, chan, msg, battery_status->id, battery_status->battery_function, battery_status->type, battery_status->temperature, battery_status->voltages, battery_status->current_battery, battery_status->current_consumed, battery_status->energy_consumed, battery_status->battery_remaining, battery_status->time_remaining, battery_status->charge_state, battery_status->voltages_ext);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/common.h:2284,
from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/mavlink.h:32,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/mavlink_interface.h:52,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/sensor_plugin.h:45,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/src/sensor_plugin.cpp:42:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_landing_target.h: In function ‘uint16_t mavlink_msg_landing_target_encode(uint8_t, uint8_t, mavlink_message_t*, const mavlink_landing_target_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_landing_target.h:218:349: warning: taking address of packed member of ‘__mavlink_landing_target_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
218 | return mavlink_msg_landing_target_pack(system_id, component_id, msg, landing_target->time_usec, landing_target->target_num, landing_target->frame, landing_target->angle_x, landing_target->angle_y, landing_target->distance, landing_target->size_x, landing_target->size_y, landing_target->x, landing_target->y, landing_target->z, landing_target->q, landing_target->type, landing_target->position_valid);
| ~~~~~~~~~~~~~~~~^
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_landing_target.h: In function ‘uint16_t mavlink_msg_landing_target_encode_chan(uint8_t, uint8_t, uint8_t, mavlink_message_t*, const mavlink_landing_target_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_landing_target.h:232:360: warning: taking address of packed member of ‘__mavlink_landing_target_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
232 | return mavlink_msg_landing_target_pack_chan(system_id, component_id, chan, msg, landing_target->time_usec, landing_target->target_num, landing_target->frame, landing_target->angle_x, landing_target->angle_y, landing_target->distance, landing_target->size_x, landing_target->size_y, landing_target->x, landing_target->y, landing_target->z, landing_target->q, landing_target->type, landing_target->position_valid);
| ~~~~~~~~~~~~~~~~^
In file included from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/common.h:2295,
from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/mavlink.h:32,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/mavlink_interface.h:52,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/sensor_plugin.h:45,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/src/sensor_plugin.cpp:42:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_home_position.h: In function ‘uint16_t mavlink_msg_home_position_encode(uint8_t, uint8_t, mavlink_message_t*, const mavlink_home_position_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_home_position.h:191:218: warning: taking address of packed member of ‘__mavlink_home_position_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
191 | return mavlink_msg_home_position_pack(system_id, component_id, msg, home_position->latitude, home_position->longitude, home_position->altitude, home_position->x, home_position->y, home_position->z, home_position->q, home_position->approach_x, home_position->approach_y, home_position->approach_z, home_position->time_usec);
| ~~~~~~~~~~~~~~~^
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_home_position.h: In function ‘uint16_t mavlink_msg_home_position_encode_chan(uint8_t, uint8_t, uint8_t, mavlink_message_t*, const mavlink_home_position_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_home_position.h:205:229: warning: taking address of packed member of ‘__mavlink_home_position_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
205 | return mavlink_msg_home_position_pack_chan(system_id, component_id, chan, msg, home_position->latitude, home_position->longitude, home_position->altitude, home_position->x, home_position->y, home_position->z, home_position->q, home_position->approach_x, home_position->approach_y, home_position->approach_z, home_position->time_usec);
| ~~~~~~~~~~~~~~~^
In file included from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/common.h:2296,
from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/mavlink.h:32,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/mavlink_interface.h:52,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/sensor_plugin.h:45,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/src/sensor_plugin.cpp:42:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_set_home_position.h: In function ‘uint16_t mavlink_msg_set_home_position_encode(uint8_t, uint8_t, mavlink_message_t*, const mavlink_set_home_position_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_set_home_position.h:200:284: warning: taking address of packed member of ‘__mavlink_set_home_position_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
200 | return mavlink_msg_set_home_position_pack(system_id, component_id, msg, set_home_position->target_system, set_home_position->latitude, set_home_position->longitude, set_home_position->altitude, set_home_position->x, set_home_position->y, set_home_position->z, set_home_position->q, set_home_position->approach_x, set_home_position->approach_y, set_home_position->approach_z, set_home_position->time_usec);
| ~~~~~~~~~~~~~~~~~~~^
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_set_home_position.h: In function ‘uint16_t mavlink_msg_set_home_position_encode_chan(uint8_t, uint8_t, uint8_t, mavlink_message_t*, const mavlink_set_home_position_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_set_home_position.h:214:295: warning: taking address of packed member of ‘__mavlink_set_home_position_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
214 | return mavlink_msg_set_home_position_pack_chan(system_id, component_id, chan, msg, set_home_position->target_system, set_home_position->latitude, set_home_position->longitude, set_home_position->altitude, set_home_position->x, set_home_position->y, set_home_position->z, set_home_position->q, set_home_position->approach_x, set_home_position->approach_y, set_home_position->approach_z, set_home_position->time_usec);
| ~~~~~~~~~~~~~~~~~~~^
In file included from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/common.h:2348,
from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/mavlink.h:32,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/mavlink_interface.h:52,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/sensor_plugin.h:45,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/src/sensor_plugin.cpp:42:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_obstacle_distance.h: In function ‘uint16_t mavlink_msg_obstacle_distance_encode(uint8_t, uint8_t, mavlink_message_t*, const mavlink_obstacle_distance_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_obstacle_distance.h:173:158: warning: taking address of packed member of ‘__mavlink_obstacle_distance_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | return mavlink_msg_obstacle_distance_pack(system_id, component_id, msg, obstacle_distance->time_usec, obstacle_distance->sensor_type, obstacle_distance->distances, obstacle_distance->increment, obstacle_distance->min_distance, obstacle_distance->max_distance, obstacle_distance->increment_f, obstacle_distance->angle_offset, obstacle_distance->frame);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_obstacle_distance.h: In function ‘uint16_t mavlink_msg_obstacle_distance_encode_chan(uint8_t, uint8_t, uint8_t, mavlink_message_t*, const mavlink_obstacle_distance_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_obstacle_distance.h:187:169: warning: taking address of packed member of ‘__mavlink_obstacle_distance_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
187 | return mavlink_msg_obstacle_distance_pack_chan(system_id, component_id, chan, msg, obstacle_distance->time_usec, obstacle_distance->sensor_type, obstacle_distance->distances, obstacle_distance->increment, obstacle_distance->min_distance, obstacle_distance->max_distance, obstacle_distance->increment_f, obstacle_distance->angle_offset, obstacle_distance->frame);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~
[9/12] Building CXX object CMakeFiles/jsbsim_bridge.dir/src/jsbsim_bridge.cpp.o
In file included from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/common.h:2268,
from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/mavlink.h:32,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/mavlink_interface.h:52,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/jsbsim_bridge.h:43,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/src/jsbsim_bridge.cpp:44:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_distance_sensor.h: In function ‘uint16_t mavlink_msg_distance_sensor_encode(uint8_t, uint8_t, mavlink_message_t*, const mavlink_distance_sensor_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_distance_sensor.h:200:387: warning: taking address of packed member of ‘__mavlink_distance_sensor_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
200 | return mavlink_msg_distance_sensor_pack(system_id, component_id, msg, distance_sensor->time_boot_ms, distance_sensor->min_distance, distance_sensor->max_distance, distance_sensor->current_distance, distance_sensor->type, distance_sensor->id, distance_sensor->orientation, distance_sensor->covariance, distance_sensor->horizontal_fov, distance_sensor->vertical_fov, distance_sensor->quaternion, distance_sensor->signal_quality);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_distance_sensor.h: In function ‘uint16_t mavlink_msg_distance_sensor_encode_chan(uint8_t, uint8_t, uint8_t, mavlink_message_t*, const mavlink_distance_sensor_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_distance_sensor.h:214:398: warning: taking address of packed member of ‘__mavlink_distance_sensor_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
214 | return mavlink_msg_distance_sensor_pack_chan(system_id, component_id, chan, msg, distance_sensor->time_boot_ms, distance_sensor->min_distance, distance_sensor->max_distance, distance_sensor->current_distance, distance_sensor->type, distance_sensor->id, distance_sensor->orientation, distance_sensor->covariance, distance_sensor->horizontal_fov, distance_sensor->vertical_fov, distance_sensor->quaternion, distance_sensor->signal_quality);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/common.h:2282,
from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/mavlink.h:32,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/mavlink_interface.h:52,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/jsbsim_bridge.h:43,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/src/jsbsim_bridge.cpp:44:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_battery_status.h: In function ‘uint16_t mavlink_msg_battery_status_encode(uint8_t, uint8_t, mavlink_message_t*, const mavlink_battery_status_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_battery_status.h:201:195: warning: taking address of packed member of ‘__mavlink_battery_status_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
201 | return mavlink_msg_battery_status_pack(system_id, component_id, msg, battery_status->id, battery_status->battery_function, battery_status->type, battery_status->temperature, battery_status->voltages, battery_status->current_battery, battery_status->current_consumed, battery_status->energy_consumed, battery_status->battery_remaining, battery_status->time_remaining, battery_status->charge_state, battery_status->voltages_ext);
| ~~~~~~~~~~~~~~~~^~~~~~~~
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_battery_status.h:201:418: warning: taking address of packed member of ‘__mavlink_battery_status_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
201 | return mavlink_msg_battery_status_pack(system_id, component_id, msg, battery_status->id, battery_status->battery_function, battery_status->type, battery_status->temperature, battery_status->voltages, battery_status->current_battery, battery_status->current_consumed, battery_status->energy_consumed, battery_status->battery_remaining, battery_status->time_remaining, battery_status->charge_state, battery_status->voltages_ext);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_battery_status.h: In function ‘uint16_t mavlink_msg_battery_status_encode_chan(uint8_t, uint8_t, uint8_t, mavlink_message_t*, const mavlink_battery_status_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_battery_status.h:215:206: warning: taking address of packed member of ‘__mavlink_battery_status_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
215 | return mavlink_msg_battery_status_pack_chan(system_id, component_id, chan, msg, battery_status->id, battery_status->battery_function, battery_status->type, battery_status->temperature, battery_status->voltages, battery_status->current_battery, battery_status->current_consumed, battery_status->energy_consumed, battery_status->battery_remaining, battery_status->time_remaining, battery_status->charge_state, battery_status->voltages_ext);
| ~~~~~~~~~~~~~~~~^~~~~~~~
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_battery_status.h:215:429: warning: taking address of packed member of ‘__mavlink_battery_status_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
215 | return mavlink_msg_battery_status_pack_chan(system_id, component_id, chan, msg, battery_status->id, battery_status->battery_function, battery_status->type, battery_status->temperature, battery_status->voltages, battery_status->current_battery, battery_status->current_consumed, battery_status->energy_consumed, battery_status->battery_remaining, battery_status->time_remaining, battery_status->charge_state, battery_status->voltages_ext);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/common.h:2284,
from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/mavlink.h:32,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/mavlink_interface.h:52,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/jsbsim_bridge.h:43,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/src/jsbsim_bridge.cpp:44:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_landing_target.h: In function ‘uint16_t mavlink_msg_landing_target_encode(uint8_t, uint8_t, mavlink_message_t*, const mavlink_landing_target_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_landing_target.h:218:349: warning: taking address of packed member of ‘__mavlink_landing_target_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
218 | return mavlink_msg_landing_target_pack(system_id, component_id, msg, landing_target->time_usec, landing_target->target_num, landing_target->frame, landing_target->angle_x, landing_target->angle_y, landing_target->distance, landing_target->size_x, landing_target->size_y, landing_target->x, landing_target->y, landing_target->z, landing_target->q, landing_target->type, landing_target->position_valid);
| ~~~~~~~~~~~~~~~~^
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_landing_target.h: In function ‘uint16_t mavlink_msg_landing_target_encode_chan(uint8_t, uint8_t, uint8_t, mavlink_message_t*, const mavlink_landing_target_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_landing_target.h:232:360: warning: taking address of packed member of ‘__mavlink_landing_target_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
232 | return mavlink_msg_landing_target_pack_chan(system_id, component_id, chan, msg, landing_target->time_usec, landing_target->target_num, landing_target->frame, landing_target->angle_x, landing_target->angle_y, landing_target->distance, landing_target->size_x, landing_target->size_y, landing_target->x, landing_target->y, landing_target->z, landing_target->q, landing_target->type, landing_target->position_valid);
| ~~~~~~~~~~~~~~~~^
In file included from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/common.h:2295,
from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/mavlink.h:32,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/mavlink_interface.h:52,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/jsbsim_bridge.h:43,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/src/jsbsim_bridge.cpp:44:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_home_position.h: In function ‘uint16_t mavlink_msg_home_position_encode(uint8_t, uint8_t, mavlink_message_t*, const mavlink_home_position_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_home_position.h:191:218: warning: taking address of packed member of ‘__mavlink_home_position_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
191 | return mavlink_msg_home_position_pack(system_id, component_id, msg, home_position->latitude, home_position->longitude, home_position->altitude, home_position->x, home_position->y, home_position->z, home_position->q, home_position->approach_x, home_position->approach_y, home_position->approach_z, home_position->time_usec);
| ~~~~~~~~~~~~~~~^
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_home_position.h: In function ‘uint16_t mavlink_msg_home_position_encode_chan(uint8_t, uint8_t, uint8_t, mavlink_message_t*, const mavlink_home_position_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_home_position.h:205:229: warning: taking address of packed member of ‘__mavlink_home_position_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
205 | return mavlink_msg_home_position_pack_chan(system_id, component_id, chan, msg, home_position->latitude, home_position->longitude, home_position->altitude, home_position->x, home_position->y, home_position->z, home_position->q, home_position->approach_x, home_position->approach_y, home_position->approach_z, home_position->time_usec);
| ~~~~~~~~~~~~~~~^
In file included from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/common.h:2296,
from /home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/mavlink.h:32,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/mavlink_interface.h:52,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/include/jsbsim_bridge.h:43,
from /home/jaeyoung/src/Firmware/Tools/jsbsim_bridge/src/jsbsim_bridge.cpp:44:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_set_home_position.h: In function ‘uint16_t mavlink_msg_set_home_position_encode(uint8_t, uint8_t, mavlink_message_t*, const mavlink_set_home_position_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_set_home_position.h:200:284: warning: taking address of packed member of ‘__mavlink_set_home_position_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
200 | return mavlink_msg_set_home_position_pack(system_id, component_id, msg, set_home_position->target_system, set_home_position->latitude, set_home_position->longitude, set_home_position->altitude, set_home_position->x, set_home_position->y, set_home_position->z, set_home_position->q, set_home_position->approach_x, set_home_position->approach_y, set_home_position->approach_z, set_home_position->time_usec);
| ~~~~~~~~~~~~~~~~~~~^
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_set_home_position.h: In function ‘uint16_t mavlink_msg_set_home_position_encode_chan(uint8_t, uint8_t, uint8_t, mavlink_message_t*, const mavlink_set_home_position_t*)’:
/home/jaeyoung/src/Firmware/mavlink/include/mavlink/v2.0/common/./mavlink_msg_set_home_position.h:214:295: warning: taking address of packed member of ‘__mavlink_set_home_position_t’ may result in an unaligned pointer value [-Waddress-of-packed-member]
214 | return mavlink_msg_set_home_position_pack_chan(system_id, component_id, chan, msg, set_home_position->target_system, set_home_position->latitude, set_home_position->longitude, set_home_position->altitude, set_home_position->x, set_home_position->y, set_home_position->z, set_home_position->q, set_home_position->approach_x, set_home_position->approach_y, set_home_position->approach_z, set_home_position->time_usec);
I'd like to see the ones for deprecated-declarations
@bkueng Removing -Wno-deprecated-declarations
didn't result in any warning messages.
Problem Description warnings from mavlink would flood the build log making it hard to identify actual issues / warnings during the build
Solution This commit suppresses the warnings that were caused from mavlink