Ticket #2064 (new enhancement)
Conditional macros not identified correctly
|Reported by:||quig149||Owned by:||noone|
Macros used in compound statements do not get used in evaluation. When requesting their evaluation using cppcheck's -D option, only the first macro is evaluated. Compound statements grouped with parenthesis are inconsistent on showing errors. Using the keyword defined() will sometimes cause automatic macro detection, but in most cases, they are not detected.