2024-02-09 08:44 AM
Hello,
I am trying to integrate clang-tidy to a STM32 cmake project. But I am facing a lot of error from clang-tidy in STM32 HAL :
error: use of undeclared identifier '__STREXW' [clang-diagnostic-error]
error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information [clang-diagnostic-error]
I would like to delete or at least to hide these warnings from clang-tidy report. Do you know how ?
Thank you
2024-02-09 10:44 AM
See here:
clang should be able to see the __STREXW definition though. Unclear what's going on there.