xlc-mc

AIX 7100-00-03

vac.C 11.1.0.7

glib-2.20.5 in-house rebuild

mc-4.7.5.3

$ ./configure --with-screen=ncurses

make fails at:

Making all in filehighlight
  CC     libmcfilehighlight_la-common.lo
"/usr/local/include/glib-2.0/gobject/gtype.h", line 367.41: 1506-275 (S) Unexpected text GType encountered.
"/usr/local/include/glib-2.0/gobject/gtype.h", line 394.3: 1506-046 (S) Syntax error.
"/usr/local/include/glib-2.0/gobject/gtype.h", line 404.3: 1506-046 (S) Syntax error.
"/usr/local/include/glib-2.0/gobject/gtype.h", line 414.3: 1506-046 (S) Syntax error.
"/usr/local/include/glib-2.0/gobject/gtype.h", line 429.3: 1506-046 (S) Syntax error.
"/usr/local/include/glib-2.0/gobject/gtype.h", line 634.72: 1506-275 (S) Unexpected text debug_flags encountered.
"/usr/local/include/glib-2.0/gobject/gtype.h", line 28.1: 1506-485 (S) Parameter declaration list is incompatible with declarator for G_BEGIN_DECLS.
"/usr/local/include/glib-2.0/gobject/gtype.h", line 635.1: 1506-276 (S) Syntax error: possible missing '{'?
"/usr/local/include/glib-2.0/gobject/gtype.h", line 901.3: 1506-045 (S) Undeclared identifier G_TYPE_FLAG_CLASSED.
"/usr/local/include/glib-2.0/gobject/gtype.h", line 902.3: 1506-045 (S) Undeclared identifier G_TYPE_FLAG_INSTANTIATABLE.
"/usr/local/include/glib-2.0/gobject/gtype.h", line 903.3: 1506-045 (S) Undeclared identifier G_TYPE_FLAG_DERIVABLE.
"/usr/local/include/glib-2.0/gobject/gtype.h", line 904.3: 1506-045 (S) Undeclared identifier G_TYPE_FLAG_DEEP_DERIVABLE.
"/usr/local/include/glib-2.0/gobject/gtype.h", line 905.1: 1506-277 (S) Syntax error: possible missing ';' or ','?
"/usr/local/include/glib-2.0/gobject/gtype.h", line 905.3: 1506-273 (E) Missing type in declaration of GTypeFundamentalFlags.
"/usr/local/include/glib-2.0/gobject/gtype.h", line 954.3: 1506-046 (S) Syntax error.
make: 1254-004 The error code from the last command is 1.

The same with CC=xlc_r or CC=gxlc.