RULE-5-4
: Ignore macros defined on different compilation paths
#768
Labels
Difficulty-Medium
A false positive or false negative report which is expected to take 1-5 days effort to address
false positive/false negative
An issue related to observed false positives or false negatives.
Impact-High
Affected rules
RULE-5-4
Description
Macros defined on different compilation paths do not fall afoul of this rule - the first macro must be defined in the same compilation to trigger the rule. We should consider:
#ifdef
/#elsif
.#ifndef <MACRO_NAME>
check for the same name.Example
The text was updated successfully, but these errors were encountered: