You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/home/jhageman/cFS-GitHub/cfe/fsw/cfe-core/src/es/cfe_es_task.c: In function ‘CFE_ES_TaskPipe’:
/home/jhageman/cFS-GitHub/cfe/fsw/cfe-core/src/es/cfe_es_task.c:635:52: warning: cast increases required alignment of target type [-Wcast-align]
635 | CFE_ES_SendMemPoolStatsCmd((CFE_ES_SendMemPoolStats_t*)Msg);
To Reproduce
Build on gcc 8+ with cast-align=strict
Yes, the reason this message has increased alignment needs is because it contains a cpuaddr type. When replaced with an abstract pool handle (which can be uint32) the alignment issue goes away.
Describe the bug
To Reproduce
Build on gcc 8+ with cast-align=strict
Expected behavior
Clean build
Code snips
cFE/fsw/cfe-core/src/es/cfe_es_task.c
Lines 632 to 637 in 06c0826
System observed on:
Additional context
#851, #852
Reporter Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered: