Error: COMPILER_WARNING: [#def1] deepin-session-ui-6.0.22-build/dde-session-ui-6.0.22/dde-osd/tests/ut_audioprovider.cpp:20:7: warning[-Wodr]: type ‘struct PaintWidget’ violates the C++ One Definition Rule # 20 | class PaintWidget : public QWidget # | ^ deepin-session-ui-6.0.22-build/dde-session-ui-6.0.22/dde-osd/tests/ut_brightnessprovider.cpp:20:7: note: a different type is defined in another translation unit # 20 | class PaintWidget : public QWidget # | ^ deepin-session-ui-6.0.22-build/dde-session-ui-6.0.22/dde-osd/tests/ut_audioprovider.cpp:40:20: note: the first difference of corresponding definitions is field ‘m_provider’ # 40 | AudioProvider *m_provider; # | ^ deepin-session-ui-6.0.22-build/dde-session-ui-6.0.22/dde-osd/tests/ut_brightnessprovider.cpp:40:25: note: a field of same name but different type is defined in another translation unit # 40 | BrightnessProvider *m_provider; # | ^ deepin-session-ui-6.0.22-build/dde-session-ui-6.0.22/dde-osd/src/audioprovider.h:19:7: note: type name ‘AudioProvider’ should match type name ‘BrightnessProvider’ # 19 | class AudioProvider : public AbstractOSDProvider # | ^ deepin-session-ui-6.0.22-build/dde-session-ui-6.0.22/dde-osd/src/brightnessprovider.h:17:7: note: the incompatible type is defined here # 17 | class BrightnessProvider : public AbstractOSDProvider # | ^ # 18| }; # 19| # 20|-> class PaintWidget : public QWidget # 21| { # 22| Error: COMPILER_WARNING (CWE-704): [#def2] deepin-session-ui-6.0.22-build/dde-session-ui-6.0.22/dde-osd/tests/ut_common.cpp:24:18: warning[-Wlto-type-mismatch]: type of ‘paintEvent’ does not match original declaration # 24 | virtual void paintEvent(QPaintEvent *event) Q_DECL_OVERRIDE # | ^ deepin-session-ui-6.0.22-build/dde-session-ui-6.0.22/dde-osd/tests/ut_audioprovider.cpp:24:18: note: ‘paintEvent’ was previously declared here # 24 | virtual void paintEvent(QPaintEvent *event) Q_DECL_OVERRIDE # | ^ deepin-session-ui-6.0.22-build/dde-session-ui-6.0.22/dde-osd/tests/ut_audioprovider.cpp:24:18: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used # 22| # 23| public: # 24|-> virtual void paintEvent(QPaintEvent *event) Q_DECL_OVERRIDE # 25| { # 26| Q_UNUSED(event) Error: UNICONTROL_WARNING (CWE-94): [#def3] deepin-session-ui-6.0.22-build/dde-session-ui-6.0.22/translations/dde-session-ui_fr.ts:756: warning: bidirectional control characters: ['\u202a'] # 754| <location filename="../dde-wm-chooser/src/wmchooser.cpp" line="71"/> # 755| <source>Effect Mode: Have a delicate experience. Normal Mode: Enjoy the fast performance</source> # 756|-> <translation>Mode Esthétique : Pour un rendu esthétique amélioré. # 757| Mode Normal : Pour des performances élevées.</translation> # 758| </message>
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-208.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | deepin-session-ui-6.0.22-1.fc42 |
store-results-to | /tmp/tmp_7xzf6db/deepin-session-ui-6.0.22-1.fc42.tar.xz |
time-created | 2024-11-12 23:34:06 |
time-finished | 2024-11-12 23:38:09 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp_7xzf6db/deepin-session-ui-6.0.22-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp_7xzf6db/deepin-session-ui-6.0.22-1.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |