Fixes to allow compilation on MacOS #611
2 Participants
Notifications
Due Date
No due date set.
Depends on
#604 Hotfix CMake & ETL
fsfw/fsfw
Reference: fsfw/fsfw#611
Reference in New Issue
Block a user
No description provided.
Delete Branch "mueller/mac-os"
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?
This PR allows compilation of the FSFW with the Host OSAL on the MacOS or on any other Darwin based OS.
Some interesting points
AppleClang
version 13.0.0 (LLVM). It has a very useful warning flag on by default:-Winconsistent-missing-override
. Some or most GCC warning flags will probably work forclang
as well so it might be worth looking into useful additional warning flags for LLVM like it was done for GCClinux
folder could be renamedunix
or split up into alinux
and aunix
folder, whereunix
contains the files like the termios abstraction andlinux
contains files which only work on linux systems (e.g. SPI library)clang-tidy
is a very useful linter tool which detected a lot of form improvements for the FSFW code-Winconsistent-missing-override
actually does not exist for GCC..I wonder if there is an equivalent flag
LGTM