Compilation 2.99.x fail - about-dialog.c invalid application of 'sizeof' to an incomplete type
Environment/Versions
- GIMP version: 2.99.x
- Operating System: macOS 11
- master branch
Description of the bug
Building GIMP 2.99.x on MacOSX 11 is getting some erros on about-dialog.c compilation with macro G_N_ELEMENTS:
../app/dialogs/about-dialog.c:62:24: error: invalid application of 'sizeof' to an incomplete type 'const gchar const []' gint shuffle[G_N_ELEMENTS (authors) - 1]; / NULL terminated */
/usr/local/Cellar/glib/2.70.0_1/include/glib-2.0/glib/gmacros.h:901:36: note: expanded from macro 'G_N_ELEMENTS' #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0]))
Build error log: https://pastebin.com/k4BfPe4a