Describe the bug
Cleanup the Clang and GNU compiler warnings when -Wall, -Weverything, and -Wpedantic are used.
Start using clang for checking doxygen and other C based linting violations - can use in gitub-actions.
Target
- Development board: Linux
- Instruction Set Architecture: Linux
- IDE and version: Visual Code 1.71.1
- Toolchain and version: Clang-13 and GCC 7.5.0
Host
- Host OS: Linux
- Version: Ubuntu 18.04
To Reproduce
Expected behavior
Code cleaned up and a CI call to Clang and GCC to ensure code quality is adhered to.
Screenshots
N/A
Wireshark logs
N/A
Additional context
The primary reason for doing this is to use Clang and GCC to provide better and more descriptive code.
Describe the bug
Cleanup the Clang and GNU compiler warnings when
-Wall,-Weverything, and-Wpedanticare used.Start using clang for checking doxygen and other C based linting violations - can use in gitub-actions.
Target
Host
To Reproduce
target_compile_options(...could observe failures when it compilesExpected behavior
Code cleaned up and a CI call to Clang and GCC to ensure code quality is adhered to.
Screenshots
N/A
Wireshark logs
N/A
Additional context
The primary reason for doing this is to use Clang and GCC to provide better and more descriptive code.