<p>Hello!</p>
<p>At present, <code>clang</code> throws these warnings on master:</p>
<div class="snippet-clipboard-content position-relative" data-snippet-clipboard-copy-content="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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820:42: note: expanded from macro 'G_N_ELEMENTS'
#define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0]))
~~~~~~~~~~~~ ^
"><pre><code>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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820: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:820:42: note: expanded from macro 'G_N_ELEMENTS'
#define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0]))
~~~~~~~~~~~~ ^
</code></pre></div>
<p>This PR fixes these warnings.</p>
<p>Thanks!</p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/geany/geany/pull/2889'>https://github.com/geany/geany/pull/2889</a></p>
<h4>Commit Summary</h4>
<ul>
<li>Use empty array instead of NULL pointer</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/geany/geany/pull/2889/files#diff-685dd96b4920a7bced2bba9ed08d00c3f620215283b583c14a1d0c9ab5500343">src/highlightingmappings.h</a>
(99)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/geany/geany/pull/2889.patch'>https://github.com/geany/geany/pull/2889.patch</a></li>
<li><a href='https://github.com/geany/geany/pull/2889.diff'>https://github.com/geany/geany/pull/2889.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2889">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ4QNU2OFP5EYW5COTDUANTI7ANCNFSM5DOZPAPQ">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AAIOWJ3KLF66FCCSFLRFB73UANTI7A5CNFSM5DOZPAP2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4OXLMX5A.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2889",
"url": "https://github.com/geany/geany/pull/2889",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>