MISRA checks not showing

Answered

I want to run the MISRA checks on my code and when I click "Inspect Code" it shows only Clang-Tidy even though I have checked the MISRA setting in the Inspections menu

And this are the results of the Analysis

No MISRA. How can I enable them?

0
4 comments

Hello!

Is it a CMake project? If yes, what CMAKE_C_STANDARD is set in the project?

0

Yes, it is. I use CMAKE_C_STANDARD 11

0

Sorry for the delay in response. MISRA only applies to C89/90 and C99. Every MISRA C rule is for C90 or C99 or both, so C11 or higher won't see any warnings either.

0

Please sign in to leave a comment.