Error: COMPILER_WARNING (CWE-569): [#def1] kf6-bluez-qt-6.8.0-build/bluez-qt-6.8.0/src/a2dp-codecs.c:9: included_from: Included from here. kf6-bluez-qt-6.8.0-build/bluez-qt-6.8.0/src/a2dp-codecs.c:53:29: warning[-Wparentheses]: suggest parentheses around arithmetic in operand of ‘|’ # 53 | AAC_SAMPLING_FREQ_44100 | # | ^ kf6-bluez-qt-6.8.0-build/bluez-qt-6.8.0/src/a2dp-codecs.h:124:23: note: in definition of macro ‘AAC_INIT_FREQUENCY’ # 124 | .frequency2 = f & 0x0f, # | ^ # 51| AAC_SAMPLING_FREQ_24000 | # 52| AAC_SAMPLING_FREQ_32000 |*/ # 53|-> AAC_SAMPLING_FREQ_44100 | # 54| AAC_SAMPLING_FREQ_48000) # 55| /*AAC_SAMPLING_FREQ_64000 | Error: COMPILER_WARNING (CWE-681): [#def2] kf6-bluez-qt-6.8.0-build/bluez-qt-6.8.0/src/a2dp-codecs.h:93:41: warning[-Woverflow]: unsigned conversion from ‘int’ to ‘unsigned char:4’ changes value from ‘24’ to ‘8’ # 93 | #define AAC_SAMPLING_FREQ_44100 0x0010 # | ^~~~~~ kf6-bluez-qt-6.8.0-build/bluez-qt-6.8.0/src/a2dp-codecs.h:124:23: note: in definition of macro ‘AAC_INIT_FREQUENCY’ # 124 | .frequency2 = f & 0x0f, # | ^ kf6-bluez-qt-6.8.0-build/bluez-qt-6.8.0/src/a2dp-codecs.c:53:5: note: in expansion of macro ‘AAC_SAMPLING_FREQ_44100’ # 53 | AAC_SAMPLING_FREQ_44100 | # | ^~~~~~~~~~~~~~~~~~~~~~~ # 91| #define AAC_SAMPLING_FREQ_24000 0x0040 # 92| #define AAC_SAMPLING_FREQ_32000 0x0020 # 93|-> #define AAC_SAMPLING_FREQ_44100 0x0010 # 94| #define AAC_SAMPLING_FREQ_48000 0x0008 # 95| #define AAC_SAMPLING_FREQ_64000 0x0004
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-148.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | kf6-bluez-qt-6.8.0-1.fc42 |
store-results-to | /tmp/tmpf4xr3xwi/kf6-bluez-qt-6.8.0-1.fc42.tar.xz |
time-created | 2024-11-13 00:38:54 |
time-finished | 2024-11-13 00:42:47 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpf4xr3xwi/kf6-bluez-qt-6.8.0-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpf4xr3xwi/kf6-bluez-qt-6.8.0-1.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |