Error: COMPILER_WARNING: [#def1] kf6-kcoreaddons-6.0.0-build/kcoreaddons-6.0.0/src/lib/util/kformatprivate.cpp: scope_hint: In member function ‘QString KFormatPrivate::formatDecimalDuration(quint64, int) const’ kf6-kcoreaddons-6.0.0-build/kcoreaddons-6.0.0/src/lib/util/kformatprivate.cpp:389:72: warning[-Wdeprecated-enum-float-conversion]: arithmetic between enumeration type ‘TimeConstants’ and floating-point type ‘double’ is deprecated # 389 | return tr("%1 days").arg(m_locale.toString(msecs / (MSecsInDay * 1.0), 'f', decimalPlaces)); # | ~~~~~~~~~~~^~~~~ # 387| if (msecs >= MSecsInDay) { # 388| //: @item:intext %1 is a real number, e.g. 1.23 days # 389|-> return tr("%1 days").arg(m_locale.toString(msecs / (MSecsInDay * 1.0), 'f', decimalPlaces)); # 390| } else if (msecs >= MSecsInHour) { # 391| //: @item:intext %1 is a real number, e.g. 1.23 hours Error: COMPILER_WARNING: [#def2] kf6-kcoreaddons-6.0.0-build/kcoreaddons-6.0.0/src/lib/util/kformatprivate.cpp:392:74: warning[-Wdeprecated-enum-float-conversion]: arithmetic between enumeration type ‘TimeConstants’ and floating-point type ‘double’ is deprecated # 392 | return tr("%1 hours").arg(m_locale.toString(msecs / (MSecsInHour * 1.0), 'f', decimalPlaces)); # | ~~~~~~~~~~~~^~~~~ # 390| } else if (msecs >= MSecsInHour) { # 391| //: @item:intext %1 is a real number, e.g. 1.23 hours # 392|-> return tr("%1 hours").arg(m_locale.toString(msecs / (MSecsInHour * 1.0), 'f', decimalPlaces)); # 393| } else if (msecs >= MSecsInMinute) { # 394| //: @item:intext %1 is a real number, e.g. 1.23 minutes Error: COMPILER_WARNING: [#def3] kf6-kcoreaddons-6.0.0-build/kcoreaddons-6.0.0/src/lib/util/kformatprivate.cpp:395:78: warning[-Wdeprecated-enum-float-conversion]: arithmetic between enumeration type ‘TimeConstants’ and floating-point type ‘double’ is deprecated # 395 | return tr("%1 minutes").arg(m_locale.toString(msecs / (MSecsInMinute * 1.0), 'f', decimalPlaces)); # | ~~~~~~~~~~~~~~^~~~~ # 393| } else if (msecs >= MSecsInMinute) { # 394| //: @item:intext %1 is a real number, e.g. 1.23 minutes # 395|-> return tr("%1 minutes").arg(m_locale.toString(msecs / (MSecsInMinute * 1.0), 'f', decimalPlaces)); # 396| } else if (msecs >= MSecsInSecond) { # 397| //: @item:intext %1 is a real number, e.g. 1.23 seconds Error: COMPILER_WARNING: [#def4] kf6-kcoreaddons-6.0.0-build/kcoreaddons-6.0.0/src/lib/util/kformatprivate.cpp:398:78: warning[-Wdeprecated-enum-float-conversion]: arithmetic between enumeration type ‘TimeConstants’ and floating-point type ‘double’ is deprecated # 398 | return tr("%1 seconds").arg(m_locale.toString(msecs / (MSecsInSecond * 1.0), 'f', decimalPlaces)); # | ~~~~~~~~~~~~~~^~~~~ # 396| } else if (msecs >= MSecsInSecond) { # 397| //: @item:intext %1 is a real number, e.g. 1.23 seconds # 398|-> return tr("%1 seconds").arg(m_locale.toString(msecs / (MSecsInSecond * 1.0), 'f', decimalPlaces)); # 399| } # 400| //: @item:intext %1 is a whole number
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
diffbase-analyzer-version-clang | 18.1.7 |
diffbase-analyzer-version-cppcheck | 2.14.2 |
diffbase-analyzer-version-gcc | 14.1.1 |
diffbase-analyzer-version-gcc-analyzer | 14.1.1 |
diffbase-analyzer-version-shellcheck | 0.10.0 |
diffbase-enabled-plugins | clang, cppcheck, gcc, shellcheck |
diffbase-exit-code | 0 |
diffbase-host | ip-172-16-1-230.us-west-2.compute.internal |
diffbase-mock-config | fedora-41-x86_64 |
diffbase-project-name | kf6-kcoreaddons-6.3.0-1.fc41 |
diffbase-store-results-to | /tmp/tmpdeix0irt/kf6-kcoreaddons-6.3.0-1.fc41.tar.xz |
diffbase-time-created | 2024-07-03 14:02:59 |
diffbase-time-finished | 2024-07-03 14:05:32 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpdeix0irt/kf6-kcoreaddons-6.3.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpdeix0irt/kf6-kcoreaddons-6.3.0-1.fc41.src.rpm' |
diffbase-tool-version | csmock-3.5.3-1.el9 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-230.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | kf6-kcoreaddons-6.0.0-1.fc40 |
store-results-to | /tmp/tmp010vwyre/kf6-kcoreaddons-6.0.0-1.fc40.tar.xz |
time-created | 2024-07-03 13:59:31 |
time-finished | 2024-07-03 14:02:35 |
title | Fixed defects |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp010vwyre/kf6-kcoreaddons-6.0.0-1.fc40.tar.xz' '--gcc-analyze' '/tmp/tmp010vwyre/kf6-kcoreaddons-6.0.0-1.fc40.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |