The most recent content from our members.
I am running static analysis tool on C code and getting a MISRA2012 Rule 5.5b violation: The names of macros that exist prior to preprocessing should be distinct from the identifiers that exist after preprocessing (c99) [MISRAC2012-RULE_5_5-b]. It appears the cpptestcli is processing both the #ifdef clause and the #else…
I am trying to generate unit tests of a module with a "#ifndef" preprocessor directive in the code. It looks like that the code within the "#ifndef" is excluded even if the symbol is not defined and the identifier unidentified error is displayed because type definitions and variables are not parsed. Am I missing something?…
It looks like you're new here. Sign in or register to get started.