g-ir-scanner logs warning when parsing /usr/include/GL/gl.h
The command (according to ninja -v) and warning is:
/home/jonas/Dev/gnome/install/bin/g-ir-scanner -I/home/jonas/Dev/gnome/install/include/gobject-introspection-1.0 -I/home/jonas/Dev/gnome/install/include/glib-2.0 -I/home/jonas/Dev/gnome/install/lib/glib-2.0/include -pthread --no-libtool --namespace=Meta --nsversion=4 --warn-all --output src/Meta-4.gir -DCLUTTER_ENABLE_COMPOSITOR_API -DCLUTTER_ENABLE_EXPERIMENTAL_API -DCOGL_ENABLE_EXPERIMENTAL_API -DCOGL_ENABLE_EXPERIMENTAL_2_0_API -DCOGL_ENABLE_MUTTER_API -DCLUTTER_DISABLE_DEPRECATION_WARNINGS -DCOGL_DISABLE_DEPRECATION_WARNINGS '-DG_LOG_DOMAIN="mutter"' -DSN_API_NOT_YET_FROZEN=1 '-DGETTEXT_PACKAGE="mutter"' -DWITH_VERBOSE_MODE --quiet -U_GNU_SOURCE -I/home/jonas/Dev/gnome/mutter/src -I/home/jonas/Dev/gnome/mutter/build/src -I./src/. -I../src/. -I./. -I../. -I./clutter/. -I../clutter/. -I./clutter/clutter -I../clutter/clutter -I./cogl/. -I../cogl/. -I./cogl/cogl -I../cogl/cogl --filelist=/home/jonas/Dev/gnome/mutter/build/src/25a6634@@mutter-4@sha/Meta_4_gir_filelist --include=GObject-2.0 --include=G
/usr/include/GL/gl.h|2090| syntax error, unexpected typedef-name, expecting identifier or '(' in 'typedef void* GLeglImageOES;' at 'GLeglImageOES'
gl.h
comes from mesa-libGL-devel-18.2.8-1.fc29.x86_64
I observe this when building mutter on F29 using g-ir-scanner from master.