nasa / FM

The Core Flight System (cFS) File Manager (FM) application.
Apache License 2.0
43 stars 25 forks source link

Compiler-added implicit padding in `FM_MonitorReportEntry_t` & `FM_ChildQueueEntry_t` #104

Closed thnkslprpt closed 1 year ago

thnkslprpt commented 1 year ago

Checklist

Describe the bug It seems that there is implicit padding being added by the compiler in FM_MonitorReportEntry_t & FM_ChildQueueEntry_t.

Code snips https://github.com/nasa/FM/blob/e7afedcfdf9ba50eac8a9bdda6ce70a4d1ef709d/fsw/inc/fm_msg.h#L512-L518 https://github.com/nasa/FM/blob/e7afedcfdf9ba50eac8a9bdda6ce70a4d1ef709d/fsw/inc/fm_msg.h#L656-L669

Expected behavior Make implicit padding explicit.

Reporter Info Avi Weiss @thnkslprpt