-
Notifications
You must be signed in to change notification settings - Fork 53
Description
Describe the bug
Trying to build under Raspbian, sample_app fails with "cast increases required alignment of target type" errors.
/home/pi/cFS/apps/sample_app/fsw/src/sample_app.c:365:25: error: cast increases required alignment of target type [-Werror=cast-align]
CFE_SB_TimeStampMsg((CFE_SB_Msg_t *) &Sample_AppData.SAMPLE_HkTelemetryPkt);
^
/home/pi/cFS/apps/sample_app/fsw/src/sample_app.c:366:20: error: cast increases required alignment of target type [-Werror=cast-align]
CFE_SB_SendMsg((CFE_SB_Msg_t *) &Sample_AppData.SAMPLE_HkTelemetryPkt);
To Reproduce
Build on Raspbian.
Expected behavior
Should not cause warnings/errors.
Code snips
System observed on:
Raspberry Pi Zero W
Additional context
Add any other context about the problem here.
Reporter Info
Christopher.D.Knight@nasa.gov
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working