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
{{ message }}
Repository navigation
cFE TIME cfe_time_dispatch.c compilation error when configured as a client #2781
Describe the bug
If you configure cFE time as a client, the file cfe_time_dispatch.c does not compile. There is ifdef'ed code that is only used for the server configuration. The declaration and initialization of the variable also need to have the ifdef for the time server. (flagged as an unused variable), variable is SEND_CMD_MID.
To Reproduce
Steps to reproduce the behavior:
To reproduce, configure the cFE core TIME internal configuration to be a TIME client. (server = false, client = true), then try to compile.
Expected behavior
Should compile and run configured as a client.
System observed on:
Using native_std build on RHEL 9.x, x86 64 bit
Additional context
Add any other context about the problem here.
Reporter Info
Alan Cudmore / NASA GSFC - Tyto Athene
Activity
Fix nasa#2781, guard server-only TIME message ID
Fix #2781, fix compilation of time client and coverage tests
Fix #2781, fix format errors in time client update
Merge pull request #2867 from alanc-gsfc/fix-2781-fix-client-compilation