Error: COMPILER_WARNING: [#def1] enchant2-2.6.7-build/enchant-2.6.7/providers/enchant_voikko.c: scope_hint: In function 'voikko_provider_request_dict' enchant2-2.6.7-build/enchant-2.6.7/providers/enchant_voikko.c:149:45: warning[-Wcalloc-transposed-args]: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument # 149 | EnchantDict *dict = calloc (sizeof (EnchantDict), 1); # | ^~~~~~~~~~~ enchant2-2.6.7-build/enchant-2.6.7/providers/enchant_voikko.c:149:45: note: earlier argument should specify number of elements, later size of each element # 147| } # 148| # 149|-> EnchantDict *dict = calloc (sizeof (EnchantDict), 1); # 150| if (dict == NULL) # 151| return NULL; Error: COMPILER_WARNING: [#def2] enchant2-2.6.7-build/enchant-2.6.7/providers/enchant_voikko.c: scope_hint: In function 'init_enchant_provider' enchant2-2.6.7-build/enchant-2.6.7/providers/enchant_voikko.c:182:53: warning[-Wcalloc-transposed-args]: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument # 182 | EnchantProvider *provider = calloc (sizeof (EnchantProvider), 1); # | ^~~~~~~~~~~~~~~ enchant2-2.6.7-build/enchant-2.6.7/providers/enchant_voikko.c:182:53: note: earlier argument should specify number of elements, later size of each element # 180| init_enchant_provider (void) # 181| { # 182|-> EnchantProvider *provider = calloc (sizeof (EnchantProvider), 1); # 183| if (provider == NULL) # 184| return NULL; Error: CPPCHECK_WARNING: [#def3] enchant2-2.6.7-build/enchant-2.6.7/src/lib.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def4] enchant2-2.6.7-build/enchant-2.6.7/src/pwl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
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-72.us-west-2.compute.internal |
diffbase-mock-config | fedora-41-x86_64 |
diffbase-project-name | enchant2-2.8.1-1.fc41 |
diffbase-store-results-to | /tmp/tmppqmnzrbh/enchant2-2.8.1-1.fc41.tar.xz |
diffbase-time-created | 2024-07-03 12:32:44 |
diffbase-time-finished | 2024-07-03 12:35:02 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmppqmnzrbh/enchant2-2.8.1-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmppqmnzrbh/enchant2-2.8.1-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-72.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | enchant2-2.6.7-1.fc40 |
store-results-to | /tmp/tmpziqdd0tj/enchant2-2.6.7-1.fc40.tar.xz |
time-created | 2024-07-03 12:29:40 |
time-finished | 2024-07-03 12:32:28 |
title | Fixed defects |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpziqdd0tj/enchant2-2.6.7-1.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpziqdd0tj/enchant2-2.6.7-1.fc40.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |