Compile Time Size Check fixed #614
No reviewers
Labels
No Label
API Change
Breaking API Change
bug
build
cosmetics
Documentation
duplicate
feature
help wanted
hotfix
invalid
question
Refactor
Tests
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: fsfw/fsfw#614
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "gaisser/fsfw:gaisser_fix_compile_check"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In
FixedArrayList.h
a static_assert was based on a wrong calculation which made the wild guess that bytes have 8 bits. New version should work with clang as well. I can't check any MS compilers here.I can check MSVC
I have checked std::numeric_limts in static_asserts in MSVC and it seems to work