autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal --force -I m4
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:14: installing './compile'
configure.ac:17: installing './missing'
modules/im/ximcp/Makefile.am: installing './depcomp'
autoreconf: './install-sh' is updated
autoreconf: Leaving directory '.'
configure: WARNING: xmlto cannot generate text format, this format skipped
In function ‘parseline’,
    inlined from ‘parsestringfile’ at imLcPrs.c:739:13:
imLcPrs.c:681:32: warning: pointer ‘old’ may be used after ‘realloc’ [-Wuse-after-free]
  681 |                 if (old && top >= (DTIndex *) old && top < (DTIndex *) &old[oldsize])
      |                            ~~~~^~~~~~~~~~~~~~~~~~
In file included from imLcPrs.c:39:
../../../include/X11/Xlibint.h:458:30: note: call to ‘realloc’ here
  458 | # define Xrealloc(ptr, size) realloc((ptr), (size_t)((size) == 0 ? 1 : (size)))
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imLcPrs.c:674:36: note: in expansion of macro ‘Xrealloc’
  674 |                 DefTree *new     = Xrealloc (b->tree, sizeof(DefTree) * newsize);
      |                                    ^~~~~~~~
imLcPrs.c:682:70: warning: pointer ‘old’ may be used after ‘realloc’ [-Wuse-after-free]
  682 |                     top = (DTIndex *) (((char *)new) + (((char *)top)-(char *)old));
      |                                                        ~~~~~~~~~~~~~~^~~~~~~~~~~~~
../../../include/X11/Xlibint.h:458:30: note: call to ‘realloc’ here
  458 | # define Xrealloc(ptr, size) realloc((ptr), (size_t)((size) == 0 ? 1 : (size)))
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imLcPrs.c:674:36: note: in expansion of macro ‘Xrealloc’
  674 |                 DefTree *new     = Xrealloc (b->tree, sizeof(DefTree) * newsize);
      |                                    ^~~~~~~~
imLcPrs.c:681:72: warning: pointer ‘old’ may be used after ‘realloc’ [-Wuse-after-free]
  681 |                 if (old && top >= (DTIndex *) old && top < (DTIndex *) &old[oldsize])
      |                                                                        ^~~~~~~~~~~~~
../../../include/X11/Xlibint.h:458:30: note: call to ‘realloc’ here
  458 | # define Xrealloc(ptr, size) realloc((ptr), (size_t)((size) == 0 ? 1 : (size)))
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imLcPrs.c:674:36: note: in expansion of macro ‘Xrealloc’
  674 |                 DefTree *new     = Xrealloc (b->tree, sizeof(DefTree) * newsize);
      |                                    ^~~~~~~~
In file included from lcConv.c:32:
../../src/locking.h:37: warning: "xmalloc" redefined
   37 | #define xmalloc(s) Xmalloc(s)
      | 
In file included from ../../include/X11/Xlibint.h:47,
                 from lcConv.c:29:
/usr/include/X11/Xthreads.h:34: note: this is the location of the previous definition
   34 | #  define xmalloc malloc
      | 
../../src/locking.h:38: warning: "xfree" redefined
   38 | #define xfree(s) Xfree(s)
      | 
/usr/include/X11/Xthreads.h:37: note: this is the location of the previous definition
   37 | #  define xfree free
      | 
In file included from XKBMAlloc.c:33:
XKBMAlloc.c: In function ‘XkbChangeKeycodeRange’:
../../include/X11/Xlibint.h:447:20: warning: pointer may be used after ‘reallocarray’ [-Wuse-after-free]
  447 | #define Xfree(ptr) free((ptr))
      |                    ^~~~~~~~~~~
XKBlibint.h:123:33: note: in expansion of macro ‘Xfree’
  123 | #define _XkbFree(p)             Xfree(p)
      |                                 ^~~~~
XKBlibint.h:135:17: note: in expansion of macro ‘_XkbFree’
  135 |                 _XkbFree(prev_array);                                        \
      |                 ^~~~~~~~
XKBMAlloc.c:707:17: note: in expansion of macro ‘_XkbResizeArray’
  707 |                 _XkbResizeArray(xkb->map->key_sym_map, xkb->max_key_code + 1,
      |                 ^~~~~~~~~~~~~~~
In file included from XKBlibint.h:32,
                 from XKBMAlloc.c:36:
../../src/reallocarray.h:39:5: note: call to ‘reallocarray’ here
   39 |     reallocarray((ptr), ((n) == 0 ? 1 : (n)), size)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XKBlibint.h:133:21: note: in expansion of macro ‘Xreallocarray’
  133 |             array = Xreallocarray(array, new_num, sizeof(type));             \
      |                     ^~~~~~~~~~~~~
XKBMAlloc.c:707:17: note: in expansion of macro ‘_XkbResizeArray’
  707 |                 _XkbResizeArray(xkb->map->key_sym_map, xkb->max_key_code + 1,
      |                 ^~~~~~~~~~~~~~~
../../include/X11/Xlibint.h:447:20: warning: pointer may be used after ‘reallocarray’ [-Wuse-after-free]
  447 | #define Xfree(ptr) free((ptr))
      |                    ^~~~~~~~~~~
XKBlibint.h:123:33: note: in expansion of macro ‘Xfree’
  123 | #define _XkbFree(p)             Xfree(p)
      |                                 ^~~~~
XKBlibint.h:135:17: note: in expansion of macro ‘_XkbFree’
  135 |                 _XkbFree(prev_array);                                        \
      |                 ^~~~~~~~
XKBMAlloc.c:720:17: note: in expansion of macro ‘_XkbResizeArray’
  720 |                 _XkbResizeArray(xkb->map->modmap, xkb->max_key_code + 1,
      |                 ^~~~~~~~~~~~~~~
../../src/reallocarray.h:39:5: note: call to ‘reallocarray’ here
   39 |     reallocarray((ptr), ((n) == 0 ? 1 : (n)), size)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XKBlibint.h:133:21: note: in expansion of macro ‘Xreallocarray’
  133 |             array = Xreallocarray(array, new_num, sizeof(type));             \
      |                     ^~~~~~~~~~~~~
XKBMAlloc.c:720:17: note: in expansion of macro ‘_XkbResizeArray’
  720 |                 _XkbResizeArray(xkb->map->modmap, xkb->max_key_code + 1,
      |                 ^~~~~~~~~~~~~~~
../../include/X11/Xlibint.h:447:20: warning: pointer may be used after ‘reallocarray’ [-Wuse-after-free]
  447 | #define Xfree(ptr) free((ptr))
      |                    ^~~~~~~~~~~
XKBlibint.h:123:33: note: in expansion of macro ‘Xfree’
  123 | #define _XkbFree(p)             Xfree(p)
      |                                 ^~~~~
XKBlibint.h:135:17: note: in expansion of macro ‘_XkbFree’
  135 |                 _XkbFree(prev_array);                                        \
      |                 ^~~~~~~~
XKBMAlloc.c:735:17: note: in expansion of macro ‘_XkbResizeArray’
  735 |                 _XkbResizeArray(xkb->server->behaviors, xkb->max_key_code + 1,
      |                 ^~~~~~~~~~~~~~~
../../src/reallocarray.h:39:5: note: call to ‘reallocarray’ here
   39 |     reallocarray((ptr), ((n) == 0 ? 1 : (n)), size)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XKBlibint.h:133:21: note: in expansion of macro ‘Xreallocarray’
  133 |             array = Xreallocarray(array, new_num, sizeof(type));             \
      |                     ^~~~~~~~~~~~~
XKBMAlloc.c:735:17: note: in expansion of macro ‘_XkbResizeArray’
  735 |                 _XkbResizeArray(xkb->server->behaviors, xkb->max_key_code + 1,
      |                 ^~~~~~~~~~~~~~~
../../include/X11/Xlibint.h:447:20: warning: pointer may be used after ‘reallocarray’ [-Wuse-after-free]
  447 | #define Xfree(ptr) free((ptr))
      |                    ^~~~~~~~~~~
XKBlibint.h:123:33: note: in expansion of macro ‘Xfree’
  123 | #define _XkbFree(p)             Xfree(p)
      |                                 ^~~~~
XKBlibint.h:135:17: note: in expansion of macro ‘_XkbFree’
  135 |                 _XkbFree(prev_array);                                        \
      |                 ^~~~~~~~
XKBMAlloc.c:748:17: note: in expansion of macro ‘_XkbResizeArray’
  748 |                 _XkbResizeArray(xkb->server->key_acts, xkb->max_key_code + 1,
      |                 ^~~~~~~~~~~~~~~
../../src/reallocarray.h:39:5: note: call to ‘reallocarray’ here
   39 |     reallocarray((ptr), ((n) == 0 ? 1 : (n)), size)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XKBlibint.h:133:21: note: in expansion of macro ‘Xreallocarray’
  133 |             array = Xreallocarray(array, new_num, sizeof(type));             \
      |                     ^~~~~~~~~~~~~
XKBMAlloc.c:748:17: note: in expansion of macro ‘_XkbResizeArray’
  748 |                 _XkbResizeArray(xkb->server->key_acts, xkb->max_key_code + 1,
      |                 ^~~~~~~~~~~~~~~
../../include/X11/Xlibint.h:447:20: warning: pointer may be used after ‘reallocarray’ [-Wuse-after-free]
  447 | #define Xfree(ptr) free((ptr))
      |                    ^~~~~~~~~~~
XKBlibint.h:123:33: note: in expansion of macro ‘Xfree’
  123 | #define _XkbFree(p)             Xfree(p)
      |                                 ^~~~~
XKBlibint.h:135:17: note: in expansion of macro ‘_XkbFree’
  135 |                 _XkbFree(prev_array);                                        \
      |                 ^~~~~~~~
XKBMAlloc.c:761:17: note: in expansion of macro ‘_XkbResizeArray’
  761 |                 _XkbResizeArray(xkb->server->vmodmap, xkb->max_key_code + 1,
      |                 ^~~~~~~~~~~~~~~
../../src/reallocarray.h:39:5: note: call to ‘reallocarray’ here
   39 |     reallocarray((ptr), ((n) == 0 ? 1 : (n)), size)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XKBlibint.h:133:21: note: in expansion of macro ‘Xreallocarray’
  133 |             array = Xreallocarray(array, new_num, sizeof(type));             \
      |                     ^~~~~~~~~~~~~
XKBMAlloc.c:761:17: note: in expansion of macro ‘_XkbResizeArray’
  761 |                 _XkbResizeArray(xkb->server->vmodmap, xkb->max_key_code + 1,
      |                 ^~~~~~~~~~~~~~~
../../include/X11/Xlibint.h:447:20: warning: pointer may be used after ‘reallocarray’ [-Wuse-after-free]
  447 | #define Xfree(ptr) free((ptr))
      |                    ^~~~~~~~~~~
XKBlibint.h:123:33: note: in expansion of macro ‘Xfree’
  123 | #define _XkbFree(p)             Xfree(p)
      |                                 ^~~~~
XKBlibint.h:135:17: note: in expansion of macro ‘_XkbFree’
  135 |                 _XkbFree(prev_array);                                        \
      |                 ^~~~~~~~
XKBMAlloc.c:775:13: note: in expansion of macro ‘_XkbResizeArray’
  775 |             _XkbResizeArray(xkb->names->keys, xkb->max_key_code + 1,
      |             ^~~~~~~~~~~~~~~
../../src/reallocarray.h:39:5: note: call to ‘reallocarray’ here
   39 |     reallocarray((ptr), ((n) == 0 ? 1 : (n)), size)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XKBlibint.h:133:21: note: in expansion of macro ‘Xreallocarray’
  133 |             array = Xreallocarray(array, new_num, sizeof(type));             \
      |                     ^~~~~~~~~~~~~
XKBMAlloc.c:775:13: note: in expansion of macro ‘_XkbResizeArray’
  775 |             _XkbResizeArray(xkb->names->keys, xkb->max_key_code + 1,
      |             ^~~~~~~~~~~~~~~
In file included from Xxcbint.h:14,
                 from ClDisplay.c:33:
locking.h:37: warning: "xmalloc" redefined
   37 | #define xmalloc(s) Xmalloc(s)
      | 
In file included from ../include/X11/Xlibint.h:47,
                 from Xxcbint.h:9:
/usr/include/X11/Xthreads.h:34: note: this is the location of the previous definition
   34 | #  define xmalloc malloc
      | 
locking.h:38: warning: "xfree" redefined
   38 | #define xfree(s) Xfree(s)
      | 
/usr/include/X11/Xthreads.h:37: note: this is the location of the previous definition
   37 | #  define xfree free
      | 
In file included from Context.c:71:
locking.h:37: warning: "xmalloc" redefined
   37 | #define xmalloc(s) Xmalloc(s)
      | 
In file included from ../include/X11/Xlibint.h:47,
                 from Context.c:68:
/usr/include/X11/Xthreads.h:34: note: this is the location of the previous definition
   34 | #  define xmalloc malloc
      | 
locking.h:38: warning: "xfree" redefined
   38 | #define xfree(s) Xfree(s)
      | 
/usr/include/X11/Xthreads.h:37: note: this is the location of the previous definition
   37 | #  define xfree free
      | 
ErrDes.c: In function ‘XGetErrorDatabaseText.part.0’:
ErrDes.c:194:38: warning: ‘%s’ directive output may be truncated writing up to 8190 bytes into a region of size between 1 and 8191 [-Wformat-truncation=]
  194 |             snprintf(tptr, tlen, "%s.%s", name, type);
      |                                      ^~
In file included from /usr/include/stdio.h:894,
                 from ErrDes.c:57:
In function ‘snprintf’,
    inlined from ‘XGetErrorDatabaseText.part.0’ at ErrDes.c:194:6:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 2 and 16382 bytes into a destination of size 8192
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
In file included from LockDis.c:39:
locking.h:37: warning: "xmalloc" redefined
   37 | #define xmalloc(s) Xmalloc(s)
      | 
In file included from ../include/X11/Xlibint.h:47,
                 from LockDis.c:37:
/usr/include/X11/Xthreads.h:34: note: this is the location of the previous definition
   34 | #  define xmalloc malloc
      | 
locking.h:38: warning: "xfree" redefined
   38 | #define xfree(s) Xfree(s)
      | 
/usr/include/X11/Xthreads.h:37: note: this is the location of the previous definition
   37 | #  define xfree free
      | 
In file included from locking.c:49:
locking.h:37: warning: "xmalloc" redefined
   37 | #define xmalloc(s) Xmalloc(s)
      | 
In file included from ../include/X11/Xlibint.h:47,
                 from locking.c:36:
/usr/include/X11/Xthreads.h:34: note: this is the location of the previous definition
   34 | #  define xmalloc malloc
      | 
locking.h:38: warning: "xfree" redefined
   38 | #define xfree(s) Xfree(s)
      | 
/usr/include/X11/Xthreads.h:37: note: this is the location of the previous definition
   37 | #  define xfree free
      | 
In file included from Xxcbint.h:14,
                 from Macros.c:33:
locking.h:37: warning: "xmalloc" redefined
   37 | #define xmalloc(s) Xmalloc(s)
      | 
In file included from ../include/X11/Xlibint.h:47,
                 from Macros.c:30:
/usr/include/X11/Xthreads.h:34: note: this is the location of the previous definition
   34 | #  define xmalloc malloc
      | 
locking.h:38: warning: "xfree" redefined
   38 | #define xfree(s) Xfree(s)
      | 
/usr/include/X11/Xthreads.h:37: note: this is the location of the previous definition
   37 | #  define xfree free
      | 
In file included from Xxcbint.h:14,
                 from OpenDis.c:31:
locking.h:37: warning: "xmalloc" redefined
   37 | #define xmalloc(s) Xmalloc(s)
      | 
In file included from ../include/X11/Xlibint.h:47,
                 from OpenDis.c:30:
/usr/include/X11/Xthreads.h:34: note: this is the location of the previous definition
   34 | #  define xmalloc malloc
      | 
locking.h:38: warning: "xfree" redefined
   38 | #define xfree(s) Xfree(s)
      | 
/usr/include/X11/Xthreads.h:37: note: this is the location of the previous definition
   37 | #  define xfree free
      | 
In file included from xcb_io.c:9:
locking.h:37: warning: "xmalloc" redefined
   37 | #define xmalloc(s) Xmalloc(s)
      | 
In file included from ../include/X11/Xlibint.h:47,
                 from xcb_io.c:8:
/usr/include/X11/Xthreads.h:34: note: this is the location of the previous definition
   34 | #  define xmalloc malloc
      | 
locking.h:38: warning: "xfree" redefined
   38 | #define xfree(s) Xfree(s)
      | 
/usr/include/X11/Xthreads.h:37: note: this is the location of the previous definition
   37 | #  define xfree free
      | 
In file included from Xxcbint.h:14,
                 from xcb_disp.c:9:
locking.h:37: warning: "xmalloc" redefined
   37 | #define xmalloc(s) Xmalloc(s)
      | 
In file included from ../include/X11/Xlibint.h:47,
                 from xcb_disp.c:8:
/usr/include/X11/Xthreads.h:34: note: this is the location of the previous definition
   34 | #  define xmalloc malloc
      | 
locking.h:38: warning: "xfree" redefined
   38 | #define xfree(s) Xfree(s)
      | 
/usr/include/X11/Xthreads.h:37: note: this is the location of the previous definition
   37 | #  define xfree free
      | 
In file included from Xrm.c:61:
locking.h:37: warning: "xmalloc" redefined
   37 | #define xmalloc(s) Xmalloc(s)
      | 
In file included from ../include/X11/Xlibint.h:47,
                 from Xrm.c:57:
/usr/include/X11/Xthreads.h:34: note: this is the location of the previous definition
   34 | #  define xmalloc malloc
      | 
locking.h:38: warning: "xfree" redefined
   38 | #define xfree(s) Xfree(s)
      | 
/usr/include/X11/Xthreads.h:37: note: this is the location of the previous definition
   37 | #  define xfree free
      | 
Xrm.c: In function ‘PutEntry’:
Xrm.c:900:36: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
  900 |                         !quarks[2] != table->leaf)
      |                                    ^~
Xrm.c:900:25: note: add parentheses around left hand side expression to silence this warning
  900 |                         !quarks[2] != table->leaf)
      |                         ^~~~~~~~~~
      |                         (         )
In file included from XlibInt.c:66:
locking.h:37: warning: "xmalloc" redefined
   37 | #define xmalloc(s) Xmalloc(s)
      | 
In file included from ../include/X11/Xlibint.h:47,
                 from XlibInt.c:40:
/usr/include/X11/Xthreads.h:34: note: this is the location of the previous definition
   34 | #  define xmalloc malloc
      | 
locking.h:38: warning: "xfree" redefined
   38 | #define xfree(s) Xfree(s)
      | 
/usr/include/X11/Xthreads.h:37: note: this is the location of the previous definition
   37 | #  define xfree free
      | 
XlibInt.c: In function ‘_XPrintDefaultError’:
XlibInt.c:1329:24: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
 1329 |     (void) fprintf(fp, mesg, event->request_code);
      |                        ^~~~
XlibInt.c:1349:28: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
 1349 |         (void) fprintf(fp, mesg, event->minor_code);
      |                            ^~~~
Xrm.c: In function ‘GetDatabase’:
Xrm.c:1496:39: warning: pointer ‘rhs’ may be used after ‘realloc’ [-Wuse-after-free]
 1496 |                 ptr = temp_str + (ptr - rhs); /* reset pointer. */
      |                                  ~~~~~^~~~~~
XlibInt.c:1381:32: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
 1381 |             (void) fprintf(fp, mesg, event->resourceid);
      |                                ^~~~
../include/X11/Xlibint.h:458:30: note: call to ‘realloc’ here
  458 | # define Xrealloc(ptr, size) realloc((ptr), (size_t)((size) == 0 ? 1 : (size)))
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Xrm.c:1487:28: note: in expansion of macro ‘Xrealloc’
 1487 |                 temp_str = Xrealloc(rhs, sizeof(char) * alloc_chars);
      |                            ^~~~~~~~
XlibInt.c:1409:28: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
 1409 |         (void) fprintf(fp, mesg, event->resourceid);
      |                            ^~~~
XlibInt.c:1415:24: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
 1415 |     (void) fprintf(fp, mesg, event->serial);
      |                        ^~~~
XlibInt.c:1419:24: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
 1419 |     (void) fprintf(fp, mesg, (unsigned long long)(X_DPY_GET_REQUEST(dpy)));
      |                        ^~~~
In file included from Xxcbint.h:14,
                 from x11_xcb.c:5:
locking.h:37: warning: "xmalloc" redefined
   37 | #define xmalloc(s) Xmalloc(s)
      | 
In file included from ../include/X11/Xlibint.h:47,
                 from x11_xcb.c:4:
/usr/include/X11/Xthreads.h:34: note: this is the location of the previous definition
   34 | #  define xmalloc malloc
      | 
locking.h:38: warning: "xfree" redefined
   38 | #define xfree(s) Xfree(s)
      | 
/usr/include/X11/Xthreads.h:37: note: this is the location of the previous definition
   37 | #  define xfree free
      | 
libtool: warning: remember to run 'libtool --finish /usr/lib'
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal --force -I m4
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:14: installing './compile'
configure.ac:17: installing './missing'
modules/im/ximcp/Makefile.am: installing './depcomp'
autoreconf: './install-sh' is updated
autoreconf: Leaving directory '.'
configure: WARNING: xmlto cannot generate text format, this format skipped
imDefIm.c: In function ‘_XimProtoOpenIM’:
imDefIm.c:322:45: warning: ‘%s’ directive writing between 1 and 2147483645 bytes into a region of size between 0 and 2147483644 [-Wformat-overflow=]
  322 |             sprintf( locale_name[0], "%s_%s.%s", language, territory, codeset );
      |                                             ^~
In file included from /usr/include/stdio.h:894,
                 from ../../../src/xlibi18n/Ximint.h:36,
                 from ../../../src/xlibi18n/XimTrInt.h:55,
                 from imDefIm.c:62:
In function ‘sprintf’,
    inlined from ‘_XimPreConnectionIM’ at imDefIm.c:322:6,
    inlined from ‘_XimPreConnect’ at imDefIm.c:427:5,
    inlined from ‘_XimProtoOpenIM’ at imDefIm.c:2034:9:
/usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output 5 or more bytes (assuming 4294967293) into a destination of size 2147483647
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   40 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
In function ‘parseline’,
    inlined from ‘parsestringfile’ at imLcPrs.c:739:13:
imLcPrs.c:681:32: warning: pointer ‘old’ may be used after ‘realloc’ [-Wuse-after-free]
  681 |                 if (old && top >= (DTIndex *) old && top < (DTIndex *) &old[oldsize])
      |                            ~~~~^~~~~~~~~~~~~~~~~~
In file included from imLcPrs.c:39:
../../../include/X11/Xlibint.h:458:30: note: call to ‘realloc’ here
  458 | # define Xrealloc(ptr, size) realloc((ptr), (size_t)((size) == 0 ? 1 : (size)))
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imLcPrs.c:674:36: note: in expansion of macro ‘Xrealloc’
  674 |                 DefTree *new     = Xrealloc (b->tree, sizeof(DefTree) * newsize);
      |                                    ^~~~~~~~
imLcPrs.c:682:70: warning: pointer ‘old’ may be used after ‘realloc’ [-Wuse-after-free]
  682 |                     top = (DTIndex *) (((char *)new) + (((char *)top)-(char *)old));
      |                                                        ~~~~~~~~~~~~~~^~~~~~~~~~~~~
../../../include/X11/Xlibint.h:458:30: note: call to ‘realloc’ here
  458 | # define Xrealloc(ptr, size) realloc((ptr), (size_t)((size) == 0 ? 1 : (size)))
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imLcPrs.c:674:36: note: in expansion of macro ‘Xrealloc’
  674 |                 DefTree *new     = Xrealloc (b->tree, sizeof(DefTree) * newsize);
      |                                    ^~~~~~~~
imLcPrs.c:681:72: warning: pointer ‘old’ may be used after ‘realloc’ [-Wuse-after-free]
  681 |                 if (old && top >= (DTIndex *) old && top < (DTIndex *) &old[oldsize])
      |                                                                        ^~~~~~~~~~~~~
../../../include/X11/Xlibint.h:458:30: note: call to ‘realloc’ here
  458 | # define Xrealloc(ptr, size) realloc((ptr), (size_t)((size) == 0 ? 1 : (size)))
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imLcPrs.c:674:36: note: in expansion of macro ‘Xrealloc’
  674 |                 DefTree *new     = Xrealloc (b->tree, sizeof(DefTree) * newsize);
      |                                    ^~~~~~~~
In file included from /usr/include/string.h:535,
                 from /usr/include/X11/Xfuncs.h:46,
                 from ../../../include/X11/Xlibint.h:345,
                 from omGeneric.c:53:
In function ‘strncpy’,
    inlined from ‘read_EncodingInfo’ at omGeneric.c:1836:9:
/usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=]
   95 |   return __builtin___strncpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   96 |                                   __glibc_objsize (__dest));
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
omGeneric.c: In function ‘read_EncodingInfo’:
omGeneric.c:1837:30: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 1837 |         font_data->name[len] = 0;
      |         ~~~~~~~~~~~~~~~~~~~~~^~~
../../../include/X11/Xlibint.h:457:24: note: at offset -1 into destination object of size 1 allocated by ‘malloc’
  457 | # define Xmalloc(size) malloc((size_t)((size) == 0 ? 1 : (size)))
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
omGeneric.c:1830:27: note: in expansion of macro ‘Xmalloc’
 1830 |         font_data->name = Xmalloc(len + 1);
      |                           ^~~~~~~
In file included from lcConv.c:32:
../../src/locking.h:37: warning: "xmalloc" redefined
   37 | #define xmalloc(s) Xmalloc(s)
      | 
In file included from ../../include/X11/Xlibint.h:47,
                 from lcConv.c:29:
/usr/include/X11/Xthreads.h:34: note: this is the location of the previous definition
   34 | #  define xmalloc malloc
      | 
../../src/locking.h:38: warning: "xfree" redefined
   38 | #define xfree(s) Xfree(s)
      | 
/usr/include/X11/Xthreads.h:37: note: this is the location of the previous definition
   37 | #  define xfree free
      | 
In file included from XKBMAlloc.c:33:
XKBMAlloc.c: In function ‘XkbChangeKeycodeRange’:
../../include/X11/Xlibint.h:447:20: warning: pointer may be used after ‘reallocarray’ [-Wuse-after-free]
  447 | #define Xfree(ptr) free((ptr))
      |                    ^~~~~~~~~~~
XKBlibint.h:123:33: note: in expansion of macro ‘Xfree’
  123 | #define _XkbFree(p)             Xfree(p)
      |                                 ^~~~~
XKBlibint.h:135:17: note: in expansion of macro ‘_XkbFree’
  135 |                 _XkbFree(prev_array);                                        \
      |                 ^~~~~~~~
XKBMAlloc.c:707:17: note: in expansion of macro ‘_XkbResizeArray’
  707 |                 _XkbResizeArray(xkb->map->key_sym_map, xkb->max_key_code + 1,
      |                 ^~~~~~~~~~~~~~~
In file included from XKBlibint.h:32,
                 from XKBMAlloc.c:36:
../../src/reallocarray.h:39:5: note: call to ‘reallocarray’ here
   39 |     reallocarray((ptr), ((n) == 0 ? 1 : (n)), size)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XKBlibint.h:133:21: note: in expansion of macro ‘Xreallocarray’
  133 |             array = Xreallocarray(array, new_num, sizeof(type));             \
      |                     ^~~~~~~~~~~~~
XKBMAlloc.c:707:17: note: in expansion of macro ‘_XkbResizeArray’
  707 |                 _XkbResizeArray(xkb->map->key_sym_map, xkb->max_key_code + 1,
      |                 ^~~~~~~~~~~~~~~
../../include/X11/Xlibint.h:447:20: warning: pointer may be used after ‘reallocarray’ [-Wuse-after-free]
  447 | #define Xfree(ptr) free((ptr))
      |                    ^~~~~~~~~~~
XKBlibint.h:123:33: note: in expansion of macro ‘Xfree’
  123 | #define _XkbFree(p)             Xfree(p)
      |                                 ^~~~~
XKBlibint.h:135:17: note: in expansion of macro ‘_XkbFree’
  135 |                 _XkbFree(prev_array);                                        \
      |                 ^~~~~~~~
XKBMAlloc.c:720:17: note: in expansion of macro ‘_XkbResizeArray’
  720 |                 _XkbResizeArray(xkb->map->modmap, xkb->max_key_code + 1,
      |                 ^~~~~~~~~~~~~~~
../../src/reallocarray.h:39:5: note: call to ‘reallocarray’ here
   39 |     reallocarray((ptr), ((n) == 0 ? 1 : (n)), size)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XKBlibint.h:133:21: note: in expansion of macro ‘Xreallocarray’
  133 |             array = Xreallocarray(array, new_num, sizeof(type));             \
      |                     ^~~~~~~~~~~~~
XKBMAlloc.c:720:17: note: in expansion of macro ‘_XkbResizeArray’
  720 |                 _XkbResizeArray(xkb->map->modmap, xkb->max_key_code + 1,
      |                 ^~~~~~~~~~~~~~~
../../include/X11/Xlibint.h:447:20: warning: pointer may be used after ‘reallocarray’ [-Wuse-after-free]
  447 | #define Xfree(ptr) free((ptr))
      |                    ^~~~~~~~~~~
XKBlibint.h:123:33: note: in expansion of macro ‘Xfree’
  123 | #define _XkbFree(p)             Xfree(p)
      |                                 ^~~~~
XKBlibint.h:135:17: note: in expansion of macro ‘_XkbFree’
  135 |                 _XkbFree(prev_array);                                        \
      |                 ^~~~~~~~
XKBMAlloc.c:735:17: note: in expansion of macro ‘_XkbResizeArray’
  735 |                 _XkbResizeArray(xkb->server->behaviors, xkb->max_key_code + 1,
      |                 ^~~~~~~~~~~~~~~
../../src/reallocarray.h:39:5: note: call to ‘reallocarray’ here
   39 |     reallocarray((ptr), ((n) == 0 ? 1 : (n)), size)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XKBlibint.h:133:21: note: in expansion of macro ‘Xreallocarray’
  133 |             array = Xreallocarray(array, new_num, sizeof(type));             \
      |                     ^~~~~~~~~~~~~
XKBMAlloc.c:735:17: note: in expansion of macro ‘_XkbResizeArray’
  735 |                 _XkbResizeArray(xkb->server->behaviors, xkb->max_key_code + 1,
      |                 ^~~~~~~~~~~~~~~
../../include/X11/Xlibint.h:447:20: warning: pointer may be used after ‘reallocarray’ [-Wuse-after-free]
  447 | #define Xfree(ptr) free((ptr))
      |                    ^~~~~~~~~~~
XKBlibint.h:123:33: note: in expansion of macro ‘Xfree’
  123 | #define _XkbFree(p)             Xfree(p)
      |                                 ^~~~~
XKBlibint.h:135:17: note: in expansion of macro ‘_XkbFree’
  135 |                 _XkbFree(prev_array);                                        \
      |                 ^~~~~~~~
XKBMAlloc.c:748:17: note: in expansion of macro ‘_XkbResizeArray’
  748 |                 _XkbResizeArray(xkb->server->key_acts, xkb->max_key_code + 1,
      |                 ^~~~~~~~~~~~~~~
../../src/reallocarray.h:39:5: note: call to ‘reallocarray’ here
   39 |     reallocarray((ptr), ((n) == 0 ? 1 : (n)), size)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XKBlibint.h:133:21: note: in expansion of macro ‘Xreallocarray’
  133 |             array = Xreallocarray(array, new_num, sizeof(type));             \
      |                     ^~~~~~~~~~~~~
XKBMAlloc.c:748:17: note: in expansion of macro ‘_XkbResizeArray’
  748 |                 _XkbResizeArray(xkb->server->key_acts, xkb->max_key_code + 1,
      |                 ^~~~~~~~~~~~~~~
../../include/X11/Xlibint.h:447:20: warning: pointer may be used after ‘reallocarray’ [-Wuse-after-free]
  447 | #define Xfree(ptr) free((ptr))
      |                    ^~~~~~~~~~~
XKBlibint.h:123:33: note: in expansion of macro ‘Xfree’
  123 | #define _XkbFree(p)             Xfree(p)
      |                                 ^~~~~
XKBlibint.h:135:17: note: in expansion of macro ‘_XkbFree’
  135 |                 _XkbFree(prev_array);                                        \
      |                 ^~~~~~~~
XKBMAlloc.c:761:17: note: in expansion of macro ‘_XkbResizeArray’
  761 |                 _XkbResizeArray(xkb->server->vmodmap, xkb->max_key_code + 1,
      |                 ^~~~~~~~~~~~~~~
../../src/reallocarray.h:39:5: note: call to ‘reallocarray’ here
   39 |     reallocarray((ptr), ((n) == 0 ? 1 : (n)), size)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XKBlibint.h:133:21: note: in expansion of macro ‘Xreallocarray’
  133 |             array = Xreallocarray(array, new_num, sizeof(type));             \
      |                     ^~~~~~~~~~~~~
XKBMAlloc.c:761:17: note: in expansion of macro ‘_XkbResizeArray’
  761 |                 _XkbResizeArray(xkb->server->vmodmap, xkb->max_key_code + 1,
      |                 ^~~~~~~~~~~~~~~
../../include/X11/Xlibint.h:447:20: warning: pointer may be used after ‘reallocarray’ [-Wuse-after-free]
  447 | #define Xfree(ptr) free((ptr))
      |                    ^~~~~~~~~~~
XKBlibint.h:123:33: note: in expansion of macro ‘Xfree’
  123 | #define _XkbFree(p)             Xfree(p)
      |                                 ^~~~~
XKBlibint.h:135:17: note: in expansion of macro ‘_XkbFree’
  135 |                 _XkbFree(prev_array);                                        \
      |                 ^~~~~~~~
XKBMAlloc.c:775:13: note: in expansion of macro ‘_XkbResizeArray’
  775 |             _XkbResizeArray(xkb->names->keys, xkb->max_key_code + 1,
      |             ^~~~~~~~~~~~~~~
../../src/reallocarray.h:39:5: note: call to ‘reallocarray’ here
   39 |     reallocarray((ptr), ((n) == 0 ? 1 : (n)), size)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XKBlibint.h:133:21: note: in expansion of macro ‘Xreallocarray’
  133 |             array = Xreallocarray(array, new_num, sizeof(type));             \
      |                     ^~~~~~~~~~~~~
XKBMAlloc.c:775:13: note: in expansion of macro ‘_XkbResizeArray’
  775 |             _XkbResizeArray(xkb->names->keys, xkb->max_key_code + 1,
      |             ^~~~~~~~~~~~~~~
In file included from Xxcbint.h:14,
                 from ClDisplay.c:33:
locking.h:37: warning: "xmalloc" redefined
   37 | #define xmalloc(s) Xmalloc(s)
      | 
In file included from ../include/X11/Xlibint.h:47,
                 from Xxcbint.h:9:
/usr/include/X11/Xthreads.h:34: note: this is the location of the previous definition
   34 | #  define xmalloc malloc
      | 
locking.h:38: warning: "xfree" redefined
   38 | #define xfree(s) Xfree(s)
      | 
/usr/include/X11/Xthreads.h:37: note: this is the location of the previous definition
   37 | #  define xfree free
      | 
In file included from Context.c:71:
locking.h:37: warning: "xmalloc" redefined
   37 | #define xmalloc(s) Xmalloc(s)
      | 
In file included from ../include/X11/Xlibint.h:47,
                 from Context.c:68:
/usr/include/X11/Xthreads.h:34: note: this is the location of the previous definition
   34 | #  define xmalloc malloc
      | 
locking.h:38: warning: "xfree" redefined
   38 | #define xfree(s) Xfree(s)
      | 
/usr/include/X11/Xthreads.h:37: note: this is the location of the previous definition
   37 | #  define xfree free
      | 
ErrDes.c: In function ‘XGetErrorDatabaseText.part.0’:
ErrDes.c:194:38: warning: ‘%s’ directive output may be truncated writing up to 8190 bytes into a region of size between 1 and 8191 [-Wformat-truncation=]
  194 |             snprintf(tptr, tlen, "%s.%s", name, type);
      |                                      ^~
In file included from /usr/include/stdio.h:894,
                 from ErrDes.c:57:
In function ‘snprintf’,
    inlined from ‘XGetErrorDatabaseText.part.0’ at ErrDes.c:194:6:
/usr/include/bits/stdio2.h:71:10: note: ‘__builtin___snprintf_chk’ output between 2 and 16382 bytes into a destination of size 8192
   71 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   72 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   73 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
In file included from LockDis.c:39:
locking.h:37: warning: "xmalloc" redefined
   37 | #define xmalloc(s) Xmalloc(s)
      | 
In file included from ../include/X11/Xlibint.h:47,
                 from LockDis.c:37:
/usr/include/X11/Xthreads.h:34: note: this is the location of the previous definition
   34 | #  define xmalloc malloc
      | 
locking.h:38: warning: "xfree" redefined
   38 | #define xfree(s) Xfree(s)
      | 
/usr/include/X11/Xthreads.h:37: note: this is the location of the previous definition
   37 | #  define xfree free
      | 
In file included from locking.c:49:
locking.h:37: warning: "xmalloc" redefined
   37 | #define xmalloc(s) Xmalloc(s)
      | 
In file included from ../include/X11/Xlibint.h:47,
                 from locking.c:36:
/usr/include/X11/Xthreads.h:34: note: this is the location of the previous definition
   34 | #  define xmalloc malloc
      | 
locking.h:38: warning: "xfree" redefined
   38 | #define xfree(s) Xfree(s)
      | 
/usr/include/X11/Xthreads.h:37: note: this is the location of the previous definition
   37 | #  define xfree free
      | 
In file included from Xxcbint.h:14,
                 from Macros.c:33:
locking.h:37: warning: "xmalloc" redefined
   37 | #define xmalloc(s) Xmalloc(s)
      | 
In file included from ../include/X11/Xlibint.h:47,
                 from Macros.c:30:
/usr/include/X11/Xthreads.h:34: note: this is the location of the previous definition
   34 | #  define xmalloc malloc
      | 
locking.h:38: warning: "xfree" redefined
   38 | #define xfree(s) Xfree(s)
      | 
/usr/include/X11/Xthreads.h:37: note: this is the location of the previous definition
   37 | #  define xfree free
      | 
In file included from Xxcbint.h:14,
                 from OpenDis.c:31:
locking.h:37: warning: "xmalloc" redefined
   37 | #define xmalloc(s) Xmalloc(s)
      | 
In file included from ../include/X11/Xlibint.h:47,
                 from OpenDis.c:30:
/usr/include/X11/Xthreads.h:34: note: this is the location of the previous definition
   34 | #  define xmalloc malloc
      | 
locking.h:38: warning: "xfree" redefined
   38 | #define xfree(s) Xfree(s)
      | 
/usr/include/X11/Xthreads.h:37: note: this is the location of the previous definition
   37 | #  define xfree free
      | 
In file included from Xxcbint.h:14,
                 from xcb_disp.c:9:
locking.h:37: warning: "xmalloc" redefined
   37 | #define xmalloc(s) Xmalloc(s)
      | 
In file included from ../include/X11/Xlibint.h:47,
                 from xcb_disp.c:8:
/usr/include/X11/Xthreads.h:34: note: this is the location of the previous definition
   34 | #  define xmalloc malloc
      | 
locking.h:38: warning: "xfree" redefined
   38 | #define xfree(s) Xfree(s)
      | 
/usr/include/X11/Xthreads.h:37: note: this is the location of the previous definition
   37 | #  define xfree free
      | 
In file included from xcb_io.c:9:
locking.h:37: warning: "xmalloc" redefined
   37 | #define xmalloc(s) Xmalloc(s)
      | 
In file included from ../include/X11/Xlibint.h:47,
                 from xcb_io.c:8:
/usr/include/X11/Xthreads.h:34: note: this is the location of the previous definition
   34 | #  define xmalloc malloc
      | 
locking.h:38: warning: "xfree" redefined
   38 | #define xfree(s) Xfree(s)
      | 
/usr/include/X11/Xthreads.h:37: note: this is the location of the previous definition
   37 | #  define xfree free
      | 
In file included from XlibInt.c:66:
locking.h:37: warning: "xmalloc" redefined
   37 | #define xmalloc(s) Xmalloc(s)
      | 
In file included from ../include/X11/Xlibint.h:47,
                 from XlibInt.c:40:
/usr/include/X11/Xthreads.h:34: note: this is the location of the previous definition
   34 | #  define xmalloc malloc
      | 
locking.h:38: warning: "xfree" redefined
   38 | #define xfree(s) Xfree(s)
      | 
/usr/include/X11/Xthreads.h:37: note: this is the location of the previous definition
   37 | #  define xfree free
      | 
XlibInt.c: In function ‘_XPrintDefaultError’:
XlibInt.c:1329:24: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
 1329 |     (void) fprintf(fp, mesg, event->request_code);
      |                        ^~~~
XlibInt.c:1349:28: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
 1349 |         (void) fprintf(fp, mesg, event->minor_code);
      |                            ^~~~
XlibInt.c:1381:32: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
 1381 |             (void) fprintf(fp, mesg, event->resourceid);
      |                                ^~~~
XlibInt.c:1409:28: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
 1409 |         (void) fprintf(fp, mesg, event->resourceid);
      |                            ^~~~
XlibInt.c:1415:24: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
 1415 |     (void) fprintf(fp, mesg, event->serial);
      |                        ^~~~
XlibInt.c:1419:24: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
 1419 |     (void) fprintf(fp, mesg, (unsigned long long)(X_DPY_GET_REQUEST(dpy)));
      |                        ^~~~
In file included from Xrm.c:61:
locking.h:37: warning: "xmalloc" redefined
   37 | #define xmalloc(s) Xmalloc(s)
      | 
In file included from ../include/X11/Xlibint.h:47,
                 from Xrm.c:57:
/usr/include/X11/Xthreads.h:34: note: this is the location of the previous definition
   34 | #  define xmalloc malloc
      | 
locking.h:38: warning: "xfree" redefined
   38 | #define xfree(s) Xfree(s)
      | 
/usr/include/X11/Xthreads.h:37: note: this is the location of the previous definition
   37 | #  define xfree free
      | 
Xrm.c: In function ‘PutEntry’:
Xrm.c:900:36: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
  900 |                         !quarks[2] != table->leaf)
      |                                    ^~
Xrm.c:900:25: note: add parentheses around left hand side expression to silence this warning
  900 |                         !quarks[2] != table->leaf)
      |                         ^~~~~~~~~~
      |                         (         )
Xrm.c: In function ‘GetDatabase’:
Xrm.c:1496:39: warning: pointer ‘rhs’ may be used after ‘realloc’ [-Wuse-after-free]
 1496 |                 ptr = temp_str + (ptr - rhs); /* reset pointer. */
      |                                  ~~~~~^~~~~~
../include/X11/Xlibint.h:458:30: note: call to ‘realloc’ here
  458 | # define Xrealloc(ptr, size) realloc((ptr), (size_t)((size) == 0 ? 1 : (size)))
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Xrm.c:1487:28: note: in expansion of macro ‘Xrealloc’
 1487 |                 temp_str = Xrealloc(rhs, sizeof(char) * alloc_chars);
      |                            ^~~~~~~~
In file included from Xxcbint.h:14,
                 from x11_xcb.c:5:
locking.h:37: warning: "xmalloc" redefined
   37 | #define xmalloc(s) Xmalloc(s)
      | 
In file included from ../include/X11/Xlibint.h:47,
                 from x11_xcb.c:4:
/usr/include/X11/Xthreads.h:34: note: this is the location of the previous definition
   34 | #  define xmalloc malloc
      | 
locking.h:38: warning: "xfree" redefined
   38 | #define xfree(s) Xfree(s)
      | 
/usr/include/X11/Xthreads.h:37: note: this is the location of the previous definition
   37 | #  define xfree free
      | 
libtool: warning: remember to run 'libtool --finish /usr/lib32'