Hello!
Currently, on latest master `clang` throws these warnings: ``` highlighting.c:1011:3: warning: 'sizeof (((HLKeyword *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] init_styleset_case(CONF); ^~~~~~~~~~~~~~~~~~~~~~~~ highlighting.c:966:5: note: expanded from macro 'init_styleset_case' HL_N_ENTRIES(highlighting_keywords_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1014:3: warning: 'sizeof (((HLKeyword *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] init_styleset_case(DIFF); ^~~~~~~~~~~~~~~~~~~~~~~~ highlighting.c:966:5: note: expanded from macro 'init_styleset_case' HL_N_ENTRIES(highlighting_keywords_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1032:3: warning: 'sizeof (((HLKeyword *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] init_styleset_case(MAKE); ^~~~~~~~~~~~~~~~~~~~~~~~ highlighting.c:966:5: note: expanded from macro 'init_styleset_case' HL_N_ENTRIES(highlighting_keywords_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1034:3: warning: 'sizeof (((HLKeyword *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] init_styleset_case(MARKDOWN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ highlighting.c:966:5: note: expanded from macro 'init_styleset_case' HL_N_ENTRIES(highlighting_keywords_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1040:3: warning: 'sizeof (((HLKeyword *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] init_styleset_case(PO); ^~~~~~~~~~~~~~~~~~~~~~ highlighting.c:966:5: note: expanded from macro 'init_styleset_case' HL_N_ENTRIES(highlighting_keywords_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1050:3: warning: 'sizeof (((HLKeyword *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] init_styleset_case(TXT2TAGS); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ highlighting.c:966:5: note: expanded from macro 'init_styleset_case' HL_N_ENTRIES(highlighting_keywords_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1091:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(ABAQUS); ^~~~~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1092:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(ADA); ^~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1093:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(ASM); ^~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1094:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(BASIC); ^~~~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1095:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(BATCH); ^~~~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1097:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(CAML); ^~~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1098:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(CMAKE); ^~~~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1100:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(COFFEESCRIPT); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1101:3: warning: 'sizeof (((HLKeyword *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(CONF); ^~~~~~~~~~~~~~~~~~~ highlighting.c:1074:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_keywords_##LANG_NAME), \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1101:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(CONF); ^~~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1102:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(CSS); ^~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1103:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(D); ^~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1104:3: warning: 'sizeof (((HLKeyword *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(DIFF); ^~~~~~~~~~~~~~~~~~~ highlighting.c:1074:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_keywords_##LANG_NAME), \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1104:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(DIFF); ^~~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1105:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(LISP); ^~~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1106:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(ERLANG); ^~~~~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1107:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(DOCBOOK); ^~~~~~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1109:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(F77); ^~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1110:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(FORTH); ^~~~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1111:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(FORTRAN); ^~~~~~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1113:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(HASKELL); ^~~~~~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1119:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(JULIA); ^~~~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1120:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(LATEX); ^~~~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1121:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(LUA); ^~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1122:3: warning: 'sizeof (((HLKeyword *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(MAKE); ^~~~~~~~~~~~~~~~~~~ highlighting.c:1074:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_keywords_##LANG_NAME), \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1122:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(MAKE); ^~~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1123:3: warning: 'sizeof (((HLKeyword *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(MARKDOWN); ^~~~~~~~~~~~~~~~~~~~~~~ highlighting.c:1074:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_keywords_##LANG_NAME), \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1123:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(MARKDOWN); ^~~~~~~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1124:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(MATLAB); ^~~~~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1125:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(NSIS); ^~~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1127:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(PASCAL); ^~~~~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1128:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(PERL); ^~~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1130:3: warning: 'sizeof (((HLKeyword *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(PO); ^~~~~~~~~~~~~~~~~ highlighting.c:1074:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_keywords_##LANG_NAME), \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1130:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(PO); ^~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1131:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(POWERSHELL); ^~~~~~~~~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1132:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(PYTHON); ^~~~~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1133:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(R); ^~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1134:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(RUBY); ^~~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1135:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(RUST); ^~~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1136:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(SH); ^~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1137:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(SMALLTALK); ^~~~~~~~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1138:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(SQL); ^~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1139:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(TCL); ^~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1140:3: warning: 'sizeof (((HLKeyword *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(TXT2TAGS); ^~~~~~~~~~~~~~~~~~~~~~~ highlighting.c:1074:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_keywords_##LANG_NAME), \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1140:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(TXT2TAGS); ^~~~~~~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1141:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(VHDL); ^~~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1142:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(VERILOG); ^~~~~~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ highlighting.c:1144:3: warning: 'sizeof (((HLProperty *)((void *)0)))' will return the size of the pointer, not the array itself [-Wsizeof-pointer-div] styleset_case(YAML); ^~~~~~~~~~~~~~~~~~~ highlighting.c:1076:5: note: expanded from macro 'styleset_case' HL_N_ENTRIES(highlighting_properties_##LANG_NAME)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./highlightingmappings.h:72:48: note: expanded from macro 'HL_N_ENTRIES' #define HL_N_ENTRIES(array) ((array != NULL) ? G_N_ELEMENTS(array) : 0) ^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:840:42: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) ~~~~~~~~~~~~ ^ 54 warnings generated. ``` clang version 12.0.0-3ubuntu1~21.04.2 here BTW.
Thanks!
See #2398
Closed #2906 as completed via #2398.
github-comments@lists.geany.org