This might be related to the following ticket: https://trac.cppcheck.net/ticket/9937
enum E : int; void f(E e) { printf("e = %d\n", e); // warning: %d in format string (no. 1) requires 'int' but the argument type is 'E'. [invalidPrintfArgType_sint] }
This was solved in v2.3.
Log in to post a comment.
This might be related to the following ticket: https://trac.cppcheck.net/ticket/9937
This was solved in v2.3.