<86>Mar 11 08:03:33 userdel[92327]: delete user 'rooter' <86>Mar 11 08:03:33 userdel[92327]: removed group 'rooter' owned by 'rooter' <86>Mar 11 08:03:33 userdel[92327]: removed shadow group 'rooter' owned by 'rooter' <86>Mar 11 08:03:34 groupadd[92352]: group added to /etc/group: name=rooter, GID=597 <86>Mar 11 08:03:34 groupadd[92352]: group added to /etc/gshadow: name=rooter <86>Mar 11 08:03:34 groupadd[92352]: new group: name=rooter, GID=597 <86>Mar 11 08:03:34 useradd[92368]: new user: name=rooter, UID=597, GID=597, home=/root, shell=/bin/bash <86>Mar 11 08:03:34 userdel[92389]: delete user 'builder' <86>Mar 11 08:03:34 userdel[92389]: removed group 'builder' owned by 'builder' <86>Mar 11 08:03:34 groupadd[92426]: group added to /etc/group: name=builder, GID=598 <86>Mar 11 08:03:34 groupadd[92426]: group added to /etc/gshadow: name=builder <86>Mar 11 08:03:34 groupadd[92426]: new group: name=builder, GID=598 <86>Mar 11 08:03:34 useradd[92443]: new user: name=builder, UID=598, GID=598, home=/usr/src, shell=/bin/bash <13>Mar 11 08:03:37 rpmi: xorg-proto-devel-2018.4-alt3 1527685079 installed <13>Mar 11 08:03:37 rpmi: xml-utils-1:2.9.4.0.12.e905-alt1.1 1525115767 installed <13>Mar 11 08:03:37 rpmi: libICE-1.0.9-alt1 1409902721 installed <13>Mar 11 08:03:37 rpmi: libSM-1.2.3-alt1 sisyphus.215747.100 1540812795 installed <13>Mar 11 08:03:37 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Mar 11 08:03:37 rpmi: libXau-devel-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Mar 11 08:03:37 rpmi: libICE-devel-1.0.9-alt1 1409902721 installed <13>Mar 11 08:03:37 rpmi: libSM-devel-1.2.3-alt1 sisyphus.215747.100 1540812795 installed <13>Mar 11 08:03:37 rpmi: sgml-common-0.6.3-alt15 1423664786 installed <13>Mar 11 08:03:37 rpmi: docbook-dtds-4.5-alt1 1223476557 installed <13>Mar 11 08:03:37 rpmi: docbook-style-xsl-1.79.1-alt2 sisyphus.213665.100 1537949315 installed <13>Mar 11 08:03:37 rpmi: libpaper-1.1.26-alt1 sisyphus+221360.100.1.1 1549974197 installed <13>Mar 11 08:03:37 rpmi: libgpg-error-1.31-alt1.S1 1529015802 installed <13>Mar 11 08:03:37 rpmi: libgcrypt20-1.8.3-alt4 sisyphus+222598.100.1.1 1550924043 installed <13>Mar 11 08:03:37 rpmi: libxslt-1.1.32-alt2 1517429984 installed <13>Mar 11 08:03:37 rpmi: xsltproc-1.1.32-alt2 1517429984 installed <13>Mar 11 08:03:37 rpmi: libX11-locales-3:1.6.7-alt1 sisyphus.214413.200 1539171080 installed <13>Mar 11 08:03:37 rpmi: libXdmcp-1.1.1-alt1 1334617701 installed <13>Mar 11 08:03:37 rpmi: libxcb-1.13.1-alt1 sisyphus.214413.100 1539170896 installed <13>Mar 11 08:03:37 rpmi: libX11-3:1.6.7-alt1 sisyphus.214413.200 1539171143 installed <13>Mar 11 08:03:37 rpmi: libXext-1.3.3-alt1 1409902959 installed <13>Mar 11 08:03:37 rpmi: libXt-1.1.4-alt1 1369984722 installed <13>Mar 11 08:03:37 rpmi: libXmu-1.1.2-alt1 1391072530 installed <13>Mar 11 08:03:37 rpmi: libXpm-3.5.12-alt1 sisyphus+223149.400.2.1 1551268289 installed <13>Mar 11 08:03:39 rpmi: libxcb-devel-1.13.1-alt1 sisyphus.214413.100 1539170896 installed <13>Mar 11 08:03:39 rpmi: libX11-devel-3:1.6.7-alt1 sisyphus.214413.200 1539171143 installed <13>Mar 11 08:03:39 rpmi: libXt-devel-1.1.4-alt1 1369984722 installed <13>Mar 11 08:03:39 rpmi: libXmu-devel-1.1.2-alt1 1391072530 installed <13>Mar 11 08:03:39 rpmi: libXext-devel-1.3.3-alt1 1409902959 installed <13>Mar 11 08:03:39 rpmi: libXpm-devel-3.5.12-alt1 sisyphus+223149.400.2.1 1551268289 installed <13>Mar 11 08:03:39 rpmi: xmlto-0.0.28-alt2 1518213370 installed <13>Mar 11 08:03:39 rpmi: xorg-util-macros-1.19.0-alt1 1409047704 installed <13>Mar 11 08:03:39 rpmi: xorg-sgml-doctools-1.10-alt1 1331109847 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/libXaw-1.0.12-alt1.nosrc.rpm Installing libXaw-1.0.12-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.36488 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf libXaw-1.0.12 + echo 'Source #0 (libXaw-1.0.12.tar):' Source #0 (libXaw-1.0.12.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/libXaw-1.0.12.tar + cd libXaw-1.0.12 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (libXaw-1.0.12-alt1.patch):' Patch #0 (libXaw-1.0.12-alt1.patch): + /usr/bin/patch -p1 patching file .gear/rules patching file .gear/tags/81516a917c62cb791f5b07af9b3d16832ca31a53 patching file .gear/tags/list patching file libXaw.spec + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.36488 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libXaw-1.0.12 + autoreconf -fisv autoreconf-default: Entering directory `.' autoreconf-default: configure.ac: not using Gettext autoreconf-default: running: aclocal --force autoreconf-default: configure.ac: tracing autoreconf-default: running: libtoolize --force --install libtoolize-default: putting auxiliary files in `.'. libtoolize-default: linking file `./config.guess' libtoolize-default: linking file `./config.sub' libtoolize-default: linking file `./install-sh' libtoolize-default: linking file `./ltmain.sh' libtoolize-default: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize-default: rerunning libtoolize-default, to keep the correct libtool macros in-tree. libtoolize-default: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf-default: configure.ac: not using Intltool autoreconf-default: configure.ac: not using gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force autoreconf-default: running: /usr/bin/autoheader-2.60 --force autoreconf-default: running: automake --add-missing --force-missing configure.ac:14: installing './compile' configure.ac:10: installing './missing' src/Makefile.am: installing './depcomp' autoreconf-default: Leaving directory `.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + sort -u + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext --disable-xaw6 --disable-static configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking how to print strings... printf checking for style of include used by make... GNU checking for i586-alt-linux-gcc... i586-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking whether i586-alt-linux-gcc understands -c and -o together... yes checking dependency style of i586-alt-linux-gcc... none checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by i586-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert i586-alt-linux-gnu file names to i586-alt-linux-gnu format... func_convert_file_noop checking how to convert i586-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for i586-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for i586-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i586-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for i586-alt-linux-strip... no checking for strip... strip checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from i586-alt-linux-gcc object... ok checking for sysroot... no checking for i586-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... i586-alt-linux-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 i586-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i586-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if i586-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i586-alt-linux-gcc static flag -static works... no checking if i586-alt-linux-gcc supports -c -o file.o... yes checking if i586-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the i586-alt-linux-gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for i586-alt-linux-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 i586-alt-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking if i586-alt-linux-gcc supports -Werror=unknown-warning-option... no checking if i586-alt-linux-gcc supports -Werror=unused-command-line-argument... no checking if i586-alt-linux-gcc supports -Wall... yes checking if i586-alt-linux-gcc supports -Wpointer-arith... yes checking if i586-alt-linux-gcc supports -Wmissing-declarations... yes checking if i586-alt-linux-gcc supports -Wformat=2... yes checking if i586-alt-linux-gcc supports -Wstrict-prototypes... yes checking if i586-alt-linux-gcc supports -Wmissing-prototypes... yes checking if i586-alt-linux-gcc supports -Wnested-externs... yes checking if i586-alt-linux-gcc supports -Wbad-function-cast... yes checking if i586-alt-linux-gcc supports -Wold-style-definition... yes checking if i586-alt-linux-gcc supports -Wdeclaration-after-statement... yes checking if i586-alt-linux-gcc supports -Wunused... yes checking if i586-alt-linux-gcc supports -Wuninitialized... yes checking if i586-alt-linux-gcc supports -Wshadow... yes checking if i586-alt-linux-gcc supports -Wmissing-noreturn... yes checking if i586-alt-linux-gcc supports -Wmissing-format-attribute... yes checking if i586-alt-linux-gcc supports -Wredundant-decls... yes checking if i586-alt-linux-gcc supports -Wlogical-op... yes checking if i586-alt-linux-gcc supports -Werror=implicit... yes checking if i586-alt-linux-gcc supports -Werror=nonnull... yes checking if i586-alt-linux-gcc supports -Werror=init-self... yes checking if i586-alt-linux-gcc supports -Werror=main... yes checking if i586-alt-linux-gcc supports -Werror=missing-braces... yes checking if i586-alt-linux-gcc supports -Werror=sequence-point... yes checking if i586-alt-linux-gcc supports -Werror=return-type... yes checking if i586-alt-linux-gcc supports -Werror=trigraphs... yes checking if i586-alt-linux-gcc supports -Werror=array-bounds... yes checking if i586-alt-linux-gcc supports -Werror=write-strings... yes checking if i586-alt-linux-gcc supports -Werror=address... yes checking if i586-alt-linux-gcc supports -Werror=int-to-pointer-cast... yes checking if i586-alt-linux-gcc supports -Werror=pointer-to-int-cast... yes checking if i586-alt-linux-gcc supports -pedantic... yes checking if i586-alt-linux-gcc supports -Werror... yes checking if i586-alt-linux-gcc supports -Werror=attributes... yes checking whether make supports nested variables... (cached) yes checking whether to build functional specifications... yes checking for xmlto... /usr/bin/xmlto checking the xmlto version... 0.0.28 configure: WARNING: xmlto cannot generate text format, this format skipped checking for fop... no configure: WARNING: fop not found - documentation targets will be skipped checking for xsltproc... /usr/bin/xsltproc checking for X.Org SGML entities >= 1.8... /usr/share/sgml checking for gawk... (cached) gawk checking for i586-alt-linux-pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for xproto x11 xext xextproto xt xmu xpm... 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: --without-included-gettext + make -j8 make all-recursive Making all in include make[2]: Nothing to be done for 'all'. Making all in src make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-AllWidgets.lo 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 }, ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-AsciiText.lo AsciiText.c:96:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Text", /* class_name */ ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-Box.lo 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 */ ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-Dialog.lo 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, ^~~~~~~ Dialog.c:124:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Dialog", /* class_name */ ^~~~~~~~ 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++; ^~~~~~~~ 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); ^~~~~~~~ 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++; ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-Grip.lo Grip.c:95:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtDefaultForeground ^~~~~~~~~~~~~~~~~~~ Grip.c:119:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"GripAction", GripAction}, ^~~~~~~~~~~~ Grip.c:128:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Grip", /* class name */ ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-Command.lo 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, ^~~~~~~~~~~~~~~~~~~~~ ../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/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, ^~~~~~~~~~~~~~~~~~~~~ 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}, ^~~~~~~~~~~ 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} ^~~~~~~~~~~~~ Command.c:168:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Command", /* class_name */ ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-Form.lo 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}, ^~~~~~~~~~~~ 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, ^~~~~~~ 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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~ 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, ^~~~~~~~~~~~~~~~ ../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, ^~~~~~~~~ ../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, ^~~~~~~~~~~~~~~ ../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, ^~~~~~~~~~~~ Form.c:226:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Form", /* 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; ^ 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 Form.c:57: Private.h:147:39: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' void XawTypeToStringWarning(Display*, String); ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-Actions.lo 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); ^ 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*); ^~~~~~ Actions.c: In function 'XawGetValuesAction': 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*); ^~~~~~ Actions.c: In function 'XawDeclareAction': 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*); ^~~~~~ Actions.c: In function 'XawCallProcAction': 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*); ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-Converters.lo Converters.c:138:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] static String XtCToolkitError = "ToolkitError"; ^~~~~~~~~~~~~~ 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"; ^~~~~~~~~~~~~~~~~ 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) ~~~~~~~^~~~ 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); ^~~~~~~~~~~~~~~ Converters.c:231:48: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' TypeToStringNoArgsWarning(Display *dpy, String type) ~~~~~~~^~~~ Converters.c: In function '_XawCvtPixmapToString': Converters.c:673:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] buffer = "None"; ^ Converters.c:676:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] buffer = "ParentRelative"; ^ Converters.c:679:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] buffer = "XtUnspecifiedPixmap"; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-AsciiSrc.lo 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:136: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:137: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:138:5: note: in expansion of macro 'XtRAsciiType' XtRAsciiType, ^~~~~~~~~~~~ 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:145: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:146: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" ^~~~~~~~~~~ AsciiSrc.c:154: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:155: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" ^~~~~~~~~~~~~~~~~~ AsciiSrc.c:174: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" ^~~~~~~~~~~~~~~~~~ AsciiSrc.c:175:5: note: in expansion of macro 'XtCUseStringInPlace' XtCUseStringInPlace, ^~~~~~~~~~~~~~~~~~~ AsciiSrc.c:211:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "AsciiSrc", /* class_name */ ^~~~~~~~~~ AsciiSrc.c: In function 'ReadText': AsciiSrc.c:400:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] text->ptr = ""; ^ AsciiSrc.c: In function 'InitStringOrFile': AsciiSrc.c:1460: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:1753:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] buffer = XtEfile; ^ AsciiSrc.c:1756: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:1759: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); ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-Label.lo Label.c:103:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtDefaultForeground ^~~~~~~~~~~~~~~~~~~ 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, ^~~~~~~~~~~ ../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, ^~~~~~~~~~~~~ ../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, ^~~~~~~~~ ../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, ^~~~~~~~~ Label.c:221:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Label", /* class_name */ ^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-MenuButton.lo 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, ^~~~~~~~~~~ ../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, ^~~~~~~~~~~ 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 */ ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-OS.lo make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-List.lo 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, ^~~~~~~ ../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, ^~~~~~~~~~ ../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, ^~~~~~~~~~ ../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, ^~~~~~~~~~~~~~~~ ../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, ^~~~~~~~~~~~~~ ../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/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/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/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/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, ^~~~~~~~~~ ../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, ^~~~~~~~~~~~~~ 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}, ^~~~~ 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 */ ^~~~~~ List.c: In function 'XawListShowCurrent': List.c:1265:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ret_val->string = ""; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-AsciiSink.lo AsciiSink.c:121:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtDefaultFont ^~~~~~~~~~~~~ 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, ^~~~~~~~~ ../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, ^~~~~~~~~~~~~~~~~~~~~ ../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, ^~~~~~~~~ AsciiSink.c:150:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "AsciiSink", /* class_name */ ^~~~~~~~~~~ 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; ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-MultiSink.lo MultiSink.c:143:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtDefaultFontSet ^~~~~~~~~~~~~~~~ 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, ^~~~~~~~~ ../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 */ ^~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-Repeater.lo Repeater.c:81:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"start", ActionStart}, ^~~~~~~ Repeater.c:82:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"stop", ActionStop}, ^~~~~~ 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/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/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/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/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/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/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, ^~~~~~~~~~~~~~~ Repeater.c:158:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Repeater", /* class_name */ ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-Porthole.lo 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 */ ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-Panner.lo 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, ^~~~~~~~~~~~~~~~~~ ../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, ^~~~~~~~~~~~~~~~~~~~ Panner.c:291:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Panner", /* class_name */ ^~~~~~~~ Panner.c: In function 'ActionSet': Panner.c:1076:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[0], XtNrubberBand, rb); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-DisplayList.lo DisplayList.c:116:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] static String xlib = "xlib"; ^~~~~~ DisplayList.c: In function 'XawCreateDisplayList': DisplayList.c:290:36: warning: format not a string literal and no format arguments [-Wformat-security] snprintf(cname, fp - fname + 1, fname); ^~~~~ DisplayList.c: In function 'XawDisplayListString': DisplayList.c:442:12: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] return (""); ^ DisplayList.c: At top level: 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}, ^~~~ DisplayList.c:1521:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"cap-style", DlCapStyle, CAPSTYLE}, ^~~~~~~~~~~ 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}, ^~~~~~~~~~~~~ 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}, ^~~~~~~~~~~~ DisplayList.c:1526:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"coord-mode", DlCoordMode, COORDMODE}, ^~~~~~~~~~~~ DisplayList.c:1527:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"copy-area", DlCopyArea, COPYAREA}, ^~~~~~~~~~~ DisplayList.c:1528:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"copy-plane", DlCopyPlane, COPYPLANE}, ^~~~~~~~~~~~ DisplayList.c:1529:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"dashes", DlDashes, DASHES}, ^~~~~~~~ DisplayList.c:1530:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"draw-arc", DlDrawArc, DARC}, ^~~~~~~~~~ DisplayList.c:1531:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"draw-line", DlLine, LINE}, ^~~~~~~~~~~ DisplayList.c:1532:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"draw-lines", DlDrawLines, DLINES}, ^~~~~~~~~~~~ DisplayList.c:1533:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"draw-point", DlDrawPoint, POINT}, ^~~~~~~~~~~~ DisplayList.c:1534:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"draw-points", DlDrawPoints, POINTS}, ^~~~~~~~~~~~~ DisplayList.c:1535:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"draw-rect", DlDrawRectangle, DRECT}, ^~~~~~~~~~~ DisplayList.c:1536:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"draw-rectangle", DlDrawRectangle, DRECT}, ^~~~~~~~~~~~~~~~ DisplayList.c:1537:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"draw-segments", DlDrawSegments, SEGMENTS}, ^~~~~~~~~~~~~~~ DisplayList.c:1538:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"draw-string", DlDrawString, DSTRING}, ^~~~~~~~~~~~~ DisplayList.c:1539:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"exposures", DlExposures, EXPOSURES}, ^~~~~~~~~~~ DisplayList.c:1540:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"fg", DlForeground, GCFG}, ^~~~ DisplayList.c:1541:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"fill-arc", DlFillArc, FARC}, ^~~~~~~~~~ DisplayList.c:1542:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"fill-poly", DlFillPolygon, FPOLY}, ^~~~~~~~~~~ DisplayList.c:1543:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"fill-polygon", DlFillPolygon, FPOLY}, ^~~~~~~~~~~~~~ DisplayList.c:1544:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"fill-rect", DlFillRectangle, FRECT}, ^~~~~~~~~~~ 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}, ^~~~~~~~~~~ DisplayList.c:1547:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"fill-style", DlFillStyle, FILLSTYLE}, ^~~~~~~~~~~~ DisplayList.c:1548:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"font", DlFont, FONT}, ^~~~~~ DisplayList.c:1549:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"foreground", DlForeground, GCFG}, ^~~~~~~~~~~~ DisplayList.c:1550:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"function", DlFunction, FUNCTION}, ^~~~~~~~~~ DisplayList.c:1551:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"image", DlImage, IMAGE}, ^~~~~~~ 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}, ^~~~~~ 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}, ^~~~~~~~~~~~ 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}, ^~~~~~~ DisplayList.c: In function '_Xaw_Xlib_ArgsInitProc': 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); ^ 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); ^ 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]); ^ 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); ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-Sme.lo 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 */ ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-Scrollbar.lo Scrollbar.c:183:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtDefaultForeground ^~~~~~~~~~~~~~~~~~~ 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, ^~~~~~~~ ../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" ^~~~~~~~~~~~~ Scrollbar.c:237:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "sb_down_arrow" ^~~~~~~~~~~~~~~ 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" ^~~~~~~~~~~~~~~~ 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, ^~~~~~~~~~~~~~~ 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}, ^~~~~~~~~~~~~~ Scrollbar.c:274:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"EndScroll", EndScroll}, ^~~~~~~~~~~ Scrollbar.c:282:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Scrollbar", /* class_name */ ^~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-MultiSrc.lo 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:142: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:143: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:144: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:151: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:152: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:160: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:161: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:180: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:181:5: note: in expansion of macro 'XtCUseStringInPlace' XtCUseStringInPlace, ^~~~~~~~~~~~~~~~~~~ MultiSrc.c:205:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "MultiSrc", /* class_name */ ^~~~~~~~~~ MultiSrc.c: In function 'InitStringOrFile': MultiSrc.c:1229: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:1582:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] buffer = XtEfile; ^ MultiSrc.c:1585: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:1588: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); ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-Simple.lo 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 */ ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-Paned.lo 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, ^~~~~~~~~~~~~~~~~~~~~~ ../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, ^~~~~~~~~~~~~~~~~~~~~~ ../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, ^~~~~~~~~~~~~ ../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, ^~~~~~~~~~~~~~~ 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, ^~~~~~~~~~~~~~~~~~~ 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, ^~~~~~~~~ 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, ^~~~~~~~~~~~~ ../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, ^~~~~~~~~~~~~~~~~~~~~ Paned.c:259:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "sb_v_double_arrow" ^~~~~~~~~~~~~~~~~~~ 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, ^~~~~~~~~~~~~~~~~~~~~~~ Paned.c:268:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "sb_h_double_arrow" ^~~~~~~~~~~~~~~~~~~ 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, ^~~~~~~~~~~~~~~~ ../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, ^~~~~~~~~~~~~~~~~~~~~~~~ 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, ^~~~~~~~~~~~~~~~~~~~~~~~~~ Paned.c:295:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "sb_up_arrow" ^~~~~~~~~~~~~ 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, ^~~~~~~~~~~~~~ Paned.c:304:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "sb_up_arrow" ^~~~~~~~~~~~~ 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, ^~~~~~~~~~~~~~ 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, ^~~~~~~~~~~~~ Paned.c:322: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: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, ^~~~~~~~~~~~~~ Paned.c:331:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "sb_right_arrow" ^~~~~~~~~~~~~~~~ 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, ^~~~~~~~~~~~~~ ../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, ^~~~~~~~~~~ ../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, ^~~~~~ ../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, ^~~~~~ ../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, ^~~~~~ ../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, ^~~~~~~~~~~~~~~~~~~~ ../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, ^~~~~~~~~~~~~~~~~~~~ ../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, ^~~~~~~~~~~~~ ../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, ^~~~~~~~~~~ Paned.c:419:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Paned", /* class name */ ^~~~~~~ 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); ^~~~~~~~ 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); ^~~~~~~~ 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); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-SmeLine.lo 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, ^~~~~~~~~~~~ ../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 */ ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-Pixmap.lo 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); ^~~~~~ 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) ~~~~~~~^~~~ Pixmap.c: In function 'XPixmapLoader': Pixmap.c:938:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {'T', "pixmaps"}, ^~~~~~~~~ : 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}, ^~~~~~~~~~~~ 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) ~~~~~~~^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-SmeBSB.lo 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 ^~~~~~~~~~~~~~~~~~~ SmeBSB.c:157:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtDefaultFont ^~~~~~~~~~~~~ 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 */ ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-SimpleMenu.lo 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/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/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/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, ^~~~~~~~~~~~~~~ ../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, ^~~~~~~~~~~~~~~ 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, ^~~~~~~~~~~~~~~ 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 */ ^~~~~~~~~~~~ SimpleMenu.c: In function 'AddPositionAction': SimpleMenu.c:1286:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"XawPositionSimpleMenu", PositionMenuAction}, ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-TextTr.lo make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-StripChart.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) ^~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-Toggle.lo 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, ^~~~~~~~~~~~ Toggle.c:117:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"toggle", Toggle}, ^~~~~~~~ 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}, ^~~~~ Toggle.c:127:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Toggle", /* class_name */ ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-Vendor.lo 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", ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-Tree.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 */ ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-Viewport.lo 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, ^~~~~~~~ Viewport.c:254:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(barArgs[3], XtNright, ^~~~~~~~ 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++; ^~~~~~~~ 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; ^~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-XawInit.lo make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-TextSink.lo 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, ^~~~~~~~~~~~~~~~~~ TextSink.c:157:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "TextSink", /* class_name */ ^~~~~~~~~~ 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); ^~~~~~~~~~~~~ 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); ^~~~~~~~~~~~~ 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); ^~~~~~~~~~~~~ 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); ^~~~~~~~~~~~~ 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); ^~~~~~~~~~~~~ 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); ^~~~~~~~~~~~~ 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); ^~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-TextPop.lo 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': ../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); ^~~~~ 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); ^~~~~~ 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", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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, ~~~~~~~^~~~ TextPop.c: At top level: TextPop.c:1478:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] static char *WM_DELETE_WINDOW = "WM_DELETE_WINDOW"; ^~~~~~~~~~~~~~~~~~ TextPop.c: In function 'SetWMProtocolTranslations': TextPop.c:1536:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] actions[0].string = "XawWMProtocols"; ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-TextSrc.lo 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"; ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-XawI18n.lo make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-Tip.lo 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); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-XawIm.lo XawIm.c:158:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] Offset (font_set), XtRString, XtDefaultFontSet ^~~~~~~~~~~~~~~~ XawIm.c: In function 'SizeNegotiation': XawIm.c:733:2: warning: 'ic_a[3]' may be used uninitialized in this function [-Wmaybe-uninitialized] XGetICValues(p->xic, ic_a[0], ic_a[1], ic_a[2], ic_a[3], NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:733:2: warning: 'ic_a[3]' may be used uninitialized in this function [-Wmaybe-uninitialized] make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-Text.lo 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, ^~~~~~~~~ Text.c:295:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "xterm" ^~~~~~~ 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, ^~~~~~~~~~~~~~~~~~ ../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, ^~~~~~~~~~~~~ ../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, ^~~~~~~~~~~~~~ ../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, ^~~~~~~~~~~ ../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); ^~~~~~ 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 */ ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CC libXaw7_la-TextAction.lo TextAction.c: In function 'MovePage': TextAction.c:837:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (ctx->text.lt.top != 0) ^~ TextAction.c:839:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ TextAction.c: In function '_DeleteOrKill': TextAction.c:1332:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] text.ptr = ""; ^ TextAction.c: In function 'StripSpaces': TextAction.c:1602:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] text.ptr = " "; ^ TextAction.c:1639:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] text.ptr = ""; ^ TextAction.c: In function 'Tabify': TextAction.c:1719:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] text.ptr = "\t"; ^ TextAction.c: In function 'Untabify': TextAction.c:1861:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] static char *tabs = " "; ^~~~~~~~~~ TextAction.c: In function 'DoFormatText': TextAction.c:2184:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] text.ptr = "\n"; ^ TextAction.c: In function 'Indent': TextAction.c:2335:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] text.ptr = ""; ^ TextAction.c: In function 'AutoFill': TextAction.c:3023:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] text.ptr = "\n"; ^ TextAction.c: In function 'StripOutOldCRs': TextAction.c:3534:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] text.ptr= " "; ^ TextAction.c: In function 'InsertNewCRs': TextAction.c:3640:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] text.ptr = "\n"; ^ TextAction.c: At top level: TextAction.c:4313:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"forward-character", MoveForwardChar}, ^~~~~~~~~~~~~~~~~~~ TextAction.c:4314:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"backward-character", MoveBackwardChar}, ^~~~~~~~~~~~~~~~~~~~ TextAction.c:4315:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"forward-word", MoveForwardWord}, ^~~~~~~~~~~~~~ TextAction.c:4316:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"backward-word", MoveBackwardWord}, ^~~~~~~~~~~~~~~ TextAction.c:4317:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"forward-paragraph", MoveForwardParagraph}, ^~~~~~~~~~~~~~~~~~~ TextAction.c:4318:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"backward-paragraph", MoveBackwardParagraph}, ^~~~~~~~~~~~~~~~~~~~ TextAction.c:4319:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"beginning-of-line", MoveToLineStart}, ^~~~~~~~~~~~~~~~~~~ TextAction.c:4320:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"end-of-line", MoveToLineEnd}, ^~~~~~~~~~~~~ TextAction.c:4321:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"next-line", MoveNextLine}, ^~~~~~~~~~~ TextAction.c:4322:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"previous-line", MovePreviousLine}, ^~~~~~~~~~~~~~~ TextAction.c:4323:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"next-page", MoveNextPage}, ^~~~~~~~~~~ TextAction.c:4324:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"previous-page", MovePreviousPage}, ^~~~~~~~~~~~~~~ TextAction.c:4325:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"beginning-of-file", MoveBeginningOfFile}, ^~~~~~~~~~~~~~~~~~~ TextAction.c:4326:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"end-of-file", MoveEndOfFile}, ^~~~~~~~~~~~~ TextAction.c:4327:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"scroll-one-line-up", ScrollOneLineUp}, ^~~~~~~~~~~~~~~~~~~~ TextAction.c:4328:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"scroll-one-line-down", ScrollOneLineDown}, ^~~~~~~~~~~~~~~~~~~~~~ TextAction.c:4331:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"delete-next-character", DeleteForwardChar}, ^~~~~~~~~~~~~~~~~~~~~~~ TextAction.c:4332:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"delete-previous-character", DeleteBackwardChar}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ TextAction.c:4333:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"delete-next-word", DeleteForwardWord}, ^~~~~~~~~~~~~~~~~~ TextAction.c:4334:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"delete-previous-word", DeleteBackwardWord}, ^~~~~~~~~~~~~~~~~~~~~~ TextAction.c:4335:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"delete-selection", DeleteCurrentSelection}, ^~~~~~~~~~~~~~~~~~ TextAction.c:4336:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"delete", Delete}, ^~~~~~~~ TextAction.c:4339:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"kill-word", KillForwardWord}, ^~~~~~~~~~~ TextAction.c:4340:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"backward-kill-word", KillBackwardWord}, ^~~~~~~~~~~~~~~~~~~~ TextAction.c:4341:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"kill-selection", KillCurrentSelection}, ^~~~~~~~~~~~~~~~ TextAction.c:4342:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"kill-to-end-of-line", KillToEndOfLine}, ^~~~~~~~~~~~~~~~~~~~~ TextAction.c:4343:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"kill-to-end-of-paragraph", KillToEndOfParagraph}, ^~~~~~~~~~~~~~~~~~~~~~~~~~ TextAction.c:4346:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"newline-and-indent", InsertNewLineAndIndent}, ^~~~~~~~~~~~~~~~~~~~ TextAction.c:4347:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"newline-and-backup", InsertNewLineAndBackup}, ^~~~~~~~~~~~~~~~~~~~ TextAction.c:4348:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"newline", InsertNewLine}, ^~~~~~~~~ TextAction.c:4351:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"select-word", SelectWord}, ^~~~~~~~~~~~~ TextAction.c:4352:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"select-all", SelectAll}, ^~~~~~~~~~~~ TextAction.c:4353:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"select-start", SelectStart}, ^~~~~~~~~~~~~~ TextAction.c:4354:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"select-adjust", SelectAdjust}, ^~~~~~~~~~~~~~~ TextAction.c:4355:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"select-end", SelectEnd}, ^~~~~~~~~~~~ TextAction.c:4356:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"select-save", SelectSave}, ^~~~~~~~~~~~~ TextAction.c:4357:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"extend-start", ExtendStart}, ^~~~~~~~~~~~~~ TextAction.c:4358:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"extend-adjust", ExtendAdjust}, ^~~~~~~~~~~~~~~ TextAction.c:4359:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"extend-end", ExtendEnd}, ^~~~~~~~~~~~ TextAction.c:4360:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"insert-selection", InsertSelection}, ^~~~~~~~~~~~~~~~~~ TextAction.c:4363:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"redraw-display", RedrawDisplay}, ^~~~~~~~~~~~~~~~ TextAction.c:4364:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"insert-file", _XawTextInsertFile}, ^~~~~~~~~~~~~ TextAction.c:4365:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"search", _XawTextSearch}, ^~~~~~~~ TextAction.c:4366:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"insert-char", InsertChar}, ^~~~~~~~~~~~~ TextAction.c:4367:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"insert-string", InsertString}, ^~~~~~~~~~~~~~~ TextAction.c:4368:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"focus-in", TextFocusIn}, ^~~~~~~~~~ TextAction.c:4369:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"focus-out", TextFocusOut}, ^~~~~~~~~~~ TextAction.c:4370:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"enter-window", TextEnterWindow}, ^~~~~~~~~~~~~~ TextAction.c:4371:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"leave-window", TextLeaveWindow}, ^~~~~~~~~~~~~~ TextAction.c:4372:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"display-caret", DisplayCaret}, ^~~~~~~~~~~~~~~ TextAction.c:4373:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"multiply", Multiply}, ^~~~~~~~~~ TextAction.c:4374:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"form-paragraph", FormParagraph}, ^~~~~~~~~~~~~~~~ TextAction.c:4375:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"transpose-characters", TransposeCharacters}, ^~~~~~~~~~~~~~~~~~~~~~ TextAction.c:4376:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"set-keyboard-focus", SetKeyboardFocus}, ^~~~~~~~~~~~~~~~~~~~ TextAction.c:4378:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"numeric", Numeric}, ^~~~~~~~~ TextAction.c:4379:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"undo", Undo}, ^~~~~~ TextAction.c:4380:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"keyboard-reset", KeyboardReset}, ^~~~~~~~~~~~~~~~ TextAction.c:4381:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"kill-ring-yank", KillRingYank}, ^~~~~~~~~~~~~~~~ TextAction.c:4382:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"toggle-overwrite", ToggleOverwrite}, ^~~~~~~~~~~~~~~~~~ TextAction.c:4383:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"indent", Indent}, ^~~~~~~~ TextAction.c:4385:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"no-op", NoOp}, ^~~~~~~ TextAction.c:4388:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"capitalize-word", CapitalizeWord}, ^~~~~~~~~~~~~~~~~ TextAction.c:4389:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"downcase-word", DowncaseWord}, ^~~~~~~~~~~~~~~ TextAction.c:4390:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"upcase-word", UpcaseWord}, ^~~~~~~~~~~~~ TextAction.c:4393:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"InsertFileAction", _XawTextInsertFileAction}, ^~~~~~~~~~~~~~~~~~ TextAction.c:4394:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"DoSearchAction", _XawTextDoSearchAction}, ^~~~~~~~~~~~~~~~ TextAction.c:4395:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"DoReplaceAction", _XawTextDoReplaceAction}, ^~~~~~~~~~~~~~~~~ TextAction.c:4396:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"SetField", _XawTextSetField}, ^~~~~~~~~~ TextAction.c:4397:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"PopdownSearchAction", _XawTextPopdownSearchAction}, ^~~~~~~~~~~~~~~~~~~~~ TextAction.c:4400:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"reconnect-im", Reconnect} /* Li Yuhong, Omron KK, 1991 */ ^~~~~~~~~~~~~~ TextAction.c: In function 'CaseProc': TextAction.c:4260:6: warning: ignoring return value of 'wctomb', declared with attribute warn_unused_result [-Wunused-result] wctomb((char*)mb, ((wchar_t*)block.ptr)[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' CCLD libXaw7.la make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' Making all in man make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/man' GEN Xaw.3 make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/man' Making all in specs make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/specs' GEN libXaw.html.db libXaw.xml:5: I/O warning : failed to load external entity "defs.ent" %defs; ^ %defs; ^ Writing libXaw.html.db for book(libXaw) make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/specs' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/specs' GEN libXaw.pdf.db libXaw.xml:5: I/O warning : failed to load external entity "defs.ent" %defs; ^ %defs; ^ Writing libXaw.pdf.db for book(libXaw) make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/specs' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/specs' GEN libXaw.html /usr/src/RPM/BUILD/libXaw-1.0.12/specs/libXaw.xml:5: I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/specs/defs.ent" %defs; ^ %defs; ^ I/O warning : failed to load external entity "/usr/share/doc/libICE/ICElib.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/ICElib.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/ICElib.html.db" warning: failed to load external entity "/usr/share/doc/libICE/ICElib.html.db" I/O warning : failed to load external entity "/usr/share/doc/libICE/ice.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/ice.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/ice.html.db" warning: failed to load external entity "/usr/share/doc/libICE/ice.html.db" I/O warning : failed to load external entity "/usr/share/doc/libSM/SMlib.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/SMlib.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/SMlib.html.db" warning: failed to load external entity "/usr/share/doc/libSM/SMlib.html.db" I/O warning : failed to load external entity "/usr/share/doc/libSM/xsmp.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/xsmp.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/xsmp.html.db" warning: failed to load external entity "/usr/share/doc/libSM/xsmp.html.db" I/O warning : failed to load external entity "/usr/share/doc/libX11/libX11/libX11.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/libX11.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/libX11.html.db" warning: failed to load external entity "/usr/share/doc/libX11/libX11/libX11.html.db" I/O warning : failed to load external entity "/usr/share/doc/libX11/i18n/compose/libX11-keys.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/libX11-keys.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/libX11-keys.html.db" warning: failed to load external entity "/usr/share/doc/libX11/i18n/compose/libX11-keys.html.db" I/O warning : failed to load external entity "/usr/share/doc/libX11/i18n/framework/framework.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/framework.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/framework.html.db" warning: failed to load external entity "/usr/share/doc/libX11/i18n/framework/framework.html.db" I/O warning : failed to load external entity "/usr/share/doc/libX11/i18n/localedb/localedb.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/localedb.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/localedb.html.db" warning: failed to load external entity "/usr/share/doc/libX11/i18n/localedb/localedb.html.db" I/O warning : failed to load external entity "/usr/share/doc/libX11/i18n/trans/trans.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/trans.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/trans.html.db" warning: failed to load external entity "/usr/share/doc/libX11/i18n/trans/trans.html.db" I/O warning : failed to load external entity "/usr/share/doc/libX11/XIM/xim.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/xim.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/xim.html.db" warning: failed to load external entity "/usr/share/doc/libX11/XIM/xim.html.db" I/O warning : failed to load external entity "/usr/share/doc/libX11/XKB/xkblib.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/xkblib.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/xkblib.html.db" warning: failed to load external entity "/usr/share/doc/libX11/XKB/xkblib.html.db" I/O warning : failed to load external entity "/usr/share/doc//libXaw/libXaw.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/libXaw.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/libXaw.html.db" warning: failed to load external entity "/usr/share/doc//libXaw/libXaw.html.db" I/O warning : failed to load external entity "/usr/share/doc//libXdmcp/xdmcp.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/xdmcp.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/xdmcp.html.db" warning: failed to load external entity "/usr/share/doc//libXdmcp/xdmcp.html.db" I/O warning : failed to load external entity "/usr/share/doc/libXext/dbelib.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/dbelib.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/dbelib.html.db" warning: failed to load external entity "/usr/share/doc/libXext/dbelib.html.db" I/O warning : failed to load external entity "/usr/share/doc/libXext/dpmslib.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/dpmslib.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/dpmslib.html.db" warning: failed to load external entity "/usr/share/doc/libXext/dpmslib.html.db" I/O warning : failed to load external entity "/usr/share/doc/libXext/shapelib.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/shapelib.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/shapelib.html.db" warning: failed to load external entity "/usr/share/doc/libXext/shapelib.html.db" I/O warning : failed to load external entity "/usr/share/doc/libXext/synclib.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/synclib.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/synclib.html.db" warning: failed to load external entity "/usr/share/doc/libXext/synclib.html.db" I/O warning : failed to load external entity "/usr/share/doc/libXext/xtest1.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/xtest1.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/xtest1.html.db" warning: failed to load external entity "/usr/share/doc/libXext/xtest1.html.db" I/O warning : failed to load external entity "/usr/share/doc/libXi/inputlib.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/inputlib.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/inputlib.html.db" warning: failed to load external entity "/usr/share/doc/libXi/inputlib.html.db" I/O warning : failed to load external entity "/usr/share/doc/libXmu/Xmu.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/Xmu.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/Xmu.html.db" warning: failed to load external entity "/usr/share/doc/libXmu/Xmu.html.db" I/O warning : failed to load external entity "/usr/share/doc/libXtst/recordlib.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/recordlib.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/recordlib.html.db" warning: failed to load external entity "/usr/share/doc/libXtst/recordlib.html.db" I/O warning : failed to load external entity "/usr/share/doc/libXtst/xtestlib.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/xtestlib.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/xtestlib.html.db" warning: failed to load external entity "/usr/share/doc/libXtst/xtestlib.html.db" I/O warning : failed to load external entity "/usr/share/doc/xtrans/xtrans.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/xtrans.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/xtrans.html.db" warning: failed to load external entity "/usr/share/doc/xtrans/xtrans.html.db" I/O warning : failed to load external entity "/usr/share/doc/bigreqsproto/bigreq.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/bigreq.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/bigreq.html.db" warning: failed to load external entity "/usr/share/doc/bigreqsproto/bigreq.html.db" I/O warning : failed to load external entity "/usr/share/doc/fontsproto/fsproto.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/fsproto.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/fsproto.html.db" warning: failed to load external entity "/usr/share/doc/fontsproto/fsproto.html.db" I/O warning : failed to load external entity "/usr/share/doc/kbproto/xkbproto.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/xkbproto.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/xkbproto.html.db" warning: failed to load external entity "/usr/share/doc/kbproto/xkbproto.html.db" I/O warning : failed to load external entity "/usr/share/doc/recordproto/record.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/record.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/record.html.db" warning: failed to load external entity "/usr/share/doc/recordproto/record.html.db" I/O warning : failed to load external entity "/usr/share/doc/scrnsaverproto/saver.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/saver.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/saver.html.db" warning: failed to load external entity "/usr/share/doc/scrnsaverproto/saver.html.db" I/O warning : failed to load external entity "/usr/share/doc/xcmiscproto/xc-misc.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/xc-misc.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/xc-misc.html.db" warning: failed to load external entity "/usr/share/doc/xcmiscproto/xc-misc.html.db" I/O warning : failed to load external entity "/usr/share/doc/xextproto/appgrp.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/appgrp.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/appgrp.html.db" warning: failed to load external entity "/usr/share/doc/xextproto/appgrp.html.db" I/O warning : failed to load external entity "/usr/share/doc/xextproto/dbe.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/dbe.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/dbe.html.db" warning: failed to load external entity "/usr/share/doc/xextproto/dbe.html.db" I/O warning : failed to load external entity "/usr/share/doc/xextproto/dpms.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/dpms.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/dpms.html.db" warning: failed to load external entity "/usr/share/doc/xextproto/dpms.html.db" I/O warning : failed to load external entity "/usr/share/doc/xextproto/evi.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/evi.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/evi.html.db" warning: failed to load external entity "/usr/share/doc/xextproto/evi.html.db" I/O warning : failed to load external entity "/usr/share/doc/xextproto/geproto.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/geproto.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/geproto.html.db" warning: failed to load external entity "/usr/share/doc/xextproto/geproto.html.db" I/O warning : failed to load external entity "/usr/share/doc/xextproto/lbx.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/lbx.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/lbx.html.db" warning: failed to load external entity "/usr/share/doc/xextproto/lbx.html.db" I/O warning : failed to load external entity "/usr/share/doc/xextproto/multibuf.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/multibuf.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/multibuf.html.db" warning: failed to load external entity "/usr/share/doc/xextproto/multibuf.html.db" I/O warning : failed to load external entity "/usr/share/doc/xextproto/security.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/security.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/security.html.db" warning: failed to load external entity "/usr/share/doc/xextproto/security.html.db" I/O warning : failed to load external entity "/usr/share/doc/xextproto/shape.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/shape.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/shape.html.db" warning: failed to load external entity "/usr/share/doc/xextproto/shape.html.db" I/O warning : failed to load external entity "/usr/share/doc/xextproto/shm.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/shm.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/shm.html.db" warning: failed to load external entity "/usr/share/doc/xextproto/shm.html.db" I/O warning : failed to load external entity "/usr/share/doc/xextproto/sync.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/sync.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/sync.html.db" warning: failed to load external entity "/usr/share/doc/xextproto/sync.html.db" I/O warning : failed to load external entity "/usr/share/doc/xextproto/tog-cup.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/tog-cup.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/tog-cup.html.db" warning: failed to load external entity "/usr/share/doc/xextproto/tog-cup.html.db" I/O warning : failed to load external entity "/usr/share/doc/xextproto/xtest.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/xtest.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/xtest.html.db" warning: failed to load external entity "/usr/share/doc/xextproto/xtest.html.db" I/O warning : failed to load external entity "/usr/share/doc/xproto/x11protocol.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/x11protocol.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/x11protocol.html.db" warning: failed to load external entity "/usr/share/doc/xproto/x11protocol.html.db" I/O warning : failed to load external entity "/usr/share/doc/xorg-docs/License.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/License.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/License.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/License.html.db" I/O warning : failed to load external entity "/usr/share/doc/xorg-docs/README.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/README.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/README.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/README.html.db" I/O warning : failed to load external entity "/usr/share/doc/xorg-docs/ReleaseNotes.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/ReleaseNotes.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/ReleaseNotes.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/ReleaseNotes.html.db" I/O warning : failed to load external entity "/usr/share/doc/xorg-docs/Versions.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/Versions.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/Versions.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/Versions.html.db" I/O warning : failed to load external entity "/usr/share/doc/xorg-docs/fonts/fonts.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/fonts.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/fonts.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/fonts/fonts.html.db" I/O warning : failed to load external entity "/usr/share/doc/xorg-docs/graphics/dps.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/dps.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/dps.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/graphics/dps.html.db" I/O warning : failed to load external entity "/usr/share/doc/xorg-docs/input/XKB-Config.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/XKB-Config.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/XKB-Config.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/input/XKB-Config.html.db" I/O warning : failed to load external entity "/usr/share/doc/xorg-docs/input/XKB-Enhancing.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/XKB-Enhancing.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/XKB-Enhancing.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/input/XKB-Enhancing.html.db" I/O warning : failed to load external entity "/usr/share/doc/xorg-docs/platforms/Darwin.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/Darwin.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/Darwin.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/platforms/Darwin.html.db" I/O warning : failed to load external entity "/usr/share/doc/xorg-docs/platforms/Solaris.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/Solaris.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/Solaris.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/platforms/Solaris.html.db" I/O warning : failed to load external entity "/usr/share/doc/xorg-docs/ctext/ctext.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/ctext.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/ctext.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/ctext/ctext.html.db" I/O warning : failed to load external entity "/usr/share/doc/xorg-docs/icccm/icccm.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/icccm.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/icccm.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/icccm/icccm.html.db" I/O warning : failed to load external entity "/usr/share/doc/xorg-docs/xext/lbxalg.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/lbxalg.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/lbxalg.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/xext/lbxalg.html.db" I/O warning : failed to load external entity "/usr/share/doc/xorg-docs/xlfd/xlfd.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/xlfd.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/xlfd.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/xlfd/xlfd.html.db" I/O warning : failed to load external entity "/usr/share/doc/xorg-docs/Xserver/appgroup.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/appgroup.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/appgroup.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/Xserver/appgroup.html.db" I/O warning : failed to load external entity "/usr/share/doc/xorg-docs/Xserver/analysis.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/analysis.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/analysis.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/Xserver/analysis.html.db" I/O warning : failed to load external entity "/usr/share/doc/xorg-docs/Xserver/secint.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/secint.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/secint.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/Xserver/secint.html.db" I/O warning : failed to load external entity "/usr/share/doc/xorg-docs/Xserver/XACE-Spec.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/XACE-Spec.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/XACE-Spec.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/Xserver/XACE-Spec.html.db" I/O warning : failed to load external entity "/usr/share/doc/xorg-server/Xserver-DTrace.html.db" I/O warning : failed to load external entity "/usr/share/sgml/X11/Xserver-DTrace.html.db" I/O warning : failed to load external entity "/usr/src/RPM/BUILD/libXaw-1.0.12/Xserver-DTrace.html.db" warning: failed to load external entity "/usr/share/doc/xorg-server/Xserver-DTrace.html.db" Error: unresolved olink: targetdoc/targetptr = 'libX11/XrmParseCommand'. Error: unresolved olink: targetdoc/targetptr = 'libX11/XClearArea'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/specs' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.17138 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/libXaw-buildroot + : + /bin/rm -rf -- /usr/src/tmp/libXaw-buildroot + cd libXaw-1.0.12 + make DESTDIR=/usr/src/tmp/libXaw-buildroot install make: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12' Making install in include make[1]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/include' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/include' make[2]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/libXaw-buildroot/usr/include/X11/Xaw' /bin/install -c -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 '/usr/src/tmp/libXaw-buildroot/usr/include/X11/Xaw' /bin/install -c -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 '/usr/src/tmp/libXaw-buildroot/usr/include/X11/Xaw' make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/include' make[1]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/include' Making install in src make[1]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' /bin/mkdir -p '/usr/src/tmp/libXaw-buildroot/usr/lib' /bin/sh ../libtool --mode=install /bin/install -c libXaw7.la '/usr/src/tmp/libXaw-buildroot/usr/lib' libtool: install: /bin/install -c .libs/libXaw7.so.7.0.0 /usr/src/tmp/libXaw-buildroot/usr/lib/libXaw7.so.7.0.0 libtool: install: (cd /usr/src/tmp/libXaw-buildroot/usr/lib && { 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 /usr/src/tmp/libXaw-buildroot/usr/lib && { 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: /bin/install -c .libs/libXaw7.lai /usr/src/tmp/libXaw-buildroot/usr/lib/libXaw7.la libtool: install: warning: remember to run `libtool --finish /usr/lib' make install-exec-hook make[3]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' rm -f /usr/src/tmp/libXaw-buildroot/usr/lib/libXaw.so.7 (cd /usr/src/tmp/libXaw-buildroot/usr/lib && ln -s libXaw7.so.7 libXaw.so.7) make[3]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/src' Making install in man make[1]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/man' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/man' make[2]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/libXaw-buildroot/usr/share/man/man3' /bin/install -c -m 644 Xaw.3 '/usr/src/tmp/libXaw-buildroot/usr/share/man/man3' make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/man' make[1]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/man' Making install in specs make[1]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/specs' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12/specs' make[2]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/libXaw-buildroot/usr/share/doc/libXaw' /bin/install -c -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 '/usr/src/tmp/libXaw-buildroot/usr/share/doc/libXaw' /bin/install -c -m 644 TextSource.xml Text.xml Toggle.xml TPage_Credits.xml Tree.xml Viewport.xml '/usr/src/tmp/libXaw-buildroot/usr/share/doc/libXaw' /bin/mkdir -p '/usr/src/tmp/libXaw-buildroot/usr/share/doc/libXaw' /bin/install -c -m 644 libXaw.html libXaw.html.db libXaw.pdf.db '/usr/src/tmp/libXaw-buildroot/usr/share/doc/libXaw' make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/specs' make[1]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12/specs' make[1]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12' make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12' make install-exec-hook make[3]: Entering directory '/usr/src/RPM/BUILD/libXaw-1.0.12' cd /usr/src/tmp/libXaw-buildroot/usr/lib && rm -f libXaw.so && ln -s libXaw7.so libXaw.so make[3]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12' /bin/mkdir -p '/usr/src/tmp/libXaw-buildroot/usr/lib/pkgconfig' /bin/install -c -m 644 xaw7.pc '/usr/src/tmp/libXaw-buildroot/usr/lib/pkgconfig' make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12' make[1]: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12' make: Leaving directory '/usr/src/RPM/BUILD/libXaw-1.0.12' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/libXaw-buildroot (auto) removed './usr/lib/libXaw7.la' mode of './usr/lib/libXaw7.so.7.0.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/libXaw-buildroot (binconfig,pkgconfig,libtool,desktop) /usr/lib/pkgconfig/xaw7.pc: Cflags: '-I${includedir}' --> '' /usr/lib/pkgconfig/xaw7.pc: Libs: '-L${libdir} -lXaw7' --> '-lXaw7' Checking contents of files in /usr/src/tmp/libXaw-buildroot/ (default) Compressing files in /usr/src/tmp/libXaw-buildroot (auto) Adjusting library links in /usr/src/tmp/libXaw-buildroot ./usr/lib: libXaw.so.7 -> libXaw7.so.7.0.0 Verifying ELF objects in /usr/src/tmp/libXaw-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/lib/libXaw7.so.7.0.0: uses non-LFS functions: creat fopen open Hardlinking identical .pyc and .pyo files Processing files: libXaw-1.0.12-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.BhhWr0 find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) lib.prov: /usr/src/tmp/libXaw-buildroot/usr/lib/libXaw.so.7: 252 symbols, 18 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.XTIxr6 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Provides: libXaw.so.7 = set:ld2dTWruVvgM9pZjI3POBcJ1nryDBRd49Sc6rqJwPqOXWvtq1PMYjcMa9wiOb9LQKmLASEYWyaPYZGed7qhrRRUFh4iRFCTrOMiqEg2aXHhJ9vkVxJXtZjhqg8cZ91PIpsEZdllKcANfdbR13jmsbFOvLMxQg9qm0MJawTe2ow9NkbVk3b5jTmMs1EDScCwXWrSDXMVO3KqPLdFkZzqvwVzSziZbpQnd0gpsDe9rOHWjipmv54Fvh6YTcyIZrs2OrZ2CZ5DS14PZwZ0aHBoZvoji1PugM8cldZ0VMGG5YRZmHQZdc8hEtJ4lxq6DIZzqG7VvQmTA4rLucrCvfXaBja2y4FC6HNS4oS1LO0ijuQU6nsC2Hum5HwCXNVyIZ8wP5oaR1SKdFCARZCNTVdoAgZtXDk1ny1whrBksQZHEquZk5jydi0H8V2YoAgsfX2uiPHomeFKQ2ZoJhPHld2CDDKW3lMo1yaHjtL2xzXXDpcCliBCx Requires: libX11.so.6 >= set:og415jxO2lMZwaW0ZLidOQZ0KddK4V4UMJbRmltE2vA9EGnkQCsN0BZph260iDZAVBg4LHDxVUqKQj9YZqxqm4NKBwtqKi39BRieW7U6wvj02DIKyqJ4DMLe0yVtRJU8rv5k3HQaNI8aVqYvk57Na609YjXHM8BfGkrkIQsfJuubVed0XH6ges4a3CdxXOj77W3uQdYE3Xl3p23K1hq60PyUv7cR6BTgeDocN3U0FQ2umwZt8baOWK6x6ANvvdtHppZ26wa2Ur7XCWO5cfomZk1Mklk3hUGpmOxjZbgTeuApMycXV5vxEY8I2AN3cLOGMF3L5XT3Ym7XjzkrHFTJn, libXext.so.6 >= set:ljxIbcv21, libXmu.so.6 >= set:lfT1AYpVO1XC92ZBVbERyThjS8ghSOw5K7eRVUbGyc3UXUlE4lXg0F5RSX3fS3fTpayOLkKIcAsMyOba1F0d6xxy9mrXtAVLwL6Zn2wsGqKuNSfr, libXpm.so.4 >= set:kjpJo, libXt.so.6 >= set:mf3seeZ9cfvyGBGNrbb4SP5mUGiVZx3XaW0rz7MwdHlStUh2JKQ1ZJjD1iI1sRuU5d9IBXTyZCIFEZvjyQcmTNk7rfBREsN1Fy4b3HV044LpDJmG9tLYypCba1KWcbBqQD0nayAhCQ0Bha5MqpukSagLEQXlbZIcpi8q3eZJTzDpPg0FeJYyMhftjVw50rfqq0NduPYZqnyf1KDsqvhHc3BFXJ8TX18Cmy1Ob3WFsd9eiDP6ahIKsfvwKTXuuolWhyNCMyJ2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ZETbRl Creating libXaw-debuginfo package Processing files: libXaw-devel-1.0.12-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.0omFsS find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.KpXPlE find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Provides: pkgconfig(xaw7) = 1.0.12 Requires: libXaw = 1.0.12-alt1, /usr/lib/libXaw7.so.7.0.0, /usr/lib/pkgconfig, libXmu-devel, libXt-devel, pkgconfig(xproto), pkgconfig(xt), xorg-proto-devel Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.TNFNHG Processing files: libXaw-debuginfo-1.0.12-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.qJOehS find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.gQ7umm find-requires: running scripts (debuginfo) Provides: debug(libXaw.so.7) Requires: libXaw = 1.0.12-alt1, debug(libX11.so.6), debug(libXext.so.6), debug(libXmu.so.6), debug(libXpm.so.4), debug(libXt.so.6), debug(libc.so.6) Removing 1 extra deps from libXaw-devel due to dependency on libXaw warning: Installed (but unpackaged) file(s) found: /usr/share/doc/libXaw/AsciiSink.xml /usr/share/doc/libXaw/AsciiSource.xml /usr/share/doc/libXaw/AsciiText.xml /usr/share/doc/libXaw/Box.xml /usr/share/doc/libXaw/CH1.xml /usr/share/doc/libXaw/CH2.xml /usr/share/doc/libXaw/CH3.xml /usr/share/doc/libXaw/CH4.xml /usr/share/doc/libXaw/CH5.xml /usr/share/doc/libXaw/CH6.xml /usr/share/doc/libXaw/CH7.xml /usr/share/doc/libXaw/Command.xml /usr/share/doc/libXaw/Dialog.xml /usr/share/doc/libXaw/Form.xml /usr/share/doc/libXaw/Grip.xml /usr/share/doc/libXaw/Label.xml /usr/share/doc/libXaw/List.xml /usr/share/doc/libXaw/MenuButton.xml /usr/share/doc/libXaw/Paned.xml /usr/share/doc/libXaw/Panner.xml /usr/share/doc/libXaw/Porthole.xml /usr/share/doc/libXaw/Repeater.xml /usr/share/doc/libXaw/Scrollbar.xml /usr/share/doc/libXaw/Simple.xml /usr/share/doc/libXaw/SimpleMenu.xml /usr/share/doc/libXaw/Sme.xml /usr/share/doc/libXaw/SmeBSB.xml /usr/share/doc/libXaw/SmeLine.xml /usr/share/doc/libXaw/StripChart.xml /usr/share/doc/libXaw/TPage_Credits.xml /usr/share/doc/libXaw/Template.xml /usr/share/doc/libXaw/Template_private_header_file.xml /usr/share/doc/libXaw/Template_public_header_file.xml /usr/share/doc/libXaw/Template_widget_source_file.xml /usr/share/doc/libXaw/Text.xml /usr/share/doc/libXaw/TextActions.xml /usr/share/doc/libXaw/TextActions_default_translation_bindings.xml /usr/share/doc/libXaw/TextActions_text_widget_actions.xml /usr/share/doc/libXaw/TextCustom.xml /usr/share/doc/libXaw/TextFuncs.xml /usr/share/doc/libXaw/TextSink.xml /usr/share/doc/libXaw/TextSource.xml /usr/share/doc/libXaw/Toggle.xml /usr/share/doc/libXaw/Tree.xml /usr/share/doc/libXaw/Viewport.xml /usr/share/doc/libXaw/libXaw.html.db /usr/share/doc/libXaw/libXaw.pdf.db /usr/share/doc/libXaw/libXaw.xml Wrote: /usr/src/RPM/RPMS/i586/libXaw-1.0.12-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/libXaw-devel-1.0.12-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/libXaw-debuginfo-1.0.12-alt1.i586.rpm 30.81user 4.15system 0:42.20elapsed 82%CPU (0avgtext+0avgdata 46616maxresident)k 0inputs+0outputs (0major+1781153minor)pagefaults 0swaps 41.69user 7.60system 0:59.21elapsed 83%CPU (0avgtext+0avgdata 120016maxresident)k 104inputs+0outputs (0major+2254847minor)pagefaults 0swaps --- libXaw-debuginfo-1.0.12-alt1.i586.rpm.repo 2014-01-30 09:03:52.000000000 +0000 +++ libXaw-debuginfo-1.0.12-alt1.i586.rpm.hasher 2019-03-11 08:04:25.803621566 +0000 @@ -7,2 +7,3 @@ /usr/src/debug/libXaw-1.0.12/include/X11/Xaw 40755 +/usr/src/debug/libXaw-1.0.12/include/X11/Xaw/AllWidgets.h 100644 /usr/src/debug/libXaw-1.0.12/include/X11/Xaw/AsciiSink.h 100644 --- libXaw-devel-1.0.12-alt1.i586.rpm.repo 2014-01-30 09:03:52.000000000 +0000 +++ libXaw-devel-1.0.12-alt1.i586.rpm.hasher 2019-03-11 08:04:25.822621375 +0000 @@ -77,3 +77,3 @@ /usr/share/doc/libXaw/libXaw.html 100644 -/usr/share/man/man3/Xaw.3.gz 100644 +/usr/share/man/man3/Xaw.3.xz 100644 Requires: libXaw = 1.0.12-alt1 @@ -84,3 +84,3 @@ Requires: pkgconfig(xt) -Requires: xorg-xproto-devel +Requires: xorg-proto-devel Requires: rpmlib(PayloadIsLzma)