enchant2-2.8.1-1.fc41
List of Defects
Error: COMPILER_WARNING (CWE-1164): [#def1]
enchant2-2.8.1-build/enchant-2.8.1/lib/broker.c:64:9: warning[-Wunused-macros]: macro "TYPE_ENCHANT_PROVIDER" is not used
# 64 | #define TYPE_ENCHANT_PROVIDER (enchant_provider_get_type ())
# | ^~~~~~~~~~~~~~~~~~~~~
# 62| #define _g_string_free0(var) ((var == NULL) ? NULL : (var = (g_string_free (var, TRUE), NULL)))
# 63|
# 64|-> #define TYPE_ENCHANT_PROVIDER (enchant_provider_get_type ())
# 65| #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider))
# 66| #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
Error: COMPILER_WARNING (CWE-1164): [#def2]
enchant2-2.8.1-build/enchant-2.8.1/lib/broker.c:65:9: warning[-Wunused-macros]: macro "ENCHANT_PROVIDER" is not used
# 65 | #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider))
# | ^~~~~~~~~~~~~~~~
# 63|
# 64| #define TYPE_ENCHANT_PROVIDER (enchant_provider_get_type ())
# 65|-> #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider))
# 66| #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
# 67| #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER))
Error: COMPILER_WARNING (CWE-1164): [#def3]
enchant2-2.8.1-build/enchant-2.8.1/lib/broker.c:66:9: warning[-Wunused-macros]: macro "ENCHANT_PROVIDER_CLASS" is not used
# 66 | #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
# | ^~~~~~~~~~~~~~~~~~~~~~
# 64| #define TYPE_ENCHANT_PROVIDER (enchant_provider_get_type ())
# 65| #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider))
# 66|-> #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
# 67| #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER))
# 68| #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER))
Error: COMPILER_WARNING (CWE-1164): [#def4]
enchant2-2.8.1-build/enchant-2.8.1/lib/broker.c:67:9: warning[-Wunused-macros]: macro "IS_ENCHANT_PROVIDER" is not used
# 67 | #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER))
# | ^~~~~~~~~~~~~~~~~~~
# 65| #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider))
# 66| #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
# 67|-> #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER))
# 68| #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER))
# 69| #define ENCHANT_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
Error: COMPILER_WARNING (CWE-1164): [#def5]
enchant2-2.8.1-build/enchant-2.8.1/lib/broker.c:68:9: warning[-Wunused-macros]: macro "IS_ENCHANT_PROVIDER_CLASS" is not used
# 68 | #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER))
# | ^~~~~~~~~~~~~~~~~~~~~~~~~
# 66| #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
# 67| #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER))
# 68|-> #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER))
# 69| #define ENCHANT_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
# 70|
Error: COMPILER_WARNING (CWE-1164): [#def6]
enchant2-2.8.1-build/enchant-2.8.1/lib/broker.c:69:9: warning[-Wunused-macros]: macro "ENCHANT_PROVIDER_GET_CLASS" is not used
# 69 | #define ENCHANT_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~
# 67| #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER))
# 68| #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER))
# 69|-> #define ENCHANT_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
# 70|
# 71| typedef struct _EnchantProvider EnchantProvider;
Error: COMPILER_WARNING (CWE-1164): [#def7]
enchant2-2.8.1-build/enchant-2.8.1/lib/broker.c:77:9: warning[-Wunused-macros]: macro "TYPE_ENCHANT_DICT" is not used
# 77 | #define TYPE_ENCHANT_DICT (enchant_dict_get_type ())
# | ^~~~~~~~~~~~~~~~~
# 75| typedef struct _EnchantBroker EnchantBroker;
# 76|
# 77|-> #define TYPE_ENCHANT_DICT (enchant_dict_get_type ())
# 78| #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict))
# 79| #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass))
Error: COMPILER_WARNING (CWE-1164): [#def8]
enchant2-2.8.1-build/enchant-2.8.1/lib/broker.c:78:9: warning[-Wunused-macros]: macro "ENCHANT_DICT" is not used
# 78 | #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict))
# | ^~~~~~~~~~~~
# 76|
# 77| #define TYPE_ENCHANT_DICT (enchant_dict_get_type ())
# 78|-> #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict))
# 79| #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass))
# 80| #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT))
Error: COMPILER_WARNING (CWE-1164): [#def9]
enchant2-2.8.1-build/enchant-2.8.1/lib/broker.c:79:9: warning[-Wunused-macros]: macro "ENCHANT_DICT_CLASS" is not used
# 79 | #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass))
# | ^~~~~~~~~~~~~~~~~~
# 77| #define TYPE_ENCHANT_DICT (enchant_dict_get_type ())
# 78| #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict))
# 79|-> #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass))
# 80| #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT))
# 81| #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT))
Error: COMPILER_WARNING (CWE-1164): [#def10]
enchant2-2.8.1-build/enchant-2.8.1/lib/broker.c:80:9: warning[-Wunused-macros]: macro "IS_ENCHANT_DICT" is not used
# 80 | #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT))
# | ^~~~~~~~~~~~~~~
# 78| #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict))
# 79| #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass))
# 80|-> #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT))
# 81| #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT))
# 82| #define ENCHANT_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_DICT, EnchantDictClass))
Error: COMPILER_WARNING (CWE-1164): [#def11]
enchant2-2.8.1-build/enchant-2.8.1/lib/broker.c:81:9: warning[-Wunused-macros]: macro "IS_ENCHANT_DICT_CLASS" is not used
# 81 | #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT))
# | ^~~~~~~~~~~~~~~~~~~~~
# 79| #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass))
# 80| #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT))
# 81|-> #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT))
# 82| #define ENCHANT_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_DICT, EnchantDictClass))
# 83|
Error: COMPILER_WARNING (CWE-1164): [#def12]
enchant2-2.8.1-build/enchant-2.8.1/lib/broker.c:82:9: warning[-Wunused-macros]: macro "ENCHANT_DICT_GET_CLASS" is not used
# 82 | #define ENCHANT_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_DICT, EnchantDictClass))
# | ^~~~~~~~~~~~~~~~~~~~~~
# 80| #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT))
# 81| #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT))
# 82|-> #define ENCHANT_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_DICT, EnchantDictClass))
# 83|
# 84| typedef struct _EnchantDict EnchantDict;
Error: COMPILER_WARNING (CWE-1164): [#def13]
enchant2-2.8.1-build/enchant-2.8.1/lib/broker.c:101:9: warning[-Wunused-macros]: macro "TYPE_ENCHANT_SESSION" is not used
# 101 | #define TYPE_ENCHANT_SESSION (enchant_session_get_type ())
# | ^~~~~~~~~~~~~~~~~~~~
# 99| #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
# 100|
# 101|-> #define TYPE_ENCHANT_SESSION (enchant_session_get_type ())
# 102| #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession))
# 103| #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass))
Error: COMPILER_WARNING (CWE-1164): [#def14]
enchant2-2.8.1-build/enchant-2.8.1/lib/broker.c:102:9: warning[-Wunused-macros]: macro "ENCHANT_SESSION" is not used
# 102 | #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession))
# | ^~~~~~~~~~~~~~~
# 100|
# 101| #define TYPE_ENCHANT_SESSION (enchant_session_get_type ())
# 102|-> #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession))
# 103| #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass))
# 104| #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION))
Error: COMPILER_WARNING (CWE-1164): [#def15]
enchant2-2.8.1-build/enchant-2.8.1/lib/broker.c:103:9: warning[-Wunused-macros]: macro "ENCHANT_SESSION_CLASS" is not used
# 103 | #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass))
# | ^~~~~~~~~~~~~~~~~~~~~
# 101| #define TYPE_ENCHANT_SESSION (enchant_session_get_type ())
# 102| #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession))
# 103|-> #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass))
# 104| #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION))
# 105| #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION))
Error: COMPILER_WARNING (CWE-1164): [#def16]
enchant2-2.8.1-build/enchant-2.8.1/lib/broker.c:104:9: warning[-Wunused-macros]: macro "IS_ENCHANT_SESSION" is not used
# 104 | #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION))
# | ^~~~~~~~~~~~~~~~~~
# 102| #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession))
# 103| #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass))
# 104|-> #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION))
# 105| #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION))
# 106| #define ENCHANT_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_SESSION, EnchantSessionClass))
Error: COMPILER_WARNING (CWE-1164): [#def17]
enchant2-2.8.1-build/enchant-2.8.1/lib/broker.c:105:9: warning[-Wunused-macros]: macro "IS_ENCHANT_SESSION_CLASS" is not used
# 105 | #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION))
# | ^~~~~~~~~~~~~~~~~~~~~~~~
# 103| #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass))
# 104| #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION))
# 105|-> #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION))
# 106| #define ENCHANT_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_SESSION, EnchantSessionClass))
# 107|
Error: COMPILER_WARNING (CWE-1164): [#def18]
enchant2-2.8.1-build/enchant-2.8.1/lib/broker.c:106:9: warning[-Wunused-macros]: macro "ENCHANT_SESSION_GET_CLASS" is not used
# 106 | #define ENCHANT_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_SESSION, EnchantSessionClass))
# | ^~~~~~~~~~~~~~~~~~~~~~~~~
# 104| #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION))
# 105| #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION))
# 106|-> #define ENCHANT_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_SESSION, EnchantSessionClass))
# 107|
# 108| typedef struct _EnchantSession EnchantSession;
Error: COMPILER_WARNING (CWE-1164): [#def19]
enchant2-2.8.1-build/enchant-2.8.1/lib/broker.c:113:9: warning[-Wunused-macros]: macro "TYPE_ENCHANT_PWL" is not used
# 113 | #define TYPE_ENCHANT_PWL (enchant_pwl_get_type ())
# | ^~~~~~~~~~~~~~~~
# 111| typedef struct _EnchantSessionPrivate EnchantSessionPrivate;
# 112|
# 113|-> #define TYPE_ENCHANT_PWL (enchant_pwl_get_type ())
# 114| #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL))
# 115| #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass))
Error: COMPILER_WARNING (CWE-1164): [#def20]
enchant2-2.8.1-build/enchant-2.8.1/lib/broker.c: scope_hint: At top level
enchant2-2.8.1-build/enchant-2.8.1/lib/broker.c:114:9: warning[-Wunused-macros]: macro "ENCHANT_PWL" is not used
# 114 | #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL))
# | ^~~~~~~~~~~
# 112|
# 113| #define TYPE_ENCHANT_PWL (enchant_pwl_get_type ())
# 114|-> #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL))
# 115| #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass))
# 116| #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL))
Error: COMPILER_WARNING (CWE-1164): [#def21]
enchant2-2.8.1-build/enchant-2.8.1/lib/broker.c:115:9: warning[-Wunused-macros]: macro "ENCHANT_PWL_CLASS" is not used
# 115 | #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass))
# | ^~~~~~~~~~~~~~~~~
# 113| #define TYPE_ENCHANT_PWL (enchant_pwl_get_type ())
# 114| #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL))
# 115|-> #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass))
# 116| #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL))
# 117| #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL))
Error: COMPILER_WARNING (CWE-1164): [#def22]
enchant2-2.8.1-build/enchant-2.8.1/lib/broker.c:116:9: warning[-Wunused-macros]: macro "IS_ENCHANT_PWL" is not used
# 116 | #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL))
# | ^~~~~~~~~~~~~~
# 114| #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL))
# 115| #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass))
# 116|-> #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL))
# 117| #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL))
# 118| #define ENCHANT_PWL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PWL, EnchantPWLClass))
Error: COMPILER_WARNING (CWE-1164): [#def23]
enchant2-2.8.1-build/enchant-2.8.1/lib/broker.c:117:9: warning[-Wunused-macros]: macro "IS_ENCHANT_PWL_CLASS" is not used
# 117 | #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL))
# | ^~~~~~~~~~~~~~~~~~~~
# 115| #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass))
# 116| #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL))
# 117|-> #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL))
# 118| #define ENCHANT_PWL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PWL, EnchantPWLClass))
# 119|
Error: COMPILER_WARNING (CWE-1164): [#def24]
enchant2-2.8.1-build/enchant-2.8.1/lib/broker.c:118:9: warning[-Wunused-macros]: macro "ENCHANT_PWL_GET_CLASS" is not used
# 118 | #define ENCHANT_PWL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PWL, EnchantPWLClass))
# | ^~~~~~~~~~~~~~~~~~~~~
# 116| #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL))
# 117| #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL))
# 118|-> #define ENCHANT_PWL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PWL, EnchantPWLClass))
# 119|
# 120| typedef struct _EnchantPWL EnchantPWL;
Error: COMPILER_WARNING (CWE-1164): [#def25]
enchant2-2.8.1-build/enchant-2.8.1/lib/broker.c:130:9: warning[-Wunused-macros]: macro "TYPE_ENCHANT_COMPOSITE_DICT" is not used
# 130 | #define TYPE_ENCHANT_COMPOSITE_DICT (enchant_composite_dict_get_type ())
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# 128| typedef gint (*DictIsWordCharacter) (EnchantDict* me, guint32 uc_in, size_t n);
# 129|
# 130|-> #define TYPE_ENCHANT_COMPOSITE_DICT (enchant_composite_dict_get_type ())
# 131| #define ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDict))
# 132| #define ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass))
Error: COMPILER_WARNING (CWE-1164): [#def26]
enchant2-2.8.1-build/enchant-2.8.1/lib/broker.c:131:9: warning[-Wunused-macros]: macro "ENCHANT_COMPOSITE_DICT" is not used
# 131 | #define ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDict))
# | ^~~~~~~~~~~~~~~~~~~~~~
# 129|
# 130| #define TYPE_ENCHANT_COMPOSITE_DICT (enchant_composite_dict_get_type ())
# 131|-> #define ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDict))
# 132| #define ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass))
# 133| #define IS_ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_COMPOSITE_DICT))
Error: COMPILER_WARNING (CWE-1164): [#def27]
enchant2-2.8.1-build/enchant-2.8.1/lib/broker.c:132:9: warning[-Wunused-macros]: macro "ENCHANT_COMPOSITE_DICT_CLASS" is not used
# 132 | #define ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass))
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 130| #define TYPE_ENCHANT_COMPOSITE_DICT (enchant_composite_dict_get_type ())
# 131| #define ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDict))
# 132|-> #define ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass))
# 133| #define IS_ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_COMPOSITE_DICT))
# 134| #define IS_ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_COMPOSITE_DICT))
Error: COMPILER_WARNING (CWE-1164): [#def28]
enchant2-2.8.1-build/enchant-2.8.1/lib/broker.c:133:9: warning[-Wunused-macros]: macro "IS_ENCHANT_COMPOSITE_DICT" is not used
# 133 | #define IS_ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_COMPOSITE_DICT))
# | ^~~~~~~~~~~~~~~~~~~~~~~~~
# 131| #define ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDict))
# 132| #define ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass))
# 133|-> #define IS_ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_COMPOSITE_DICT))
# 134| #define IS_ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_COMPOSITE_DICT))
# 135| #define ENCHANT_COMPOSITE_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass))
Error: COMPILER_WARNING (CWE-1164): [#def29]
enchant2-2.8.1-build/enchant-2.8.1/lib/broker.c:134:9: warning[-Wunused-macros]: macro "IS_ENCHANT_COMPOSITE_DICT_CLASS" is not used
# 134 | #define IS_ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_COMPOSITE_DICT))
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 132| #define ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass))
# 133| #define IS_ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_COMPOSITE_DICT))
# 134|-> #define IS_ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_COMPOSITE_DICT))
# 135| #define ENCHANT_COMPOSITE_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass))
# 136|
Error: COMPILER_WARNING (CWE-1164): [#def30]
enchant2-2.8.1-build/enchant-2.8.1/lib/broker.c:135:9: warning[-Wunused-macros]: macro "ENCHANT_COMPOSITE_DICT_GET_CLASS" is not used
# 135 | #define ENCHANT_COMPOSITE_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass))
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 133| #define IS_ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_COMPOSITE_DICT))
# 134| #define IS_ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_COMPOSITE_DICT))
# 135|-> #define ENCHANT_COMPOSITE_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass))
# 136|
# 137| typedef struct _EnchantCompositeDict EnchantCompositeDict;
Error: COMPILER_WARNING (CWE-1164): [#def31]
enchant2-2.8.1-build/enchant-2.8.1/lib/broker.c:145:9: warning[-Wunused-macros]: macro "_vala_warn_if_fail" is not used
# 145 | #define _vala_warn_if_fail(expr, msg) if G_LIKELY (expr) ; else g_warn_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);
# | ^~~~~~~~~~~~~~~~~~
# 143| #define _vala_return_if_fail(expr, msg) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return; }
# 144| #define _vala_return_val_if_fail(expr, msg, val) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return val; }
# 145|-> #define _vala_warn_if_fail(expr, msg) if G_LIKELY (expr) ; else g_warn_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);
# 146|
# 147| struct _EnchantBroker {
Error: COMPILER_WARNING (CWE-1164): [#def32]
enchant2-2.8.1-build/enchant-2.8.1/lib/composite.c:58:9: warning[-Wunused-macros]: macro "ENCHANT_COMPOSITE_DICT" is not used
# 58 | #define ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDict))
# | ^~~~~~~~~~~~~~~~~~~~~~
# 56|
# 57| #define TYPE_ENCHANT_COMPOSITE_DICT (enchant_composite_dict_get_type ())
# 58|-> #define ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDict))
# 59| #define ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass))
# 60| #define IS_ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_COMPOSITE_DICT))
Error: COMPILER_WARNING (CWE-1164): [#def33]
enchant2-2.8.1-build/enchant-2.8.1/lib/composite.c:59:9: warning[-Wunused-macros]: macro "ENCHANT_COMPOSITE_DICT_CLASS" is not used
# 59 | #define ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass))
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 57| #define TYPE_ENCHANT_COMPOSITE_DICT (enchant_composite_dict_get_type ())
# 58| #define ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDict))
# 59|-> #define ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass))
# 60| #define IS_ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_COMPOSITE_DICT))
# 61| #define IS_ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_COMPOSITE_DICT))
Error: COMPILER_WARNING (CWE-1164): [#def34]
enchant2-2.8.1-build/enchant-2.8.1/lib/composite.c:60:9: warning[-Wunused-macros]: macro "IS_ENCHANT_COMPOSITE_DICT" is not used
# 60 | #define IS_ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_COMPOSITE_DICT))
# | ^~~~~~~~~~~~~~~~~~~~~~~~~
# 58| #define ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDict))
# 59| #define ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass))
# 60|-> #define IS_ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_COMPOSITE_DICT))
# 61| #define IS_ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_COMPOSITE_DICT))
# 62| #define ENCHANT_COMPOSITE_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass))
Error: COMPILER_WARNING (CWE-1164): [#def35]
enchant2-2.8.1-build/enchant-2.8.1/lib/composite.c:61:9: warning[-Wunused-macros]: macro "IS_ENCHANT_COMPOSITE_DICT_CLASS" is not used
# 61 | #define IS_ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_COMPOSITE_DICT))
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 59| #define ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass))
# 60| #define IS_ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_COMPOSITE_DICT))
# 61|-> #define IS_ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_COMPOSITE_DICT))
# 62| #define ENCHANT_COMPOSITE_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass))
# 63|
Error: COMPILER_WARNING (CWE-1164): [#def36]
enchant2-2.8.1-build/enchant-2.8.1/lib/composite.c:68:9: warning[-Wunused-macros]: macro "TYPE_ENCHANT_DICT" is not used
# 68 | #define TYPE_ENCHANT_DICT (enchant_dict_get_type ())
# | ^~~~~~~~~~~~~~~~~
# 66| typedef struct _EnchantCompositeDictPrivate EnchantCompositeDictPrivate;
# 67|
# 68|-> #define TYPE_ENCHANT_DICT (enchant_dict_get_type ())
# 69| #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict))
# 70| #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass))
Error: COMPILER_WARNING (CWE-1164): [#def37]
enchant2-2.8.1-build/enchant-2.8.1/lib/composite.c:69:9: warning[-Wunused-macros]: macro "ENCHANT_DICT" is not used
# 69 | #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict))
# | ^~~~~~~~~~~~
# 67|
# 68| #define TYPE_ENCHANT_DICT (enchant_dict_get_type ())
# 69|-> #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict))
# 70| #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass))
# 71| #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT))
Error: COMPILER_WARNING (CWE-1164): [#def38]
enchant2-2.8.1-build/enchant-2.8.1/lib/composite.c: scope_hint: At top level
enchant2-2.8.1-build/enchant-2.8.1/lib/composite.c:70:9: warning[-Wunused-macros]: macro "ENCHANT_DICT_CLASS" is not used
# 70 | #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass))
# | ^~~~~~~~~~~~~~~~~~
# 68| #define TYPE_ENCHANT_DICT (enchant_dict_get_type ())
# 69| #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict))
# 70|-> #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass))
# 71| #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT))
# 72| #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT))
Error: COMPILER_WARNING (CWE-1164): [#def39]
enchant2-2.8.1-build/enchant-2.8.1/lib/composite.c:71:9: warning[-Wunused-macros]: macro "IS_ENCHANT_DICT" is not used
# 71 | #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT))
# | ^~~~~~~~~~~~~~~
# 69| #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict))
# 70| #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass))
# 71|-> #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT))
# 72| #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT))
# 73| #define ENCHANT_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_DICT, EnchantDictClass))
Error: COMPILER_WARNING (CWE-1164): [#def40]
enchant2-2.8.1-build/enchant-2.8.1/lib/composite.c:72:9: warning[-Wunused-macros]: macro "IS_ENCHANT_DICT_CLASS" is not used
# 72 | #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT))
# | ^~~~~~~~~~~~~~~~~~~~~
# 70| #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass))
# 71| #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT))
# 72|-> #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT))
# 73| #define ENCHANT_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_DICT, EnchantDictClass))
# 74|
Error: COMPILER_WARNING (CWE-1164): [#def41]
enchant2-2.8.1-build/enchant-2.8.1/lib/composite.c:73:9: warning[-Wunused-macros]: macro "ENCHANT_DICT_GET_CLASS" is not used
# 73 | #define ENCHANT_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_DICT, EnchantDictClass))
# | ^~~~~~~~~~~~~~~~~~~~~~
# 71| #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT))
# 72| #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT))
# 73|-> #define ENCHANT_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_DICT, EnchantDictClass))
# 74|
# 75| typedef struct _EnchantDict EnchantDict;
Error: COMPILER_WARNING (CWE-1164): [#def42]
enchant2-2.8.1-build/enchant-2.8.1/lib/composite.c:81:9: warning[-Wunused-macros]: macro "TYPE_ENCHANT_SESSION" is not used
# 81 | #define TYPE_ENCHANT_SESSION (enchant_session_get_type ())
# | ^~~~~~~~~~~~~~~~~~~~
# 79| typedef struct _EnchantDictPrivate EnchantDictPrivate;
# 80|
# 81|-> #define TYPE_ENCHANT_SESSION (enchant_session_get_type ())
# 82| #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession))
# 83| #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass))
Error: COMPILER_WARNING (CWE-1164): [#def43]
enchant2-2.8.1-build/enchant-2.8.1/lib/composite.c:82:9: warning[-Wunused-macros]: macro "ENCHANT_SESSION" is not used
# 82 | #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession))
# | ^~~~~~~~~~~~~~~
# 80|
# 81| #define TYPE_ENCHANT_SESSION (enchant_session_get_type ())
# 82|-> #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession))
# 83| #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass))
# 84| #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION))
Error: COMPILER_WARNING (CWE-1164): [#def44]
enchant2-2.8.1-build/enchant-2.8.1/lib/composite.c:83:9: warning[-Wunused-macros]: macro "ENCHANT_SESSION_CLASS" is not used
# 83 | #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass))
# | ^~~~~~~~~~~~~~~~~~~~~
# 81| #define TYPE_ENCHANT_SESSION (enchant_session_get_type ())
# 82| #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession))
# 83|-> #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass))
# 84| #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION))
# 85| #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION))
Error: COMPILER_WARNING (CWE-1164): [#def45]
enchant2-2.8.1-build/enchant-2.8.1/lib/composite.c:84:9: warning[-Wunused-macros]: macro "IS_ENCHANT_SESSION" is not used
# 84 | #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION))
# | ^~~~~~~~~~~~~~~~~~
# 82| #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession))
# 83| #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass))
# 84|-> #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION))
# 85| #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION))
# 86| #define ENCHANT_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_SESSION, EnchantSessionClass))
Error: COMPILER_WARNING (CWE-1164): [#def46]
enchant2-2.8.1-build/enchant-2.8.1/lib/composite.c:85:9: warning[-Wunused-macros]: macro "IS_ENCHANT_SESSION_CLASS" is not used
# 85 | #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION))
# | ^~~~~~~~~~~~~~~~~~~~~~~~
# 83| #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass))
# 84| #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION))
# 85|-> #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION))
# 86| #define ENCHANT_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_SESSION, EnchantSessionClass))
# 87|
Error: COMPILER_WARNING (CWE-1164): [#def47]
enchant2-2.8.1-build/enchant-2.8.1/lib/composite.c:86:9: warning[-Wunused-macros]: macro "ENCHANT_SESSION_GET_CLASS" is not used
# 86 | #define ENCHANT_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_SESSION, EnchantSessionClass))
# | ^~~~~~~~~~~~~~~~~~~~~~~~~
# 84| #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION))
# 85| #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION))
# 86|-> #define ENCHANT_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_SESSION, EnchantSessionClass))
# 87|
# 88| typedef struct _EnchantSession EnchantSession;
Error: COMPILER_WARNING (CWE-1164): [#def48]
enchant2-2.8.1-build/enchant-2.8.1/lib/composite.c:100:9: warning[-Wunused-macros]: macro "_vala_return_if_fail" is not used
# 100 | #define _vala_return_if_fail(expr, msg) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return; }
# | ^~~~~~~~~~~~~~~~~~~~
# 98| #define _g_array_unref0(var) ((var == NULL) ? NULL : (var = (g_array_unref (var), NULL)))
# 99| #define _vala_assert(expr, msg) if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);
# 100|-> #define _vala_return_if_fail(expr, msg) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return; }
# 101| #define _vala_return_val_if_fail(expr, msg, val) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return val; }
# 102| #define _vala_warn_if_fail(expr, msg) if G_LIKELY (expr) ; else g_warn_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);
Error: COMPILER_WARNING (CWE-1164): [#def49]
enchant2-2.8.1-build/enchant-2.8.1/lib/composite.c:101:9: warning[-Wunused-macros]: macro "_vala_return_val_if_fail" is not used
# 101 | #define _vala_return_val_if_fail(expr, msg, val) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return val; }
# | ^~~~~~~~~~~~~~~~~~~~~~~~
# 99| #define _vala_assert(expr, msg) if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);
# 100| #define _vala_return_if_fail(expr, msg) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return; }
# 101|-> #define _vala_return_val_if_fail(expr, msg, val) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return val; }
# 102| #define _vala_warn_if_fail(expr, msg) if G_LIKELY (expr) ; else g_warn_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);
# 103|
Error: COMPILER_WARNING (CWE-1164): [#def50]
enchant2-2.8.1-build/enchant-2.8.1/lib/composite.c:102:9: warning[-Wunused-macros]: macro "_vala_warn_if_fail" is not used
# 102 | #define _vala_warn_if_fail(expr, msg) if G_LIKELY (expr) ; else g_warn_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);
# | ^~~~~~~~~~~~~~~~~~
# 100| #define _vala_return_if_fail(expr, msg) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return; }
# 101| #define _vala_return_val_if_fail(expr, msg, val) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return val; }
# 102|-> #define _vala_warn_if_fail(expr, msg) if G_LIKELY (expr) ; else g_warn_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);
# 103|
# 104| struct _EnchantCompositeDict {
Error: COMPILER_WARNING (CWE-1164): [#def51]
enchant2-2.8.1-build/enchant-2.8.1/lib/dict.c:61:9: warning[-Wunused-macros]: macro "ENCHANT_DICT" is not used
# 61 | #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict))
# | ^~~~~~~~~~~~
# 59|
# 60| #define TYPE_ENCHANT_DICT (enchant_dict_get_type ())
# 61|-> #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict))
# 62| #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass))
# 63| #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT))
Error: COMPILER_WARNING (CWE-1164): [#def52]
enchant2-2.8.1-build/enchant-2.8.1/lib/dict.c:62:9: warning[-Wunused-macros]: macro "ENCHANT_DICT_CLASS" is not used
# 62 | #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass))
# | ^~~~~~~~~~~~~~~~~~
# 60| #define TYPE_ENCHANT_DICT (enchant_dict_get_type ())
# 61| #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict))
# 62|-> #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass))
# 63| #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT))
# 64| #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT))
Error: COMPILER_WARNING (CWE-1164): [#def53]
enchant2-2.8.1-build/enchant-2.8.1/lib/dict.c:63:9: warning[-Wunused-macros]: macro "IS_ENCHANT_DICT" is not used
# 63 | #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT))
# | ^~~~~~~~~~~~~~~
# 61| #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict))
# 62| #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass))
# 63|-> #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT))
# 64| #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT))
# 65| #define ENCHANT_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_DICT, EnchantDictClass))
Error: COMPILER_WARNING (CWE-1164): [#def54]
enchant2-2.8.1-build/enchant-2.8.1/lib/dict.c:64:9: warning[-Wunused-macros]: macro "IS_ENCHANT_DICT_CLASS" is not used
# 64 | #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT))
# | ^~~~~~~~~~~~~~~~~~~~~
# 62| #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass))
# 63| #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT))
# 64|-> #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT))
# 65| #define ENCHANT_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_DICT, EnchantDictClass))
# 66|
Error: COMPILER_WARNING (CWE-1164): [#def55]
enchant2-2.8.1-build/enchant-2.8.1/lib/dict.c:77:9: warning[-Wunused-macros]: macro "TYPE_ENCHANT_SESSION" is not used
# 77 | #define TYPE_ENCHANT_SESSION (enchant_session_get_type ())
# | ^~~~~~~~~~~~~~~~~~~~
# 75| typedef struct _EnchantDictPrivate EnchantDictPrivate;
# 76|
# 77|-> #define TYPE_ENCHANT_SESSION (enchant_session_get_type ())
# 78| #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession))
# 79| #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass))
Error: COMPILER_WARNING (CWE-1164): [#def56]
enchant2-2.8.1-build/enchant-2.8.1/lib/dict.c:78:9: warning[-Wunused-macros]: macro "ENCHANT_SESSION" is not used
# 78 | #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession))
# | ^~~~~~~~~~~~~~~
# 76|
# 77| #define TYPE_ENCHANT_SESSION (enchant_session_get_type ())
# 78|-> #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession))
# 79| #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass))
# 80| #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION))
Error: COMPILER_WARNING (CWE-1164): [#def57]
enchant2-2.8.1-build/enchant-2.8.1/lib/dict.c:79:9: warning[-Wunused-macros]: macro "ENCHANT_SESSION_CLASS" is not used
# 79 | #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass))
# | ^~~~~~~~~~~~~~~~~~~~~
# 77| #define TYPE_ENCHANT_SESSION (enchant_session_get_type ())
# 78| #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession))
# 79|-> #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass))
# 80| #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION))
# 81| #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION))
Error: COMPILER_WARNING (CWE-1164): [#def58]
enchant2-2.8.1-build/enchant-2.8.1/lib/dict.c:80:9: warning[-Wunused-macros]: macro "IS_ENCHANT_SESSION" is not used
# 80 | #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION))
# | ^~~~~~~~~~~~~~~~~~
# 78| #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession))
# 79| #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass))
# 80|-> #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION))
# 81| #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION))
# 82| #define ENCHANT_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_SESSION, EnchantSessionClass))
Error: COMPILER_WARNING (CWE-1164): [#def59]
enchant2-2.8.1-build/enchant-2.8.1/lib/dict.c:81:9: warning[-Wunused-macros]: macro "IS_ENCHANT_SESSION_CLASS" is not used
# 81 | #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION))
# | ^~~~~~~~~~~~~~~~~~~~~~~~
# 79| #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass))
# 80| #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION))
# 81|-> #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION))
# 82| #define ENCHANT_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_SESSION, EnchantSessionClass))
# 83|
Error: COMPILER_WARNING (CWE-1164): [#def60]
enchant2-2.8.1-build/enchant-2.8.1/lib/dict.c:82:9: warning[-Wunused-macros]: macro "ENCHANT_SESSION_GET_CLASS" is not used
# 82 | #define ENCHANT_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_SESSION, EnchantSessionClass))
# | ^~~~~~~~~~~~~~~~~~~~~~~~~
# 80| #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION))
# 81| #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION))
# 82|-> #define ENCHANT_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_SESSION, EnchantSessionClass))
# 83|
# 84| typedef struct _EnchantSession EnchantSession;
Error: COMPILER_WARNING (CWE-1164): [#def61]
enchant2-2.8.1-build/enchant-2.8.1/lib/dict.c:87:9: warning[-Wunused-macros]: macro "TYPE_ENCHANT_PROVIDER" is not used
# 87 | #define TYPE_ENCHANT_PROVIDER (enchant_provider_get_type ())
# | ^~~~~~~~~~~~~~~~~~~~~
# 85| typedef struct _EnchantSessionClass EnchantSessionClass;
# 86|
# 87|-> #define TYPE_ENCHANT_PROVIDER (enchant_provider_get_type ())
# 88| #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider))
# 89| #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
Error: COMPILER_WARNING (CWE-1164): [#def62]
enchant2-2.8.1-build/enchant-2.8.1/lib/dict.c:88:9: warning[-Wunused-macros]: macro "ENCHANT_PROVIDER" is not used
# 88 | #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider))
# | ^~~~~~~~~~~~~~~~
# 86|
# 87| #define TYPE_ENCHANT_PROVIDER (enchant_provider_get_type ())
# 88|-> #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider))
# 89| #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
# 90| #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER))
Error: COMPILER_WARNING (CWE-1164): [#def63]
enchant2-2.8.1-build/enchant-2.8.1/lib/dict.c:89:9: warning[-Wunused-macros]: macro "ENCHANT_PROVIDER_CLASS" is not used
# 89 | #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
# | ^~~~~~~~~~~~~~~~~~~~~~
# 87| #define TYPE_ENCHANT_PROVIDER (enchant_provider_get_type ())
# 88| #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider))
# 89|-> #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
# 90| #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER))
# 91| #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER))
Error: COMPILER_WARNING (CWE-1164): [#def64]
enchant2-2.8.1-build/enchant-2.8.1/lib/dict.c:90:9: warning[-Wunused-macros]: macro "IS_ENCHANT_PROVIDER" is not used
# 90 | #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER))
# | ^~~~~~~~~~~~~~~~~~~
# 88| #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider))
# 89| #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
# 90|-> #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER))
# 91| #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER))
# 92| #define ENCHANT_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
Error: COMPILER_WARNING (CWE-1164): [#def65]
enchant2-2.8.1-build/enchant-2.8.1/lib/dict.c:91:9: warning[-Wunused-macros]: macro "IS_ENCHANT_PROVIDER_CLASS" is not used
# 91 | #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER))
# | ^~~~~~~~~~~~~~~~~~~~~~~~~
# 89| #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
# 90| #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER))
# 91|-> #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER))
# 92| #define ENCHANT_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
# 93|
Error: COMPILER_WARNING (CWE-1164): [#def66]
enchant2-2.8.1-build/enchant-2.8.1/lib/dict.c:92:9: warning[-Wunused-macros]: macro "ENCHANT_PROVIDER_GET_CLASS" is not used
# 92 | #define ENCHANT_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~
# 90| #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER))
# 91| #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER))
# 92|-> #define ENCHANT_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
# 93|
# 94| typedef struct _EnchantProvider EnchantProvider;
Error: COMPILER_WARNING (CWE-1164): [#def67]
enchant2-2.8.1-build/enchant-2.8.1/lib/dict.c:98:9: warning[-Wunused-macros]: macro "TYPE_ENCHANT_PWL" is not used
# 98 | #define TYPE_ENCHANT_PWL (enchant_pwl_get_type ())
# | ^~~~~~~~~~~~~~~~
# 96| typedef struct _EnchantSessionPrivate EnchantSessionPrivate;
# 97|
# 98|-> #define TYPE_ENCHANT_PWL (enchant_pwl_get_type ())
# 99| #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL))
# 100| #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass))
Error: COMPILER_WARNING (CWE-1164): [#def68]
enchant2-2.8.1-build/enchant-2.8.1/lib/dict.c: scope_hint: At top level
enchant2-2.8.1-build/enchant-2.8.1/lib/dict.c:99:9: warning[-Wunused-macros]: macro "ENCHANT_PWL" is not used
# 99 | #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL))
# | ^~~~~~~~~~~
# 97|
# 98| #define TYPE_ENCHANT_PWL (enchant_pwl_get_type ())
# 99|-> #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL))
# 100| #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass))
# 101| #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL))
Error: COMPILER_WARNING (CWE-1164): [#def69]
enchant2-2.8.1-build/enchant-2.8.1/lib/dict.c:100:9: warning[-Wunused-macros]: macro "ENCHANT_PWL_CLASS" is not used
# 100 | #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass))
# | ^~~~~~~~~~~~~~~~~
# 98| #define TYPE_ENCHANT_PWL (enchant_pwl_get_type ())
# 99| #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL))
# 100|-> #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass))
# 101| #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL))
# 102| #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL))
Error: COMPILER_WARNING (CWE-1164): [#def70]
enchant2-2.8.1-build/enchant-2.8.1/lib/dict.c:101:9: warning[-Wunused-macros]: macro "IS_ENCHANT_PWL" is not used
# 101 | #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL))
# | ^~~~~~~~~~~~~~
# 99| #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL))
# 100| #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass))
# 101|-> #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL))
# 102| #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL))
# 103| #define ENCHANT_PWL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PWL, EnchantPWLClass))
Error: COMPILER_WARNING (CWE-1164): [#def71]
enchant2-2.8.1-build/enchant-2.8.1/lib/dict.c:102:9: warning[-Wunused-macros]: macro "IS_ENCHANT_PWL_CLASS" is not used
# 102 | #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL))
# | ^~~~~~~~~~~~~~~~~~~~
# 100| #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass))
# 101| #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL))
# 102|-> #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL))
# 103| #define ENCHANT_PWL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PWL, EnchantPWLClass))
# 104|
Error: COMPILER_WARNING (CWE-1164): [#def72]
enchant2-2.8.1-build/enchant-2.8.1/lib/dict.c:103:9: warning[-Wunused-macros]: macro "ENCHANT_PWL_GET_CLASS" is not used
# 103 | #define ENCHANT_PWL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PWL, EnchantPWLClass))
# | ^~~~~~~~~~~~~~~~~~~~~
# 101| #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL))
# 102| #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL))
# 103|-> #define ENCHANT_PWL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PWL, EnchantPWLClass))
# 104|
# 105| typedef struct _EnchantPWL EnchantPWL;
Error: COMPILER_WARNING (CWE-1164): [#def73]
enchant2-2.8.1-build/enchant-2.8.1/lib/dict.c:120:9: warning[-Wunused-macros]: macro "_vala_assert" is not used
# 120 | #define _vala_assert(expr, msg) if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);
# | ^~~~~~~~~~~~
# 118| #define _g_strv_builder_unref0(var) ((var == NULL) ? NULL : (var = (g_strv_builder_unref (var), NULL)))
# 119| typedef struct _ParamSpecEnchantDict ParamSpecEnchantDict;
# 120|-> #define _vala_assert(expr, msg) if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);
# 121| #define _vala_return_if_fail(expr, msg) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return; }
# 122| #define _vala_return_val_if_fail(expr, msg, val) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return val; }
Error: COMPILER_WARNING (CWE-1164): [#def74]
enchant2-2.8.1-build/enchant-2.8.1/lib/dict.c:123:9: warning[-Wunused-macros]: macro "_vala_warn_if_fail" is not used
# 123 | #define _vala_warn_if_fail(expr, msg) if G_LIKELY (expr) ; else g_warn_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);
# | ^~~~~~~~~~~~~~~~~~
# 121| #define _vala_return_if_fail(expr, msg) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return; }
# 122| #define _vala_return_val_if_fail(expr, msg, val) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return val; }
# 123|-> #define _vala_warn_if_fail(expr, msg) if G_LIKELY (expr) ; else g_warn_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);
# 124|
# 125| struct _EnchantDict {
Error: COMPILER_WARNING (CWE-1164): [#def75]
enchant2-2.8.1-build/enchant-2.8.1/lib/provider.c:63:9: warning[-Wunused-macros]: macro "ENCHANT_PROVIDER" is not used
# 63 | #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider))
# | ^~~~~~~~~~~~~~~~
# 61|
# 62| #define TYPE_ENCHANT_PROVIDER (enchant_provider_get_type ())
# 63|-> #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider))
# 64| #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
# 65| #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER))
Error: COMPILER_WARNING (CWE-1164): [#def76]
enchant2-2.8.1-build/enchant-2.8.1/lib/provider.c:64:9: warning[-Wunused-macros]: macro "ENCHANT_PROVIDER_CLASS" is not used
# 64 | #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
# | ^~~~~~~~~~~~~~~~~~~~~~
# 62| #define TYPE_ENCHANT_PROVIDER (enchant_provider_get_type ())
# 63| #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider))
# 64|-> #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
# 65| #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER))
# 66| #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER))
Error: COMPILER_WARNING (CWE-1164): [#def77]
enchant2-2.8.1-build/enchant-2.8.1/lib/provider.c:65:9: warning[-Wunused-macros]: macro "IS_ENCHANT_PROVIDER" is not used
# 65 | #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER))
# | ^~~~~~~~~~~~~~~~~~~
# 63| #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider))
# 64| #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
# 65|-> #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER))
# 66| #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER))
# 67| #define ENCHANT_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
Error: COMPILER_WARNING (CWE-1164): [#def78]
enchant2-2.8.1-build/enchant-2.8.1/lib/provider.c:66:9: warning[-Wunused-macros]: macro "IS_ENCHANT_PROVIDER_CLASS" is not used
# 66 | #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER))
# | ^~~~~~~~~~~~~~~~~~~~~~~~~
# 64| #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
# 65| #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER))
# 66|-> #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER))
# 67| #define ENCHANT_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
# 68|
Error: COMPILER_WARNING (CWE-1164): [#def79]
enchant2-2.8.1-build/enchant-2.8.1/lib/provider.c:73:9: warning[-Wunused-macros]: macro "TYPE_ENCHANT_DICT" is not used
# 73 | #define TYPE_ENCHANT_DICT (enchant_dict_get_type ())
# | ^~~~~~~~~~~~~~~~~
# 71| typedef void (*ProviderDispose) (EnchantProvider* me);
# 72|
# 73|-> #define TYPE_ENCHANT_DICT (enchant_dict_get_type ())
# 74| #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict))
# 75| #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass))
Error: COMPILER_WARNING (CWE-1164): [#def80]
enchant2-2.8.1-build/enchant-2.8.1/lib/provider.c:74:9: warning[-Wunused-macros]: macro "ENCHANT_DICT" is not used
# 74 | #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict))
# | ^~~~~~~~~~~~
# 72|
# 73| #define TYPE_ENCHANT_DICT (enchant_dict_get_type ())
# 74|-> #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict))
# 75| #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass))
# 76| #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT))
Error: COMPILER_WARNING (CWE-1164): [#def81]
enchant2-2.8.1-build/enchant-2.8.1/lib/provider.c: scope_hint: At top level
enchant2-2.8.1-build/enchant-2.8.1/lib/provider.c:75:9: warning[-Wunused-macros]: macro "ENCHANT_DICT_CLASS" is not used
# 75 | #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass))
# | ^~~~~~~~~~~~~~~~~~
# 73| #define TYPE_ENCHANT_DICT (enchant_dict_get_type ())
# 74| #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict))
# 75|-> #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass))
# 76| #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT))
# 77| #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT))
Error: COMPILER_WARNING (CWE-1164): [#def82]
enchant2-2.8.1-build/enchant-2.8.1/lib/provider.c:76:9: warning[-Wunused-macros]: macro "IS_ENCHANT_DICT" is not used
# 76 | #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT))
# | ^~~~~~~~~~~~~~~
# 74| #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict))
# 75| #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass))
# 76|-> #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT))
# 77| #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT))
# 78| #define ENCHANT_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_DICT, EnchantDictClass))
Error: COMPILER_WARNING (CWE-1164): [#def83]
enchant2-2.8.1-build/enchant-2.8.1/lib/provider.c:77:9: warning[-Wunused-macros]: macro "IS_ENCHANT_DICT_CLASS" is not used
# 77 | #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT))
# | ^~~~~~~~~~~~~~~~~~~~~
# 75| #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass))
# 76| #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT))
# 77|-> #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT))
# 78| #define ENCHANT_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_DICT, EnchantDictClass))
# 79|
Error: COMPILER_WARNING (CWE-1164): [#def84]
enchant2-2.8.1-build/enchant-2.8.1/lib/provider.c:78:9: warning[-Wunused-macros]: macro "ENCHANT_DICT_GET_CLASS" is not used
# 78 | #define ENCHANT_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_DICT, EnchantDictClass))
# | ^~~~~~~~~~~~~~~~~~~~~~
# 76| #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT))
# 77| #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT))
# 78|-> #define ENCHANT_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_DICT, EnchantDictClass))
# 79|
# 80| typedef struct _EnchantDict EnchantDict;
Error: COMPILER_WARNING: [#def85]
enchant2-2.8.1-build/enchant-2.8.1/lib/provider.c: scope_hint: In function 'enchant_get_user_config_dir'
enchant2-2.8.1-build/enchant-2.8.1/lib/provider.c:173:1: warning[-Wsuggest-attribute=malloc]: function might be candidate for attribute 'malloc'
# 173 | enchant_get_user_config_dir (void)
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# 171|
# 172| gchar*
# 173|-> enchant_get_user_config_dir (void)
# 174| {
# 175| const gchar* env = NULL;
Error: COMPILER_WARNING (CWE-1164): [#def86]
enchant2-2.8.1-build/enchant-2.8.1/lib/pwl.c: scope_hint: At top level
enchant2-2.8.1-build/enchant-2.8.1/lib/pwl.c:67:9: warning[-Wunused-macros]: macro "ENCHANT_PWL" is not used
# 67 | #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL))
# | ^~~~~~~~~~~
# 65|
# 66| #define TYPE_ENCHANT_PWL (enchant_pwl_get_type ())
# 67|-> #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL))
# 68| #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass))
# 69| #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL))
Error: COMPILER_WARNING (CWE-1164): [#def87]
enchant2-2.8.1-build/enchant-2.8.1/lib/pwl.c:68:9: warning[-Wunused-macros]: macro "ENCHANT_PWL_CLASS" is not used
# 68 | #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass))
# | ^~~~~~~~~~~~~~~~~
# 66| #define TYPE_ENCHANT_PWL (enchant_pwl_get_type ())
# 67| #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL))
# 68|-> #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass))
# 69| #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL))
# 70| #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL))
Error: COMPILER_WARNING (CWE-1164): [#def88]
enchant2-2.8.1-build/enchant-2.8.1/lib/pwl.c:69:9: warning[-Wunused-macros]: macro "IS_ENCHANT_PWL" is not used
# 69 | #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL))
# | ^~~~~~~~~~~~~~
# 67| #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL))
# 68| #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass))
# 69|-> #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL))
# 70| #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL))
# 71| #define ENCHANT_PWL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PWL, EnchantPWLClass))
Error: COMPILER_WARNING (CWE-1164): [#def89]
enchant2-2.8.1-build/enchant-2.8.1/lib/pwl.c:70:9: warning[-Wunused-macros]: macro "IS_ENCHANT_PWL_CLASS" is not used
# 70 | #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL))
# | ^~~~~~~~~~~~~~~~~~~~
# 68| #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass))
# 69| #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL))
# 70|-> #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL))
# 71| #define ENCHANT_PWL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PWL, EnchantPWLClass))
# 72|
Error: COMPILER_WARNING (CWE-1164): [#def90]
enchant2-2.8.1-build/enchant-2.8.1/lib/session.c:60:9: warning[-Wunused-macros]: macro "ENCHANT_SESSION" is not used
# 60 | #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession))
# | ^~~~~~~~~~~~~~~
# 58|
# 59| #define TYPE_ENCHANT_SESSION (enchant_session_get_type ())
# 60|-> #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession))
# 61| #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass))
# 62| #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION))
Error: COMPILER_WARNING (CWE-1164): [#def91]
enchant2-2.8.1-build/enchant-2.8.1/lib/session.c:61:9: warning[-Wunused-macros]: macro "ENCHANT_SESSION_CLASS" is not used
# 61 | #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass))
# | ^~~~~~~~~~~~~~~~~~~~~
# 59| #define TYPE_ENCHANT_SESSION (enchant_session_get_type ())
# 60| #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession))
# 61|-> #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass))
# 62| #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION))
# 63| #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION))
Error: COMPILER_WARNING (CWE-1164): [#def92]
enchant2-2.8.1-build/enchant-2.8.1/lib/session.c:62:9: warning[-Wunused-macros]: macro "IS_ENCHANT_SESSION" is not used
# 62 | #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION))
# | ^~~~~~~~~~~~~~~~~~
# 60| #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession))
# 61| #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass))
# 62|-> #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION))
# 63| #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION))
# 64| #define ENCHANT_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_SESSION, EnchantSessionClass))
Error: COMPILER_WARNING (CWE-1164): [#def93]
enchant2-2.8.1-build/enchant-2.8.1/lib/session.c:63:9: warning[-Wunused-macros]: macro "IS_ENCHANT_SESSION_CLASS" is not used
# 63 | #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION))
# | ^~~~~~~~~~~~~~~~~~~~~~~~
# 61| #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass))
# 62| #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION))
# 63|-> #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION))
# 64| #define ENCHANT_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_SESSION, EnchantSessionClass))
# 65|
Error: COMPILER_WARNING (CWE-1164): [#def94]
enchant2-2.8.1-build/enchant-2.8.1/lib/session.c:70:9: warning[-Wunused-macros]: macro "TYPE_ENCHANT_PWL" is not used
# 70 | #define TYPE_ENCHANT_PWL (enchant_pwl_get_type ())
# | ^~~~~~~~~~~~~~~~
# 68| typedef struct _EnchantSessionPrivate EnchantSessionPrivate;
# 69|
# 70|-> #define TYPE_ENCHANT_PWL (enchant_pwl_get_type ())
# 71| #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL))
# 72| #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass))
Error: COMPILER_WARNING (CWE-1164): [#def95]
enchant2-2.8.1-build/enchant-2.8.1/lib/session.c: scope_hint: At top level
enchant2-2.8.1-build/enchant-2.8.1/lib/session.c:71:9: warning[-Wunused-macros]: macro "ENCHANT_PWL" is not used
# 71 | #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL))
# | ^~~~~~~~~~~
# 69|
# 70| #define TYPE_ENCHANT_PWL (enchant_pwl_get_type ())
# 71|-> #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL))
# 72| #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass))
# 73| #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL))
Error: COMPILER_WARNING (CWE-1164): [#def96]
enchant2-2.8.1-build/enchant-2.8.1/lib/session.c:72:9: warning[-Wunused-macros]: macro "ENCHANT_PWL_CLASS" is not used
# 72 | #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass))
# | ^~~~~~~~~~~~~~~~~
# 70| #define TYPE_ENCHANT_PWL (enchant_pwl_get_type ())
# 71| #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL))
# 72|-> #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass))
# 73| #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL))
# 74| #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL))
Error: COMPILER_WARNING (CWE-1164): [#def97]
enchant2-2.8.1-build/enchant-2.8.1/lib/session.c:73:9: warning[-Wunused-macros]: macro "IS_ENCHANT_PWL" is not used
# 73 | #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL))
# | ^~~~~~~~~~~~~~
# 71| #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL))
# 72| #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass))
# 73|-> #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL))
# 74| #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL))
# 75| #define ENCHANT_PWL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PWL, EnchantPWLClass))
Error: COMPILER_WARNING (CWE-1164): [#def98]
enchant2-2.8.1-build/enchant-2.8.1/lib/session.c:74:9: warning[-Wunused-macros]: macro "IS_ENCHANT_PWL_CLASS" is not used
# 74 | #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL))
# | ^~~~~~~~~~~~~~~~~~~~
# 72| #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass))
# 73| #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL))
# 74|-> #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL))
# 75| #define ENCHANT_PWL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PWL, EnchantPWLClass))
# 76|
Error: COMPILER_WARNING (CWE-1164): [#def99]
enchant2-2.8.1-build/enchant-2.8.1/lib/session.c:75:9: warning[-Wunused-macros]: macro "ENCHANT_PWL_GET_CLASS" is not used
# 75 | #define ENCHANT_PWL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PWL, EnchantPWLClass))
# | ^~~~~~~~~~~~~~~~~~~~~
# 73| #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL))
# 74| #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL))
# 75|-> #define ENCHANT_PWL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PWL, EnchantPWLClass))
# 76|
# 77| typedef struct _EnchantPWL EnchantPWL;
Error: COMPILER_WARNING (CWE-1164): [#def100]
enchant2-2.8.1-build/enchant-2.8.1/lib/session.c:80:9: warning[-Wunused-macros]: macro "TYPE_ENCHANT_PROVIDER" is not used
# 80 | #define TYPE_ENCHANT_PROVIDER (enchant_provider_get_type ())
# | ^~~~~~~~~~~~~~~~~~~~~
# 78| typedef struct _EnchantPWLClass EnchantPWLClass;
# 79|
# 80|-> #define TYPE_ENCHANT_PROVIDER (enchant_provider_get_type ())
# 81| #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider))
# 82| #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
Error: COMPILER_WARNING (CWE-1164): [#def101]
enchant2-2.8.1-build/enchant-2.8.1/lib/session.c:81:9: warning[-Wunused-macros]: macro "ENCHANT_PROVIDER" is not used
# 81 | #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider))
# | ^~~~~~~~~~~~~~~~
# 79|
# 80| #define TYPE_ENCHANT_PROVIDER (enchant_provider_get_type ())
# 81|-> #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider))
# 82| #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
# 83| #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER))
Error: COMPILER_WARNING (CWE-1164): [#def102]
enchant2-2.8.1-build/enchant-2.8.1/lib/session.c:82:9: warning[-Wunused-macros]: macro "ENCHANT_PROVIDER_CLASS" is not used
# 82 | #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
# | ^~~~~~~~~~~~~~~~~~~~~~
# 80| #define TYPE_ENCHANT_PROVIDER (enchant_provider_get_type ())
# 81| #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider))
# 82|-> #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
# 83| #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER))
# 84| #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER))
Error: COMPILER_WARNING (CWE-1164): [#def103]
enchant2-2.8.1-build/enchant-2.8.1/lib/session.c:83:9: warning[-Wunused-macros]: macro "IS_ENCHANT_PROVIDER" is not used
# 83 | #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER))
# | ^~~~~~~~~~~~~~~~~~~
# 81| #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider))
# 82| #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
# 83|-> #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER))
# 84| #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER))
# 85| #define ENCHANT_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
Error: COMPILER_WARNING (CWE-1164): [#def104]
enchant2-2.8.1-build/enchant-2.8.1/lib/session.c:84:9: warning[-Wunused-macros]: macro "IS_ENCHANT_PROVIDER_CLASS" is not used
# 84 | #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER))
# | ^~~~~~~~~~~~~~~~~~~~~~~~~
# 82| #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
# 83| #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER))
# 84|-> #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER))
# 85| #define ENCHANT_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
# 86|
Error: COMPILER_WARNING (CWE-1164): [#def105]
enchant2-2.8.1-build/enchant-2.8.1/lib/session.c:85:9: warning[-Wunused-macros]: macro "ENCHANT_PROVIDER_GET_CLASS" is not used
# 85 | #define ENCHANT_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~
# 83| #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER))
# 84| #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER))
# 85|-> #define ENCHANT_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PROVIDER, EnchantProviderClass))
# 86|
# 87| typedef struct _EnchantProvider EnchantProvider;
Error: CPPCHECK_WARNING: [#def106]
enchant2-2.8.1-build/enchant-2.8.1/providers/enchant_hunspell.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING: [#def107]
enchant2-2.8.1-build/enchant-2.8.1/providers/enchant_voikko.c: scope_hint: In function 'voikko_dict_suggest'
enchant2-2.8.1-build/enchant-2.8.1/providers/enchant_voikko.c:74:42: warning[-Wcalloc-transposed-args]: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument
# 74 | char **sugg_arr = calloc(sizeof (char *), *out_n_suggs + 1);
# | ^~~~
enchant2-2.8.1-build/enchant-2.8.1/providers/enchant_voikko.c:74:42: note: earlier argument should specify number of elements, later size of each element
# 72| for (*out_n_suggs = 0; voikko_sugg_arr[*out_n_suggs] != NULL; (*out_n_suggs)++);
# 73|
# 74|-> char **sugg_arr = calloc(sizeof (char *), *out_n_suggs + 1);
# 75| if (sugg_arr == NULL)
# 76| return NULL;
Error: CPPCHECK_WARNING: [#def108]
enchant2-2.8.1-build/enchant-2.8.1/src/enchant-lsmod.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def109]
enchant2-2.8.1-build/enchant-2.8.1/src/enchant.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Scan Properties
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 |
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.8.1-1.fc41 |
store-results-to | /tmp/tmppqmnzrbh/enchant2-2.8.1-1.fc41.tar.xz |
time-created | 2024-07-03 12:32:44 |
time-finished | 2024-07-03 12:35:02 |
tool | csmock |
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' |
tool-version | csmock-3.5.3-1.el9 |