cppcheck icon indicating copy to clipboard operation
cppcheck copied to clipboard

fixed #14331 - suppressions with line number not reported as unmatched

Open firewave opened this issue 4 weeks ago • 1 comments

firewave avatar Dec 15 '25 01:12 firewave

The cfg test failures are caused by missing configurations.

firewave avatar Dec 15 '25 12:12 firewave

The Python test is passing locally for me - needs more looking into.

firewave avatar Dec 15 '25 12:12 firewave

The cfg test failures are caused by missing configurations.

See at least https://trac.cppcheck.net/ticket/1059#comment:11 among possibly other tickets.

firewave avatar Dec 15 '25 12:12 firewave

The Python test is passing locally for me - needs more looking into.

Ah, they fail only with -j2.

firewave avatar Dec 15 '25 12:12 firewave

The cfg test failures are caused by missing configurations.

See at least https://trac.cppcheck.net/ticket/1059#comment:11 among possibly other tickets.

Actually this is related to __cplusplus already being defined (always). When macros are flagged as built-in (see https://github.com/danmar/simplecpp/pull/547) we might be able to add some handling for this.

I filed https://trac.cppcheck.net/ticket/14333 about it.

firewave avatar Dec 15 '25 12:12 firewave

This needs more looking into regarding inline suppressions in inactive code.

firewave avatar Dec 15 '25 13:12 firewave