Mock Version: 2.16 Mock Version: 2.16 Mock Version: 2.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/libXaw.spec'], chrootPath='/var/lib/mock/dist-oc8-build-4352-648/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/libXaw.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'} and shell False warning: Macro expanded in comment on line 73: %{name}.html warning: Macro expanded in comment on line 74: %{name}.txt Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/libXaw-1.0.13-10.oc8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/libXaw.spec'], chrootPath='/var/lib/mock/dist-oc8-build-4352-648/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/libXaw.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'} and shell False warning: Macro expanded in comment on line 73: %{name}.html warning: Macro expanded in comment on line 74: %{name}.txt Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.k2We15 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libXaw-1.0.13 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/libXaw-1.0.13.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libXaw-1.0.13 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GoHSi7 + umask 022 + cd /builddir/build/BUILD + cd libXaw-1.0.13 + autoreconf -v --install --force autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:13: installing './compile' configure.ac:10: installing './missing' src/Makefile.am: installing './depcomp' autoreconf: Leaving directory `.' + export '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 -Os' + 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 -Os' + 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 -Os' + 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,-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 + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-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 --docdir=/usr/share/doc/libXaw --disable-xaw8 --disable-static --disable-xaw6 --without-fop --without-xmlto configure: WARNING: unrecognized options: --disable-xaw8 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 build system type... aarch64-redhat-linux-gnu checking host system type... aarch64-redhat-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for aarch64-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 a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert aarch64-redhat-linux-gnu file names to aarch64-redhat-linux-gnu format... func_convert_file_noop checking how to convert aarch64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for aarch64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for aarch64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for aarch64-redhat-linux-gnu-strip... no checking for strip... strip checking for aarch64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for aarch64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for gcc option to accept ISO C99... none needed checking whether __clang__ is declared... no checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... no checking for aarch64-redhat-linux-gnu-pkg-config... /usr/bin/aarch64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes 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 checking whether make supports nested variables... (cached) yes checking whether to build functional specifications... yes checking for xsltproc... /usr/bin/xsltproc checking for X.Org SGML entities >= 1.8... no checking for gawk... (cached) gawk checking for aarch64-redhat-linux-gnu-pkg-config... (cached) /usr/bin/aarch64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for XAW7... yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking widec.h usability... no checking widec.h presence... no checking for widec.h... no checking for iswalnum... yes checking for getpagesize... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating include/Makefile config.status: creating man/Makefile config.status: creating specs/Makefile config.status: creating src/Makefile config.status: creating xaw7.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing libtool_hack commands configure: WARNING: unrecognized options: --disable-xaw8 + make -j32 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/libXaw-1.0.13' Making all in include make[2]: Entering directory '/builddir/build/BUILD/libXaw-1.0.13/include' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/libXaw-1.0.13/include' Making all in src make[2]: Entering directory '/builddir/build/BUILD/libXaw-1.0.13/src' CC libXaw7_la-Actions.lo CC libXaw7_la-AllWidgets.lo CC libXaw7_la-AsciiSink.lo CC libXaw7_la-AsciiSrc.lo CC libXaw7_la-AsciiText.lo CC libXaw7_la-Box.lo CC libXaw7_la-Command.lo CC libXaw7_la-Converters.lo CC libXaw7_la-Dialog.lo CC libXaw7_la-DisplayList.lo CC libXaw7_la-Form.lo CC libXaw7_la-Grip.lo CC libXaw7_la-Label.lo CC libXaw7_la-List.lo CC libXaw7_la-MenuButton.lo CC libXaw7_la-MultiSrc.lo CC libXaw7_la-MultiSink.lo CC libXaw7_la-OS.lo CC libXaw7_la-Paned.lo CC libXaw7_la-Panner.lo CC libXaw7_la-Pixmap.lo CC libXaw7_la-Porthole.lo CC libXaw7_la-Repeater.lo CC libXaw7_la-Scrollbar.lo CC libXaw7_la-Simple.lo CC libXaw7_la-SimpleMenu.lo CC libXaw7_la-Sme.lo CC libXaw7_la-SmeBSB.lo CC libXaw7_la-SmeLine.lo CC libXaw7_la-StripChart.lo CC libXaw7_la-Text.lo CC libXaw7_la-TextSink.lo DisplayList.c:116:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] static String xlib = "xlib"; ^~~~~~ Form.c:99:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"set-values", XawSetValuesAction}, ^~~~~~~~~~~~ Form.c:100:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"get-values", XawGetValuesAction}, ^~~~~~~~~~~~ Box.c:88:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"set-values", XawSetValuesAction}, ^~~~~~~~~~~~ Box.c:89:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"get-values", XawGetValuesAction}, ^~~~~~~~~~~~ Box.c:90:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"declare", XawDeclareAction}, ^~~~~~~~~ Box.c:91:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"call-proc", XawCallProcAction}, ^~~~~~~~~~~ In file included from ../include/X11/Xaw/BoxP.h:54, from Box.c:54: ../include/X11/Xaw/Box.h:84:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XawNdisplayList "displayList" ^~~~~~~~~~~~~ Box.c:125:5: note: in expansion of macro 'XawNdisplayList' XawNdisplayList, ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Box.h:88:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XawCDisplayList "DisplayList" ^~~~~~~~~~~~~ Box.c:126:5: note: in expansion of macro 'XawCDisplayList' XawCDisplayList, ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Box.h:92:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XawRDisplayList "XawDisplayList" ^~~~~~~~~~~~~~~~ Box.c:127:5: note: in expansion of macro 'XawRDisplayList' XawRDisplayList, ^~~~~~~~~~~~~~~ Box.c:140:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Box", /* class_name */ ^~~~~ In file included from ../include/X11/Xaw/MenuButtoP.h:42, from MenuButton.c:45: ../include/X11/Xaw/MenuButton.h:81:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNmenuName "menuName" ^~~~~~~~~~ MenuButton.c:77:5: note: in expansion of macro 'XtNmenuName' XtNmenuName, ^~~~~~~~~~~ DisplayList.c: In function 'XawDisplayListString': ../include/X11/Xaw/MenuButton.h:82:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCMenuName "MenuName" ^~~~~~~~~~ MenuButton.c:78:5: note: in expansion of macro 'XtCMenuName' XtCMenuName, ^~~~~~~~~~~ DisplayList.c:442:12: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] return (""); ^ Actions.c: In function 'XawParseBoolean': Actions.c:160:11: warning: cast from function call of type 'double' to non-matching type 'int' [-Wbad-function-cast] value = (int)strtod(param, &tmp); ^ MenuButton.c:90:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"PopupMenu", PopupMenu}, ^~~~~~~~~~~ MenuButton.c:97:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "MenuButton", /* class_name */ ^~~~~~~~~~~~ AsciiText.c:96:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Text", /* class_name */ ^~~~~~ Actions.c: In function 'XawSetValuesAction': Actions.c:415:30: warning: passing argument 1 of 'XawPrintActionErrorMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XawPrintActionErrorMsg("set-values", w, params, num_params); ^~~~~~~~~~~~ In file included from Actions.c:42: Private.h:75:29: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' void XawPrintActionErrorMsg(String, Widget, String*, Cardinal*); ^~~~~~ Form.c:101:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"declare", XawDeclareAction}, ^~~~~~~~~ Form.c:102:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"call-proc", XawCallProcAction}, ^~~~~~~~~~~ In file included from ../include/X11/Xaw/FormP.h:55, from Form.c:55: ../include/X11/Xaw/Form.h:94:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNdefaultDistance "defaultDistance" ^~~~~~~~~~~~~~~~~ Form.c:112:5: note: in expansion of macro 'XtNdefaultDistance' XtNdefaultDistance, ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Form.h:136:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XawNdisplayList "displayList" ^~~~~~~~~~~~~ Form.c:122:5: note: in expansion of macro 'XawNdisplayList' XawNdisplayList, ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Form.h:140:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XawCDisplayList "DisplayList" ^~~~~~~~~~~~~ Form.c:123:5: note: in expansion of macro 'XawCDisplayList' XawCDisplayList, ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Form.h:144:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XawRDisplayList "XawDisplayList" ^~~~~~~~~~~~~~~~ Form.c:124:5: note: in expansion of macro 'XawRDisplayList' XawRDisplayList, ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Form.h:104:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCEdge "Edge" ^~~~~~ Form.c:140:5: note: in expansion of macro 'XtCEdge' XtCEdge, ^~~~~~~ In file included from Form.c:55: ../include/X11/Xaw/FormP.h:60:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtREdgeType "EdgeType" ^~~~~~~~~~ Form.c:141:5: note: in expansion of macro 'XtREdgeType' XtREdgeType, ^~~~~~~~~~~ In file included from ../include/X11/Xaw/FormP.h:55, from Form.c:55: ../include/X11/Xaw/Form.h:95:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbottom "bottom" ^~~~~~~~ Form.c:148:5: note: in expansion of macro 'XtNbottom' XtNbottom, ^~~~~~~~~ ../include/X11/Xaw/Form.h:104:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCEdge "Edge" ^~~~~~ Form.c:149:5: note: in expansion of macro 'XtCEdge' XtCEdge, ^~~~~~~ Actions.c: In function 'XawGetValuesAction': In file included from Form.c:55: ../include/X11/Xaw/FormP.h:60:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtREdgeType "EdgeType" ^~~~~~~~~~ Form.c:150:5: note: in expansion of macro 'XtREdgeType' XtREdgeType, ^~~~~~~~~~~ Actions.c:507:30: warning: passing argument 1 of 'XawPrintActionErrorMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XawPrintActionErrorMsg("get-values", w, params, num_params); ^~~~~~~~~~~~ In file included from Actions.c:42: Private.h:75:29: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' void XawPrintActionErrorMsg(String, Widget, String*, Cardinal*); ^~~~~~ In file included from ../include/X11/Xaw/FormP.h:55, from Form.c:55: ../include/X11/Xaw/Form.h:96:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNleft "left" ^~~~~~ Form.c:157:5: note: in expansion of macro 'XtNleft' XtNleft, ^~~~~~~ ../include/X11/Xaw/Form.h:104:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCEdge "Edge" ^~~~~~ Form.c:158:5: note: in expansion of macro 'XtCEdge' XtCEdge, ^~~~~~~ In file included from Form.c:55: ../include/X11/Xaw/FormP.h:60:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtREdgeType "EdgeType" ^~~~~~~~~~ Form.c:159:5: note: in expansion of macro 'XtREdgeType' XtREdgeType, ^~~~~~~~~~~ In file included from ../include/X11/Xaw/FormP.h:55, from Form.c:55: ../include/X11/Xaw/Form.h:97:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNright "right" ^~~~~~~ Form.c:166:5: note: in expansion of macro 'XtNright' XtNright, ^~~~~~~~ ../include/X11/Xaw/Form.h:104:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCEdge "Edge" ^~~~~~ Form.c:167:5: note: in expansion of macro 'XtCEdge' XtCEdge, ^~~~~~~ In file included from Form.c:55: ../include/X11/Xaw/FormP.h:60:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtREdgeType "EdgeType" ^~~~~~~~~~ Form.c:168:5: note: in expansion of macro 'XtREdgeType' XtREdgeType, ^~~~~~~~~~~ Actions.c: In function 'XawDeclareAction': In file included from ../include/X11/Xaw/FormP.h:55, from Form.c:55: ../include/X11/Xaw/Form.h:100:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNhorizDistance "horizDistance" ^~~~~~~~~~~~~~~ Form.c:175:5: note: in expansion of macro 'XtNhorizDistance' XtNhorizDistance, ^~~~~~~~~~~~~~~~ Actions.c:533:30: warning: passing argument 1 of 'XawPrintActionErrorMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XawPrintActionErrorMsg("declare", w, params, num_params); ^~~~~~~~~ In file included from Actions.c:42: Private.h:75:29: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' void XawPrintActionErrorMsg(String, Widget, String*, Cardinal*); ^~~~~~ ../include/X11/Xaw/Form.h:98:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNfromHoriz "fromHoriz" ^~~~~~~~~~~ Form.c:184:5: note: in expansion of macro 'XtNfromHoriz' XtNfromHoriz, ^~~~~~~~~~~~ ../include/X11/Xaw/Form.h:105:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCWidget "Widget" ^~~~~~~~ Form.c:185:5: note: in expansion of macro 'XtCWidget' XtCWidget, ^~~~~~~~~ Actions.c: In function 'XawCallProcAction': ../include/X11/Xaw/Form.h:101:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNvertDistance "vertDistance" ^~~~~~~~~~~~~~ Form.c:193:5: note: in expansion of macro 'XtNvertDistance' XtNvertDistance, ^~~~~~~~~~~~~~~ Actions.c:554:30: warning: passing argument 1 of 'XawPrintActionErrorMsg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XawPrintActionErrorMsg("call-proc", w, params, num_params); ^~~~~~~~~~~ In file included from Actions.c:42: Private.h:75:29: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' void XawPrintActionErrorMsg(String, Widget, String*, Cardinal*); ^~~~~~ ../include/X11/Xaw/Form.h:99:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNfromVert "fromVert" ^~~~~~~~~~ Form.c:202:5: note: in expansion of macro 'XtNfromVert' XtNfromVert, ^~~~~~~~~~~ ../include/X11/Xaw/Form.h:105:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCWidget "Widget" ^~~~~~~~ Form.c:203:5: note: in expansion of macro 'XtCWidget' XtCWidget, ^~~~~~~~~ ../include/X11/Xaw/Form.h:102:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNresizable "resizable" ^~~~~~~~~~~ Form.c:211:5: note: in expansion of macro 'XtNresizable' XtNresizable, ^~~~~~~~~~~~ In file included from ../include/X11/Xaw/SmeLineP.h:35, from SmeLine.c:44: ../include/X11/Xaw/SmeLine.h:61:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNlineWidth "lineWidth" ^~~~~~~~~~~ SmeLine.c:69:5: note: in expansion of macro 'XtNlineWidth' XtNlineWidth, ^~~~~~~~~~~~ ../include/X11/Xaw/SmeLine.h:58:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCLineWidth "LineWidth" ^~~~~~~~~~~ SmeLine.c:70:5: note: in expansion of macro 'XtCLineWidth' XtCLineWidth, ^~~~~~~~~~~~ Form.c:226:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Form", /* class_name */ ^~~~~~ ../include/X11/Xaw/SmeLine.h:62:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNstipple "stipple" ^~~~~~~~~ SmeLine.c:78:5: note: in expansion of macro 'XtNstipple' XtNstipple, ^~~~~~~~~~ ../include/X11/Xaw/SmeLine.h:59:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCStipple "Stipple" ^~~~~~~~~ SmeLine.c:79:5: note: in expansion of macro 'XtCStipple' XtCStipple, ^~~~~~~~~~ SmeLine.c:93:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtDefaultForeground ^~~~~~~~~~~~~~~~~~~ SmeLine.c:103:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "SmeLine", /* class_name */ ^~~~~~~~~ Form.c: In function 'CvtEdgeTypeToString': Form.c:366:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] buffer = XtEchainLeft; ^ Form.c:369:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] buffer = XtEchainRight; ^ Form.c:372:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] buffer = XtEchainTop; ^ Form.c:375:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] buffer = XtEchainBottom; ^ Scrollbar.c:183:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtDefaultForeground ^~~~~~~~~~~~~~~~~~~ Form.c:378:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] buffer = XtErubber; ^ In file included from Form.c:55: ../include/X11/Xaw/FormP.h:60:21: warning: passing argument 2 of 'XawTypeToStringWarning' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtREdgeType "EdgeType" ^~~~~~~~~~ Form.c:381:34: note: in expansion of macro 'XtREdgeType' XawTypeToStringWarning(dpy, XtREdgeType); ^~~~~~~~~~~ In file included from ../include/X11/Xaw/ScrollbarP.h:51, from Scrollbar.c:54: ../include/X11/Xaw/Scrollbar.h:106:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCShown "Shown" ^~~~~~~ Scrollbar.c:187:5: note: in expansion of macro 'XtCShown' XtCShown, ^~~~~~~~ In file included from Form.c:57: Private.h:147:39: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' void XawTypeToStringWarning(Display*, String); ^~~~~~ ../include/X11/Xaw/Scrollbar.h:110:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNtopOfThumb "topOfThumb" ^~~~~~~~~~~~ Scrollbar.c:195:5: note: in expansion of macro 'XtNtopOfThumb' XtNtopOfThumb, ^~~~~~~~~~~~~ ../include/X11/Xaw/Scrollbar.h:107:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCTopOfThumb "TopOfThumb" ^~~~~~~~~~~~ Scrollbar.c:196:5: note: in expansion of macro 'XtCTopOfThumb' XtCTopOfThumb, ^~~~~~~~~~~~~ Scrollbar.c:210:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "sb_v_double_arrow" ^~~~~~~~~~~~~~~~~~~ Scrollbar.c:219:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "sb_h_double_arrow" ^~~~~~~~~~~~~~~~~~~ Scrollbar.c:228:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "sb_up_arrow" ^~~~~~~~~~~~~ Converters.c:138:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] static String XtCToolkitError = "ToolkitError"; ^~~~~~~~~~~~~~ Scrollbar.c:237:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "sb_down_arrow" ^~~~~~~~~~~~~~~ Converters.c:139:36: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] static String XtNconversionError = "conversionError"; ^~~~~~~~~~~~~~~~~ Converters.c:142:36: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] static String XtNwrongParameters = "wrongParameters"; ^~~~~~~~~~~~~~~~~ Scrollbar.c:246:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "sb_left_arrow" ^~~~~~~~~~~~~~~ Scrollbar.c:255:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "sb_right_arrow" ^~~~~~~~~~~~~~~~ AsciiSink.c:121:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtDefaultFont ^~~~~~~~~~~~~ In file included from ../include/X11/Xaw/ScrollbarP.h:51, from Scrollbar.c:54: ../include/X11/Xaw/Scrollbar.h:109:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNminimumThumb "minimumThumb" ^~~~~~~~~~~~~~ Scrollbar.c:258:5: note: in expansion of macro 'XtNminimumThumb' XtNminimumThumb, ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Scrollbar.h:105:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCMinimumThumb "MinimumThumb" ^~~~~~~~~~~~~~ Scrollbar.c:259:5: note: in expansion of macro 'XtCMinimumThumb' XtCMinimumThumb, ^~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw/Text.h:368, from ../include/X11/Xaw/TextSink.h:51, from ../include/X11/Xaw/TextSinkP.h:54, from ../include/X11/Xaw/AsciiSinkP.h:54, from AsciiSink.c:57: ../include/X11/Xaw/AsciiSink.h:69:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNecho "echo" ^~~~~~ AsciiSink.c:124:5: note: in expansion of macro 'XtNecho' XtNecho, ^~~~~~~ ../include/X11/Xaw/AsciiSink.h:66:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCOutput "Output" ^~~~~~~~ AsciiSink.c:125:5: note: in expansion of macro 'XtCOutput' XtCOutput, ^~~~~~~~~ Scrollbar.c:270:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"StartScroll", StartScroll}, ^~~~~~~~~~~~~ Scrollbar.c:271:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"MoveThumb", MoveThumb}, ^~~~~~~~~~~ Scrollbar.c:272:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"NotifyThumb", NotifyThumb}, ^~~~~~~~~~~~~ Scrollbar.c:273:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"NotifyScroll", NotifyScroll}, ^~~~~~~~~~~~~~ ../include/X11/Xaw/AsciiSink.h:68:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNdisplayNonprinting "displayNonprinting" ^~~~~~~~~~~~~~~~~~~~ AsciiSink.c:133:5: note: in expansion of macro 'XtNdisplayNonprinting' XtNdisplayNonprinting, ^~~~~~~~~~~~~~~~~~~~~ Scrollbar.c:274:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"EndScroll", EndScroll}, ^~~~~~~~~~~ ../include/X11/Xaw/AsciiSink.h:66:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCOutput "Output" ^~~~~~~~ AsciiSink.c:134:5: note: in expansion of macro 'XtCOutput' XtCOutput, ^~~~~~~~~ Scrollbar.c:282:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Scrollbar", /* class_name */ ^~~~~~~~~~~ AsciiSink.c:150:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "AsciiSink", /* class_name */ ^~~~~~~~~~~ List.c:108:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtDefaultForeground ^~~~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw/ListP.h:42, from List.c:44: ../include/X11/Xaw/List.h:116:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNcursor "cursor" ^~~~~~~~ List.c:111:5: note: in expansion of macro 'XtNcursor' XtNcursor, ^~~~~~~~~ List.c:117:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "left_ptr" ^~~~~~~~~~ List.c:126:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtDefaultFont ^~~~~~~~~~~~~ List.c:135:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtDefaultFontSet ^~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw/ListP.h:42, from List.c:44: ../include/X11/Xaw/List.h:120:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNlist "list" ^~~~~~ List.c:138:5: note: in expansion of macro 'XtNlist' XtNlist, ^~~~~~~ Grip.c:95:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtDefaultForeground ^~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/List.h:110:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCList "List" ^~~~~~ List.c:139:5: note: in expansion of macro 'XtCList' XtCList, ^~~~~~~ ../include/X11/Xaw/List.h:118:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNdefaultColumns "defaultColumns" ^~~~~~~~~~~~~~~~ List.c:151:5: note: in expansion of macro 'XtNdefaultColumns' XtNdefaultColumns, ^~~~~~~~~~~~~~~~~ ../include/X11/Xaw/List.h:112:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCColumns "Columns" ^~~~~~~~~ List.c:152:5: note: in expansion of macro 'XtCColumns' XtCColumns, ^~~~~~~~~~ ../include/X11/Xaw/List.h:121:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNlongest "longest" ^~~~~~~~~ List.c:160:5: note: in expansion of macro 'XtNlongest' XtNlongest, ^~~~~~~~~~ Grip.c:119:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"GripAction", GripAction}, ^~~~~~~~~~~~ ../include/X11/Xaw/List.h:113:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCLongest "Longest" ^~~~~~~~~ List.c:161:5: note: in expansion of macro 'XtCLongest' XtCLongest, ^~~~~~~~~~ Grip.c:128:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Grip", /* class name */ ^~~~~~ Repeater.c:81:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"start", ActionStart}, ^~~~~~~ ../include/X11/Xaw/List.h:122:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNnumberStrings "numberStrings" ^~~~~~~~~~~~~~~ List.c:169:5: note: in expansion of macro 'XtNnumberStrings' XtNnumberStrings, ^~~~~~~~~~~~~~~~ ../include/X11/Xaw/List.h:114:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCNumberStrings "NumberStrings" ^~~~~~~~~~~~~~~ List.c:170:5: note: in expansion of macro 'XtCNumberStrings' XtCNumberStrings, ^~~~~~~~~~~~~~~~ Repeater.c:82:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"stop", ActionStop}, ^~~~~~ ../include/X11/Xaw/List.h:123:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNpasteBuffer "pasteBuffer" ^~~~~~~~~~~~~ List.c:178:5: note: in expansion of macro 'XtNpasteBuffer' XtNpasteBuffer, ^~~~~~~~~~~~~~ In file included from ../include/X11/Xaw/RepeaterP.h:32, from Repeater.c:35: ../include/X11/Xaw/Repeater.h:54:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNdecay "decay" ^~~~~~~ Repeater.c:88:5: note: in expansion of macro 'XtNdecay' XtNdecay, ^~~~~~~~ ../include/X11/Xaw/Repeater.h:55:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCDecay "Decay" ^~~~~~~ Repeater.c:89:5: note: in expansion of macro 'XtCDecay' XtCDecay, ^~~~~~~~ ../include/X11/Xaw/List.h:119:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNforceColumns "forceColumns" ^~~~~~~~~~~~~~ List.c:187:5: note: in expansion of macro 'XtNforceColumns' XtNforceColumns, ^~~~~~~~~~~~~~~ ../include/X11/Xaw/List.h:112:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCColumns "Columns" ^~~~~~~~~ List.c:188:5: note: in expansion of macro 'XtCColumns' XtCColumns, ^~~~~~~~~~ ../include/X11/Xaw/List.h:125:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNverticalList "verticalList" ^~~~~~~~~~~~~~ List.c:196:5: note: in expansion of macro 'XtNverticalList' XtNverticalList, ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Repeater.h:56:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNinitialDelay "initialDelay" ^~~~~~~~~~~~~~ Repeater.c:97:5: note: in expansion of macro 'XtNinitialDelay' XtNinitialDelay, ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Repeater.h:57:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCDelay "Delay" ^~~~~~~ Repeater.c:98:5: note: in expansion of macro 'XtCDelay' XtCDelay, ^~~~~~~~ ../include/X11/Xaw/Repeater.h:58:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNminimumDelay "minimumDelay" ^~~~~~~~~~~~~~ Repeater.c:106:5: note: in expansion of macro 'XtNminimumDelay' XtNminimumDelay, ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Repeater.h:59:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCMinimumDelay "MinimumDelay" ^~~~~~~~~~~~~~ Repeater.c:107:5: note: in expansion of macro 'XtCMinimumDelay' XtCMinimumDelay, ^~~~~~~~~~~~~~~ ../include/X11/Xaw/List.h:117:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNcolumnSpacing "columnSpacing" ^~~~~~~~~~~~~~~ List.c:223:5: note: in expansion of macro 'XtNcolumnSpacing' XtNcolumnSpacing, ^~~~~~~~~~~~~~~~ ../include/X11/Xaw/Repeater.h:60:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNrepeatDelay "repeatDelay" ^~~~~~~~~~~~~ Repeater.c:115:5: note: in expansion of macro 'XtNrepeatDelay' XtNrepeatDelay, ^~~~~~~~~~~~~~ ../include/X11/Xaw/List.h:111:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCSpacing "Spacing" ^~~~~~~~~ List.c:224:5: note: in expansion of macro 'XtCSpacing' XtCSpacing, ^~~~~~~~~~ ../include/X11/Xaw/Repeater.h:57:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCDelay "Delay" ^~~~~~~ Repeater.c:116:5: note: in expansion of macro 'XtCDelay' XtCDelay, ^~~~~~~~ ../include/X11/Xaw/List.h:124:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNrowSpacing "rowSpacing" ^~~~~~~~~~~~ List.c:232:5: note: in expansion of macro 'XtNrowSpacing' XtNrowSpacing, ^~~~~~~~~~~~~ ../include/X11/Xaw/Repeater.h:61:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNflash "flash" ^~~~~~~ Repeater.c:124:5: note: in expansion of macro 'XtNflash' XtNflash, ^~~~~~~~ ../include/X11/Xaw/List.h:111:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCSpacing "Spacing" ^~~~~~~~~ List.c:233:5: note: in expansion of macro 'XtCSpacing' XtCSpacing, ^~~~~~~~~~ Converters.c: In function '_XawCvtCARD32ToString': Converters.c:350:36: warning: passing argument 2 of 'TypeToStringNoArgsWarning' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] TypeToStringNoArgsWarning(dpy, "CARD32"); ^~~~~~~~ Converters.c:231:48: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' TypeToStringNoArgsWarning(Display *dpy, String type) ~~~~~~~^~~~ ../include/X11/Xaw/Repeater.h:62:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNstartCallback "startCallback" ^~~~~~~~~~~~~~~ Repeater.c:133:5: note: in expansion of macro 'XtNstartCallback' XtNstartCallback, ^~~~~~~~~~~~~~~~ ../include/X11/Xaw/Repeater.h:63:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCStartCallback "StartCallback" ^~~~~~~~~~~~~~~ Repeater.c:134:5: note: in expansion of macro 'XtCStartCallback' XtCStartCallback, ^~~~~~~~~~~~~~~~ ../include/X11/Xaw/List.h:126:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNshowCurrent "showCurrent" ^~~~~~~~~~~~~ List.c:251:5: note: in expansion of macro 'XtNshowCurrent' XtNshowCurrent, ^~~~~~~~~~~~~~ ../include/X11/Xaw/Repeater.h:64:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNstopCallback "stopCallback" ^~~~~~~~~~~~~~ Repeater.c:142:5: note: in expansion of macro 'XtNstopCallback' XtNstopCallback, ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Repeater.h:65:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCStopCallback "StopCallback" ^~~~~~~~~~~~~~ Repeater.c:143:5: note: in expansion of macro 'XtCStopCallback' XtCStopCallback, ^~~~~~~~~~~~~~~ List.c:264:8: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"Notify", Notify}, ^~~~~~~~ List.c:265:8: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"Set", Set}, ^~~~~ Repeater.c:158:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Repeater", /* class_name */ ^~~~~~~~~~ List.c:266:8: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"Unset", Unset}, ^~~~~~~ List.c:274:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "List", /* class_name */ ^~~~~~ Converters.c: In function '_XawCvtAtomToString': Converters.c:401:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] static char *nullatom = "NULL"; ^~~~~~ In file included from Converters.c:35: Converters.c: In function '_XawCvtDisplayListToString': ../include/X11/Xaw/Simple.h:101:25: warning: passing argument 2 of 'TypeToStringNoArgsWarning' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XawRDisplayList "XawDisplayList" ^~~~~~~~~~~~~~~~ Converters.c:577:36: note: in expansion of macro 'XawRDisplayList' TypeToStringNoArgsWarning(dpy, XawRDisplayList); ^~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw/PanedP.h:61, from Paned.c:68: ../include/X11/Xaw/Paned.h:126:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNinternalBorderColor "internalBorderColor" ^~~~~~~~~~~~~~~~~~~~~ Paned.c:181:5: note: in expansion of macro 'XtNinternalBorderColor' XtNinternalBorderColor, ^~~~~~~~~~~~~~~~~~~~~~ Converters.c:231:48: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' TypeToStringNoArgsWarning(Display *dpy, String type) ~~~~~~~^~~~ DisplayList.c: At top level: ../include/X11/Xaw/Paned.h:127:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNinternalBorderWidth "internalBorderWidth" ^~~~~~~~~~~~~~~~~~~~~ Paned.c:190:5: note: in expansion of macro 'XtNinternalBorderWidth' XtNinternalBorderWidth, ^~~~~~~~~~~~~~~~~~~~~~ DisplayList.c:1518:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"arc-mode", DlArcMode, ARCMODE}, ^~~~~~~~~~ DisplayList.c:1519:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"background", DlBackground, GCBG}, ^~~~~~~~~~~~ DisplayList.c:1520:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"bg", DlBackground, GCBG}, ^~~~ ../include/X11/Xaw/Paned.h:124:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNgripIndent "gripIndent" ^~~~~~~~~~~~ Paned.c:199:5: note: in expansion of macro 'XtNgripIndent' XtNgripIndent, ^~~~~~~~~~~~~ ../include/X11/Xaw/Paned.h:142:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCGripIndent "GripIndent" ^~~~~~~~~~~~ Paned.c:200:5: note: in expansion of macro 'XtCGripIndent' XtCGripIndent, ^~~~~~~~~~~~~ DisplayList.c:1521:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"cap-style", DlCapStyle, CAPSTYLE}, ^~~~~~~~~~~ ../include/X11/Xaw/Paned.h:130:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNrefigureMode "refigureMode" ^~~~~~~~~~~~~~ Paned.c:208:5: note: in expansion of macro 'XtNrefigureMode' XtNrefigureMode, ^~~~~~~~~~~~~~~ DisplayList.c:1522:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"clip-mask", DlClipMask, CLIPMASK}, ^~~~~~~~~~~ DisplayList.c:1523:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"clip-origin", DlClipOrigin, CLIPORIGIN}, ^~~~~~~~~~~~~ In file included from Paned.c:67: ../include/X11/Xaw/Grip.h:80:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNgripTranslations "gripTranslations" ^~~~~~~~~~~~~~~~~~ Paned.c:217:5: note: in expansion of macro 'XtNgripTranslations' XtNgripTranslations, ^~~~~~~~~~~~~~~~~~~ DisplayList.c:1524:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"clip-rectangles", DlClipRectangles, CLIPRECTS}, ^~~~~~~~~~~~~~~~~ DisplayList.c:1525:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"clip-rects", DlClipRectangles, CLIPRECTS}, ^~~~~~~~~~~~ Converters.c: In function '_XawCvtPixmapToString': Converters.c:673:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] buffer = "None"; ^ DisplayList.c:1526:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"coord-mode", DlCoordMode, COORDMODE}, ^~~~~~~~~~~~ Converters.c:676:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] buffer = "ParentRelative"; ^ In file included from ../include/X11/Xaw/Grip.h:56, from Paned.c:67: ../include/X11/Xaw/Simple.h:77:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNcursor "cursor" ^~~~~~~~ Paned.c:235:5: note: in expansion of macro 'XtNcursor' XtNcursor, ^~~~~~~~~ DisplayList.c:1527:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"copy-area", DlCopyArea, COPYAREA}, ^~~~~~~~~~~ Converters.c:679:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] buffer = "XtUnspecifiedPixmap"; ^ DisplayList.c:1528:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"copy-plane", DlCopyPlane, COPYPLANE}, ^~~~~~~~~~~~ In file included from ../include/X11/Xaw/PanedP.h:61, from Paned.c:68: ../include/X11/Xaw/Paned.h:123:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNgripCursor "gripCursor" ^~~~~~~~~~~~ Paned.c:244:5: note: in expansion of macro 'XtNgripCursor' XtNgripCursor, ^~~~~~~~~~~~~ DisplayList.c:1529:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"dashes", DlDashes, DASHES}, ^~~~~~~~ ../include/X11/Xaw/Paned.h:140:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNverticalGripCursor "verticalGripCursor" ^~~~~~~~~~~~~~~~~~~~ Paned.c:253:5: note: in expansion of macro 'XtNverticalGripCursor' XtNverticalGripCursor, ^~~~~~~~~~~~~~~~~~~~~ DisplayList.c:1530:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"draw-arc", DlDrawArc, DARC}, ^~~~~~~~~~ Paned.c:259:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "sb_v_double_arrow" ^~~~~~~~~~~~~~~~~~~ CC libXaw7_la-TextSrc.lo CC libXaw7_la-TextAction.lo CC libXaw7_la-TextPop.lo In file included from ../include/X11/Xaw/PanedP.h:61, from Paned.c:68: ../include/X11/Xaw/Paned.h:125:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNhorizontalGripCursor "horizontalGripCursor" ^~~~~~~~~~~~~~~~~~~~~~ Paned.c:262:5: note: in expansion of macro 'XtNhorizontalGripCursor' XtNhorizontalGripCursor, ^~~~~~~~~~~~~~~~~~~~~~~ DisplayList.c:1531:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"draw-line", DlLine, LINE}, ^~~~~~~~~~~ Paned.c:268:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "sb_h_double_arrow" ^~~~~~~~~~~~~~~~~~~ DisplayList.c:1532:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"draw-lines", DlDrawLines, DLINES}, ^~~~~~~~~~~~ In file included from ../include/X11/Xaw/PanedP.h:61, from Paned.c:68: ../include/X11/Xaw/Paned.h:120:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbetweenCursor "betweenCursor" ^~~~~~~~~~~~~~~ Paned.c:271:5: note: in expansion of macro 'XtNbetweenCursor' XtNbetweenCursor, ^~~~~~~~~~~~~~~~ DisplayList.c:1533:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"draw-point", DlDrawPoint, POINT}, ^~~~~~~~~~~~ ../include/X11/Xaw/Paned.h:121:34: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNverticalBetweenCursor "verticalBetweenCursor" ^~~~~~~~~~~~~~~~~~~~~~~ Paned.c:280:5: note: in expansion of macro 'XtNverticalBetweenCursor' XtNverticalBetweenCursor, ^~~~~~~~~~~~~~~~~~~~~~~~ DisplayList.c:1534:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"draw-points", DlDrawPoints, POINTS}, ^~~~~~~~~~~~~ Paned.c:286:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "sb_left_arrow" ^~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw/PanedP.h:61, from Paned.c:68: ../include/X11/Xaw/Paned.h:122:36: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNhorizontalBetweenCursor "horizontalBetweenCursor" ^~~~~~~~~~~~~~~~~~~~~~~~~ Paned.c:289:5: note: in expansion of macro 'XtNhorizontalBetweenCursor' XtNhorizontalBetweenCursor, ^~~~~~~~~~~~~~~~~~~~~~~~~~ DisplayList.c:1535:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"draw-rect", DlDrawRectangle, DRECT}, ^~~~~~~~~~~ Paned.c:295:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "sb_up_arrow" ^~~~~~~~~~~~~ DisplayList.c:1536:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"draw-rectangle", DlDrawRectangle, DRECT}, ^~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw/PanedP.h:61, from Paned.c:68: ../include/X11/Xaw/Paned.h:139:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNupperCursor "upperCursor" ^~~~~~~~~~~~~ Paned.c:298:5: note: in expansion of macro 'XtNupperCursor' XtNupperCursor, ^~~~~~~~~~~~~~ DisplayList.c:1537:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"draw-segments", DlDrawSegments, SEGMENTS}, ^~~~~~~~~~~~~~~ Paned.c:304:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "sb_up_arrow" ^~~~~~~~~~~~~ DisplayList.c:1538:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"draw-string", DlDrawString, DSTRING}, ^~~~~~~~~~~~~ In file included from ../include/X11/Xaw/PanedP.h:61, from Paned.c:68: ../include/X11/Xaw/Paned.h:129:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNlowerCursor "lowerCursor" ^~~~~~~~~~~~~ Paned.c:307:5: note: in expansion of macro 'XtNlowerCursor' XtNlowerCursor, ^~~~~~~~~~~~~~ DisplayList.c:1539:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"exposures", DlExposures, EXPOSURES}, ^~~~~~~~~~~ Paned.c:313:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "sb_down_arrow" ^~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw/PanedP.h:61, from Paned.c:68: ../include/X11/Xaw/Paned.h:128:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNleftCursor "leftCursor" ^~~~~~~~~~~~ Paned.c:316:5: note: in expansion of macro 'XtNleftCursor' XtNleftCursor, ^~~~~~~~~~~~~ DisplayList.c:1540:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"fg", DlForeground, GCFG}, ^~~~ Paned.c:322:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "sb_left_arrow" ^~~~~~~~~~~~~~~ DisplayList.c:1541:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"fill-arc", DlFillArc, FARC}, ^~~~~~~~~~ In file included from ../include/X11/Xaw/PanedP.h:61, from Paned.c:68: ../include/X11/Xaw/Paned.h:136:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNrightCursor "rightCursor" ^~~~~~~~~~~~~ Paned.c:325:5: note: in expansion of macro 'XtNrightCursor' XtNrightCursor, ^~~~~~~~~~~~~~ DisplayList.c:1542:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"fill-poly", DlFillPolygon, FPOLY}, ^~~~~~~~~~~ Paned.c:331:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "sb_right_arrow" ^~~~~~~~~~~~~~~~ DisplayList.c:1543:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"fill-polygon", DlFillPolygon, FPOLY}, ^~~~~~~~~~~~~~ In file included from ../include/X11/Xaw/PanedP.h:61, from Paned.c:68: ../include/X11/Xaw/Paned.h:119:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNallowResize "allowResize" ^~~~~~~~~~~~~ Paned.c:339:5: note: in expansion of macro 'XtNallowResize' XtNallowResize, ^~~~~~~~~~~~~~ DisplayList.c:1544:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"fill-rect", DlFillRectangle, FRECT}, ^~~~~~~~~~~ ../include/X11/Xaw/Paned.h:131:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNposition "position" ^~~~~~~~~~ Paned.c:348:5: note: in expansion of macro 'XtNposition' XtNposition, ^~~~~~~~~~~ DisplayList.c:1545:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"fill-rectangle", DlFillRectangle, FRECT}, ^~~~~~~~~~~~~~~~ DisplayList.c:1546:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"fill-rule", DlFillRule, FILLRULE}, ^~~~~~~~~~~ ../include/X11/Xaw/Paned.h:132:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNmin "min" ^~~~~ Paned.c:357:5: note: in expansion of macro 'XtNmin' XtNmin, ^~~~~~ ../include/X11/Xaw/Paned.h:143:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCMin "Min" ^~~~~ Paned.c:358:5: note: in expansion of macro 'XtCMin' XtCMin, ^~~~~~ DisplayList.c:1547:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"fill-style", DlFillStyle, FILLSTYLE}, ^~~~~~~~~~~~ ../include/X11/Xaw/Paned.h:133:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNmax "max" ^~~~~ Paned.c:366:5: note: in expansion of macro 'XtNmax' XtNmax, ^~~~~~ DisplayList.c:1548:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"font", DlFont, FONT}, ^~~~~~ ../include/X11/Xaw/Paned.h:144:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCMax "Max" ^~~~~ Paned.c:367:5: note: in expansion of macro 'XtCMax' XtCMax, ^~~~~~ DisplayList.c:1549:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"foreground", DlForeground, GCFG}, ^~~~~~~~~~~~ ../include/X11/Xaw/Paned.h:134:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNpreferredPaneSize "preferredPaneSize" ^~~~~~~~~~~~~~~~~~~ Paned.c:375:5: note: in expansion of macro 'XtNpreferredPaneSize' XtNpreferredPaneSize, ^~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Paned.h:145:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCPreferredPaneSize "PreferredPaneSize" ^~~~~~~~~~~~~~~~~~~ Paned.c:376:5: note: in expansion of macro 'XtCPreferredPaneSize' XtCPreferredPaneSize, ^~~~~~~~~~~~~~~~~~~~ DisplayList.c:1550:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"function", DlFunction, FUNCTION}, ^~~~~~~~~~ ../include/X11/Xaw/Paned.h:135:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNresizeToPreferred "resizeToPreferred" ^~~~~~~~~~~~~~~~~~~ Paned.c:384:5: note: in expansion of macro 'XtNresizeToPreferred' XtNresizeToPreferred, ^~~~~~~~~~~~~~~~~~~~ DisplayList.c:1551:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"image", DlImage, IMAGE}, ^~~~~~~ ../include/X11/Xaw/Paned.h:138:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNskipAdjust "skipAdjust" ^~~~~~~~~~~~ Paned.c:393:5: note: in expansion of macro 'XtNskipAdjust' XtNskipAdjust, ^~~~~~~~~~~~~ DisplayList.c:1552:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"join-style", DlJoinStyle, JOINSTYLE}, ^~~~~~~~~~~~ DisplayList.c:1553:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"line", DlLine, LINE}, ^~~~~~ ../include/X11/Xaw/Paned.h:137:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNshowGrip "showGrip" ^~~~~~~~~~ Paned.c:402:5: note: in expansion of macro 'XtNshowGrip' XtNshowGrip, ^~~~~~~~~~~ ../include/X11/Xaw/Paned.h:146:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCShowGrip "ShowGrip" ^~~~~~~~~~ Paned.c:403:5: note: in expansion of macro 'XtCShowGrip' XtCShowGrip, ^~~~~~~~~~~ DisplayList.c:1554:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"line-style", DlLineStyle, LINESTYLE}, ^~~~~~~~~~~~ DisplayList.c:1555:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"line-width", DlLineWidth, LWIDTH}, ^~~~~~~~~~~~ Paned.c:419:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Paned", /* class name */ ^~~~~~~ DisplayList.c:1556:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"lines", DlDrawLines, DLINES}, ^~~~~~~ DisplayList.c:1557:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"mask", DlMask, MASK}, ^~~~~~ DisplayList.c:1558:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"paint-string", DlPaintString, PSTRING}, ^~~~~~~~~~~~~~ DisplayList.c:1559:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"plane-mask", DlPlaneMask, PLANEMASK}, ^~~~~~~~~~~~ DisplayList.c:1560:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"point", DlDrawPoint, POINT}, ^~~~~~~ DisplayList.c:1561:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"points", DlDrawPoints, POINTS}, ^~~~~~~~ DisplayList.c:1562:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"segments", DlDrawSegments, SEGMENTS}, ^~~~~~~~~~ DisplayList.c:1563:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"shape-mode", DlShapeMode, SHAPEMODE}, ^~~~~~~~~~~~ DisplayList.c:1564:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"stipple", DlStipple, STIPPLE}, ^~~~~~~~~ DisplayList.c:1565:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"subwindow-mode", DlSubwindowMode, SUBWMODE}, ^~~~~~~~~~~~~~~~ DisplayList.c:1566:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"tile", DlTile, TILE}, ^~~~~~ DisplayList.c:1567:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"ts-origin", DlTSOrigin, TSORIGIN}, ^~~~~~~~~~~ DisplayList.c:1568:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"umask", DlUmask, UMASK}, ^~~~~~~ AsciiSink.c: In function 'AsciiDoPaint': AsciiSink.c:985:13: warning: declaration of 'rect' shadows a previous local [-Wshadow] XRectangle rect; ^~~~ AsciiSink.c:749:16: note: shadowed declaration is here XRectangle rect; ^~~~ TextSink.c:103:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtDefaultForeground ^~~~~~~~~~~~~~~~~~~ TextSink.c:112:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtDefaultBackground ^~~~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw/Text.h:163, from ../include/X11/Xaw/TextP.h:53, from TextSink.c:46: ../include/X11/Xaw/TextSink.h:80:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNcursorColor "cursorColor" ^~~~~~~~~~~~~ TextSink.c:116:5: note: in expansion of macro 'XtNcursorColor' XtNcursorColor, ^~~~~~~~~~~~~~ TextSink.c:122:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtDefaultForeground ^~~~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw/Text.h:163, from ../include/X11/Xaw/TextP.h:53, from TextSink.c:46: ../include/X11/Xaw/TextSink.h:83:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XawNtextProperties "textProperties" ^~~~~~~~~~~~~~~~ TextSink.c:125:5: note: in expansion of macro 'XawNtextProperties' XawNtextProperties, ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/TextSink.h:84:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XawCTextProperties "TextProperties" ^~~~~~~~~~~~~~~~ TextSink.c:126:5: note: in expansion of macro 'XawCTextProperties' XawCTextProperties, ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/TextSink.h:85:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XawRTextProperties "XawTextProperties" ^~~~~~~~~~~~~~~~~~~ TextSink.c:127:5: note: in expansion of macro 'XawRTextProperties' XawRTextProperties, ^~~~~~~~~~~~~~~~~~ DisplayList.c: In function '_Xaw_Xlib_ArgsInitProc': TextSink.c:157:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "TextSink", /* class_name */ ^~~~~~~~~~ DisplayList.c:1752:11: warning: cast from function call of type 'long int' to non-matching type 'void *' [-Wbad-function-cast] retval = (void *)read_int(params[0], NULL); ^ List.c: In function 'XawListShowCurrent': List.c:1265:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ret_val->string = ""; ^ In file included from ../include/X11/Xaw/DialogP.h:51, from Dialog.c:59: ../include/X11/Xaw/Dialog.h:74:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNicon "icon" ^~~~~~ Dialog.c:110:5: note: in expansion of macro 'XtNicon' XtNicon, ^~~~~~~ ../include/X11/Xaw/Dialog.h:73:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCIcon "Icon" ^~~~~~ Dialog.c:111:5: note: in expansion of macro 'XtCIcon' XtCIcon, ^~~~~~~ DisplayList.c:1897:11: warning: cast from function call of type 'long int' to non-matching type 'void *' [-Wbad-function-cast] retval = (void *)read_int(params[0], NULL); ^ Dialog.c:124:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Dialog", /* class_name */ ^~~~~~~~ DisplayList.c:1915:11: warning: cast from function call of type 'Font' {aka 'long unsigned int'} to non-matching type 'void *' [-Wbad-function-cast] retval = (void *)XLoadFont(DisplayOfScreen(screen), params[0]); ^ Dialog.c: In function 'XawDialogInitialize': Dialog.c:199:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(arglist[arg_cnt], XtNleft, XtChainLeft); arg_cnt++; ^~~~~~~~ Dialog.c:203:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(arglist[arg_cnt], XtNright, XtChainLeft); arg_cnt++; ^~~~~~~~ Dialog.c:207:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(arglist[arg_cnt], XtNfromHoriz, dw->dialog.iconW); arg_cnt++; ^~~~~~~~ Dialog.c:213:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(arglist[arg_cnt], XtNright, XtChainRight); arg_cnt++; ^~~~~~~~ DisplayList.c:1943:15: warning: cast from function call of type 'long int' to non-matching type 'void *' [-Wbad-function-cast] retval = (void *)read_int(params[0], NULL); ^ Paned.c: In function 'HandleGrip': Paned.c:1226:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(arglist[0], XtNcursor, &cursor); ^~~~~~~~ Dialog.c: In function 'XawDialogSetValues': Dialog.c:295:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[2], XtNleft, XtChainLeft); ^~~~~~~~ Dialog.c:296:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[3], XtNright, XtChainLeft); ^~~~~~~~ Paned.c: In function 'CreateGrip': Paned.c:1347:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(arglist[num_args], XtNcursor, cursor); ^~~~~~~~ Dialog.c: In function 'CreateDialogValueWidget': Dialog.c:398:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(arglist[num_args], XtNresizable, True); num_args++; ^~~~~~~~ Dialog.c:400:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(arglist[num_args], XtNfromVert, dw->dialog.labelW); num_args++; ^~~~~~~~ Dialog.c:401:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(arglist[num_args], XtNleft, XtChainLeft); num_args++; ^~~~~~~~ Dialog.c:402:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(arglist[num_args], XtNright, XtChainRight); num_args++; ^~~~~~~~ Paned.c: In function 'ChangeAllGripCursors': Paned.c:1466:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(arglist[0], XtNcursor, cursor); ^~~~~~~~ TextSink.c: In function '_XawTextSinkAddProperty': TextSink.c:1214:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] static char *asterisk = "*", *null = ""; ^~~ TextSink.c:1214:42: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] static char *asterisk = "*", *null = ""; ^~ TextSink.c: In function 'XawTextSinkConvertPropertyList': TextSink.c:1569:38: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if ((argval = XawFindArgVal(params, "font")) != NULL && ^~~~~~ In file included from TextSink.c:49: Private.h:142:12: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' XawArgVal *XawFindArgVal(XawParams *params, String name); ^~~~~~~~~~~~~ TextSink.c:1589:38: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if ((argval = XawFindArgVal(params, "foreground")) != NULL && ^~~~~~~~~~~~ In file included from TextSink.c:49: Private.h:142:12: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' XawArgVal *XawFindArgVal(XawParams *params, String name); ^~~~~~~~~~~~~ Label.c:103:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtDefaultForeground ^~~~~~~~~~~~~~~~~~~ TextSink.c:1606:38: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if ((argval = XawFindArgVal(params, "background")) != NULL && ^~~~~~~~~~~~ In file included from TextSink.c:49: Private.h:142:12: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' XawArgVal *XawFindArgVal(XawParams *params, String name); ^~~~~~~~~~~~~ Label.c:112:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtDefaultFont ^~~~~~~~~~~~~ Label.c:121:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtDefaultFontSet ^~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw/LabelP.h:54, from Label.c:58: ../include/X11/Xaw/Label.h:94:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNencoding "encoding" ^~~~~~~~~~ Label.c:133:5: note: in expansion of macro 'XtNencoding' XtNencoding, ^~~~~~~~~~~ ../include/X11/Xaw/Label.h:95:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCEncoding "Encoding" ^~~~~~~~~~ Label.c:134:5: note: in expansion of macro 'XtCEncoding' XtCEncoding, ^~~~~~~~~~~ TextSink.c:1625:28: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (XawFindArgVal(params, "underline")) ^~~~~~~~~~~ In file included from TextSink.c:49: Private.h:142:12: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' XawArgVal *XawFindArgVal(XawParams *params, String name); ^~~~~~~~~~~~~ ../include/X11/Xaw/Label.h:92:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNleftBitmap "leftBitmap" ^~~~~~~~~~~~ Label.c:169:5: note: in expansion of macro 'XtNleftBitmap' XtNleftBitmap, ^~~~~~~~~~~~~ ../include/X11/Xaw/Label.h:93:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCLeftBitmap "LeftBitmap" ^~~~~~~~~~~~ Label.c:170:5: note: in expansion of macro 'XtCLeftBitmap' XtCLeftBitmap, ^~~~~~~~~~~~~ TextSink.c:1627:28: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (XawFindArgVal(params, "overstrike")) ^~~~~~~~~~~~ In file included from TextSink.c:49: Private.h:142:12: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' XawArgVal *XawFindArgVal(XawParams *params, String name); ^~~~~~~~~~~~~ ../include/X11/Xaw/Label.h:118:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNlabelX "labelX" ^~~~~~~~ Label.c:196:5: note: in expansion of macro 'XtNlabelX' XtNlabelX, ^~~~~~~~~ TextSink.c:1630:28: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (XawFindArgVal(params, "subscript")) ^~~~~~~~~~~ In file included from TextSink.c:49: Private.h:142:12: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' XawArgVal *XawFindArgVal(XawParams *params, String name); ^~~~~~~~~~~~~ ../include/X11/Xaw/Label.h:122:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNlabelY "labelY" ^~~~~~~~ Label.c:205:5: note: in expansion of macro 'XtNlabelY' XtNlabelY, ^~~~~~~~~ TextSink.c:1632:33: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] else if (XawFindArgVal(params, "superscript")) ^~~~~~~~~~~~~ In file included from TextSink.c:49: Private.h:142:12: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' XawArgVal *XawFindArgVal(XawParams *params, String name); ^~~~~~~~~~~~~ Label.c:221:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Label", /* class_name */ ^~~~~~~ TextSink.c:1636:38: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if ((argval = XawFindArgVal(params, "foundry")) != NULL && ^~~~~~~~~ In file included from TextSink.c:49: Private.h:142:12: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' XawArgVal *XawFindArgVal(XawParams *params, String name); ^~~~~~~~~~~~~ TextSink.c:1641:38: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if ((argval = XawFindArgVal(params, "family")) != NULL && ^~~~~~~~ In file included from TextSink.c:49: Private.h:142:12: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' XawArgVal *XawFindArgVal(XawParams *params, String name); ^~~~~~~~~~~~~ TextSink.c:1646:38: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if ((argval = XawFindArgVal(params, "weight")) != NULL && ^~~~~~~~ In file included from TextSink.c:49: Private.h:142:12: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' XawArgVal *XawFindArgVal(XawParams *params, String name); ^~~~~~~~~~~~~ TextSink.c:1651:38: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if ((argval = XawFindArgVal(params, "slant")) != NULL && ^~~~~~~ In file included from TextSink.c:49: Private.h:142:12: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' XawArgVal *XawFindArgVal(XawParams *params, String name); ^~~~~~~~~~~~~ TextSink.c:1656:38: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if ((argval = XawFindArgVal(params, "setwidth")) != NULL && ^~~~~~~~~~ In file included from TextSink.c:49: Private.h:142:12: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' XawArgVal *XawFindArgVal(XawParams *params, String name); ^~~~~~~~~~~~~ TextSink.c:1661:38: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if ((argval = XawFindArgVal(params, "addstyle")) != NULL && ^~~~~~~~~~ In file included from TextSink.c:49: Private.h:142:12: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' XawArgVal *XawFindArgVal(XawParams *params, String name); ^~~~~~~~~~~~~ TextSink.c:1666:38: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if ((argval = XawFindArgVal(params, "pixelsize")) != NULL && ^~~~~~~~~~~ In file included from TextSink.c:49: Private.h:142:12: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' XawArgVal *XawFindArgVal(XawParams *params, String name); ^~~~~~~~~~~~~ TextSink.c:1671:38: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if ((argval = XawFindArgVal(params, "pointsize")) != NULL && ^~~~~~~~~~~ In file included from TextSink.c:49: Private.h:142:12: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' XawArgVal *XawFindArgVal(XawParams *params, String name); ^~~~~~~~~~~~~ TextSink.c:1676:38: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if ((argval = XawFindArgVal(params, "resx")) != NULL && ^~~~~~ In file included from TextSink.c:49: Private.h:142:12: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' XawArgVal *XawFindArgVal(XawParams *params, String name); ^~~~~~~~~~~~~ TextSink.c:1681:38: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if ((argval = XawFindArgVal(params, "resy")) != NULL && ^~~~~~ In file included from TextSink.c:49: Private.h:142:12: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' XawArgVal *XawFindArgVal(XawParams *params, String name); ^~~~~~~~~~~~~ TextSink.c:1686:38: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if ((argval = XawFindArgVal(params, "spacing")) != NULL && ^~~~~~~~~ In file included from TextSink.c:49: Private.h:142:12: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' XawArgVal *XawFindArgVal(XawParams *params, String name); ^~~~~~~~~~~~~ TextSink.c:1691:38: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if ((argval = XawFindArgVal(params, "avgwidth")) != NULL && ^~~~~~~~~~ In file included from TextSink.c:49: Private.h:142:12: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' XawArgVal *XawFindArgVal(XawParams *params, String name); ^~~~~~~~~~~~~ TextSink.c:1696:38: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if ((argval = XawFindArgVal(params, "registry")) != NULL && ^~~~~~~~~~ In file included from TextSink.c:49: Private.h:142:12: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' XawArgVal *XawFindArgVal(XawParams *params, String name); ^~~~~~~~~~~~~ TextSink.c:1701:38: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if ((argval = XawFindArgVal(params, "encoding")) != NULL && ^~~~~~~~~~ In file included from TextSink.c:49: Private.h:142:12: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' XawArgVal *XawFindArgVal(XawParams *params, String name); ^~~~~~~~~~~~~ In file included from ../include/X11/Xaw/SimpleMenP.h:40, from SimpleMenu.c:43: ../include/X11/Xaw/SimpleMenu.h:92:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNlabelClass "labelClass" ^~~~~~~~~~~~ SimpleMenu.c:126:5: note: in expansion of macro 'XtNlabelClass' XtNlabelClass, ^~~~~~~~~~~~~ ../include/X11/Xaw/SimpleMenu.h:101:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCLabelClass "LabelClass" ^~~~~~~~~~~~ SimpleMenu.c:127:5: note: in expansion of macro 'XtCLabelClass' XtCLabelClass, ^~~~~~~~~~~~~ ../include/X11/Xaw/SimpleMenu.h:95:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNrowHeight "rowHeight" ^~~~~~~~~~~ SimpleMenu.c:137:5: note: in expansion of macro 'XtNrowHeight' XtNrowHeight, ^~~~~~~~~~~~ ../include/X11/Xaw/SimpleMenu.h:104:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCRowHeight "RowHeight" ^~~~~~~~~~~ SimpleMenu.c:138:5: note: in expansion of macro 'XtCRowHeight' XtCRowHeight, ^~~~~~~~~~~~ ../include/X11/Xaw/SimpleMenu.h:96:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNtopMargin "topMargin" ^~~~~~~~~~~ SimpleMenu.c:146:5: note: in expansion of macro 'XtNtopMargin' XtNtopMargin, ^~~~~~~~~~~~ ../include/X11/Xaw/SimpleMenu.h:106:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCVerticalMargins "VerticalMargins" ^~~~~~~~~~~~~~~~~ SimpleMenu.c:147:5: note: in expansion of macro 'XtCVerticalMargins' XtCVerticalMargins, ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/SimpleMenu.h:90:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbottomMargin "bottomMargin" ^~~~~~~~~~~~~~ SimpleMenu.c:155:5: note: in expansion of macro 'XtNbottomMargin' XtNbottomMargin, ^~~~~~~~~~~~~~~ ../include/X11/Xaw/SimpleMenu.h:106:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCVerticalMargins "VerticalMargins" ^~~~~~~~~~~~~~~~~ SimpleMenu.c:156:5: note: in expansion of macro 'XtCVerticalMargins' XtCVerticalMargins, ^~~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw/SmeBSBP.h:35, from SimpleMenu.c:44: ../include/X11/Xaw/SmeBSB.h:75:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNleftMargin "leftMargin" ^~~~~~~~~~~~ SimpleMenu.c:165:5: note: in expansion of macro 'XtNleftMargin' XtNleftMargin, ^~~~~~~~~~~~~ ../include/X11/Xaw/SmeBSB.h:92:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCHorizontalMargins "HorizontalMargins" ^~~~~~~~~~~~~~~~~~~ SimpleMenu.c:166:5: note: in expansion of macro 'XtCHorizontalMargins' XtCHorizontalMargins, ^~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/SmeBSB.h:77:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNrightMargin "rightMargin" ^~~~~~~~~~~~~ SimpleMenu.c:174:5: note: in expansion of macro 'XtNrightMargin' XtNrightMargin, ^~~~~~~~~~~~~~ ../include/X11/Xaw/SmeBSB.h:92:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCHorizontalMargins "HorizontalMargins" ^~~~~~~~~~~~~~~~~~~ SimpleMenu.c:175:5: note: in expansion of macro 'XtCHorizontalMargins' XtCHorizontalMargins, ^~~~~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw/CommandP.h:54, from Command.c:62: ../include/X11/Xaw/Command.h:98:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNhighlightThickness "highlightThickness" ^~~~~~~~~~~~~~~~~~~~ Command.c:124:5: note: in expansion of macro 'XtNhighlightThickness' XtNhighlightThickness, ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw/SimpleMenP.h:40, from SimpleMenu.c:43: ../include/X11/Xaw/SimpleMenu.h:89:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNcursor "cursor" ^~~~~~~~ SimpleMenu.c:195:5: note: in expansion of macro 'XtNcursor' XtNcursor, ^~~~~~~~~ ../include/X11/Xaw/Command.h:100:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNshapeStyle "shapeStyle" ^~~~~~~~~~~~ Command.c:133:5: note: in expansion of macro 'XtNshapeStyle' XtNshapeStyle, ^~~~~~~~~~~~~ ../include/X11/Xaw/Command.h:101:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCShapeStyle "ShapeStyle" ^~~~~~~~~~~~ Command.c:134:5: note: in expansion of macro 'XtCShapeStyle' XtCShapeStyle, ^~~~~~~~~~~~~ ../include/X11/Xaw/Command.h:102:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRShapeStyle "ShapeStyle" ^~~~~~~~~~~~ Command.c:135:5: note: in expansion of macro 'XtRShapeStyle' XtRShapeStyle, ^~~~~~~~~~~~~ ../include/X11/Xaw/SimpleMenu.h:93:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNmenuOnScreen "menuOnScreen" ^~~~~~~~~~~~~~ SimpleMenu.c:204:5: note: in expansion of macro 'XtNmenuOnScreen' XtNmenuOnScreen, ^~~~~~~~~~~~~~~ ../include/X11/Xaw/SimpleMenu.h:102:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCMenuOnScreen "MenuOnScreen" ^~~~~~~~~~~~~~ SimpleMenu.c:205:5: note: in expansion of macro 'XtCMenuOnScreen' XtCMenuOnScreen, ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Command.h:103:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNcornerRoundPercent "cornerRoundPercent" ^~~~~~~~~~~~~~~~~~~~ Command.c:142:5: note: in expansion of macro 'XtNcornerRoundPercent' XtNcornerRoundPercent, ^~~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Command.h:104:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCCornerRoundPercent "CornerRoundPercent" ^~~~~~~~~~~~~~~~~~~~ Command.c:143:5: note: in expansion of macro 'XtCCornerRoundPercent' XtCCornerRoundPercent, ^~~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/SimpleMenu.h:94:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNpopupOnEntry "popupOnEntry" ^~~~~~~~~~~~~~ SimpleMenu.c:213:5: note: in expansion of macro 'XtNpopupOnEntry' XtNpopupOnEntry, ^~~~~~~~~~~~~~~ Command.c:154:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"set", Set}, ^~~~~ Command.c:155:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"notify", Notify}, ^~~~~~~~ Command.c:156:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"highlight", Highlight}, ^~~~~~~~~~~ ../include/X11/Xaw/SimpleMenu.h:103:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCPopupOnEntry "PopupOnEntry" ^~~~~~~~~~~~~~ SimpleMenu.c:214:5: note: in expansion of macro 'XtCPopupOnEntry' XtCPopupOnEntry, ^~~~~~~~~~~~~~~ Command.c:157:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"reset", Reset}, ^~~~~~~ Command.c:158:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"unset", Unset}, ^~~~~~~ Command.c:159:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"unhighlight", Unhighlight} ^~~~~~~~~~~~~ SimpleMenu.c:222:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtNbackingStore, ^~~~~~~~~~~~~~~ SimpleMenu.c:223:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtCBackingStore, ^~~~~~~~~~~~~~~ SimpleMenu.c:224:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtRBackingStore, ^~~~~~~~~~~~~~~ Command.c:168:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Command", /* class_name */ ^~~~~~~~~ In file included from ../include/X11/Xaw/SimpleMenP.h:40, from SimpleMenu.c:43: ../include/X11/Xaw/SimpleMenu.h:110:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XawNdisplayList "displayList" ^~~~~~~~~~~~~ SimpleMenu.c:232:5: note: in expansion of macro 'XawNdisplayList' XawNdisplayList, ^~~~~~~~~~~~~~~ ../include/X11/Xaw/SimpleMenu.h:111:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XawCDisplayList "DisplayList" ^~~~~~~~~~~~~ SimpleMenu.c:233:5: note: in expansion of macro 'XawCDisplayList' XawCDisplayList, ^~~~~~~~~~~~~~~ ../include/X11/Xaw/SimpleMenu.h:112:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XawRDisplayList "XawDisplayList" ^~~~~~~~~~~~~~~~ SimpleMenu.c:234:5: note: in expansion of macro 'XawRDisplayList' XawRDisplayList, ^~~~~~~~~~~~~~~ SimpleMenu.c:257:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"notify", Notify}, ^~~~~~~~ SimpleMenu.c:258:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"highlight", Highlight}, ^~~~~~~~~~~ SimpleMenu.c:259:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"unhighlight", Unhighlight}, ^~~~~~~~~~~~~ SimpleMenu.c:261:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"popdown", Popdown}, ^~~~~~~~~ SimpleMenu.c:262:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"set-values", XawSetValuesAction}, ^~~~~~~~~~~~ SimpleMenu.c:263:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"get-values", XawGetValuesAction}, ^~~~~~~~~~~~ SimpleMenu.c:264:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"declare", XawDeclareAction}, ^~~~~~~~~ SimpleMenu.c:265:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"call-proc", XawCallProcAction}, ^~~~~~~~~~~ SimpleMenu.c:282:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "SimpleMenu", /* class_name */ ^~~~~~~~~~~~ AllWidgets.c:64:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "applicationShell", &applicationShellWidgetClass }, ^~~~~~~~~~~~~~~~~~ AllWidgets.c:65:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "asciiSink", &asciiSinkObjectClass }, ^~~~~~~~~~~ AllWidgets.c:66:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "asciiSrc", &asciiSrcObjectClass }, ^~~~~~~~~~ AllWidgets.c:67:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "asciiText", &asciiTextWidgetClass }, ^~~~~~~~~~~ AllWidgets.c:68:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "box", &boxWidgetClass }, ^~~~~ AllWidgets.c:69:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "command", &commandWidgetClass }, ^~~~~~~~~ AllWidgets.c:70:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "composite", &compositeWidgetClass }, ^~~~~~~~~~~ AllWidgets.c:71:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "constraint", &constraintWidgetClass }, ^~~~~~~~~~~~ AllWidgets.c:72:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "core", &coreWidgetClass }, ^~~~~~ AllWidgets.c:73:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "dialog", &dialogWidgetClass }, ^~~~~~~~ AllWidgets.c:74:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "form", &formWidgetClass }, ^~~~~~ AllWidgets.c:75:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "grip", &gripWidgetClass }, ^~~~~~ AllWidgets.c:76:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "label", &labelWidgetClass }, ^~~~~~~ AllWidgets.c:77:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "list", &listWidgetClass }, ^~~~~~ AllWidgets.c:78:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "menuButton", &menuButtonWidgetClass }, ^~~~~~~~~~~~ AllWidgets.c:79:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "multiSink", &multiSinkObjectClass }, ^~~~~~~~~~~ AllWidgets.c:80:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "multiSrc", &multiSrcObjectClass }, ^~~~~~~~~~ AllWidgets.c:81:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "object", &objectClass }, ^~~~~~~~ AllWidgets.c:82:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "overrideShell", &overrideShellWidgetClass }, ^~~~~~~~~~~~~~~ AllWidgets.c:83:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "paned", &panedWidgetClass }, ^~~~~~~ AllWidgets.c:84:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "panner", &pannerWidgetClass }, ^~~~~~~~ AllWidgets.c:85:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "porthole", &portholeWidgetClass }, ^~~~~~~~~~ AllWidgets.c:86:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "rect", &rectObjClass }, ^~~~~~ AllWidgets.c:87:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "repeater", &repeaterWidgetClass }, ^~~~~~~~~~ AllWidgets.c:88:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "scrollbar", &scrollbarWidgetClass }, ^~~~~~~~~~~ AllWidgets.c:89:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "shell", &shellWidgetClass }, ^~~~~~~ AllWidgets.c:90:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "simpleMenu", &simpleMenuWidgetClass }, ^~~~~~~~~~~~ AllWidgets.c:91:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "simple", &simpleWidgetClass }, ^~~~~~~~ AllWidgets.c:92:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "smeBSB", &smeBSBObjectClass }, ^~~~~~~~ AllWidgets.c:93:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "smeLine", &smeLineObjectClass }, ^~~~~~~~~ AllWidgets.c:94:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "sme", &smeObjectClass }, ^~~~~ AllWidgets.c:95:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "stripChart", &stripChartWidgetClass }, ^~~~~~~~~~~~ AllWidgets.c:96:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "textSink", &textSinkObjectClass }, ^~~~~~~~~~ AllWidgets.c:97:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "textSrc", &textSrcObjectClass }, ^~~~~~~~~ AllWidgets.c:98:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "text", &textWidgetClass }, ^~~~~~ AllWidgets.c:99:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "toggle", &toggleWidgetClass }, ^~~~~~~~ AllWidgets.c:100:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "topLevelShell", &topLevelShellWidgetClass }, ^~~~~~~~~~~~~~~ AllWidgets.c:101:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "transientShell", &transientShellWidgetClass }, ^~~~~~~~~~~~~~~~ AllWidgets.c:102:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "tree", &treeWidgetClass }, ^~~~~~ AllWidgets.c:103:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "vendorShell", &vendorShellWidgetClass }, ^~~~~~~~~~~~~ AllWidgets.c:104:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "viewport", &viewportWidgetClass }, ^~~~~~~~~~ AllWidgets.c:105:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "wmShell", &wmShellWidgetClass }, ^~~~~~~~~ Pixmap.c: In function 'XawPixmapsInitialize': Pixmap.c:99:28: warning: passing argument 1 of 'XawAddPixmapLoader' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] (void)XawAddPixmapLoader("bitmap", NULL, BitmapLoader); ^~~~~~~~ In file included from Pixmap.c:41: Private.h:137:25: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' Bool XawAddPixmapLoader(String, String, XawPixmapLoader); ^~~~~~ Pixmap.c:100:28: warning: passing argument 1 of 'XawAddPixmapLoader' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] (void)XawAddPixmapLoader("gradient", NULL, GradientLoader); ^~~~~~~~~~ In file included from Pixmap.c:41: Private.h:137:25: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' Bool XawAddPixmapLoader(String, String, XawPixmapLoader); ^~~~~~ Pixmap.c:101:28: warning: passing argument 1 of 'XawAddPixmapLoader' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] (void)XawAddPixmapLoader("xpm", "xpm", XPixmapLoader); ^~~~~ In file included from Pixmap.c:41: Private.h:137:25: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' Bool XawAddPixmapLoader(String, String, XawPixmapLoader); ^~~~~~ Pixmap.c:101:35: warning: passing argument 2 of 'XawAddPixmapLoader' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] (void)XawAddPixmapLoader("xpm", "xpm", XPixmapLoader); ^~~~~ In file included from Pixmap.c:41: Private.h:137:33: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' Bool XawAddPixmapLoader(String, String, XawPixmapLoader); ^~~~~~ Panner.c:119:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"start", ActionStart}, /* start tmp graphics */ ^~~~~~~ Panner.c:120:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"stop", ActionStop}, /* stop tmp graphics */ ^~~~~~ Panner.c:121:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"abort", ActionAbort}, /* punt */ ^~~~~~~ Panner.c:122:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"move", ActionMove}, /* move tmp graphics on Motion event */ ^~~~~~ Panner.c:123:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"page", ActionPage}, /* page around usually from keyboard */ ^~~~~~ Panner.c:124:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"notify", ActionNotify}, /* callback new position */ ^~~~~~~~ Panner.c:125:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"set", ActionSet}, /* set various parameters */ ^~~~~ In file included from ../include/X11/Xaw/PannerP.h:31, from Panner.c:39: ../include/X11/Xaw/Panner.h:71:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNallowOff "allowOff" ^~~~~~~~~~ Panner.c:131:7: note: in expansion of macro 'XtNallowOff' XtNallowOff, ^~~~~~~~~~~ ../include/X11/Xaw/Panner.h:72:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCAllowOff "AllowOff" ^~~~~~~~~~ Panner.c:132:7: note: in expansion of macro 'XtCAllowOff' XtCAllowOff, ^~~~~~~~~~~ In file included from ../include/X11/Xaw/Panner.h:32, from ../include/X11/Xaw/PannerP.h:31, from Panner.c:39: ../include/X11/Xaw/Reports.h:52:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNreportCallback "reportCallback" ^~~~~~~~~~~~~~~~ Panner.c:149:7: note: in expansion of macro 'XtNreportCallback' XtNreportCallback, ^~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Reports.h:53:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCReportCallback "reportCallback" ^~~~~~~~~~~~~~~~ Panner.c:150:7: note: in expansion of macro 'XtCReportCallback' XtCReportCallback, ^~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw/PannerP.h:31, from Panner.c:39: ../include/X11/Xaw/Panner.h:75:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNdefaultScale "defaultScale" ^~~~~~~~~~~~~~ Panner.c:158:7: note: in expansion of macro 'XtNdefaultScale' XtNdefaultScale, ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:76:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCDefaultScale "DefaultScale" ^~~~~~~~~~~~~~ Panner.c:159:7: note: in expansion of macro 'XtCDefaultScale' XtCDefaultScale, ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:85:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNrubberBand "rubberBand" ^~~~~~~~~~~~ Panner.c:167:7: note: in expansion of macro 'XtNrubberBand' XtNrubberBand, ^~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:86:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCRubberBand "RubberBand" ^~~~~~~~~~~~ Panner.c:168:7: note: in expansion of macro 'XtCRubberBand' XtCRubberBand, ^~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:81:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNinternalSpace "internalSpace" ^~~~~~~~~~~~~~~ Panner.c:185:7: note: in expansion of macro 'XtNinternalSpace' XtNinternalSpace, ^~~~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:82:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCInternalSpace "InternalSpace" ^~~~~~~~~~~~~~~ Panner.c:186:7: note: in expansion of macro 'XtCInternalSpace' XtCInternalSpace, ^~~~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:83:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNlineWidth "lineWidth" ^~~~~~~~~~~ Panner.c:194:7: note: in expansion of macro 'XtNlineWidth' XtNlineWidth, ^~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:84:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCLineWidth "LineWidth" ^~~~~~~~~~~ Panner.c:195:7: note: in expansion of macro 'XtCLineWidth' XtCLineWidth, ^~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:77:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNcanvasWidth "canvasWidth" ^~~~~~~~~~~~~ Panner.c:203:7: note: in expansion of macro 'XtNcanvasWidth' XtNcanvasWidth, ^~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:78:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCCanvasWidth "CanvasWidth" ^~~~~~~~~~~~~ Panner.c:204:7: note: in expansion of macro 'XtCCanvasWidth' XtCCanvasWidth, ^~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:79:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNcanvasHeight "canvasHeight" ^~~~~~~~~~~~~~ Panner.c:212:7: note: in expansion of macro 'XtNcanvasHeight' XtNcanvasHeight, ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:80:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCCanvasHeight "CanvasHeight" ^~~~~~~~~~~~~~ Panner.c:213:7: note: in expansion of macro 'XtCCanvasHeight' XtCCanvasHeight, ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:91:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNsliderX "sliderX" ^~~~~~~~~ Panner.c:221:7: note: in expansion of macro 'XtNsliderX' XtNsliderX, ^~~~~~~~~~ ../include/X11/Xaw/Panner.h:92:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCSliderX "SliderX" ^~~~~~~~~ Panner.c:222:7: note: in expansion of macro 'XtCSliderX' XtCSliderX, ^~~~~~~~~~ ../include/X11/Xaw/Panner.h:93:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNsliderY "sliderY" ^~~~~~~~~ Panner.c:230:7: note: in expansion of macro 'XtNsliderY' XtNsliderY, ^~~~~~~~~~ ../include/X11/Xaw/Panner.h:94:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCSliderY "SliderY" ^~~~~~~~~ Panner.c:231:7: note: in expansion of macro 'XtCSliderY' XtCSliderY, ^~~~~~~~~~ ../include/X11/Xaw/Panner.h:95:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNsliderWidth "sliderWidth" ^~~~~~~~~~~~~ Panner.c:239:7: note: in expansion of macro 'XtNsliderWidth' XtNsliderWidth, ^~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:96:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCSliderWidth "SliderWidth" ^~~~~~~~~~~~~ Panner.c:240:7: note: in expansion of macro 'XtCSliderWidth' XtCSliderWidth, ^~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:97:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNsliderHeight "sliderHeight" ^~~~~~~~~~~~~~ Panner.c:248:7: note: in expansion of macro 'XtNsliderHeight' XtNsliderHeight, ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:98:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCSliderHeight "SliderHeight" ^~~~~~~~~~~~~~ Panner.c:249:7: note: in expansion of macro 'XtCSliderHeight' XtCSliderHeight, ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:89:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNshadowColor "shadowColor" ^~~~~~~~~~~~~ Panner.c:257:7: note: in expansion of macro 'XtNshadowColor' XtNshadowColor, ^~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:90:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCShadowColor "ShadowColor" ^~~~~~~~~~~~~ Panner.c:258:7: note: in expansion of macro 'XtCShadowColor' XtCShadowColor, ^~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:87:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNshadowThickness "shadowThickness" ^~~~~~~~~~~~~~~~~ Panner.c:266:7: note: in expansion of macro 'XtNshadowThickness' XtNshadowThickness, ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:88:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCShadowThickness "ShadowThickness" ^~~~~~~~~~~~~~~~~ Panner.c:267:7: note: in expansion of macro 'XtCShadowThickness' XtCShadowThickness, ^~~~~~~~~~~~~~~~~~ MultiSink.c:143:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtDefaultFontSet ^~~~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:73:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbackgroundStipple "backgroundStipple" ^~~~~~~~~~~~~~~~~~~ Panner.c:275:7: note: in expansion of macro 'XtNbackgroundStipple' XtNbackgroundStipple, ^~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:74:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCBackgroundStipple "BackgroundStipple" ^~~~~~~~~~~~~~~~~~~ Panner.c:276:7: note: in expansion of macro 'XtCBackgroundStipple' XtCBackgroundStipple, ^~~~~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw/MultiSinkP.h:82, from MultiSink.c:79: ../include/X11/Xaw/MultiSink.h:94:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNecho "echo" ^~~~~~ MultiSink.c:146:5: note: in expansion of macro 'XtNecho' XtNecho, ^~~~~~~ ../include/X11/Xaw/MultiSink.h:91:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCOutput "Output" ^~~~~~~~ MultiSink.c:147:5: note: in expansion of macro 'XtCOutput' XtCOutput, ^~~~~~~~~ Panner.c:291:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Panner", /* class_name */ ^~~~~~~~ ../include/X11/Xaw/MultiSink.h:93:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNdisplayNonprinting "displayNonprinting" ^~~~~~~~~~~~~~~~~~~~ MultiSink.c:155:5: note: in expansion of macro 'XtNdisplayNonprinting' XtNdisplayNonprinting, ^~~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/MultiSink.h:91:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCOutput "Output" ^~~~~~~~ MultiSink.c:156:5: note: in expansion of macro 'XtCOutput' XtCOutput, ^~~~~~~~~ MultiSink.c:171:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "MultiSink", /* class_name */ ^~~~~~~~~~~ SimpleMenu.c: In function 'AddPositionAction': SimpleMenu.c:1286:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"XawPositionSimpleMenu", PositionMenuAction}, ^~~~~~~~~~~~~~~~~~~~~~~ Pixmap.c: In function 'GetResourcePixmapPath': Pixmap.c:667:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "%H/%T/%N:%P/include/X11/%T/%N:/usr/X11R6/include/X11/%T/%N:/usr/include/X11/%T/%N:%N"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Pixmap.c: In function 'BitmapLoader': Pixmap.c:718:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {'T', "bitmaps"}, ^~~~~~~~~ : warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] Pixmap.c:719:13: note: in expansion of macro 'PROJECT_ROOT' {'P', PROJECT_ROOT}, ^~~~~~~~~~~~ Pixmap.c:726:39: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if ((argval = XawFindArgVal(params, "foreground")) != NULL ^~~~~~~~~~~~ Pixmap.c:253:41: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' XawFindArgVal(XawParams *params, String name) ~~~~~~~^~~~ Pixmap.c:735:39: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if ((argval = XawFindArgVal(params, "background")) != NULL ^~~~~~~~~~~~ Pixmap.c:253:41: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' XawFindArgVal(XawParams *params, String name) ~~~~~~~^~~~ Pixmap.c: In function 'GradientLoader': Pixmap.c:806:39: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if ((argval = XawFindArgVal(params, "dimension")) != NULL ^~~~~~~~~~~ Pixmap.c:253:41: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' XawFindArgVal(XawParams *params, String name) ~~~~~~~^~~~ Pixmap.c:816:39: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if ((argval = XawFindArgVal(params, "steps")) != NULL ^~~~~~~ Pixmap.c:253:41: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' XawFindArgVal(XawParams *params, String name) ~~~~~~~^~~~ Pixmap.c:829:39: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if ((argval = XawFindArgVal(params, "start")) != NULL) ^~~~~~~ Pixmap.c:253:41: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' XawFindArgVal(XawParams *params, String name) ~~~~~~~^~~~ Pixmap.c:840:39: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if ((argval = XawFindArgVal(params, "end")) != NULL) ^~~~~ Pixmap.c:253:41: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' XawFindArgVal(XawParams *params, String name) ~~~~~~~^~~~ In file included from ../include/X11/Xaw/MultiSrcP.h:98, from AsciiSrc.c:47: ../include/X11/Xaw/MultiSrc.h:90:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNtype "type" ^~~~~~ AsciiSrc.c:128:5: note: in expansion of macro 'XtNtype' XtNtype, ^~~~~~~ ../include/X11/Xaw/MultiSrc.h:85:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCType "Type" ^~~~~~ AsciiSrc.c:129:5: note: in expansion of macro 'XtCType' XtCType, ^~~~~~~ In file included from ../include/X11/Xaw/Text.h:367, from ../include/X11/Xaw/TextSrc.h:51, from ../include/X11/Xaw/TextSrcP.h:56, from ../include/X11/Xaw/AsciiSrcP.h:65, from AsciiSrc.c:46: ../include/X11/Xaw/AsciiSrc.h:82:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRAsciiType "AsciiType" ^~~~~~~~~~~ AsciiSrc.c:130:5: note: in expansion of macro 'XtRAsciiType' XtRAsciiType, ^~~~~~~~~~~~ In file included from ../include/X11/Xaw/Text.h:51, from ../include/X11/Xaw/TextSink.h:51, from ../include/X11/Xaw/TextSinkP.h:54, from ../include/X11/Xaw/MultiSinkP.h:81, from Text.c:88: ../include/X11/Xaw/Simple.h:77:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNcursor "cursor" ^~~~~~~~ Text.c:289:5: note: in expansion of macro 'XtNcursor' XtNcursor, ^~~~~~~~~ In file included from ../include/X11/Xaw/MultiSrcP.h:98, from AsciiSrc.c:47: ../include/X11/Xaw/MultiSrc.h:88:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNdataCompression "dataCompression" ^~~~~~~~~~~~~~~~~ AsciiSrc.c:137:5: note: in expansion of macro 'XtNdataCompression' XtNdataCompression, ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/MultiSrc.h:83:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCDataCompression "DataCompression" ^~~~~~~~~~~~~~~~~ AsciiSrc.c:138:5: note: in expansion of macro 'XtCDataCompression' XtCDataCompression, ^~~~~~~~~~~~~~~~~~ Text.c:295:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "xterm" ^~~~~~~ ../include/X11/Xaw/MultiSrc.h:89:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNpieceSize "pieceSize" ^~~~~~~~~~~ AsciiSrc.c:146:5: note: in expansion of macro 'XtNpieceSize' XtNpieceSize, ^~~~~~~~~~~~ ../include/X11/Xaw/MultiSrc.h:84:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCPieceSize "PieceSize" ^~~~~~~~~~~ AsciiSrc.c:147:5: note: in expansion of macro 'XtCPieceSize' XtCPieceSize, ^~~~~~~~~~~~ In file included from ../include/X11/Xaw/TextSink.h:51, from ../include/X11/Xaw/TextSinkP.h:54, from ../include/X11/Xaw/MultiSinkP.h:81, from Text.c:88: ../include/X11/Xaw/Text.h:183:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNdisplayPosition "displayPosition" ^~~~~~~~~~~~~~~~~ Text.c:307:5: note: in expansion of macro 'XtNdisplayPosition' XtNdisplayPosition, ^~~~~~~~~~~~~~~~~~ Pixmap.c: In function 'XPixmapLoader': ../include/X11/Xaw/MultiSrc.h:91:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNuseStringInPlace "useStringInPlace" ^~~~~~~~~~~~~~~~~~ AsciiSrc.c:166:5: note: in expansion of macro 'XtNuseStringInPlace' XtNuseStringInPlace, ^~~~~~~~~~~~~~~~~~~ Pixmap.c:938:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {'T', "pixmaps"}, ^~~~~~~~~ ../include/X11/Xaw/MultiSrc.h:86:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCUseStringInPlace "UseStringInPlace" ^~~~~~~~~~~~~~~~~~ AsciiSrc.c:167:5: note: in expansion of macro 'XtCUseStringInPlace' XtCUseStringInPlace, ^~~~~~~~~~~~~~~~~~~ : warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] Pixmap.c:939:13: note: in expansion of macro 'PROJECT_ROOT' {'P', PROJECT_ROOT}, ^~~~~~~~~~~~ ../include/X11/Xaw/Text.h:184:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNleftMargin "leftMargin" ^~~~~~~~~~~~ Text.c:325:5: note: in expansion of macro 'XtNleftMargin' XtNleftMargin, ^~~~~~~~~~~~~ Pixmap.c:943:39: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if ((argval = XawFindArgVal(params, "closeness")) != NULL ^~~~~~~~~~~ Pixmap.c:253:41: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' XawFindArgVal(XawParams *params, String name) ~~~~~~~^~~~ ../include/X11/Xaw/Text.h:185:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNrightMargin "rightMargin" ^~~~~~~~~~~~~ Text.c:334:5: note: in expansion of macro 'XtNrightMargin' XtNrightMargin, ^~~~~~~~~~~~~~ AsciiSrc.c:203:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "AsciiSrc", /* class_name */ ^~~~~~~~~~ ../include/X11/Xaw/Text.h:190:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNtopMargin "topMargin" ^~~~~~~~~~~ Text.c:343:5: note: in expansion of macro 'XtNtopMargin' XtNtopMargin, ^~~~~~~~~~~~ ../include/X11/Xaw/Text.h:179:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbottomMargin "bottomMargin" ^~~~~~~~~~~~~~ Text.c:352:5: note: in expansion of macro 'XtNbottomMargin' XtNbottomMargin, ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Text.h:189:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNselectTypes "selectTypes" ^~~~~~~~~~~~~ Text.c:361:5: note: in expansion of macro 'XtNselectTypes' XtNselectTypes, ^~~~~~~~~~~~~~ ../include/X11/Xaw/Text.h:205:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCSelectTypes "SelectTypes" ^~~~~~~~~~~~~ Text.c:362:5: note: in expansion of macro 'XtCSelectTypes' XtCSelectTypes, ^~~~~~~~~~~~~~ ../include/X11/Xaw/Text.h:182:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNdisplayCaret "displayCaret" ^~~~~~~~~~~~~~ Text.c:388:5: note: in expansion of macro 'XtNdisplayCaret' XtNdisplayCaret, ^~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw/MultiSinkP.h:82, from Text.c:88: ../include/X11/Xaw/MultiSink.h:91:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCOutput "Output" ^~~~~~~~ Text.c:389:5: note: in expansion of macro 'XtCOutput' XtCOutput, ^~~~~~~~~ In file included from ../include/X11/Xaw/TextSink.h:51, from ../include/X11/Xaw/TextSinkP.h:54, from ../include/X11/Xaw/MultiSinkP.h:81, from Text.c:88: ../include/X11/Xaw/Text.h:187:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNscrollVertical "scrollVertical" ^~~~~~~~~~~~~~~~ Text.c:397:5: note: in expansion of macro 'XtNscrollVertical' XtNscrollVertical, ^~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Text.h:208:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCScroll "Scroll" ^~~~~~~~ Text.c:398:5: note: in expansion of macro 'XtCScroll' XtCScroll, ^~~~~~~~~ In file included from ../include/X11/Xaw/TextSinkP.h:55, from ../include/X11/Xaw/MultiSinkP.h:81, from Text.c:88: ../include/X11/Xaw/TextP.h:264:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRScrollMode "ScrollMode" ^~~~~~~~~~~~ Text.c:399:5: note: in expansion of macro 'XtRScrollMode' XtRScrollMode, ^~~~~~~~~~~~~ In file included from ../include/X11/Xaw/TextSink.h:51, from ../include/X11/Xaw/TextSinkP.h:54, from ../include/X11/Xaw/MultiSinkP.h:81, from Text.c:88: ../include/X11/Xaw/Text.h:188:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNscrollHorizontal "scrollHorizontal" ^~~~~~~~~~~~~~~~~~ Text.c:406:5: note: in expansion of macro 'XtNscrollHorizontal' XtNscrollHorizontal, ^~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Text.h:208:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCScroll "Scroll" ^~~~~~~~ Text.c:407:5: note: in expansion of macro 'XtCScroll' XtCScroll, ^~~~~~~~~ In file included from ../include/X11/Xaw/TextSinkP.h:55, from ../include/X11/Xaw/MultiSinkP.h:81, from Text.c:88: ../include/X11/Xaw/TextP.h:264:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRScrollMode "ScrollMode" ^~~~~~~~~~~~ Text.c:408:5: note: in expansion of macro 'XtRScrollMode' XtRScrollMode, ^~~~~~~~~~~~~ In file included from ../include/X11/Xaw/TextSink.h:51, from ../include/X11/Xaw/TextSinkP.h:54, from ../include/X11/Xaw/MultiSinkP.h:81, from Text.c:88: ../include/X11/Xaw/Text.h:191:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNwrap "wrap" ^~~~~~ Text.c:415:5: note: in expansion of macro 'XtNwrap' XtNwrap, ^~~~~~~ ../include/X11/Xaw/Text.h:206:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCWrap "Wrap" ^~~~~~ Text.c:416:5: note: in expansion of macro 'XtCWrap' XtCWrap, ^~~~~~~ In file included from ../include/X11/Xaw/TextSinkP.h:55, from ../include/X11/Xaw/MultiSinkP.h:81, from Text.c:88: ../include/X11/Xaw/TextP.h:263:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRWrapMode "WrapMode" ^~~~~~~~~~ Text.c:417:5: note: in expansion of macro 'XtRWrapMode' XtRWrapMode, ^~~~~~~~~~~ In file included from ../include/X11/Xaw/TextSink.h:51, from ../include/X11/Xaw/TextSinkP.h:54, from ../include/X11/Xaw/MultiSinkP.h:81, from Text.c:88: ../include/X11/Xaw/Text.h:178:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNautoFill "autoFill" ^~~~~~~~~~ Text.c:424:5: note: in expansion of macro 'XtNautoFill' XtNautoFill, ^~~~~~~~~~~ ../include/X11/Xaw/Text.h:204:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCAutoFill "AutoFill" ^~~~~~~~~~ Text.c:425:5: note: in expansion of macro 'XtCAutoFill' XtCAutoFill, ^~~~~~~~~~~ AsciiSrc.c: In function 'ReadText': AsciiSrc.c:392:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] text->ptr = ""; ^ ../include/X11/Xaw/Text.h:186:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNpositionCallback "positionCallback" ^~~~~~~~~~~~~~~~~~ Text.c:434:5: note: in expansion of macro 'XtNpositionCallback' XtNpositionCallback, ^~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Text.h:194:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNleftColumn "leftColumn" ^~~~~~~~~~~~ Text.c:443:5: note: in expansion of macro 'XtNleftColumn' XtNleftColumn, ^~~~~~~~~~~~~ ../include/X11/Xaw/Text.h:193:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCColumn "Column" ^~~~~~~~ Text.c:444:5: note: in expansion of macro 'XtCColumn' XtCColumn, ^~~~~~~~~ ../include/X11/Xaw/Text.h:195:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNrightColumn "rightColumn" ^~~~~~~~~~~~~ Text.c:452:5: note: in expansion of macro 'XtNrightColumn' XtNrightColumn, ^~~~~~~~~~~~~~ ../include/X11/Xaw/Text.h:193:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCColumn "Column" ^~~~~~~~ Text.c:453:5: note: in expansion of macro 'XtCColumn' XtCColumn, ^~~~~~~~~ In file included from ../include/X11/Xaw/TextSinkP.h:55, from ../include/X11/Xaw/MultiSinkP.h:81, from Text.c:88: ../include/X11/Xaw/TextP.h:266:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRJustifyMode "JustifyMode" ^~~~~~~~~~~~~ Text.c:463:5: note: in expansion of macro 'XtRJustifyMode' XtRJustifyMode, ^~~~~~~~~~~~~~ Text.c: In function 'CvtScrollModeToString': Text.c:519:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] buffer = XtEtextScrollNever; ^ Text.c:522:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] buffer = XtEtextScrollAlways; ^ In file included from ../include/X11/Xaw/TextSinkP.h:55, from ../include/X11/Xaw/MultiSinkP.h:81, from Text.c:88: ../include/X11/Xaw/TextP.h:264:23: warning: passing argument 2 of 'XawTypeToStringWarning' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRScrollMode "ScrollMode" ^~~~~~~~~~~~ Text.c:525:34: note: in expansion of macro 'XtRScrollMode' XawTypeToStringWarning(dpy, XtRScrollMode); ^~~~~~~~~~~~~ In file included from Text.c:95: Private.h:147:39: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' void XawTypeToStringWarning(Display*, String); ^~~~~~ Text.c: In function 'CvtWrapModeToString': Text.c:580:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] buffer = XtEtextWrapNever; ^ Text.c:583:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] buffer = XtEtextWrapLine; ^ Text.c:586:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] buffer = XtEtextWrapWord; ^ In file included from ../include/X11/Xaw/TextSinkP.h:55, from ../include/X11/Xaw/MultiSinkP.h:81, from Text.c:88: ../include/X11/Xaw/TextP.h:263:21: warning: passing argument 2 of 'XawTypeToStringWarning' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRWrapMode "WrapMode" ^~~~~~~~~~ Text.c:589:34: note: in expansion of macro 'XtRWrapMode' XawTypeToStringWarning(dpy, XtRWrapMode); ^~~~~~~~~~~ In file included from Text.c:95: Private.h:147:39: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' void XawTypeToStringWarning(Display*, String); ^~~~~~ Text.c: In function 'CvtJustifyModeToString': Text.c:652:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] buffer = XtEtextJustifyLeft; ^ Text.c:655:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] buffer = XtEtextJustifyRight; ^ Text.c:658:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] buffer = XtEtextJustifyCenter; ^ Text.c:661:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] buffer = XtEtextJustifyFull; ^ In file included from ../include/X11/Xaw/TextSinkP.h:55, from ../include/X11/Xaw/MultiSinkP.h:81, from Text.c:88: ../include/X11/Xaw/TextP.h:266:24: warning: passing argument 2 of 'XawTypeToStringWarning' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRJustifyMode "JustifyMode" ^~~~~~~~~~~~~ Text.c:664:34: note: in expansion of macro 'XtRJustifyMode' XawTypeToStringWarning(dpy, XtRJustifyMode); ^~~~~~~~~~~~~~ In file included from Text.c:95: Private.h:147:39: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' void XawTypeToStringWarning(Display*, String); ^~~~~~ In file included from ../include/X11/Xaw/SmeBSBP.h:35, from SmeBSB.c:45: ../include/X11/Xaw/SmeBSB.h:78:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNvertSpace "vertSpace" ^~~~~~~~~~~ SmeBSB.c:88:5: note: in expansion of macro 'XtNvertSpace' XtNvertSpace, ^~~~~~~~~~~~ ../include/X11/Xaw/SmeBSB.h:94:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCVertSpace "VertSpace" ^~~~~~~~~~~ SmeBSB.c:89:5: note: in expansion of macro 'XtCVertSpace' XtCVertSpace, ^~~~~~~~~~~~ ../include/X11/Xaw/SmeBSB.h:74:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNleftBitmap "leftBitmap" ^~~~~~~~~~~~ SmeBSB.c:97:5: note: in expansion of macro 'XtNleftBitmap' XtNleftBitmap, ^~~~~~~~~~~~~ ../include/X11/Xaw/SmeBSB.h:91:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCLeftBitmap "LeftBitmap" ^~~~~~~~~~~~ SmeBSB.c:98:5: note: in expansion of macro 'XtCLeftBitmap' XtCLeftBitmap, ^~~~~~~~~~~~~ ../include/X11/Xaw/SmeBSB.h:76:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNrightBitmap "rightBitmap" ^~~~~~~~~~~~~ SmeBSB.c:115:5: note: in expansion of macro 'XtNrightBitmap' XtNrightBitmap, ^~~~~~~~~~~~~~ ../include/X11/Xaw/SmeBSB.h:93:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCRightBitmap "RightBitmap" ^~~~~~~~~~~~~ SmeBSB.c:116:5: note: in expansion of macro 'XtCRightBitmap' XtCRightBitmap, ^~~~~~~~~~~~~~ ../include/X11/Xaw/SmeBSB.h:75:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNleftMargin "leftMargin" ^~~~~~~~~~~~ SmeBSB.c:124:5: note: in expansion of macro 'XtNleftMargin' XtNleftMargin, ^~~~~~~~~~~~~ ../include/X11/Xaw/SmeBSB.h:92:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCHorizontalMargins "HorizontalMargins" ^~~~~~~~~~~~~~~~~~~ SmeBSB.c:125:5: note: in expansion of macro 'XtCHorizontalMargins' XtCHorizontalMargins, ^~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/SmeBSB.h:77:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNrightMargin "rightMargin" ^~~~~~~~~~~~~ SmeBSB.c:133:5: note: in expansion of macro 'XtNrightMargin' XtNrightMargin, ^~~~~~~~~~~~~~ ../include/X11/Xaw/SmeBSB.h:92:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCHorizontalMargins "HorizontalMargins" ^~~~~~~~~~~~~~~~~~~ SmeBSB.c:134:5: note: in expansion of macro 'XtCHorizontalMargins' XtCHorizontalMargins, ^~~~~~~~~~~~~~~~~~~~ SmeBSB.c:148:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtDefaultForeground ^~~~~~~~~~~~~~~~~~~ Panner.c: In function 'ActionSet': SmeBSB.c:157:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtDefaultFont ^~~~~~~~~~~~~ Panner.c:1076:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[0], XtNrubberBand, rb); ^~~~~~~~ SmeBSB.c:166:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtDefaultFontSet ^~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw/SmeBSBP.h:35, from SmeBSB.c:45: ../include/X11/Xaw/SmeBSB.h:80:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNmenuName "menuName" ^~~~~~~~~~ SmeBSB.c:170:5: note: in expansion of macro 'XtNmenuName' XtNmenuName, ^~~~~~~~~~~ ../include/X11/Xaw/SmeBSB.h:81:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCMenuName "MenuName" ^~~~~~~~~~ SmeBSB.c:171:5: note: in expansion of macro 'XtCMenuName' XtCMenuName, ^~~~~~~~~~~ SmeBSB.c:187:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "SmeBSB", /* class_name */ ^~~~~~~~ In file included from ../include/X11/Xaw/MultiSrcP.h:98, from MultiSrc.c:69: ../include/X11/Xaw/MultiSrc.h:90:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNtype "type" ^~~~~~ MultiSrc.c:134:5: note: in expansion of macro 'XtNtype' XtNtype, ^~~~~~~ ../include/X11/Xaw/MultiSrc.h:85:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCType "Type" ^~~~~~ MultiSrc.c:135:5: note: in expansion of macro 'XtCType' XtCType, ^~~~~~~ ../include/X11/Xaw/MultiSrc.h:93:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRMultiType "MultiType" ^~~~~~~~~~~ MultiSrc.c:136:5: note: in expansion of macro 'XtRMultiType' XtRMultiType, ^~~~~~~~~~~~ ../include/X11/Xaw/MultiSrc.h:88:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNdataCompression "dataCompression" ^~~~~~~~~~~~~~~~~ MultiSrc.c:143:5: note: in expansion of macro 'XtNdataCompression' XtNdataCompression, ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/MultiSrc.h:83:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCDataCompression "DataCompression" ^~~~~~~~~~~~~~~~~ MultiSrc.c:144:5: note: in expansion of macro 'XtCDataCompression' XtCDataCompression, ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/MultiSrc.h:89:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNpieceSize "pieceSize" ^~~~~~~~~~~ MultiSrc.c:152:5: note: in expansion of macro 'XtNpieceSize' XtNpieceSize, ^~~~~~~~~~~~ ../include/X11/Xaw/MultiSrc.h:84:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCPieceSize "PieceSize" ^~~~~~~~~~~ MultiSrc.c:153:5: note: in expansion of macro 'XtCPieceSize' XtCPieceSize, ^~~~~~~~~~~~ ../include/X11/Xaw/MultiSrc.h:91:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNuseStringInPlace "useStringInPlace" ^~~~~~~~~~~~~~~~~~ MultiSrc.c:172:5: note: in expansion of macro 'XtNuseStringInPlace' XtNuseStringInPlace, ^~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/MultiSrc.h:86:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCUseStringInPlace "UseStringInPlace" ^~~~~~~~~~~~~~~~~~ MultiSrc.c:173:5: note: in expansion of macro 'XtCUseStringInPlace' XtCUseStringInPlace, ^~~~~~~~~~~~~~~~~~~ MultiSrc.c:197:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "MultiSrc", /* class_name */ ^~~~~~~~~~ In file included from ../include/X11/Xaw/SmeP.h:45, from Sme.c:40: ../include/X11/Xaw/Sme.h:62:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNinternational "international" ^~~~~~~~~~~~~~~ Sme.c:70:5: note: in expansion of macro 'XtNinternational' XtNinternational, ^~~~~~~~~~~~~~~~ ../include/X11/Xaw/Sme.h:58:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCInternational "International" ^~~~~~~~~~~~~~~ Sme.c:71:5: note: in expansion of macro 'XtCInternational' XtCInternational, ^~~~~~~~~~~~~~~~ Sme.c:86:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Sme", /* class_name */ ^~~~~ AsciiSrc.c: In function 'InitStringOrFile': AsciiSrc.c:1452:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] src->ascii_src.string = "*ascii-src*"; ^ AsciiSrc.c: In function 'CvtAsciiTypeToString': AsciiSrc.c:1745:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] buffer = XtEfile; ^ AsciiSrc.c:1748:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] buffer = XtEstring; ^ In file included from ../include/X11/Xaw/Text.h:367, from ../include/X11/Xaw/TextSrc.h:51, from ../include/X11/Xaw/TextSrcP.h:56, from ../include/X11/Xaw/AsciiSrcP.h:65, from AsciiSrc.c:46: ../include/X11/Xaw/AsciiSrc.h:82:22: warning: passing argument 2 of 'XawTypeToStringWarning' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRAsciiType "AsciiType" ^~~~~~~~~~~ AsciiSrc.c:1751:34: note: in expansion of macro 'XtRAsciiType' XawTypeToStringWarning(dpy, XtRAsciiType); ^~~~~~~~~~~~ In file included from AsciiSrc.c:52: Private.h:147:39: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' void XawTypeToStringWarning(Display*, String); ^~~~~~ MultiSrc.c: In function 'InitStringOrFile': MultiSrc.c:1221:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] src->multi_src.string = "*multi-src*"; ^ MultiSrc.c: In function 'CvtMultiTypeToString': MultiSrc.c:1574:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] buffer = XtEfile; ^ MultiSrc.c:1577:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] buffer = XtEstring; ^ In file included from ../include/X11/Xaw/Text.h:367, from ../include/X11/Xaw/TextSrc.h:51, from ../include/X11/Xaw/TextSrcP.h:56, from ../include/X11/Xaw/MultiSrcP.h:97, from MultiSrc.c:69: ../include/X11/Xaw/AsciiSrc.h:82:22: warning: passing argument 2 of 'XawTypeToStringWarning' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRAsciiType "AsciiType" ^~~~~~~~~~~ MultiSrc.c:1580:34: note: in expansion of macro 'XtRAsciiType' XawTypeToStringWarning(dpy, XtRAsciiType); ^~~~~~~~~~~~ In file included from MultiSrc.c:72: Private.h:147:39: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' void XawTypeToStringWarning(Display*, String); ^~~~~~ CC libXaw7_la-TextTr.lo CC libXaw7_la-Toggle.lo CC libXaw7_la-Tree.lo CC libXaw7_la-Vendor.lo CC libXaw7_la-Viewport.lo CC libXaw7_la-XawIm.lo In file included from ../include/X11/Xaw/StripCharP.h:51, from StripChart.c:55: ../include/X11/Xaw/StripChart.h:107:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNminScale "minScale" ^~~~~~~~~~ StripChart.c:114:5: note: in expansion of macro 'XtNminScale' XtNminScale, ^~~~~~~~~~~ ../include/X11/Xaw/StripChart.h:103:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCScale "Scale" ^~~~~~~ StripChart.c:115:5: note: in expansion of macro 'XtCScale' XtCScale, ^~~~~~~~ StripChart.c:129:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtDefaultForeground ^~~~~~~~~~~~~~~~~~~ StripChart.c:138:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtDefaultForeground ^~~~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw/StripCharP.h:51, from StripChart.c:55: ../include/X11/Xaw/StripChart.h:105:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNgetValue "getValue" ^~~~~~~~~~ StripChart.c:141:5: note: in expansion of macro 'XtNgetValue' XtNgetValue, ^~~~~~~~~~~ ../include/X11/Xaw/StripChart.h:106:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNjumpScroll "jumpScroll" ^~~~~~~~~~~~ StripChart.c:150:5: note: in expansion of macro 'XtNjumpScroll' XtNjumpScroll, ^~~~~~~~~~~~~ ../include/X11/Xaw/StripChart.h:102:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCJumpScroll "JumpScroll" ^~~~~~~~~~~~ StripChart.c:151:5: note: in expansion of macro 'XtCJumpScroll' XtCJumpScroll, ^~~~~~~~~~~~~ StripChart.c:165:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "StripChart", /* class_name */ ^~~~~~~~~~~~ StripChart.c: In function 'repaint_window': StripChart.c:385:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (w->strip_chart.interval != 0 || scale <= w->strip_chart.max_value) ^~ StripChart.c:387:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (scale < w->strip_chart.min_scale) ^~ Text.c: In function '_XawTextSetSelection': Text.c:3149:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] static String defaultSel = "PRIMARY"; ^~~~~~~~~ Text.c: At top level: Text.c:4114:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Text", /* class_name */ ^~~~~~ Simple.c:86:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"set-values", XawSetValuesAction}, ^~~~~~~~~~~~ Simple.c:87:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"get-values", XawGetValuesAction}, ^~~~~~~~~~~~ Simple.c:88:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"declare", XawDeclareAction}, ^~~~~~~~~ Simple.c:89:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"call-proc", XawCallProcAction}, ^~~~~~~~~~~ In file included from ../include/X11/Xaw/SimpleP.h:53, from Simple.c:55: ../include/X11/Xaw/Simple.h:77:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNcursor "cursor" ^~~~~~~~ Simple.c:96:5: note: in expansion of macro 'XtNcursor' XtNcursor, ^~~~~~~~~ ../include/X11/Xaw/Simple.h:79:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNinsensitiveBorder "insensitiveBorder" ^~~~~~~~~~~~~~~~~~~ Simple.c:105:5: note: in expansion of macro 'XtNinsensitiveBorder' XtNinsensitiveBorder, ^~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Simple.h:81:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCInsensitive "Insensitive" ^~~~~~~~~~~~~ Simple.c:106:5: note: in expansion of macro 'XtCInsensitive' XtCInsensitive, ^~~~~~~~~~~~~~ Simple.c:114:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtNpointerColor, ^~~~~~~~~~~~~~~ Simple.c:120:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtDefaultForeground ^~~~~~~~~~~~~~~~~~~ Simple.c:123:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtNpointerColorBackground, ^~~~~~~~~~~~~~~~~~~~~~~~~ Simple.c:129:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtDefaultBackground ^~~~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw/SimpleP.h:53, from Simple.c:55: ../include/X11/Xaw/Simple.h:78:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNcursorName "cursorName" ^~~~~~~~~~~~ Simple.c:132:5: note: in expansion of macro 'XtNcursorName' XtNcursorName, ^~~~~~~~~~~~~ ../include/X11/Xaw/Simple.h:88:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNinternational "international" ^~~~~~~~~~~~~~~ Simple.c:141:5: note: in expansion of macro 'XtNinternational' XtNinternational, ^~~~~~~~~~~~~~~~ ../include/X11/Xaw/Simple.h:84:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCInternational "International" ^~~~~~~~~~~~~~~ Simple.c:142:5: note: in expansion of macro 'XtCInternational' XtCInternational, ^~~~~~~~~~~~~~~~ In file included from Simple.c:59: ../include/X11/Xaw/Tip.h:69:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XawNdisplayList "displayList" ^~~~~~~~~~~~~ Simple.c:151:5: note: in expansion of macro 'XawNdisplayList' XawNdisplayList, ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Tip.h:77:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XawCDisplayList "DisplayList" ^~~~~~~~~~~~~ Simple.c:152:5: note: in expansion of macro 'XawCDisplayList' XawCDisplayList, ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Tip.h:83:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XawRDisplayList "XawDisplayList" ^~~~~~~~~~~~~~~~ Simple.c:153:5: note: in expansion of macro 'XawRDisplayList' XawRDisplayList, ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Tip.h:75:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNtip "tip" ^~~~~ Simple.c:160:5: note: in expansion of macro 'XtNtip' XtNtip, ^~~~~~ ../include/X11/Xaw/Tip.h:81:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCTip "Tip" ^~~~~ Simple.c:161:5: note: in expansion of macro 'XtCTip' XtCTip, ^~~~~~ Simple.c:176:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Simple", /* class_name */ ^~~~~~~~ In file included from ../include/X11/Xaw/Porthole.h:32, from ../include/X11/Xaw/PortholeP.h:31, from Porthole.c:37: ../include/X11/Xaw/Reports.h:52:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNreportCallback "reportCallback" ^~~~~~~~~~~~~~~~ Porthole.c:66:5: note: in expansion of macro 'XtNreportCallback' XtNreportCallback, ^~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Reports.h:53:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCReportCallback "reportCallback" ^~~~~~~~~~~~~~~~ Porthole.c:67:5: note: in expansion of macro 'XtCReportCallback' XtCReportCallback, ^~~~~~~~~~~~~~~~~ Porthole.c:82:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Porthole", /* class_name */ ^~~~~~~~~~ CC libXaw7_la-XawInit.lo CC libXaw7_la-XawI18n.lo CC libXaw7_la-Tip.lo In file included from ../include/X11/Xaw/TreeP.h:53, from Tree.c:57: ../include/X11/Xaw/Tree.h:92:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNautoReconfigure "autoReconfigure" ^~~~~~~~~~~~~~~~~ Tree.c:103:7: note: in expansion of macro 'XtNautoReconfigure' { XtNautoReconfigure, XtCAutoReconfigure, XtRBoolean, sizeof (Boolean), ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Tree.h:99:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCAutoReconfigure "AutoReconfigure" ^~~~~~~~~~~~~~~~~ Tree.c:103:27: note: in expansion of macro 'XtCAutoReconfigure' { XtNautoReconfigure, XtCAutoReconfigure, XtRBoolean, sizeof (Boolean), ^~~~~~~~~~~~~~~~~~ Tree.c:112:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtDefaultForeground}, ^~~~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw/TreeP.h:53, from Tree.c:57: ../include/X11/Xaw/Tree.h:93:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNlineWidth "lineWidth" ^~~~~~~~~~~ Tree.c:113:7: note: in expansion of macro 'XtNlineWidth' { XtNlineWidth, XtCLineWidth, XtRDimension, sizeof (Dimension), ^~~~~~~~~~~~ ../include/X11/Xaw/Tree.h:100:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCLineWidth "LineWidth" ^~~~~~~~~~~ Tree.c:113:21: note: in expansion of macro 'XtCLineWidth' { XtNlineWidth, XtCLineWidth, XtRDimension, sizeof (Dimension), ^~~~~~~~~~~~ ../include/X11/Xaw/Tree.h:96:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNgravity "gravity" ^~~~~~~~~ Tree.c:115:7: note: in expansion of macro 'XtNgravity' { XtNgravity, XtCGravity, XtRGravity, sizeof (XtGravity), ^~~~~~~~~~ ../include/X11/Xaw/Tree.h:103:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCGravity "Gravity" ^~~~~~~~~ Tree.c:115:19: note: in expansion of macro 'XtCGravity' { XtNgravity, XtCGravity, XtRGravity, sizeof (XtGravity), ^~~~~~~~~~ ../include/X11/Xaw/Tree.h:109:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XawNdisplayList "displayList" ^~~~~~~~~~~~~ Tree.c:119:7: note: in expansion of macro 'XawNdisplayList' { XawNdisplayList, XawCDisplayList, XawRDisplayList, sizeof(XawDisplayList*), ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Tree.h:113:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XawCDisplayList "DisplayList" ^~~~~~~~~~~~~ Tree.c:119:24: note: in expansion of macro 'XawCDisplayList' { XawNdisplayList, XawCDisplayList, XawRDisplayList, sizeof(XawDisplayList*), ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Tree.h:117:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XawRDisplayList "XawDisplayList" ^~~~~~~~~~~~~~~~ Tree.c:119:41: note: in expansion of macro 'XawRDisplayList' { XawNdisplayList, XawCDisplayList, XawRDisplayList, sizeof(XawDisplayList*), ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Tree.h:95:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNtreeParent "treeParent" ^~~~~~~~~~~~ Tree.c:130:7: note: in expansion of macro 'XtNtreeParent' { XtNtreeParent, XtCTreeParent, XtRWidget, sizeof (Widget), ^~~~~~~~~~~~~ ../include/X11/Xaw/Tree.h:102:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCTreeParent "TreeParent" ^~~~~~~~~~~~ Tree.c:130:22: note: in expansion of macro 'XtCTreeParent' { XtNtreeParent, XtCTreeParent, XtRWidget, sizeof (Widget), ^~~~~~~~~~~~~ ../include/X11/Xaw/Tree.h:94:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNtreeGC "treeGC" ^~~~~~~~ Tree.c:132:7: note: in expansion of macro 'XtNtreeGC' { XtNtreeGC, XtCTreeGC, XtRGC, sizeof(GC), ^~~~~~~~~ ../include/X11/Xaw/Tree.h:101:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCTreeGC "TreeGC" ^~~~~~~~ Tree.c:132:18: note: in expansion of macro 'XtCTreeGC' { XtNtreeGC, XtCTreeGC, XtRGC, sizeof(GC), ^~~~~~~~~ ../include/X11/Xaw/Tree.h:105:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRGC "GC" ^~~~ Tree.c:132:29: note: in expansion of macro 'XtRGC' { XtNtreeGC, XtCTreeGC, XtRGC, sizeof(GC), ^~~~~ Tree.c:141:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Tree", /* class_name */ ^~~~~~ TextSrc.c:146:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "read" ^~~~~~ In file included from ../include/X11/Xaw/TextSrcP.h:56, from TextSrc.c:43: ../include/X11/Xaw/TextSrc.h:102:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNsourceChanged "sourceChanged" ^~~~~~~~~~~~~~~ TextSrc.c:159:5: note: in expansion of macro 'XtNsourceChanged' XtNsourceChanged, ^~~~~~~~~~~~~~~~ ../include/X11/Xaw/TextSrc.h:103:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCChanged "Changed" ^~~~~~~~~ TextSrc.c:160:5: note: in expansion of macro 'XtCChanged' XtCChanged, ^~~~~~~~~~ ../include/X11/Xaw/TextSrc.h:99:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNenableUndo "enableUndo" ^~~~~~~~~~~~ TextSrc.c:168:5: note: in expansion of macro 'XtNenableUndo' XtNenableUndo, ^~~~~~~~~~~~~ ../include/X11/Xaw/TextSrc.h:100:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCUndo "Undo" ^~~~~~ TextSrc.c:169:5: note: in expansion of macro 'XtCUndo' XtCUndo, ^~~~~~~ ../include/X11/Xaw/TextSrc.h:105:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNpropertyCallback "propertyCallback" ^~~~~~~~~~~~~~~~~~ TextSrc.c:177:5: note: in expansion of macro 'XtNpropertyCallback' XtNpropertyCallback, ^~~~~~~~~~~~~~~~~~~ TextSrc.c:194:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "TextSrc", /* class_name */ ^~~~~~~~~ TextSrc.c:241:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] static char *SrcNL = "\n"; ^~~~ In file included from ../include/X11/Xaw/ToggleP.h:39, from Toggle.c:44: ../include/X11/Xaw/Toggle.h:94:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNstate "state" ^~~~~~~ Toggle.c:87:5: note: in expansion of macro 'XtNstate' XtNstate, ^~~~~~~~ ../include/X11/Xaw/Toggle.h:86:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCState "State" ^~~~~~~ Toggle.c:88:5: note: in expansion of macro 'XtCState' XtCState, ^~~~~~~~ Toggle.c:93:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "off" ^~~~~ In file included from ../include/X11/Xaw/ToggleP.h:39, from Toggle.c:44: ../include/X11/Xaw/Toggle.h:95:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNradioGroup "radioGroup" ^~~~~~~~~~~~ Toggle.c:96:5: note: in expansion of macro 'XtNradioGroup' XtNradioGroup, ^~~~~~~~~~~~~ ../include/X11/Xaw/Toggle.h:85:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCWidget "Widget" ^~~~~~~~ Toggle.c:97:5: note: in expansion of macro 'XtCWidget' XtCWidget, ^~~~~~~~~ ../include/X11/Xaw/Toggle.h:96:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNradioData "radioData" ^~~~~~~~~~~ Toggle.c:105:5: note: in expansion of macro 'XtNradioData' XtNradioData, ^~~~~~~~~~~~ ../include/X11/Xaw/Toggle.h:88:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCRadioData "RadioData" ^~~~~~~~~~~ Toggle.c:106:5: note: in expansion of macro 'XtCRadioData' XtCRadioData, ^~~~~~~~~~~~ TextAction.c: In function 'MovePage': Toggle.c:117:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"toggle", Toggle}, ^~~~~~~~ TextAction.c:838:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (ctx->text.lt.top != 0) ^~ Toggle.c:118:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"notify", Notify}, ^~~~~~~~ Toggle.c:119:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"set", ToggleSet}, ^~~~~ TextAction.c:840:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ Toggle.c:127:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Toggle", /* class_name */ ^~~~~~~~ TextAction.c: In function '_DeleteOrKill': TextAction.c:1333:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] text.ptr = ""; ^ TextAction.c: In function 'StripSpaces': TextAction.c:1603:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] text.ptr = " "; ^ TextAction.c:1640:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] text.ptr = ""; ^ TextAction.c: In function 'Tabify': TextAction.c:1720:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] text.ptr = "\t"; ^ Vendor.c:152:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "VendorShell", ^~~~~~~~~~~~~ In file included from ../include/X11/Xaw/VendorEP.h:56, from Vendor.c:72: ../include/X11/Xaw/XawImP.h:56:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNinputMethod "inputMethod" ^~~~~~~~~~~~~ Vendor.c:210:4: note: in expansion of macro 'XtNinputMethod' {XtNinputMethod, XtCInputMethod, XtRString, sizeof(String), ^~~~~~~~~~~~~~ ../include/X11/Xaw/XawImP.h:57:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCInputMethod "InputMethod" ^~~~~~~~~~~~~ Vendor.c:210:20: note: in expansion of macro 'XtCInputMethod' {XtNinputMethod, XtCInputMethod, XtRString, sizeof(String), ^~~~~~~~~~~~~~ ../include/X11/Xaw/XawImP.h:58:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNpreeditType "preeditType" ^~~~~~~~~~~~~ Vendor.c:213:4: note: in expansion of macro 'XtNpreeditType' {XtNpreeditType, XtCPreeditType, XtRString, sizeof(String), ^~~~~~~~~~~~~~ ../include/X11/Xaw/XawImP.h:59:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCPreeditType "PreeditType" ^~~~~~~~~~~~~ Vendor.c:213:20: note: in expansion of macro 'XtCPreeditType' {XtNpreeditType, XtCPreeditType, XtRString, sizeof(String), ^~~~~~~~~~~~~~ ../include/X11/Xaw/XawImP.h:60:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNopenIm "openIm" ^~~~~~~~ Vendor.c:216:4: note: in expansion of macro 'XtNopenIm' {XtNopenIm, XtCOpenIm, XtRBoolean, sizeof(Boolean), ^~~~~~~~~ ../include/X11/Xaw/XawImP.h:61:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCOpenIm "OpenIm" ^~~~~~~~ Vendor.c:216:15: note: in expansion of macro 'XtCOpenIm' {XtNopenIm, XtCOpenIm, XtRBoolean, sizeof(Boolean), ^~~~~~~~~ ../include/X11/Xaw/XawImP.h:62:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNsharedIc "sharedIc" ^~~~~~~~~~ Vendor.c:219:4: note: in expansion of macro 'XtNsharedIc' {XtNsharedIc, XtCSharedIc, XtRBoolean, sizeof(Boolean), ^~~~~~~~~~~ ../include/X11/Xaw/XawImP.h:63:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCSharedIc "SharedIc" ^~~~~~~~~~ Vendor.c:219:17: note: in expansion of macro 'XtCSharedIc' {XtNsharedIc, XtCSharedIc, XtRBoolean, sizeof(Boolean), ^~~~~~~~~~~ Vendor.c:228:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "VendorShellExt", ^~~~~~~~~~~~~~~~ TextAction.c: In function 'Untabify': TextAction.c:1862:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] static char *tabs = " "; ^~~~~~~~~~ TextAction.c: In function 'DoFormatText': TextAction.c:2185:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] text.ptr = "\n"; ^ TextAction.c: In function 'Indent': TextAction.c:2336:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] text.ptr = ""; ^ TextPop.c:64:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] static char* INSERT_FILE = "Enter Filename:"; ^~~~~~~~~~~~~~~~~ TextPop.c:65:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] static char* SEARCH_LABEL_1 = "Use to change fields."; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:66:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] static char* SEARCH_LABEL_2 = "Use ^q for ."; ^~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:67:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] static char* DISMISS_NAME = "cancel"; ^~~~~~~~ TextPop.c:69:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] static char* FORM_NAME = "form"; ^~~~~~ TextPop.c:70:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] static char* LABEL_NAME = "label"; ^~~~~~~ TextPop.c:71:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] static char* TEXT_NAME = "text"; ^~~~~~ TextPop.c: In function '_XawTextInsertFile': TextPop.c:213:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ptr = ""; ^ TextPop.c:218:47: warning: passing argument 3 of 'CreateDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ctx->text.file_insert = CreateDialog(w, ptr, "insertFile", ^~~~~~~~~~~~ TextPop.c:84:44: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' static Widget CreateDialog(Widget, String, String, AddFunc); ^~~~~~ TextPop.c: In function 'AddInsertFileChildren': TextPop.c:361:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; ^~~~~~~~ TextPop.c:362:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; ^~~~~~~~ TextPop.c:363:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNresizable, True); num_args++; ^~~~~~~~ TextPop.c:369:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromVert, label); num_args++; ^~~~~~~~ TextPop.c:370:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; ^~~~~~~~ TextPop.c:371:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNright, XtChainRight); num_args++; ^~~~~~~~ TextPop.c:373:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNresizable, True); num_args++; ^~~~~~~~ TextPop.c:380:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromVert, text); num_args++; ^~~~~~~~ TextPop.c:381:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; ^~~~~~~~ TextPop.c:382:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; ^~~~~~~~ TextPop.c:388:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromVert, text); num_args++; ^~~~~~~~ TextPop.c:389:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromHoriz, insert); num_args++; ^~~~~~~~ TextPop.c:390:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; ^~~~~~~~ TextPop.c:391:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; ^~~~~~~~ TextPop.c: In function '_XawTextSearch': TextPop.c:554:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ptr = ""; ^ TextPop.c:575:56: warning: passing argument 3 of 'CreateDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ctx->text.search->search_popup = CreateDialog(w, ptr, "search", ^~~~~~~~ TextPop.c:84:44: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' static Widget CreateDialog(Widget, String, String, AddFunc); ^~~~~~ In file included from TextPop.c:61: TextPop.c: In function 'InitializeSearchWidget': TextAction.c: In function 'AutoFill': ../include/X11/Xaw/Toggle.h:94:18: warning: passing argument 2 of 'SetResource' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNstate "state" ^~~~~~~ TextPop.c:616:39: note: in expansion of macro 'XtNstate' SetResource(search->left_toggle, XtNstate, (XtArgVal)True); ^~~~~~~~ TextPop.c:100:33: note: expected 'char *' but argument is of type 'const char *' static void SetResource(Widget, char*, XtArgVal); ^~~~~ TextAction.c:3024:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] text.ptr = "\n"; ^ In file included from TextPop.c:61: ../include/X11/Xaw/Toggle.h:94:18: warning: passing argument 2 of 'SetResource' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNstate "state" ^~~~~~~ TextPop.c:619:40: note: in expansion of macro 'XtNstate' SetResource(search->right_toggle, XtNstate, (XtArgVal)True); ^~~~~~~~ TextPop.c:100:33: note: expected 'char *' but argument is of type 'const char *' static void SetResource(Widget, char*, XtArgVal); ^~~~~ TextPop.c: In function 'AddSearchChildren': TextPop.c:646:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; ^~~~~~~~ TextPop.c:647:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; ^~~~~~~~ TextPop.c:648:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNresizable, True); num_args++; ^~~~~~~~ TextPop.c:654:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromVert, search->label1); num_args++; ^~~~~~~~ TextPop.c:655:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; ^~~~~~~~ TextPop.c:656:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; ^~~~~~~~ TextPop.c:657:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNresizable, True); num_args++; ^~~~~~~~ TextPop.c:668:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromVert, search->label2); num_args++; ^~~~~~~~ TextPop.c:669:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; ^~~~~~~~ TextPop.c:670:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; ^~~~~~~~ TextPop.c:671:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNradioData, (XPointer)XawsdLeft + R_OFFSET); ^~~~~~~~ TextPop.c:678:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromVert, search->label2); num_args++; ^~~~~~~~ TextPop.c:679:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromHoriz, search->left_toggle); num_args++; ^~~~~~~~ TextPop.c:680:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; ^~~~~~~~ TextPop.c:681:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; ^~~~~~~~ TextPop.c:682:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNradioGroup, search->left_toggle); num_args++; ^~~~~~~~ TextPop.c:683:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNradioData, (XPointer)XawsdRight + R_OFFSET); ^~~~~~~~ TextPop.c:700:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromVert, search->label2); num_args++; ^~~~~~~~ TextPop.c:701:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromHoriz, search->right_toggle); num_args++; ^~~~~~~~ TextPop.c:702:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; ^~~~~~~~ TextPop.c:703:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; ^~~~~~~~ TextPop.c:704:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNstate, True); num_args++; ^~~~~~~~ TextPop.c:713:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromVert, search->left_toggle); num_args++; ^~~~~~~~ TextPop.c:715:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; ^~~~~~~~ TextPop.c:716:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; ^~~~~~~~ TextPop.c:722:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromVert, search->left_toggle); num_args++; ^~~~~~~~ TextPop.c:723:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromHoriz, s_label); num_args++; ^~~~~~~~ TextPop.c:724:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; ^~~~~~~~ TextPop.c:725:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNright, XtChainRight); num_args++; ^~~~~~~~ TextPop.c:727:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNresizable, True); num_args++; ^~~~~~~~ TextPop.c:734:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromVert, s_text); num_args++; ^~~~~~~~ TextPop.c:736:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; ^~~~~~~~ TextPop.c:737:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; ^~~~~~~~ TextPop.c:743:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromHoriz, s_label); num_args++; ^~~~~~~~ TextPop.c:744:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromVert, s_text); num_args++; ^~~~~~~~ TextPop.c:745:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; ^~~~~~~~ TextPop.c:746:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNright, XtChainRight); num_args++; ^~~~~~~~ TextPop.c:748:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNresizable, True); num_args++; ^~~~~~~~ TextPop.c:756:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromVert, r_text); num_args++; ^~~~~~~~ TextPop.c:757:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; ^~~~~~~~ TextPop.c:758:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; ^~~~~~~~ TextPop.c:764:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromVert, r_text); num_args++; ^~~~~~~~ TextPop.c:765:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromHoriz, search_button); num_args++; ^~~~~~~~ TextPop.c:766:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; ^~~~~~~~ TextPop.c:767:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; ^~~~~~~~ TextPop.c:773:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromVert, r_text); num_args++; ^~~~~~~~ TextPop.c:774:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromHoriz, search->rep_one); num_args++; ^~~~~~~~ TextPop.c:775:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; ^~~~~~~~ TextPop.c:776:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; ^~~~~~~~ TextPop.c:782:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromVert, r_text); num_args++; ^~~~~~~~ TextPop.c:783:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromHoriz, search->rep_all); num_args++; ^~~~~~~~ TextPop.c:784:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; ^~~~~~~~ TextPop.c:785:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; ^~~~~~~~ TextPop.c: In function 'DoSearch': TextPop.c:860:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[0], XtNstate, &case_sensitive); ^~~~~~~~ TextPop.c:896:26: warning: passing argument 2 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SetSearchLabels(search, "Could not find string", msg, True); ^~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:102:55: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' static void SetSearchLabels(struct SearchAndReplace*, String, String, Bool); ^~~~~~ TextPop.c: In function 'Replace': TextPop.c:1055:31: warning: passing argument 2 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SetSearchLabels(search, "Could not find string", msg, True); ^~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:102:55: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' static void SetSearchLabels(struct SearchAndReplace*, String, String, Bool); ^~~~~~ TextPop.c:1075:27: warning: passing argument 2 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SetSearchLabels(search, "Selection modified, aborting.", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:102:55: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' static void SetSearchLabels(struct SearchAndReplace*, String, String, Bool); ^~~~~~ TextPop.c:1076:5: warning: passing argument 3 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "", True); ^~ TextPop.c:102:63: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' static void SetSearchLabels(struct SearchAndReplace*, String, String, Bool); ^~~~~~ TextPop.c:1095:30: warning: passing argument 2 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SetSearchLabels(search, "Error while replacing.", "", True); ^~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:102:55: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' static void SetSearchLabels(struct SearchAndReplace*, String, String, Bool); ^~~~~~ TextPop.c:1095:56: warning: passing argument 3 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SetSearchLabels(search, "Error while replacing.", "", True); ^~ TextPop.c:102:63: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' static void SetSearchLabels(struct SearchAndReplace*, String, String, Bool); ^~~~~~ TextAction.c: In function 'StripOutOldCRs': TextPop.c: In function '_XawTextSetField': TextPop.c:1181:26: warning: passing argument 2 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SetSearchLabels(search, "Error: SetField Action must have", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TextAction.c:3535:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] text.ptr= " "; ^ TextPop.c:1150:57: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' SetSearchLabels(struct SearchAndReplace *search, String msg1, String msg2, ~~~~~~~^~~~ TextPop.c:1182:4: warning: passing argument 3 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "exactly one argument", True); ^~~~~~~~~~~~~~~~~~~~~~ TextPop.c:1150:70: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' SetSearchLabels(struct SearchAndReplace *search, String msg1, String msg2, ~~~~~~~^~~~ TextPop.c:1198:8: warning: passing argument 2 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Error: SetField Action's first Argument must", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:1150:57: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' SetSearchLabels(struct SearchAndReplace *search, String msg1, String msg2, ~~~~~~~^~~~ TextPop.c:1199:8: warning: passing argument 3 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "be either 'Search' or 'Replace'", True); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:1150:70: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' SetSearchLabels(struct SearchAndReplace *search, String msg1, String msg2, ~~~~~~~^~~~ In file included from ../include/X11/Xaw/Viewport.h:52, from ../include/X11/Xaw/ViewportP.h:55, from Viewport.c:55: ../include/X11/Xaw/Reports.h:52:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNreportCallback "reportCallback" ^~~~~~~~~~~~~~~~ Viewport.c:150:5: note: in expansion of macro 'XtNreportCallback' XtNreportCallback, ^~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Reports.h:53:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCReportCallback "reportCallback" ^~~~~~~~~~~~~~~~ Viewport.c:151:5: note: in expansion of macro 'XtCReportCallback' XtCReportCallback, ^~~~~~~~~~~~~~~~~ Viewport.c:166:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Viewport", /* class_name */ ^~~~~~~~~~ In file included from ../include/X11/Xaw/Viewport.h:51, from ../include/X11/Xaw/ViewportP.h:55, from Viewport.c:55: Viewport.c: In function 'CreateScrollbar': ../include/X11/Xaw/Form.h:96:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNleft "left" ^~~~~~ Viewport.c:237:3: note: in expansion of macro 'XtNleft' {XtNleft, 0}, ^~~~~~~ ../include/X11/Xaw/Form.h:97:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNright "right" ^~~~~~~ Viewport.c:238:3: note: in expansion of macro 'XtNright' {XtNright, 0}, ^~~~~~~~ ../include/X11/Xaw/Form.h:95:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbottom "bottom" ^~~~~~~~ Viewport.c:240:3: note: in expansion of macro 'XtNbottom' {XtNbottom, 0}, ^~~~~~~~~ Viewport.c:252:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(barArgs[2], XtNleft, ^~~~~~~~ TextAction.c: In function 'InsertNewCRs': TextPop.c: At top level: Viewport.c:254:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(barArgs[3], XtNright, ^~~~~~~~ TextPop.c:1478:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] static char *WM_DELETE_WINDOW = "WM_DELETE_WINDOW"; ^~~~~~~~~~~~~~~~~~ TextAction.c:3641:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] text.ptr = "\n"; ^ Viewport.c:258:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(barArgs[5], XtNbottom, ^~~~~~~~ Viewport.c: In function 'XawViewportInitialize': Viewport.c:306:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(clip_args[arg_cnt], XtNleft, XtChainLeft); arg_cnt++; ^~~~~~~~ Viewport.c:307:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(clip_args[arg_cnt], XtNright, XtChainRight); arg_cnt++; ^~~~~~~~ Viewport.c:309:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(clip_args[arg_cnt], XtNbottom, XtChainBottom); arg_cnt++; ^~~~~~~~ TextPop.c: In function 'SetWMProtocolTranslations': TextPop.c:1536:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] actions[0].string = "XawWMProtocols"; ^ Viewport.c: In function 'ComputeLayout': Viewport.c:596:14: warning: declaration of 'bar' shadows a previous local [-Wshadow] Widget bar; \ ^~~ Viewport.c:618:7: note: in expansion of macro 'CheckHoriz' CheckHoriz(); ^~~~~~~~~~ Viewport.c:611:14: note: shadowed declaration is here Widget bar; ^~~ TextAction.c: At top level: TextAction.c:4314:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"forward-character", MoveForwardChar}, ^~~~~~~~~~~~~~~~~~~ TextAction.c:4315:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"backward-character", MoveBackwardChar}, ^~~~~~~~~~~~~~~~~~~~ TextAction.c:4316:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"forward-word", MoveForwardWord}, ^~~~~~~~~~~~~~ TextAction.c:4317:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"backward-word", MoveBackwardWord}, ^~~~~~~~~~~~~~~ TextAction.c:4318:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"forward-paragraph", MoveForwardParagraph}, ^~~~~~~~~~~~~~~~~~~ TextAction.c:4319:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"backward-paragraph", MoveBackwardParagraph}, ^~~~~~~~~~~~~~~~~~~~ TextAction.c:4320:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"beginning-of-line", MoveToLineStart}, ^~~~~~~~~~~~~~~~~~~ TextAction.c:4321:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"end-of-line", MoveToLineEnd}, ^~~~~~~~~~~~~ TextAction.c:4322:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"next-line", MoveNextLine}, ^~~~~~~~~~~ TextAction.c:4323:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"previous-line", MovePreviousLine}, ^~~~~~~~~~~~~~~ TextAction.c:4324:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"next-page", MoveNextPage}, ^~~~~~~~~~~ TextAction.c:4325:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"previous-page", MovePreviousPage}, ^~~~~~~~~~~~~~~ TextAction.c:4326:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"beginning-of-file", MoveBeginningOfFile}, ^~~~~~~~~~~~~~~~~~~ TextAction.c:4327:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"end-of-file", MoveEndOfFile}, ^~~~~~~~~~~~~ TextAction.c:4328:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"scroll-one-line-up", ScrollOneLineUp}, ^~~~~~~~~~~~~~~~~~~~ TextAction.c:4329:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"scroll-one-line-down", ScrollOneLineDown}, ^~~~~~~~~~~~~~~~~~~~~~ TextAction.c:4332:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"delete-next-character", DeleteForwardChar}, ^~~~~~~~~~~~~~~~~~~~~~~ TextAction.c:4333:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"delete-previous-character", DeleteBackwardChar}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ TextAction.c:4334:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"delete-next-word", DeleteForwardWord}, ^~~~~~~~~~~~~~~~~~ TextAction.c:4335:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"delete-previous-word", DeleteBackwardWord}, ^~~~~~~~~~~~~~~~~~~~~~ TextAction.c:4336:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"delete-selection", DeleteCurrentSelection}, ^~~~~~~~~~~~~~~~~~ TextAction.c:4337:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"delete", Delete}, ^~~~~~~~ TextAction.c:4340:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"kill-word", KillForwardWord}, ^~~~~~~~~~~ TextAction.c:4341:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"backward-kill-word", KillBackwardWord}, ^~~~~~~~~~~~~~~~~~~~ TextAction.c:4342:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"kill-selection", KillCurrentSelection}, ^~~~~~~~~~~~~~~~ TextAction.c:4343:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"kill-to-end-of-line", KillToEndOfLine}, ^~~~~~~~~~~~~~~~~~~~~ TextAction.c:4344:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"kill-to-end-of-paragraph", KillToEndOfParagraph}, ^~~~~~~~~~~~~~~~~~~~~~~~~~ TextAction.c:4347:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"newline-and-indent", InsertNewLineAndIndent}, ^~~~~~~~~~~~~~~~~~~~ TextAction.c:4348:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"newline-and-backup", InsertNewLineAndBackup}, ^~~~~~~~~~~~~~~~~~~~ TextAction.c:4349:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"newline", InsertNewLine}, ^~~~~~~~~ TextAction.c:4352:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"select-word", SelectWord}, ^~~~~~~~~~~~~ TextAction.c:4353:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"select-all", SelectAll}, ^~~~~~~~~~~~ TextAction.c:4354:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"select-start", SelectStart}, ^~~~~~~~~~~~~~ TextAction.c:4355:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"select-adjust", SelectAdjust}, ^~~~~~~~~~~~~~~ TextAction.c:4356:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"select-end", SelectEnd}, ^~~~~~~~~~~~ TextAction.c:4357:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"select-save", SelectSave}, ^~~~~~~~~~~~~ TextAction.c:4358:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"extend-start", ExtendStart}, ^~~~~~~~~~~~~~ TextAction.c:4359:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"extend-adjust", ExtendAdjust}, ^~~~~~~~~~~~~~~ TextAction.c:4360:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"extend-end", ExtendEnd}, ^~~~~~~~~~~~ TextAction.c:4361:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"insert-selection", InsertSelection}, ^~~~~~~~~~~~~~~~~~ TextAction.c:4364:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"redraw-display", RedrawDisplay}, ^~~~~~~~~~~~~~~~ TextAction.c:4365:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"insert-file", _XawTextInsertFile}, ^~~~~~~~~~~~~ TextAction.c:4366:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"search", _XawTextSearch}, ^~~~~~~~ TextAction.c:4367:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"insert-char", InsertChar}, ^~~~~~~~~~~~~ TextAction.c:4368:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"insert-string", InsertString}, ^~~~~~~~~~~~~~~ TextAction.c:4369:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"focus-in", TextFocusIn}, ^~~~~~~~~~ TextAction.c:4370:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"focus-out", TextFocusOut}, ^~~~~~~~~~~ TextAction.c:4371:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"enter-window", TextEnterWindow}, ^~~~~~~~~~~~~~ TextAction.c:4372:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"leave-window", TextLeaveWindow}, ^~~~~~~~~~~~~~ TextAction.c:4373:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"display-caret", DisplayCaret}, ^~~~~~~~~~~~~~~ TextAction.c:4374:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"multiply", Multiply}, ^~~~~~~~~~ TextAction.c:4375:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"form-paragraph", FormParagraph}, ^~~~~~~~~~~~~~~~ TextAction.c:4376:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"transpose-characters", TransposeCharacters}, ^~~~~~~~~~~~~~~~~~~~~~ TextAction.c:4377:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"set-keyboard-focus", SetKeyboardFocus}, ^~~~~~~~~~~~~~~~~~~~ TextAction.c:4379:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"numeric", Numeric}, ^~~~~~~~~ TextAction.c:4380:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"undo", Undo}, ^~~~~~ TextAction.c:4381:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"keyboard-reset", KeyboardReset}, ^~~~~~~~~~~~~~~~ TextAction.c:4382:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"kill-ring-yank", KillRingYank}, ^~~~~~~~~~~~~~~~ TextAction.c:4383:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"toggle-overwrite", ToggleOverwrite}, ^~~~~~~~~~~~~~~~~~ TextAction.c:4384:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"indent", Indent}, ^~~~~~~~ TextAction.c:4386:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"no-op", NoOp}, ^~~~~~~ TextAction.c:4389:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"capitalize-word", CapitalizeWord}, ^~~~~~~~~~~~~~~~~ TextAction.c:4390:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"downcase-word", DowncaseWord}, ^~~~~~~~~~~~~~~ TextAction.c:4391:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"upcase-word", UpcaseWord}, ^~~~~~~~~~~~~ TextAction.c:4394:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"InsertFileAction", _XawTextInsertFileAction}, ^~~~~~~~~~~~~~~~~~ TextAction.c:4395:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"DoSearchAction", _XawTextDoSearchAction}, ^~~~~~~~~~~~~~~~ TextAction.c:4396:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"DoReplaceAction", _XawTextDoReplaceAction}, ^~~~~~~~~~~~~~~~~ TextAction.c:4397:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"SetField", _XawTextSetField}, ^~~~~~~~~~ TextAction.c:4398:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"PopdownSearchAction", _XawTextPopdownSearchAction}, ^~~~~~~~~~~~~~~~~~~~~ TextAction.c:4401:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"reconnect-im", Reconnect} /* Li Yuhong, Omron KK, 1991 */ ^~~~~~~~~~~~~~ XawIm.c:158:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] Offset (font_set), XtRString, XtDefaultFontSet ^~~~~~~~~~~~~~~~ TextAction.c: In function 'CaseProc': TextAction.c:4261:6: warning: ignoring return value of 'wctomb', declared with attribute warn_unused_result [-Wunused-result] wctomb((char*)mb, ((wchar_t*)block.ptr)[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Tip.c:95:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtDefaultForeground, ^~~~~~~~~~~~~~~~~~~ Tip.c:104:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtDefaultFont ^~~~~~~~~~~~~ Tip.c:113:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtDefaultFontSet ^~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw/TipP.h:33, from Tip.c:36: ../include/X11/Xaw/Tip.h:74:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNtopMargin "topMargin" ^~~~~~~~~~~ Tip.c:116:5: note: in expansion of macro 'XtNtopMargin' XtNtopMargin, ^~~~~~~~~~~~ ../include/X11/Xaw/Tip.h:80:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCVerticalMargins "VerticalMargins" ^~~~~~~~~~~~~~~~~ Tip.c:117:5: note: in expansion of macro 'XtCVerticalMargins' XtCVerticalMargins, ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Tip.h:68:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbottomMargin "bottomMargin" ^~~~~~~~~~~~~~ Tip.c:125:5: note: in expansion of macro 'XtNbottomMargin' XtNbottomMargin, ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Tip.h:80:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCVerticalMargins "VerticalMargins" ^~~~~~~~~~~~~~~~~ Tip.c:126:5: note: in expansion of macro 'XtCVerticalMargins' XtCVerticalMargins, ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Tip.h:71:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNleftMargin "leftMargin" ^~~~~~~~~~~~ Tip.c:134:5: note: in expansion of macro 'XtNleftMargin' XtNleftMargin, ^~~~~~~~~~~~~ ../include/X11/Xaw/Tip.h:78:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCHorizontalMargins "HorizontalMargins" ^~~~~~~~~~~~~~~~~~~ Tip.c:135:5: note: in expansion of macro 'XtCHorizontalMargins' XtCHorizontalMargins, ^~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Tip.h:72:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNrightMargin "rightMargin" ^~~~~~~~~~~~~ Tip.c:143:5: note: in expansion of macro 'XtNrightMargin' XtNrightMargin, ^~~~~~~~~~~~~~ ../include/X11/Xaw/Tip.h:78:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCHorizontalMargins "HorizontalMargins" ^~~~~~~~~~~~~~~~~~~ Tip.c:144:5: note: in expansion of macro 'XtCHorizontalMargins' XtCHorizontalMargins, ^~~~~~~~~~~~~~~~~~~~ Tip.c:152:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtNbackingStore, ^~~~~~~~~~~~~~~ Tip.c:153:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtCBackingStore, ^~~~~~~~~~~~~~~ Tip.c:154:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtRBackingStore, ^~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw/TipP.h:33, from Tip.c:36: ../include/X11/Xaw/Tip.h:73:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNtimeout "timeout" ^~~~~~~~~ Tip.c:161:5: note: in expansion of macro 'XtNtimeout' XtNtimeout, ^~~~~~~~~~ ../include/X11/Xaw/Tip.h:79:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCTimeout "Timeout" ^~~~~~~~~ Tip.c:162:5: note: in expansion of macro 'XtCTimeout' XtCTimeout, ^~~~~~~~~~ ../include/X11/Xaw/Tip.h:69:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XawNdisplayList "displayList" ^~~~~~~~~~~~~ Tip.c:170:5: note: in expansion of macro 'XawNdisplayList' XawNdisplayList, ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Tip.h:77:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XawCDisplayList "DisplayList" ^~~~~~~~~~~~~ Tip.c:171:5: note: in expansion of macro 'XawCDisplayList' XawCDisplayList, ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Tip.h:83:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XawRDisplayList "XawDisplayList" ^~~~~~~~~~~~~~~~ Tip.c:172:5: note: in expansion of macro 'XawRDisplayList' XawRDisplayList, ^~~~~~~~~~~~~~~ Tip.c:185:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Tip", /* class_name */ ^~~~~ Tip.c: In function 'TipTimeoutCallback': Tip.c:566:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[0], XtNtip, &info->tip->tip.label); ^~~~~~~~ Tip.c:567:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[1], XtNinternational, &info->tip->tip.international); ^~~~~~~~ Tip.c:568:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[2], XtNencoding, &info->tip->tip.encoding); ^~~~~~~~ CCLD libXaw7.la make[2]: Leaving directory '/builddir/build/BUILD/libXaw-1.0.13/src' Making all in man make[2]: Entering directory '/builddir/build/BUILD/libXaw-1.0.13/man' GEN Xaw.3 make[2]: Leaving directory '/builddir/build/BUILD/libXaw-1.0.13/man' Making all in specs make[2]: Entering directory '/builddir/build/BUILD/libXaw-1.0.13/specs' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/libXaw-1.0.13/specs' make[2]: Entering directory '/builddir/build/BUILD/libXaw-1.0.13' make[2]: Leaving directory '/builddir/build/BUILD/libXaw-1.0.13' make[1]: Leaving directory '/builddir/build/BUILD/libXaw-1.0.13' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.C7PAl8 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libXaw-1.0.13-10.oc8.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libXaw-1.0.13-10.oc8.aarch64 ++ dirname /builddir/build/BUILDROOT/libXaw-1.0.13-10.oc8.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libXaw-1.0.13-10.oc8.aarch64 + cd libXaw-1.0.13 + rm -rf /builddir/build/BUILDROOT/libXaw-1.0.13-10.oc8.aarch64 + make install DESTDIR=/builddir/build/BUILDROOT/libXaw-1.0.13-10.oc8.aarch64 'INSTALL=install -p' Making install in include make[1]: Entering directory '/builddir/build/BUILD/libXaw-1.0.13/include' make[2]: Entering directory '/builddir/build/BUILD/libXaw-1.0.13/include' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libXaw-1.0.13-10.oc8.aarch64/usr/include/X11/Xaw' install -p -m 644 X11/Xaw/AllWidgets.h X11/Xaw/AsciiSink.h X11/Xaw/AsciiSinkP.h X11/Xaw/AsciiSrc.h X11/Xaw/AsciiSrcP.h X11/Xaw/AsciiText.h X11/Xaw/AsciiTextP.h X11/Xaw/Box.h X11/Xaw/BoxP.h X11/Xaw/Cardinals.h X11/Xaw/Command.h X11/Xaw/CommandP.h X11/Xaw/Dialog.h X11/Xaw/DialogP.h X11/Xaw/Form.h X11/Xaw/FormP.h X11/Xaw/Grip.h X11/Xaw/GripP.h X11/Xaw/Label.h X11/Xaw/LabelP.h X11/Xaw/List.h X11/Xaw/ListP.h X11/Xaw/MenuButton.h X11/Xaw/MenuButtoP.h X11/Xaw/MultiSrc.h X11/Xaw/MultiSrcP.h X11/Xaw/MultiSink.h X11/Xaw/MultiSinkP.h X11/Xaw/Paned.h X11/Xaw/PanedP.h X11/Xaw/Panner.h X11/Xaw/PannerP.h X11/Xaw/Porthole.h X11/Xaw/PortholeP.h X11/Xaw/Repeater.h X11/Xaw/RepeaterP.h X11/Xaw/Reports.h X11/Xaw/Scrollbar.h X11/Xaw/ScrollbarP.h X11/Xaw/Simple.h '/builddir/build/BUILDROOT/libXaw-1.0.13-10.oc8.aarch64/usr/include/X11/Xaw' install -p -m 644 X11/Xaw/SimpleP.h X11/Xaw/SimpleMenu.h X11/Xaw/SimpleMenP.h X11/Xaw/Sme.h X11/Xaw/SmeP.h X11/Xaw/SmeBSB.h X11/Xaw/SmeBSBP.h X11/Xaw/SmeLine.h X11/Xaw/SmeLineP.h X11/Xaw/StripChart.h X11/Xaw/StripCharP.h X11/Xaw/Template.c X11/Xaw/Template.h X11/Xaw/TemplateP.h X11/Xaw/Text.h X11/Xaw/TextP.h X11/Xaw/TextSink.h X11/Xaw/TextSinkP.h X11/Xaw/TextSrc.h X11/Xaw/TextSrcP.h X11/Xaw/Tip.h X11/Xaw/TipP.h X11/Xaw/Toggle.h X11/Xaw/ToggleP.h X11/Xaw/Tree.h X11/Xaw/TreeP.h X11/Xaw/VendorEP.h X11/Xaw/Viewport.h X11/Xaw/ViewportP.h X11/Xaw/XawImP.h X11/Xaw/XawInit.h '/builddir/build/BUILDROOT/libXaw-1.0.13-10.oc8.aarch64/usr/include/X11/Xaw' make[2]: Leaving directory '/builddir/build/BUILD/libXaw-1.0.13/include' make[1]: Leaving directory '/builddir/build/BUILD/libXaw-1.0.13/include' Making install in src make[1]: Entering directory '/builddir/build/BUILD/libXaw-1.0.13/src' make[2]: Entering directory '/builddir/build/BUILD/libXaw-1.0.13/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libXaw-1.0.13-10.oc8.aarch64/usr/lib64' /bin/sh ../libtool --mode=install install -p libXaw7.la '/builddir/build/BUILDROOT/libXaw-1.0.13-10.oc8.aarch64/usr/lib64' libtool: install: install -p .libs/libXaw7.so.7.0.0 /builddir/build/BUILDROOT/libXaw-1.0.13-10.oc8.aarch64/usr/lib64/libXaw7.so.7.0.0 libtool: install: (cd /builddir/build/BUILDROOT/libXaw-1.0.13-10.oc8.aarch64/usr/lib64 && { ln -s -f libXaw7.so.7.0.0 libXaw7.so.7 || { rm -f libXaw7.so.7 && ln -s libXaw7.so.7.0.0 libXaw7.so.7; }; }) libtool: install: (cd /builddir/build/BUILDROOT/libXaw-1.0.13-10.oc8.aarch64/usr/lib64 && { ln -s -f libXaw7.so.7.0.0 libXaw7.so || { rm -f libXaw7.so && ln -s libXaw7.so.7.0.0 libXaw7.so; }; }) libtool: install: install -p .libs/libXaw7.lai /builddir/build/BUILDROOT/libXaw-1.0.13-10.oc8.aarch64/usr/lib64/libXaw7.la libtool: warning: remember to run 'libtool --finish /usr/lib64' make install-exec-hook make[3]: Entering directory '/builddir/build/BUILD/libXaw-1.0.13/src' GEN install-exec-hook make[3]: Leaving directory '/builddir/build/BUILD/libXaw-1.0.13/src' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/libXaw-1.0.13/src' make[1]: Leaving directory '/builddir/build/BUILD/libXaw-1.0.13/src' Making install in man make[1]: Entering directory '/builddir/build/BUILD/libXaw-1.0.13/man' make[2]: Entering directory '/builddir/build/BUILD/libXaw-1.0.13/man' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libXaw-1.0.13-10.oc8.aarch64/usr/share/man/man3' install -p -m 644 Xaw.3 '/builddir/build/BUILDROOT/libXaw-1.0.13-10.oc8.aarch64/usr/share/man/man3' make[2]: Leaving directory '/builddir/build/BUILD/libXaw-1.0.13/man' make[1]: Leaving directory '/builddir/build/BUILD/libXaw-1.0.13/man' Making install in specs make[1]: Entering directory '/builddir/build/BUILD/libXaw-1.0.13/specs' make[2]: Entering directory '/builddir/build/BUILD/libXaw-1.0.13/specs' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libXaw-1.0.13-10.oc8.aarch64/usr/share/doc/libXaw' install -p -m 644 libXaw.xml AsciiSink.xml AsciiSource.xml AsciiText.xml Box.xml CH1.xml CH2.xml CH3.xml CH4.xml CH5.xml CH6.xml CH7.xml Command.xml Dialog.xml Form.xml Grip.xml Label.xml List.xml MenuButton.xml Paned.xml Panner.xml Porthole.xml Repeater.xml Scrollbar.xml SimpleMenu.xml Simple.xml SmeBSB.xml SmeLine.xml Sme.xml StripChart.xml Template_private_header_file.xml Template_public_header_file.xml Template_widget_source_file.xml Template.xml TextActions_default_translation_bindings.xml TextActions_text_widget_actions.xml TextActions.xml TextCustom.xml TextFuncs.xml TextSink.xml '/builddir/build/BUILDROOT/libXaw-1.0.13-10.oc8.aarch64/usr/share/doc/libXaw' install -p -m 644 TextSource.xml Text.xml Toggle.xml TPage_Credits.xml Tree.xml Viewport.xml '/builddir/build/BUILDROOT/libXaw-1.0.13-10.oc8.aarch64/usr/share/doc/libXaw' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libXaw-1.0.13-10.oc8.aarch64/usr/share/doc/libXaw' make[2]: Leaving directory '/builddir/build/BUILD/libXaw-1.0.13/specs' make[1]: Leaving directory '/builddir/build/BUILD/libXaw-1.0.13/specs' make[1]: Entering directory '/builddir/build/BUILD/libXaw-1.0.13' make[2]: Entering directory '/builddir/build/BUILD/libXaw-1.0.13' make install-exec-hook make[3]: Entering directory '/builddir/build/BUILD/libXaw-1.0.13' cd /builddir/build/BUILDROOT/libXaw-1.0.13-10.oc8.aarch64/usr/lib64 && rm -f libXaw.so && ln -s libXaw7.so libXaw.so make[3]: Leaving directory '/builddir/build/BUILD/libXaw-1.0.13' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libXaw-1.0.13-10.oc8.aarch64/usr/lib64/pkgconfig' install -p -m 644 xaw7.pc '/builddir/build/BUILDROOT/libXaw-1.0.13-10.oc8.aarch64/usr/lib64/pkgconfig' make[2]: Leaving directory '/builddir/build/BUILD/libXaw-1.0.13' make[1]: Leaving directory '/builddir/build/BUILD/libXaw-1.0.13' + install -pm 644 COPYING README ChangeLog /builddir/build/BUILDROOT/libXaw-1.0.13-10.oc8.aarch64/usr/share/doc/libXaw + rm -f /builddir/build/BUILDROOT/libXaw-1.0.13-10.oc8.aarch64/usr/lib64/libXaw7.la + /usr/lib/rpm/find-debuginfo.sh -j32 --strict-build-id -m -i --build-id-seed 1.0.13-10.oc8 --unique-debug-suffix -1.0.13-10.oc8.aarch64 --unique-debug-src-base libXaw-1.0.13-10.oc8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libXaw-1.0.13 extracting debug info from /builddir/build/BUILDROOT/libXaw-1.0.13-10.oc8.aarch64/usr/lib64/libXaw7.so.7.0.0 /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 2959 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: libXaw-1.0.13-10.oc8.aarch64 Provides: libXaw = 1.0.13-10.oc8 libXaw(aarch-64) = 1.0.13-10.oc8 libXaw.so.7()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libX11.so.6()(64bit) libXext.so.6()(64bit) libXmu.so.6()(64bit) libXpm.so.4()(64bit) libXt.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) rtld(GNU_HASH) Processing files: libXaw-devel-1.0.13-10.oc8.aarch64 Provides: libXaw-devel = 1.0.13-10.oc8 libXaw-devel(aarch-64) = 1.0.13-10.oc8 pkgconfig(xaw7) = 1.0.13 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libXaw.so.7()(64bit) pkgconfig(x11) pkgconfig(xext) pkgconfig(xmu) pkgconfig(xpm) pkgconfig(xproto) pkgconfig(xt) Processing files: libXaw-debugsource-1.0.13-10.oc8.aarch64 Provides: libXaw-debugsource = 1.0.13-10.oc8 libXaw-debugsource(aarch-64) = 1.0.13-10.oc8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libXaw-debuginfo-1.0.13-10.oc8.aarch64 Provides: debuginfo(build-id) = d73fe7e28ff5079b7843264520574ab56037caa5 libXaw-debuginfo = 1.0.13-10.oc8 libXaw-debuginfo(aarch-64) = 1.0.13-10.oc8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libXaw-debugsource(aarch-64) = 1.0.13-10.oc8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libXaw-1.0.13-10.oc8.aarch64 Wrote: /builddir/build/RPMS/libXaw-1.0.13-10.oc8.aarch64.rpm Wrote: /builddir/build/RPMS/libXaw-devel-1.0.13-10.oc8.aarch64.rpm Wrote: /builddir/build/RPMS/libXaw-debugsource-1.0.13-10.oc8.aarch64.rpm Wrote: /builddir/build/RPMS/libXaw-debuginfo-1.0.13-10.oc8.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.MHMJj4 + umask 022 + cd /builddir/build/BUILD + cd libXaw-1.0.13 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libXaw-1.0.13-10.oc8.aarch64 + exit 0 Child return code was: 0