Hello,
When building emacs from master branch, I get the below error:
OS: CentOS Linux release 7.6.1810 (Core)
Other than --prefix, my configure switches are "--with-modules --with-harfbuzz --with-imagemagick".
I tried running "make bootstrap" and still got the same error.
=====
In file included from /usr/lib/glib-2.0/include/glibconfig.h:9,
from /usr/include/glib-2.0/glib/gtypes.h:32,
from /usr/include/glib-2.0/glib/galloca.h:32,
from /usr/include/glib-2.0/glib.h:30,
from /usr/include/gtk-3.0/gdk/gdkconfig.h:13,
from /usr/include/gtk-3.0/gdk/gdk.h:30,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from xterm.h:49,
from emacsgtkfixed.c:25:
emacsgtkfixed.c: In function ‘emacs_fixed_get_type’:
emacsgtkfixed.c:51:1: error: size of array ‘_GStaticAssertCompileTimeAssertion_3’ is negative
51 | G_DEFINE_TYPE (EmacsFixed, emacs_fixed, GTK_TYPE_FIXED)
| ^~~~~~~~~~~~~
emacsgtkfixed.c:51:1: error: size of array ‘_GStaticAssertCompileTimeAssertion_4’ is negative
51 | G_DEFINE_TYPE (EmacsFixed, emacs_fixed, GTK_TYPE_FIXED)
| ^~~~~~~~~~~~~
emacsgtkfixed.c:51:1: error: size of array ‘_GStaticAssertCompileTimeAssertion_5’ is negative
51 | G_DEFINE_TYPE (EmacsFixed, emacs_fixed, GTK_TYPE_FIXED)
| ^~~~~~~~~~~~~
make[2]: *** [emacsgtkfixed.o] Error 1