Delete STM32 HAL/LL errors in clang-tidy
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-02-09 8: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
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-02-09 10:44 AM
See here:
clang should be able to see the __STREXW definition though. Unclear what's going on there.
If you feel a post has answered your question, please click "Accept as Solution".
