Error: COMPILER_WARNING: [#def1] [important] enchant-2.8.14/build_native/lib/api.vala:35:2: error[error]: 'INSTALLPREFIX' undeclared (first use in this function) Error: COMPILER_WARNING: [#def2] enchant-2.8.14/build_native/lib/broker.c: scope_hint: In function 'normalize_dictionary_tag' enchant-2.8.14/build_native/lib/broker.c:530:38: warning[-Wunused-but-set-variable=]: variable '_tmp9_' set but not used # 530 | gint _tmp9_; # | ^~~~~~ # 528| if (!_tmp8_) { # 529| #line 530 "broker.c" # 530|-> gint _tmp9_; # 531| #line 46 "broker.vala" # 532| i = i + 1; Error: COMPILER_WARNING: [#def3] enchant-2.8.14/build_native/lib/broker.c:615:30: warning[-Wunused-but-set-variable=]: variable '_tmp22_' set but not used # 615 | gint _tmp22_; # | ^~~~~~~ # 613| #line 614 "broker.c" # 614| { # 615|-> gint _tmp22_; # 616| gboolean _tmp23_ = FALSE; # 617| #line 56 "broker.vala" Error: COMPILER_WARNING: [#def4] enchant-2.8.14/build_native/lib/broker.c:632:46: warning[-Wunused-but-set-variable=]: variable '_tmp24_' set but not used # 632 | gint _tmp24_; # | ^~~~~~~ # 630| if (!_tmp23_) { # 631| #line 632 "broker.c" # 632|-> gint _tmp24_; # 633| #line 56 "broker.vala" # 634| i = i + 1; Error: COMPILER_WARNING: [#def5] enchant-2.8.14/build_native/lib/broker.c:1787:22: warning[-Wunused-but-set-variable=]: variable '_tokens_size_' set but not used # 1787 | gchar** _tmp10_; # | ^~~~~~~~~~~ # 1785| const gchar* _tmp8_; # 1786| gchar** _tmp9_; # 1787|-> gchar** _tmp10_; # 1788| gint tokens_length1; # 1789| gint _tokens_size_; Error: COMPILER_WARNING (CWE-563): [#def6] enchant-2.8.14/build_native/lib/broker.c: scope_hint: In function 'enchant_broker_get_ordered_providers' enchant-2.8.14/build_native/lib/broker.c:1808:30: warning[-Wunused-variable]: unused variable '_token_collection_size_' # 1808 | gchar** token_collection = NULL; # | ^~~~~~~~~~~~~~~~~~~~~~~ # 1806| #line 1805 "broker.c" # 1807| { # 1808|-> gchar** token_collection = NULL; # 1809| gint token_collection_length1 = 0; # 1810| gint _token_collection_size_ = 0; Error: COMPILER_WARNING: [#def7] enchant-2.8.14/build_native/lib/broker.c:2141:14: warning[-Wunused-but-set-variable=]: variable '_tags_size_' set but not used # 2141 | gchar** _tmp3_; # | ^~~~~~~~~~ # 2139| gchar** tags = NULL; # 2140| gchar** _tmp2_; # 2141|-> gchar** _tmp3_; # 2142| gint tags_length1; # 2143| gint _tags_size_; Error: COMPILER_WARNING: [#def8] enchant-2.8.14/build_native/lib/broker.c:2153:14: warning[-Wunused-but-set-variable=]: variable '_tmp26__length1' set but not used # 2153 | EnchantCompositeDict* _tmp25_; # | ^~~~~~~~~~~~~~~ # 2151| GSList* _tmp23_; # 2152| EnchantCompositeDict* _tmp24_; # 2153|-> EnchantCompositeDict* _tmp25_; # 2154| gchar** _tmp26_; # 2155| gint _tmp26__length1; Error: COMPILER_WARNING (CWE-563): [#def9] enchant-2.8.14/build_native/lib/broker.c: scope_hint: In function 'enchant_broker_request_dict_with_pwl' enchant-2.8.14/build_native/lib/broker.c:2186:22: warning[-Wunused-variable]: unused variable '_tag_collection_size_' # 2186 | gchar** tag_collection = NULL; # | ^~~~~~~~~~~~~~~~~~~~~ # 2184| #line 2183 "broker.c" # 2185| { # 2186|-> gchar** tag_collection = NULL; # 2187| gint tag_collection_length1 = 0; # 2188| gint _tag_collection_size_ = 0; Error: COMPILER_WARNING (CWE-563): [#def10] enchant-2.8.14/build_native/lib/broker.c:2234:22: warning[-Wunused-variable]: unused variable '_tag_collection_size_' # 2234 | gchar** tag_collection = NULL; # | ^~~~~~~~~~~~~~~~~~~~~ # 2232| #line 2231 "broker.c" # 2233| { # 2234|-> gchar** tag_collection = NULL; # 2235| gint tag_collection_length1 = 0; # 2236| gint _tag_collection_size_ = 0; Error: COMPILER_WARNING (CWE-563): [#def11] enchant-2.8.14/build_native/lib/broker.c: scope_hint: In function 'enchant_broker_list_dicts' enchant-2.8.14/build_native/lib/broker.c:2585:46: warning[-Wunused-variable]: unused variable '_tag_collection_size_' # 2585 | gchar** tag_collection = NULL; # | ^~~~~~~~~~~~~~~~~~~~~ # 2583| #line 2582 "broker.c" # 2584| { # 2585|-> gchar** tag_collection = NULL; # 2586| gint tag_collection_length1 = 0; # 2587| gint _tag_collection_size_ = 0; Error: COMPILER_WARNING (CWE-563): [#def12] enchant-2.8.14/build_native/lib/broker.c: scope_hint: In function 'enchant_broker_instance_init' enchant-2.8.14/build_native/lib/broker.c:3120:47: warning[-Wunused-parameter]: unused parameter 'self' # 3120 | # | ^ # 3118| #line 3117 "broker.c" # 3119| } # 3120|-> # 3121| static void # 3122| enchant_broker_instance_init (EnchantBroker * self) Error: COMPILER_WARNING (CWE-563): [#def13] enchant-2.8.14/build_native/lib/composite.c: scope_hint: In function 'enchant_composite_dict_class_init' enchant-2.8.14/build_native/lib/composite.c:363:45: warning[-Wunused-parameter]: unused parameter 'klass_data' # 363 | gpointer klass_data) # | ~~~~~~~~~^~~~~~~~~~ # 361| static void # 362| enchant_composite_dict_class_init (EnchantCompositeDictClass * klass, # 363|-> gpointer klass_data) # 364| { # 365| #line 30 "composite.vala" Error: COMPILER_WARNING (CWE-563): [#def14] enchant-2.8.14/build_native/lib/composite.c: scope_hint: In function 'enchant_composite_dict_instance_init' enchant-2.8.14/build_native/lib/composite.c:376:48: warning[-Wunused-parameter]: unused parameter 'klass' # 376 | gpointer klass) # | ~~~~~~~~~^~~~~ # 374| static void # 375| enchant_composite_dict_instance_init (EnchantCompositeDict * self, # 376|-> gpointer klass) # 377| { # 378| #line 30 "composite.vala" Error: COMPILER_WARNING (CWE-704): [#def15] enchant-2.8.14/build_native/lib/composite.c:410:13: warning[-Wdiscarded-qualifiers]: argument 2 of '__atomic_load' discards 'volatile' qualifier # 408| { # 409| static volatile gsize enchant_composite_dict_type_id__once = 0; # 410|-> if (g_once_init_enter (&enchant_composite_dict_type_id__once)) { # 411| GType enchant_composite_dict_type_id; # 412| enchant_composite_dict_type_id = enchant_composite_dict_get_type_once (); Error: COMPILER_WARNING: [#def16] enchant-2.8.14/build_native/lib/composite.c:638:38: warning[-Wunused-but-set-variable=]: variable '_suggs_size_' set but not used # 638 | gint _suggs_size_; # | ^~~~~~~~~~~~ # 636| gchar** _tmp7_; # 637| gint suggs_length1; # 638|-> gint _suggs_size_; # 639| gchar** _tmp8_; # 640| gint _tmp8__length1; Error: COMPILER_WARNING: [#def17] enchant-2.8.14/build_native/lib/composite.c:640:38: warning[-Wunused-but-set-variable=]: variable '_tmp8__length1' set but not used # 640 | gint _tmp8__length1; # | ^~~~~~~~~~~~~~ # 638| gint _suggs_size_; # 639| gchar** _tmp8_; # 640|-> gint _tmp8__length1; # 641| #line 72 "composite.vala" # 642| _tmp5_ = dict; Error: COMPILER_WARNING: [#def18] enchant-2.8.14/build_native/lib/composite.c:658:49: warning[-Wunused-but-set-variable=]: variable '_tmp9_' set but not used # 658 | gchar** _tmp9_; # | ^~~~~~ # 656| if (_tmp8_ != NULL) { # 657| #line 658 "composite.c" # 658|-> gchar** _tmp9_; # 659| gint _tmp9__length1; # 660| #line 74 "composite.vala" Error: COMPILER_WARNING: [#def19] enchant-2.8.14/build_native/lib/composite.c:681:81: warning[-Wunused-but-set-variable=]: variable '_tmp12_' set but not used # 681 | gchar** _tmp12_; # | ^~~~~~~ # 679| while (TRUE) { # 680| #line 681 "composite.c" # 681|-> gchar** _tmp12_; # 682| gint _tmp12__length1; # 683| GArray* _tmp13_; Error: COMPILER_WARNING: [#def20] enchant-2.8.14/build_native/lib/composite.c: scope_hint: In function 'composite_dict_suggest' enchant-2.8.14/build_native/lib/composite.c:685:78: warning[-Wunused-but-set-variable=]: variable '_tmp14__length1' set but not used # 685 | gint _tmp14__length1; # | ^~~~~~~~~~~~~~~ # 683| GArray* _tmp13_; # 684| gchar** _tmp14_; # 685|-> gint _tmp14__length1; # 686| const gchar* _tmp15_; # 687| gchar* _tmp16_; Error: COMPILER_WARNING (CWE-843): [#def21] enchant-2.8.14/build_native/lib/composite.vala:82:10: warning[-Wincompatible-pointer-types]: assignment to 'gchar **' {{aka 'char **'}} from incompatible pointer type 'void **' Error: COMPILER_WARNING (CWE-704): [#def22] enchant-2.8.14/build_native/lib/dict.c:2080:6: warning[-Wdiscarded-qualifiers]: argument 2 of '__atomic_load' discards 'volatile' qualifier Error: COMPILER_WARNING (CWE-563): [#def23] enchant-2.8.14/build_native/lib/provider-dict.c: scope_hint: In function 'value_enchant_provider_dict_collect_value' enchant-2.8.14/build_native/lib/provider-dict.c:301:50: warning[-Wunused-parameter]: unused parameter 'n_collect_values' # 301 | guint n_collect_values, # | ~~~~~~^~~~~~~~~~~~~~~~ # 299| static gchar* # 300| value_enchant_provider_dict_collect_value (GValue* value, # 301|-> guint n_collect_values, # 302| GTypeCValue* collect_values, # 303| guint collect_flags) Error: COMPILER_WARNING (CWE-563): [#def24] enchant-2.8.14/build_native/lib/provider-dict.c:303:50: warning[-Wunused-parameter]: unused parameter 'collect_flags' # 303 | guint collect_flags) # | ~~~~~~^~~~~~~~~~~~~ # 301| guint n_collect_values, # 302| GTypeCValue* collect_values, # 303|-> guint collect_flags) # 304| { # 305| #line 45 "provider-dict.vala" Error: COMPILER_WARNING (CWE-563): [#def25] enchant-2.8.14/build_native/lib/provider-dict.c: scope_hint: In function 'value_enchant_provider_dict_lcopy_value' enchant-2.8.14/build_native/lib/provider-dict.c:335:48: warning[-Wunused-parameter]: unused parameter 'n_collect_values' # 335 | guint n_collect_values, # | ~~~~~~^~~~~~~~~~~~~~~~ # 333| static gchar* # 334| value_enchant_provider_dict_lcopy_value (const GValue* value, # 335|-> guint n_collect_values, # 336| GTypeCValue* collect_values, # 337| guint collect_flags) Error: COMPILER_WARNING (CWE-563): [#def26] enchant-2.8.14/build_native/lib/provider-dict.c: scope_hint: In function 'enchant_provider_dict_class_init' enchant-2.8.14/build_native/lib/provider-dict.c:461:44: warning[-Wunused-parameter]: unused parameter 'klass_data' # 461 | gpointer klass_data) # | ~~~~~~~~~^~~~~~~~~~ # 459| static void # 460| enchant_provider_dict_class_init (EnchantProviderDictClass * klass, # 461|-> gpointer klass_data) # 462| { # 463| #line 45 "provider-dict.vala" Error: COMPILER_WARNING (CWE-563): [#def27] enchant-2.8.14/build_native/lib/provider-dict.c: scope_hint: In function 'enchant_provider_dict_instance_init' enchant-2.8.14/build_native/lib/provider-dict.c:472:47: warning[-Wunused-parameter]: unused parameter 'klass' # 472 | gpointer klass) # | ~~~~~~~~~^~~~~ # 470| static void # 471| enchant_provider_dict_instance_init (EnchantProviderDict * self, # 472|-> gpointer klass) # 473| { # 474| #line 45 "provider-dict.vala" Error: COMPILER_WARNING (CWE-704): [#def28] enchant-2.8.14/build_native/lib/provider-dict.c:530:13: warning[-Wdiscarded-qualifiers]: argument 2 of '__atomic_load' discards 'volatile' qualifier # 528| { # 529| static volatile gsize enchant_provider_dict_type_id__once = 0; # 530|-> if (g_once_init_enter (&enchant_provider_dict_type_id__once)) { # 531| GType enchant_provider_dict_type_id; # 532| enchant_provider_dict_type_id = enchant_provider_dict_get_type_once (); Error: COMPILER_WARNING (CWE-563): [#def29] enchant-2.8.14/build_native/lib/provider.c: scope_hint: In function '_enchant_provider_dictionary_exists' enchant-2.8.14/build_native/lib/provider.c:593:8: warning[-Wunused-variable]: unused variable '_dict_collection_size_' # 593 | #line 590 "provider.c" # | ^~~~~~~~~~~~~~~ # 591| #line 138 "provider.vala" # 592| _tmp4_ = _tmp2_ (self, &_tmp3_); # 593|-> #line 590 "provider.c" # 594| { # 595| gchar** dict_collection = NULL; Error: COMPILER_WARNING (CWE-563): [#def30] enchant-2.8.14/build_native/lib/provider.c: scope_hint: In function 'value_enchant_provider_collect_value' enchant-2.8.14/build_native/lib/provider.c:735:45: warning[-Wunused-parameter]: unused parameter 'n_collect_values' # 735 | } # | ^ # 733| return value->data[0].v_pointer; # 734| #line 731 "provider.c" # 735|-> } # 736| # 737| static gchar* Error: COMPILER_WARNING (CWE-563): [#def31] enchant-2.8.14/build_native/lib/provider.c:737:45: warning[-Wunused-parameter]: unused parameter 'collect_flags' # 737 | static gchar* # | ^ # 735| } # 736| # 737|-> static gchar* # 738| value_enchant_provider_collect_value (GValue* value, # 739| guint n_collect_values, Error: COMPILER_WARNING (CWE-563): [#def32] enchant-2.8.14/build_native/lib/provider.c: scope_hint: In function 'value_enchant_provider_lcopy_value' enchant-2.8.14/build_native/lib/provider.c:769:43: warning[-Wunused-parameter]: unused parameter 'n_collect_values' # 769 | } # | ^ # 767| return NULL; # 768| #line 765 "provider.c" # 769|-> } # 770| # 771| static gchar* Error: COMPILER_WARNING (CWE-563): [#def33] enchant-2.8.14/build_native/lib/provider.c: scope_hint: In function 'enchant_provider_class_init' enchant-2.8.14/build_native/lib/provider.c:895:39: warning[-Wunused-parameter]: unused parameter 'klass_data' # 895 | } # | ^ # 893| #line 890 "provider.c" # 894| } # 895|-> } # 896| # 897| static void Error: COMPILER_WARNING (CWE-563): [#def34] enchant-2.8.14/build_native/lib/provider.c: scope_hint: In function 'enchant_provider_instance_init' enchant-2.8.14/build_native/lib/provider.c:906:42: warning[-Wunused-parameter]: unused parameter 'klass' # 906 | } # | ^ # 904| ((EnchantProviderClass *) klass)->finalize = enchant_provider_finalize; # 905| #line 902 "provider.c" # 906|-> } # 907| # 908| static void Error: COMPILER_WARNING (CWE-704): [#def35] enchant-2.8.14/build_native/lib/provider.c:971:6: warning[-Wdiscarded-qualifiers]: argument 2 of '__atomic_load' discards 'volatile' qualifier # 969| } # 970| # 971|-> GType # 972| enchant_provider_get_type (void) # 973| { Error: COMPILER_WARNING: [#def36] [important] enchant-2.8.14/build_native/lib/provider.vala:62:34: error[error]: 'INSTALLPREFIX' undeclared (first use in this function) Error: COMPILER_WARNING: [#def37] enchant-2.8.14/build_native/lib/pwl.c:1054:23: warning[-Wunused-but-set-variable=]: variable 'length' set but not used # 1054 | gsize length = 0UL; # | ^~~~~~ # 1052| #line 1053 "pwl.c" # 1053| gchar* contents = NULL; # 1054|-> gsize length = 0UL; # 1055| FILE* f = NULL; # 1056| const gchar* _tmp9_; Error: COMPILER_WARNING: [#def38] enchant-2.8.14/build_native/lib/pwl.c: scope_hint: In function 'enchant_pwl_remove' enchant-2.8.14/build_native/lib/pwl.c:1359:78: warning[-Wunused-but-set-variable=]: variable '_tmp55_' set but not used # 1359 | gint _tmp55_; # | ^~~~~~~ # 1357| gboolean _tmp52_ = FALSE; # 1358| const gchar* _tmp53_; # 1359|-> gint _tmp55_; # 1360| #line 211 "pwl.vala" # 1361| _tmp53_ = contents; Error: COMPILER_WARNING: [#def39] enchant-2.8.14/build_native/lib/pwl.c: scope_hint: In function 'enchant_pwl_refresh_from_file' enchant-2.8.14/build_native/lib/pwl.c:1820:39: warning[-Wunused-but-set-variable=]: variable '_tmp14_' set but not used # 1820 | gsize _tmp14_; # | ^~~~~~~ # 1818| if (!_tmp13_) { # 1819| #line 1820 "pwl.c" # 1820|-> gsize _tmp14_; # 1821| #line 273 "pwl.vala" # 1822| line_number = line_number + 1; Error: COMPILER_WARNING (CWE-563): [#def40] enchant-2.8.14/build_native/lib/pwl.c: scope_hint: In function 'value_enchant_pwl_collect_value' enchant-2.8.14/build_native/lib/pwl.c:1983:40: warning[-Wunused-parameter]: unused parameter 'n_collect_values' # 1983 | guint n_collect_values, # | ~~~~~~^~~~~~~~~~~~~~~~ # 1981| static gchar* # 1982| value_enchant_pwl_collect_value (GValue* value, # 1983|-> guint n_collect_values, # 1984| GTypeCValue* collect_values, # 1985| guint collect_flags) Error: COMPILER_WARNING (CWE-563): [#def41] enchant-2.8.14/build_native/lib/pwl.c:1985:40: warning[-Wunused-parameter]: unused parameter 'collect_flags' # 1985 | guint collect_flags) # | ~~~~~~^~~~~~~~~~~~~ # 1983| guint n_collect_values, # 1984| GTypeCValue* collect_values, # 1985|-> guint collect_flags) # 1986| { # 1987| #line 124 "pwl.vala" Error: COMPILER_WARNING (CWE-563): [#def42] enchant-2.8.14/build_native/lib/pwl.c: scope_hint: In function 'value_enchant_pwl_lcopy_value' enchant-2.8.14/build_native/lib/pwl.c:2017:38: warning[-Wunused-parameter]: unused parameter 'n_collect_values' # 2017 | guint n_collect_values, # | ~~~~~~^~~~~~~~~~~~~~~~ # 2015| static gchar* # 2016| value_enchant_pwl_lcopy_value (const GValue* value, # 2017|-> guint n_collect_values, # 2018| GTypeCValue* collect_values, # 2019| guint collect_flags) Error: COMPILER_WARNING (CWE-563): [#def43] enchant-2.8.14/build_native/lib/pwl.c: scope_hint: In function 'enchant_pwl_class_init' enchant-2.8.14/build_native/lib/pwl.c:2143:34: warning[-Wunused-parameter]: unused parameter 'klass_data' # 2143 | gpointer klass_data) # | ~~~~~~~~~^~~~~~~~~~ # 2141| static void # 2142| enchant_pwl_class_init (EnchantPWLClass * klass, # 2143|-> gpointer klass_data) # 2144| { # 2145| #line 124 "pwl.vala" Error: COMPILER_WARNING (CWE-563): [#def44] enchant-2.8.14/build_native/lib/pwl.c: scope_hint: In function 'enchant_pwl_instance_init' enchant-2.8.14/build_native/lib/pwl.c:2154:37: warning[-Wunused-parameter]: unused parameter 'klass' # 2154 | gpointer klass) # | ~~~~~~~~~^~~~~ # 2152| static void # 2153| enchant_pwl_instance_init (EnchantPWL * self, # 2154|-> gpointer klass) # 2155| { # 2156| GHashFunc _tmp0_; Error: COMPILER_WARNING (CWE-704): [#def45] enchant-2.8.14/build_native/lib/pwl.c:2204:13: warning[-Wdiscarded-qualifiers]: argument 2 of '__atomic_load' discards 'volatile' qualifier # 2202| { # 2203| static volatile gsize enchant_pwl_type_id__once = 0; # 2204|-> if (g_once_init_enter (&enchant_pwl_type_id__once)) { # 2205| GType enchant_pwl_type_id; # 2206| enchant_pwl_type_id = enchant_pwl_get_type_once (); Error: COMPILER_WARNING (CWE-563): [#def46] enchant-2.8.14/build_native/lib/pwl.c: scope_hint: In function 'check_impl' enchant-2.8.14/build_native/lib/pwl.c:2242:20: warning[-Wunused-parameter]: unused parameter 'len' # 2242 | size_t len) # | ~~~~~~~^~~ # 2240| check_impl (EnchantProviderDict* me, # 2241| const gchar* word, # 2242|-> size_t len) # 2243| { # 2244| gint result; Error: COMPILER_WARNING (CWE-563): [#def47] enchant-2.8.14/build_native/lib/pwl.c: scope_hint: In function 'suggest_impl' enchant-2.8.14/build_native/lib/pwl.c:2259:22: warning[-Wunused-parameter]: unused parameter 'len' # 2259 | size_t len, # | ~~~~~~~^~~ # 2257| suggest_impl (EnchantProviderDict* me, # 2258| const gchar* word, # 2259|-> size_t len, # 2260| size_t* result_length1) # 2261| { Error: COMPILER_WARNING (CWE-563): [#def48] enchant-2.8.14/build_native/lib/pwl.c: scope_hint: In function 'enchant_pwl_dict_class_init' enchant-2.8.14/build_native/lib/pwl.c:2336:39: warning[-Wunused-parameter]: unused parameter 'klass_data' # 2336 | gpointer klass_data) # | ~~~~~~~~~^~~~~~~~~~ # 2334| static void # 2335| enchant_pwl_dict_class_init (EnchantPwlDictClass * klass, # 2336|-> gpointer klass_data) # 2337| { # 2338| #line 299 "pwl.vala" Error: COMPILER_WARNING (CWE-563): [#def49] enchant-2.8.14/build_native/lib/pwl.c: scope_hint: In function 'enchant_pwl_dict_instance_init' enchant-2.8.14/build_native/lib/pwl.c:2344:50: warning[-Wunused-parameter]: unused parameter 'self' # 2344 | enchant_pwl_dict_instance_init (EnchantPwlDict * self, # | ~~~~~~~~~~~~~~~~~^~~~ # 2342| # 2343| static void # 2344|-> enchant_pwl_dict_instance_init (EnchantPwlDict * self, # 2345| gpointer klass) # 2346| { Error: COMPILER_WARNING (CWE-563): [#def50] enchant-2.8.14/build_native/lib/pwl.c:2345:42: warning[-Wunused-parameter]: unused parameter 'klass' # 2345 | gpointer klass) # | ~~~~~~~~~^~~~~ # 2343| static void # 2344| enchant_pwl_dict_instance_init (EnchantPwlDict * self, # 2345|-> gpointer klass) # 2346| { # 2347| } Error: COMPILER_WARNING (CWE-704): [#def51] enchant-2.8.14/build_native/lib/pwl.c:2362:13: warning[-Wdiscarded-qualifiers]: argument 2 of '__atomic_load' discards 'volatile' qualifier # 2360| { # 2361| static volatile gsize enchant_pwl_dict_type_id__once = 0; # 2362|-> if (g_once_init_enter (&enchant_pwl_dict_type_id__once)) { # 2363| GType enchant_pwl_dict_type_id; # 2364| enchant_pwl_dict_type_id = enchant_pwl_dict_get_type_once (); Error: COMPILER_WARNING: [#def52] [important] enchant-2.8.14/build_native/libgnu/fcntl.h:89:3: error[error]: #error "Please include config.h first." # 87| /* This file uses GNULIB_POSIXCHECK, HAVE_RAW_DECL_*. */ # 88| #if !_GL_CONFIG_H_INCLUDED # 89|-> #error "Please include config.h first." # 90| #endif # 91| Error: COMPILER_WARNING: [#def53] [important] enchant-2.8.14/build_native/libgnu/sys/file.h:38:3: error[error]: #error "Please include config.h first." # 36| /* This file uses GNULIB_POSIXCHECK, HAVE_RAW_DECL_*. */ # 37| #if !_GL_CONFIG_H_INCLUDED # 38|-> #error "Please include config.h first." # 39| #endif # 40| Error: COMPILER_WARNING: [#def54] [important] enchant-2.8.14/build_native/libgnu/sys/types.h:28:3: error[error]: #error "Please include config.h first." # 26| included before. */ # 27| #if !_GL_CONFIG_H_INCLUDED # 28|-> #error "Please include config.h first." # 29| #endif # 30| Error: COMPILER_WARNING (CWE-563): [#def55] enchant-2.8.14/build_native/src/enchant.c: scope_hint: At top level enchant-2.8.14/build_native/src/enchant.c:104:20: warning[-Wunused-variable]: ‘main_properties’ defined but not used # 104 | static GParamSpec* main_properties[MAIN_NUM_PROPERTIES]; # | ^~~~~~~~~~~~~~~ # 102| MAIN_NUM_PROPERTIES # 103| }; # 104|-> static GParamSpec* main_properties[MAIN_NUM_PROPERTIES]; # 105| #define _enchant_broker_free0(var) ((var == NULL) ? NULL : (var = (enchant_broker_free (var), NULL))) # 106| #define _token_unref0(var) ((var == NULL) ? NULL : (var = (token_unref (var), NULL))) Error: COMPILER_WARNING (CWE-704): [#def56] enchant-2.8.14/build_native/src/enchant.c:239:13: warning[-Wdiscarded-qualifiers]: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier # 237| { # 238| static volatile gsize mode_type_id__once = 0; # 239|-> if (g_once_init_enter (&mode_type_id__once)) { # 240| GType mode_type_id; # 241| mode_type_id = mode_get_type_once (); Error: COMPILER_WARNING: [#def57] enchant-2.8.14/build_native/src/enchant.c: scope_hint: In function ‘print_utf’ enchant-2.8.14/build_native/src/enchant.c:477:22: warning[-Wunused-but-set-variable=]: variable ‘_buf_size_’ set but not used # 477 | gint _buf_size_; # | ^~~~~~~~~~ # 475| guint8* buf = NULL; # 476| gint buf_length1; # 477|-> gint _buf_size_; # 478| FILE* _tmp4_; # 479| guint8* _tmp5_; Error: COMPILER_WARNING: [#def58] enchant-2.8.14/build_native/src/enchant.c:620:22: warning[-Wunused-but-set-variable=]: variable ‘_suggs_size_’ set but not used # 620 | gint _suggs_size_; # | ^~~~~~~~~~~~ # 618| gchar** _tmp3_; # 619| gint suggs_length1; # 620|-> gint _suggs_size_; # 621| gboolean _tmp4_ = FALSE; # 622| gchar** _tmp5_; Error: COMPILER_WARNING: [#def59] enchant-2.8.14/build_native/src/enchant.c:623:22: warning[-Wunused-but-set-variable=]: variable ‘_tmp5__length1’ set but not used # 623 | gint _tmp5__length1; # | ^~~~~~~~~~~~~~ # 621| gboolean _tmp4_ = FALSE; # 622| gchar** _tmp5_; # 623|-> gint _tmp5__length1; # 624| #line 93 "enchant.vala" # 625| _tmp0_ = strlen (word); Error: COMPILER_WARNING: [#def60] enchant-2.8.14/build_native/src/enchant.c: scope_hint: In function ‘do_mode_a’ enchant-2.8.14/build_native/src/enchant.c:646:33: warning[-Wunused-but-set-variable=]: variable ‘_tmp6_’ set but not used # 646 | gchar** _tmp6_; # | ^~~~~~ # 644| #line 645 "enchant.c" # 645| } else { # 646|-> gchar** _tmp6_; # 647| gint _tmp6__length1; # 648| #line 94 "enchant.vala" Error: COMPILER_WARNING: [#def61] enchant-2.8.14/build_native/src/enchant.c:672:33: warning[-Wunused-but-set-variable=]: variable ‘_tmp7_’ set but not used # 672 | gchar** _tmp7_; # | ^~~~~~ # 670| #line 671 "enchant.c" # 671| } else { # 672|-> gchar** _tmp7_; # 673| gint _tmp7__length1; # 674| FILE* _tmp16_; Error: COMPILER_WARNING: [#def62] enchant-2.8.14/build_native/src/enchant.c:704:57: warning[-Wunused-but-set-variable=]: variable ‘_tmp10_’ set but not used # 704 | gchar** _tmp10_; # | ^~~~~~~ # 702| while (TRUE) { # 703| #line 704 "enchant.c" # 704|-> gchar** _tmp10_; # 705| gint _tmp10__length1; # 706| FILE* _tmp11_; Error: COMPILER_WARNING: [#def63] enchant-2.8.14/build_native/src/enchant.c:708:54: warning[-Wunused-but-set-variable=]: variable ‘_tmp12__length1’ set but not used # 708 | gint _tmp12__length1; # | ^~~~~~~~~~~~~~~ # 706| FILE* _tmp11_; # 707| gchar** _tmp12_; # 708|-> gint _tmp12__length1; # 709| const gchar* _tmp13_; # 710| gchar** _tmp14_; Error: COMPILER_WARNING: [#def64] enchant-2.8.14/build_native/src/enchant.c:710:57: warning[-Wunused-but-set-variable=]: variable ‘_tmp14_’ set but not used # 710 | gchar** _tmp14_; # | ^~~~~~~ # 708| gint _tmp12__length1; # 709| const gchar* _tmp13_; # 710|-> gchar** _tmp14_; # 711| gint _tmp14__length1; # 712| #line 107 "enchant.vala" Error: COMPILER_WARNING (CWE-563): [#def65] enchant-2.8.14/build_native/src/enchant.c: scope_hint: In function ‘value_token_collect_value’ enchant-2.8.14/build_native/src/enchant.c:882:34: warning[-Wunused-parameter]: unused parameter ‘n_collect_values’ # 882 | guint n_collect_values, # | ~~~~~~^~~~~~~~~~~~~~~~ # 880| static gchar* # 881| value_token_collect_value (GValue* value, # 882|-> guint n_collect_values, # 883| GTypeCValue* collect_values, # 884| guint collect_flags) Error: COMPILER_WARNING (CWE-563): [#def66] enchant-2.8.14/build_native/src/enchant.c:884:34: warning[-Wunused-parameter]: unused parameter ‘collect_flags’ # 884 | guint collect_flags) # | ~~~~~~^~~~~~~~~~~~~ # 882| guint n_collect_values, # 883| GTypeCValue* collect_values, # 884|-> guint collect_flags) # 885| { # 886| #line 130 "enchant.vala" Error: COMPILER_WARNING (CWE-563): [#def67] enchant-2.8.14/build_native/src/enchant.c: scope_hint: In function ‘value_token_lcopy_value’ enchant-2.8.14/build_native/src/enchant.c:916:32: warning[-Wunused-parameter]: unused parameter ‘n_collect_values’ # 916 | guint n_collect_values, # | ~~~~~~^~~~~~~~~~~~~~~~ # 914| static gchar* # 915| value_token_lcopy_value (const GValue* value, # 916|-> guint n_collect_values, # 917| GTypeCValue* collect_values, # 918| guint collect_flags) Error: COMPILER_WARNING (CWE-563): [#def68] enchant-2.8.14/build_native/src/enchant.c: scope_hint: In function ‘token_class_init’ enchant-2.8.14/build_native/src/enchant.c:1042:28: warning[-Wunused-parameter]: unused parameter ‘klass_data’ # 1042 | gpointer klass_data) # | ~~~~~~~~~^~~~~~~~~~ # 1040| static void # 1041| token_class_init (TokenClass * klass, # 1042|-> gpointer klass_data) # 1043| { # 1044| #line 130 "enchant.vala" Error: COMPILER_WARNING (CWE-563): [#def69] enchant-2.8.14/build_native/src/enchant.c: scope_hint: In function ‘token_instance_init’ enchant-2.8.14/build_native/src/enchant.c:1053:31: warning[-Wunused-parameter]: unused parameter ‘klass’ # 1053 | gpointer klass) # | ~~~~~~~~~^~~~~ # 1051| static void # 1052| token_instance_init (Token * self, # 1053|-> gpointer klass) # 1054| { # 1055| #line 130 "enchant.vala" Error: COMPILER_WARNING (CWE-704): [#def70] enchant-2.8.14/build_native/src/enchant.c:1088:13: warning[-Wdiscarded-qualifiers]: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier # 1086| { # 1087| static volatile gsize token_type_id__once = 0; # 1088|-> if (g_once_init_enter (&token_type_id__once)) { # 1089| GType token_type_id; # 1090| token_type_id = token_get_type_once (); Error: COMPILER_WARNING (CWE-704): [#def71] enchant-2.8.14/build_native/src/enchant.c:1520:13: warning[-Wdiscarded-qualifiers]: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier # 1518| { # 1519| static volatile gsize spelling_type_id__once = 0; # 1520|-> if (g_once_init_enter (&spelling_type_id__once)) { # 1521| GType spelling_type_id; # 1522| spelling_type_id = spelling_get_type_once (); Error: COMPILER_WARNING (CWE-563): [#def72] enchant-2.8.14/build_native/src/enchant.c: scope_hint: In function ‘main_set_mode’ enchant-2.8.14/build_native/src/enchant.c:1550:29: warning[-Wunused-parameter]: unused parameter ‘val’ # 1550 | const gchar* val, # | ~~~~~~~~~~~~~^~~ # 1548| static gboolean # 1549| main_set_mode (const gchar* option_name, # 1550|-> const gchar* val, # 1551| void* data) # 1552| { Error: COMPILER_WARNING (CWE-563): [#def73] enchant-2.8.14/build_native/src/enchant.c:1551:22: warning[-Wunused-parameter]: unused parameter ‘data’ # 1551 | void* data) # | ~~~~~~^~~~ # 1549| main_set_mode (const gchar* option_name, # 1550| const gchar* val, # 1551|-> void* data) # 1552| { # 1553| gboolean result; Error: COMPILER_WARNING: [#def74] enchant-2.8.14/build_native/src/enchant.c:2628:14: warning[-Wunused-but-set-variable=]: variable ‘_tmp8__length1’ set but not used # 2628 | gint _tmp8__length1; # | ^~~~~~~~~~~~~~ # 2626| FILE* fp = NULL; # 2627| gchar** _tmp8_; # 2628|-> gint _tmp8__length1; # 2629| gchar** _tmp11_; # 2630| gint _tmp11__length1; Error: COMPILER_WARNING (CWE-563): [#def75] enchant-2.8.14/build_native/src/enchant.c: scope_hint: In function ‘main_main’ enchant-2.8.14/build_native/src/enchant.c:2771:22: warning[-Wunused-variable]: unused variable ‘_f_collection_size_’ # 2771 | gint _f_collection_size_ = 0; # | ^~~~~~~~~~~~~~~~~~~ # 2769| gchar** f_collection = NULL; # 2770| gint f_collection_length1 = 0; # 2771|-> gint _f_collection_size_ = 0; # 2772| gint f_it = 0; # 2773| #line 423 "enchant.vala" Error: COMPILER_WARNING (CWE-563): [#def76] enchant-2.8.14/build_native/src/enchant.c: scope_hint: In function ‘main_class_init’ enchant-2.8.14/build_native/src/enchant.c:2872:27: warning[-Wunused-parameter]: unused parameter ‘klass_data’ # 2872 | gpointer klass_data) # | ~~~~~~~~~^~~~~~~~~~ # 2870| static void # 2871| main_class_init (MainClass * klass, # 2872|-> gpointer klass_data) # 2873| { # 2874| #line 213 "enchant.vala" Error: COMPILER_WARNING (CWE-563): [#def77] enchant-2.8.14/build_native/src/enchant.c: scope_hint: In function ‘main_instance_init’ enchant-2.8.14/build_native/src/enchant.c:2882:28: warning[-Wunused-parameter]: unused parameter ‘self’ # 2882 | main_instance_init (Main * self, # | ~~~~~~~^~~~ # 2880| # 2881| static void # 2882|-> main_instance_init (Main * self, # 2883| gpointer klass) # 2884| { Error: COMPILER_WARNING (CWE-563): [#def78] enchant-2.8.14/build_native/src/enchant.c:2883:30: warning[-Wunused-parameter]: unused parameter ‘klass’ # 2883 | gpointer klass) # | ~~~~~~~~~^~~~~ # 2881| static void # 2882| main_instance_init (Main * self, # 2883|-> gpointer klass) # 2884| { # 2885| } Error: COMPILER_WARNING: [#def79] enchant-2.8.14/build_native/src/enchant.c: scope_hint: In function ‘main_finalize’ enchant-2.8.14/build_native/src/enchant.c:2890:16: warning[-Wunused-but-set-variable=]: variable ‘self’ set but not used # 2890 | Main * self; # | ^~~~ # 2888| main_finalize (GObject * obj) # 2889| { # 2890|-> Main * self; # 2891| #line 213 "enchant.vala" # 2892| self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_MAIN, Main); Error: COMPILER_WARNING (CWE-704): [#def80] enchant-2.8.14/build_native/src/enchant.c:2911:13: warning[-Wdiscarded-qualifiers]: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier # 2909| { # 2910| static volatile gsize main_type_id__once = 0; # 2911|-> if (g_once_init_enter (&main_type_id__once)) { # 2912| GType main_type_id; # 2913| main_type_id = main_get_type_once (); Error: COMPILER_WARNING (CWE-843): [#def81] enchant-2.8.14/build_native/src/util.vala:33:18: warning[-Wincompatible-pointer-types]: assignment to 'gchar **' {{aka 'char **'}} from incompatible pointer type 'const gchar * const*' {{aka 'const char * const*'}} Error: COMPILER_WARNING: [#def82] [important] enchant-2.8.14/libgnu/relocatable.h:23:3: error[error]: #error "Please include config.h first." # 21| /* This file uses _GL_ATTRIBUTE_MALLOC, HAVE_VISIBILITY. */ # 22| #if !_GL_CONFIG_H_INCLUDED # 23|-> #error "Please include config.h first." # 24| #endif # 25| Error: COMPILER_WARNING: [#def83] enchant-2.8.14/src/util.c:61:14: warning[-Wunused-but-set-variable=]: variable '_languages_size_' set but not used # 61 | gint _languages_size_; # | ^~~~~~~~~~~~~~~~ # 59| gchar** _tmp1_; # 60| gint languages_length1; # 61|-> gint _languages_size_; # 62| const gchar* _tmp2_; # 63| gchar* _tmp3_;
| 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 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-23.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 | enchant2-2.8.14-1.fc44 |
| store-results-to | /tmp/tmpo2po9iuc/enchant2-2.8.14-1.fc44.tar.xz |
| time-created | 2026-01-08 16:00:16 |
| time-finished | 2026-01-08 16:03:01 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpo2po9iuc/enchant2-2.8.14-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpo2po9iuc/enchant2-2.8.14-1.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |