<p></p>
<p>Hello!</p>
<p>Currently, on latest master <code>clang</code> throws these warnings:</p>
<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: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.
</code></pre>
<p>clang version 12.0.0-3ubuntu1~21.04.2 here BTW.</p>
<p>Thanks!</p>
<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/issues/2906">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ5Q4XKRF7VFFMRVM5DUD4TMPANCNFSM5EY2Y6CA">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/AAIOWJYQ3KO6F3Q6L4G42OTUD4TMPA5CNFSM5EY2Y6CKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4PALYSWQ.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/issues/2906",
"url": "https://github.com/geany/geany/issues/2906",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>