Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/bitmap.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1629566535.997702/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jbd16wdz:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jbd16wdz:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'fabedda11eb3401f873f622924f7a48a', '-D', '/var/lib/mock/epel-8-x86_64-1629566535.997702/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jbd16wdz:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/bitmap.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/bitmap-1.0.7-4.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/bitmap.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1629566535.997702/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jbd16wdz:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jbd16wdz:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f991945beaa347e9ae18063f2a2e3e65', '-D', '/var/lib/mock/epel-8-x86_64-1629566535.997702/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jbd16wdz:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/bitmap.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IxS3Hu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bitmap-1.0.7 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/bitmap-1.0.7.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd bitmap-1.0.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LqwZSu + umask 022 + cd /builddir/build/BUILD + cd bitmap-1.0.7 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for x86_64-redhat-linux-gnu-gcc... no checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking for gcc option to accept ISO C99... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/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 x86_64-redhat-linux-gnu-pkg-config... /usr/bin/x86_64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking if gcc supports -Werror=unknown-warning-option... no checking if gcc supports -Werror=unused-command-line-argument... no checking if gcc supports -Wall... yes checking if gcc supports -Wpointer-arith... yes checking if gcc supports -Wmissing-declarations... yes checking if gcc supports -Wformat=2... yes checking if gcc supports -Wstrict-prototypes... yes checking if gcc supports -Wmissing-prototypes... yes checking if gcc supports -Wnested-externs... yes checking if gcc supports -Wbad-function-cast... yes checking if gcc supports -Wold-style-definition... yes checking if gcc supports -Wdeclaration-after-statement... yes checking if gcc supports -Wunused... yes checking if gcc supports -Wuninitialized... yes checking if gcc supports -Wshadow... yes checking if gcc supports -Wcast-qual... yes checking if gcc supports -Wmissing-noreturn... yes checking if gcc supports -Wmissing-format-attribute... yes checking if gcc supports -Wredundant-decls... yes checking if gcc supports -Werror=implicit... yes checking if gcc supports -Werror=nonnull... yes checking if gcc supports -Werror=init-self... yes checking if gcc supports -Werror=main... yes checking if gcc supports -Werror=missing-braces... yes checking if gcc supports -Werror=sequence-point... yes checking if gcc supports -Werror=return-type... yes checking if gcc supports -Werror=trigraphs... yes checking if gcc supports -Werror=array-bounds... yes checking if gcc supports -Werror=write-strings... yes checking if gcc supports -Werror=address... yes checking if gcc supports -Werror=int-to-pointer-cast... yes checking if gcc supports -Werror=pointer-to-int-cast... yes checking if gcc supports -pedantic... yes checking if gcc supports -Werror... yes checking if gcc supports -Werror=attributes... yes Package xorg-macros was not found in the pkg-config search path. Perhaps you should add the directory containing `xorg-macros.pc' to the PKG_CONFIG_PATH environment variable Package 'xorg-macros', required by 'virtual:world', not found checking whether make supports nested variables... (cached) yes checking whether gcc and cc understand -c and -o together... yes checking for mkstemp... yes checking for library containing floor... -lm checking for library containing lrint... none required checking for lrint... yes checking for BMTOA... yes checking for ATOBM... yes checking for BITMAP... yes checking for APPDEFS... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands + make -j2 AM_LDFLAGS=-lXmu make all-recursive make[1]: Entering directory '/builddir/build/BUILD/bitmap-1.0.7' Making all in man make[2]: Entering directory '/builddir/build/BUILD/bitmap-1.0.7/man' GEN bitmap.1 GEN atobm.1 GEN bmtoa.1 make[2]: Leaving directory '/builddir/build/BUILD/bitmap-1.0.7/man' make[2]: Entering directory '/builddir/build/BUILD/bitmap-1.0.7' CC bitmap-BitEdit.o CC bitmap-CutPaste.o BitEdit.c:74:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-axes", "*bitmap.axes", XrmoptionNoArg, "True"}, ^~~~~~~ BitEdit.c:74:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-axes", "*bitmap.axes", XrmoptionNoArg, "True"}, ^~~~~~~~~~~~~~ BitEdit.c:74:54: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-axes", "*bitmap.axes", XrmoptionNoArg, "True"}, ^~~~~~ BitEdit.c:75:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "+axes", "*bitmap.axes", XrmoptionNoArg, "False"}, ^~~~~~~ BitEdit.c:75:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "+axes", "*bitmap.axes", XrmoptionNoArg, "False"}, ^~~~~~~~~~~~~~ BitEdit.c:75:54: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "+axes", "*bitmap.axes", XrmoptionNoArg, "False"}, ^~~~~~~ BitEdit.c:76:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-basename", "*bitmap.basename", XrmoptionSepArg, NULL}, ^~~~~~~~~~~ BitEdit.c:76:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-basename", "*bitmap.basename", XrmoptionSepArg, NULL}, ^~~~~~~~~~~~~~~~~~ BitEdit.c:77:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-dashed", "*bitmap.dashed", XrmoptionNoArg, "True"}, ^~~~~~~~~ BitEdit.c:77:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-dashed", "*bitmap.dashed", XrmoptionNoArg, "True"}, ^~~~~~~~~~~~~~~~ BitEdit.c:77:58: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-dashed", "*bitmap.dashed", XrmoptionNoArg, "True"}, ^~~~~~ BitEdit.c:78:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "+dashed", "*bitmap.dashed", XrmoptionNoArg, "False"}, ^~~~~~~~~ BitEdit.c:78:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "+dashed", "*bitmap.dashed", XrmoptionNoArg, "False"}, ^~~~~~~~~~~~~~~~ BitEdit.c:78:58: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "+dashed", "*bitmap.dashed", XrmoptionNoArg, "False"}, ^~~~~~~ BitEdit.c:79:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-dashes", "*bitmap.dashes", XrmoptionSepArg, NULL}, ^~~~~~~~~ BitEdit.c:79:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-dashes", "*bitmap.dashes", XrmoptionSepArg, NULL}, ^~~~~~~~~~~~~~~~ BitEdit.c:80:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-fr", "*bitmap.frame", XrmoptionSepArg, NULL}, ^~~~~ BitEdit.c:80:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-fr", "*bitmap.frame", XrmoptionSepArg, NULL}, ^~~~~~~~~~~~~~~ BitEdit.c:81:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-gt", "*bitmap.gridTolerance",XrmoptionSepArg, NULL}, ^~~~~ BitEdit.c:81:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-gt", "*bitmap.gridTolerance",XrmoptionSepArg, NULL}, ^~~~~~~~~~~~~~~~~~~~~~~ BitEdit.c:82:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-grid", "*bitmap.grid", XrmoptionNoArg, "True"}, ^~~~~~~ BitEdit.c:82:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-grid", "*bitmap.grid", XrmoptionNoArg, "True"}, ^~~~~~~~~~~~~~ BitEdit.c:82:54: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-grid", "*bitmap.grid", XrmoptionNoArg, "True"}, ^~~~~~ BitEdit.c:83:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "+grid", "*bitmap.grid", XrmoptionNoArg, "False"}, ^~~~~~~ BitEdit.c:83:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "+grid", "*bitmap.grid", XrmoptionNoArg, "False"}, ^~~~~~~~~~~~~~ BitEdit.c:83:54: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "+grid", "*bitmap.grid", XrmoptionNoArg, "False"}, ^~~~~~~ BitEdit.c:84:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-hl", "*bitmap.highlight", XrmoptionSepArg, NULL}, ^~~~~ BitEdit.c:84:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-hl", "*bitmap.highlight", XrmoptionSepArg, NULL}, ^~~~~~~~~~~~~~~~~~~ BitEdit.c:85:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-proportional","*bitmap.proportional", XrmoptionNoArg, "True"}, ^~~~~~~~~~~~~~~ BitEdit.c:85:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-proportional","*bitmap.proportional", XrmoptionNoArg, "True"}, ^~~~~~~~~~~~~~~~~~~~~~ BitEdit.c:85:61: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-proportional","*bitmap.proportional", XrmoptionNoArg, "True"}, ^~~~~~ BitEdit.c:86:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "+proportional","*bitmap.proportional", XrmoptionNoArg, "False"}, ^~~~~~~~~~~~~~~ BitEdit.c:86:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "+proportional","*bitmap.proportional", XrmoptionNoArg, "False"}, ^~~~~~~~~~~~~~~~~~~~~~ BitEdit.c:86:61: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "+proportional","*bitmap.proportional", XrmoptionNoArg, "False"}, ^~~~~~~ BitEdit.c:87:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-size", "*bitmap.size", XrmoptionSepArg, NULL}, ^~~~~~~ BitEdit.c:87:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-size", "*bitmap.size", XrmoptionSepArg, NULL}, ^~~~~~~~~~~~~~ BitEdit.c:88:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-sh", "*bitmap.squareHeight", XrmoptionSepArg, NULL}, ^~~~~ BitEdit.c:88:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-sh", "*bitmap.squareHeight", XrmoptionSepArg, NULL}, ^~~~~~~~~~~~~~~~~~~~~~ BitEdit.c:89:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-sw", "*bitmap.squareWidth", XrmoptionSepArg, NULL}, ^~~~~ BitEdit.c:89:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-sw", "*bitmap.squareWidth", XrmoptionSepArg, NULL}, ^~~~~~~~~~~~~~~~~~~~~ BitEdit.c:90:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-stipple", "*bitmap.stipple", XrmoptionSepArg, NULL}, ^~~~~~~~~~ BitEdit.c:90:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-stipple", "*bitmap.stipple", XrmoptionSepArg, NULL}, ^~~~~~~~~~~~~~~~~ BitEdit.c:91:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-stippled", "*bitmap.stippled", XrmoptionNoArg, "True"}, ^~~~~~~~~~~ BitEdit.c:91:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-stippled", "*bitmap.stippled", XrmoptionNoArg, "True"}, ^~~~~~~~~~~~~~~~~~ BitEdit.c:91:61: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-stippled", "*bitmap.stippled", XrmoptionNoArg, "True"}, ^~~~~~ BitEdit.c:92:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "+stippled", "*bitmap.stippled", XrmoptionNoArg, "False"}, ^~~~~~~~~~~ BitEdit.c:92:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "+stippled", "*bitmap.stippled", XrmoptionNoArg, "False"}, ^~~~~~~~~~~~~~~~~~ BitEdit.c:92:61: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "+stippled", "*bitmap.stippled", XrmoptionNoArg, "False"}, ^~~~~~~ BitEdit.c:104:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {New, "new", True}, ^~~~~ BitEdit.c:106:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Load, "load", True}, ^~~~~~ BitEdit.c:108:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Insert, "insert", True}, ^~~~~~~~ BitEdit.c:110:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Save, "save", True}, ^~~~~~ BitEdit.c:112:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {SaveAs, "saveAs", True}, ^~~~~~~~ BitEdit.c:114:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Resize, "resize", True}, ^~~~~~~~ BitEdit.c:116:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Rescale, "rescale", True}, ^~~~~~~~~ BitEdit.c:118:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Filename, "filename", True}, ^~~~~~~~~~ BitEdit.c:120:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Basename, "basename", True}, ^~~~~~~~~~ BitEdit.c:122:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Dummy, "line", False}, ^~~~~~ BitEdit.c:124:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Quit, "quit", True}, ^~~~~~ BitEdit.c:129:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Image, "image", True}, ^~~~~~~ BitEdit.c:131:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Grid, "grid", True}, ^~~~~~ BitEdit.c:133:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Dashed, "dashed", True}, ^~~~~~~~ BitEdit.c:135:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Axes, "axes", True}, ^~~~~~ BitEdit.c:137:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Stippled, "stippled", True}, ^~~~~~~~~~ BitEdit.c:139:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Proportional, "proportional", True}, ^~~~~~~~~~~~~~ BitEdit.c:141:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Zoom, "zoom", True}, ^~~~~~ BitEdit.c:143:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Dummy, "line", False}, ^~~~~~ BitEdit.c:145:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Cut, "cut", True}, ^~~~~ BitEdit.c:147:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Copy, "copy", True}, ^~~~~~ BitEdit.c:149:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Paste, "paste", True}, ^~~~~~~ BitEdit.c:154:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Clear, "clear", False}, ^~~~~~~ BitEdit.c:156:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Set, "set", False}, ^~~~~ BitEdit.c:158:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Invert, "invert", False}, ^~~~~~~~ BitEdit.c:160:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Mark, "mark", True}, ^~~~~~ BitEdit.c:162:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Unmark, "unmark", False}, ^~~~~~~~ BitEdit.c:164:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {CopyImm, "copy", True}, ^~~~~~ BitEdit.c:166:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {MoveImm, "move", True}, ^~~~~~ BitEdit.c:168:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {FlipHoriz, "flipHoriz", False}, ^~~~~~~~~~~ BitEdit.c:170:8: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Up, "up", False}, ^~~~ BitEdit.c:172:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {FlipVert, "flipVert", False}, ^~~~~~~~~~ BitEdit.c:174:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Left, "left", False}, ^~~~~~ BitEdit.c:176:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Fold, "fold", False}, ^~~~~~ BitEdit.c:178:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Right, "right", False}, ^~~~~~~ BitEdit.c:180:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {RotateLeft, "rotateLeft", False}, ^~~~~~~~~~~~ BitEdit.c:182:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Down, "down", False}, ^~~~~~ BitEdit.c:184:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {RotateRight, "rotateRight", False}, ^~~~~~~~~~~~~ BitEdit.c:186:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Point, "point", True}, ^~~~~~~ BitEdit.c:188:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Curve, "curve", True}, ^~~~~~~ BitEdit.c:190:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Line, "line", True}, ^~~~~~ BitEdit.c:192:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Rectangle, "rectangle", True}, ^~~~~~~~~~~ BitEdit.c:194:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {FilledRectangle, "filledRectangle", True}, ^~~~~~~~~~~~~~~~~ BitEdit.c:196:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Circle, "circle", True}, ^~~~~~~~ BitEdit.c:198:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {FilledCircle, "filledCircle", True}, ^~~~~~~~~~~~~~ BitEdit.c:200:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {FloodFill, "floodFill", True}, ^~~~~~~~~~~ BitEdit.c:202:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {SetHotSpot, "setHotSpot", True}, ^~~~~~~~~~~~ BitEdit.c:204:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {ClearHotSpot, "clearHotSpot", False}, ^~~~~~~~~~~~~~ BitEdit.c:206:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Undo, "undo", False}, ^~~~~~ BitEdit.c:256:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"fix-menu", FixMenu}, ^~~~~~~~~~ BitEdit.c:257:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"switch-image", (XtActionProc)SwitchImage}, ^~~~~~~~~~~~~~ BitEdit.c:258:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"switch-grid", (XtActionProc)SwitchGrid}, ^~~~~~~~~~~~~ BitEdit.c:259:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"switch-dashed", (XtActionProc)SwitchDashed}, ^~~~~~~~~~~~~~~ BitEdit.c:260:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"switch-axes", (XtActionProc)SwitchAxes}, ^~~~~~~~~~~~~ BitEdit.c:261:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"switch-stippled", (XtActionProc)SwitchStippled}, ^~~~~~~~~~~~~~~~~ BitEdit.c:262:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"switch-proportional", (XtActionProc)SwitchProportional}, ^~~~~~~~~~~~~~~~~~~~~ BitEdit.c:263:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"switch-zoom", (XtActionProc)SwitchZoom}, ^~~~~~~~~~~~~ BitEdit.c:264:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"do-cut", (XtActionProc)DoCut}, ^~~~~~~~ BitEdit.c:265:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"do-copy", (XtActionProc)DoCopy}, ^~~~~~~~~ BitEdit.c:266:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"do-paste", (XtActionProc)DoPaste}, ^~~~~~~~~~ BitEdit.c:267:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"do-new", (XtActionProc)DoNew}, ^~~~~~~~ BitEdit.c:268:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"do-load", (XtActionProc)DoLoad}, ^~~~~~~~~ BitEdit.c:269:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"do-insert", (XtActionProc)DoInsert}, ^~~~~~~~~~~ BitEdit.c:270:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"do-save", (XtActionProc)DoSave}, ^~~~~~~~~ BitEdit.c:271:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"do-save-as", (XtActionProc)DoSaveAs}, ^~~~~~~~~~~~ BitEdit.c:272:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"do-resize", (XtActionProc)DoResize}, ^~~~~~~~~~~ BitEdit.c:273:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"do-rescale", (XtActionProc)DoRescale}, ^~~~~~~~~~~~ BitEdit.c:274:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"do-filename", (XtActionProc)DoFilename}, ^~~~~~~~~~~~~ BitEdit.c:275:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"do-basename", (XtActionProc)DoBasename}, ^~~~~~~~~~~~~ BitEdit.c:276:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"do-quit", DoQuit} ^~~~~~~~~ BitEdit.c: In function 'FixEntry': BitEdit.c:347:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(wargs[n], XtNleftBitmap, ^~~~~~~~ BitEdit.c:352:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(wargs[n], XtNleftBitmap, ^~~~~~~~ BitEdit.c:357:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(wargs[n], XtNleftBitmap, ^~~~~~~~ BitEdit.c:362:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(wargs[n], XtNleftBitmap, ^~~~~~~~ BitEdit.c:367:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(wargs[n], XtNleftBitmap, ^~~~~~~~ BitEdit.c:372:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(wargs[n], XtNleftBitmap, ^~~~~~~~ BitEdit.c:377:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(wargs[n], XtNleftBitmap, ^~~~~~~~ BitEdit.c: In function 'DoNew': BitEdit.c:777:33: warning: passing argument 2 of 'PopupDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (PopupDialog(input_dialog, "New file:", ^~~~~~~~~~~ In file included from BitEdit.c:209: Dialog.h:54:42: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' extern unsigned long PopupDialog(Dialog, String, String, String *, XtGrabKind); ^~~~~~ BitEdit.c: In function 'DoLoad': BitEdit.c:796:39: warning: passing argument 2 of 'PopupDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] switch (PopupDialog(qsave_dialog, "Save file before loading?", ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from BitEdit.c:209: Dialog.h:54:42: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' extern unsigned long PopupDialog(Dialog, String, String, String *, XtGrabKind); ^~~~~~ BitEdit.c:814:33: warning: passing argument 2 of 'PopupDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (PopupDialog(input_dialog, "Load file:", ^~~~~~~~~~~~ In file included from BitEdit.c:209: Dialog.h:54:42: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' extern unsigned long PopupDialog(Dialog, String, String, String *, XtGrabKind); ^~~~~~ BitEdit.c: In function 'DoInsert': BitEdit.c:834:33: warning: passing argument 2 of 'PopupDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (PopupDialog(input_dialog, "Insert file:", ^~~~~~~~~~~~~~ In file included from BitEdit.c:209: Dialog.h:54:42: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' extern unsigned long PopupDialog(Dialog, String, String, String *, XtGrabKind); ^~~~~~ BitEdit.c: In function 'DoSaveAs': BitEdit.c:868:33: warning: passing argument 2 of 'PopupDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (PopupDialog(input_dialog, "Save file:", ^~~~~~~~~~~~ In file included from BitEdit.c:209: Dialog.h:54:42: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' extern unsigned long PopupDialog(Dialog, String, String, String *, XtGrabKind); ^~~~~~ BitEdit.c: In function 'DoResize': BitEdit.c:886:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] format = ""; ^ BitEdit.c:888:33: warning: passing argument 2 of 'PopupDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (PopupDialog(input_dialog, "Resize to WIDTHxHEIGHT:", ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from BitEdit.c:209: Dialog.h:54:42: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' extern unsigned long PopupDialog(Dialog, String, String, String *, XtGrabKind); ^~~~~~ BitEdit.c: In function 'DoRescale': BitEdit.c:909:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] format = ""; ^ BitEdit.c:911:33: warning: passing argument 2 of 'PopupDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (PopupDialog(input_dialog, "Rescale to WIDTHxHEIGHT:", ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from BitEdit.c:209: Dialog.h:54:42: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' extern unsigned long PopupDialog(Dialog, String, String, String *, XtGrabKind); ^~~~~~ BitEdit.c: In function 'DoFilename': BitEdit.c:931:33: warning: passing argument 2 of 'PopupDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (PopupDialog(input_dialog, "Change filename:", ^~~~~~~~~~~~~~~~~~ In file included from BitEdit.c:209: Dialog.h:54:42: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' extern unsigned long PopupDialog(Dialog, String, String, String *, XtGrabKind); ^~~~~~ BitEdit.c: In function 'DoBasename': BitEdit.c:941:33: warning: passing argument 2 of 'PopupDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (PopupDialog(input_dialog, "Change basename:", ^~~~~~~~~~~~~~~~~~ In file included from BitEdit.c:209: Dialog.h:54:42: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' extern unsigned long PopupDialog(Dialog, String, String, String *, XtGrabKind); ^~~~~~ BitEdit.c: In function 'DoQuit': BitEdit.c:953:39: warning: passing argument 2 of 'PopupDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] switch (PopupDialog(qsave_dialog, "Save file before quitting?", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from BitEdit.c:209: Dialog.h:54:42: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' extern unsigned long PopupDialog(Dialog, String, String, String *, XtGrabKind); ^~~~~~ BitEdit.c: In function 'main': BitEdit.c:1112:45: warning: passing argument 2 of 'CreateDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] input_dialog = CreateDialog(top_widget, "input", Okay | Cancel); ^~~~~~~ In file included from BitEdit.c:209: Dialog.h:53:36: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' extern Dialog CreateDialog(Widget, String, unsigned long); ^~~~~~ BitEdit.c:1113:45: warning: passing argument 2 of 'CreateDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] error_dialog = CreateDialog(top_widget, "error", Abort | Retry); ^~~~~~~ In file included from BitEdit.c:209: Dialog.h:53:36: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' extern Dialog CreateDialog(Widget, String, unsigned long); ^~~~~~ BitEdit.c:1114:45: warning: passing argument 2 of 'CreateDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] qsave_dialog = CreateDialog(top_widget, "qsave", Yes | No | Cancel); ^~~~~~~ In file included from BitEdit.c:209: Dialog.h:53:36: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' extern Dialog CreateDialog(Widget, String, unsigned long); ^~~~~~ CC bitmap-Graphics.o Graphics.c: In function 'BWDrawCircle': Graphics.c:424:28: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] BWDrawPoint(w, origin_x - (Position) floor(radius), origin_y, value); ^ Graphics.c:425:28: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] BWDrawPoint(w, origin_x + (Position) floor(radius), origin_y, value); ^ Graphics.c:426:38: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] BWDrawPoint(w, origin_x, origin_y - (Position) floor(radius), value); ^ Graphics.c:427:38: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] BWDrawPoint(w, origin_x, origin_y + (Position) floor(radius), value); ^ Graphics.c: In function 'BWDrawFilledCircle': Graphics.c:457:24: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] for(j = origin_x - (Position) floor(radius); ^ Graphics.c:458:18: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] j <= origin_x + (Position) floor(radius); j++) ^ Graphics.c:460:21: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] for(i = 1; i <= (Position) floor(radius); i++) { ^ CC bitmap-ReqMach.o CC bitmap-Bitmap.o Bitmap.c:70:43: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] Offset(foreground_pixel), XtRString, XtDefaultForeground}, ^~~~~~~~~~~~~~~~~~~ In file included from BitmapP.h:40, from Bitmap.c:41: Bitmap.h:115:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCHighlight "Highlight" ^~~~~~~~~~~ Bitmap.c:71:16: note: in expansion of macro 'XtCHighlight' {XtNhighlight, XtCHighlight, XtRPixel, sizeof(Pixel), ^~~~~~~~~~~~ Bitmap.c:72:42: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] Offset(highlight_pixel), XtRString, XtDefaultForeground}, ^~~~~~~~~~~~~~~~~~~ In file included from BitmapP.h:40, from Bitmap.c:41: Bitmap.h:110:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNframe "frame" ^~~~~~~ Bitmap.c:73:2: note: in expansion of macro 'XtNframe' {XtNframe, XtCFrame, XtRPixel, sizeof(Pixel), ^~~~~~~~ Bitmap.h:136:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCFrame "Frame" ^~~~~~~ Bitmap.c:73:12: note: in expansion of macro 'XtCFrame' {XtNframe, XtCFrame, XtRPixel, sizeof(Pixel), ^~~~~~~~ Bitmap.c:74:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] Offset(frame_pixel), XtRString, XtDefaultForeground}, ^~~~~~~~~~~~~~~~~~~ In file included from BitmapP.h:40, from Bitmap.c:41: Bitmap.h:93:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNgridTolerance "gridTolerance" ^~~~~~~~~~~~~~~ Bitmap.c:75:2: note: in expansion of macro 'XtNgridTolerance' {XtNgridTolerance, XtCGridTolerance, XtRDimension, sizeof(Dimension), ^~~~~~~~~~~~~~~~ Bitmap.h:121:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCGridTolerance "GridTolerance" ^~~~~~~~~~~~~~~ Bitmap.c:75:20: note: in expansion of macro 'XtCGridTolerance' {XtNgridTolerance, XtCGridTolerance, XtRDimension, sizeof(Dimension), ^~~~~~~~~~~~~~~~ Bitmap.h:96:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNsize "size" ^~~~~~ Bitmap.c:77:2: note: in expansion of macro 'XtNsize' {XtNsize, XtCSize, XtRString, sizeof(String), ^~~~~~~ Bitmap.h:124:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCSize "Size" ^~~~~~ Bitmap.c:77:11: note: in expansion of macro 'XtCSize' {XtNsize, XtCSize, XtRString, sizeof(String), ^~~~~~~ Bitmap.c:78:34: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] Offset(size), XtRImmediate, (XtPointer) DefaultBitmapSize}, ^ In file included from BitmapP.h:40, from Bitmap.c:41: Bitmap.h:91:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNdashed "dashed" ^~~~~~~~ Bitmap.c:79:2: note: in expansion of macro 'XtNdashed' {XtNdashed, XtCDashed, XtRBoolean, sizeof(Boolean), ^~~~~~~~~ Bitmap.h:119:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCDashed "Dashed" ^~~~~~~~ Bitmap.c:79:13: note: in expansion of macro 'XtCDashed' {XtNdashed, XtCDashed, XtRBoolean, sizeof(Boolean), ^~~~~~~~~ Bitmap.h:92:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNgrid "grid" ^~~~~~ Bitmap.c:81:2: note: in expansion of macro 'XtNgrid' {XtNgrid, XtCGrid, XtRBoolean, sizeof(Boolean), ^~~~~~~ Bitmap.h:120:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCGrid "Grid" ^~~~~~ Bitmap.c:81:11: note: in expansion of macro 'XtCGrid' {XtNgrid, XtCGrid, XtRBoolean, sizeof(Boolean), ^~~~~~~ Bitmap.h:89:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNstippled "stippled" ^~~~~~~~~~ Bitmap.c:83:2: note: in expansion of macro 'XtNstippled' {XtNstippled, XtCStippled, XtRBoolean, sizeof(Boolean), ^~~~~~~~~~~ Bitmap.h:117:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCStippled "Stippled" ^~~~~~~~~~ Bitmap.c:83:15: note: in expansion of macro 'XtCStippled' {XtNstippled, XtCStippled, XtRBoolean, sizeof(Boolean), ^~~~~~~~~~~ Bitmap.h:112:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNproportional "proportional" ^~~~~~~~~~~~~~ Bitmap.c:85:2: note: in expansion of macro 'XtNproportional' {XtNproportional, XtCProportional, XtRBoolean, sizeof(Boolean), ^~~~~~~~~~~~~~~ Bitmap.h:140:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCProportional "Proportional" ^~~~~~~~~~~~~~ Bitmap.c:85:19: note: in expansion of macro 'XtCProportional' {XtNproportional, XtCProportional, XtRBoolean, sizeof(Boolean), ^~~~~~~~~~~~~~~ Bitmap.h:94:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNaxes "axes" ^~~~~~ Bitmap.c:87:2: note: in expansion of macro 'XtNaxes' {XtNaxes, XtCAxes, XtRBoolean, sizeof(Boolean), ^~~~~~~ Bitmap.h:122:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCAxes "Axes" ^~~~~~ Bitmap.c:87:11: note: in expansion of macro 'XtCAxes' {XtNaxes, XtCAxes, XtRBoolean, sizeof(Boolean), ^~~~~~~ Bitmap.h:97:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNsquareWidth "squareWidth" ^~~~~~~~~~~~~ Bitmap.c:89:2: note: in expansion of macro 'XtNsquareWidth' {XtNsquareWidth, XtCSquareWidth, XtRDimension, sizeof(Dimension), ^~~~~~~~~~~~~~ Bitmap.h:125:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCSquareWidth "SquareWidth" ^~~~~~~~~~~~~ Bitmap.c:89:18: note: in expansion of macro 'XtCSquareWidth' {XtNsquareWidth, XtCSquareWidth, XtRDimension, sizeof(Dimension), ^~~~~~~~~~~~~~ Bitmap.h:98:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNsquareHeight "squareHeight" ^~~~~~~~~~~~~~ Bitmap.c:91:2: note: in expansion of macro 'XtNsquareHeight' {XtNsquareHeight, XtCSquareHeight, XtRDimension, sizeof(Dimension), ^~~~~~~~~~~~~~~ Bitmap.h:126:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCSquareHeight "SquareHeight" ^~~~~~~~~~~~~~ Bitmap.c:91:19: note: in expansion of macro 'XtCSquareHeight' {XtNsquareHeight, XtCSquareHeight, XtRDimension, sizeof(Dimension), ^~~~~~~~~~~~~~~ Bitmap.h:111:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNmargin "margin" ^~~~~~~~ Bitmap.c:93:2: note: in expansion of macro 'XtNmargin' {XtNmargin, XtCMargin, XtRDimension, sizeof(Dimension), ^~~~~~~~~ Bitmap.h:99:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNxHot "xHot" ^~~~~~ Bitmap.c:95:2: note: in expansion of macro 'XtNxHot' {XtNxHot, XtCXHot, XtRPosition, sizeof(Position), ^~~~~~~ Bitmap.h:127:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCXHot "XHot" ^~~~~~ Bitmap.c:95:11: note: in expansion of macro 'XtCXHot' {XtNxHot, XtCXHot, XtRPosition, sizeof(Position), ^~~~~~~ Bitmap.h:100:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNyHot "yHot" ^~~~~~ Bitmap.c:97:2: note: in expansion of macro 'XtNyHot' {XtNyHot, XtCYHot, XtRPosition, sizeof(Position), ^~~~~~~ Bitmap.h:128:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCYHot "YHot" ^~~~~~ Bitmap.c:97:11: note: in expansion of macro 'XtCYHot' {XtNyHot, XtCYHot, XtRPosition, sizeof(Position), ^~~~~~~ Bitmap.h:101:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbutton1Function "button1Function" ^~~~~~~~~~~~~~~~~ Bitmap.c:99:2: note: in expansion of macro 'XtNbutton1Function' {XtNbutton1Function, XtCButton1Function, XtRButtonFunction, sizeof(int), ^~~~~~~~~~~~~~~~~~ Bitmap.h:129:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCButton1Function "Button1Function" ^~~~~~~~~~~~~~~~~ Bitmap.c:99:22: note: in expansion of macro 'XtCButton1Function' {XtNbutton1Function, XtCButton1Function, XtRButtonFunction, sizeof(int), ^~~~~~~~~~~~~~~~~~ Bitmap.h:142:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRButtonFunction "ButtonFunction" ^~~~~~~~~~~~~~~~ Bitmap.c:99:42: note: in expansion of macro 'XtRButtonFunction' {XtNbutton1Function, XtCButton1Function, XtRButtonFunction, sizeof(int), ^~~~~~~~~~~~~~~~~ Bitmap.h:102:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbutton2Function "button2Function" ^~~~~~~~~~~~~~~~~ Bitmap.c:101:2: note: in expansion of macro 'XtNbutton2Function' {XtNbutton2Function, XtCButton2Function, XtRButtonFunction, sizeof(int), ^~~~~~~~~~~~~~~~~~ Bitmap.h:130:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCButton2Function "Button2Function" ^~~~~~~~~~~~~~~~~ Bitmap.c:101:22: note: in expansion of macro 'XtCButton2Function' {XtNbutton2Function, XtCButton2Function, XtRButtonFunction, sizeof(int), ^~~~~~~~~~~~~~~~~~ Bitmap.h:142:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRButtonFunction "ButtonFunction" ^~~~~~~~~~~~~~~~ Bitmap.c:101:42: note: in expansion of macro 'XtRButtonFunction' {XtNbutton2Function, XtCButton2Function, XtRButtonFunction, sizeof(int), ^~~~~~~~~~~~~~~~~ Bitmap.h:103:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbutton3Function "button3Function" ^~~~~~~~~~~~~~~~~ Bitmap.c:103:2: note: in expansion of macro 'XtNbutton3Function' {XtNbutton3Function, XtCButton3Function, XtRButtonFunction, sizeof(int), ^~~~~~~~~~~~~~~~~~ Bitmap.h:131:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCButton3Function "Button3Function" ^~~~~~~~~~~~~~~~~ Bitmap.c:103:22: note: in expansion of macro 'XtCButton3Function' {XtNbutton3Function, XtCButton3Function, XtRButtonFunction, sizeof(int), ^~~~~~~~~~~~~~~~~~ Bitmap.h:142:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRButtonFunction "ButtonFunction" ^~~~~~~~~~~~~~~~ Bitmap.c:103:42: note: in expansion of macro 'XtRButtonFunction' {XtNbutton3Function, XtCButton3Function, XtRButtonFunction, sizeof(int), ^~~~~~~~~~~~~~~~~ Bitmap.h:104:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbutton4Function "button4Function" ^~~~~~~~~~~~~~~~~ Bitmap.c:105:2: note: in expansion of macro 'XtNbutton4Function' {XtNbutton4Function, XtCButton4Function, XtRButtonFunction, sizeof(int), ^~~~~~~~~~~~~~~~~~ Bitmap.h:132:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCButton4Function "Button4Function" ^~~~~~~~~~~~~~~~~ Bitmap.c:105:22: note: in expansion of macro 'XtCButton4Function' {XtNbutton4Function, XtCButton4Function, XtRButtonFunction, sizeof(int), ^~~~~~~~~~~~~~~~~~ Bitmap.h:142:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRButtonFunction "ButtonFunction" ^~~~~~~~~~~~~~~~ Bitmap.c:105:42: note: in expansion of macro 'XtRButtonFunction' {XtNbutton4Function, XtCButton4Function, XtRButtonFunction, sizeof(int), ^~~~~~~~~~~~~~~~~ Bitmap.h:105:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbutton5Function "button5Function" ^~~~~~~~~~~~~~~~~ Bitmap.c:107:2: note: in expansion of macro 'XtNbutton5Function' {XtNbutton5Function, XtCButton5Function, XtRButtonFunction, sizeof(int), ^~~~~~~~~~~~~~~~~~ Bitmap.h:133:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCButton5Function "Button5Function" ^~~~~~~~~~~~~~~~~ Bitmap.c:107:22: note: in expansion of macro 'XtCButton5Function' {XtNbutton5Function, XtCButton5Function, XtRButtonFunction, sizeof(int), ^~~~~~~~~~~~~~~~~~ Bitmap.h:142:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRButtonFunction "ButtonFunction" ^~~~~~~~~~~~~~~~ Bitmap.c:107:42: note: in expansion of macro 'XtRButtonFunction' {XtNbutton5Function, XtCButton5Function, XtRButtonFunction, sizeof(int), ^~~~~~~~~~~~~~~~~ Bitmap.h:106:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNfilename "filename" ^~~~~~~~~~ Bitmap.c:109:2: note: in expansion of macro 'XtNfilename' {XtNfilename, XtCFilename, XtRString, sizeof(String), ^~~~~~~~~~~ Bitmap.h:134:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCFilename "Filename" ^~~~~~~~~~ Bitmap.c:109:15: note: in expansion of macro 'XtCFilename' {XtNfilename, XtCFilename, XtRString, sizeof(String), ^~~~~~~~~~~ Bitmap.c:110:38: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] Offset(filename), XtRImmediate, (XtPointer) DefaultFilename}, ^ In file included from BitmapP.h:40, from Bitmap.c:41: Bitmap.h:107:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbasename "basename" ^~~~~~~~~~ Bitmap.c:111:2: note: in expansion of macro 'XtNbasename' {XtNbasename, XtCBasename, XtRString, sizeof(String), ^~~~~~~~~~~ Bitmap.h:135:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCBasename "Basename" ^~~~~~~~~~ Bitmap.c:111:15: note: in expansion of macro 'XtCBasename' {XtNbasename, XtCBasename, XtRString, sizeof(String), ^~~~~~~~~~~ Bitmap.c:112:38: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] Offset(basename), XtRImmediate, (XtPointer) DefaultFilename}, ^ In file included from BitmapP.h:40, from Bitmap.c:41: Bitmap.h:90:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNdashes "dashes" ^~~~~~~~ Bitmap.c:113:2: note: in expansion of macro 'XtNdashes' {XtNdashes, XtCDashes, XtRBitmap, sizeof(Pixmap), ^~~~~~~~~ Bitmap.h:118:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCDashes "Dashes" ^~~~~~~~ Bitmap.c:113:13: note: in expansion of macro 'XtCDashes' {XtNdashes, XtCDashes, XtRBitmap, sizeof(Pixmap), ^~~~~~~~~ Bitmap.h:88:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNstipple "stipple" ^~~~~~~~~ Bitmap.c:115:2: note: in expansion of macro 'XtNstipple' {XtNstipple, XtCStipple, XtRBitmap, sizeof(Pixmap), ^~~~~~~~~~ Bitmap.h:116:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCStipple "Stipple" ^~~~~~~~~ Bitmap.c:115:14: note: in expansion of macro 'XtCStipple' {XtNstipple, XtCStipple, XtRBitmap, sizeof(Pixmap), ^~~~~~~~~~ Bitmap.c:123:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"mark", (XtActionProc)BWTMark}, ^~~~~~ Bitmap.c:124:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"mark-all", (XtActionProc)BWTMarkAll}, ^~~~~~~~~~ Bitmap.c:125:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"unmark", (XtActionProc)BWTUnmark}, ^~~~~~~~ Bitmap.c:126:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"paste", (XtActionProc)BWTPaste}, ^~~~~~~ Bitmap.c:127:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"bw-debug", (XtActionProc)BWDebug}, ^~~~~~~~~~ Bitmap.c:128:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"abort", (XtActionProc)BWAbort}, ^~~~~~~ Bitmap.c:129:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"store-to-buffer", (XtActionProc)BWStoreToBuffer}, ^~~~~~~~~~~~~~~~~ Bitmap.c:130:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"change-notify", (XtActionProc)BWChangeNotify}, ^~~~~~~~~~~~~~~ Bitmap.c:131:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"set-changed", (XtActionProc)BWSetChanged}, ^~~~~~~~~~~~~ Bitmap.c:132:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"up", (XtActionProc)BWUp}, ^~~~ Bitmap.c:133:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"down", (XtActionProc)BWDown}, ^~~~~~ Bitmap.c:134:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"left", (XtActionProc)BWLeft}, ^~~~~~ Bitmap.c:135:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"right", (XtActionProc)BWRight}, ^~~~~~~ Bitmap.c:136:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"fold", (XtActionProc)BWFold}, ^~~~~~ Bitmap.c:137:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"flip-horiz", (XtActionProc)BWFlipHoriz}, ^~~~~~~~~~~~ Bitmap.c:138:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"flip-vert", (XtActionProc)BWFlipVert}, ^~~~~~~~~~~ Bitmap.c:139:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"rotate-right", (XtActionProc)BWRotateRight}, ^~~~~~~~~~~~~~ Bitmap.c:140:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"rotate-left", (XtActionProc)BWRotateLeft}, ^~~~~~~~~~~~~ Bitmap.c:141:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"set", (XtActionProc)BWSet}, ^~~~~ Bitmap.c:142:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"clear", (XtActionProc)BWClear}, ^~~~~~~ Bitmap.c:143:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"invert", (XtActionProc)BWInvert}, ^~~~~~~~ Bitmap.c:144:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"undo", (XtActionProc)BWUndo}, ^~~~~~ Bitmap.c:145:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"redraw", (XtActionProc)BWRedraw}, ^~~~~~~~ In file included from BitmapP.h:40, from Bitmap.c:41: Bitmap.h:158:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define MarkRequest "MarkRequest" ^~~~~~~~~~~~~ Bitmap.c:239:2: note: in expansion of macro 'MarkRequest' {MarkRequest, sizeof(BWStatus), ^~~~~~~~~~~ Bitmap.h:160:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define RestoreRequest "RestoreRequest" ^~~~~~~~~~~~~~~~ Bitmap.c:243:2: note: in expansion of macro 'RestoreRequest' {RestoreRequest, sizeof(BWStatus), ^~~~~~~~~~~~~~ Bitmap.h:174:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define ImmediateCopyRequest "ImmediateCopyRequest" ^~~~~~~~~~~~~~~~~~~~~~ Bitmap.c:247:2: note: in expansion of macro 'ImmediateCopyRequest' {ImmediateCopyRequest, sizeof(BWStatus), ^~~~~~~~~~~~~~~~~~~~ Bitmap.h:175:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define ImmediateMoveRequest "ImmediateMoveRequest" ^~~~~~~~~~~~~~~~~~~~~~ Bitmap.c:251:2: note: in expansion of macro 'ImmediateMoveRequest' {ImmediateMoveRequest, sizeof(BWStatus), ^~~~~~~~~~~~~~~~~~~~ Bitmap.h:161:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define CopyRequest "CopyRequest" ^~~~~~~~~~~~~ Bitmap.c:255:2: note: in expansion of macro 'CopyRequest' {CopyRequest, sizeof(BWStatus), ^~~~~~~~~~~ Bitmap.c:257:29: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] DragOnePointTerminate, (XtPointer) ImmediateCopyRequest, ^ In file included from BitmapP.h:40, from Bitmap.c:41: Bitmap.h:162:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define MoveRequest "MoveRequest" ^~~~~~~~~~~~~ Bitmap.c:259:2: note: in expansion of macro 'MoveRequest' {MoveRequest, sizeof(BWStatus), ^~~~~~~~~~~ Bitmap.c:261:29: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] DragOnePointTerminate, (XtPointer) ImmediateMoveRequest, ^ In file included from BitmapP.h:40, from Bitmap.c:41: Bitmap.h:163:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define PointRequest "PointRequest" ^~~~~~~~~~~~~~ Bitmap.c:263:2: note: in expansion of macro 'PointRequest' {PointRequest, sizeof(BWStatus), ^~~~~~~~~~~~ Bitmap.h:165:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define CurveRequest "CurveRequest" ^~~~~~~~~~~~~~ Bitmap.c:267:2: note: in expansion of macro 'CurveRequest' {CurveRequest, sizeof(BWStatus), ^~~~~~~~~~~~ Bitmap.h:164:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define LineRequest "LineRequest" ^~~~~~~~~~~~~ Bitmap.c:271:2: note: in expansion of macro 'LineRequest' {LineRequest, sizeof(BWStatus), ^~~~~~~~~~~ Bitmap.h:166:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define RectangleRequest "RectangleRequest" ^~~~~~~~~~~~~~~~~~ Bitmap.c:275:2: note: in expansion of macro 'RectangleRequest' {RectangleRequest, sizeof(BWStatus), ^~~~~~~~~~~~~~~~ Bitmap.h:167:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define FilledRectangleRequest "FilledRectangleRequest" ^~~~~~~~~~~~~~~~~~~~~~~~ Bitmap.c:279:2: note: in expansion of macro 'FilledRectangleRequest' {FilledRectangleRequest, sizeof(BWStatus), ^~~~~~~~~~~~~~~~~~~~~~ Bitmap.h:168:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define CircleRequest "CircleRequest" ^~~~~~~~~~~~~~~ Bitmap.c:283:2: note: in expansion of macro 'CircleRequest' {CircleRequest, sizeof(BWStatus), ^~~~~~~~~~~~~ Bitmap.h:169:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define FilledCircleRequest "FilledCircleRequest" ^~~~~~~~~~~~~~~~~~~~~ Bitmap.c:287:2: note: in expansion of macro 'FilledCircleRequest' {FilledCircleRequest, sizeof(BWStatus), ^~~~~~~~~~~~~~~~~~~ Bitmap.h:170:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define FloodFillRequest "FloodFillRequest" ^~~~~~~~~~~~~~~~~~ Bitmap.c:291:2: note: in expansion of macro 'FloodFillRequest' {FloodFillRequest, sizeof(BWStatus), ^~~~~~~~~~~~~~~~ Bitmap.h:171:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define HotSpotRequest "HotSpotRequest" ^~~~~~~~~~~~~~~~ Bitmap.c:295:2: note: in expansion of macro 'HotSpotRequest' {HotSpotRequest, sizeof(BWStatus), ^~~~~~~~~~~~~~ Bitmap.h:172:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define ZoomInRequest "ZoomInRequest" ^~~~~~~~~~~~~~~ Bitmap.c:299:2: note: in expansion of macro 'ZoomInRequest' {ZoomInRequest, sizeof(BWStatus), ^~~~~~~~~~~~~ Bitmap.c:319:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "Bitmap", ^~~~~~~~ Bitmap.c: In function 'Initialize': Bitmap.c:905:17: warning: declaration of 'image_data' shadows a previous local [-Wshadow] unsigned char *image_data; ^~~~~~~~~~ Bitmap.c:798:11: note: shadowed declaration is here char *image_data, *buffer_data; ^~~~~~~~~~ Bitmap.c:906:8: warning: declaration of 'buffer_data' shadows a previous local [-Wshadow] char *buffer_data; ^~~~~~~~~~~ Bitmap.c:798:24: note: shadowed declaration is here char *image_data, *buffer_data; ^~~~~~~~~~~ CC bitmap-Dialog.o Dialog.c:50:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"set-dialog-button", SetDialogButton}, ^~~~~~~~~~~~~~~~~~~ Dialog.c:54:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"yes", Yes}, ^~~~~ Dialog.c:55:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"no", No}, ^~~~ Dialog.c:56:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"maybe", Maybe}, ^~~~~~~ Dialog.c:57:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"okay", Okay}, ^~~~~~ Dialog.c:58:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"abort", Abort}, ^~~~~~~ Dialog.c:59:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"cancel", Cancel}, ^~~~~~~~ Dialog.c:60:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"retry", Retry}, ^~~~~~~ CC bitmap-Handlers.o CC bmtoa-bmtoa.o CC atobm-atobm.o CCLD bitmap CCLD bmtoa CCLD atobm make[2]: Leaving directory '/builddir/build/BUILD/bitmap-1.0.7' make[1]: Leaving directory '/builddir/build/BUILD/bitmap-1.0.7' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8vq9kw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bitmap-1.0.7-4.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bitmap-1.0.7-4.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/bitmap-1.0.7-4.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bitmap-1.0.7-4.el8.x86_64 + cd bitmap-1.0.7 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/bitmap-1.0.7-4.el8.x86_64 'INSTALL=/usr/bin/install -p' 'INSTALL=install -p' Making install in man make[1]: Entering directory '/builddir/build/BUILD/bitmap-1.0.7/man' make[2]: Entering directory '/builddir/build/BUILD/bitmap-1.0.7/man' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/bitmap-1.0.7-4.el8.x86_64/usr/share/man/man1' install -p -m 644 bitmap.1 atobm.1 bmtoa.1 '/builddir/build/BUILDROOT/bitmap-1.0.7-4.el8.x86_64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/bitmap-1.0.7/man' make[1]: Leaving directory '/builddir/build/BUILD/bitmap-1.0.7/man' make[1]: Entering directory '/builddir/build/BUILD/bitmap-1.0.7' make[2]: Entering directory '/builddir/build/BUILD/bitmap-1.0.7' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/bitmap-1.0.7-4.el8.x86_64/usr/bin' install -p bitmap bmtoa atobm '/builddir/build/BUILDROOT/bitmap-1.0.7-4.el8.x86_64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/bitmap-1.0.7-4.el8.x86_64/usr/share/X11/app-defaults' install -p -m 644 app-defaults/Bitmap-color app-defaults/Bitmap-nocase app-defaults/Bitmap '/builddir/build/BUILDROOT/bitmap-1.0.7-4.el8.x86_64/usr/share/X11/app-defaults' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/bitmap-1.0.7-4.el8.x86_64/usr/include/X11/bitmaps' install -p -m 644 Dashes Down Excl FlipHoriz FlipVert Fold Left Right RotateLeft RotateRight Stipple Term Up '/builddir/build/BUILDROOT/bitmap-1.0.7-4.el8.x86_64/usr/include/X11/bitmaps' make[2]: Leaving directory '/builddir/build/BUILD/bitmap-1.0.7' make[1]: Leaving directory '/builddir/build/BUILD/bitmap-1.0.7' + desktop-file-install --dir /builddir/build/BUILDROOT/bitmap-1.0.7-4.el8.x86_64/usr/share/applications /builddir/build/SOURCES/bitmap.desktop + mkdir -p /builddir/build/BUILDROOT/bitmap-1.0.7-4.el8.x86_64/usr/share/icons/hicolor/32x32/apps + install -p -m644 /builddir/build/SOURCES/bitmap.png /builddir/build/BUILDROOT/bitmap-1.0.7-4.el8.x86_64/usr/share/icons/hicolor/32x32/apps/ + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.0.7-4.el8 --unique-debug-suffix -1.0.7-4.el8.x86_64 --unique-debug-src-base bitmap-1.0.7-4.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/bitmap-1.0.7 extracting debug info from /builddir/build/BUILDROOT/bitmap-1.0.7-4.el8.x86_64/usr/bin/atobm extracting debug info from /builddir/build/BUILDROOT/bitmap-1.0.7-4.el8.x86_64/usr/bin/bitmap extracting debug info from /builddir/build/BUILDROOT/bitmap-1.0.7-4.el8.x86_64/usr/bin/bmtoa /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 372 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: bitmap-1.0.7-4.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.gMSWJt + umask 022 + cd /builddir/build/BUILD + cd bitmap-1.0.7 + DOCDIR=/builddir/build/BUILDROOT/bitmap-1.0.7-4.el8.x86_64/usr/share/doc/bitmap + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bitmap-1.0.7-4.el8.x86_64/usr/share/doc/bitmap + cp -pr ChangeLog /builddir/build/BUILDROOT/bitmap-1.0.7-4.el8.x86_64/usr/share/doc/bitmap + exit 0 Provides: application() application(bitmap.desktop) bitmap = 1.0.7-4.el8 bitmap(x86-64) = 1.0.7-4.el8 bitmap-devel = 1.0.7-4.el8 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(postun): /bin/sh Requires(posttrans): /bin/sh Requires: libX11.so.6()(64bit) libXaw.so.7()(64bit) libXmu.so.6()(64bit) libXt.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) rtld(GNU_HASH) Processing files: bitmap-debugsource-1.0.7-4.el8.x86_64 Provides: bitmap-debugsource = 1.0.7-4.el8 bitmap-debugsource(x86-64) = 1.0.7-4.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: bitmap-debuginfo-1.0.7-4.el8.x86_64 Provides: bitmap-debuginfo = 1.0.7-4.el8 bitmap-debuginfo(x86-64) = 1.0.7-4.el8 debuginfo(build-id) = 3f868b6cee99a2644314cf196a28bf5e7357b3f8 debuginfo(build-id) = 4775563ed42b4079d81fc6ee934b1e2bf5d5eb67 debuginfo(build-id) = 812c5563acf11895dde010ec4f150ade8eb11f4d Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: bitmap-debugsource(x86-64) = 1.0.7-4.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/bitmap-1.0.7-4.el8.x86_64 Wrote: /builddir/build/RPMS/bitmap-1.0.7-4.el8.x86_64.rpm Wrote: /builddir/build/RPMS/bitmap-debugsource-1.0.7-4.el8.x86_64.rpm Wrote: /builddir/build/RPMS/bitmap-debuginfo-1.0.7-4.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.49jgit + umask 022 + cd /builddir/build/BUILD + cd bitmap-1.0.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/bitmap-1.0.7-4.el8.x86_64 + exit 0 Child return code was: 0