Error: COMPILER_WARNING: [#def1] qtbase-everywhere-src-5.15.17/src/testlib/qtestresult.cpp:282:53: warning[-Wformat=]: field width specifier ‘*’ expects argument of type ‘int’, but argument 6 has type ‘long unsigned int’ # 282 | qsnprintf(msg, maxMsgLen, "%s\n Actual (%s)%*s %s\n Expected (%s)%*s %s", # | ~^~ # | | # | int # 283 | failureMsg, # 284 | actual, qMax(len1, len2) - len1 + 1, ":", val1S ? val1S : "<null>", # | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | | # | long unsigned int # 280| size_t len1 = mbstowcs(nullptr, actual, maxMsgLen); // Last parameter is not ignored on QNX # 281| size_t len2 = mbstowcs(nullptr, expected, maxMsgLen); // (result is never larger than this). # 282|-> qsnprintf(msg, maxMsgLen, "%s\n Actual (%s)%*s %s\n Expected (%s)%*s %s", # 283| failureMsg, # 284| actual, qMax(len1, len2) - len1 + 1, ":", val1S ? val1S : "<null>", Error: COMPILER_WARNING: [#def2] qtbase-everywhere-src-5.15.17/src/testlib/qtestresult.cpp:282:77: warning[-Wformat=]: field width specifier ‘*’ expects argument of type ‘int’, but argument 10 has type ‘long unsigned int’ # 282 | qsnprintf(msg, maxMsgLen, "%s\n Actual (%s)%*s %s\n Expected (%s)%*s %s", # | ~^~ # | | # | int #...... # 285 | expected, qMax(len1, len2) - len2 + 1, ":", val2S ? val2S : "<null>"); # | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | | # | long unsigned int # 341 | formatFailMessage(msg, maxMsgLen, failureMsg, val1, val2, actual, expected); # | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 377 | return compareHelper(success, failureMsg, val1, val2, actual, expected, file, line); # | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 280| size_t len1 = mbstowcs(nullptr, actual, maxMsgLen); // Last parameter is not ignored on QNX # 281| size_t len2 = mbstowcs(nullptr, expected, maxMsgLen); // (result is never larger than this). # 282|-> qsnprintf(msg, maxMsgLen, "%s\n Actual (%s)%*s %s\n Expected (%s)%*s %s", # 283| failureMsg, # 284| actual, qMax(len1, len2) - len1 + 1, ":", val1S ? val1S : "<null>", Error: COMPILER_WARNING: [#def3] qtbase-everywhere-src-5.15.17/src/testlib/qtestresult.cpp: scope_hint: In function ‘void formatFailMessage(char*, size_t, const char*, const char*, const char*, const char*, const char*)’ qtbase-everywhere-src-5.15.17/src/testlib/qtestresult.cpp:299:53: warning[-Wformat=]: field width specifier ‘*’ expects argument of type ‘int’, but argument 6 has type ‘long unsigned int’ # 299 | qsnprintf(msg, maxMsgLen, "%s\n Actual (%s)%*s %s\n Expected (%s)%*s %s", # | ~^~ # | | # | int # 300 | failureMsg, # 301 | actual, qMax(len1, len2) - len1 + 1, ":", val1 ? val1 : "<null>", # | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | | # | long unsigned int # 297| size_t len1 = mbstowcs(nullptr, actual, maxMsgLen); // Last parameter is not ignored on QNX # 298| size_t len2 = mbstowcs(nullptr, expected, maxMsgLen); // (result is never larger than this). # 299|-> qsnprintf(msg, maxMsgLen, "%s\n Actual (%s)%*s %s\n Expected (%s)%*s %s", # 300| failureMsg, # 301| actual, qMax(len1, len2) - len1 + 1, ":", val1 ? val1 : "<null>", Error: COMPILER_WARNING: [#def4] qtbase-everywhere-src-5.15.17/src/testlib/qtestresult.cpp:299:77: warning[-Wformat=]: field width specifier ‘*’ expects argument of type ‘int’, but argument 10 has type ‘long unsigned int’ # 299 | qsnprintf(msg, maxMsgLen, "%s\n Actual (%s)%*s %s\n Expected (%s)%*s %s", # | ~^~ # | | # | int #...... # 302 | expected, qMax(len1, len2) - len2 + 1, ":", val2 ? val2 : "<null>"); # | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | | # | long unsigned int # 341 | formatFailMessage(msg, maxMsgLen, failureMsg, val1, val2, actual, expected); # | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 369 | return compareHelper(success, failureMsg, val1, val2, actual, expected, file, line); # | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 297| size_t len1 = mbstowcs(nullptr, actual, maxMsgLen); // Last parameter is not ignored on QNX # 298| size_t len2 = mbstowcs(nullptr, expected, maxMsgLen); // (result is never larger than this). # 299|-> qsnprintf(msg, maxMsgLen, "%s\n Actual (%s)%*s %s\n Expected (%s)%*s %s", # 300| failureMsg, # 301| actual, qMax(len1, len2) - len1 + 1, ":", val1 ? val1 : "<null>",
| analyzer-version-clippy | 1.92.0 |
| analyzer-version-cppcheck | 2.19.1 |
| analyzer-version-gcc | 16.0.0 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.92.0 |
| diffbase-analyzer-version-cppcheck | 2.19.1 |
| diffbase-analyzer-version-gcc | 16.0.0 |
| diffbase-analyzer-version-gcc-analyzer | 16.0.0 |
| diffbase-analyzer-version-shellcheck | 0.11.0 |
| diffbase-analyzer-version-unicontrol | 0.0.2 |
| diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| diffbase-exit-code | 0 |
| diffbase-host | ip-172-16-1-195.us-west-2.compute.internal |
| diffbase-known-false-positives | /usr/share/csmock/known-false-positives.js |
| diffbase-known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | qt5-qtbase-5.15.18-1.fc44 |
| diffbase-store-results-to | /tmp/tmpztjtp819/qt5-qtbase-5.15.18-1.fc44.tar.xz |
| diffbase-time-created | 2026-01-08 21:37:09 |
| diffbase-time-finished | 2026-01-08 22:04:11 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpztjtp819/qt5-qtbase-5.15.18-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpztjtp819/qt5-qtbase-5.15.18-1.fc44.src.rpm' |
| diffbase-tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-195.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | qt5-qtbase-5.15.17-5.fc43 |
| store-results-to | /tmp/tmpt1v1p8hp/qt5-qtbase-5.15.17-5.fc43.tar.xz |
| time-created | 2026-01-08 21:09:04 |
| time-finished | 2026-01-08 21:36:43 |
| title | Fixed findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpt1v1p8hp/qt5-qtbase-5.15.17-5.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpt1v1p8hp/qt5-qtbase-5.15.17-5.fc43.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |