File tree Expand file tree Collapse file tree
Svc/Ccsds/SpacePacketDeframer Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ###
2429register_fprime_ut (
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments