Skip to content

Commit 24ea55c

Browse files
authored
Fix CI errors
1 parent ffca90f commit 24ea55c

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

Svc/Ccsds/SpacePacketDeframer/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ register_fprime_library(
1919
Svc_Ccsds_Types
2020
)
2121

22+
# Allow comparison of a configurable constant with a fixed-width constant that may be "always true" in
23+
# specific configurations buy may not be true in other configurations. Relates to: FwSizeType
24+
target_compile_options("${FPRIME_CURRENT_MODULE}" PRIVATE
25+
$<$<CXX_COMPILER_ID:Clang>:-Wno-tautological-constant-out-of-range-compare>
26+
)
2227

2328
### Unit Tests ###
2429
register_fprime_ut(

Svc/Ccsds/SpacePacketDeframer/SpacePacketDeframer.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module Ccsds {
1717
format "Malformed packet received refusing to deframe"
1818

1919
@ Deframing received an invalid frame length
20-
event InvalidLength(transmitted: U16, actual: FwSizeType) \
20+
event InvalidLength(transmitted: FwSizeType, actual: FwSizeType) \
2121
severity warning high \
2222
format "Invalid length received. Header specified packet byte size of {} | Actual received data length: {}"
2323

0 commit comments

Comments
 (0)