Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/bitmap.spec'], chrootPath='/var/lib/mock/f33-build-135804-41779/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580169600 Wrote: /builddir/build/SRPMS/bitmap-1.0.9-2.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/bitmap.spec'], chrootPath='/var/lib/mock/f33-build-135804-41779/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580169600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NblWRO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bitmap-1.0.9 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/bitmap-1.0.9.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd bitmap-1.0.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1pLUaM + umask 022 + cd /builddir/build/BUILD + cd bitmap-1.0.9 + 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 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.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' + 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' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-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 for style of include used by make... GNU checking for riscv64-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 whether gcc understands -c and -o together... yes 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 riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-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 -Wmissing-noreturn... yes checking if gcc supports -Wmissing-format-attribute... yes checking if gcc supports -Wredundant-decls... yes checking if gcc supports -Wlogical-op... 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 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 -j4 AM_LDFLAGS=-lXmu make all-recursive make[1]: Entering directory '/builddir/build/BUILD/bitmap-1.0.9' Making all in man make[2]: Entering directory '/builddir/build/BUILD/bitmap-1.0.9/man' GEN bitmap.1 GEN atobm.1 GEN bmtoa.1 make[2]: Leaving directory '/builddir/build/BUILD/bitmap-1.0.9/man' make[2]: Entering directory '/builddir/build/BUILD/bitmap-1.0.9' CC bitmap-BitEdit.o CC bitmap-CutPaste.o CC bitmap-ReqMach.o CC bitmap-Graphics.o BitEdit.c:74:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 74 | { "-axes", "*bitmap.axes", XrmoptionNoArg, "True"}, | ^~~~~~~ BitEdit.c:74:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 74 | { "-axes", "*bitmap.axes", XrmoptionNoArg, "True"}, | ^~~~~~~~~~~~~~ BitEdit.c:74:54: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 74 | { "-axes", "*bitmap.axes", XrmoptionNoArg, "True"}, | ^~~~~~ BitEdit.c:75:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 75 | { "+axes", "*bitmap.axes", XrmoptionNoArg, "False"}, | ^~~~~~~ BitEdit.c:75:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 75 | { "+axes", "*bitmap.axes", XrmoptionNoArg, "False"}, | ^~~~~~~~~~~~~~ BitEdit.c:75:54: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 75 | { "+axes", "*bitmap.axes", XrmoptionNoArg, "False"}, | ^~~~~~~ BitEdit.c:76:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 76 | { "-basename", "*bitmap.basename", XrmoptionSepArg, NULL}, | ^~~~~~~~~~~ BitEdit.c:76:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 76 | { "-basename", "*bitmap.basename", XrmoptionSepArg, NULL}, | ^~~~~~~~~~~~~~~~~~ BitEdit.c:77:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 77 | { "-dashed", "*bitmap.dashed", XrmoptionNoArg, "True"}, | ^~~~~~~~~ BitEdit.c:77:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 77 | { "-dashed", "*bitmap.dashed", XrmoptionNoArg, "True"}, | ^~~~~~~~~~~~~~~~ BitEdit.c:77:58: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 77 | { "-dashed", "*bitmap.dashed", XrmoptionNoArg, "True"}, | ^~~~~~ BitEdit.c:78:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 78 | { "+dashed", "*bitmap.dashed", XrmoptionNoArg, "False"}, | ^~~~~~~~~ BitEdit.c:78:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 78 | { "+dashed", "*bitmap.dashed", XrmoptionNoArg, "False"}, | ^~~~~~~~~~~~~~~~ BitEdit.c:78:58: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 78 | { "+dashed", "*bitmap.dashed", XrmoptionNoArg, "False"}, | ^~~~~~~ BitEdit.c:79:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 79 | { "-dashes", "*bitmap.dashes", XrmoptionSepArg, NULL}, | ^~~~~~~~~ BitEdit.c:79:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 79 | { "-dashes", "*bitmap.dashes", XrmoptionSepArg, NULL}, | ^~~~~~~~~~~~~~~~ BitEdit.c:80:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 80 | { "-fr", "*bitmap.frame", XrmoptionSepArg, NULL}, | ^~~~~ BitEdit.c:80:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 80 | { "-fr", "*bitmap.frame", XrmoptionSepArg, NULL}, | ^~~~~~~~~~~~~~~ BitEdit.c:81:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | { "-gt", "*bitmap.gridTolerance",XrmoptionSepArg, NULL}, | ^~~~~ BitEdit.c:81:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | { "-gt", "*bitmap.gridTolerance",XrmoptionSepArg, NULL}, | ^~~~~~~~~~~~~~~~~~~~~~~ BitEdit.c:82:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 82 | { "-grid", "*bitmap.grid", XrmoptionNoArg, "True"}, | ^~~~~~~ BitEdit.c:82:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 82 | { "-grid", "*bitmap.grid", XrmoptionNoArg, "True"}, | ^~~~~~~~~~~~~~ BitEdit.c:82:54: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 82 | { "-grid", "*bitmap.grid", XrmoptionNoArg, "True"}, | ^~~~~~ BitEdit.c:83:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | { "+grid", "*bitmap.grid", XrmoptionNoArg, "False"}, | ^~~~~~~ BitEdit.c:83:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | { "+grid", "*bitmap.grid", XrmoptionNoArg, "False"}, | ^~~~~~~~~~~~~~ BitEdit.c:83:54: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | { "+grid", "*bitmap.grid", XrmoptionNoArg, "False"}, | ^~~~~~~ BitEdit.c:84:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 84 | { "-hl", "*bitmap.highlight", XrmoptionSepArg, NULL}, | ^~~~~ BitEdit.c:84:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 84 | { "-hl", "*bitmap.highlight", XrmoptionSepArg, NULL}, | ^~~~~~~~~~~~~~~~~~~ BitEdit.c:85:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 85 | { "-proportional","*bitmap.proportional", XrmoptionNoArg, "True"}, | ^~~~~~~~~~~~~~~ BitEdit.c:85:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 85 | { "-proportional","*bitmap.proportional", XrmoptionNoArg, "True"}, | ^~~~~~~~~~~~~~~~~~~~~~ BitEdit.c:85:61: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 85 | { "-proportional","*bitmap.proportional", XrmoptionNoArg, "True"}, | ^~~~~~ BitEdit.c:86:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 86 | { "+proportional","*bitmap.proportional", XrmoptionNoArg, "False"}, | ^~~~~~~~~~~~~~~ BitEdit.c:86:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 86 | { "+proportional","*bitmap.proportional", XrmoptionNoArg, "False"}, | ^~~~~~~~~~~~~~~~~~~~~~ BitEdit.c:86:61: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 86 | { "+proportional","*bitmap.proportional", XrmoptionNoArg, "False"}, | ^~~~~~~ BitEdit.c:87:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 87 | { "-size", "*bitmap.size", XrmoptionSepArg, NULL}, | ^~~~~~~ BitEdit.c:87:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 87 | { "-size", "*bitmap.size", XrmoptionSepArg, NULL}, | ^~~~~~~~~~~~~~ BitEdit.c:88:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 88 | { "-sh", "*bitmap.squareHeight", XrmoptionSepArg, NULL}, | ^~~~~ BitEdit.c:88:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 88 | { "-sh", "*bitmap.squareHeight", XrmoptionSepArg, NULL}, | ^~~~~~~~~~~~~~~~~~~~~~ BitEdit.c:89:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 89 | { "-sw", "*bitmap.squareWidth", XrmoptionSepArg, NULL}, | ^~~~~ BitEdit.c:89:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 89 | { "-sw", "*bitmap.squareWidth", XrmoptionSepArg, NULL}, | ^~~~~~~~~~~~~~~~~~~~~ BitEdit.c:90:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 90 | { "-stipple", "*bitmap.stipple", XrmoptionSepArg, NULL}, | ^~~~~~~~~~ BitEdit.c:90:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 90 | { "-stipple", "*bitmap.stipple", XrmoptionSepArg, NULL}, | ^~~~~~~~~~~~~~~~~ BitEdit.c:91:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | { "-stippled", "*bitmap.stippled", XrmoptionNoArg, "True"}, | ^~~~~~~~~~~ BitEdit.c:91:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | { "-stippled", "*bitmap.stippled", XrmoptionNoArg, "True"}, | ^~~~~~~~~~~~~~~~~~ BitEdit.c:91:61: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | { "-stippled", "*bitmap.stippled", XrmoptionNoArg, "True"}, | ^~~~~~ BitEdit.c:92:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 92 | { "+stippled", "*bitmap.stippled", XrmoptionNoArg, "False"}, | ^~~~~~~~~~~ BitEdit.c:92:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 92 | { "+stippled", "*bitmap.stippled", XrmoptionNoArg, "False"}, | ^~~~~~~~~~~~~~~~~~ BitEdit.c:92:61: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 92 | { "+stippled", "*bitmap.stippled", XrmoptionNoArg, "False"}, | ^~~~~~~ BitEdit.c:104:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | {New, "new", True}, | ^~~~~ BitEdit.c:106:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 106 | {Load, "load", True}, | ^~~~~~ BitEdit.c:108:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 108 | {Insert, "insert", True}, | ^~~~~~~~ BitEdit.c:110:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 110 | {Save, "save", True}, | ^~~~~~ BitEdit.c:112:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 112 | {SaveAs, "saveAs", True}, | ^~~~~~~~ BitEdit.c:114:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 114 | {Resize, "resize", True}, | ^~~~~~~~ BitEdit.c:116:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 116 | {Rescale, "rescale", True}, | ^~~~~~~~~ BitEdit.c:118:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 118 | {Filename, "filename", True}, | ^~~~~~~~~~ BitEdit.c:120:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 120 | {Basename, "basename", True}, | ^~~~~~~~~~ BitEdit.c:122:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 122 | {Dummy, "line", False}, | ^~~~~~ BitEdit.c:124:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 124 | {Quit, "quit", True}, | ^~~~~~ BitEdit.c:129:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 129 | {Image, "image", True}, | ^~~~~~~ BitEdit.c:131:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 131 | {Grid, "grid", True}, | ^~~~~~ BitEdit.c:133:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 133 | {Dashed, "dashed", True}, | ^~~~~~~~ BitEdit.c:135:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 135 | {Axes, "axes", True}, | ^~~~~~ BitEdit.c:137:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 137 | {Stippled, "stippled", True}, | ^~~~~~~~~~ BitEdit.c:139:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 139 | {Proportional, "proportional", True}, | ^~~~~~~~~~~~~~ BitEdit.c:141:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 141 | {Zoom, "zoom", True}, | ^~~~~~ BitEdit.c:143:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 143 | {Dummy, "line", False}, | ^~~~~~ BitEdit.c:145:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 145 | {Cut, "cut", True}, | ^~~~~ BitEdit.c:147:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 147 | {Copy, "copy", True}, | ^~~~~~ BitEdit.c:149:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 149 | {Paste, "paste", True}, | ^~~~~~~ BitEdit.c:154:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 154 | {Clear, "clear", False}, | ^~~~~~~ BitEdit.c:156:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 156 | {Set, "set", False}, | ^~~~~ BitEdit.c:158:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 158 | {Invert, "invert", False}, | ^~~~~~~~ BitEdit.c:160:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 160 | {Mark, "mark", True}, | ^~~~~~ BitEdit.c:162:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 162 | {Unmark, "unmark", False}, | ^~~~~~~~ BitEdit.c:164:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 164 | {CopyImm, "copy", True}, | ^~~~~~ BitEdit.c:166:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 166 | {MoveImm, "move", True}, | ^~~~~~ BitEdit.c:168:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 168 | {FlipHoriz, "flipHoriz", False}, | ^~~~~~~~~~~ BitEdit.c:170:8: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 170 | {Up, "up", False}, | ^~~~ BitEdit.c:172:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 172 | {FlipVert, "flipVert", False}, | ^~~~~~~~~~ BitEdit.c:174:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 174 | {Left, "left", False}, | ^~~~~~ BitEdit.c:176:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 176 | {Fold, "fold", False}, | ^~~~~~ BitEdit.c:178:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 178 | {Right, "right", False}, | ^~~~~~~ BitEdit.c:180:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 180 | {RotateLeft, "rotateLeft", False}, | ^~~~~~~~~~~~ BitEdit.c:182:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 182 | {Down, "down", False}, | ^~~~~~ BitEdit.c:184:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 184 | {RotateRight, "rotateRight", False}, | ^~~~~~~~~~~~~ BitEdit.c:186:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 186 | {Point, "point", True}, | ^~~~~~~ BitEdit.c:188:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 188 | {Curve, "curve", True}, | ^~~~~~~ BitEdit.c:190:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 190 | {Line, "line", True}, | ^~~~~~ BitEdit.c:192:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 192 | {Rectangle, "rectangle", True}, | ^~~~~~~~~~~ BitEdit.c:194:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 194 | {FilledRectangle, "filledRectangle", True}, | ^~~~~~~~~~~~~~~~~ BitEdit.c:196:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 196 | {Circle, "circle", True}, | ^~~~~~~~ BitEdit.c:198:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 198 | {FilledCircle, "filledCircle", True}, | ^~~~~~~~~~~~~~ BitEdit.c:200:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 200 | {FloodFill, "floodFill", True}, | ^~~~~~~~~~~ BitEdit.c:202:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 202 | {SetHotSpot, "setHotSpot", True}, | ^~~~~~~~~~~~ BitEdit.c:204:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 204 | {ClearHotSpot, "clearHotSpot", False}, | ^~~~~~~~~~~~~~ BitEdit.c:206:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 206 | {Undo, "undo", False}, | ^~~~~~ BitEdit.c:256:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 256 | {"fix-menu", FixMenu}, | ^~~~~~~~~~ BitEdit.c:257:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 257 | {"switch-image", (XtActionProc)SwitchImage}, | ^~~~~~~~~~~~~~ BitEdit.c:258:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 258 | {"switch-grid", (XtActionProc)SwitchGrid}, | ^~~~~~~~~~~~~ BitEdit.c:259:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 259 | {"switch-dashed", (XtActionProc)SwitchDashed}, | ^~~~~~~~~~~~~~~ BitEdit.c:260:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 260 | {"switch-axes", (XtActionProc)SwitchAxes}, | ^~~~~~~~~~~~~ BitEdit.c:261:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 261 | {"switch-stippled", (XtActionProc)SwitchStippled}, | ^~~~~~~~~~~~~~~~~ BitEdit.c:262:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 262 | {"switch-proportional", (XtActionProc)SwitchProportional}, | ^~~~~~~~~~~~~~~~~~~~~ BitEdit.c:263:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 263 | {"switch-zoom", (XtActionProc)SwitchZoom}, | ^~~~~~~~~~~~~ BitEdit.c:264:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 264 | {"do-cut", (XtActionProc)DoCut}, | ^~~~~~~~ BitEdit.c:265:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | {"do-copy", (XtActionProc)DoCopy}, | ^~~~~~~~~ BitEdit.c:266:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 266 | {"do-paste", (XtActionProc)DoPaste}, | ^~~~~~~~~~ BitEdit.c:267:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 267 | {"do-new", (XtActionProc)DoNew}, | ^~~~~~~~ BitEdit.c:268:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 268 | {"do-load", (XtActionProc)DoLoad}, | ^~~~~~~~~ BitEdit.c:269:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 269 | {"do-insert", (XtActionProc)DoInsert}, | ^~~~~~~~~~~ BitEdit.c:270:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 270 | {"do-save", (XtActionProc)DoSave}, | ^~~~~~~~~ BitEdit.c:271:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 271 | {"do-save-as", (XtActionProc)DoSaveAs}, | ^~~~~~~~~~~~ BitEdit.c:272:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 272 | {"do-resize", (XtActionProc)DoResize}, | ^~~~~~~~~~~ BitEdit.c:273:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 273 | {"do-rescale", (XtActionProc)DoRescale}, | ^~~~~~~~~~~~ BitEdit.c:274:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 274 | {"do-filename", (XtActionProc)DoFilename}, | ^~~~~~~~~~~~~ BitEdit.c:275:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 275 | {"do-basename", (XtActionProc)DoBasename}, | ^~~~~~~~~~~~~ BitEdit.c:276:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 276 | {"do-quit", DoQuit} | ^~~~~~~~~ BitEdit.c: In function 'FixEntry': BitEdit.c:347:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 347 | XtSetArg(wargs[n], XtNleftBitmap, | ^~~~~~~~ BitEdit.c:352:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 352 | XtSetArg(wargs[n], XtNleftBitmap, | ^~~~~~~~ BitEdit.c:357:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 357 | XtSetArg(wargs[n], XtNleftBitmap, | ^~~~~~~~ BitEdit.c:362:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 362 | XtSetArg(wargs[n], XtNleftBitmap, | ^~~~~~~~ BitEdit.c:367:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 367 | XtSetArg(wargs[n], XtNleftBitmap, | ^~~~~~~~ BitEdit.c:372:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 372 | XtSetArg(wargs[n], XtNleftBitmap, | ^~~~~~~~ BitEdit.c:377:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 377 | 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] 777 | 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 *' 54 | 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] 796 | 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 *' 54 | 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] 814 | 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 *' 54 | 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] 834 | 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 *' 54 | 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] 868 | 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 *' 54 | 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] 886 | format = ""; | ^ BitEdit.c:888:33: warning: passing argument 2 of 'PopupDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 888 | 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 *' 54 | 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] 909 | format = ""; | ^ BitEdit.c:911:33: warning: passing argument 2 of 'PopupDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 911 | 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 *' 54 | 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] 931 | 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 *' 54 | 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] 941 | 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 *' 54 | 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] 953 | 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 *' 54 | 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] 1112 | 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 *' 53 | 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] 1113 | 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 *' 53 | 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] 1114 | 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 *' 53 | extern Dialog CreateDialog(Widget, String, unsigned long); | ^~~~~~ Graphics.c: In function 'BWDrawCircle': Graphics.c:430:28: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] 430 | BWDrawPoint(w, origin_x - (Position) floor(radius), origin_y, value); | ^ Graphics.c:431:28: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] 431 | BWDrawPoint(w, origin_x + (Position) floor(radius), origin_y, value); | ^ Graphics.c:432:38: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] 432 | BWDrawPoint(w, origin_x, origin_y - (Position) floor(radius), value); | ^ Graphics.c:433:38: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] 433 | BWDrawPoint(w, origin_x, origin_y + (Position) floor(radius), value); | ^ Graphics.c: In function 'BWDrawFilledCircle': Graphics.c:463:24: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] 463 | for(j = origin_x - (Position) floor(radius); | ^ Graphics.c:464:18: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] 464 | j <= origin_x + (Position) floor(radius); j++) | ^ Graphics.c:466:21: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] 466 | for(i = 1; i <= (Position) floor(radius); i++) { | ^ CC bitmap-Bitmap.o CC bitmap-Dialog.o Dialog.c:50:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 50 | {"set-dialog-button", SetDialogButton}, | ^~~~~~~~~~~~~~~~~~~ Dialog.c:54:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 54 | {"yes", Yes}, | ^~~~~ Dialog.c:55:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | {"no", No}, | ^~~~ Dialog.c:56:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | {"maybe", Maybe}, | ^~~~~~~ Dialog.c:57:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 57 | {"okay", Okay}, | ^~~~~~ Dialog.c:58:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 58 | {"abort", Abort}, | ^~~~~~~ Dialog.c:59:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 59 | {"cancel", Cancel}, | ^~~~~~~~ Dialog.c:60:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 60 | {"retry", Retry}, | ^~~~~~~ Bitmap.c:71:43: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 71 | 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] 115 | #define XtCHighlight "Highlight" | ^~~~~~~~~~~ Bitmap.c:72:16: note: in expansion of macro 'XtCHighlight' 72 | {XtNhighlight, XtCHighlight, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~~ Bitmap.c:73:42: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 73 | 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] 110 | #define XtNframe "frame" | ^~~~~~~ Bitmap.c:74:2: note: in expansion of macro 'XtNframe' 74 | {XtNframe, XtCFrame, XtRPixel, sizeof(Pixel), | ^~~~~~~~ Bitmap.h:136:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 136 | #define XtCFrame "Frame" | ^~~~~~~ Bitmap.c:74:12: note: in expansion of macro 'XtCFrame' 74 | {XtNframe, XtCFrame, XtRPixel, sizeof(Pixel), | ^~~~~~~~ Bitmap.c:75:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 75 | 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] 93 | #define XtNgridTolerance "gridTolerance" | ^~~~~~~~~~~~~~~ Bitmap.c:76:2: note: in expansion of macro 'XtNgridTolerance' 76 | {XtNgridTolerance, XtCGridTolerance, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~~ Bitmap.h:121:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 121 | #define XtCGridTolerance "GridTolerance" | ^~~~~~~~~~~~~~~ Bitmap.c:76:20: note: in expansion of macro 'XtCGridTolerance' 76 | {XtNgridTolerance, XtCGridTolerance, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~~ Bitmap.h:96:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | #define XtNsize "size" | ^~~~~~ Bitmap.c:78:2: note: in expansion of macro 'XtNsize' 78 | {XtNsize, XtCSize, XtRString, sizeof(String), | ^~~~~~~ Bitmap.h:124:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 124 | #define XtCSize "Size" | ^~~~~~ Bitmap.c:78:11: note: in expansion of macro 'XtCSize' 78 | {XtNsize, XtCSize, XtRString, sizeof(String), | ^~~~~~~ Bitmap.h:91:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | #define XtNdashed "dashed" | ^~~~~~~~ Bitmap.c:80:2: note: in expansion of macro 'XtNdashed' 80 | {XtNdashed, XtCDashed, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~ Bitmap.h:119:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 119 | #define XtCDashed "Dashed" | ^~~~~~~~ Bitmap.c:80:13: note: in expansion of macro 'XtCDashed' 80 | {XtNdashed, XtCDashed, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~ Bitmap.h:92:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 92 | #define XtNgrid "grid" | ^~~~~~ Bitmap.c:82:2: note: in expansion of macro 'XtNgrid' 82 | {XtNgrid, XtCGrid, XtRBoolean, sizeof(Boolean), | ^~~~~~~ Bitmap.h:120:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 120 | #define XtCGrid "Grid" | ^~~~~~ Bitmap.c:82:11: note: in expansion of macro 'XtCGrid' 82 | {XtNgrid, XtCGrid, XtRBoolean, sizeof(Boolean), | ^~~~~~~ Bitmap.h:89:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 89 | #define XtNstippled "stippled" | ^~~~~~~~~~ Bitmap.c:84:2: note: in expansion of macro 'XtNstippled' 84 | {XtNstippled, XtCStippled, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~ Bitmap.h:117:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 117 | #define XtCStippled "Stippled" | ^~~~~~~~~~ Bitmap.c:84:15: note: in expansion of macro 'XtCStippled' 84 | {XtNstippled, XtCStippled, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~ Bitmap.h:112:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 112 | #define XtNproportional "proportional" | ^~~~~~~~~~~~~~ Bitmap.c:86:2: note: in expansion of macro 'XtNproportional' 86 | {XtNproportional, XtCProportional, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~ Bitmap.h:140:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 140 | #define XtCProportional "Proportional" | ^~~~~~~~~~~~~~ Bitmap.c:86:19: note: in expansion of macro 'XtCProportional' 86 | {XtNproportional, XtCProportional, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~ Bitmap.h:94:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | #define XtNaxes "axes" | ^~~~~~ Bitmap.c:88:2: note: in expansion of macro 'XtNaxes' 88 | {XtNaxes, XtCAxes, XtRBoolean, sizeof(Boolean), | ^~~~~~~ Bitmap.h:122:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 122 | #define XtCAxes "Axes" | ^~~~~~ Bitmap.c:88:11: note: in expansion of macro 'XtCAxes' 88 | {XtNaxes, XtCAxes, XtRBoolean, sizeof(Boolean), | ^~~~~~~ Bitmap.h:97:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | #define XtNsquareWidth "squareWidth" | ^~~~~~~~~~~~~ Bitmap.c:90:2: note: in expansion of macro 'XtNsquareWidth' 90 | {XtNsquareWidth, XtCSquareWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~ Bitmap.h:125:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 125 | #define XtCSquareWidth "SquareWidth" | ^~~~~~~~~~~~~ Bitmap.c:90:18: note: in expansion of macro 'XtCSquareWidth' 90 | {XtNsquareWidth, XtCSquareWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~ Bitmap.h:98:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | #define XtNsquareHeight "squareHeight" | ^~~~~~~~~~~~~~ Bitmap.c:92:2: note: in expansion of macro 'XtNsquareHeight' 92 | {XtNsquareHeight, XtCSquareHeight, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~ Bitmap.h:126:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 126 | #define XtCSquareHeight "SquareHeight" | ^~~~~~~~~~~~~~ Bitmap.c:92:19: note: in expansion of macro 'XtCSquareHeight' 92 | {XtNsquareHeight, XtCSquareHeight, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~ Bitmap.h:111:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 111 | #define XtNmargin "margin" | ^~~~~~~~ Bitmap.c:94:2: note: in expansion of macro 'XtNmargin' 94 | {XtNmargin, XtCMargin, XtRDimension, sizeof(Dimension), | ^~~~~~~~~ Bitmap.h:99:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 99 | #define XtNxHot "xHot" | ^~~~~~ Bitmap.c:96:2: note: in expansion of macro 'XtNxHot' 96 | {XtNxHot, XtCXHot, XtRPosition, sizeof(Position), | ^~~~~~~ Bitmap.h:127:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 127 | #define XtCXHot "XHot" | ^~~~~~ Bitmap.c:96:11: note: in expansion of macro 'XtCXHot' 96 | {XtNxHot, XtCXHot, XtRPosition, sizeof(Position), | ^~~~~~~ Bitmap.h:100:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 100 | #define XtNyHot "yHot" | ^~~~~~ Bitmap.c:98:2: note: in expansion of macro 'XtNyHot' 98 | {XtNyHot, XtCYHot, XtRPosition, sizeof(Position), | ^~~~~~~ Bitmap.h:128:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 128 | #define XtCYHot "YHot" | ^~~~~~ Bitmap.c:98:11: note: in expansion of macro 'XtCYHot' 98 | {XtNyHot, XtCYHot, XtRPosition, sizeof(Position), | ^~~~~~~ Bitmap.h:101:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | #define XtNbutton1Function "button1Function" | ^~~~~~~~~~~~~~~~~ Bitmap.c:100:2: note: in expansion of macro 'XtNbutton1Function' 100 | {XtNbutton1Function, XtCButton1Function, XtRButtonFunction, sizeof(int), | ^~~~~~~~~~~~~~~~~~ Bitmap.h:129:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 129 | #define XtCButton1Function "Button1Function" | ^~~~~~~~~~~~~~~~~ Bitmap.c:100:22: note: in expansion of macro 'XtCButton1Function' 100 | {XtNbutton1Function, XtCButton1Function, XtRButtonFunction, sizeof(int), | ^~~~~~~~~~~~~~~~~~ Bitmap.h:142:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 142 | #define XtRButtonFunction "ButtonFunction" | ^~~~~~~~~~~~~~~~ Bitmap.c:100:42: note: in expansion of macro 'XtRButtonFunction' 100 | {XtNbutton1Function, XtCButton1Function, XtRButtonFunction, sizeof(int), | ^~~~~~~~~~~~~~~~~ Bitmap.h:102:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | #define XtNbutton2Function "button2Function" | ^~~~~~~~~~~~~~~~~ Bitmap.c:102:2: note: in expansion of macro 'XtNbutton2Function' 102 | {XtNbutton2Function, XtCButton2Function, XtRButtonFunction, sizeof(int), | ^~~~~~~~~~~~~~~~~~ Bitmap.h:130:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 130 | #define XtCButton2Function "Button2Function" | ^~~~~~~~~~~~~~~~~ Bitmap.c:102:22: note: in expansion of macro 'XtCButton2Function' 102 | {XtNbutton2Function, XtCButton2Function, XtRButtonFunction, sizeof(int), | ^~~~~~~~~~~~~~~~~~ Bitmap.h:142:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 142 | #define XtRButtonFunction "ButtonFunction" | ^~~~~~~~~~~~~~~~ Bitmap.c:102:42: note: in expansion of macro 'XtRButtonFunction' 102 | {XtNbutton2Function, XtCButton2Function, XtRButtonFunction, sizeof(int), | ^~~~~~~~~~~~~~~~~ Bitmap.h:103:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | #define XtNbutton3Function "button3Function" | ^~~~~~~~~~~~~~~~~ Bitmap.c:104:2: note: in expansion of macro 'XtNbutton3Function' 104 | {XtNbutton3Function, XtCButton3Function, XtRButtonFunction, sizeof(int), | ^~~~~~~~~~~~~~~~~~ Bitmap.h:131:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 131 | #define XtCButton3Function "Button3Function" | ^~~~~~~~~~~~~~~~~ Bitmap.c:104:22: note: in expansion of macro 'XtCButton3Function' 104 | {XtNbutton3Function, XtCButton3Function, XtRButtonFunction, sizeof(int), | ^~~~~~~~~~~~~~~~~~ Bitmap.h:142:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 142 | #define XtRButtonFunction "ButtonFunction" | ^~~~~~~~~~~~~~~~ Bitmap.c:104:42: note: in expansion of macro 'XtRButtonFunction' 104 | {XtNbutton3Function, XtCButton3Function, XtRButtonFunction, sizeof(int), | ^~~~~~~~~~~~~~~~~ Bitmap.h:104:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | #define XtNbutton4Function "button4Function" | ^~~~~~~~~~~~~~~~~ Bitmap.c:106:2: note: in expansion of macro 'XtNbutton4Function' 106 | {XtNbutton4Function, XtCButton4Function, XtRButtonFunction, sizeof(int), | ^~~~~~~~~~~~~~~~~~ Bitmap.h:132:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 132 | #define XtCButton4Function "Button4Function" | ^~~~~~~~~~~~~~~~~ Bitmap.c:106:22: note: in expansion of macro 'XtCButton4Function' 106 | {XtNbutton4Function, XtCButton4Function, XtRButtonFunction, sizeof(int), | ^~~~~~~~~~~~~~~~~~ Bitmap.h:142:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 142 | #define XtRButtonFunction "ButtonFunction" | ^~~~~~~~~~~~~~~~ Bitmap.c:106:42: note: in expansion of macro 'XtRButtonFunction' 106 | {XtNbutton4Function, XtCButton4Function, XtRButtonFunction, sizeof(int), | ^~~~~~~~~~~~~~~~~ Bitmap.h:105:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 105 | #define XtNbutton5Function "button5Function" | ^~~~~~~~~~~~~~~~~ Bitmap.c:108:2: note: in expansion of macro 'XtNbutton5Function' 108 | {XtNbutton5Function, XtCButton5Function, XtRButtonFunction, sizeof(int), | ^~~~~~~~~~~~~~~~~~ Bitmap.h:133:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 133 | #define XtCButton5Function "Button5Function" | ^~~~~~~~~~~~~~~~~ Bitmap.c:108:22: note: in expansion of macro 'XtCButton5Function' 108 | {XtNbutton5Function, XtCButton5Function, XtRButtonFunction, sizeof(int), | ^~~~~~~~~~~~~~~~~~ Bitmap.h:142:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 142 | #define XtRButtonFunction "ButtonFunction" | ^~~~~~~~~~~~~~~~ Bitmap.c:108:42: note: in expansion of macro 'XtRButtonFunction' 108 | {XtNbutton5Function, XtCButton5Function, XtRButtonFunction, sizeof(int), | ^~~~~~~~~~~~~~~~~ Bitmap.h:106:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 106 | #define XtNfilename "filename" | ^~~~~~~~~~ Bitmap.c:110:2: note: in expansion of macro 'XtNfilename' 110 | {XtNfilename, XtCFilename, XtRString, sizeof(String), | ^~~~~~~~~~~ Bitmap.h:134:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 134 | #define XtCFilename "Filename" | ^~~~~~~~~~ Bitmap.c:110:15: note: in expansion of macro 'XtCFilename' 110 | {XtNfilename, XtCFilename, XtRString, sizeof(String), | ^~~~~~~~~~~ Bitmap.h:107:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 107 | #define XtNbasename "basename" | ^~~~~~~~~~ Bitmap.c:112:2: note: in expansion of macro 'XtNbasename' 112 | {XtNbasename, XtCBasename, XtRString, sizeof(String), | ^~~~~~~~~~~ Bitmap.h:135:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 135 | #define XtCBasename "Basename" | ^~~~~~~~~~ Bitmap.c:112:15: note: in expansion of macro 'XtCBasename' 112 | {XtNbasename, XtCBasename, XtRString, sizeof(String), | ^~~~~~~~~~~ Bitmap.h:90:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 90 | #define XtNdashes "dashes" | ^~~~~~~~ Bitmap.c:114:2: note: in expansion of macro 'XtNdashes' 114 | {XtNdashes, XtCDashes, XtRBitmap, sizeof(Pixmap), | ^~~~~~~~~ Bitmap.h:118:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 118 | #define XtCDashes "Dashes" | ^~~~~~~~ Bitmap.c:114:13: note: in expansion of macro 'XtCDashes' 114 | {XtNdashes, XtCDashes, XtRBitmap, sizeof(Pixmap), | ^~~~~~~~~ Bitmap.h:88:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 88 | #define XtNstipple "stipple" | ^~~~~~~~~ Bitmap.c:116:2: note: in expansion of macro 'XtNstipple' 116 | {XtNstipple, XtCStipple, XtRBitmap, sizeof(Pixmap), | ^~~~~~~~~~ Bitmap.h:116:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 116 | #define XtCStipple "Stipple" | ^~~~~~~~~ Bitmap.c:116:14: note: in expansion of macro 'XtCStipple' 116 | {XtNstipple, XtCStipple, XtRBitmap, sizeof(Pixmap), | ^~~~~~~~~~ Bitmap.c:124:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 124 | {"mark", (XtActionProc)BWTMark}, | ^~~~~~ Bitmap.c:125:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 125 | {"mark-all", (XtActionProc)BWTMarkAll}, | ^~~~~~~~~~ Bitmap.c:126:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 126 | {"unmark", (XtActionProc)BWTUnmark}, | ^~~~~~~~ Bitmap.c:127:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 127 | {"paste", (XtActionProc)BWTPaste}, | ^~~~~~~ Bitmap.c:128:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 128 | {"bw-debug", (XtActionProc)BWDebug}, | ^~~~~~~~~~ Bitmap.c:129:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 129 | {"abort", (XtActionProc)BWAbort}, | ^~~~~~~ Bitmap.c:130:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 130 | {"store-to-buffer", (XtActionProc)BWStoreToBuffer}, | ^~~~~~~~~~~~~~~~~ Bitmap.c:131:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 131 | {"change-notify", (XtActionProc)BWChangeNotify}, | ^~~~~~~~~~~~~~~ Bitmap.c:132:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 132 | {"set-changed", (XtActionProc)BWSetChanged}, | ^~~~~~~~~~~~~ Bitmap.c:133:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 133 | {"up", (XtActionProc)BWUp}, | ^~~~ Bitmap.c:134:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 134 | {"down", (XtActionProc)BWDown}, | ^~~~~~ Bitmap.c:135:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 135 | {"left", (XtActionProc)BWLeft}, | ^~~~~~ Bitmap.c:136:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 136 | {"right", (XtActionProc)BWRight}, | ^~~~~~~ Bitmap.c:137:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 137 | {"fold", (XtActionProc)BWFold}, | ^~~~~~ Bitmap.c:138:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 138 | {"flip-horiz", (XtActionProc)BWFlipHoriz}, | ^~~~~~~~~~~~ Bitmap.c:139:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 139 | {"flip-vert", (XtActionProc)BWFlipVert}, | ^~~~~~~~~~~ Bitmap.c:140:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 140 | {"rotate-right", (XtActionProc)BWRotateRight}, | ^~~~~~~~~~~~~~ Bitmap.c:141:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 141 | {"rotate-left", (XtActionProc)BWRotateLeft}, | ^~~~~~~~~~~~~ Bitmap.c:142:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 142 | {"set", (XtActionProc)BWSet}, | ^~~~~ Bitmap.c:143:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 143 | {"clear", (XtActionProc)BWClear}, | ^~~~~~~ Bitmap.c:144:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 144 | {"invert", (XtActionProc)BWInvert}, | ^~~~~~~~ Bitmap.c:145:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 145 | {"undo", (XtActionProc)BWUndo}, | ^~~~~~ Bitmap.c:146:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 146 | {"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] 158 | #define MarkRequest "MarkRequest" | ^~~~~~~~~~~~~ Bitmap.c:240:2: note: in expansion of macro 'MarkRequest' 240 | {MarkRequest, sizeof(BWStatus), | ^~~~~~~~~~~ Bitmap.h:160:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 160 | #define RestoreRequest "RestoreRequest" | ^~~~~~~~~~~~~~~~ Bitmap.c:244:2: note: in expansion of macro 'RestoreRequest' 244 | {RestoreRequest, sizeof(BWStatus), | ^~~~~~~~~~~~~~ Bitmap.h:174:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 174 | #define ImmediateCopyRequest "ImmediateCopyRequest" | ^~~~~~~~~~~~~~~~~~~~~~ Bitmap.c:248:2: note: in expansion of macro 'ImmediateCopyRequest' 248 | {ImmediateCopyRequest, sizeof(BWStatus), | ^~~~~~~~~~~~~~~~~~~~ Bitmap.h:175:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 175 | #define ImmediateMoveRequest "ImmediateMoveRequest" | ^~~~~~~~~~~~~~~~~~~~~~ Bitmap.c:252:2: note: in expansion of macro 'ImmediateMoveRequest' 252 | {ImmediateMoveRequest, sizeof(BWStatus), | ^~~~~~~~~~~~~~~~~~~~ Bitmap.h:161:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 161 | #define CopyRequest "CopyRequest" | ^~~~~~~~~~~~~ Bitmap.c:256:2: note: in expansion of macro 'CopyRequest' 256 | {CopyRequest, sizeof(BWStatus), | ^~~~~~~~~~~ Bitmap.h:162:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 162 | #define MoveRequest "MoveRequest" | ^~~~~~~~~~~~~ Bitmap.c:260:2: note: in expansion of macro 'MoveRequest' 260 | {MoveRequest, sizeof(BWStatus), | ^~~~~~~~~~~ Bitmap.h:163:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 163 | #define PointRequest "PointRequest" | ^~~~~~~~~~~~~~ Bitmap.c:264:2: note: in expansion of macro 'PointRequest' 264 | {PointRequest, sizeof(BWStatus), | ^~~~~~~~~~~~ Bitmap.h:165:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 165 | #define CurveRequest "CurveRequest" | ^~~~~~~~~~~~~~ Bitmap.c:268:2: note: in expansion of macro 'CurveRequest' 268 | {CurveRequest, sizeof(BWStatus), | ^~~~~~~~~~~~ Bitmap.h:164:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 164 | #define LineRequest "LineRequest" | ^~~~~~~~~~~~~ Bitmap.c:272:2: note: in expansion of macro 'LineRequest' 272 | {LineRequest, sizeof(BWStatus), | ^~~~~~~~~~~ Bitmap.h:166:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 166 | #define RectangleRequest "RectangleRequest" | ^~~~~~~~~~~~~~~~~~ Bitmap.c:276:2: note: in expansion of macro 'RectangleRequest' 276 | {RectangleRequest, sizeof(BWStatus), | ^~~~~~~~~~~~~~~~ Bitmap.h:167:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 167 | #define FilledRectangleRequest "FilledRectangleRequest" | ^~~~~~~~~~~~~~~~~~~~~~~~ Bitmap.c:280:2: note: in expansion of macro 'FilledRectangleRequest' 280 | {FilledRectangleRequest, sizeof(BWStatus), | ^~~~~~~~~~~~~~~~~~~~~~ Bitmap.h:168:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 168 | #define CircleRequest "CircleRequest" | ^~~~~~~~~~~~~~~ Bitmap.c:284:2: note: in expansion of macro 'CircleRequest' 284 | {CircleRequest, sizeof(BWStatus), | ^~~~~~~~~~~~~ Bitmap.h:169:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 169 | #define FilledCircleRequest "FilledCircleRequest" | ^~~~~~~~~~~~~~~~~~~~~ Bitmap.c:288:2: note: in expansion of macro 'FilledCircleRequest' 288 | {FilledCircleRequest, sizeof(BWStatus), | ^~~~~~~~~~~~~~~~~~~ Bitmap.h:170:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 170 | #define FloodFillRequest "FloodFillRequest" | ^~~~~~~~~~~~~~~~~~ Bitmap.c:292:2: note: in expansion of macro 'FloodFillRequest' 292 | {FloodFillRequest, sizeof(BWStatus), | ^~~~~~~~~~~~~~~~ Bitmap.h:171:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 171 | #define HotSpotRequest "HotSpotRequest" | ^~~~~~~~~~~~~~~~ Bitmap.c:296:2: note: in expansion of macro 'HotSpotRequest' 296 | {HotSpotRequest, sizeof(BWStatus), | ^~~~~~~~~~~~~~ Bitmap.h:172:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 172 | #define ZoomInRequest "ZoomInRequest" | ^~~~~~~~~~~~~~~ Bitmap.c:300:2: note: in expansion of macro 'ZoomInRequest' 300 | {ZoomInRequest, sizeof(BWStatus), | ^~~~~~~~~~~~~ Bitmap.c:320:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 320 | /* class_name */ "Bitmap", | ^~~~~~~~ CC bitmap-Handlers.o CC bmtoa-bmtoa.o CC atobm-atobm.o CCLD bmtoa CCLD atobm CCLD bitmap make[2]: Leaving directory '/builddir/build/BUILD/bitmap-1.0.9' make[1]: Leaving directory '/builddir/build/BUILD/bitmap-1.0.9' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.zipdPP + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bitmap-1.0.9-2.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bitmap-1.0.9-2.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/bitmap-1.0.9-2.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bitmap-1.0.9-2.fc33.riscv64 + cd bitmap-1.0.9 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/bitmap-1.0.9-2.fc33.riscv64 'INSTALL=/usr/bin/install -p' 'INSTALL=install -p' Making install in man make[1]: Entering directory '/builddir/build/BUILD/bitmap-1.0.9/man' make[2]: Entering directory '/builddir/build/BUILD/bitmap-1.0.9/man' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/bitmap-1.0.9-2.fc33.riscv64/usr/share/man/man1' install -p -m 644 bitmap.1 atobm.1 bmtoa.1 '/builddir/build/BUILDROOT/bitmap-1.0.9-2.fc33.riscv64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/bitmap-1.0.9/man' make[1]: Leaving directory '/builddir/build/BUILD/bitmap-1.0.9/man' make[1]: Entering directory '/builddir/build/BUILD/bitmap-1.0.9' make[2]: Entering directory '/builddir/build/BUILD/bitmap-1.0.9' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/bitmap-1.0.9-2.fc33.riscv64/usr/bin' install -p bitmap bmtoa atobm '/builddir/build/BUILDROOT/bitmap-1.0.9-2.fc33.riscv64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/bitmap-1.0.9-2.fc33.riscv64/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.9-2.fc33.riscv64/usr/share/X11/app-defaults' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/bitmap-1.0.9-2.fc33.riscv64/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.9-2.fc33.riscv64/usr/include/X11/bitmaps' make[2]: Leaving directory '/builddir/build/BUILD/bitmap-1.0.9' make[1]: Leaving directory '/builddir/build/BUILD/bitmap-1.0.9' + desktop-file-install --dir /builddir/build/BUILDROOT/bitmap-1.0.9-2.fc33.riscv64/usr/share/applications /builddir/build/SOURCES/bitmap.desktop + mkdir -p /builddir/build/BUILDROOT/bitmap-1.0.9-2.fc33.riscv64/usr/share/icons/hicolor/32x32/apps + install -p -m644 /builddir/build/SOURCES/bitmap.png /builddir/build/BUILDROOT/bitmap-1.0.9-2.fc33.riscv64/usr/share/icons/hicolor/32x32/apps/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.0.9-2.fc33 --unique-debug-suffix -1.0.9-2.fc33.riscv64 --unique-debug-src-base bitmap-1.0.9-2.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/bitmap-1.0.9 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/bitmap-1.0.9-2.fc33.riscv64/usr/bin/atobm explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/bitmap-1.0.9-2.fc33.riscv64/usr/bin/bmtoa explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/bitmap-1.0.9-2.fc33.riscv64/usr/bin/bitmap extracting debug info from /builddir/build/BUILDROOT/bitmap-1.0.9-2.fc33.riscv64/usr/bin/atobm extracting debug info from /builddir/build/BUILDROOT/bitmap-1.0.9-2.fc33.riscv64/usr/bin/bmtoa extracting debug info from /builddir/build/BUILDROOT/bitmap-1.0.9-2.fc33.riscv64/usr/bin/bitmap original debug info size: 452kB, size after compression: 384kB /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 374 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: bitmap-1.0.9-2.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.t9d6mP + umask 022 + cd /builddir/build/BUILD + cd bitmap-1.0.9 + DOCDIR=/builddir/build/BUILDROOT/bitmap-1.0.9-2.fc33.riscv64/usr/share/doc/bitmap + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bitmap-1.0.9-2.fc33.riscv64/usr/share/doc/bitmap + cp -pr ChangeLog /builddir/build/BUILDROOT/bitmap-1.0.9-2.fc33.riscv64/usr/share/doc/bitmap + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(bitmap.desktop) bitmap = 1.0.9-2.fc33 bitmap(riscv-64) = 1.0.9-2.fc33 bitmap-devel = 1.0.9-2.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) 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.27)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: bitmap-debugsource-1.0.9-2.fc33.riscv64 Provides: bitmap-debugsource = 1.0.9-2.fc33 bitmap-debugsource(riscv-64) = 1.0.9-2.fc33 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.9-2.fc33.riscv64 Provides: bitmap-debuginfo = 1.0.9-2.fc33 bitmap-debuginfo(riscv-64) = 1.0.9-2.fc33 debuginfo(build-id) = 5974aba371ba85ad32de99983680f53b32120609 debuginfo(build-id) = dd2c61a21312597a7ca97ac6c2eda0d62d6b7c3c debuginfo(build-id) = f98e988bc532c4308eba68847d81845a1dd74439 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: bitmap-debugsource(riscv-64) = 1.0.9-2.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/bitmap-1.0.9-2.fc33.riscv64 Wrote: /builddir/build/RPMS/bitmap-1.0.9-2.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/bitmap-debugsource-1.0.9-2.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/bitmap-debuginfo-1.0.9-2.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.jXx3XN + umask 022 + cd /builddir/build/BUILD + cd bitmap-1.0.9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/bitmap-1.0.9-2.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0