Closed pasis closed 2 months ago
cppcheck skips most of the files from scanning and returns successfully. This potentially hides issues that can be detected in CI.
Replace #error with #warning in the endianness check to allow cppcheck to find a working configuration.
#error
#warning
#warning still fails the compilation process, so we won't miss a wrong endianness configuration.
Fix cppcheck job in CI.
What kind of change does this PR introduce?
Description
cppcheck skips most of the files from scanning and returns successfully. This potentially hides issues that can be detected in CI.
Replace
#error
with#warning
in the endianness check to allow cppcheck to find a working configuration.#warning
still fails the compilation process, so we won't miss a wrong endianness configuration.What
Replace
#error
with#warning
in the endianness check to allow cppcheck to find a working configuration.Why ?
Fix cppcheck job in CI.
Change type
What kind of change does this PR introduce?
Check list