Package: xorg-server-light

receipt doctor home
The Cooker is currently building: xorg-server-light

Cook log 2026-07-15 00:54

2026-07-14 2026-07-14

Cook: xorg-server-light 1.12.4
================================================================================
QA: checking package receipt...
Checking build dependencies...
Installing (pkg/local): xorg-libxkbfile-1.1.0
Installing (pkg/local): xorg-util-macros-1.19.2
Installing (pkg/local): xorg-xproto-7.0.31
Installing (pkg/local): xorg-libXau-dev-1.0.9
Installing (pkg/local): xorg-libXdmcp-dev-1.1.3
Installing (pkg/local): libxcb-dev-1.14
Installing (pkg/local): xorg-inputproto-2.3.2
Installing (pkg/local): xorg-kbproto-1.0.7
Installing (pkg/local): xorg-xextproto-7.3.0
Installing (pkg/local): xorg-xtrans-1.4.0
Installing (pkg/local): xorg-libX11-dev-1.7.0
Installing (pkg/local): xorg-libxkbfile-dev-1.1.0
Installing (pkg/local): xorg-libpciaccess-dev-0.16
Installing (pkg/local): pixman-dev-0.40.0
Installing (pkg/local): xorg-libfontenc-1.1.4
Installing (pkg/local): xorg-libXfont-1.5.4
Installing (pkg/local): xorg-fontsproto-2.1.3
Installing (pkg/local): xorg-libfontenc-dev-1.1.4
Installing (pkg/local): xorg-libXfont-dev-1.5.4
Installing (pkg/local): libgpg-error-dev-1.44
Installing (pkg/local): libgcrypt-dev-1.9.4
Installing (pkg/local): xorg-resourceproto-1.2.0
Installing (pkg/local): xorg-bigreqsproto-1.1.2
Installing (pkg/local): xorg-xcmiscproto-1.2.2
Installing (pkg/local): xorg-renderproto-0.11.1
Installing (pkg/local): xorg-fixesproto-5.0
Installing (pkg/local): xorg-damageproto-1.2.1
Installing (pkg/local): xorg-compositeproto-0.4.2
Installing (pkg/local): xorg-xf86dgaproto-2.1
Installing (pkg/local): xorg-randrproto-1.5.0
Installing (pkg/local): xorg-recordproto-1.14.2
Installing (pkg/local): xorg-videoproto-2.3.3
Installing (pkg/local): xorg-libXcomposite-0.4.5
Installing (pkg/local): xorg-libXfixes-dev-5.0.3
Installing (pkg/local): xorg-libXcomposite-dev-0.4.5
Installing (pkg/local): xorg-libXext-dev-1.3.4
Installing (pkg/local): xorg-xf86vidmodeproto-2.3.1
Installing (pkg/local): xorg-libXxf86vm-dev-1.1.4
Installing (pkg/local): xorg-libXv-1.0.11
Installing (pkg/local): xorg-libXv-dev-1.0.11
Installing (pkg/local): dbus-1.12.20
Installing (pkg/local): eudev-lib-3.2.11
Installing (pkg/local): eudev-3.2.11
Installing (pkg/local): eudev-dev-3.2.11
Installing (pkg/local): eudev-dev-3.2.11
Extracting source archive "xorg-server-1.12.4.tar.bz2"

Executing: compile_rules
CFLAGS   : -march=i486 -Os -pipe -fstack-protector-strong
CXXLAGS  : -march=i486 -Os -pipe -fstack-protector-strong
CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 -D_FORTIFY_SOURCE=2
LDFLAGS  : -Wl,--as-needed,-z,relro,-z,now

patching file hw/xfree86/sdksyms.sh
Hunk #1 succeeded at 361 (offset 11 lines).
configure: loading site script /etc/slitaz/cook.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for i486-slitaz-linux-gcc... i486-slitaz-linux-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i486-slitaz-linux-gcc accepts -g... yes
checking for i486-slitaz-linux-gcc option to accept ISO C89... none needed
checking dependency style of i486-slitaz-linux-gcc... gcc3
checking for i486-slitaz-linux-gcc option to accept ISO C99... none needed
checking how to run the C preprocessor... i486-slitaz-linux-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether __clang__ is declared... no
checking whether __INTEL_COMPILER is declared... no
checking whether __SUNPRO_C is declared... no
checking for i486-slitaz-linux-pkg-config... /usr/bin/i486-slitaz-linux-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking build system type... i486-slitaz-linux-gnu
checking host system type... i486-slitaz-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking if i486-slitaz-linux-gcc supports -Werror=unknown-warning-option... no
checking if i486-slitaz-linux-gcc supports -Werror=unused-command-line-argument... no
checking if i486-slitaz-linux-gcc supports -Wall... yes
checking if i486-slitaz-linux-gcc supports -Wpointer-arith... yes
checking if i486-slitaz-linux-gcc supports -Wmissing-declarations... yes
checking if i486-slitaz-linux-gcc supports -Wformat=2... yes
checking if i486-slitaz-linux-gcc supports -Wstrict-prototypes... yes
checking if i486-slitaz-linux-gcc supports -Wmissing-prototypes... yes
checking if i486-slitaz-linux-gcc supports -Wnested-externs... yes
checking if i486-slitaz-linux-gcc supports -Wbad-function-cast... yes
checking if i486-slitaz-linux-gcc supports -Wold-style-definition... yes
checking if i486-slitaz-linux-gcc supports -Wdeclaration-after-statement... yes
checking if i486-slitaz-linux-gcc supports -Wunused... yes
checking if i486-slitaz-linux-gcc supports -Wuninitialized... yes
checking if i486-slitaz-linux-gcc supports -Wshadow... yes
checking if i486-slitaz-linux-gcc supports -Wcast-qual... yes
checking if i486-slitaz-linux-gcc supports -Wmissing-noreturn... yes
checking if i486-slitaz-linux-gcc supports -Wmissing-format-attribute... yes
checking if i486-slitaz-linux-gcc supports -Wredundant-decls... yes
checking if i486-slitaz-linux-gcc supports -Werror=implicit... yes
checking if i486-slitaz-linux-gcc supports -Werror=nonnull... yes
checking if i486-slitaz-linux-gcc supports -Werror=init-self... yes
checking if i486-slitaz-linux-gcc supports -Werror=main... yes
checking if i486-slitaz-linux-gcc supports -Werror=missing-braces... yes
checking if i486-slitaz-linux-gcc supports -Werror=sequence-point... yes
checking if i486-slitaz-linux-gcc supports -Werror=return-type... yes
checking if i486-slitaz-linux-gcc supports -Werror=trigraphs... yes
checking if i486-slitaz-linux-gcc supports -Werror=array-bounds... yes
checking if i486-slitaz-linux-gcc supports -Werror=write-strings... yes
checking if i486-slitaz-linux-gcc supports -Werror=address... yes
checking if i486-slitaz-linux-gcc supports -Werror=int-to-pointer-cast... yes
checking if i486-slitaz-linux-gcc supports -Werror=pointer-to-int-cast... yes
checking if i486-slitaz-linux-gcc supports -pedantic... yes
checking if i486-slitaz-linux-gcc supports -Werror... yes
checking if i486-slitaz-linux-gcc supports -Werror=attributes... yes
checking whether make supports nested variables... yes
checking for doxygen... no
configure: WARNING: doxygen not found - documentation targets will be skipped
checking for X.Org SGML entities >= 1.8... no
checking whether to build documentation... no
checking whether to build developer documentation... no
checking for xmlto... no
configure: WARNING: xmlto not found - documentation targets will be skipped
checking for fop... no
configure: WARNING: fop not found - documentation targets will be skipped
checking for xsltproc... /usr/bin/xsltproc
checking whether to build unit test cases... auto
checking whether the linker accepts -Wl,-wrap,exit... yes
checking dependency style of i486-slitaz-linux-gcc... gcc3
checking whether ln -s works... yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by i486-slitaz-linux-gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking how to convert i486-slitaz-linux-gnu file names to i486-slitaz-linux-gnu format... func_convert_file_noop
checking how to convert i486-slitaz-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for i486-slitaz-linux-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for i486-slitaz-linux-dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for i486-slitaz-linux-ar... i486-slitaz-linux-ar
checking for archiver @FILE support... @
checking for i486-slitaz-linux-strip... i486-slitaz-linux-strip
checking for i486-slitaz-linux-ranlib... i486-slitaz-linux-ranlib
checking command to parse /usr/bin/nm -B output from i486-slitaz-linux-gcc object... ok
checking for sysroot... no
checking for i486-slitaz-linux-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if i486-slitaz-linux-gcc supports -fno-rtti -fno-exceptions... no
checking for i486-slitaz-linux-gcc option to produce PIC... -fPIC -DPIC
checking if i486-slitaz-linux-gcc PIC flag -fPIC -DPIC works... yes
checking if i486-slitaz-linux-gcc static flag -static works... yes
checking if i486-slitaz-linux-gcc supports -c -o file.o... yes
checking if i486-slitaz-linux-gcc supports -c -o file.o... (cached) yes
checking whether the i486-slitaz-linux-gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for i486-slitaz-linux-pkg-config... (cached) /usr/bin/i486-slitaz-linux-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for cpp... /usr/bin/cpp
checking if /usr/bin/cpp requires -undef... yes
checking if /usr/bin/cpp requires -traditional... yes
checking for dtrace... not_found
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking fnmatch.h usability... yes
checking fnmatch.h presence... yes
checking for fnmatch.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking size of unsigned long... 4
checking for pid_t... yes
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking sys/endian.h usability... no
checking sys/endian.h presence... no
checking for sys/endian.h... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for backtrace... yes
checking for ffs... yes
checking for geteuid... yes
checking for getuid... yes
checking for issetugid... no
checking for getresuid... yes
checking for getdtablesize... yes
checking for getifaddrs... yes
checking for getpeereid... no
checking for getpeerucred... no
checking for getzoneid... no
checking for mmap... yes
checking for shmctl64... no
checking for strncasecmp... yes
checking for vasprintf... yes
checking for vsnprintf... yes
checking for walkcontext... no
checking for strcasecmp... yes
checking for strcasestr... yes
checking for strlcat... no
checking for strlcpy... no
checking for strndup... yes
checking for sqrt in -lm... yes
checking for cbrt... yes
checking ndbm.h usability... no
checking ndbm.h presence... no
checking for ndbm.h... no
checking dbm.h usability... no
checking dbm.h presence... no
checking for dbm.h... no
checking rpcsvc/dbm.h usability... no
checking rpcsvc/dbm.h presence... no
checking for rpcsvc/dbm.h... no
checking linux/agpgart.h usability... yes
checking linux/agpgart.h presence... yes
checking for linux/agpgart.h... yes
checking sys/agpio.h usability... no
checking sys/agpio.h presence... no
checking for sys/agpio.h... no
checking sys/agpgart.h usability... no
checking sys/agpgart.h presence... no
checking for sys/agpgart.h... no
checking linux/apm_bios.h usability... yes
checking linux/apm_bios.h presence... yes
checking for linux/apm_bios.h... yes
checking linux/fb.h usability... yes
checking linux/fb.h presence... yes
checking for linux/fb.h... yes
checking asm/mtrr.h usability... yes
checking asm/mtrr.h presence... yes
checking for asm/mtrr.h... yes
checking sys/memrange.h usability... no
checking sys/memrange.h presence... no
checking for sys/memrange.h... no
checking machine/mtrr.h usability... no
checking machine/mtrr.h presence... no
checking for machine/mtrr.h... no
checking for sys/linker.h... no
checking for SYSV IPC... yes
checking machine/apmvar.h usability... no
checking machine/apmvar.h presence... no
checking for machine/apmvar.h... no
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for backtrace in -lc... yes
checking for root directory for font files... /usr/share/fonts
checking for directory for misc files... ${FONTROOTDIR}/misc
checking for directory for OTF files... ${FONTROOTDIR}/OTF
checking for directory for TTF files... ${FONTROOTDIR}/TTF
checking for directory for Type1 files... ${FONTROOTDIR}/Type1
checking for directory for 75dpi files... ${FONTROOTDIR}/75dpi
checking for directory for 100dpi files... ${FONTROOTDIR}/100dpi
checking for /etc/X11/fontpath.d... no
checking for default font path... ${FONTROOTDIR}/misc/,${FONTROOTDIR}/TTF/,${FONTROOTDIR}/OTF/,${FONTROOTDIR}/Type1/,${FONTROOTDIR}/100dpi/,${FONTROOTDIR}/75dpi/
checking for thread local storage (TLS) support... __thread
checking for tls_model attribute support... yes
checking to see if we can install the Xorg server as root... yes
checking return type of signal handlers... void
checking if Xtrans should support UNIX socket connections... yes
checking if Xtrans should support TCP socket connections... yes
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking if IPv6 support should be built... no
checking for struct sockaddr_in.sin_len... no
checking for socklen_t... yes
checking if Xtrans should support os-specific local connections... no
checking for authdes_seccreate... no
checking for authdes_create... yes
checking for library containing getsecretkey... none required
checking if Secure RPC authentication ("SUN-DES-1") should be supported... yes
checking for PIXMAN... yes
checking for UDEV... yes
checking for udev_monitor_filter_add_match_tag... yes
checking for udev_enumerate_add_match_tag... yes
checking for DBUS... no
checking for HAL... no
checking for glibc...... yes
checking for clock_gettime... yes
checking for a useful monotonic clock ...... yes
checking whether to track client ids... yes
checking for DRI2PROTO... no
checking for XDMCP... yes
checking for XdmcpWrap in -lXdmcp... yes
Package dri was not found in the pkg-config search path.
Perhaps you should add the directory containing `dri.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dri' found
checking for SHA1Init... no
checking for CC_SHA1_Init... no
checking for SHA1Init in -lmd... no
checking for LIBSHA1... no
checking for gcry_md_open in -lgcrypt... yes
checking for SHA1_Init in -lcrypto... yes
checking for OPENSSL... no
checking for SHA1 implementation... libgcrypt
checking for XSERVERCFLAGS... yes
checking for XSERVERLIBS... yes
checking if SVR4 needs to be defined... no
checking whether to build Xvfb DDX... no
checking for XNESTMODULES... yes
checking whether to build Xnest DDX... no
checking whether to build Xorg DDX... yes
checking for symbol visibility support... yes
checking whether to build Xorg PCI functions... checking for PCIACCESS... yes
yes
checking for DGA... yes
checking for DGA... yes
checking for XF86VIDMODE... yes
checking for XF86VIDMODE... yes
checking for XORG_MODULES... yes
checking whether to build XWin DDX... no
checking dependency style of $(CC)... none
checking for DMXMODULES... no
checking whether to build Xdmx DDX... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating glx/Makefile
config.status: creating include/Makefile
config.status: creating composite/Makefile
config.status: creating damageext/Makefile
config.status: creating dbe/Makefile
config.status: creating dix/Makefile
config.status: creating doc/Makefile
config.status: creating doc/dtrace/Makefile
config.status: creating man/Makefile
config.status: creating fb/Makefile
config.status: creating record/Makefile
config.status: creating config/Makefile
config.status: creating mi/Makefile
config.status: creating miext/Makefile
config.status: creating miext/sync/Makefile
config.status: creating miext/damage/Makefile
config.status: creating miext/shadow/Makefile
config.status: creating miext/cw/Makefile
config.status: creating miext/rootless/Makefile
config.status: creating os/Makefile
config.status: creating randr/Makefile
config.status: creating render/Makefile
config.status: creating xkb/Makefile
config.status: creating Xext/Makefile
config.status: creating Xi/Makefile
config.status: creating xfixes/Makefile
config.status: creating exa/Makefile
config.status: creating hw/Makefile
config.status: creating hw/xfree86/Makefile
config.status: creating hw/xfree86/common/Makefile
config.status: creating hw/xfree86/common/xf86Build.h
config.status: creating hw/xfree86/ddc/Makefile
config.status: creating hw/xfree86/dixmods/Makefile
config.status: creating hw/xfree86/dixmods/extmod/Makefile
config.status: creating hw/xfree86/doc/Makefile
config.status: creating hw/xfree86/dri/Makefile
config.status: creating hw/xfree86/dri2/Makefile
config.status: creating hw/xfree86/exa/Makefile
config.status: creating hw/xfree86/exa/man/Makefile
config.status: creating hw/xfree86/fbdevhw/Makefile
config.status: creating hw/xfree86/fbdevhw/man/Makefile
config.status: creating hw/xfree86/i2c/Makefile
config.status: creating hw/xfree86/int10/Makefile
config.status: creating hw/xfree86/loader/Makefile
config.status: creating hw/xfree86/man/Makefile
config.status: creating hw/xfree86/modes/Makefile
config.status: creating hw/xfree86/os-support/Makefile
config.status: creating hw/xfree86/os-support/bsd/Makefile
config.status: creating hw/xfree86/os-support/bus/Makefile
config.status: creating hw/xfree86/os-support/hurd/Makefile
config.status: creating hw/xfree86/os-support/misc/Makefile
config.status: creating hw/xfree86/os-support/linux/Makefile
config.status: creating hw/xfree86/os-support/solaris/Makefile
config.status: creating hw/xfree86/os-support/stub/Makefile
config.status: creating hw/xfree86/parser/Makefile
config.status: creating hw/xfree86/ramdac/Makefile
config.status: creating hw/xfree86/shadowfb/Makefile
config.status: creating hw/xfree86/vbe/Makefile
config.status: creating hw/xfree86/vgahw/Makefile
config.status: creating hw/xfree86/x86emu/Makefile
config.status: creating hw/xfree86/xaa/Makefile
config.status: creating hw/xfree86/utils/Makefile
config.status: creating hw/xfree86/utils/man/Makefile
config.status: creating hw/xfree86/utils/cvt/Makefile
config.status: creating hw/xfree86/utils/gtf/Makefile
config.status: creating hw/dmx/config/Makefile
config.status: creating hw/dmx/config/man/Makefile
config.status: creating hw/dmx/doc/Makefile
config.status: creating hw/dmx/doxygen/doxygen.conf
config.status: creating hw/dmx/doxygen/Makefile
config.status: creating hw/dmx/examples/Makefile
config.status: creating hw/dmx/input/Makefile
config.status: creating hw/dmx/glxProxy/Makefile
config.status: creating hw/dmx/Makefile
config.status: creating hw/dmx/man/Makefile
config.status: creating hw/vfb/Makefile
config.status: creating hw/vfb/man/Makefile
config.status: creating hw/xnest/Makefile
config.status: creating hw/xnest/man/Makefile
config.status: creating hw/xwin/Makefile
config.status: creating hw/xwin/glx/Makefile
config.status: creating hw/xwin/man/Makefile
config.status: creating hw/xquartz/Makefile
config.status: creating hw/xquartz/GL/Makefile
config.status: creating hw/xquartz/bundle/Makefile
config.status: creating hw/xquartz/man/Makefile
config.status: creating hw/xquartz/mach-startup/Makefile
config.status: creating hw/xquartz/pbproxy/Makefile
config.status: creating hw/xquartz/xpr/Makefile
config.status: creating hw/kdrive/Makefile
config.status: creating hw/kdrive/ephyr/Makefile
config.status: creating hw/kdrive/ephyr/man/Makefile
config.status: creating hw/kdrive/fake/Makefile
config.status: creating hw/kdrive/fbdev/Makefile
config.status: creating hw/kdrive/linux/Makefile
config.status: creating hw/kdrive/src/Makefile
config.status: creating test/Makefile
config.status: creating test/xi2/Makefile
config.status: creating xserver.ent
config.status: creating xorg-server.pc
config.status: creating include/do-not-use-config.h
config.status: creating include/xorg-server.h
config.status: creating include/dix-config.h
config.status: creating include/xorg-config.h
config.status: creating include/xkb-config.h
config.status: creating include/xwin-config.h
config.status: creating include/kdrive-config.h
config.status: creating include/version-config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing sdksyms commands
Making all in doc
make[1]: Entering directory '${src}/doc'
Making all in dtrace
make[2]: Entering directory '${src}/doc/dtrace'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '${src}/doc/dtrace'
make[2]: Entering directory '${src}/doc'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '${src}/doc'
make[1]: Leaving directory '${src}/doc'
Making all in man
make[1]: Entering directory '${src}/man'
  GEN      Xserver.1
make[1]: Leaving directory '${src}/man'
Making all in include
make[1]: Entering directory '${src}/include'
make  all-am
make[2]: Entering directory '${src}/include'
make[2]: Leaving directory '${src}/include'
make[1]: Leaving directory '${src}/include'
Making all in dix
make[1]: Entering directory '${src}/dix'
make  all-am
make[2]: Entering directory '${src}/dix'
  CC       atom.lo
  CC       colormap.lo
  CC       cursor.lo
  CC       devices.lo
  CC       dispatch.lo
  CC       dixfonts.lo
  CC       dixutils.lo
  CC       enterleave.lo
  CC       events.lo
  CC       eventconvert.lo
  CC       extension.lo
  CC       ffs.lo
  CC       gc.lo
In file included from enterleave.c:37:0:
enterleave.h:38:13: warning: redundant redeclaration of 'DoFocusEvents' [-Wredundant-decls]
 extern void DoFocusEvents(DeviceIntPtr pDev,
             ^~~~~~~~~~~~~
In file included from ../include/dixstruct.h:28:0,
                 from ../include/inputstr.h:55,
                 from enterleave.c:33:
../include/dix.h:432:1: note: previous declaration of 'DoFocusEvents' was here
 DoFocusEvents(DeviceIntPtr /* dev */ ,
 ^~~~~~~~~~~~~
atom.c: In function 'MakeAtom':
atom.c:126:26: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
                     free((char *) nd->string);
                          ^
atom.c: In function 'FreeAtom':
atom.c:181:14: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
         free((char *) patom->string);
              ^
In file included from ../include/dixfontstr.h:28:0,
                 from dispatch.c:111:
../include/dixfont.h:148:22: warning: redundant redeclaration of 'client_auth_generation' [-Wredundant-decls]
 extern _X_EXPORT int client_auth_generation(ClientPtr client);
                      ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from dispatch.c:110:
/usr/include/X11/fonts/fontproto.h:52:12: note: previous declaration of 'client_auth_generation' was here
 extern int client_auth_generation ( ClientPtr client );
            ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from dispatch.c:111:
../include/dixfont.h:150:23: warning: redundant redeclaration of 'DeleteFontClientID' [-Wredundant-decls]
 extern _X_EXPORT void DeleteFontClientID(Font id);
                       ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from dispatch.c:110:
/usr/include/X11/fonts/fontproto.h:59:13: note: previous declaration of 'DeleteFontClientID' was here
 extern void DeleteFontClientID ( Font id );
             ^~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from dispatch.c:111:
../include/dixfont.h:152:36: warning: redundant redeclaration of 'GetClientResolutions' [-Wredundant-decls]
 extern _X_EXPORT FontResolutionPtr GetClientResolutions(int *num);
                                    ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:28:0,
                 from dispatch.c:110:
/usr/include/X11/fonts/font.h:147:26: note: previous declaration of 'GetClientResolutions' was here
 extern FontResolutionPtr GetClientResolutions(
                          ^~~~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from dispatch.c:111:
../include/dixfont.h:154:22: warning: redundant redeclaration of 'GetDefaultPointSize' [-Wredundant-decls]
 extern _X_EXPORT int GetDefaultPointSize(void);
                      ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from dispatch.c:110:
/usr/include/X11/fonts/fontproto.h:44:12: note: previous declaration of 'GetDefaultPointSize' was here
 extern int GetDefaultPointSize ( void );
            ^~~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from dispatch.c:111:
../include/dixfont.h:156:23: warning: redundant redeclaration of 'GetNewFontClientID' [-Wredundant-decls]
 extern _X_EXPORT Font GetNewFontClientID(void);
                       ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from dispatch.c:110:
/usr/include/X11/fonts/fontproto.h:60:13: note: previous declaration of 'GetNewFontClientID' was here
 extern Font GetNewFontClientID ( void );
             ^~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from dispatch.c:111:
../include/dixfont.h:158:22: warning: redundant redeclaration of 'init_fs_handlers' [-Wredundant-decls]
 extern _X_EXPORT int init_fs_handlers(FontPathElementPtr fpe,
                      ^~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from dispatch.c:110:
/usr/include/X11/fonts/fontproto.h:46:12: note: previous declaration of 'init_fs_handlers' was here
 extern int init_fs_handlers ( FontPathElementPtr fpe,
            ^~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from dispatch.c:111:
../include/dixfont.h:161:22: warning: redundant redeclaration of 'RegisterFPEFunctions' [-Wredundant-decls]
 extern _X_EXPORT int RegisterFPEFunctions(NameCheckFunc name_func,
                      ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from dispatch.c:110:
/usr/include/X11/fonts/fontproto.h:28:12: note: previous declaration of 'RegisterFPEFunctions' was here
 extern int RegisterFPEFunctions ( NameCheckFunc name_func,
            ^~~~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from dispatch.c:111:
../include/dixfont.h:177:23: warning: redundant redeclaration of 'remove_fs_handlers' [-Wredundant-decls]
 extern _X_EXPORT void remove_fs_handlers(FontPathElementPtr fpe,
                       ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from dispatch.c:110:
/usr/include/X11/fonts/fontproto.h:48:13: note: previous declaration of 'remove_fs_handlers' was here
 extern void remove_fs_handlers ( FontPathElementPtr fpe,
             ^~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from dispatch.c:111:
../include/dixfont.h:181:22: warning: redundant redeclaration of 'StoreFontClientFont' [-Wredundant-decls]
 extern _X_EXPORT int StoreFontClientFont(FontPtr pfont, Font id);
                      ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from dispatch.c:110:
/usr/include/X11/fonts/fontproto.h:61:12: note: previous declaration of 'StoreFontClientFont' was here
 extern int StoreFontClientFont ( FontPtr pfont, Font id );
            ^~~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from cursor.c:57:
../include/dixfont.h:148:22: warning: redundant redeclaration of 'client_auth_generation' [-Wredundant-decls]
 extern _X_EXPORT int client_auth_generation(ClientPtr client);
                      ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from ../include/dixfontstr.h:28,
                 from cursor.c:57:
/usr/include/X11/fonts/fontproto.h:52:12: note: previous declaration of 'client_auth_generation' was here
 extern int client_auth_generation ( ClientPtr client );
            ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from cursor.c:57:
../include/dixfont.h:150:23: warning: redundant redeclaration of 'DeleteFontClientID' [-Wredundant-decls]
 extern _X_EXPORT void DeleteFontClientID(Font id);
                       ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from ../include/dixfontstr.h:28,
                 from cursor.c:57:
/usr/include/X11/fonts/fontproto.h:59:13: note: previous declaration of 'DeleteFontClientID' was here
 extern void DeleteFontClientID ( Font id );
             ^~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from cursor.c:57:
../include/dixfont.h:152:36: warning: redundant redeclaration of 'GetClientResolutions' [-Wredundant-decls]
 extern _X_EXPORT FontResolutionPtr GetClientResolutions(int *num);
                                    ^~~~~~~~~~~~~~~~~~~~
In file included from ../include/dixfont.h:28:0,
                 from ../include/dixfontstr.h:28,
                 from cursor.c:57:
/usr/include/X11/fonts/font.h:147:26: note: previous declaration of 'GetClientResolutions' was here
 extern FontResolutionPtr GetClientResolutions(
                          ^~~~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from cursor.c:57:
../include/dixfont.h:154:22: warning: redundant redeclaration of 'GetDefaultPointSize' [-Wredundant-decls]
 extern _X_EXPORT int GetDefaultPointSize(void);
                      ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from ../include/dixfontstr.h:28,
                 from cursor.c:57:
/usr/include/X11/fonts/fontproto.h:44:12: note: previous declaration of 'GetDefaultPointSize' was here
 extern int GetDefaultPointSize ( void );
            ^~~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from cursor.c:57:
../include/dixfont.h:156:23: warning: redundant redeclaration of 'GetNewFontClientID' [-Wredundant-decls]
 extern _X_EXPORT Font GetNewFontClientID(void);
                       ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from ../include/dixfontstr.h:28,
                 from cursor.c:57:
/usr/include/X11/fonts/fontproto.h:60:13: note: previous declaration of 'GetNewFontClientID' was here
 extern Font GetNewFontClientID ( void );
             ^~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from cursor.c:57:
../include/dixfont.h:158:22: warning: redundant redeclaration of 'init_fs_handlers' [-Wredundant-decls]
 extern _X_EXPORT int init_fs_handlers(FontPathElementPtr fpe,
                      ^~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from ../include/dixfontstr.h:28,
                 from cursor.c:57:
/usr/include/X11/fonts/fontproto.h:46:12: note: previous declaration of 'init_fs_handlers' was here
 extern int init_fs_handlers ( FontPathElementPtr fpe,
            ^~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from cursor.c:57:
../include/dixfont.h:161:22: warning: redundant redeclaration of 'RegisterFPEFunctions' [-Wredundant-decls]
 extern _X_EXPORT int RegisterFPEFunctions(NameCheckFunc name_func,
                      ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from ../include/dixfontstr.h:28,
                 from cursor.c:57:
/usr/include/X11/fonts/fontproto.h:28:12: note: previous declaration of 'RegisterFPEFunctions' was here
 extern int RegisterFPEFunctions ( NameCheckFunc name_func,
            ^~~~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from cursor.c:57:
../include/dixfont.h:177:23: warning: redundant redeclaration of 'remove_fs_handlers' [-Wredundant-decls]
 extern _X_EXPORT void remove_fs_handlers(FontPathElementPtr fpe,
                       ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from ../include/dixfontstr.h:28,
                 from cursor.c:57:
/usr/include/X11/fonts/fontproto.h:48:13: note: previous declaration of 'remove_fs_handlers' was here
 extern void remove_fs_handlers ( FontPathElementPtr fpe,
             ^~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from cursor.c:57:
../include/dixfont.h:181:22: warning: redundant redeclaration of 'StoreFontClientFont' [-Wredundant-decls]
 extern _X_EXPORT int StoreFontClientFont(FontPtr pfont, Font id);
                      ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from ../include/dixfontstr.h:28,
                 from cursor.c:57:
/usr/include/X11/fonts/fontproto.h:61:12: note: previous declaration of 'StoreFontClientFont' was here
 extern int StoreFontClientFont ( FontPtr pfont, Font id );
            ^~~~~~~~~~~~~~~~~~~
In file included from eventconvert.c:51:0:
../include/xkbsrv.h:308:22: warning: redundant redeclaration of 'DeviceKeyPress' [-Wredundant-decls]
 extern _X_EXPORT int DeviceKeyPress, DeviceKeyRelease, DeviceMotionNotify;
                      ^~~~~~~~~~~~~~
In file included from eventconvert.c:47:0:
../Xi/exglobals.h:62:12: note: previous declaration of 'DeviceKeyPress' was here
 extern int DeviceKeyPress;
            ^~~~~~~~~~~~~~
In file included from eventconvert.c:51:0:
../include/xkbsrv.h:308:38: warning: redundant redeclaration of 'DeviceKeyRelease' [-Wredundant-decls]
 extern _X_EXPORT int DeviceKeyPress, DeviceKeyRelease, DeviceMotionNotify;
                                      ^~~~~~~~~~~~~~~~
In file included from eventconvert.c:47:0:
../Xi/exglobals.h:63:12: note: previous declaration of 'DeviceKeyRelease' was here
 extern int DeviceKeyRelease;
            ^~~~~~~~~~~~~~~~
In file included from eventconvert.c:51:0:
../include/xkbsrv.h:308:56: warning: redundant redeclaration of 'DeviceMotionNotify' [-Wredundant-decls]
 extern _X_EXPORT int DeviceKeyPress, DeviceKeyRelease, DeviceMotionNotify;
                                                        ^~~~~~~~~~~~~~~~~~
In file included from eventconvert.c:47:0:
../Xi/exglobals.h:66:12: note: previous declaration of 'DeviceMotionNotify' was here
 extern int DeviceMotionNotify;
            ^~~~~~~~~~~~~~~~~~
In file included from eventconvert.c:51:0:
../include/xkbsrv.h:309:22: warning: redundant redeclaration of 'DeviceButtonPress' [-Wredundant-decls]
 extern _X_EXPORT int DeviceButtonPress, DeviceButtonRelease;
                      ^~~~~~~~~~~~~~~~~
In file included from eventconvert.c:47:0:
../Xi/exglobals.h:64:12: note: previous declaration of 'DeviceButtonPress' was here
 extern int DeviceButtonPress;
            ^~~~~~~~~~~~~~~~~
In file included from eventconvert.c:51:0:
../include/xkbsrv.h:309:41: warning: redundant redeclaration of 'DeviceButtonRelease' [-Wredundant-decls]
 extern _X_EXPORT int DeviceButtonPress, DeviceButtonRelease;
                                         ^~~~~~~~~~~~~~~~~~~
In file included from eventconvert.c:47:0:
../Xi/exglobals.h:65:12: note: previous declaration of 'DeviceButtonRelease' was here
 extern int DeviceButtonRelease;
            ^~~~~~~~~~~~~~~~~~~
In file included from dispatch.c:101:0:
../include/version-config.h:11:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 #define VENDOR_NAME "The X.Org Foundation"
                     ^
dispatch.c:467:29: note: in expansion of macro 'VENDOR_NAME'
 static char *VendorString = VENDOR_NAME;
                             ^~~~~~~~~~~
In file included from events.c:140:0:
../Xi/exglobals.h:62:12: warning: redundant redeclaration of 'DeviceKeyPress' [-Wredundant-decls]
 extern int DeviceKeyPress;
            ^~~~~~~~~~~~~~
In file included from events.c:126:0:
../include/xkbsrv.h:308:22: note: previous declaration of 'DeviceKeyPress' was here
 extern _X_EXPORT int DeviceKeyPress, DeviceKeyRelease, DeviceMotionNotify;
                      ^~~~~~~~~~~~~~
In file included from events.c:140:0:
../Xi/exglobals.h:63:12: warning: redundant redeclaration of 'DeviceKeyRelease' [-Wredundant-decls]
 extern int DeviceKeyRelease;
            ^~~~~~~~~~~~~~~~
In file included from events.c:126:0:
../include/xkbsrv.h:308:38: note: previous declaration of 'DeviceKeyRelease' was here
 extern _X_EXPORT int DeviceKeyPress, DeviceKeyRelease, DeviceMotionNotify;
                                      ^~~~~~~~~~~~~~~~
In file included from events.c:140:0:
../Xi/exglobals.h:64:12: warning: redundant redeclaration of 'DeviceButtonPress' [-Wredundant-decls]
 extern int DeviceButtonPress;
            ^~~~~~~~~~~~~~~~~
In file included from events.c:126:0:
../include/xkbsrv.h:309:22: note: previous declaration of 'DeviceButtonPress' was here
 extern _X_EXPORT int DeviceButtonPress, DeviceButtonRelease;
                      ^~~~~~~~~~~~~~~~~
In file included from events.c:140:0:
../Xi/exglobals.h:65:12: warning: redundant redeclaration of 'DeviceButtonRelease' [-Wredundant-decls]
 extern int DeviceButtonRelease;
            ^~~~~~~~~~~~~~~~~~~
In file included from events.c:126:0:
../include/xkbsrv.h:309:41: note: previous declaration of 'DeviceButtonRelease' was here
 extern _X_EXPORT int DeviceButtonPress, DeviceButtonRelease;
                                         ^~~~~~~~~~~~~~~~~~~
In file included from events.c:140:0:
../Xi/exglobals.h:66:12: warning: redundant redeclaration of 'DeviceMotionNotify' [-Wredundant-decls]
 extern int DeviceMotionNotify;
            ^~~~~~~~~~~~~~~~~~
In file included from events.c:126:0:
../include/xkbsrv.h:308:56: note: previous declaration of 'DeviceMotionNotify' was here
 extern _X_EXPORT int DeviceKeyPress, DeviceKeyRelease, DeviceMotionNotify;
                                                        ^~~~~~~~~~~~~~~~~~
In file included from events.c:153:0:
enterleave.h:38:13: warning: redundant redeclaration of 'DoFocusEvents' [-Wredundant-decls]
 extern void DoFocusEvents(DeviceIntPtr pDev,
             ^~~~~~~~~~~~~
In file included from ../include/privates.h:145:0,
                 from ../include/pixmapstr.h:52,
                 from ../include/windowstr.h:51,
                 from events.c:112:
../include/dix.h:432:1: note: previous declaration of 'DoFocusEvents' was here
 DoFocusEvents(DeviceIntPtr /* dev */ ,
 ^~~~~~~~~~~~~
In file included from events.c:153:0:
enterleave.h:64:13: warning: redundant redeclaration of 'DeviceFocusEvent' [-Wredundant-decls]
 extern void DeviceFocusEvent(DeviceIntPtr kbd,
             ^~~~~~~~~~~~~~~~
In file included from events.c:141:0:
../include/exevents.h:166:2: note: previous declaration of 'DeviceFocusEvent' was here
  DeviceFocusEvent(DeviceIntPtr /* dev */ ,
  ^~~~~~~~~~~~~~~~
events.c:352:12: warning: redundant redeclaration of 'DeviceMotionNotify' [-Wredundant-decls]
 extern int DeviceMotionNotify;
            ^~~~~~~~~~~~~~~~~~
In file included from events.c:140:0:
../Xi/exglobals.h:66:12: note: previous declaration of 'DeviceMotionNotify' was here
 extern int DeviceMotionNotify;
            ^~~~~~~~~~~~~~~~~~
In file included from ../include/privates.h:145:0,
                 from ../include/pixmapstr.h:52,
                 from ../include/windowstr.h:51,
                 from dispatch.c:109:
dispatch.c: In function 'ProcCopyArea':
../include/dix.h:89:6: warning: declaration of 'rc' shadows a previous local [-Wshadow]
  int rc = dixLookupDrawable(&(pDraw), drawID, client, M_ANY, mode);\
      ^
dispatch.c:1609:5: note: in expansion of macro 'VALIDATE_DRAWABLE_AND_GC'
     VALIDATE_DRAWABLE_AND_GC(stuff->dstDrawable, pDst, DixWriteAccess);
     ^~~~~~~~~~~~~~~~~~~~~~~~
dispatch.c:1605:9: note: shadowed declaration is here
     int rc;
         ^~
In file included from ../include/privates.h:145:0,
                 from ../include/pixmapstr.h:52,
                 from ../include/windowstr.h:51,
                 from dispatch.c:109:
dispatch.c: In function 'ProcCopyPlane':
../include/dix.h:89:6: warning: declaration of 'rc' shadows a previous local [-Wshadow]
  int rc = dixLookupDrawable(&(pDraw), drawID, client, M_ANY, mode);\
      ^
dispatch.c:1648:5: note: in expansion of macro 'VALIDATE_DRAWABLE_AND_GC'
     VALIDATE_DRAWABLE_AND_GC(stuff->dstDrawable, pdstDraw, DixWriteAccess);
     ^~~~~~~~~~~~~~~~~~~~~~~~
dispatch.c:1644:9: note: shadowed declaration is here
     int rc;
         ^~
In file included from ../include/dixfontstr.h:28:0,
                 from gc.c:58:
../include/dixfont.h:148:22: warning: redundant redeclaration of 'client_auth_generation' [-Wredundant-decls]
 extern _X_EXPORT int client_auth_generation(ClientPtr client);
                      ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from ../include/dixfontstr.h:28,
                 from gc.c:58:
/usr/include/X11/fonts/fontproto.h:52:12: note: previous declaration of 'client_auth_generation' was here
 extern int client_auth_generation ( ClientPtr client );
            ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from gc.c:58:
../include/dixfont.h:150:23: warning: redundant redeclaration of 'DeleteFontClientID' [-Wredundant-decls]
 extern _X_EXPORT void DeleteFontClientID(Font id);
                       ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from ../include/dixfontstr.h:28,
                 from gc.c:58:
/usr/include/X11/fonts/fontproto.h:59:13: note: previous declaration of 'DeleteFontClientID' was here
 extern void DeleteFontClientID ( Font id );
             ^~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from gc.c:58:
../include/dixfont.h:152:36: warning: redundant redeclaration of 'GetClientResolutions' [-Wredundant-decls]
 extern _X_EXPORT FontResolutionPtr GetClientResolutions(int *num);
                                    ^~~~~~~~~~~~~~~~~~~~
In file included from ../include/dixfont.h:28:0,
                 from ../include/dixfontstr.h:28,
                 from gc.c:58:
/usr/include/X11/fonts/font.h:147:26: note: previous declaration of 'GetClientResolutions' was here
 extern FontResolutionPtr GetClientResolutions(
                          ^~~~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from gc.c:58:
../include/dixfont.h:154:22: warning: redundant redeclaration of 'GetDefaultPointSize' [-Wredundant-decls]
 extern _X_EXPORT int GetDefaultPointSize(void);
                      ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from ../include/dixfontstr.h:28,
                 from gc.c:58:
/usr/include/X11/fonts/fontproto.h:44:12: note: previous declaration of 'GetDefaultPointSize' was here
 extern int GetDefaultPointSize ( void );
            ^~~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from gc.c:58:
../include/dixfont.h:156:23: warning: redundant redeclaration of 'GetNewFontClientID' [-Wredundant-decls]
 extern _X_EXPORT Font GetNewFontClientID(void);
                       ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from ../include/dixfontstr.h:28,
                 from gc.c:58:
/usr/include/X11/fonts/fontproto.h:60:13: note: previous declaration of 'GetNewFontClientID' was here
 extern Font GetNewFontClientID ( void );
             ^~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from gc.c:58:
../include/dixfont.h:158:22: warning: redundant redeclaration of 'init_fs_handlers' [-Wredundant-decls]
 extern _X_EXPORT int init_fs_handlers(FontPathElementPtr fpe,
                      ^~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from ../include/dixfontstr.h:28,
                 from gc.c:58:
/usr/include/X11/fonts/fontproto.h:46:12: note: previous declaration of 'init_fs_handlers' was here
 extern int init_fs_handlers ( FontPathElementPtr fpe,
            ^~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from gc.c:58:
../include/dixfont.h:161:22: warning: redundant redeclaration of 'RegisterFPEFunctions' [-Wredundant-decls]
 extern _X_EXPORT int RegisterFPEFunctions(NameCheckFunc name_func,
                      ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from ../include/dixfontstr.h:28,
                 from gc.c:58:
/usr/include/X11/fonts/fontproto.h:28:12: note: previous declaration of 'RegisterFPEFunctions' was here
 extern int RegisterFPEFunctions ( NameCheckFunc name_func,
            ^~~~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from gc.c:58:
../include/dixfont.h:177:23: warning: redundant redeclaration of 'remove_fs_handlers' [-Wredundant-decls]
 extern _X_EXPORT void remove_fs_handlers(FontPathElementPtr fpe,
                       ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from ../include/dixfontstr.h:28,
                 from gc.c:58:
/usr/include/X11/fonts/fontproto.h:48:13: note: previous declaration of 'remove_fs_handlers' was here
 extern void remove_fs_handlers ( FontPathElementPtr fpe,
             ^~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from gc.c:58:
../include/dixfont.h:181:22: warning: redundant redeclaration of 'StoreFontClientFont' [-Wredundant-decls]
 extern _X_EXPORT int StoreFontClientFont(FontPtr pfont, Font id);
                      ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from ../include/dixfontstr.h:28,
                 from gc.c:58:
/usr/include/X11/fonts/fontproto.h:61:12: note: previous declaration of 'StoreFontClientFont' was here
 extern int StoreFontClientFont ( FontPtr pfont, Font id );
            ^~~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from dixfonts.c:64:
../include/dixfont.h:148:22: warning: redundant redeclaration of 'client_auth_generation' [-Wredundant-decls]
 extern _X_EXPORT int client_auth_generation(ClientPtr client);
                      ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from ../include/dixfontstr.h:28,
                 from dixfonts.c:64:
/usr/include/X11/fonts/fontproto.h:52:12: note: previous declaration of 'client_auth_generation' was here
 extern int client_auth_generation ( ClientPtr client );
            ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from dixfonts.c:64:
../include/dixfont.h:150:23: warning: redundant redeclaration of 'DeleteFontClientID' [-Wredundant-decls]
 extern _X_EXPORT void DeleteFontClientID(Font id);
                       ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from ../include/dixfontstr.h:28,
                 from dixfonts.c:64:
/usr/include/X11/fonts/fontproto.h:59:13: note: previous declaration of 'DeleteFontClientID' was here
 extern void DeleteFontClientID ( Font id );
             ^~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from dixfonts.c:64:
../include/dixfont.h:152:36: warning: redundant redeclaration of 'GetClientResolutions' [-Wredundant-decls]
 extern _X_EXPORT FontResolutionPtr GetClientResolutions(int *num);
                                    ^~~~~~~~~~~~~~~~~~~~
In file included from ../include/dixfont.h:28:0,
                 from ../include/dixfontstr.h:28,
                 from dixfonts.c:64:
/usr/include/X11/fonts/font.h:147:26: note: previous declaration of 'GetClientResolutions' was here
 extern FontResolutionPtr GetClientResolutions(
                          ^~~~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from dixfonts.c:64:
../include/dixfont.h:154:22: warning: redundant redeclaration of 'GetDefaultPointSize' [-Wredundant-decls]
 extern _X_EXPORT int GetDefaultPointSize(void);
                      ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from ../include/dixfontstr.h:28,
                 from dixfonts.c:64:
/usr/include/X11/fonts/fontproto.h:44:12: note: previous declaration of 'GetDefaultPointSize' was here
 extern int GetDefaultPointSize ( void );
            ^~~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from dixfonts.c:64:
../include/dixfont.h:156:23: warning: redundant redeclaration of 'GetNewFontClientID' [-Wredundant-decls]
 extern _X_EXPORT Font GetNewFontClientID(void);
                       ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from ../include/dixfontstr.h:28,
                 from dixfonts.c:64:
/usr/include/X11/fonts/fontproto.h:60:13: note: previous declaration of 'GetNewFontClientID' was here
 extern Font GetNewFontClientID ( void );
             ^~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from dixfonts.c:64:
../include/dixfont.h:158:22: warning: redundant redeclaration of 'init_fs_handlers' [-Wredundant-decls]
 extern _X_EXPORT int init_fs_handlers(FontPathElementPtr fpe,
                      ^~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from ../include/dixfontstr.h:28,
                 from dixfonts.c:64:
/usr/include/X11/fonts/fontproto.h:46:12: note: previous declaration of 'init_fs_handlers' was here
 extern int init_fs_handlers ( FontPathElementPtr fpe,
            ^~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from dixfonts.c:64:
../include/dixfont.h:161:22: warning: redundant redeclaration of 'RegisterFPEFunctions' [-Wredundant-decls]
 extern _X_EXPORT int RegisterFPEFunctions(NameCheckFunc name_func,
                      ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from ../include/dixfontstr.h:28,
                 from dixfonts.c:64:
/usr/include/X11/fonts/fontproto.h:28:12: note: previous declaration of 'RegisterFPEFunctions' was here
 extern int RegisterFPEFunctions ( NameCheckFunc name_func,
            ^~~~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from dixfonts.c:64:
../include/dixfont.h:177:23: warning: redundant redeclaration of 'remove_fs_handlers' [-Wredundant-decls]
 extern _X_EXPORT void remove_fs_handlers(FontPathElementPtr fpe,
                       ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from ../include/dixfontstr.h:28,
                 from dixfonts.c:64:
/usr/include/X11/fonts/fontproto.h:48:13: note: previous declaration of 'remove_fs_handlers' was here
 extern void remove_fs_handlers ( FontPathElementPtr fpe,
             ^~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from dixfonts.c:64:
../include/dixfont.h:181:22: warning: redundant redeclaration of 'StoreFontClientFont' [-Wredundant-decls]
 extern _X_EXPORT int StoreFontClientFont(FontPtr pfont, Font id);
                      ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from ../include/dixfontstr.h:28,
                 from dixfonts.c:64:
/usr/include/X11/fonts/fontproto.h:61:12: note: previous declaration of 'StoreFontClientFont' was here
 extern int StoreFontClientFont ( FontPtr pfont, Font id );
            ^~~~~~~~~~~~~~~~~~~
events.c: In function 'GetClientsForDelivery':
events.c:2019:68: warning: declaration of 'clients' shadows a global declaration [-Wshadow]
                       xEvent *events, Mask filter, InputClients ** clients)
                                                                    ^~~~~~~
In file included from ../include/privates.h:145:0,
                 from ../include/pixmapstr.h:52,
                 from ../include/windowstr.h:51,
                 from events.c:112:
../include/dix.h:122:28: note: shadowed declaration is here
 extern _X_EXPORT ClientPtr clients[MAXCLIENTS];
                            ^~~~~~~
events.c: In function 'DeliverEventToWindowMask':
events.c:2102:19: warning: declaration of 'clients' shadows a global declaration [-Wshadow]
     InputClients *clients;
                   ^~~~~~~
In file included from ../include/privates.h:145:0,
                 from ../include/pixmapstr.h:52,
                 from ../include/windowstr.h:51,
                 from events.c:112:
../include/dix.h:122:28: note: shadowed declaration is here
 extern _X_EXPORT ClientPtr clients[MAXCLIENTS];
                            ^~~~~~~
  CC       getevents.lo
In file included from devices.c:80:0:
../Xi/exglobals.h:62:12: warning: redundant redeclaration of 'DeviceKeyPress' [-Wredundant-decls]
 extern int DeviceKeyPress;
            ^~~~~~~~~~~~~~
In file included from devices.c:63:0:
../include/xkbsrv.h:308:22: note: previous declaration of 'DeviceKeyPress' was here
 extern _X_EXPORT int DeviceKeyPress, DeviceKeyRelease, DeviceMotionNotify;
                      ^~~~~~~~~~~~~~
In file included from devices.c:80:0:
../Xi/exglobals.h:63:12: warning: redundant redeclaration of 'DeviceKeyRelease' [-Wredundant-decls]
 extern int DeviceKeyRelease;
            ^~~~~~~~~~~~~~~~
In file included from devices.c:63:0:
../include/xkbsrv.h:308:38: note: previous declaration of 'DeviceKeyRelease' was here
 extern _X_EXPORT int DeviceKeyPress, DeviceKeyRelease, DeviceMotionNotify;
                                      ^~~~~~~~~~~~~~~~
In file included from devices.c:80:0:
../Xi/exglobals.h:64:12: warning: redundant redeclaration of 'DeviceButtonPress' [-Wredundant-decls]
 extern int DeviceButtonPress;
            ^~~~~~~~~~~~~~~~~
In file included from devices.c:63:0:
../include/xkbsrv.h:309:22: note: previous declaration of 'DeviceButtonPress' was here
 extern _X_EXPORT int DeviceButtonPress, DeviceButtonRelease;
                      ^~~~~~~~~~~~~~~~~
In file included from devices.c:80:0:
../Xi/exglobals.h:65:12: warning: redundant redeclaration of 'DeviceButtonRelease' [-Wredundant-decls]
 extern int DeviceButtonRelease;
            ^~~~~~~~~~~~~~~~~~~
In file included from devices.c:63:0:
../include/xkbsrv.h:309:41: note: previous declaration of 'DeviceButtonRelease' was here
 extern _X_EXPORT int DeviceButtonPress, DeviceButtonRelease;
                                         ^~~~~~~~~~~~~~~~~~~
In file included from devices.c:80:0:
../Xi/exglobals.h:66:12: warning: redundant redeclaration of 'DeviceMotionNotify' [-Wredundant-decls]
 extern int DeviceMotionNotify;
            ^~~~~~~~~~~~~~~~~~
In file included from devices.c:63:0:
../include/xkbsrv.h:308:56: note: previous declaration of 'DeviceMotionNotify' was here
 extern _X_EXPORT int DeviceKeyPress, DeviceKeyRelease, DeviceMotionNotify;
                                                        ^~~~~~~~~~~~~~~~~~
In file included from devices.c:84:0:
enterleave.h:38:13: warning: redundant redeclaration of 'DoFocusEvents' [-Wredundant-decls]
 extern void DoFocusEvents(DeviceIntPtr pDev,
             ^~~~~~~~~~~~~
In file included from ../include/privates.h:145:0,
                 from ../include/pixmapstr.h:52,
                 from ../include/windowstr.h:51,
                 from devices.c:56:
../include/dix.h:432:1: note: previous declaration of 'DoFocusEvents' was here
 DoFocusEvents(DeviceIntPtr /* dev */ ,
 ^~~~~~~~~~~~~
In file included from devices.c:84:0:
enterleave.h:64:13: warning: redundant redeclaration of 'DeviceFocusEvent' [-Wredundant-decls]
 extern void DeviceFocusEvent(DeviceIntPtr kbd,
             ^~~~~~~~~~~~~~~~
In file included from devices.c:81:0:
../include/exevents.h:166:2: note: previous declaration of 'DeviceFocusEvent' was here
  DeviceFocusEvent(DeviceIntPtr /* dev */ ,
  ^~~~~~~~~~~~~~~~
  CC       globals.lo
  CC       glyphcurs.lo
In file included from getevents.c:67:0:
../Xi/exglobals.h:62:12: warning: redundant redeclaration of 'DeviceKeyPress' [-Wredundant-decls]
 extern int DeviceKeyPress;
            ^~~~~~~~~~~~~~
In file included from getevents.c:56:0:
../include/xkbsrv.h:308:22: note: previous declaration of 'DeviceKeyPress' was here
 extern _X_EXPORT int DeviceKeyPress, DeviceKeyRelease, DeviceMotionNotify;
                      ^~~~~~~~~~~~~~
In file included from getevents.c:67:0:
../Xi/exglobals.h:63:12: warning: redundant redeclaration of 'DeviceKeyRelease' [-Wredundant-decls]
 extern int DeviceKeyRelease;
            ^~~~~~~~~~~~~~~~
In file included from getevents.c:56:0:
../include/xkbsrv.h:308:38: note: previous declaration of 'DeviceKeyRelease' was here
 extern _X_EXPORT int DeviceKeyPress, DeviceKeyRelease, DeviceMotionNotify;
                                      ^~~~~~~~~~~~~~~~
In file included from getevents.c:67:0:
../Xi/exglobals.h:64:12: warning: redundant redeclaration of 'DeviceButtonPress' [-Wredundant-decls]
 extern int DeviceButtonPress;
            ^~~~~~~~~~~~~~~~~
In file included from getevents.c:56:0:
../include/xkbsrv.h:309:22: note: previous declaration of 'DeviceButtonPress' was here
 extern _X_EXPORT int DeviceButtonPress, DeviceButtonRelease;
                      ^~~~~~~~~~~~~~~~~
In file included from getevents.c:67:0:
../Xi/exglobals.h:65:12: warning: redundant redeclaration of 'DeviceButtonRelease' [-Wredundant-decls]
 extern int DeviceButtonRelease;
            ^~~~~~~~~~~~~~~~~~~
In file included from getevents.c:56:0:
../include/xkbsrv.h:309:41: note: previous declaration of 'DeviceButtonRelease' was here
 extern _X_EXPORT int DeviceButtonPress, DeviceButtonRelease;
                                         ^~~~~~~~~~~~~~~~~~~
In file included from getevents.c:67:0:
../Xi/exglobals.h:66:12: warning: redundant redeclaration of 'DeviceMotionNotify' [-Wredundant-decls]
 extern int DeviceMotionNotify;
            ^~~~~~~~~~~~~~~~~~
In file included from getevents.c:56:0:
../include/xkbsrv.h:308:56: note: previous declaration of 'DeviceMotionNotify' was here
 extern _X_EXPORT int DeviceKeyPress, DeviceKeyRelease, DeviceMotionNotify;
                                                        ^~~~~~~~~~~~~~~~~~
  CC       grabs.lo
  CC       initatoms.lo
In file included from globals.c:57:0:
../include/dixfont.h:148:22: warning: redundant redeclaration of 'client_auth_generation' [-Wredundant-decls]
 extern _X_EXPORT int client_auth_generation(ClientPtr client);
                      ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from globals.c:57:
/usr/include/X11/fonts/fontproto.h:52:12: note: previous declaration of 'client_auth_generation' was here
 extern int client_auth_generation ( ClientPtr client );
            ^~~~~~~~~~~~~~~~~~~~~~
In file included from globals.c:57:0:
../include/dixfont.h:150:23: warning: redundant redeclaration of 'DeleteFontClientID' [-Wredundant-decls]
 extern _X_EXPORT void DeleteFontClientID(Font id);
                       ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from globals.c:57:
/usr/include/X11/fonts/fontproto.h:59:13: note: previous declaration of 'DeleteFontClientID' was here
 extern void DeleteFontClientID ( Font id );
             ^~~~~~~~~~~~~~~~~~
In file included from globals.c:57:0:
../include/dixfont.h:152:36: warning: redundant redeclaration of 'GetClientResolutions' [-Wredundant-decls]
 extern _X_EXPORT FontResolutionPtr GetClientResolutions(int *num);
                                    ^~~~~~~~~~~~~~~~~~~~
In file included from ../include/dixfont.h:28:0,
                 from globals.c:57:
/usr/include/X11/fonts/font.h:147:26: note: previous declaration of 'GetClientResolutions' was here
 extern FontResolutionPtr GetClientResolutions(
                          ^~~~~~~~~~~~~~~~~~~~
In file included from globals.c:57:0:
../include/dixfont.h:154:22: warning: redundant redeclaration of 'GetDefaultPointSize' [-Wredundant-decls]
 extern _X_EXPORT int GetDefaultPointSize(void);
                      ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from globals.c:57:
/usr/include/X11/fonts/fontproto.h:44:12: note: previous declaration of 'GetDefaultPointSize' was here
 extern int GetDefaultPointSize ( void );
            ^~~~~~~~~~~~~~~~~~~
In file included from globals.c:57:0:
../include/dixfont.h:156:23: warning: redundant redeclaration of 'GetNewFontClientID' [-Wredundant-decls]
 extern _X_EXPORT Font GetNewFontClientID(void);
                       ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from globals.c:57:
/usr/include/X11/fonts/fontproto.h:60:13: note: previous declaration of 'GetNewFontClientID' was here
 extern Font GetNewFontClientID ( void );
             ^~~~~~~~~~~~~~~~~~
In file included from globals.c:57:0:
../include/dixfont.h:158:22: warning: redundant redeclaration of 'init_fs_handlers' [-Wredundant-decls]
 extern _X_EXPORT int init_fs_handlers(FontPathElementPtr fpe,
                      ^~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from globals.c:57:
/usr/include/X11/fonts/fontproto.h:46:12: note: previous declaration of 'init_fs_handlers' was here
 extern int init_fs_handlers ( FontPathElementPtr fpe,
            ^~~~~~~~~~~~~~~~
In file included from globals.c:57:0:
../include/dixfont.h:161:22: warning: redundant redeclaration of 'RegisterFPEFunctions' [-Wredundant-decls]
 extern _X_EXPORT int RegisterFPEFunctions(NameCheckFunc name_func,
                      ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from globals.c:57:
/usr/include/X11/fonts/fontproto.h:28:12: note: previous declaration of 'RegisterFPEFunctions' was here
 extern int RegisterFPEFunctions ( NameCheckFunc name_func,
            ^~~~~~~~~~~~~~~~~~~~
In file included from globals.c:57:0:
../include/dixfont.h:177:23: warning: redundant redeclaration of 'remove_fs_handlers' [-Wredundant-decls]
 extern _X_EXPORT void remove_fs_handlers(FontPathElementPtr fpe,
                       ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from globals.c:57:
/usr/include/X11/fonts/fontproto.h:48:13: note: previous declaration of 'remove_fs_handlers' was here
 extern void remove_fs_handlers ( FontPathElementPtr fpe,
             ^~~~~~~~~~~~~~~~~~
In file included from globals.c:57:0:
../include/dixfont.h:181:22: warning: redundant redeclaration of 'StoreFontClientFont' [-Wredundant-decls]
 extern _X_EXPORT int StoreFontClientFont(FontPtr pfont, Font id);
                      ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from globals.c:57:
/usr/include/X11/fonts/fontproto.h:61:12: note: previous declaration of 'StoreFontClientFont' was here
 extern int StoreFontClientFont ( FontPtr pfont, Font id );
            ^~~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from glyphcurs.c:53:
../include/dixfont.h:148:22: warning: redundant redeclaration of 'client_auth_generation' [-Wredundant-decls]
 extern _X_EXPORT int client_auth_generation(ClientPtr client);
                      ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from glyphcurs.c:52:
/usr/include/X11/fonts/fontproto.h:52:12: note: previous declaration of 'client_auth_generation' was here
 extern int client_auth_generation ( ClientPtr client );
            ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from glyphcurs.c:53:
../include/dixfont.h:150:23: warning: redundant redeclaration of 'DeleteFontClientID' [-Wredundant-decls]
 extern _X_EXPORT void DeleteFontClientID(Font id);
                       ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from glyphcurs.c:52:
/usr/include/X11/fonts/fontproto.h:59:13: note: previous declaration of 'DeleteFontClientID' was here
 extern void DeleteFontClientID ( Font id );
             ^~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from glyphcurs.c:53:
../include/dixfont.h:152:36: warning: redundant redeclaration of 'GetClientResolutions' [-Wredundant-decls]
 extern _X_EXPORT FontResolutionPtr GetClientResolutions(int *num);
                                    ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:28:0,
                 from glyphcurs.c:52:
/usr/include/X11/fonts/font.h:147:26: note: previous declaration of 'GetClientResolutions' was here
 extern FontResolutionPtr GetClientResolutions(
                          ^~~~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from glyphcurs.c:53:
../include/dixfont.h:154:22: warning: redundant redeclaration of 'GetDefaultPointSize' [-Wredundant-decls]
 extern _X_EXPORT int GetDefaultPointSize(void);
                      ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from glyphcurs.c:52:
/usr/include/X11/fonts/fontproto.h:44:12: note: previous declaration of 'GetDefaultPointSize' was here
 extern int GetDefaultPointSize ( void );
            ^~~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from glyphcurs.c:53:
../include/dixfont.h:156:23: warning: redundant redeclaration of 'GetNewFontClientID' [-Wredundant-decls]
 extern _X_EXPORT Font GetNewFontClientID(void);
                       ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from glyphcurs.c:52:
/usr/include/X11/fonts/fontproto.h:60:13: note: previous declaration of 'GetNewFontClientID' was here
 extern Font GetNewFontClientID ( void );
             ^~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from glyphcurs.c:53:
../include/dixfont.h:158:22: warning: redundant redeclaration of 'init_fs_handlers' [-Wredundant-decls]
 extern _X_EXPORT int init_fs_handlers(FontPathElementPtr fpe,
                      ^~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from glyphcurs.c:52:
/usr/include/X11/fonts/fontproto.h:46:12: note: previous declaration of 'init_fs_handlers' was here
 extern int init_fs_handlers ( FontPathElementPtr fpe,
            ^~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from glyphcurs.c:53:
../include/dixfont.h:161:22: warning: redundant redeclaration of 'RegisterFPEFunctions' [-Wredundant-decls]
 extern _X_EXPORT int RegisterFPEFunctions(NameCheckFunc name_func,
                      ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from glyphcurs.c:52:
/usr/include/X11/fonts/fontproto.h:28:12: note: previous declaration of 'RegisterFPEFunctions' was here
 extern int RegisterFPEFunctions ( NameCheckFunc name_func,
            ^~~~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from glyphcurs.c:53:
../include/dixfont.h:177:23: warning: redundant redeclaration of 'remove_fs_handlers' [-Wredundant-decls]
 extern _X_EXPORT void remove_fs_handlers(FontPathElementPtr fpe,
                       ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from glyphcurs.c:52:
/usr/include/X11/fonts/fontproto.h:48:13: note: previous declaration of 'remove_fs_handlers' was here
 extern void remove_fs_handlers ( FontPathElementPtr fpe,
             ^~~~~~~~~~~~~~~~~~
In file included from ../include/dixfontstr.h:28:0,
                 from glyphcurs.c:53:
../include/dixfont.h:181:22: warning: redundant redeclaration of 'StoreFontClientFont' [-Wredundant-decls]
 extern _X_EXPORT int StoreFontClientFont(FontPtr pfont, Font id);
                      ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from glyphcurs.c:52:
/usr/include/X11/fonts/fontproto.h:61:12: note: previous declaration of 'StoreFontClientFont' was here
 extern int StoreFontClientFont ( FontPtr pfont, Font id );
            ^~~~~~~~~~~~~~~~~~~
In file included from globals.c:48:0:
../include/dix-config.h:23:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 #define COMPILEDDEFAULTFONTPATH "/usr/share/fonts/misc/,/usr/share/fonts/TTF/,/usr/share/fonts/OTF/,/usr/share/fonts/Type1/,/usr/share/fonts/100dpi/,/usr/share/fonts/75dpi/"
                                 ^
../include/dix-config.h:23:33: note: in definition of macro 'COMPILEDDEFAULTFONTPATH'
 #define COMPILEDDEFAULTFONTPATH "/usr/share/fonts/misc/,/usr/share/fonts/TTF/,/usr/share/fonts/OTF/,/usr/share/fonts/Type1/,/usr/share/fonts/100dpi/,/usr/share/fonts/75dpi/"
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from globals.c:58:0:
../include/site.h:82:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 #define COMPILEDDEFAULTFONT "fixed"
                             ^
globals.c:116:25: note: in expansion of macro 'COMPILEDDEFAULTFONT'
 char *defaultTextFont = COMPILEDDEFAULTFONT;
                         ^~~~~~~~~~~~~~~~~~~
../include/site.h:83:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 #define COMPILEDCURSORFONT "cursor"
                            ^
globals.c:117:27: note: in expansion of macro 'COMPILEDCURSORFONT'
 char *defaultCursorFont = COMPILEDCURSORFONT;
                           ^~~~~~~~~~~~~~~~~~
  CC       inpututils.lo
events.c: In function 'MatchForType':
events.c:3713:15: warning: 'evtype' may be used uninitialized in this function [-Wmaybe-uninitialized]
     tmp->type = evtype;
     ~~~~~~~~~~^~~~~~~~
events.c:3712:19: warning: 'grabtype' may be used uninitialized in this function [-Wmaybe-uninitialized]
     tmp->grabtype = grabtype;
     ~~~~~~~~~~~~~~^~~~~~~~~~
events.c:3716:16: warning: 'match' may be used uninitialized in this function [-Wmaybe-uninitialized]
         return match;
                ^~~~~
  CC       pixmap.lo
  CC       privates.lo
  CC       property.lo
In file included from inpututils.c:36:0:
../include/xkbsrv.h:308:22: warning: redundant redeclaration of 'DeviceKeyPress' [-Wredundant-decls]
 extern _X_EXPORT int DeviceKeyPress, DeviceKeyRelease, DeviceMotionNotify;
                      ^~~~~~~~~~~~~~
In file included from inpututils.c:31:0:
../Xi/exglobals.h:62:12: note: previous declaration of 'DeviceKeyPress' was here
 extern int DeviceKeyPress;
            ^~~~~~~~~~~~~~
In file included from inpututils.c:36:0:
../include/xkbsrv.h:308:38: warning: redundant redeclaration of 'DeviceKeyRelease' [-Wredundant-decls]
 extern _X_EXPORT int DeviceKeyPress, DeviceKeyRelease, DeviceMotionNotify;
                                      ^~~~~~~~~~~~~~~~
In file included from inpututils.c:31:0:
../Xi/exglobals.h:63:12: note: previous declaration of 'DeviceKeyRelease' was here
 extern int DeviceKeyRelease;
            ^~~~~~~~~~~~~~~~
In file included from inpututils.c:36:0:
../include/xkbsrv.h:308:56: warning: redundant redeclaration of 'DeviceMotionNotify' [-Wredundant-decls]
 extern _X_EXPORT int DeviceKeyPress, DeviceKeyRelease, DeviceMotionNotify;
                                                        ^~~~~~~~~~~~~~~~~~
In file included from inpututils.c:31:0:
../Xi/exglobals.h:66:12: note: previous declaration of 'DeviceMotionNotify' was here
 extern int DeviceMotionNotify;
            ^~~~~~~~~~~~~~~~~~
In file included from inpututils.c:36:0:
../include/xkbsrv.h:309:22: warning: redundant redeclaration of 'DeviceButtonPress' [-Wredundant-decls]
 extern _X_EXPORT int DeviceButtonPress, DeviceButtonRelease;
                      ^~~~~~~~~~~~~~~~~
In file included from inpututils.c:31:0:
../Xi/exglobals.h:64:12: note: previous declaration of 'DeviceButtonPress' was here
 extern int DeviceButtonPress;
            ^~~~~~~~~~~~~~~~~
In file included from inpututils.c:36:0:
../include/xkbsrv.h:309:41: warning: redundant redeclaration of 'DeviceButtonRelease' [-Wredundant-decls]
 extern _X_EXPORT int DeviceButtonPress, DeviceButtonRelease;
                                         ^~~~~~~~~~~~~~~~~~~
In file included from inpututils.c:31:0:
../Xi/exglobals.h:65:12: note: previous declaration of 'DeviceButtonRelease' was here
 extern int DeviceButtonRelease;
            ^~~~~~~~~~~~~~~~~~~
  CC       ptrveloc.lo
getevents.c: In function 'fill_pointer_events':
getevents.c:1419:20: warning: 'raw' may be used uninitialized in this function [-Wmaybe-uninitialized]
         raw->flags = XIPointerEmulated;
                    ^
  CC       region.lo
ptrveloc.c:65:2: warning: redundant redeclaration of 'SetAccelerationProfile' [-Wredundant-decls]
  SetAccelerationProfile(DeviceVelocityPtr vel, int profile_num);
  ^~~~~~~~~~~~~~~~~~~~~~
In file included from ptrveloc.c:30:0:
../include/ptrveloc.h:121:2: note: previous declaration of 'SetAccelerationProfile' was here
  SetAccelerationProfile(DeviceVelocityPtr vel, int profile_num);
  ^~~~~~~~~~~~~~~~~~~~~~
  CC       registry.lo
  CC       resource.lo
  CC       selection.lo
  CC       swaprep.lo
registry.c: In function 'dixResetRegistry':
registry.c:340:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     extEntry.name = CORE;
                   ^
In file included from resource.c:131:0:
../include/dixfont.h:148:22: warning: redundant redeclaration of 'client_auth_generation' [-Wredundant-decls]
 extern _X_EXPORT int client_auth_generation(ClientPtr client);
                      ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from resource.c:131:
/usr/include/X11/fonts/fontproto.h:52:12: note: previous declaration of 'client_auth_generation' was here
 extern int client_auth_generation ( ClientPtr client );
            ^~~~~~~~~~~~~~~~~~~~~~
In file included from resource.c:131:0:
../include/dixfont.h:150:23: warning: redundant redeclaration of 'DeleteFontClientID' [-Wredundant-decls]
 extern _X_EXPORT void DeleteFontClientID(Font id);
                       ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from resource.c:131:
/usr/include/X11/fonts/fontproto.h:59:13: note: previous declaration of 'DeleteFontClientID' was here
 extern void DeleteFontClientID ( Font id );
             ^~~~~~~~~~~~~~~~~~
In file included from resource.c:131:0:
../include/dixfont.h:152:36: warning: redundant redeclaration of 'GetClientResolutions' [-Wredundant-decls]
 extern _X_EXPORT FontResolutionPtr GetClientResolutions(int *num);
                                    ^~~~~~~~~~~~~~~~~~~~
In file included from ../include/dixfont.h:28:0,
                 from resource.c:131:
/usr/include/X11/fonts/font.h:147:26: note: previous declaration of 'GetClientResolutions' was here
 extern FontResolutionPtr GetClientResolutions(
                          ^~~~~~~~~~~~~~~~~~~~
In file included from resource.c:131:0:
../include/dixfont.h:154:22: warning: redundant redeclaration of 'GetDefaultPointSize' [-Wredundant-decls]
 extern _X_EXPORT int GetDefaultPointSize(void);
                      ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from resource.c:131:
/usr/include/X11/fonts/fontproto.h:44:12: note: previous declaration of 'GetDefaultPointSize' was here
 extern int GetDefaultPointSize ( void );
            ^~~~~~~~~~~~~~~~~~~
In file included from resource.c:131:0:
../include/dixfont.h:156:23: warning: redundant redeclaration of 'GetNewFontClientID' [-Wredundant-decls]
 extern _X_EXPORT Font GetNewFontClientID(void);
                       ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from resource.c:131:
/usr/include/X11/fonts/fontproto.h:60:13: note: previous declaration of 'GetNewFontClientID' was here
 extern Font GetNewFontClientID ( void );
             ^~~~~~~~~~~~~~~~~~
In file included from resource.c:131:0:
../include/dixfont.h:158:22: warning: redundant redeclaration of 'init_fs_handlers' [-Wredundant-decls]
 extern _X_EXPORT int init_fs_handlers(FontPathElementPtr fpe,
                      ^~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from resource.c:131:
/usr/include/X11/fonts/fontproto.h:46:12: note: previous declaration of 'init_fs_handlers' was here
 extern int init_fs_handlers ( FontPathElementPtr fpe,
            ^~~~~~~~~~~~~~~~
In file included from resource.c:131:0:
../include/dixfont.h:161:22: warning: redundant redeclaration of 'RegisterFPEFunctions' [-Wredundant-decls]
 extern _X_EXPORT int RegisterFPEFunctions(NameCheckFunc name_func,
                      ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from resource.c:131:
/usr/include/X11/fonts/fontproto.h:28:12: note: previous declaration of 'RegisterFPEFunctions' was here
 extern int RegisterFPEFunctions ( NameCheckFunc name_func,
            ^~~~~~~~~~~~~~~~~~~~
In file included from resource.c:131:0:
../include/dixfont.h:177:23: warning: redundant redeclaration of 'remove_fs_handlers' [-Wredundant-decls]
 extern _X_EXPORT void remove_fs_handlers(FontPathElementPtr fpe,
                       ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from resource.c:131:
/usr/include/X11/fonts/fontproto.h:48:13: note: previous declaration of 'remove_fs_handlers' was here
 extern void remove_fs_handlers ( FontPathElementPtr fpe,
             ^~~~~~~~~~~~~~~~~~
In file included from resource.c:131:0:
../include/dixfont.h:181:22: warning: redundant redeclaration of 'StoreFontClientFont' [-Wredundant-decls]
 extern _X_EXPORT int StoreFontClientFont(FontPtr pfont, Font id);
                      ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from resource.c:131:
/usr/include/X11/fonts/fontproto.h:61:12: note: previous declaration of 'StoreFontClientFont' was here
 extern int StoreFontClientFont ( FontPtr pfont, Font id );
            ^~~~~~~~~~~~~~~~~~~
  CC       swapreq.lo
  CC       tables.lo
  CC       touch.lo
  CC       window.lo
  CC       main.lo
touch.c: In function 'TouchResizeQueue':
touch.c:106:17: warning: declaration of 'i' shadows a previous local [-Wshadow]
             int i;
                 ^
touch.c:80:9: note: shadowed declaration is here
     int i;
         ^
In file included from main.c:102:0:
../include/dixfont.h:148:22: warning: redundant redeclaration of 'client_auth_generation' [-Wredundant-decls]
 extern _X_EXPORT int client_auth_generation(ClientPtr client);
                      ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from main.c:102:
/usr/include/X11/fonts/fontproto.h:52:12: note: previous declaration of 'client_auth_generation' was here
 extern int client_auth_generation ( ClientPtr client );
            ^~~~~~~~~~~~~~~~~~~~~~
In file included from main.c:102:0:
../include/dixfont.h:150:23: warning: redundant redeclaration of 'DeleteFontClientID' [-Wredundant-decls]
 extern _X_EXPORT void DeleteFontClientID(Font id);
                       ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from main.c:102:
/usr/include/X11/fonts/fontproto.h:59:13: note: previous declaration of 'DeleteFontClientID' was here
 extern void DeleteFontClientID ( Font id );
             ^~~~~~~~~~~~~~~~~~
In file included from main.c:102:0:
../include/dixfont.h:152:36: warning: redundant redeclaration of 'GetClientResolutions' [-Wredundant-decls]
 extern _X_EXPORT FontResolutionPtr GetClientResolutions(int *num);
                                    ^~~~~~~~~~~~~~~~~~~~
In file included from main.c:97:0:
/usr/include/X11/fonts/font.h:147:26: note: previous declaration of 'GetClientResolutions' was here
 extern FontResolutionPtr GetClientResolutions(
                          ^~~~~~~~~~~~~~~~~~~~
In file included from main.c:102:0:
../include/dixfont.h:154:22: warning: redundant redeclaration of 'GetDefaultPointSize' [-Wredundant-decls]
 extern _X_EXPORT int GetDefaultPointSize(void);
                      ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from main.c:102:
/usr/include/X11/fonts/fontproto.h:44:12: note: previous declaration of 'GetDefaultPointSize' was here
 extern int GetDefaultPointSize ( void );
            ^~~~~~~~~~~~~~~~~~~
In file included from main.c:102:0:
../include/dixfont.h:156:23: warning: redundant redeclaration of 'GetNewFontClientID' [-Wredundant-decls]
 extern _X_EXPORT Font GetNewFontClientID(void);
                       ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from main.c:102:
/usr/include/X11/fonts/fontproto.h:60:13: note: previous declaration of 'GetNewFontClientID' was here
 extern Font GetNewFontClientID ( void );
             ^~~~~~~~~~~~~~~~~~
In file included from main.c:102:0:
../include/dixfont.h:158:22: warning: redundant redeclaration of 'init_fs_handlers' [-Wredundant-decls]
 extern _X_EXPORT int init_fs_handlers(FontPathElementPtr fpe,
                      ^~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from main.c:102:
/usr/include/X11/fonts/fontproto.h:46:12: note: previous declaration of 'init_fs_handlers' was here
 extern int init_fs_handlers ( FontPathElementPtr fpe,
            ^~~~~~~~~~~~~~~~
In file included from main.c:102:0:
../include/dixfont.h:161:22: warning: redundant redeclaration of 'RegisterFPEFunctions' [-Wredundant-decls]
 extern _X_EXPORT int RegisterFPEFunctions(NameCheckFunc name_func,
                      ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from main.c:102:
/usr/include/X11/fonts/fontproto.h:28:12: note: previous declaration of 'RegisterFPEFunctions' was here
 extern int RegisterFPEFunctions ( NameCheckFunc name_func,
            ^~~~~~~~~~~~~~~~~~~~
In file included from main.c:102:0:
../include/dixfont.h:177:23: warning: redundant redeclaration of 'remove_fs_handlers' [-Wredundant-decls]
 extern _X_EXPORT void remove_fs_handlers(FontPathElementPtr fpe,
                       ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from main.c:102:
/usr/include/X11/fonts/fontproto.h:48:13: note: previous declaration of 'remove_fs_handlers' was here
 extern void remove_fs_handlers ( FontPathElementPtr fpe,
             ^~~~~~~~~~~~~~~~~~
In file included from main.c:102:0:
../include/dixfont.h:181:22: warning: redundant redeclaration of 'StoreFontClientFont' [-Wredundant-decls]
 extern _X_EXPORT int StoreFontClientFont(FontPtr pfont, Font id);
                      ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/X11/fonts/fontstruct.h:295:0,
                 from ../include/dixfont.h:30,
                 from main.c:102:
/usr/include/X11/fonts/fontproto.h:61:12: note: previous declaration of 'StoreFontClientFont' was here
 extern int StoreFontClientFont ( FontPtr pfont, Font id );
            ^~~~~~~~~~~~~~~~~~~
main.c: In function 'main':
main.c:139:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     display = "0";
             ^
window.c: In function 'log_window_info':
window.c:228:22: warning: format '%x' expects argumen