Browse Source
This has the advantage of telling you what the sizes are In file included from ../../libraries/AC_AttitudeControl/AC_PosControl.h:3: ../../libraries/AP_Common/AP_Common.h:103:3: fatal error: static_assert failed "wrong size" static_assert(s == t, "wrong size"); ^ ~~~~~~ ../../libraries/AP_Common/AP_Common.h:147:52: note: in instantiation of template class 'assert_structure_size<12, 11>' requested here assert_structure_size<sizeof(struct Location), 11> _assert_location_size;master
1 changed files with 14 additions and 0 deletions
Loading…
Reference in new issue