<86>Apr 29 05:24:10 userdel[370492]: delete user 'rooter' <86>Apr 29 05:24:10 userdel[370492]: removed group 'rooter' owned by 'rooter' <86>Apr 29 05:24:10 userdel[370492]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 29 05:24:10 groupadd[370511]: group added to /etc/group: name=rooter, GID=645 <86>Apr 29 05:24:10 groupadd[370511]: group added to /etc/gshadow: name=rooter <86>Apr 29 05:24:10 groupadd[370511]: new group: name=rooter, GID=645 <86>Apr 29 05:24:10 useradd[370519]: new user: name=rooter, UID=645, GID=645, home=/root, shell=/bin/bash <86>Apr 29 05:24:10 userdel[370535]: delete user 'builder' <86>Apr 29 05:24:10 userdel[370535]: removed group 'builder' owned by 'builder' <86>Apr 29 05:24:10 userdel[370535]: removed shadow group 'builder' owned by 'builder' <86>Apr 29 05:24:10 groupadd[370545]: group added to /etc/group: name=builder, GID=646 <86>Apr 29 05:24:10 groupadd[370545]: group added to /etc/gshadow: name=builder <86>Apr 29 05:24:10 groupadd[370545]: new group: name=builder, GID=646 <86>Apr 29 05:24:10 useradd[370551]: new user: name=builder, UID=646, GID=646, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/libXaw-1.0.12-alt1.src.rpm: bad symbols in the license tag: / <13>Apr 29 05:24:12 rpmi: xorg-proto-devel-2020.1-alt1 sisyphus+250406.100.1.1 1587554810 installed <13>Apr 29 05:24:12 rpmi: xml-utils-1:2.9.10-alt3 sisyphus+245000.16400.79.1 1583229770 installed <13>Apr 29 05:24:12 rpmi: libICE-1.0.10-alt1 sisyphus+247690.100.1.1 1584000383 installed <13>Apr 29 05:24:12 rpmi: libSM-1.2.3-alt1 sisyphus+226734.100.2.1 1554586157 installed <13>Apr 29 05:24:12 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Apr 29 05:24:12 rpmi: libXau-devel-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Apr 29 05:24:12 rpmi: libICE-devel-1.0.10-alt1 sisyphus+247690.100.1.1 1584000383 installed <13>Apr 29 05:24:12 rpmi: libSM-devel-1.2.3-alt1 sisyphus+226734.100.2.1 1554586157 installed <13>Apr 29 05:24:12 rpmi: sgml-common-0.6.3-alt15 1423664786 installed <13>Apr 29 05:24:12 rpmi: docbook-dtds-4.5-alt1 1223476557 installed <13>Apr 29 05:24:13 rpmi: docbook-style-xsl-1.79.1-alt4 sisyphus+232871.100.1.1 1561238010 installed <13>Apr 29 05:24:13 rpmi: libpaper-1.1.26-alt1 sisyphus+221360.100.1.1 1549974198 installed <13>Apr 29 05:24:13 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521088 installed <13>Apr 29 05:24:13 rpmi: libgcrypt20-1.8.5-alt3 sisyphus+239622.100.1.1 1571746563 installed <13>Apr 29 05:24:13 rpmi: libxslt-1.1.34-alt2 sisyphus+248264.100.1.1 1584829787 installed <13>Apr 29 05:24:13 rpmi: xsltproc-1.1.34-alt2 sisyphus+248264.100.1.1 1584829787 installed <13>Apr 29 05:24:13 rpmi: libX11-locales-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>Apr 29 05:24:13 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed <13>Apr 29 05:24:13 rpmi: libxcb-1.14-alt1 sisyphus+247358.200.1.3 1583854223 installed <13>Apr 29 05:24:13 rpmi: libX11-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>Apr 29 05:24:13 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Apr 29 05:24:13 rpmi: libXt-1.2.0-alt1 sisyphus+247690.400.1.1 1584000566 installed <13>Apr 29 05:24:13 rpmi: libXmu-1.1.3-alt1 sisyphus+225206.1200.1.2 1552949629 installed <13>Apr 29 05:24:13 rpmi: libXpm-3.5.13-alt1 sisyphus+247690.300.1.1 1584000502 installed <13>Apr 29 05:24:15 rpmi: libxcb-devel-1.14-alt1 sisyphus+247358.200.1.3 1583854223 installed <13>Apr 29 05:24:15 rpmi: libX11-devel-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>Apr 29 05:24:15 rpmi: libXt-devel-1.2.0-alt1 sisyphus+247690.400.1.1 1584000566 installed <13>Apr 29 05:24:15 rpmi: libXmu-devel-1.1.3-alt1 sisyphus+225206.1200.1.2 1552949629 installed <13>Apr 29 05:24:15 rpmi: libXext-devel-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Apr 29 05:24:15 rpmi: libXpm-devel-3.5.13-alt1 sisyphus+247690.300.1.1 1584000502 installed <13>Apr 29 05:24:15 rpmi: xmlto-0.0.28-alt2 1518213369 installed <13>Apr 29 05:24:15 rpmi: xorg-util-macros-1.19.2-alt1 sisyphus+247703.100.1.1 1584005540 installed <13>Apr 29 05:24:15 rpmi: xorg-sgml-doctools-1.10-alt1 1331109847 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/libXaw-1.0.12-alt1.nosrc.rpm Installing libXaw-1.0.12-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.51578 + 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.51578 + 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_DIRS([m4])' to configure.ac, libtoolize-default: and rerunning libtoolize-default and aclocal. 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' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + sort -u + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -ri dirname -- '{}' + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --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... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for x86_64-alt-linux-gcc... x86_64-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 x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking dependency style of x86_64-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 x86_64-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 how to convert x86_64-alt-linux-gnu file names to x86_64-alt-linux-gnu format... func_convert_file_noop checking how to convert x86_64-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 x86_64-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for x86_64-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-alt-linux-strip... no checking for strip... strip checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from x86_64-alt-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... x86_64-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 x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-alt-linux-gcc static flag -static works... no checking if x86_64-alt-linux-gcc supports -c -o file.o... yes checking if x86_64-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-alt-linux-gcc linker (/usr/bin/ld -m elf_x86_64) 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 x86_64-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 x86_64-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 x86_64-alt-linux-gcc supports -Werror=unknown-warning-option... no checking if x86_64-alt-linux-gcc supports -Werror=unused-command-line-argument... no checking if x86_64-alt-linux-gcc supports -Wall... yes checking if x86_64-alt-linux-gcc supports -Wpointer-arith... yes checking if x86_64-alt-linux-gcc supports -Wmissing-declarations... yes checking if x86_64-alt-linux-gcc supports -Wformat=2... yes checking if x86_64-alt-linux-gcc supports -Wstrict-prototypes... yes checking if x86_64-alt-linux-gcc supports -Wmissing-prototypes... yes checking if x86_64-alt-linux-gcc supports -Wnested-externs... yes checking if x86_64-alt-linux-gcc supports -Wbad-function-cast... yes checking if x86_64-alt-linux-gcc supports -Wold-style-definition... yes checking if x86_64-alt-linux-gcc supports -Wdeclaration-after-statement... yes checking if x86_64-alt-linux-gcc supports -Wunused... yes checking if x86_64-alt-linux-gcc supports -Wuninitialized... yes checking if x86_64-alt-linux-gcc supports -Wshadow... yes checking if x86_64-alt-linux-gcc supports -Wmissing-noreturn... yes checking if x86_64-alt-linux-gcc supports -Wmissing-format-attribute... yes checking if x86_64-alt-linux-gcc supports -Wredundant-decls... yes checking if x86_64-alt-linux-gcc supports -Wlogical-op... yes checking if x86_64-alt-linux-gcc supports -Werror=implicit... yes checking if x86_64-alt-linux-gcc supports -Werror=nonnull... yes checking if x86_64-alt-linux-gcc supports -Werror=init-self... yes checking if x86_64-alt-linux-gcc supports -Werror=main... yes checking if x86_64-alt-linux-gcc supports -Werror=missing-braces... yes checking if x86_64-alt-linux-gcc supports -Werror=sequence-point... yes checking if x86_64-alt-linux-gcc supports -Werror=return-type... yes checking if x86_64-alt-linux-gcc supports -Werror=trigraphs... yes checking if x86_64-alt-linux-gcc supports -Werror=array-bounds... yes checking if x86_64-alt-linux-gcc supports -Werror=write-strings... yes checking if x86_64-alt-linux-gcc supports -Werror=address... yes checking if x86_64-alt-linux-gcc supports -Werror=int-to-pointer-cast... yes checking if x86_64-alt-linux-gcc supports -Werror=pointer-to-int-cast... yes checking if x86_64-alt-linux-gcc supports -pedantic... yes checking if x86_64-alt-linux-gcc supports -Werror... yes checking if x86_64-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 x86_64-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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-AllWidgets.lo `test -f 'AllWidgets.c' || echo './'`AllWidgets.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c AllWidgets.c -fPIC -DPIC -o .libs/libXaw7_la-AllWidgets.o AllWidgets.c:64:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 64 | { "applicationShell", &applicationShellWidgetClass }, | ^~~~~~~~~~~~~~~~~~ AllWidgets.c:65:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 65 | { "asciiSink", &asciiSinkObjectClass }, | ^~~~~~~~~~~ AllWidgets.c:66:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 66 | { "asciiSrc", &asciiSrcObjectClass }, | ^~~~~~~~~~ AllWidgets.c:67:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 67 | { "asciiText", &asciiTextWidgetClass }, | ^~~~~~~~~~~ AllWidgets.c:68:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 68 | { "box", &boxWidgetClass }, | ^~~~~ AllWidgets.c:69:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 69 | { "command", &commandWidgetClass }, | ^~~~~~~~~ AllWidgets.c:70:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 70 | { "composite", &compositeWidgetClass }, | ^~~~~~~~~~~ AllWidgets.c:71:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 71 | { "constraint", &constraintWidgetClass }, | ^~~~~~~~~~~~ AllWidgets.c:72:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 72 | { "core", &coreWidgetClass }, | ^~~~~~ AllWidgets.c:73:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 73 | { "dialog", &dialogWidgetClass }, | ^~~~~~~~ AllWidgets.c:74:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 74 | { "form", &formWidgetClass }, | ^~~~~~ AllWidgets.c:75:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 75 | { "grip", &gripWidgetClass }, | ^~~~~~ AllWidgets.c:76:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 76 | { "label", &labelWidgetClass }, | ^~~~~~~ AllWidgets.c:77:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 77 | { "list", &listWidgetClass }, | ^~~~~~ AllWidgets.c:78:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 78 | { "menuButton", &menuButtonWidgetClass }, | ^~~~~~~~~~~~ AllWidgets.c:79:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 79 | { "multiSink", &multiSinkObjectClass }, | ^~~~~~~~~~~ AllWidgets.c:80:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 80 | { "multiSrc", &multiSrcObjectClass }, | ^~~~~~~~~~ AllWidgets.c:81:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | { "object", &objectClass }, | ^~~~~~~~ AllWidgets.c:82:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 82 | { "overrideShell", &overrideShellWidgetClass }, | ^~~~~~~~~~~~~~~ AllWidgets.c:83:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | { "paned", &panedWidgetClass }, | ^~~~~~~ AllWidgets.c:84:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 84 | { "panner", &pannerWidgetClass }, | ^~~~~~~~ AllWidgets.c:85:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 85 | { "porthole", &portholeWidgetClass }, | ^~~~~~~~~~ AllWidgets.c:86:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 86 | { "rect", &rectObjClass }, | ^~~~~~ AllWidgets.c:87:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 87 | { "repeater", &repeaterWidgetClass }, | ^~~~~~~~~~ AllWidgets.c:88:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 88 | { "scrollbar", &scrollbarWidgetClass }, | ^~~~~~~~~~~ AllWidgets.c:89:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 89 | { "shell", &shellWidgetClass }, | ^~~~~~~ AllWidgets.c:90:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 90 | { "simpleMenu", &simpleMenuWidgetClass }, | ^~~~~~~~~~~~ AllWidgets.c:91:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | { "simple", &simpleWidgetClass }, | ^~~~~~~~ AllWidgets.c:92:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 92 | { "smeBSB", &smeBSBObjectClass }, | ^~~~~~~~ AllWidgets.c:93:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 93 | { "smeLine", &smeLineObjectClass }, | ^~~~~~~~~ AllWidgets.c:94:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | { "sme", &smeObjectClass }, | ^~~~~ AllWidgets.c:95:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | { "stripChart", &stripChartWidgetClass }, | ^~~~~~~~~~~~ AllWidgets.c:96:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | { "textSink", &textSinkObjectClass }, | ^~~~~~~~~~ AllWidgets.c:97:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | { "textSrc", &textSrcObjectClass }, | ^~~~~~~~~ AllWidgets.c:98:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | { "text", &textWidgetClass }, | ^~~~~~ AllWidgets.c:99:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 99 | { "toggle", &toggleWidgetClass }, | ^~~~~~~~ AllWidgets.c:100:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 100 | { "topLevelShell", &topLevelShellWidgetClass }, | ^~~~~~~~~~~~~~~ AllWidgets.c:101:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | { "transientShell", &transientShellWidgetClass }, | ^~~~~~~~~~~~~~~~ AllWidgets.c:102:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | { "tree", &treeWidgetClass }, | ^~~~~~ AllWidgets.c:103:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | { "vendorShell", &vendorShellWidgetClass }, | ^~~~~~~~~~~~~ AllWidgets.c:104:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | { "viewport", &viewportWidgetClass }, | ^~~~~~~~~~ AllWidgets.c:105:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 105 | { "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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-Box.lo `test -f 'Box.c' || echo './'`Box.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c Box.c -fPIC -DPIC -o .libs/libXaw7_la-Box.o Box.c:88:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 88 | {"set-values", XawSetValuesAction}, | ^~~~~~~~~~~~ Box.c:89:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 89 | {"get-values", XawGetValuesAction}, | ^~~~~~~~~~~~ Box.c:90:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 90 | {"declare", XawDeclareAction}, | ^~~~~~~~~ Box.c:91:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | {"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] 84 | #define XawNdisplayList "displayList" | ^~~~~~~~~~~~~ Box.c:125:5: note: in expansion of macro 'XawNdisplayList' 125 | XawNdisplayList, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Box.h:88:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 88 | #define XawCDisplayList "DisplayList" | ^~~~~~~~~~~~~ Box.c:126:5: note: in expansion of macro 'XawCDisplayList' 126 | XawCDisplayList, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Box.h:92:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 92 | #define XawRDisplayList "XawDisplayList" | ^~~~~~~~~~~~~~~~ Box.c:127:5: note: in expansion of macro 'XawRDisplayList' 127 | XawRDisplayList, | ^~~~~~~~~~~~~~~ Box.c:140:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 140 | "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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-Dialog.lo `test -f 'Dialog.c' || echo './'`Dialog.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c Dialog.c -fPIC -DPIC -o .libs/libXaw7_la-Dialog.o 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] 74 | #define XtNicon "icon" | ^~~~~~ Dialog.c:110:5: note: in expansion of macro 'XtNicon' 110 | XtNicon, | ^~~~~~~ ../include/X11/Xaw/Dialog.h:73:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 73 | #define XtCIcon "Icon" | ^~~~~~ Dialog.c:111:5: note: in expansion of macro 'XtCIcon' 111 | XtCIcon, | ^~~~~~~ Dialog.c:124:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 124 | "Dialog", /* class_name */ | ^~~~~~~~ Dialog.c: In function 'XawDialogInitialize': Dialog.c:199:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 199 | XtSetArg(arglist[arg_cnt], XtNleft, XtChainLeft); arg_cnt++; | ^~~~~~~~ Dialog.c:203:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 203 | XtSetArg(arglist[arg_cnt], XtNright, XtChainLeft); arg_cnt++; | ^~~~~~~~ Dialog.c:207:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 207 | 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] 213 | 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] 295 | XtSetArg(args[2], XtNleft, XtChainLeft); | ^~~~~~~~ Dialog.c:296:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 296 | 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] 398 | XtSetArg(arglist[num_args], XtNresizable, True); num_args++; | ^~~~~~~~ Dialog.c:400:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 400 | 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] 401 | XtSetArg(arglist[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ Dialog.c:402:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 402 | 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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-Converters.lo `test -f 'Converters.c' || echo './'`Converters.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c Converters.c -fPIC -DPIC -o .libs/libXaw7_la-Converters.o Converters.c:138:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 138 | static String XtCToolkitError = "ToolkitError"; | ^~~~~~~~~~~~~~ Converters.c:139:36: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 139 | static String XtNconversionError = "conversionError"; | ^~~~~~~~~~~~~~~~~ Converters.c:142:36: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 142 | 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] 350 | TypeToStringNoArgsWarning(dpy, "CARD32"); | ^~~~~~~~ Converters.c:231:48: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 231 | 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] 401 | 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] 101 | #define XawRDisplayList "XawDisplayList" | ^~~~~~~~~~~~~~~~ Converters.c:577:36: note: in expansion of macro 'XawRDisplayList' 577 | TypeToStringNoArgsWarning(dpy, XawRDisplayList); | ^~~~~~~~~~~~~~~ Converters.c:231:48: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 231 | 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] 673 | buffer = "None"; | ^ Converters.c:676:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 676 | buffer = "ParentRelative"; | ^ Converters.c:679:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 679 | 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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-AsciiText.lo `test -f 'AsciiText.c' || echo './'`AsciiText.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c AsciiText.c -fPIC -DPIC -o .libs/libXaw7_la-AsciiText.o AsciiText.c:96:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | "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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-Command.lo `test -f 'Command.c' || echo './'`Command.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c Command.c -fPIC -DPIC -o .libs/libXaw7_la-Command.o 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] 98 | #define XtNhighlightThickness "highlightThickness" | ^~~~~~~~~~~~~~~~~~~~ Command.c:124:5: note: in expansion of macro 'XtNhighlightThickness' 124 | XtNhighlightThickness, | ^~~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Command.h:100:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 100 | #define XtNshapeStyle "shapeStyle" | ^~~~~~~~~~~~ Command.c:133:5: note: in expansion of macro 'XtNshapeStyle' 133 | XtNshapeStyle, | ^~~~~~~~~~~~~ ../include/X11/Xaw/Command.h:101:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | #define XtCShapeStyle "ShapeStyle" | ^~~~~~~~~~~~ Command.c:134:5: note: in expansion of macro 'XtCShapeStyle' 134 | XtCShapeStyle, | ^~~~~~~~~~~~~ ../include/X11/Xaw/Command.h:102:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | #define XtRShapeStyle "ShapeStyle" | ^~~~~~~~~~~~ Command.c:135:5: note: in expansion of macro 'XtRShapeStyle' 135 | XtRShapeStyle, | ^~~~~~~~~~~~~ ../include/X11/Xaw/Command.h:103:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | #define XtNcornerRoundPercent "cornerRoundPercent" | ^~~~~~~~~~~~~~~~~~~~ Command.c:142:5: note: in expansion of macro 'XtNcornerRoundPercent' 142 | XtNcornerRoundPercent, | ^~~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Command.h:104:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | #define XtCCornerRoundPercent "CornerRoundPercent" | ^~~~~~~~~~~~~~~~~~~~ Command.c:143:5: note: in expansion of macro 'XtCCornerRoundPercent' 143 | XtCCornerRoundPercent, | ^~~~~~~~~~~~~~~~~~~~~ Command.c:154:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 154 | {"set", Set}, | ^~~~~ Command.c:155:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 155 | {"notify", Notify}, | ^~~~~~~~ Command.c:156:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 156 | {"highlight", Highlight}, | ^~~~~~~~~~~ Command.c:157:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 157 | {"reset", Reset}, | ^~~~~~~ Command.c:158:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 158 | {"unset", Unset}, | ^~~~~~~ Command.c:159:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 159 | {"unhighlight", Unhighlight} | ^~~~~~~~~~~~~ Command.c:168:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 168 | "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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-Grip.lo `test -f 'Grip.c' || echo './'`Grip.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c Grip.c -fPIC -DPIC -o .libs/libXaw7_la-Grip.o Grip.c:95:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | XtDefaultForeground | ^~~~~~~~~~~~~~~~~~~ Grip.c:119:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 119 | {"GripAction", GripAction}, | ^~~~~~~~~~~~ Grip.c:128:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 128 | "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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-AsciiSrc.lo `test -f 'AsciiSrc.c' || echo './'`AsciiSrc.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c AsciiSrc.c -fPIC -DPIC -o .libs/libXaw7_la-AsciiSrc.o 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] 90 | #define XtNtype "type" | ^~~~~~ AsciiSrc.c:136:5: note: in expansion of macro 'XtNtype' 136 | XtNtype, | ^~~~~~~ ../include/X11/Xaw/MultiSrc.h:85:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 85 | #define XtCType "Type" | ^~~~~~ AsciiSrc.c:137:5: note: in expansion of macro 'XtCType' 137 | 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] 82 | #define XtRAsciiType "AsciiType" | ^~~~~~~~~~~ AsciiSrc.c:138:5: note: in expansion of macro 'XtRAsciiType' 138 | 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] 88 | #define XtNdataCompression "dataCompression" | ^~~~~~~~~~~~~~~~~ AsciiSrc.c:145:5: note: in expansion of macro 'XtNdataCompression' 145 | XtNdataCompression, | ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/MultiSrc.h:83:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | #define XtCDataCompression "DataCompression" | ^~~~~~~~~~~~~~~~~ AsciiSrc.c:146:5: note: in expansion of macro 'XtCDataCompression' 146 | XtCDataCompression, | ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/MultiSrc.h:89:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 89 | #define XtNpieceSize "pieceSize" | ^~~~~~~~~~~ AsciiSrc.c:154:5: note: in expansion of macro 'XtNpieceSize' 154 | XtNpieceSize, | ^~~~~~~~~~~~ ../include/X11/Xaw/MultiSrc.h:84:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 84 | #define XtCPieceSize "PieceSize" | ^~~~~~~~~~~ AsciiSrc.c:155:5: note: in expansion of macro 'XtCPieceSize' 155 | XtCPieceSize, | ^~~~~~~~~~~~ ../include/X11/Xaw/MultiSrc.h:91:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | #define XtNuseStringInPlace "useStringInPlace" | ^~~~~~~~~~~~~~~~~~ AsciiSrc.c:174:5: note: in expansion of macro 'XtNuseStringInPlace' 174 | XtNuseStringInPlace, | ^~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/MultiSrc.h:86:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 86 | #define XtCUseStringInPlace "UseStringInPlace" | ^~~~~~~~~~~~~~~~~~ AsciiSrc.c:175:5: note: in expansion of macro 'XtCUseStringInPlace' 175 | XtCUseStringInPlace, | ^~~~~~~~~~~~~~~~~~~ AsciiSrc.c:211:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 211 | "AsciiSrc", /* class_name */ | ^~~~~~~~~~ AsciiSrc.c: In function 'ReadText': AsciiSrc.c:400:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 400 | text->ptr = ""; | ^ AsciiSrc.c: In function 'InitStringOrFile': AsciiSrc.c:1460:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1460 | 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] 1753 | buffer = XtEfile; | ^ AsciiSrc.c:1756:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1756 | 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] 82 | #define XtRAsciiType "AsciiType" | ^~~~~~~~~~~ AsciiSrc.c:1759:34: note: in expansion of macro 'XtRAsciiType' 1759 | 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 *' 147 | 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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-Actions.lo `test -f 'Actions.c' || echo './'`Actions.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c Actions.c -fPIC -DPIC -o .libs/libXaw7_la-Actions.o 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] 160 | 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] 415 | 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 *' 75 | 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] 507 | 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 *' 75 | 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] 533 | 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 *' 75 | 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] 554 | 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 *' 75 | 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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-MenuButton.lo `test -f 'MenuButton.c' || echo './'`MenuButton.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c MenuButton.c -fPIC -DPIC -o .libs/libXaw7_la-MenuButton.o 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] 81 | #define XtNmenuName "menuName" | ^~~~~~~~~~ MenuButton.c:77:5: note: in expansion of macro 'XtNmenuName' 77 | XtNmenuName, | ^~~~~~~~~~~ ../include/X11/Xaw/MenuButton.h:82:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 82 | #define XtCMenuName "MenuName" | ^~~~~~~~~~ MenuButton.c:78:5: note: in expansion of macro 'XtCMenuName' 78 | XtCMenuName, | ^~~~~~~~~~~ MenuButton.c:90:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 90 | {"PopupMenu", PopupMenu}, | ^~~~~~~~~~~ MenuButton.c:97:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | "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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-Form.lo `test -f 'Form.c' || echo './'`Form.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c Form.c -fPIC -DPIC -o .libs/libXaw7_la-Form.o Form.c:99:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 99 | {"set-values", XawSetValuesAction}, | ^~~~~~~~~~~~ Form.c:100:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 100 | {"get-values", XawGetValuesAction}, | ^~~~~~~~~~~~ Form.c:101:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | {"declare", XawDeclareAction}, | ^~~~~~~~~ Form.c:102:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | {"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] 94 | #define XtNdefaultDistance "defaultDistance" | ^~~~~~~~~~~~~~~~~ Form.c:112:5: note: in expansion of macro 'XtNdefaultDistance' 112 | XtNdefaultDistance, | ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Form.h:136:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 136 | #define XawNdisplayList "displayList" | ^~~~~~~~~~~~~ Form.c:122:5: note: in expansion of macro 'XawNdisplayList' 122 | XawNdisplayList, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Form.h:140:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 140 | #define XawCDisplayList "DisplayList" | ^~~~~~~~~~~~~ Form.c:123:5: note: in expansion of macro 'XawCDisplayList' 123 | XawCDisplayList, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Form.h:144:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 144 | #define XawRDisplayList "XawDisplayList" | ^~~~~~~~~~~~~~~~ Form.c:124:5: note: in expansion of macro 'XawRDisplayList' 124 | XawRDisplayList, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Form.h:104:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | #define XtCEdge "Edge" | ^~~~~~ Form.c:140:5: note: in expansion of macro 'XtCEdge' 140 | 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] 60 | #define XtREdgeType "EdgeType" | ^~~~~~~~~~ Form.c:141:5: note: in expansion of macro 'XtREdgeType' 141 | 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] 95 | #define XtNbottom "bottom" | ^~~~~~~~ Form.c:148:5: note: in expansion of macro 'XtNbottom' 148 | XtNbottom, | ^~~~~~~~~ ../include/X11/Xaw/Form.h:104:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | #define XtCEdge "Edge" | ^~~~~~ Form.c:149:5: note: in expansion of macro 'XtCEdge' 149 | 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] 60 | #define XtREdgeType "EdgeType" | ^~~~~~~~~~ Form.c:150:5: note: in expansion of macro 'XtREdgeType' 150 | 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] 96 | #define XtNleft "left" | ^~~~~~ Form.c:157:5: note: in expansion of macro 'XtNleft' 157 | XtNleft, | ^~~~~~~ ../include/X11/Xaw/Form.h:104:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | #define XtCEdge "Edge" | ^~~~~~ Form.c:158:5: note: in expansion of macro 'XtCEdge' 158 | 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] 60 | #define XtREdgeType "EdgeType" | ^~~~~~~~~~ Form.c:159:5: note: in expansion of macro 'XtREdgeType' 159 | 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] 97 | #define XtNright "right" | ^~~~~~~ Form.c:166:5: note: in expansion of macro 'XtNright' 166 | XtNright, | ^~~~~~~~ ../include/X11/Xaw/Form.h:104:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | #define XtCEdge "Edge" | ^~~~~~ Form.c:167:5: note: in expansion of macro 'XtCEdge' 167 | 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] 60 | #define XtREdgeType "EdgeType" | ^~~~~~~~~~ Form.c:168:5: note: in expansion of macro 'XtREdgeType' 168 | 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] 100 | #define XtNhorizDistance "horizDistance" | ^~~~~~~~~~~~~~~ Form.c:175:5: note: in expansion of macro 'XtNhorizDistance' 175 | XtNhorizDistance, | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw/Form.h:98:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | #define XtNfromHoriz "fromHoriz" | ^~~~~~~~~~~ Form.c:184:5: note: in expansion of macro 'XtNfromHoriz' 184 | XtNfromHoriz, | ^~~~~~~~~~~~ ../include/X11/Xaw/Form.h:105:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 105 | #define XtCWidget "Widget" | ^~~~~~~~ Form.c:185:5: note: in expansion of macro 'XtCWidget' 185 | XtCWidget, | ^~~~~~~~~ ../include/X11/Xaw/Form.h:101:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | #define XtNvertDistance "vertDistance" | ^~~~~~~~~~~~~~ Form.c:193:5: note: in expansion of macro 'XtNvertDistance' 193 | XtNvertDistance, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Form.h:99:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 99 | #define XtNfromVert "fromVert" | ^~~~~~~~~~ Form.c:202:5: note: in expansion of macro 'XtNfromVert' 202 | XtNfromVert, | ^~~~~~~~~~~ ../include/X11/Xaw/Form.h:105:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 105 | #define XtCWidget "Widget" | ^~~~~~~~ Form.c:203:5: note: in expansion of macro 'XtCWidget' 203 | XtCWidget, | ^~~~~~~~~ ../include/X11/Xaw/Form.h:102:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | #define XtNresizable "resizable" | ^~~~~~~~~~~ Form.c:211:5: note: in expansion of macro 'XtNresizable' 211 | XtNresizable, | ^~~~~~~~~~~~ Form.c:226:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 226 | "Form", /* class_name */ | ^~~~~~ Form.c: In function 'CvtEdgeTypeToString': Form.c:366:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 366 | buffer = XtEchainLeft; | ^ Form.c:369:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 369 | buffer = XtEchainRight; | ^ Form.c:372:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 372 | buffer = XtEchainTop; | ^ Form.c:375:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 375 | buffer = XtEchainBottom; | ^ Form.c:378:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 378 | 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] 60 | #define XtREdgeType "EdgeType" | ^~~~~~~~~~ Form.c:381:34: note: in expansion of macro 'XtREdgeType' 381 | 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 *' 147 | 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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-Label.lo `test -f 'Label.c' || echo './'`Label.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c Label.c -fPIC -DPIC -o .libs/libXaw7_la-Label.o Label.c:103:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | XtDefaultForeground | ^~~~~~~~~~~~~~~~~~~ Label.c:112:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 112 | XtDefaultFont | ^~~~~~~~~~~~~ Label.c:121:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 121 | 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] 94 | #define XtNencoding "encoding" | ^~~~~~~~~~ Label.c:133:5: note: in expansion of macro 'XtNencoding' 133 | XtNencoding, | ^~~~~~~~~~~ ../include/X11/Xaw/Label.h:95:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | #define XtCEncoding "Encoding" | ^~~~~~~~~~ Label.c:134:5: note: in expansion of macro 'XtCEncoding' 134 | XtCEncoding, | ^~~~~~~~~~~ ../include/X11/Xaw/Label.h:92:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 92 | #define XtNleftBitmap "leftBitmap" | ^~~~~~~~~~~~ Label.c:169:5: note: in expansion of macro 'XtNleftBitmap' 169 | XtNleftBitmap, | ^~~~~~~~~~~~~ ../include/X11/Xaw/Label.h:93:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 93 | #define XtCLeftBitmap "LeftBitmap" | ^~~~~~~~~~~~ Label.c:170:5: note: in expansion of macro 'XtCLeftBitmap' 170 | XtCLeftBitmap, | ^~~~~~~~~~~~~ ../include/X11/Xaw/Label.h:118:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 118 | #define XtNlabelX "labelX" | ^~~~~~~~ Label.c:196:5: note: in expansion of macro 'XtNlabelX' 196 | XtNlabelX, | ^~~~~~~~~ ../include/X11/Xaw/Label.h:122:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 122 | #define XtNlabelY "labelY" | ^~~~~~~~ Label.c:205:5: note: in expansion of macro 'XtNlabelY' 205 | XtNlabelY, | ^~~~~~~~~ Label.c:221:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 221 | "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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-MultiSrc.lo `test -f 'MultiSrc.c' || echo './'`MultiSrc.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c MultiSrc.c -fPIC -DPIC -o .libs/libXaw7_la-MultiSrc.o 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] 90 | #define XtNtype "type" | ^~~~~~ MultiSrc.c:142:5: note: in expansion of macro 'XtNtype' 142 | XtNtype, | ^~~~~~~ ../include/X11/Xaw/MultiSrc.h:85:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 85 | #define XtCType "Type" | ^~~~~~ MultiSrc.c:143:5: note: in expansion of macro 'XtCType' 143 | XtCType, | ^~~~~~~ ../include/X11/Xaw/MultiSrc.h:93:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 93 | #define XtRMultiType "MultiType" | ^~~~~~~~~~~ MultiSrc.c:144:5: note: in expansion of macro 'XtRMultiType' 144 | XtRMultiType, | ^~~~~~~~~~~~ ../include/X11/Xaw/MultiSrc.h:88:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 88 | #define XtNdataCompression "dataCompression" | ^~~~~~~~~~~~~~~~~ MultiSrc.c:151:5: note: in expansion of macro 'XtNdataCompression' 151 | XtNdataCompression, | ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/MultiSrc.h:83:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | #define XtCDataCompression "DataCompression" | ^~~~~~~~~~~~~~~~~ MultiSrc.c:152:5: note: in expansion of macro 'XtCDataCompression' 152 | XtCDataCompression, | ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/MultiSrc.h:89:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 89 | #define XtNpieceSize "pieceSize" | ^~~~~~~~~~~ MultiSrc.c:160:5: note: in expansion of macro 'XtNpieceSize' 160 | XtNpieceSize, | ^~~~~~~~~~~~ ../include/X11/Xaw/MultiSrc.h:84:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 84 | #define XtCPieceSize "PieceSize" | ^~~~~~~~~~~ MultiSrc.c:161:5: note: in expansion of macro 'XtCPieceSize' 161 | XtCPieceSize, | ^~~~~~~~~~~~ ../include/X11/Xaw/MultiSrc.h:91:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | #define XtNuseStringInPlace "useStringInPlace" | ^~~~~~~~~~~~~~~~~~ MultiSrc.c:180:5: note: in expansion of macro 'XtNuseStringInPlace' 180 | XtNuseStringInPlace, | ^~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/MultiSrc.h:86:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 86 | #define XtCUseStringInPlace "UseStringInPlace" | ^~~~~~~~~~~~~~~~~~ MultiSrc.c:181:5: note: in expansion of macro 'XtCUseStringInPlace' 181 | XtCUseStringInPlace, | ^~~~~~~~~~~~~~~~~~~ MultiSrc.c:205:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 205 | "MultiSrc", /* class_name */ | ^~~~~~~~~~ MultiSrc.c: In function 'InitStringOrFile': MultiSrc.c:1229:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1229 | 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] 1582 | buffer = XtEfile; | ^ MultiSrc.c:1585:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1585 | 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] 82 | #define XtRAsciiType "AsciiType" | ^~~~~~~~~~~ MultiSrc.c:1588:34: note: in expansion of macro 'XtRAsciiType' 1588 | 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 *' 147 | 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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-OS.lo `test -f 'OS.c' || echo './'`OS.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c OS.c -fPIC -DPIC -o .libs/libXaw7_la-OS.o 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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-List.lo `test -f 'List.c' || echo './'`List.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c List.c -fPIC -DPIC -o .libs/libXaw7_la-List.o List.c:108:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 108 | 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] 116 | #define XtNcursor "cursor" | ^~~~~~~~ List.c:111:5: note: in expansion of macro 'XtNcursor' 111 | XtNcursor, | ^~~~~~~~~ List.c:117:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 117 | "left_ptr" | ^~~~~~~~~~ List.c:126:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 126 | XtDefaultFont | ^~~~~~~~~~~~~ List.c:135:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 135 | 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] 120 | #define XtNlist "list" | ^~~~~~ List.c:138:5: note: in expansion of macro 'XtNlist' 138 | XtNlist, | ^~~~~~~ ../include/X11/Xaw/List.h:110:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 110 | #define XtCList "List" | ^~~~~~ List.c:139:5: note: in expansion of macro 'XtCList' 139 | XtCList, | ^~~~~~~ ../include/X11/Xaw/List.h:118:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 118 | #define XtNdefaultColumns "defaultColumns" | ^~~~~~~~~~~~~~~~ List.c:151:5: note: in expansion of macro 'XtNdefaultColumns' 151 | XtNdefaultColumns, | ^~~~~~~~~~~~~~~~~ ../include/X11/Xaw/List.h:112:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 112 | #define XtCColumns "Columns" | ^~~~~~~~~ List.c:152:5: note: in expansion of macro 'XtCColumns' 152 | XtCColumns, | ^~~~~~~~~~ ../include/X11/Xaw/List.h:121:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 121 | #define XtNlongest "longest" | ^~~~~~~~~ List.c:160:5: note: in expansion of macro 'XtNlongest' 160 | XtNlongest, | ^~~~~~~~~~ ../include/X11/Xaw/List.h:113:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 113 | #define XtCLongest "Longest" | ^~~~~~~~~ List.c:161:5: note: in expansion of macro 'XtCLongest' 161 | XtCLongest, | ^~~~~~~~~~ ../include/X11/Xaw/List.h:122:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 122 | #define XtNnumberStrings "numberStrings" | ^~~~~~~~~~~~~~~ List.c:169:5: note: in expansion of macro 'XtNnumberStrings' 169 | XtNnumberStrings, | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw/List.h:114:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 114 | #define XtCNumberStrings "NumberStrings" | ^~~~~~~~~~~~~~~ List.c:170:5: note: in expansion of macro 'XtCNumberStrings' 170 | XtCNumberStrings, | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw/List.h:123:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 123 | #define XtNpasteBuffer "pasteBuffer" | ^~~~~~~~~~~~~ List.c:178:5: note: in expansion of macro 'XtNpasteBuffer' 178 | XtNpasteBuffer, | ^~~~~~~~~~~~~~ ../include/X11/Xaw/List.h:119:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 119 | #define XtNforceColumns "forceColumns" | ^~~~~~~~~~~~~~ List.c:187:5: note: in expansion of macro 'XtNforceColumns' 187 | XtNforceColumns, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/List.h:112:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 112 | #define XtCColumns "Columns" | ^~~~~~~~~ List.c:188:5: note: in expansion of macro 'XtCColumns' 188 | XtCColumns, | ^~~~~~~~~~ ../include/X11/Xaw/List.h:125:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 125 | #define XtNverticalList "verticalList" | ^~~~~~~~~~~~~~ List.c:196:5: note: in expansion of macro 'XtNverticalList' 196 | XtNverticalList, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/List.h:117:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 117 | #define XtNcolumnSpacing "columnSpacing" | ^~~~~~~~~~~~~~~ List.c:223:5: note: in expansion of macro 'XtNcolumnSpacing' 223 | XtNcolumnSpacing, | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw/List.h:111:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 111 | #define XtCSpacing "Spacing" | ^~~~~~~~~ List.c:224:5: note: in expansion of macro 'XtCSpacing' 224 | XtCSpacing, | ^~~~~~~~~~ ../include/X11/Xaw/List.h:124:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 124 | #define XtNrowSpacing "rowSpacing" | ^~~~~~~~~~~~ List.c:232:5: note: in expansion of macro 'XtNrowSpacing' 232 | XtNrowSpacing, | ^~~~~~~~~~~~~ ../include/X11/Xaw/List.h:111:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 111 | #define XtCSpacing "Spacing" | ^~~~~~~~~ List.c:233:5: note: in expansion of macro 'XtCSpacing' 233 | XtCSpacing, | ^~~~~~~~~~ ../include/X11/Xaw/List.h:126:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 126 | #define XtNshowCurrent "showCurrent" | ^~~~~~~~~~~~~ List.c:251:5: note: in expansion of macro 'XtNshowCurrent' 251 | XtNshowCurrent, | ^~~~~~~~~~~~~~ List.c:264:8: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 264 | {"Notify", Notify}, | ^~~~~~~~ List.c:265:8: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | {"Set", Set}, | ^~~~~ List.c:266:8: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 266 | {"Unset", Unset}, | ^~~~~~~ List.c:274:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 274 | "List", /* class_name */ | ^~~~~~ List.c: In function 'XawListShowCurrent': List.c:1265:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1265 | 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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-DisplayList.lo `test -f 'DisplayList.c' || echo './'`DisplayList.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c DisplayList.c -fPIC -DPIC -o .libs/libXaw7_la-DisplayList.o DisplayList.c:116:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 116 | 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] 290 | 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] 442 | return (""); | ^ DisplayList.c: At top level: DisplayList.c:1518:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1518 | {"arc-mode", DlArcMode, ARCMODE}, | ^~~~~~~~~~ DisplayList.c:1519:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1519 | {"background", DlBackground, GCBG}, | ^~~~~~~~~~~~ DisplayList.c:1520:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1520 | {"bg", DlBackground, GCBG}, | ^~~~ DisplayList.c:1521:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1521 | {"cap-style", DlCapStyle, CAPSTYLE}, | ^~~~~~~~~~~ DisplayList.c:1522:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1522 | {"clip-mask", DlClipMask, CLIPMASK}, | ^~~~~~~~~~~ DisplayList.c:1523:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1523 | {"clip-origin", DlClipOrigin, CLIPORIGIN}, | ^~~~~~~~~~~~~ DisplayList.c:1524:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1524 | {"clip-rectangles", DlClipRectangles, CLIPRECTS}, | ^~~~~~~~~~~~~~~~~ DisplayList.c:1525:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1525 | {"clip-rects", DlClipRectangles, CLIPRECTS}, | ^~~~~~~~~~~~ DisplayList.c:1526:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1526 | {"coord-mode", DlCoordMode, COORDMODE}, | ^~~~~~~~~~~~ DisplayList.c:1527:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1527 | {"copy-area", DlCopyArea, COPYAREA}, | ^~~~~~~~~~~ DisplayList.c:1528:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1528 | {"copy-plane", DlCopyPlane, COPYPLANE}, | ^~~~~~~~~~~~ DisplayList.c:1529:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1529 | {"dashes", DlDashes, DASHES}, | ^~~~~~~~ DisplayList.c:1530:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1530 | {"draw-arc", DlDrawArc, DARC}, | ^~~~~~~~~~ DisplayList.c:1531:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1531 | {"draw-line", DlLine, LINE}, | ^~~~~~~~~~~ DisplayList.c:1532:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1532 | {"draw-lines", DlDrawLines, DLINES}, | ^~~~~~~~~~~~ DisplayList.c:1533:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1533 | {"draw-point", DlDrawPoint, POINT}, | ^~~~~~~~~~~~ DisplayList.c:1534:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1534 | {"draw-points", DlDrawPoints, POINTS}, | ^~~~~~~~~~~~~ DisplayList.c:1535:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1535 | {"draw-rect", DlDrawRectangle, DRECT}, | ^~~~~~~~~~~ DisplayList.c:1536:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1536 | {"draw-rectangle", DlDrawRectangle, DRECT}, | ^~~~~~~~~~~~~~~~ DisplayList.c:1537:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1537 | {"draw-segments", DlDrawSegments, SEGMENTS}, | ^~~~~~~~~~~~~~~ DisplayList.c:1538:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1538 | {"draw-string", DlDrawString, DSTRING}, | ^~~~~~~~~~~~~ DisplayList.c:1539:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1539 | {"exposures", DlExposures, EXPOSURES}, | ^~~~~~~~~~~ DisplayList.c:1540:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1540 | {"fg", DlForeground, GCFG}, | ^~~~ DisplayList.c:1541:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1541 | {"fill-arc", DlFillArc, FARC}, | ^~~~~~~~~~ DisplayList.c:1542:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1542 | {"fill-poly", DlFillPolygon, FPOLY}, | ^~~~~~~~~~~ DisplayList.c:1543:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1543 | {"fill-polygon", DlFillPolygon, FPOLY}, | ^~~~~~~~~~~~~~ DisplayList.c:1544:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1544 | {"fill-rect", DlFillRectangle, FRECT}, | ^~~~~~~~~~~ DisplayList.c:1545:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1545 | {"fill-rectangle", DlFillRectangle, FRECT}, | ^~~~~~~~~~~~~~~~ DisplayList.c:1546:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1546 | {"fill-rule", DlFillRule, FILLRULE}, | ^~~~~~~~~~~ DisplayList.c:1547:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1547 | {"fill-style", DlFillStyle, FILLSTYLE}, | ^~~~~~~~~~~~ DisplayList.c:1548:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1548 | {"font", DlFont, FONT}, | ^~~~~~ DisplayList.c:1549:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1549 | {"foreground", DlForeground, GCFG}, | ^~~~~~~~~~~~ DisplayList.c:1550:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1550 | {"function", DlFunction, FUNCTION}, | ^~~~~~~~~~ DisplayList.c:1551:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1551 | {"image", DlImage, IMAGE}, | ^~~~~~~ DisplayList.c:1552:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1552 | {"join-style", DlJoinStyle, JOINSTYLE}, | ^~~~~~~~~~~~ DisplayList.c:1553:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1553 | {"line", DlLine, LINE}, | ^~~~~~ DisplayList.c:1554:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1554 | {"line-style", DlLineStyle, LINESTYLE}, | ^~~~~~~~~~~~ DisplayList.c:1555:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1555 | {"line-width", DlLineWidth, LWIDTH}, | ^~~~~~~~~~~~ DisplayList.c:1556:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1556 | {"lines", DlDrawLines, DLINES}, | ^~~~~~~ DisplayList.c:1557:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1557 | {"mask", DlMask, MASK}, | ^~~~~~ DisplayList.c:1558:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1558 | {"paint-string", DlPaintString, PSTRING}, | ^~~~~~~~~~~~~~ DisplayList.c:1559:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1559 | {"plane-mask", DlPlaneMask, PLANEMASK}, | ^~~~~~~~~~~~ DisplayList.c:1560:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1560 | {"point", DlDrawPoint, POINT}, | ^~~~~~~ DisplayList.c:1561:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1561 | {"points", DlDrawPoints, POINTS}, | ^~~~~~~~ DisplayList.c:1562:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1562 | {"segments", DlDrawSegments, SEGMENTS}, | ^~~~~~~~~~ DisplayList.c:1563:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1563 | {"shape-mode", DlShapeMode, SHAPEMODE}, | ^~~~~~~~~~~~ DisplayList.c:1564:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1564 | {"stipple", DlStipple, STIPPLE}, | ^~~~~~~~~ DisplayList.c:1565:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1565 | {"subwindow-mode", DlSubwindowMode, SUBWMODE}, | ^~~~~~~~~~~~~~~~ DisplayList.c:1566:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1566 | {"tile", DlTile, TILE}, | ^~~~~~ DisplayList.c:1567:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1567 | {"ts-origin", DlTSOrigin, TSORIGIN}, | ^~~~~~~~~~~ DisplayList.c:1568:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1568 | {"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] 1752 | 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] 1897 | 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] 1915 | 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] 1943 | 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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-MultiSink.lo `test -f 'MultiSink.c' || echo './'`MultiSink.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c MultiSink.c -fPIC -DPIC -o .libs/libXaw7_la-MultiSink.o MultiSink.c:143:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 143 | 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] 94 | #define XtNecho "echo" | ^~~~~~ MultiSink.c:146:5: note: in expansion of macro 'XtNecho' 146 | XtNecho, | ^~~~~~~ ../include/X11/Xaw/MultiSink.h:91:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | #define XtCOutput "Output" | ^~~~~~~~ MultiSink.c:147:5: note: in expansion of macro 'XtCOutput' 147 | XtCOutput, | ^~~~~~~~~ ../include/X11/Xaw/MultiSink.h:93:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 93 | #define XtNdisplayNonprinting "displayNonprinting" | ^~~~~~~~~~~~~~~~~~~~ MultiSink.c:155:5: note: in expansion of macro 'XtNdisplayNonprinting' 155 | XtNdisplayNonprinting, | ^~~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/MultiSink.h:91:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | #define XtCOutput "Output" | ^~~~~~~~ MultiSink.c:156:5: note: in expansion of macro 'XtCOutput' 156 | XtCOutput, | ^~~~~~~~~ MultiSink.c:171:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 171 | "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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-Porthole.lo `test -f 'Porthole.c' || echo './'`Porthole.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c Porthole.c -fPIC -DPIC -o .libs/libXaw7_la-Porthole.o 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] 52 | #define XtNreportCallback "reportCallback" | ^~~~~~~~~~~~~~~~ Porthole.c:66:5: note: in expansion of macro 'XtNreportCallback' 66 | XtNreportCallback, | ^~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Reports.h:53:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 53 | #define XtCReportCallback "reportCallback" | ^~~~~~~~~~~~~~~~ Porthole.c:67:5: note: in expansion of macro 'XtCReportCallback' 67 | XtCReportCallback, | ^~~~~~~~~~~~~~~~~ Porthole.c:82:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 82 | "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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-AsciiSink.lo `test -f 'AsciiSink.c' || echo './'`AsciiSink.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c AsciiSink.c -fPIC -DPIC -o .libs/libXaw7_la-AsciiSink.o AsciiSink.c:121:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 121 | 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] 69 | #define XtNecho "echo" | ^~~~~~ AsciiSink.c:124:5: note: in expansion of macro 'XtNecho' 124 | XtNecho, | ^~~~~~~ ../include/X11/Xaw/AsciiSink.h:66:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 66 | #define XtCOutput "Output" | ^~~~~~~~ AsciiSink.c:125:5: note: in expansion of macro 'XtCOutput' 125 | XtCOutput, | ^~~~~~~~~ ../include/X11/Xaw/AsciiSink.h:68:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 68 | #define XtNdisplayNonprinting "displayNonprinting" | ^~~~~~~~~~~~~~~~~~~~ AsciiSink.c:133:5: note: in expansion of macro 'XtNdisplayNonprinting' 133 | XtNdisplayNonprinting, | ^~~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/AsciiSink.h:66:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 66 | #define XtCOutput "Output" | ^~~~~~~~ AsciiSink.c:134:5: note: in expansion of macro 'XtCOutput' 134 | XtCOutput, | ^~~~~~~~~ AsciiSink.c:150:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 150 | "AsciiSink", /* class_name */ | ^~~~~~~~~~~ AsciiSink.c: In function 'AsciiDoPaint': AsciiSink.c:985:13: warning: declaration of 'rect' shadows a previous local [-Wshadow] 985 | XRectangle rect; | ^~~~ AsciiSink.c:749:16: note: shadowed declaration is here 749 | 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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-Repeater.lo `test -f 'Repeater.c' || echo './'`Repeater.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c Repeater.c -fPIC -DPIC -o .libs/libXaw7_la-Repeater.o Repeater.c:81:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | {"start", ActionStart}, | ^~~~~~~ Repeater.c:82:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 82 | {"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] 54 | #define XtNdecay "decay" | ^~~~~~~ Repeater.c:88:5: note: in expansion of macro 'XtNdecay' 88 | XtNdecay, | ^~~~~~~~ ../include/X11/Xaw/Repeater.h:55:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | #define XtCDecay "Decay" | ^~~~~~~ Repeater.c:89:5: note: in expansion of macro 'XtCDecay' 89 | XtCDecay, | ^~~~~~~~ ../include/X11/Xaw/Repeater.h:56:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | #define XtNinitialDelay "initialDelay" | ^~~~~~~~~~~~~~ Repeater.c:97:5: note: in expansion of macro 'XtNinitialDelay' 97 | XtNinitialDelay, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Repeater.h:57:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 57 | #define XtCDelay "Delay" | ^~~~~~~ Repeater.c:98:5: note: in expansion of macro 'XtCDelay' 98 | XtCDelay, | ^~~~~~~~ ../include/X11/Xaw/Repeater.h:58:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 58 | #define XtNminimumDelay "minimumDelay" | ^~~~~~~~~~~~~~ Repeater.c:106:5: note: in expansion of macro 'XtNminimumDelay' 106 | XtNminimumDelay, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Repeater.h:59:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 59 | #define XtCMinimumDelay "MinimumDelay" | ^~~~~~~~~~~~~~ Repeater.c:107:5: note: in expansion of macro 'XtCMinimumDelay' 107 | XtCMinimumDelay, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Repeater.h:60:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 60 | #define XtNrepeatDelay "repeatDelay" | ^~~~~~~~~~~~~ Repeater.c:115:5: note: in expansion of macro 'XtNrepeatDelay' 115 | XtNrepeatDelay, | ^~~~~~~~~~~~~~ ../include/X11/Xaw/Repeater.h:57:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 57 | #define XtCDelay "Delay" | ^~~~~~~ Repeater.c:116:5: note: in expansion of macro 'XtCDelay' 116 | XtCDelay, | ^~~~~~~~ ../include/X11/Xaw/Repeater.h:61:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 61 | #define XtNflash "flash" | ^~~~~~~ Repeater.c:124:5: note: in expansion of macro 'XtNflash' 124 | XtNflash, | ^~~~~~~~ ../include/X11/Xaw/Repeater.h:62:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 62 | #define XtNstartCallback "startCallback" | ^~~~~~~~~~~~~~~ Repeater.c:133:5: note: in expansion of macro 'XtNstartCallback' 133 | XtNstartCallback, | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw/Repeater.h:63:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 63 | #define XtCStartCallback "StartCallback" | ^~~~~~~~~~~~~~~ Repeater.c:134:5: note: in expansion of macro 'XtCStartCallback' 134 | XtCStartCallback, | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw/Repeater.h:64:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 64 | #define XtNstopCallback "stopCallback" | ^~~~~~~~~~~~~~ Repeater.c:142:5: note: in expansion of macro 'XtNstopCallback' 142 | XtNstopCallback, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Repeater.h:65:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 65 | #define XtCStopCallback "StopCallback" | ^~~~~~~~~~~~~~ Repeater.c:143:5: note: in expansion of macro 'XtCStopCallback' 143 | XtCStopCallback, | ^~~~~~~~~~~~~~~ Repeater.c:158:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 158 | "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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-Paned.lo `test -f 'Paned.c' || echo './'`Paned.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c Paned.c -fPIC -DPIC -o .libs/libXaw7_la-Paned.o 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] 126 | #define XtNinternalBorderColor "internalBorderColor" | ^~~~~~~~~~~~~~~~~~~~~ Paned.c:181:5: note: in expansion of macro 'XtNinternalBorderColor' 181 | XtNinternalBorderColor, | ^~~~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Paned.h:127:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 127 | #define XtNinternalBorderWidth "internalBorderWidth" | ^~~~~~~~~~~~~~~~~~~~~ Paned.c:190:5: note: in expansion of macro 'XtNinternalBorderWidth' 190 | XtNinternalBorderWidth, | ^~~~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Paned.h:124:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 124 | #define XtNgripIndent "gripIndent" | ^~~~~~~~~~~~ Paned.c:199:5: note: in expansion of macro 'XtNgripIndent' 199 | XtNgripIndent, | ^~~~~~~~~~~~~ ../include/X11/Xaw/Paned.h:142:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 142 | #define XtCGripIndent "GripIndent" | ^~~~~~~~~~~~ Paned.c:200:5: note: in expansion of macro 'XtCGripIndent' 200 | XtCGripIndent, | ^~~~~~~~~~~~~ ../include/X11/Xaw/Paned.h:130:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 130 | #define XtNrefigureMode "refigureMode" | ^~~~~~~~~~~~~~ Paned.c:208:5: note: in expansion of macro 'XtNrefigureMode' 208 | 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] 80 | #define XtNgripTranslations "gripTranslations" | ^~~~~~~~~~~~~~~~~~ Paned.c:217:5: note: in expansion of macro 'XtNgripTranslations' 217 | 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] 77 | #define XtNcursor "cursor" | ^~~~~~~~ Paned.c:235:5: note: in expansion of macro 'XtNcursor' 235 | 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] 123 | #define XtNgripCursor "gripCursor" | ^~~~~~~~~~~~ Paned.c:244:5: note: in expansion of macro 'XtNgripCursor' 244 | XtNgripCursor, | ^~~~~~~~~~~~~ ../include/X11/Xaw/Paned.h:140:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 140 | #define XtNverticalGripCursor "verticalGripCursor" | ^~~~~~~~~~~~~~~~~~~~ Paned.c:253:5: note: in expansion of macro 'XtNverticalGripCursor' 253 | XtNverticalGripCursor, | ^~~~~~~~~~~~~~~~~~~~~ Paned.c:259:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 259 | "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] 125 | #define XtNhorizontalGripCursor "horizontalGripCursor" | ^~~~~~~~~~~~~~~~~~~~~~ Paned.c:262:5: note: in expansion of macro 'XtNhorizontalGripCursor' 262 | XtNhorizontalGripCursor, | ^~~~~~~~~~~~~~~~~~~~~~~ Paned.c:268:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 268 | "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] 120 | #define XtNbetweenCursor "betweenCursor" | ^~~~~~~~~~~~~~~ Paned.c:271:5: note: in expansion of macro 'XtNbetweenCursor' 271 | XtNbetweenCursor, | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw/Paned.h:121:34: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 121 | #define XtNverticalBetweenCursor "verticalBetweenCursor" | ^~~~~~~~~~~~~~~~~~~~~~~ Paned.c:280:5: note: in expansion of macro 'XtNverticalBetweenCursor' 280 | XtNverticalBetweenCursor, | ^~~~~~~~~~~~~~~~~~~~~~~~ Paned.c:286:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 286 | "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] 122 | #define XtNhorizontalBetweenCursor "horizontalBetweenCursor" | ^~~~~~~~~~~~~~~~~~~~~~~~~ Paned.c:289:5: note: in expansion of macro 'XtNhorizontalBetweenCursor' 289 | XtNhorizontalBetweenCursor, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Paned.c:295:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 295 | "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] 139 | #define XtNupperCursor "upperCursor" | ^~~~~~~~~~~~~ Paned.c:298:5: note: in expansion of macro 'XtNupperCursor' 298 | XtNupperCursor, | ^~~~~~~~~~~~~~ Paned.c:304:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 304 | "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] 129 | #define XtNlowerCursor "lowerCursor" | ^~~~~~~~~~~~~ Paned.c:307:5: note: in expansion of macro 'XtNlowerCursor' 307 | XtNlowerCursor, | ^~~~~~~~~~~~~~ Paned.c:313:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 313 | "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] 128 | #define XtNleftCursor "leftCursor" | ^~~~~~~~~~~~ Paned.c:316:5: note: in expansion of macro 'XtNleftCursor' 316 | XtNleftCursor, | ^~~~~~~~~~~~~ Paned.c:322:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 322 | "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] 136 | #define XtNrightCursor "rightCursor" | ^~~~~~~~~~~~~ Paned.c:325:5: note: in expansion of macro 'XtNrightCursor' 325 | XtNrightCursor, | ^~~~~~~~~~~~~~ Paned.c:331:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 331 | "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] 119 | #define XtNallowResize "allowResize" | ^~~~~~~~~~~~~ Paned.c:339:5: note: in expansion of macro 'XtNallowResize' 339 | XtNallowResize, | ^~~~~~~~~~~~~~ ../include/X11/Xaw/Paned.h:131:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 131 | #define XtNposition "position" | ^~~~~~~~~~ Paned.c:348:5: note: in expansion of macro 'XtNposition' 348 | XtNposition, | ^~~~~~~~~~~ ../include/X11/Xaw/Paned.h:132:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 132 | #define XtNmin "min" | ^~~~~ Paned.c:357:5: note: in expansion of macro 'XtNmin' 357 | XtNmin, | ^~~~~~ ../include/X11/Xaw/Paned.h:143:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 143 | #define XtCMin "Min" | ^~~~~ Paned.c:358:5: note: in expansion of macro 'XtCMin' 358 | XtCMin, | ^~~~~~ ../include/X11/Xaw/Paned.h:133:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 133 | #define XtNmax "max" | ^~~~~ Paned.c:366:5: note: in expansion of macro 'XtNmax' 366 | XtNmax, | ^~~~~~ ../include/X11/Xaw/Paned.h:144:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 144 | #define XtCMax "Max" | ^~~~~ Paned.c:367:5: note: in expansion of macro 'XtCMax' 367 | XtCMax, | ^~~~~~ ../include/X11/Xaw/Paned.h:134:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 134 | #define XtNpreferredPaneSize "preferredPaneSize" | ^~~~~~~~~~~~~~~~~~~ Paned.c:375:5: note: in expansion of macro 'XtNpreferredPaneSize' 375 | XtNpreferredPaneSize, | ^~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Paned.h:145:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 145 | #define XtCPreferredPaneSize "PreferredPaneSize" | ^~~~~~~~~~~~~~~~~~~ Paned.c:376:5: note: in expansion of macro 'XtCPreferredPaneSize' 376 | XtCPreferredPaneSize, | ^~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Paned.h:135:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 135 | #define XtNresizeToPreferred "resizeToPreferred" | ^~~~~~~~~~~~~~~~~~~ Paned.c:384:5: note: in expansion of macro 'XtNresizeToPreferred' 384 | XtNresizeToPreferred, | ^~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Paned.h:138:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 138 | #define XtNskipAdjust "skipAdjust" | ^~~~~~~~~~~~ Paned.c:393:5: note: in expansion of macro 'XtNskipAdjust' 393 | XtNskipAdjust, | ^~~~~~~~~~~~~ ../include/X11/Xaw/Paned.h:137:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 137 | #define XtNshowGrip "showGrip" | ^~~~~~~~~~ Paned.c:402:5: note: in expansion of macro 'XtNshowGrip' 402 | XtNshowGrip, | ^~~~~~~~~~~ ../include/X11/Xaw/Paned.h:146:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 146 | #define XtCShowGrip "ShowGrip" | ^~~~~~~~~~ Paned.c:403:5: note: in expansion of macro 'XtCShowGrip' 403 | XtCShowGrip, | ^~~~~~~~~~~ Paned.c:419:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 419 | "Paned", /* class name */ | ^~~~~~~ Paned.c: In function 'HandleGrip': Paned.c:1226:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1226 | 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] 1347 | 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] 1466 | 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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-Panner.lo `test -f 'Panner.c' || echo './'`Panner.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c Panner.c -fPIC -DPIC -o .libs/libXaw7_la-Panner.o Panner.c:119:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 119 | {"start", ActionStart}, /* start tmp graphics */ | ^~~~~~~ Panner.c:120:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 120 | {"stop", ActionStop}, /* stop tmp graphics */ | ^~~~~~ Panner.c:121:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 121 | {"abort", ActionAbort}, /* punt */ | ^~~~~~~ Panner.c:122:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 122 | {"move", ActionMove}, /* move tmp graphics on Motion event */ | ^~~~~~ Panner.c:123:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 123 | {"page", ActionPage}, /* page around usually from keyboard */ | ^~~~~~ Panner.c:124:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 124 | {"notify", ActionNotify}, /* callback new position */ | ^~~~~~~~ Panner.c:125:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 125 | {"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] 71 | #define XtNallowOff "allowOff" | ^~~~~~~~~~ Panner.c:131:7: note: in expansion of macro 'XtNallowOff' 131 | XtNallowOff, | ^~~~~~~~~~~ ../include/X11/Xaw/Panner.h:72:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 72 | #define XtCAllowOff "AllowOff" | ^~~~~~~~~~ Panner.c:132:7: note: in expansion of macro 'XtCAllowOff' 132 | 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] 52 | #define XtNreportCallback "reportCallback" | ^~~~~~~~~~~~~~~~ Panner.c:149:7: note: in expansion of macro 'XtNreportCallback' 149 | XtNreportCallback, | ^~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Reports.h:53:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 53 | #define XtCReportCallback "reportCallback" | ^~~~~~~~~~~~~~~~ Panner.c:150:7: note: in expansion of macro 'XtCReportCallback' 150 | 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] 75 | #define XtNdefaultScale "defaultScale" | ^~~~~~~~~~~~~~ Panner.c:158:7: note: in expansion of macro 'XtNdefaultScale' 158 | XtNdefaultScale, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:76:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 76 | #define XtCDefaultScale "DefaultScale" | ^~~~~~~~~~~~~~ Panner.c:159:7: note: in expansion of macro 'XtCDefaultScale' 159 | XtCDefaultScale, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:85:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 85 | #define XtNrubberBand "rubberBand" | ^~~~~~~~~~~~ Panner.c:167:7: note: in expansion of macro 'XtNrubberBand' 167 | XtNrubberBand, | ^~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:86:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 86 | #define XtCRubberBand "RubberBand" | ^~~~~~~~~~~~ Panner.c:168:7: note: in expansion of macro 'XtCRubberBand' 168 | XtCRubberBand, | ^~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:81:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | #define XtNinternalSpace "internalSpace" | ^~~~~~~~~~~~~~~ Panner.c:185:7: note: in expansion of macro 'XtNinternalSpace' 185 | XtNinternalSpace, | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:82:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 82 | #define XtCInternalSpace "InternalSpace" | ^~~~~~~~~~~~~~~ Panner.c:186:7: note: in expansion of macro 'XtCInternalSpace' 186 | XtCInternalSpace, | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:83:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | #define XtNlineWidth "lineWidth" | ^~~~~~~~~~~ Panner.c:194:7: note: in expansion of macro 'XtNlineWidth' 194 | XtNlineWidth, | ^~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:84:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 84 | #define XtCLineWidth "LineWidth" | ^~~~~~~~~~~ Panner.c:195:7: note: in expansion of macro 'XtCLineWidth' 195 | XtCLineWidth, | ^~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:77:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 77 | #define XtNcanvasWidth "canvasWidth" | ^~~~~~~~~~~~~ Panner.c:203:7: note: in expansion of macro 'XtNcanvasWidth' 203 | XtNcanvasWidth, | ^~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:78:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 78 | #define XtCCanvasWidth "CanvasWidth" | ^~~~~~~~~~~~~ Panner.c:204:7: note: in expansion of macro 'XtCCanvasWidth' 204 | XtCCanvasWidth, | ^~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:79:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 79 | #define XtNcanvasHeight "canvasHeight" | ^~~~~~~~~~~~~~ Panner.c:212:7: note: in expansion of macro 'XtNcanvasHeight' 212 | XtNcanvasHeight, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:80:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 80 | #define XtCCanvasHeight "CanvasHeight" | ^~~~~~~~~~~~~~ Panner.c:213:7: note: in expansion of macro 'XtCCanvasHeight' 213 | XtCCanvasHeight, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:91:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | #define XtNsliderX "sliderX" | ^~~~~~~~~ Panner.c:221:7: note: in expansion of macro 'XtNsliderX' 221 | XtNsliderX, | ^~~~~~~~~~ ../include/X11/Xaw/Panner.h:92:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 92 | #define XtCSliderX "SliderX" | ^~~~~~~~~ Panner.c:222:7: note: in expansion of macro 'XtCSliderX' 222 | XtCSliderX, | ^~~~~~~~~~ ../include/X11/Xaw/Panner.h:93:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 93 | #define XtNsliderY "sliderY" | ^~~~~~~~~ Panner.c:230:7: note: in expansion of macro 'XtNsliderY' 230 | XtNsliderY, | ^~~~~~~~~~ ../include/X11/Xaw/Panner.h:94:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | #define XtCSliderY "SliderY" | ^~~~~~~~~ Panner.c:231:7: note: in expansion of macro 'XtCSliderY' 231 | XtCSliderY, | ^~~~~~~~~~ ../include/X11/Xaw/Panner.h:95:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | #define XtNsliderWidth "sliderWidth" | ^~~~~~~~~~~~~ Panner.c:239:7: note: in expansion of macro 'XtNsliderWidth' 239 | XtNsliderWidth, | ^~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:96:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | #define XtCSliderWidth "SliderWidth" | ^~~~~~~~~~~~~ Panner.c:240:7: note: in expansion of macro 'XtCSliderWidth' 240 | XtCSliderWidth, | ^~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:97:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | #define XtNsliderHeight "sliderHeight" | ^~~~~~~~~~~~~~ Panner.c:248:7: note: in expansion of macro 'XtNsliderHeight' 248 | XtNsliderHeight, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:98:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | #define XtCSliderHeight "SliderHeight" | ^~~~~~~~~~~~~~ Panner.c:249:7: note: in expansion of macro 'XtCSliderHeight' 249 | XtCSliderHeight, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:89:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 89 | #define XtNshadowColor "shadowColor" | ^~~~~~~~~~~~~ Panner.c:257:7: note: in expansion of macro 'XtNshadowColor' 257 | XtNshadowColor, | ^~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:90:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 90 | #define XtCShadowColor "ShadowColor" | ^~~~~~~~~~~~~ Panner.c:258:7: note: in expansion of macro 'XtCShadowColor' 258 | XtCShadowColor, | ^~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:87:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 87 | #define XtNshadowThickness "shadowThickness" | ^~~~~~~~~~~~~~~~~ Panner.c:266:7: note: in expansion of macro 'XtNshadowThickness' 266 | XtNshadowThickness, | ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:88:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 88 | #define XtCShadowThickness "ShadowThickness" | ^~~~~~~~~~~~~~~~~ Panner.c:267:7: note: in expansion of macro 'XtCShadowThickness' 267 | XtCShadowThickness, | ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:73:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 73 | #define XtNbackgroundStipple "backgroundStipple" | ^~~~~~~~~~~~~~~~~~~ Panner.c:275:7: note: in expansion of macro 'XtNbackgroundStipple' 275 | XtNbackgroundStipple, | ^~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Panner.h:74:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 74 | #define XtCBackgroundStipple "BackgroundStipple" | ^~~~~~~~~~~~~~~~~~~ Panner.c:276:7: note: in expansion of macro 'XtCBackgroundStipple' 276 | XtCBackgroundStipple, | ^~~~~~~~~~~~~~~~~~~~ Panner.c:291:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 291 | "Panner", /* class_name */ | ^~~~~~~~ Panner.c: In function 'ActionSet': Panner.c:1076:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1076 | 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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-Simple.lo `test -f 'Simple.c' || echo './'`Simple.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c Simple.c -fPIC -DPIC -o .libs/libXaw7_la-Simple.o Simple.c:86:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 86 | {"set-values", XawSetValuesAction}, | ^~~~~~~~~~~~ Simple.c:87:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 87 | {"get-values", XawGetValuesAction}, | ^~~~~~~~~~~~ Simple.c:88:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 88 | {"declare", XawDeclareAction}, | ^~~~~~~~~ Simple.c:89:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 89 | {"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] 77 | #define XtNcursor "cursor" | ^~~~~~~~ Simple.c:96:5: note: in expansion of macro 'XtNcursor' 96 | XtNcursor, | ^~~~~~~~~ ../include/X11/Xaw/Simple.h:79:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 79 | #define XtNinsensitiveBorder "insensitiveBorder" | ^~~~~~~~~~~~~~~~~~~ Simple.c:105:5: note: in expansion of macro 'XtNinsensitiveBorder' 105 | XtNinsensitiveBorder, | ^~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Simple.h:81:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | #define XtCInsensitive "Insensitive" | ^~~~~~~~~~~~~ Simple.c:106:5: note: in expansion of macro 'XtCInsensitive' 106 | XtCInsensitive, | ^~~~~~~~~~~~~~ Simple.c:114:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 114 | XtNpointerColor, | ^~~~~~~~~~~~~~~ Simple.c:120:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 120 | XtDefaultForeground | ^~~~~~~~~~~~~~~~~~~ Simple.c:123:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 123 | XtNpointerColorBackground, | ^~~~~~~~~~~~~~~~~~~~~~~~~ Simple.c:129:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 129 | 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] 78 | #define XtNcursorName "cursorName" | ^~~~~~~~~~~~ Simple.c:132:5: note: in expansion of macro 'XtNcursorName' 132 | XtNcursorName, | ^~~~~~~~~~~~~ ../include/X11/Xaw/Simple.h:88:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 88 | #define XtNinternational "international" | ^~~~~~~~~~~~~~~ Simple.c:141:5: note: in expansion of macro 'XtNinternational' 141 | XtNinternational, | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw/Simple.h:84:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 84 | #define XtCInternational "International" | ^~~~~~~~~~~~~~~ Simple.c:142:5: note: in expansion of macro 'XtCInternational' 142 | 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] 69 | #define XawNdisplayList "displayList" | ^~~~~~~~~~~~~ Simple.c:151:5: note: in expansion of macro 'XawNdisplayList' 151 | XawNdisplayList, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Tip.h:77:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 77 | #define XawCDisplayList "DisplayList" | ^~~~~~~~~~~~~ Simple.c:152:5: note: in expansion of macro 'XawCDisplayList' 152 | XawCDisplayList, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Tip.h:83:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | #define XawRDisplayList "XawDisplayList" | ^~~~~~~~~~~~~~~~ Simple.c:153:5: note: in expansion of macro 'XawRDisplayList' 153 | XawRDisplayList, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Tip.h:75:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 75 | #define XtNtip "tip" | ^~~~~ Simple.c:160:5: note: in expansion of macro 'XtNtip' 160 | XtNtip, | ^~~~~~ ../include/X11/Xaw/Tip.h:81:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | #define XtCTip "Tip" | ^~~~~ Simple.c:161:5: note: in expansion of macro 'XtCTip' 161 | XtCTip, | ^~~~~~ Simple.c:176:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 176 | "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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-Sme.lo `test -f 'Sme.c' || echo './'`Sme.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c Sme.c -fPIC -DPIC -o .libs/libXaw7_la-Sme.o 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] 62 | #define XtNinternational "international" | ^~~~~~~~~~~~~~~ Sme.c:70:5: note: in expansion of macro 'XtNinternational' 70 | XtNinternational, | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw/Sme.h:58:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 58 | #define XtCInternational "International" | ^~~~~~~~~~~~~~~ Sme.c:71:5: note: in expansion of macro 'XtCInternational' 71 | XtCInternational, | ^~~~~~~~~~~~~~~~ Sme.c:86:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 86 | "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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-SmeBSB.lo `test -f 'SmeBSB.c' || echo './'`SmeBSB.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c SmeBSB.c -fPIC -DPIC -o .libs/libXaw7_la-SmeBSB.o 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] 78 | #define XtNvertSpace "vertSpace" | ^~~~~~~~~~~ SmeBSB.c:88:5: note: in expansion of macro 'XtNvertSpace' 88 | XtNvertSpace, | ^~~~~~~~~~~~ ../include/X11/Xaw/SmeBSB.h:94:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | #define XtCVertSpace "VertSpace" | ^~~~~~~~~~~ SmeBSB.c:89:5: note: in expansion of macro 'XtCVertSpace' 89 | XtCVertSpace, | ^~~~~~~~~~~~ ../include/X11/Xaw/SmeBSB.h:74:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 74 | #define XtNleftBitmap "leftBitmap" | ^~~~~~~~~~~~ SmeBSB.c:97:5: note: in expansion of macro 'XtNleftBitmap' 97 | XtNleftBitmap, | ^~~~~~~~~~~~~ ../include/X11/Xaw/SmeBSB.h:91:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | #define XtCLeftBitmap "LeftBitmap" | ^~~~~~~~~~~~ SmeBSB.c:98:5: note: in expansion of macro 'XtCLeftBitmap' 98 | XtCLeftBitmap, | ^~~~~~~~~~~~~ ../include/X11/Xaw/SmeBSB.h:76:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 76 | #define XtNrightBitmap "rightBitmap" | ^~~~~~~~~~~~~ SmeBSB.c:115:5: note: in expansion of macro 'XtNrightBitmap' 115 | XtNrightBitmap, | ^~~~~~~~~~~~~~ ../include/X11/Xaw/SmeBSB.h:93:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 93 | #define XtCRightBitmap "RightBitmap" | ^~~~~~~~~~~~~ SmeBSB.c:116:5: note: in expansion of macro 'XtCRightBitmap' 116 | XtCRightBitmap, | ^~~~~~~~~~~~~~ ../include/X11/Xaw/SmeBSB.h:75:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 75 | #define XtNleftMargin "leftMargin" | ^~~~~~~~~~~~ SmeBSB.c:124:5: note: in expansion of macro 'XtNleftMargin' 124 | XtNleftMargin, | ^~~~~~~~~~~~~ ../include/X11/Xaw/SmeBSB.h:92:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 92 | #define XtCHorizontalMargins "HorizontalMargins" | ^~~~~~~~~~~~~~~~~~~ SmeBSB.c:125:5: note: in expansion of macro 'XtCHorizontalMargins' 125 | XtCHorizontalMargins, | ^~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/SmeBSB.h:77:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 77 | #define XtNrightMargin "rightMargin" | ^~~~~~~~~~~~~ SmeBSB.c:133:5: note: in expansion of macro 'XtNrightMargin' 133 | XtNrightMargin, | ^~~~~~~~~~~~~~ ../include/X11/Xaw/SmeBSB.h:92:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 92 | #define XtCHorizontalMargins "HorizontalMargins" | ^~~~~~~~~~~~~~~~~~~ SmeBSB.c:134:5: note: in expansion of macro 'XtCHorizontalMargins' 134 | XtCHorizontalMargins, | ^~~~~~~~~~~~~~~~~~~~ SmeBSB.c:148:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 148 | XtDefaultForeground | ^~~~~~~~~~~~~~~~~~~ SmeBSB.c:157:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 157 | XtDefaultFont | ^~~~~~~~~~~~~ SmeBSB.c:166:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 166 | 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] 80 | #define XtNmenuName "menuName" | ^~~~~~~~~~ SmeBSB.c:170:5: note: in expansion of macro 'XtNmenuName' 170 | XtNmenuName, | ^~~~~~~~~~~ ../include/X11/Xaw/SmeBSB.h:81:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | #define XtCMenuName "MenuName" | ^~~~~~~~~~ SmeBSB.c:171:5: note: in expansion of macro 'XtCMenuName' 171 | XtCMenuName, | ^~~~~~~~~~~ SmeBSB.c:187:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 187 | "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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-SmeLine.lo `test -f 'SmeLine.c' || echo './'`SmeLine.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c SmeLine.c -fPIC -DPIC -o .libs/libXaw7_la-SmeLine.o 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] 61 | #define XtNlineWidth "lineWidth" | ^~~~~~~~~~~ SmeLine.c:69:5: note: in expansion of macro 'XtNlineWidth' 69 | XtNlineWidth, | ^~~~~~~~~~~~ ../include/X11/Xaw/SmeLine.h:58:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 58 | #define XtCLineWidth "LineWidth" | ^~~~~~~~~~~ SmeLine.c:70:5: note: in expansion of macro 'XtCLineWidth' 70 | XtCLineWidth, | ^~~~~~~~~~~~ ../include/X11/Xaw/SmeLine.h:62:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 62 | #define XtNstipple "stipple" | ^~~~~~~~~ SmeLine.c:78:5: note: in expansion of macro 'XtNstipple' 78 | XtNstipple, | ^~~~~~~~~~ ../include/X11/Xaw/SmeLine.h:59:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 59 | #define XtCStipple "Stipple" | ^~~~~~~~~ SmeLine.c:79:5: note: in expansion of macro 'XtCStipple' 79 | XtCStipple, | ^~~~~~~~~~ SmeLine.c:93:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 93 | XtDefaultForeground | ^~~~~~~~~~~~~~~~~~~ SmeLine.c:103:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | "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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-Scrollbar.lo `test -f 'Scrollbar.c' || echo './'`Scrollbar.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c Scrollbar.c -fPIC -DPIC -o .libs/libXaw7_la-Scrollbar.o Scrollbar.c:183:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 183 | 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] 106 | #define XtCShown "Shown" | ^~~~~~~ Scrollbar.c:187:5: note: in expansion of macro 'XtCShown' 187 | XtCShown, | ^~~~~~~~ ../include/X11/Xaw/Scrollbar.h:110:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 110 | #define XtNtopOfThumb "topOfThumb" | ^~~~~~~~~~~~ Scrollbar.c:195:5: note: in expansion of macro 'XtNtopOfThumb' 195 | XtNtopOfThumb, | ^~~~~~~~~~~~~ ../include/X11/Xaw/Scrollbar.h:107:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 107 | #define XtCTopOfThumb "TopOfThumb" | ^~~~~~~~~~~~ Scrollbar.c:196:5: note: in expansion of macro 'XtCTopOfThumb' 196 | XtCTopOfThumb, | ^~~~~~~~~~~~~ Scrollbar.c:210:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 210 | "sb_v_double_arrow" | ^~~~~~~~~~~~~~~~~~~ Scrollbar.c:219:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 219 | "sb_h_double_arrow" | ^~~~~~~~~~~~~~~~~~~ Scrollbar.c:228:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 228 | "sb_up_arrow" | ^~~~~~~~~~~~~ Scrollbar.c:237:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 237 | "sb_down_arrow" | ^~~~~~~~~~~~~~~ Scrollbar.c:246:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 246 | "sb_left_arrow" | ^~~~~~~~~~~~~~~ Scrollbar.c:255:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 255 | "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] 109 | #define XtNminimumThumb "minimumThumb" | ^~~~~~~~~~~~~~ Scrollbar.c:258:5: note: in expansion of macro 'XtNminimumThumb' 258 | XtNminimumThumb, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Scrollbar.h:105:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 105 | #define XtCMinimumThumb "MinimumThumb" | ^~~~~~~~~~~~~~ Scrollbar.c:259:5: note: in expansion of macro 'XtCMinimumThumb' 259 | XtCMinimumThumb, | ^~~~~~~~~~~~~~~ Scrollbar.c:270:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 270 | {"StartScroll", StartScroll}, | ^~~~~~~~~~~~~ Scrollbar.c:271:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 271 | {"MoveThumb", MoveThumb}, | ^~~~~~~~~~~ Scrollbar.c:272:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 272 | {"NotifyThumb", NotifyThumb}, | ^~~~~~~~~~~~~ Scrollbar.c:273:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 273 | {"NotifyScroll", NotifyScroll}, | ^~~~~~~~~~~~~~ Scrollbar.c:274:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 274 | {"EndScroll", EndScroll}, | ^~~~~~~~~~~ Scrollbar.c:282:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 282 | "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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-Pixmap.lo `test -f 'Pixmap.c' || echo './'`Pixmap.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c Pixmap.c -fPIC -DPIC -o .libs/libXaw7_la-Pixmap.o Pixmap.c: In function 'XawPixmapsInitialize': Pixmap.c:99:28: warning: passing argument 1 of 'XawAddPixmapLoader' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 99 | (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 *' 137 | Bool XawAddPixmapLoader(String, String, XawPixmapLoader); | ^~~~~~ Pixmap.c:100:28: warning: passing argument 1 of 'XawAddPixmapLoader' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 100 | (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 *' 137 | Bool XawAddPixmapLoader(String, String, XawPixmapLoader); | ^~~~~~ Pixmap.c:101:28: warning: passing argument 1 of 'XawAddPixmapLoader' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | (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 *' 137 | Bool XawAddPixmapLoader(String, String, XawPixmapLoader); | ^~~~~~ Pixmap.c:101:35: warning: passing argument 2 of 'XawAddPixmapLoader' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | (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 *' 137 | 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] 667 | "%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] 718 | {'T', "bitmaps"}, | ^~~~~~~~~ : warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] Pixmap.c:719:13: note: in expansion of macro 'PROJECT_ROOT' 719 | {'P', PROJECT_ROOT}, | ^~~~~~~~~~~~ Pixmap.c:726:39: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 726 | if ((argval = XawFindArgVal(params, "foreground")) != NULL | ^~~~~~~~~~~~ Pixmap.c:253:41: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 253 | XawFindArgVal(XawParams *params, String name) | ~~~~~~~^~~~ Pixmap.c:735:39: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 735 | if ((argval = XawFindArgVal(params, "background")) != NULL | ^~~~~~~~~~~~ Pixmap.c:253:41: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 253 | 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] 806 | if ((argval = XawFindArgVal(params, "dimension")) != NULL | ^~~~~~~~~~~ Pixmap.c:253:41: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 253 | XawFindArgVal(XawParams *params, String name) | ~~~~~~~^~~~ Pixmap.c:816:39: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 816 | if ((argval = XawFindArgVal(params, "steps")) != NULL | ^~~~~~~ Pixmap.c:253:41: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 253 | XawFindArgVal(XawParams *params, String name) | ~~~~~~~^~~~ Pixmap.c:829:39: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 829 | if ((argval = XawFindArgVal(params, "start")) != NULL) | ^~~~~~~ Pixmap.c:253:41: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 253 | XawFindArgVal(XawParams *params, String name) | ~~~~~~~^~~~ Pixmap.c:840:39: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 840 | if ((argval = XawFindArgVal(params, "end")) != NULL) | ^~~~~ Pixmap.c:253:41: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 253 | 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] 938 | {'T', "pixmaps"}, | ^~~~~~~~~ : warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] Pixmap.c:939:13: note: in expansion of macro 'PROJECT_ROOT' 939 | {'P', PROJECT_ROOT}, | ^~~~~~~~~~~~ Pixmap.c:943:39: warning: passing argument 2 of 'XawFindArgVal' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 943 | if ((argval = XawFindArgVal(params, "closeness")) != NULL | ^~~~~~~~~~~ Pixmap.c:253:41: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 253 | 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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-StripChart.lo `test -f 'StripChart.c' || echo './'`StripChart.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c StripChart.c -fPIC -DPIC -o .libs/libXaw7_la-StripChart.o 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] 107 | #define XtNminScale "minScale" | ^~~~~~~~~~ StripChart.c:114:5: note: in expansion of macro 'XtNminScale' 114 | XtNminScale, | ^~~~~~~~~~~ ../include/X11/Xaw/StripChart.h:103:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | #define XtCScale "Scale" | ^~~~~~~ StripChart.c:115:5: note: in expansion of macro 'XtCScale' 115 | XtCScale, | ^~~~~~~~ StripChart.c:129:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 129 | XtDefaultForeground | ^~~~~~~~~~~~~~~~~~~ StripChart.c:138:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 138 | 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] 105 | #define XtNgetValue "getValue" | ^~~~~~~~~~ StripChart.c:141:5: note: in expansion of macro 'XtNgetValue' 141 | XtNgetValue, | ^~~~~~~~~~~ ../include/X11/Xaw/StripChart.h:106:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 106 | #define XtNjumpScroll "jumpScroll" | ^~~~~~~~~~~~ StripChart.c:150:5: note: in expansion of macro 'XtNjumpScroll' 150 | XtNjumpScroll, | ^~~~~~~~~~~~~ ../include/X11/Xaw/StripChart.h:102:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | #define XtCJumpScroll "JumpScroll" | ^~~~~~~~~~~~ StripChart.c:151:5: note: in expansion of macro 'XtCJumpScroll' 151 | XtCJumpScroll, | ^~~~~~~~~~~~~ StripChart.c:165:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 165 | "StripChart", /* class_name */ | ^~~~~~~~~~~~ StripChart.c: In function 'repaint_window': StripChart.c:385:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 385 | 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' 387 | 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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-TextTr.lo `test -f 'TextTr.c' || echo './'`TextTr.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c TextTr.c -fPIC -DPIC -o .libs/libXaw7_la-TextTr.o 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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-SimpleMenu.lo `test -f 'SimpleMenu.c' || echo './'`SimpleMenu.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c SimpleMenu.c -fPIC -DPIC -o .libs/libXaw7_la-SimpleMenu.o 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] 92 | #define XtNlabelClass "labelClass" | ^~~~~~~~~~~~ SimpleMenu.c:126:5: note: in expansion of macro 'XtNlabelClass' 126 | XtNlabelClass, | ^~~~~~~~~~~~~ ../include/X11/Xaw/SimpleMenu.h:101:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | #define XtCLabelClass "LabelClass" | ^~~~~~~~~~~~ SimpleMenu.c:127:5: note: in expansion of macro 'XtCLabelClass' 127 | XtCLabelClass, | ^~~~~~~~~~~~~ ../include/X11/Xaw/SimpleMenu.h:95:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | #define XtNrowHeight "rowHeight" | ^~~~~~~~~~~ SimpleMenu.c:137:5: note: in expansion of macro 'XtNrowHeight' 137 | XtNrowHeight, | ^~~~~~~~~~~~ ../include/X11/Xaw/SimpleMenu.h:104:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | #define XtCRowHeight "RowHeight" | ^~~~~~~~~~~ SimpleMenu.c:138:5: note: in expansion of macro 'XtCRowHeight' 138 | XtCRowHeight, | ^~~~~~~~~~~~ ../include/X11/Xaw/SimpleMenu.h:96:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | #define XtNtopMargin "topMargin" | ^~~~~~~~~~~ SimpleMenu.c:146:5: note: in expansion of macro 'XtNtopMargin' 146 | XtNtopMargin, | ^~~~~~~~~~~~ ../include/X11/Xaw/SimpleMenu.h:106:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 106 | #define XtCVerticalMargins "VerticalMargins" | ^~~~~~~~~~~~~~~~~ SimpleMenu.c:147:5: note: in expansion of macro 'XtCVerticalMargins' 147 | XtCVerticalMargins, | ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/SimpleMenu.h:90:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 90 | #define XtNbottomMargin "bottomMargin" | ^~~~~~~~~~~~~~ SimpleMenu.c:155:5: note: in expansion of macro 'XtNbottomMargin' 155 | XtNbottomMargin, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/SimpleMenu.h:106:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 106 | #define XtCVerticalMargins "VerticalMargins" | ^~~~~~~~~~~~~~~~~ SimpleMenu.c:156:5: note: in expansion of macro 'XtCVerticalMargins' 156 | 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] 75 | #define XtNleftMargin "leftMargin" | ^~~~~~~~~~~~ SimpleMenu.c:165:5: note: in expansion of macro 'XtNleftMargin' 165 | XtNleftMargin, | ^~~~~~~~~~~~~ ../include/X11/Xaw/SmeBSB.h:92:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 92 | #define XtCHorizontalMargins "HorizontalMargins" | ^~~~~~~~~~~~~~~~~~~ SimpleMenu.c:166:5: note: in expansion of macro 'XtCHorizontalMargins' 166 | XtCHorizontalMargins, | ^~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/SmeBSB.h:77:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 77 | #define XtNrightMargin "rightMargin" | ^~~~~~~~~~~~~ SimpleMenu.c:174:5: note: in expansion of macro 'XtNrightMargin' 174 | XtNrightMargin, | ^~~~~~~~~~~~~~ ../include/X11/Xaw/SmeBSB.h:92:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 92 | #define XtCHorizontalMargins "HorizontalMargins" | ^~~~~~~~~~~~~~~~~~~ SimpleMenu.c:175:5: note: in expansion of macro 'XtCHorizontalMargins' 175 | 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] 89 | #define XtNcursor "cursor" | ^~~~~~~~ SimpleMenu.c:195:5: note: in expansion of macro 'XtNcursor' 195 | XtNcursor, | ^~~~~~~~~ ../include/X11/Xaw/SimpleMenu.h:93:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 93 | #define XtNmenuOnScreen "menuOnScreen" | ^~~~~~~~~~~~~~ SimpleMenu.c:204:5: note: in expansion of macro 'XtNmenuOnScreen' 204 | XtNmenuOnScreen, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/SimpleMenu.h:102:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | #define XtCMenuOnScreen "MenuOnScreen" | ^~~~~~~~~~~~~~ SimpleMenu.c:205:5: note: in expansion of macro 'XtCMenuOnScreen' 205 | XtCMenuOnScreen, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/SimpleMenu.h:94:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | #define XtNpopupOnEntry "popupOnEntry" | ^~~~~~~~~~~~~~ SimpleMenu.c:213:5: note: in expansion of macro 'XtNpopupOnEntry' 213 | XtNpopupOnEntry, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/SimpleMenu.h:103:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | #define XtCPopupOnEntry "PopupOnEntry" | ^~~~~~~~~~~~~~ SimpleMenu.c:214:5: note: in expansion of macro 'XtCPopupOnEntry' 214 | XtCPopupOnEntry, | ^~~~~~~~~~~~~~~ SimpleMenu.c:222:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 222 | XtNbackingStore, | ^~~~~~~~~~~~~~~ SimpleMenu.c:223:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 223 | XtCBackingStore, | ^~~~~~~~~~~~~~~ SimpleMenu.c:224:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 224 | 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] 110 | #define XawNdisplayList "displayList" | ^~~~~~~~~~~~~ SimpleMenu.c:232:5: note: in expansion of macro 'XawNdisplayList' 232 | XawNdisplayList, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/SimpleMenu.h:111:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 111 | #define XawCDisplayList "DisplayList" | ^~~~~~~~~~~~~ SimpleMenu.c:233:5: note: in expansion of macro 'XawCDisplayList' 233 | XawCDisplayList, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/SimpleMenu.h:112:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 112 | #define XawRDisplayList "XawDisplayList" | ^~~~~~~~~~~~~~~~ SimpleMenu.c:234:5: note: in expansion of macro 'XawRDisplayList' 234 | XawRDisplayList, | ^~~~~~~~~~~~~~~ SimpleMenu.c:257:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 257 | {"notify", Notify}, | ^~~~~~~~ SimpleMenu.c:258:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 258 | {"highlight", Highlight}, | ^~~~~~~~~~~ SimpleMenu.c:259:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 259 | {"unhighlight", Unhighlight}, | ^~~~~~~~~~~~~ SimpleMenu.c:261:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 261 | {"popdown", Popdown}, | ^~~~~~~~~ SimpleMenu.c:262:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 262 | {"set-values", XawSetValuesAction}, | ^~~~~~~~~~~~ SimpleMenu.c:263:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 263 | {"get-values", XawGetValuesAction}, | ^~~~~~~~~~~~ SimpleMenu.c:264:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 264 | {"declare", XawDeclareAction}, | ^~~~~~~~~ SimpleMenu.c:265:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 265 | {"call-proc", XawCallProcAction}, | ^~~~~~~~~~~ SimpleMenu.c:282:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 282 | "SimpleMenu", /* class_name */ | ^~~~~~~~~~~~ SimpleMenu.c: In function 'AddPositionAction': SimpleMenu.c:1286:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1286 | {"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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-Toggle.lo `test -f 'Toggle.c' || echo './'`Toggle.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c Toggle.c -fPIC -DPIC -o .libs/libXaw7_la-Toggle.o 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] 94 | #define XtNstate "state" | ^~~~~~~ Toggle.c:87:5: note: in expansion of macro 'XtNstate' 87 | XtNstate, | ^~~~~~~~ ../include/X11/Xaw/Toggle.h:86:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 86 | #define XtCState "State" | ^~~~~~~ Toggle.c:88:5: note: in expansion of macro 'XtCState' 88 | XtCState, | ^~~~~~~~ Toggle.c:93:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 93 | "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] 95 | #define XtNradioGroup "radioGroup" | ^~~~~~~~~~~~ Toggle.c:96:5: note: in expansion of macro 'XtNradioGroup' 96 | XtNradioGroup, | ^~~~~~~~~~~~~ ../include/X11/Xaw/Toggle.h:85:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 85 | #define XtCWidget "Widget" | ^~~~~~~~ Toggle.c:97:5: note: in expansion of macro 'XtCWidget' 97 | XtCWidget, | ^~~~~~~~~ ../include/X11/Xaw/Toggle.h:96:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | #define XtNradioData "radioData" | ^~~~~~~~~~~ Toggle.c:105:5: note: in expansion of macro 'XtNradioData' 105 | XtNradioData, | ^~~~~~~~~~~~ ../include/X11/Xaw/Toggle.h:88:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 88 | #define XtCRadioData "RadioData" | ^~~~~~~~~~~ Toggle.c:106:5: note: in expansion of macro 'XtCRadioData' 106 | XtCRadioData, | ^~~~~~~~~~~~ Toggle.c:117:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 117 | {"toggle", Toggle}, | ^~~~~~~~ Toggle.c:118:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 118 | {"notify", Notify}, | ^~~~~~~~ Toggle.c:119:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 119 | {"set", ToggleSet}, | ^~~~~ Toggle.c:127:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 127 | "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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-TextPop.lo `test -f 'TextPop.c' || echo './'`TextPop.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c TextPop.c -fPIC -DPIC -o .libs/libXaw7_la-TextPop.o TextPop.c:64:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 64 | static char* INSERT_FILE = "Enter Filename:"; | ^~~~~~~~~~~~~~~~~ TextPop.c:65:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 65 | static char* SEARCH_LABEL_1 = "Use to change fields."; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:66:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 66 | static char* SEARCH_LABEL_2 = "Use ^q for ."; | ^~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:67:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 67 | static char* DISMISS_NAME = "cancel"; | ^~~~~~~~ TextPop.c:69:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 69 | static char* FORM_NAME = "form"; | ^~~~~~ TextPop.c:70:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 70 | static char* LABEL_NAME = "label"; | ^~~~~~~ TextPop.c:71:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 71 | 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] 213 | ptr = ""; | ^ TextPop.c:218:47: warning: passing argument 3 of 'CreateDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 218 | ctx->text.file_insert = CreateDialog(w, ptr, "insertFile", | ^~~~~~~~~~~~ TextPop.c:84:44: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 84 | 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] 361 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:362:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 362 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:363:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 363 | XtSetArg(args[num_args], XtNresizable, True); num_args++; | ^~~~~~~~ TextPop.c:369:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 369 | XtSetArg(args[num_args], XtNfromVert, label); num_args++; | ^~~~~~~~ TextPop.c:370:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 370 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:371:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 371 | XtSetArg(args[num_args], XtNright, XtChainRight); num_args++; | ^~~~~~~~ TextPop.c:373:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 373 | XtSetArg(args[num_args], XtNresizable, True); num_args++; | ^~~~~~~~ TextPop.c:380:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 380 | XtSetArg(args[num_args], XtNfromVert, text); num_args++; | ^~~~~~~~ TextPop.c:381:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 381 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:382:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 382 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:388:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 388 | XtSetArg(args[num_args], XtNfromVert, text); num_args++; | ^~~~~~~~ TextPop.c:389:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 389 | XtSetArg(args[num_args], XtNfromHoriz, insert); num_args++; | ^~~~~~~~ TextPop.c:390:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 390 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:391:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 391 | 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] 554 | ptr = ""; | ^ TextPop.c:575:56: warning: passing argument 3 of 'CreateDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 575 | 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 *' 84 | 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] 94 | #define XtNstate "state" | ^~~~~~~ TextPop.c:616:39: note: in expansion of macro 'XtNstate' 616 | SetResource(search->left_toggle, XtNstate, (XtArgVal)True); | ^~~~~~~~ TextPop.c:100:33: note: expected 'char *' but argument is of type 'const char *' 100 | 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] 94 | #define XtNstate "state" | ^~~~~~~ TextPop.c:619:40: note: in expansion of macro 'XtNstate' 619 | SetResource(search->right_toggle, XtNstate, (XtArgVal)True); | ^~~~~~~~ TextPop.c:100:33: note: expected 'char *' but argument is of type 'const char *' 100 | 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] 646 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:647:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 647 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:648:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 648 | XtSetArg(args[num_args], XtNresizable, True); num_args++; | ^~~~~~~~ TextPop.c:654:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 654 | XtSetArg(args[num_args], XtNfromVert, search->label1); num_args++; | ^~~~~~~~ TextPop.c:655:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 655 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:656:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 656 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:657:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 657 | XtSetArg(args[num_args], XtNresizable, True); num_args++; | ^~~~~~~~ TextPop.c:668:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 668 | XtSetArg(args[num_args], XtNfromVert, search->label2); num_args++; | ^~~~~~~~ TextPop.c:669:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 669 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:670:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 670 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:671:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 671 | XtSetArg(args[num_args], XtNradioData, (XPointer)XawsdLeft + R_OFFSET); | ^~~~~~~~ TextPop.c:678:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 678 | XtSetArg(args[num_args], XtNfromVert, search->label2); num_args++; | ^~~~~~~~ TextPop.c:679:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 679 | 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] 680 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:681:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 681 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:682:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 682 | 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] 683 | XtSetArg(args[num_args], XtNradioData, (XPointer)XawsdRight + R_OFFSET); | ^~~~~~~~ TextPop.c:700:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 700 | XtSetArg(args[num_args], XtNfromVert, search->label2); num_args++; | ^~~~~~~~ TextPop.c:701:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 701 | 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] 702 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:703:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 703 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:704:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 704 | XtSetArg(args[num_args], XtNstate, True); num_args++; | ^~~~~~~~ TextPop.c:713:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 713 | 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] 715 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:716:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 716 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:722:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 722 | 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] 723 | XtSetArg(args[num_args], XtNfromHoriz, s_label); num_args++; | ^~~~~~~~ TextPop.c:724:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 724 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:725:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 725 | XtSetArg(args[num_args], XtNright, XtChainRight); num_args++; | ^~~~~~~~ TextPop.c:727:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 727 | XtSetArg(args[num_args], XtNresizable, True); num_args++; | ^~~~~~~~ TextPop.c:734:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 734 | XtSetArg(args[num_args], XtNfromVert, s_text); num_args++; | ^~~~~~~~ TextPop.c:736:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 736 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:737:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 737 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:743:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 743 | XtSetArg(args[num_args], XtNfromHoriz, s_label); num_args++; | ^~~~~~~~ TextPop.c:744:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 744 | XtSetArg(args[num_args], XtNfromVert, s_text); num_args++; | ^~~~~~~~ TextPop.c:745:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 745 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:746:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 746 | XtSetArg(args[num_args], XtNright, XtChainRight); num_args++; | ^~~~~~~~ TextPop.c:748:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 748 | XtSetArg(args[num_args], XtNresizable, True); num_args++; | ^~~~~~~~ TextPop.c:756:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 756 | XtSetArg(args[num_args], XtNfromVert, r_text); num_args++; | ^~~~~~~~ TextPop.c:757:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 757 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:758:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 758 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:764:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 764 | XtSetArg(args[num_args], XtNfromVert, r_text); num_args++; | ^~~~~~~~ TextPop.c:765:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 765 | XtSetArg(args[num_args], XtNfromHoriz, search_button); num_args++; | ^~~~~~~~ TextPop.c:766:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 766 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:767:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 767 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:773:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 773 | XtSetArg(args[num_args], XtNfromVert, r_text); num_args++; | ^~~~~~~~ TextPop.c:774:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 774 | 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] 775 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:776:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 776 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:782:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 782 | XtSetArg(args[num_args], XtNfromVert, r_text); num_args++; | ^~~~~~~~ TextPop.c:783:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 783 | 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] 784 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:785:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 785 | 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] 860 | 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] 896 | SetSearchLabels(search, "Could not find string", msg, True); | ^~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:102:55: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 102 | 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] 1055 | SetSearchLabels(search, "Could not find string", msg, True); | ^~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:102:55: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 102 | 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] 1075 | SetSearchLabels(search, "Selection modified, aborting.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:102:55: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 102 | 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] 1076 | "", True); | ^~ TextPop.c:102:63: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 102 | 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] 1095 | SetSearchLabels(search, "Error while replacing.", "", True); | ^~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:102:55: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 102 | 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] 1095 | SetSearchLabels(search, "Error while replacing.", "", True); | ^~ TextPop.c:102:63: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 102 | 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] 1181 | SetSearchLabels(search, "Error: SetField Action must have", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:1150:57: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 1150 | 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] 1182 | "exactly one argument", True); | ^~~~~~~~~~~~~~~~~~~~~~ TextPop.c:1150:70: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 1150 | 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] 1198 | "Error: SetField Action's first Argument must", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:1150:57: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 1150 | 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] 1199 | "be either 'Search' or 'Replace'", True); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:1150:70: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 1150 | 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] 1478 | 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] 1536 | 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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-TextSrc.lo `test -f 'TextSrc.c' || echo './'`TextSrc.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c TextSrc.c -fPIC -DPIC -o .libs/libXaw7_la-TextSrc.o TextSrc.c:146:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 146 | "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] 102 | #define XtNsourceChanged "sourceChanged" | ^~~~~~~~~~~~~~~ TextSrc.c:159:5: note: in expansion of macro 'XtNsourceChanged' 159 | XtNsourceChanged, | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw/TextSrc.h:103:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | #define XtCChanged "Changed" | ^~~~~~~~~ TextSrc.c:160:5: note: in expansion of macro 'XtCChanged' 160 | XtCChanged, | ^~~~~~~~~~ ../include/X11/Xaw/TextSrc.h:99:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 99 | #define XtNenableUndo "enableUndo" | ^~~~~~~~~~~~ TextSrc.c:168:5: note: in expansion of macro 'XtNenableUndo' 168 | XtNenableUndo, | ^~~~~~~~~~~~~ ../include/X11/Xaw/TextSrc.h:100:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 100 | #define XtCUndo "Undo" | ^~~~~~ TextSrc.c:169:5: note: in expansion of macro 'XtCUndo' 169 | XtCUndo, | ^~~~~~~ ../include/X11/Xaw/TextSrc.h:105:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 105 | #define XtNpropertyCallback "propertyCallback" | ^~~~~~~~~~~~~~~~~~ TextSrc.c:177:5: note: in expansion of macro 'XtNpropertyCallback' 177 | XtNpropertyCallback, | ^~~~~~~~~~~~~~~~~~~ TextSrc.c:194:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 194 | "TextSrc", /* class_name */ | ^~~~~~~~~ TextSrc.c:241:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 241 | 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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-Tree.lo `test -f 'Tree.c' || echo './'`Tree.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c Tree.c -fPIC -DPIC -o .libs/libXaw7_la-Tree.o 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] 92 | #define XtNautoReconfigure "autoReconfigure" | ^~~~~~~~~~~~~~~~~ Tree.c:103:7: note: in expansion of macro 'XtNautoReconfigure' 103 | { XtNautoReconfigure, XtCAutoReconfigure, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Tree.h:99:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 99 | #define XtCAutoReconfigure "AutoReconfigure" | ^~~~~~~~~~~~~~~~~ Tree.c:103:27: note: in expansion of macro 'XtCAutoReconfigure' 103 | { XtNautoReconfigure, XtCAutoReconfigure, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~~~~~ Tree.c:112:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 112 | 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] 93 | #define XtNlineWidth "lineWidth" | ^~~~~~~~~~~ Tree.c:113:7: note: in expansion of macro 'XtNlineWidth' 113 | { XtNlineWidth, XtCLineWidth, XtRDimension, sizeof (Dimension), | ^~~~~~~~~~~~ ../include/X11/Xaw/Tree.h:100:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 100 | #define XtCLineWidth "LineWidth" | ^~~~~~~~~~~ Tree.c:113:21: note: in expansion of macro 'XtCLineWidth' 113 | { XtNlineWidth, XtCLineWidth, XtRDimension, sizeof (Dimension), | ^~~~~~~~~~~~ ../include/X11/Xaw/Tree.h:96:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | #define XtNgravity "gravity" | ^~~~~~~~~ Tree.c:115:7: note: in expansion of macro 'XtNgravity' 115 | { XtNgravity, XtCGravity, XtRGravity, sizeof (XtGravity), | ^~~~~~~~~~ ../include/X11/Xaw/Tree.h:103:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | #define XtCGravity "Gravity" | ^~~~~~~~~ Tree.c:115:19: note: in expansion of macro 'XtCGravity' 115 | { XtNgravity, XtCGravity, XtRGravity, sizeof (XtGravity), | ^~~~~~~~~~ ../include/X11/Xaw/Tree.h:109:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 109 | #define XawNdisplayList "displayList" | ^~~~~~~~~~~~~ Tree.c:119:7: note: in expansion of macro 'XawNdisplayList' 119 | { XawNdisplayList, XawCDisplayList, XawRDisplayList, sizeof(XawDisplayList*), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Tree.h:113:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 113 | #define XawCDisplayList "DisplayList" | ^~~~~~~~~~~~~ Tree.c:119:24: note: in expansion of macro 'XawCDisplayList' 119 | { XawNdisplayList, XawCDisplayList, XawRDisplayList, sizeof(XawDisplayList*), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Tree.h:117:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 117 | #define XawRDisplayList "XawDisplayList" | ^~~~~~~~~~~~~~~~ Tree.c:119:41: note: in expansion of macro 'XawRDisplayList' 119 | { XawNdisplayList, XawCDisplayList, XawRDisplayList, sizeof(XawDisplayList*), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Tree.h:95:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | #define XtNtreeParent "treeParent" | ^~~~~~~~~~~~ Tree.c:130:7: note: in expansion of macro 'XtNtreeParent' 130 | { XtNtreeParent, XtCTreeParent, XtRWidget, sizeof (Widget), | ^~~~~~~~~~~~~ ../include/X11/Xaw/Tree.h:102:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | #define XtCTreeParent "TreeParent" | ^~~~~~~~~~~~ Tree.c:130:22: note: in expansion of macro 'XtCTreeParent' 130 | { XtNtreeParent, XtCTreeParent, XtRWidget, sizeof (Widget), | ^~~~~~~~~~~~~ ../include/X11/Xaw/Tree.h:94:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | #define XtNtreeGC "treeGC" | ^~~~~~~~ Tree.c:132:7: note: in expansion of macro 'XtNtreeGC' 132 | { XtNtreeGC, XtCTreeGC, XtRGC, sizeof(GC), | ^~~~~~~~~ ../include/X11/Xaw/Tree.h:101:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | #define XtCTreeGC "TreeGC" | ^~~~~~~~ Tree.c:132:18: note: in expansion of macro 'XtCTreeGC' 132 | { XtNtreeGC, XtCTreeGC, XtRGC, sizeof(GC), | ^~~~~~~~~ ../include/X11/Xaw/Tree.h:105:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 105 | #define XtRGC "GC" | ^~~~ Tree.c:132:29: note: in expansion of macro 'XtRGC' 132 | { XtNtreeGC, XtCTreeGC, XtRGC, sizeof(GC), | ^~~~~ Tree.c:141:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 141 | "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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-XawInit.lo `test -f 'XawInit.c' || echo './'`XawInit.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c XawInit.c -fPIC -DPIC -o .libs/libXaw7_la-XawInit.o 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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-Vendor.lo `test -f 'Vendor.c' || echo './'`Vendor.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c Vendor.c -fPIC -DPIC -o .libs/libXaw7_la-Vendor.o Vendor.c:152:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 152 | /* 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] 56 | #define XtNinputMethod "inputMethod" | ^~~~~~~~~~~~~ Vendor.c:210:4: note: in expansion of macro 'XtNinputMethod' 210 | {XtNinputMethod, XtCInputMethod, XtRString, sizeof(String), | ^~~~~~~~~~~~~~ ../include/X11/Xaw/XawImP.h:57:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 57 | #define XtCInputMethod "InputMethod" | ^~~~~~~~~~~~~ Vendor.c:210:20: note: in expansion of macro 'XtCInputMethod' 210 | {XtNinputMethod, XtCInputMethod, XtRString, sizeof(String), | ^~~~~~~~~~~~~~ ../include/X11/Xaw/XawImP.h:58:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 58 | #define XtNpreeditType "preeditType" | ^~~~~~~~~~~~~ Vendor.c:213:4: note: in expansion of macro 'XtNpreeditType' 213 | {XtNpreeditType, XtCPreeditType, XtRString, sizeof(String), | ^~~~~~~~~~~~~~ ../include/X11/Xaw/XawImP.h:59:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 59 | #define XtCPreeditType "PreeditType" | ^~~~~~~~~~~~~ Vendor.c:213:20: note: in expansion of macro 'XtCPreeditType' 213 | {XtNpreeditType, XtCPreeditType, XtRString, sizeof(String), | ^~~~~~~~~~~~~~ ../include/X11/Xaw/XawImP.h:60:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 60 | #define XtNopenIm "openIm" | ^~~~~~~~ Vendor.c:216:4: note: in expansion of macro 'XtNopenIm' 216 | {XtNopenIm, XtCOpenIm, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~ ../include/X11/Xaw/XawImP.h:61:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 61 | #define XtCOpenIm "OpenIm" | ^~~~~~~~ Vendor.c:216:15: note: in expansion of macro 'XtCOpenIm' 216 | {XtNopenIm, XtCOpenIm, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~ ../include/X11/Xaw/XawImP.h:62:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 62 | #define XtNsharedIc "sharedIc" | ^~~~~~~~~~ Vendor.c:219:4: note: in expansion of macro 'XtNsharedIc' 219 | {XtNsharedIc, XtCSharedIc, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~ ../include/X11/Xaw/XawImP.h:63:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 63 | #define XtCSharedIc "SharedIc" | ^~~~~~~~~~ Vendor.c:219:17: note: in expansion of macro 'XtCSharedIc' 219 | {XtNsharedIc, XtCSharedIc, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~ Vendor.c:228:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 228 | /* 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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-XawIm.lo `test -f 'XawIm.c' || echo './'`XawIm.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c XawIm.c -fPIC -DPIC -o .libs/libXaw7_la-XawIm.o XawIm.c:158:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 158 | 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] 733 | 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] XawIm.c: In function 'CreateIC': XawIm.c:887:12: warning: 'pe_a[18]' may be used uninitialized in this function [-Wmaybe-uninitialized] 887 | pe_attr = XVaCreateNestedList(0, pe_a[0], pe_a[1], pe_a[2], pe_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 888 | pe_a[4], pe_a[5], pe_a[6], pe_a[7], pe_a[8], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 889 | pe_a[9], pe_a[10], pe_a[11], pe_a[12], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 890 | pe_a[13], pe_a[14], pe_a[15], pe_a[16], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 891 | pe_a[17], pe_a[18], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:887:12: warning: 'pe_a[17]' may be used uninitialized in this function [-Wmaybe-uninitialized] XawIm.c:898:12: warning: 'st_a[18]' may be used uninitialized in this function [-Wmaybe-uninitialized] 898 | st_attr = XVaCreateNestedList(0, st_a[0], st_a[1], st_a[2], st_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 899 | st_a[4], st_a[5], st_a[6], st_a[7], st_a[8], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 900 | st_a[9], st_a[10], st_a[11], st_a[12], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 901 | st_a[13], st_a[14], st_a[15], st_a[16], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 902 | st_a[17], st_a[18], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:898:12: warning: 'st_a[17]' may be used uninitialized in this function [-Wmaybe-uninitialized] XawIm.c:898:12: warning: 'st_a[16]' may be used uninitialized in this function [-Wmaybe-uninitialized] XawIm.c:898:12: warning: 'st_a[15]' may be used uninitialized in this function [-Wmaybe-uninitialized] XawIm.c:898:12: warning: 'st_a[14]' may be used uninitialized in this function [-Wmaybe-uninitialized] XawIm.c:898:12: warning: 'st_a[13]' may be used uninitialized in this function [-Wmaybe-uninitialized] XawIm.c:908:14: warning: 'ic_a[18]' may be used uninitialized in this function [-Wmaybe-uninitialized] 908 | p->xic = XCreateIC(ve->im.xim, ic_a[0], ic_a[1], ic_a[2], ic_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 909 | ic_a[4], ic_a[5], ic_a[6], ic_a[7], ic_a[8], ic_a[9], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 910 | ic_a[10], ic_a[11], ic_a[12], ic_a[13], ic_a[14], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 911 | ic_a[15], ic_a[16], ic_a[17], ic_a[18], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:908:14: warning: 'ic_a[17]' may be used uninitialized in this function [-Wmaybe-uninitialized] XawIm.c:908:14: warning: 'ic_a[16]' may be used uninitialized in this function [-Wmaybe-uninitialized] XawIm.c:908:14: warning: 'ic_a[15]' may be used uninitialized in this function [-Wmaybe-uninitialized] XawIm.c:908:14: warning: 'ic_a[14]' may be used uninitialized in this function [-Wmaybe-uninitialized] XawIm.c:908:14: warning: 'ic_a[13]' may be used uninitialized in this function [-Wmaybe-uninitialized] XawIm.c:908:14: warning: 'ic_a[12]' may be used uninitialized in this function [-Wmaybe-uninitialized] XawIm.c:908:14: warning: 'ic_a[11]' may be used uninitialized in this function [-Wmaybe-uninitialized] XawIm.c: In function 'SetICValues': XawIm.c:1025:12: warning: 'pe_a[18]' may be used uninitialized in this function [-Wmaybe-uninitialized] 1025 | pe_attr = XVaCreateNestedList(0, pe_a[0], pe_a[1], pe_a[2], pe_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1026 | pe_a[4], pe_a[5], pe_a[6], pe_a[7], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1027 | pe_a[8], pe_a[9], pe_a[10], pe_a[11], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1028 | pe_a[12], pe_a[13], pe_a[14], pe_a[15], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1029 | pe_a[16], pe_a[17], pe_a[18], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:1025:12: warning: 'pe_a[17]' may be used uninitialized in this function [-Wmaybe-uninitialized] XawIm.c:1025:12: warning: 'pe_a[16]' may be used uninitialized in this function [-Wmaybe-uninitialized] XawIm.c:1025:12: warning: 'pe_a[15]' may be used uninitialized in this function [-Wmaybe-uninitialized] XawIm.c:1035:12: warning: 'st_a[18]' may be used uninitialized in this function [-Wmaybe-uninitialized] 1035 | st_attr = XVaCreateNestedList(0, st_a[0], st_a[1], st_a[2], st_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1036 | st_a[4], st_a[5], st_a[6], st_a[7], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1037 | st_a[8], st_a[9], st_a[10], st_a[11], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1038 | st_a[12], st_a[13], st_a[14], st_a[15], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1039 | st_a[16], st_a[17], st_a[18], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:1035:12: warning: 'st_a[17]' may be used uninitialized in this function [-Wmaybe-uninitialized] XawIm.c:1035:12: warning: 'st_a[16]' may be used uninitialized in this function [-Wmaybe-uninitialized] XawIm.c:1035:12: warning: 'st_a[15]' may be used uninitialized in this function [-Wmaybe-uninitialized] XawIm.c:1035:12: warning: 'st_a[14]' may be used uninitialized in this function [-Wmaybe-uninitialized] XawIm.c:1035:12: warning: 'st_a[13]' may be used uninitialized in this function [-Wmaybe-uninitialized] XawIm.c:1035:12: warning: 'st_a[12]' may be used uninitialized in this function [-Wmaybe-uninitialized] XawIm.c:1035:12: warning: 'st_a[11]' may be used uninitialized in this function [-Wmaybe-uninitialized] XawIm.c:1049:2: warning: 'ic_a[18]' may be used uninitialized in this function [-Wmaybe-uninitialized] 1049 | XSetICValues(p->xic, ic_a[0], ic_a[1], ic_a[2], ic_a[3], ic_a[4], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1050 | ic_a[5], ic_a[6], ic_a[7], ic_a[8], ic_a[9], ic_a[10], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1051 | ic_a[11], ic_a[12], ic_a[13], ic_a[14], ic_a[15], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1052 | ic_a[16], ic_a[17], ic_a[18], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:1049:2: warning: 'ic_a[17]' may be used uninitialized in this function [-Wmaybe-uninitialized] XawIm.c:1049:2: warning: 'ic_a[16]' may be used uninitialized in this function [-Wmaybe-uninitialized] XawIm.c:1049:2: warning: 'ic_a[15]' may be used uninitialized in this function [-Wmaybe-uninitialized] XawIm.c:1049:2: warning: 'ic_a[14]' may be used uninitialized in this function [-Wmaybe-uninitialized] XawIm.c:1049:2: warning: 'ic_a[13]' may be used uninitialized in this function [-Wmaybe-uninitialized] XawIm.c:1049:2: warning: 'ic_a[12]' may be used uninitialized in this function [-Wmaybe-uninitialized] XawIm.c:1049:2: warning: 'ic_a[11]' may be used uninitialized in this function [-Wmaybe-uninitialized] XawIm.c:1049:2: warning: 'ic_a[10]' may be used uninitialized in this function [-Wmaybe-uninitialized] XawIm.c:1049:2: warning: 'ic_a[9]' may be used uninitialized in this function [-Wmaybe-uninitialized] XawIm.c:1049:2: warning: 'ic_a[8]' may be used uninitialized in this function [-Wmaybe-uninitialized] XawIm.c:1049:2: warning: 'ic_a[7]' 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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-XawI18n.lo `test -f 'XawI18n.c' || echo './'`XawI18n.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c XawI18n.c -fPIC -DPIC -o .libs/libXaw7_la-XawI18n.o 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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-TextSink.lo `test -f 'TextSink.c' || echo './'`TextSink.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c TextSink.c -fPIC -DPIC -o .libs/libXaw7_la-TextSink.o TextSink.c:103:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | XtDefaultForeground | ^~~~~~~~~~~~~~~~~~~ TextSink.c:112:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 112 | 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] 80 | #define XtNcursorColor "cursorColor" | ^~~~~~~~~~~~~ TextSink.c:116:5: note: in expansion of macro 'XtNcursorColor' 116 | XtNcursorColor, | ^~~~~~~~~~~~~~ TextSink.c:122:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 122 | 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] 83 | #define XawNtextProperties "textProperties" | ^~~~~~~~~~~~~~~~ TextSink.c:125:5: note: in expansion of macro 'XawNtextProperties' 125 | XawNtextProperties, | ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/TextSink.h:84:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 84 | #define XawCTextProperties "TextProperties" | ^~~~~~~~~~~~~~~~ TextSink.c:126:5: note: in expansion of macro 'XawCTextProperties' 126 | XawCTextProperties, | ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/TextSink.h:85:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 85 | #define XawRTextProperties "XawTextProperties" | ^~~~~~~~~~~~~~~~~~~ TextSink.c:127:5: note: in expansion of macro 'XawRTextProperties' 127 | XawRTextProperties, | ^~~~~~~~~~~~~~~~~~ TextSink.c:157:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 157 | "TextSink", /* class_name */ | ^~~~~~~~~~ TextSink.c: In function '_XawTextSinkAddProperty': TextSink.c:1214:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1214 | static char *asterisk = "*", *null = ""; | ^~~ TextSink.c:1214:42: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1214 | 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] 1569 | 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 *' 142 | 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] 1589 | 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 *' 142 | 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] 1606 | 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 *' 142 | 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] 1625 | 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 *' 142 | 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] 1627 | 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 *' 142 | 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] 1630 | 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 *' 142 | 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] 1632 | 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 *' 142 | 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] 1636 | 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 *' 142 | 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] 1641 | 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 *' 142 | 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] 1646 | 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 *' 142 | 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] 1651 | 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 *' 142 | 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] 1656 | 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 *' 142 | 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] 1661 | 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 *' 142 | 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] 1666 | 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 *' 142 | 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] 1671 | 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 *' 142 | 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] 1676 | 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 *' 142 | 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] 1681 | 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 *' 142 | 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] 1686 | 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 *' 142 | 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] 1691 | 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 *' 142 | 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] 1696 | 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 *' 142 | 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] 1701 | 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 *' 142 | 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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-Tip.lo `test -f 'Tip.c' || echo './'`Tip.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c Tip.c -fPIC -DPIC -o .libs/libXaw7_la-Tip.o Tip.c:95:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | XtDefaultForeground, | ^~~~~~~~~~~~~~~~~~~ Tip.c:104:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | XtDefaultFont | ^~~~~~~~~~~~~ Tip.c:113:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 113 | 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] 74 | #define XtNtopMargin "topMargin" | ^~~~~~~~~~~ Tip.c:116:5: note: in expansion of macro 'XtNtopMargin' 116 | XtNtopMargin, | ^~~~~~~~~~~~ ../include/X11/Xaw/Tip.h:80:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 80 | #define XtCVerticalMargins "VerticalMargins" | ^~~~~~~~~~~~~~~~~ Tip.c:117:5: note: in expansion of macro 'XtCVerticalMargins' 117 | XtCVerticalMargins, | ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Tip.h:68:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 68 | #define XtNbottomMargin "bottomMargin" | ^~~~~~~~~~~~~~ Tip.c:125:5: note: in expansion of macro 'XtNbottomMargin' 125 | XtNbottomMargin, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Tip.h:80:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 80 | #define XtCVerticalMargins "VerticalMargins" | ^~~~~~~~~~~~~~~~~ Tip.c:126:5: note: in expansion of macro 'XtCVerticalMargins' 126 | XtCVerticalMargins, | ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Tip.h:71:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 71 | #define XtNleftMargin "leftMargin" | ^~~~~~~~~~~~ Tip.c:134:5: note: in expansion of macro 'XtNleftMargin' 134 | XtNleftMargin, | ^~~~~~~~~~~~~ ../include/X11/Xaw/Tip.h:78:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 78 | #define XtCHorizontalMargins "HorizontalMargins" | ^~~~~~~~~~~~~~~~~~~ Tip.c:135:5: note: in expansion of macro 'XtCHorizontalMargins' 135 | XtCHorizontalMargins, | ^~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Tip.h:72:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 72 | #define XtNrightMargin "rightMargin" | ^~~~~~~~~~~~~ Tip.c:143:5: note: in expansion of macro 'XtNrightMargin' 143 | XtNrightMargin, | ^~~~~~~~~~~~~~ ../include/X11/Xaw/Tip.h:78:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 78 | #define XtCHorizontalMargins "HorizontalMargins" | ^~~~~~~~~~~~~~~~~~~ Tip.c:144:5: note: in expansion of macro 'XtCHorizontalMargins' 144 | XtCHorizontalMargins, | ^~~~~~~~~~~~~~~~~~~~ Tip.c:152:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 152 | XtNbackingStore, | ^~~~~~~~~~~~~~~ Tip.c:153:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 153 | XtCBackingStore, | ^~~~~~~~~~~~~~~ Tip.c:154:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 154 | 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] 73 | #define XtNtimeout "timeout" | ^~~~~~~~~ Tip.c:161:5: note: in expansion of macro 'XtNtimeout' 161 | XtNtimeout, | ^~~~~~~~~~ ../include/X11/Xaw/Tip.h:79:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 79 | #define XtCTimeout "Timeout" | ^~~~~~~~~ Tip.c:162:5: note: in expansion of macro 'XtCTimeout' 162 | XtCTimeout, | ^~~~~~~~~~ ../include/X11/Xaw/Tip.h:69:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 69 | #define XawNdisplayList "displayList" | ^~~~~~~~~~~~~ Tip.c:170:5: note: in expansion of macro 'XawNdisplayList' 170 | XawNdisplayList, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Tip.h:77:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 77 | #define XawCDisplayList "DisplayList" | ^~~~~~~~~~~~~ Tip.c:171:5: note: in expansion of macro 'XawCDisplayList' 171 | XawCDisplayList, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Tip.h:83:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | #define XawRDisplayList "XawDisplayList" | ^~~~~~~~~~~~~~~~ Tip.c:172:5: note: in expansion of macro 'XawRDisplayList' 172 | XawRDisplayList, | ^~~~~~~~~~~~~~~ Tip.c:185:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 185 | "Tip", /* class_name */ | ^~~~~ Tip.c: In function 'TipTimeoutCallback': Tip.c:566:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 566 | XtSetArg(args[0], XtNtip, &info->tip->tip.label); | ^~~~~~~~ Tip.c:567:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 567 | XtSetArg(args[1], XtNinternational, &info->tip->tip.international); | ^~~~~~~~ Tip.c:568:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 568 | 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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-TextAction.lo `test -f 'TextAction.c' || echo './'`TextAction.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c TextAction.c -fPIC -DPIC -o .libs/libXaw7_la-TextAction.o TextAction.c: In function 'MovePage': TextAction.c:837:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 837 | 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' 839 | break; | ^~~~~ TextAction.c: In function '_DeleteOrKill': TextAction.c:1332:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1332 | text.ptr = ""; | ^ TextAction.c: In function 'StripSpaces': TextAction.c:1602:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1602 | text.ptr = " "; | ^ TextAction.c:1639:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1639 | text.ptr = ""; | ^ TextAction.c: In function 'Tabify': TextAction.c:1719:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1719 | text.ptr = "\t"; | ^ TextAction.c: In function 'Untabify': TextAction.c:1861:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1861 | static char *tabs = " "; | ^~~~~~~~~~ TextAction.c: In function 'DoFormatText': TextAction.c:2184:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2184 | text.ptr = "\n"; | ^ TextAction.c: In function 'Indent': TextAction.c:2335:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2335 | text.ptr = ""; | ^ TextAction.c: In function 'AutoFill': TextAction.c:3023:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3023 | text.ptr = "\n"; | ^ TextAction.c: In function 'StripOutOldCRs': TextAction.c:3534:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3534 | text.ptr= " "; | ^ TextAction.c: In function 'InsertNewCRs': TextAction.c:3640:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3640 | text.ptr = "\n"; | ^ TextAction.c: At top level: TextAction.c:4313:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4313 | {"forward-character", MoveForwardChar}, | ^~~~~~~~~~~~~~~~~~~ TextAction.c:4314:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4314 | {"backward-character", MoveBackwardChar}, | ^~~~~~~~~~~~~~~~~~~~ TextAction.c:4315:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4315 | {"forward-word", MoveForwardWord}, | ^~~~~~~~~~~~~~ TextAction.c:4316:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4316 | {"backward-word", MoveBackwardWord}, | ^~~~~~~~~~~~~~~ TextAction.c:4317:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4317 | {"forward-paragraph", MoveForwardParagraph}, | ^~~~~~~~~~~~~~~~~~~ TextAction.c:4318:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4318 | {"backward-paragraph", MoveBackwardParagraph}, | ^~~~~~~~~~~~~~~~~~~~ TextAction.c:4319:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4319 | {"beginning-of-line", MoveToLineStart}, | ^~~~~~~~~~~~~~~~~~~ TextAction.c:4320:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4320 | {"end-of-line", MoveToLineEnd}, | ^~~~~~~~~~~~~ TextAction.c:4321:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4321 | {"next-line", MoveNextLine}, | ^~~~~~~~~~~ TextAction.c:4322:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4322 | {"previous-line", MovePreviousLine}, | ^~~~~~~~~~~~~~~ TextAction.c:4323:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4323 | {"next-page", MoveNextPage}, | ^~~~~~~~~~~ TextAction.c:4324:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4324 | {"previous-page", MovePreviousPage}, | ^~~~~~~~~~~~~~~ TextAction.c:4325:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4325 | {"beginning-of-file", MoveBeginningOfFile}, | ^~~~~~~~~~~~~~~~~~~ TextAction.c:4326:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4326 | {"end-of-file", MoveEndOfFile}, | ^~~~~~~~~~~~~ TextAction.c:4327:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4327 | {"scroll-one-line-up", ScrollOneLineUp}, | ^~~~~~~~~~~~~~~~~~~~ TextAction.c:4328:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4328 | {"scroll-one-line-down", ScrollOneLineDown}, | ^~~~~~~~~~~~~~~~~~~~~~ TextAction.c:4331:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4331 | {"delete-next-character", DeleteForwardChar}, | ^~~~~~~~~~~~~~~~~~~~~~~ TextAction.c:4332:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4332 | {"delete-previous-character", DeleteBackwardChar}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ TextAction.c:4333:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4333 | {"delete-next-word", DeleteForwardWord}, | ^~~~~~~~~~~~~~~~~~ TextAction.c:4334:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4334 | {"delete-previous-word", DeleteBackwardWord}, | ^~~~~~~~~~~~~~~~~~~~~~ TextAction.c:4335:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4335 | {"delete-selection", DeleteCurrentSelection}, | ^~~~~~~~~~~~~~~~~~ TextAction.c:4336:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4336 | {"delete", Delete}, | ^~~~~~~~ TextAction.c:4339:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4339 | {"kill-word", KillForwardWord}, | ^~~~~~~~~~~ TextAction.c:4340:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4340 | {"backward-kill-word", KillBackwardWord}, | ^~~~~~~~~~~~~~~~~~~~ TextAction.c:4341:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4341 | {"kill-selection", KillCurrentSelection}, | ^~~~~~~~~~~~~~~~ TextAction.c:4342:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4342 | {"kill-to-end-of-line", KillToEndOfLine}, | ^~~~~~~~~~~~~~~~~~~~~ TextAction.c:4343:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4343 | {"kill-to-end-of-paragraph", KillToEndOfParagraph}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ TextAction.c:4346:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4346 | {"newline-and-indent", InsertNewLineAndIndent}, | ^~~~~~~~~~~~~~~~~~~~ TextAction.c:4347:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4347 | {"newline-and-backup", InsertNewLineAndBackup}, | ^~~~~~~~~~~~~~~~~~~~ TextAction.c:4348:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4348 | {"newline", InsertNewLine}, | ^~~~~~~~~ TextAction.c:4351:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4351 | {"select-word", SelectWord}, | ^~~~~~~~~~~~~ TextAction.c:4352:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4352 | {"select-all", SelectAll}, | ^~~~~~~~~~~~ TextAction.c:4353:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4353 | {"select-start", SelectStart}, | ^~~~~~~~~~~~~~ TextAction.c:4354:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4354 | {"select-adjust", SelectAdjust}, | ^~~~~~~~~~~~~~~ TextAction.c:4355:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4355 | {"select-end", SelectEnd}, | ^~~~~~~~~~~~ TextAction.c:4356:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4356 | {"select-save", SelectSave}, | ^~~~~~~~~~~~~ TextAction.c:4357:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4357 | {"extend-start", ExtendStart}, | ^~~~~~~~~~~~~~ TextAction.c:4358:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4358 | {"extend-adjust", ExtendAdjust}, | ^~~~~~~~~~~~~~~ TextAction.c:4359:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4359 | {"extend-end", ExtendEnd}, | ^~~~~~~~~~~~ TextAction.c:4360:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4360 | {"insert-selection", InsertSelection}, | ^~~~~~~~~~~~~~~~~~ TextAction.c:4363:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4363 | {"redraw-display", RedrawDisplay}, | ^~~~~~~~~~~~~~~~ TextAction.c:4364:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4364 | {"insert-file", _XawTextInsertFile}, | ^~~~~~~~~~~~~ TextAction.c:4365:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4365 | {"search", _XawTextSearch}, | ^~~~~~~~ TextAction.c:4366:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4366 | {"insert-char", InsertChar}, | ^~~~~~~~~~~~~ TextAction.c:4367:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4367 | {"insert-string", InsertString}, | ^~~~~~~~~~~~~~~ TextAction.c:4368:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4368 | {"focus-in", TextFocusIn}, | ^~~~~~~~~~ TextAction.c:4369:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4369 | {"focus-out", TextFocusOut}, | ^~~~~~~~~~~ TextAction.c:4370:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4370 | {"enter-window", TextEnterWindow}, | ^~~~~~~~~~~~~~ TextAction.c:4371:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4371 | {"leave-window", TextLeaveWindow}, | ^~~~~~~~~~~~~~ TextAction.c:4372:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4372 | {"display-caret", DisplayCaret}, | ^~~~~~~~~~~~~~~ TextAction.c:4373:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4373 | {"multiply", Multiply}, | ^~~~~~~~~~ TextAction.c:4374:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4374 | {"form-paragraph", FormParagraph}, | ^~~~~~~~~~~~~~~~ TextAction.c:4375:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4375 | {"transpose-characters", TransposeCharacters}, | ^~~~~~~~~~~~~~~~~~~~~~ TextAction.c:4376:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4376 | {"set-keyboard-focus", SetKeyboardFocus}, | ^~~~~~~~~~~~~~~~~~~~ TextAction.c:4378:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4378 | {"numeric", Numeric}, | ^~~~~~~~~ TextAction.c:4379:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4379 | {"undo", Undo}, | ^~~~~~ TextAction.c:4380:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4380 | {"keyboard-reset", KeyboardReset}, | ^~~~~~~~~~~~~~~~ TextAction.c:4381:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4381 | {"kill-ring-yank", KillRingYank}, | ^~~~~~~~~~~~~~~~ TextAction.c:4382:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4382 | {"toggle-overwrite", ToggleOverwrite}, | ^~~~~~~~~~~~~~~~~~ TextAction.c:4383:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4383 | {"indent", Indent}, | ^~~~~~~~ TextAction.c:4385:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4385 | {"no-op", NoOp}, | ^~~~~~~ TextAction.c:4388:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4388 | {"capitalize-word", CapitalizeWord}, | ^~~~~~~~~~~~~~~~~ TextAction.c:4389:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4389 | {"downcase-word", DowncaseWord}, | ^~~~~~~~~~~~~~~ TextAction.c:4390:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4390 | {"upcase-word", UpcaseWord}, | ^~~~~~~~~~~~~ TextAction.c:4393:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4393 | {"InsertFileAction", _XawTextInsertFileAction}, | ^~~~~~~~~~~~~~~~~~ TextAction.c:4394:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4394 | {"DoSearchAction", _XawTextDoSearchAction}, | ^~~~~~~~~~~~~~~~ TextAction.c:4395:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4395 | {"DoReplaceAction", _XawTextDoReplaceAction}, | ^~~~~~~~~~~~~~~~~ TextAction.c:4396:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4396 | {"SetField", _XawTextSetField}, | ^~~~~~~~~~ TextAction.c:4397:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4397 | {"PopdownSearchAction", _XawTextPopdownSearchAction}, | ^~~~~~~~~~~~~~~~~~~~~ TextAction.c:4400:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4400 | {"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] 4260 | 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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-Viewport.lo `test -f 'Viewport.c' || echo './'`Viewport.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c Viewport.c -fPIC -DPIC -o .libs/libXaw7_la-Viewport.o 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] 52 | #define XtNreportCallback "reportCallback" | ^~~~~~~~~~~~~~~~ Viewport.c:150:5: note: in expansion of macro 'XtNreportCallback' 150 | XtNreportCallback, | ^~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Reports.h:53:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 53 | #define XtCReportCallback "reportCallback" | ^~~~~~~~~~~~~~~~ Viewport.c:151:5: note: in expansion of macro 'XtCReportCallback' 151 | XtCReportCallback, | ^~~~~~~~~~~~~~~~~ Viewport.c:166:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 166 | "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] 96 | #define XtNleft "left" | ^~~~~~ Viewport.c:237:3: note: in expansion of macro 'XtNleft' 237 | {XtNleft, 0}, | ^~~~~~~ ../include/X11/Xaw/Form.h:97:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | #define XtNright "right" | ^~~~~~~ Viewport.c:238:3: note: in expansion of macro 'XtNright' 238 | {XtNright, 0}, | ^~~~~~~~ ../include/X11/Xaw/Form.h:95:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | #define XtNbottom "bottom" | ^~~~~~~~ Viewport.c:240:3: note: in expansion of macro 'XtNbottom' 240 | {XtNbottom, 0}, | ^~~~~~~~~ Viewport.c:252:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 252 | XtSetArg(barArgs[2], XtNleft, | ^~~~~~~~ Viewport.c:254:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 254 | XtSetArg(barArgs[3], XtNright, | ^~~~~~~~ Viewport.c:258:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 258 | XtSetArg(barArgs[5], XtNbottom, | ^~~~~~~~ Viewport.c: In function 'XawViewportInitialize': Viewport.c:306:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 306 | XtSetArg(clip_args[arg_cnt], XtNleft, XtChainLeft); arg_cnt++; | ^~~~~~~~ Viewport.c:307:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 307 | XtSetArg(clip_args[arg_cnt], XtNright, XtChainRight); arg_cnt++; | ^~~~~~~~ Viewport.c:309:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 309 | 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] 596 | Widget bar; \ | ^~~ Viewport.c:618:7: note: in expansion of macro 'CheckHoriz' 618 | CheckHoriz(); | ^~~~~~~~~~ Viewport.c:611:14: note: shadowed declaration is here 611 | 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' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c -o libXaw7_la-Text.lo `test -f 'Text.c' || echo './'`Text.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DPROJECT_ROOT=\"/usr\" -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -c Text.c -fPIC -DPIC -o .libs/libXaw7_la-Text.o 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] 77 | #define XtNcursor "cursor" | ^~~~~~~~ Text.c:289:5: note: in expansion of macro 'XtNcursor' 289 | XtNcursor, | ^~~~~~~~~ Text.c:295:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 295 | "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] 183 | #define XtNdisplayPosition "displayPosition" | ^~~~~~~~~~~~~~~~~ Text.c:307:5: note: in expansion of macro 'XtNdisplayPosition' 307 | XtNdisplayPosition, | ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Text.h:184:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 184 | #define XtNleftMargin "leftMargin" | ^~~~~~~~~~~~ Text.c:325:5: note: in expansion of macro 'XtNleftMargin' 325 | XtNleftMargin, | ^~~~~~~~~~~~~ ../include/X11/Xaw/Text.h:185:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 185 | #define XtNrightMargin "rightMargin" | ^~~~~~~~~~~~~ Text.c:334:5: note: in expansion of macro 'XtNrightMargin' 334 | XtNrightMargin, | ^~~~~~~~~~~~~~ ../include/X11/Xaw/Text.h:190:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 190 | #define XtNtopMargin "topMargin" | ^~~~~~~~~~~ Text.c:343:5: note: in expansion of macro 'XtNtopMargin' 343 | XtNtopMargin, | ^~~~~~~~~~~~ ../include/X11/Xaw/Text.h:179:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 179 | #define XtNbottomMargin "bottomMargin" | ^~~~~~~~~~~~~~ Text.c:352:5: note: in expansion of macro 'XtNbottomMargin' 352 | XtNbottomMargin, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw/Text.h:189:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 189 | #define XtNselectTypes "selectTypes" | ^~~~~~~~~~~~~ Text.c:361:5: note: in expansion of macro 'XtNselectTypes' 361 | XtNselectTypes, | ^~~~~~~~~~~~~~ ../include/X11/Xaw/Text.h:205:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 205 | #define XtCSelectTypes "SelectTypes" | ^~~~~~~~~~~~~ Text.c:362:5: note: in expansion of macro 'XtCSelectTypes' 362 | XtCSelectTypes, | ^~~~~~~~~~~~~~ ../include/X11/Xaw/Text.h:182:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 182 | #define XtNdisplayCaret "displayCaret" | ^~~~~~~~~~~~~~ Text.c:388:5: note: in expansion of macro 'XtNdisplayCaret' 388 | 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] 91 | #define XtCOutput "Output" | ^~~~~~~~ Text.c:389:5: note: in expansion of macro 'XtCOutput' 389 | 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] 187 | #define XtNscrollVertical "scrollVertical" | ^~~~~~~~~~~~~~~~ Text.c:397:5: note: in expansion of macro 'XtNscrollVertical' 397 | XtNscrollVertical, | ^~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Text.h:208:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 208 | #define XtCScroll "Scroll" | ^~~~~~~~ Text.c:398:5: note: in expansion of macro 'XtCScroll' 398 | 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] 264 | #define XtRScrollMode "ScrollMode" | ^~~~~~~~~~~~ Text.c:399:5: note: in expansion of macro 'XtRScrollMode' 399 | 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] 188 | #define XtNscrollHorizontal "scrollHorizontal" | ^~~~~~~~~~~~~~~~~~ Text.c:406:5: note: in expansion of macro 'XtNscrollHorizontal' 406 | XtNscrollHorizontal, | ^~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Text.h:208:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 208 | #define XtCScroll "Scroll" | ^~~~~~~~ Text.c:407:5: note: in expansion of macro 'XtCScroll' 407 | 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] 264 | #define XtRScrollMode "ScrollMode" | ^~~~~~~~~~~~ Text.c:408:5: note: in expansion of macro 'XtRScrollMode' 408 | 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] 191 | #define XtNwrap "wrap" | ^~~~~~ Text.c:415:5: note: in expansion of macro 'XtNwrap' 415 | XtNwrap, | ^~~~~~~ ../include/X11/Xaw/Text.h:206:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 206 | #define XtCWrap "Wrap" | ^~~~~~ Text.c:416:5: note: in expansion of macro 'XtCWrap' 416 | 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] 263 | #define XtRWrapMode "WrapMode" | ^~~~~~~~~~ Text.c:417:5: note: in expansion of macro 'XtRWrapMode' 417 | 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] 178 | #define XtNautoFill "autoFill" | ^~~~~~~~~~ Text.c:424:5: note: in expansion of macro 'XtNautoFill' 424 | XtNautoFill, | ^~~~~~~~~~~ ../include/X11/Xaw/Text.h:204:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 204 | #define XtCAutoFill "AutoFill" | ^~~~~~~~~~ Text.c:425:5: note: in expansion of macro 'XtCAutoFill' 425 | XtCAutoFill, | ^~~~~~~~~~~ ../include/X11/Xaw/Text.h:186:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 186 | #define XtNpositionCallback "positionCallback" | ^~~~~~~~~~~~~~~~~~ Text.c:434:5: note: in expansion of macro 'XtNpositionCallback' 434 | XtNpositionCallback, | ^~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw/Text.h:194:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 194 | #define XtNleftColumn "leftColumn" | ^~~~~~~~~~~~ Text.c:443:5: note: in expansion of macro 'XtNleftColumn' 443 | XtNleftColumn, | ^~~~~~~~~~~~~ ../include/X11/Xaw/Text.h:193:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 193 | #define XtCColumn "Column" | ^~~~~~~~ Text.c:444:5: note: in expansion of macro 'XtCColumn' 444 | XtCColumn, | ^~~~~~~~~ ../include/X11/Xaw/Text.h:195:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 195 | #define XtNrightColumn "rightColumn" | ^~~~~~~~~~~~~ Text.c:452:5: note: in expansion of macro 'XtNrightColumn' 452 | XtNrightColumn, | ^~~~~~~~~~~~~~ ../include/X11/Xaw/Text.h:193:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 193 | #define XtCColumn "Column" | ^~~~~~~~ Text.c:453:5: note: in expansion of macro 'XtCColumn' 453 | 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] 266 | #define XtRJustifyMode "JustifyMode" | ^~~~~~~~~~~~~ Text.c:463:5: note: in expansion of macro 'XtRJustifyMode' 463 | XtRJustifyMode, | ^~~~~~~~~~~~~~ Text.c: In function 'CvtScrollModeToString': Text.c:519:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 519 | buffer = XtEtextScrollNever; | ^ Text.c:522:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 522 | 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] 264 | #define XtRScrollMode "ScrollMode" | ^~~~~~~~~~~~ Text.c:525:34: note: in expansion of macro 'XtRScrollMode' 525 | 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 *' 147 | void XawTypeToStringWarning(Display*, String); | ^~~~~~ Text.c: In function 'CvtWrapModeToString': Text.c:580:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 580 | buffer = XtEtextWrapNever; | ^ Text.c:583:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 583 | buffer = XtEtextWrapLine; | ^ Text.c:586:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 586 | 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] 263 | #define XtRWrapMode "WrapMode" | ^~~~~~~~~~ Text.c:589:34: note: in expansion of macro 'XtRWrapMode' 589 | 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 *' 147 | void XawTypeToStringWarning(Display*, String); | ^~~~~~ Text.c: In function 'CvtJustifyModeToString': Text.c:652:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 652 | buffer = XtEtextJustifyLeft; | ^ Text.c:655:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 655 | buffer = XtEtextJustifyRight; | ^ Text.c:658:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 658 | buffer = XtEtextJustifyCenter; | ^ Text.c:661:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 661 | 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] 266 | #define XtRJustifyMode "JustifyMode" | ^~~~~~~~~~~~~ Text.c:664:34: note: in expansion of macro 'XtRJustifyMode' 664 | 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 *' 147 | void XawTypeToStringWarning(Display*, String); | ^~~~~~ Text.c: In function '_XawTextSetSelection': Text.c:3149:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3149 | static String defaultSel = "PRIMARY"; | ^~~~~~~~~ Text.c: At top level: Text.c:4114:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4114 | "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' /bin/sh ../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXAW7 -pipe -frecord-gcc-switches -Wall -g -O2 -version-info 7:0:0 -no-undefined -o libXaw7.la -rpath /usr/lib64 libXaw7_la-Actions.lo libXaw7_la-AllWidgets.lo libXaw7_la-AsciiSink.lo libXaw7_la-AsciiSrc.lo libXaw7_la-AsciiText.lo libXaw7_la-Box.lo libXaw7_la-Command.lo libXaw7_la-Converters.lo libXaw7_la-Dialog.lo libXaw7_la-DisplayList.lo libXaw7_la-Form.lo libXaw7_la-Grip.lo libXaw7_la-Label.lo libXaw7_la-List.lo libXaw7_la-MenuButton.lo libXaw7_la-MultiSrc.lo libXaw7_la-MultiSink.lo libXaw7_la-OS.lo libXaw7_la-Paned.lo libXaw7_la-Panner.lo libXaw7_la-Pixmap.lo libXaw7_la-Porthole.lo libXaw7_la-Repeater.lo libXaw7_la-Scrollbar.lo libXaw7_la-Simple.lo libXaw7_la-SimpleMenu.lo libXaw7_la-Sme.lo libXaw7_la-SmeBSB.lo libXaw7_la-SmeLine.lo libXaw7_la-StripChart.lo libXaw7_la-Text.lo libXaw7_la-TextSink.lo libXaw7_la-TextSrc.lo libXaw7_la-TextAction.lo libXaw7_la-TextPop.lo libXaw7_la-TextTr.lo libXaw7_la-Toggle.lo libXaw7_la-Tree.lo libXaw7_la-Vendor.lo libXaw7_la-Viewport.lo libXaw7_la-XawIm.lo libXaw7_la-XawInit.lo libXaw7_la-XawI18n.lo libXaw7_la-Tip.lo -lXext -lXmu -lXt -lXpm -lX11 libtool: link: x86_64-alt-linux-gcc -shared -fPIC -DPIC .libs/libXaw7_la-Actions.o .libs/libXaw7_la-AllWidgets.o .libs/libXaw7_la-AsciiSink.o .libs/libXaw7_la-AsciiSrc.o .libs/libXaw7_la-AsciiText.o .libs/libXaw7_la-Box.o .libs/libXaw7_la-Command.o .libs/libXaw7_la-Converters.o .libs/libXaw7_la-Dialog.o .libs/libXaw7_la-DisplayList.o .libs/libXaw7_la-Form.o .libs/libXaw7_la-Grip.o .libs/libXaw7_la-Label.o .libs/libXaw7_la-List.o .libs/libXaw7_la-MenuButton.o .libs/libXaw7_la-MultiSrc.o .libs/libXaw7_la-MultiSink.o .libs/libXaw7_la-OS.o .libs/libXaw7_la-Paned.o .libs/libXaw7_la-Panner.o .libs/libXaw7_la-Pixmap.o .libs/libXaw7_la-Porthole.o .libs/libXaw7_la-Repeater.o .libs/libXaw7_la-Scrollbar.o .libs/libXaw7_la-Simple.o .libs/libXaw7_la-SimpleMenu.o .libs/libXaw7_la-Sme.o .libs/libXaw7_la-SmeBSB.o .libs/libXaw7_la-SmeLine.o .libs/libXaw7_la-StripChart.o .libs/libXaw7_la-Text.o .libs/libXaw7_la-TextSink.o .libs/libXaw7_la-TextSrc.o .libs/libXaw7_la-TextAction.o .libs/libXaw7_la-TextPop.o .libs/libXaw7_la-TextTr.o .libs/libXaw7_la-Toggle.o .libs/libXaw7_la-Tree.o .libs/libXaw7_la-Vendor.o .libs/libXaw7_la-Viewport.o .libs/libXaw7_la-XawIm.o .libs/libXaw7_la-XawInit.o .libs/libXaw7_la-XawI18n.o .libs/libXaw7_la-Tip.o -lXext -lXmu -lXt -lXpm -lX11 -g -O2 -Wl,-soname -Wl,libXaw.so.7 -o .libs/libXaw7.so.7.0.0 libtool: link: (cd ".libs" && rm -f "libXaw7.so.7" && ln -s "libXaw7.so.7.0.0" "libXaw7.so.7") libtool: link: (cd ".libs" && rm -f "libXaw7.so" && ln -s "libXaw7.so.7.0.0" "libXaw7.so") libtool: link: ( cd ".libs" && rm -f "libXaw7.la" && ln -s "../libXaw7.la" "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' /bin/sed -e 's|__vendorversion__|"libXaw 1.0.12" "X Version 11"|' -e 's|__xorgversion__|"libXaw 1.0.12" "X Version 11"|' -e 's|__xservername__|Xorg|g' -e 's|__xconfigfile__|xorg.conf|g' -e 's|__projectroot__|/usr|g' -e 's|__apploaddir__||g' -e 's|__appmansuffix__|1|g' -e 's|__drivermansuffix__|4|g' -e 's|__adminmansuffix__|8|g' -e 's|__libmansuffix__|3|g' -e 's|__miscmansuffix__|7|g' -e 's|__filemansuffix__|5|g' -e 's|__docdir__|/usr/share/doc/libXaw|g' < Xaw.man > 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' /usr/bin/xsltproc --path "/usr/share/sgml/X11" --path "/usr/src/RPM/BUILD/libXaw-1.0.12" --stringparam targets.filename "libXaw.html.db" --stringparam collect.xref.targets "only" --stringparam olink.base.uri "libXaw.html" --nonet --xinclude /usr/share/sgml/X11/xorg-xhtml.xsl libXaw.xml 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' /usr/bin/xsltproc --path "/usr/share/sgml/X11" --path "/usr/src/RPM/BUILD/libXaw-1.0.12" --stringparam targets.filename "libXaw.pdf.db" --stringparam collect.xref.targets "only" --stringparam olink.base.uri "libXaw.pdf" --nonet --xinclude /usr/share/sgml/X11/xorg-fo.xsl libXaw.xml 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' /usr/bin/xmlto --searchpath "/usr/share/sgml/X11" --searchpath "/usr/src/RPM/BUILD/libXaw-1.0.12" -x /usr/share/sgml/X11/xorg-xhtml.xsl --stringparam target.database.document=/usr/share/sgml/X11/dbs/masterdb.html.xml --stringparam current.docid="libXaw" xhtml-nochunks libXaw.xml warning: failed to load external entity "/usr/share/doc/libICE/ICElib.html.db" warning: failed to load external entity "/usr/share/doc/libICE/ice.html.db" warning: failed to load external entity "/usr/share/doc/libSM/SMlib.html.db" warning: failed to load external entity "/usr/share/doc/libSM/xsmp.html.db" warning: failed to load external entity "/usr/share/doc/libX11/libX11/libX11.html.db" warning: failed to load external entity "/usr/share/doc/libX11/i18n/compose/libX11-keys.html.db" warning: failed to load external entity "/usr/share/doc/libX11/i18n/framework/framework.html.db" warning: failed to load external entity "/usr/share/doc/libX11/i18n/localedb/localedb.html.db" warning: failed to load external entity "/usr/share/doc/libX11/i18n/trans/trans.html.db" warning: failed to load external entity "/usr/share/doc/libX11/XIM/xim.html.db" warning: failed to load external entity "/usr/share/doc/libX11/XKB/xkblib.html.db" warning: failed to load external entity "/usr/share/doc//libXaw/libXaw.html.db" warning: failed to load external entity "/usr/share/doc//libXdmcp/xdmcp.html.db" warning: failed to load external entity "/usr/share/doc/libXext/dbelib.html.db" warning: failed to load external entity "/usr/share/doc/libXext/dpmslib.html.db" warning: failed to load external entity "/usr/share/doc/libXext/shapelib.html.db" warning: failed to load external entity "/usr/share/doc/libXext/synclib.html.db" warning: failed to load external entity "/usr/share/doc/libXext/xtest1.html.db" warning: failed to load external entity "/usr/share/doc/libXi/inputlib.html.db" warning: failed to load external entity "/usr/share/doc/libXmu/Xmu.html.db" warning: failed to load external entity "/usr/share/doc/libXtst/recordlib.html.db" warning: failed to load external entity "/usr/share/doc/libXtst/xtestlib.html.db" warning: failed to load external entity "/usr/share/doc/xtrans/xtrans.html.db" warning: failed to load external entity "/usr/share/doc/bigreqsproto/bigreq.html.db" warning: failed to load external entity "/usr/share/doc/fontsproto/fsproto.html.db" warning: failed to load external entity "/usr/share/doc/kbproto/xkbproto.html.db" warning: failed to load external entity "/usr/share/doc/recordproto/record.html.db" warning: failed to load external entity "/usr/share/doc/scrnsaverproto/saver.html.db" warning: failed to load external entity "/usr/share/doc/xcmiscproto/xc-misc.html.db" warning: failed to load external entity "/usr/share/doc/xextproto/appgrp.html.db" warning: failed to load external entity "/usr/share/doc/xextproto/dbe.html.db" warning: failed to load external entity "/usr/share/doc/xextproto/dpms.html.db" warning: failed to load external entity "/usr/share/doc/xextproto/evi.html.db" warning: failed to load external entity "/usr/share/doc/xextproto/geproto.html.db" warning: failed to load external entity "/usr/share/doc/xextproto/lbx.html.db" warning: failed to load external entity "/usr/share/doc/xextproto/multibuf.html.db" warning: failed to load external entity "/usr/share/doc/xextproto/security.html.db" warning: failed to load external entity "/usr/share/doc/xextproto/shape.html.db" warning: failed to load external entity "/usr/share/doc/xextproto/shm.html.db" warning: failed to load external entity "/usr/share/doc/xextproto/sync.html.db" warning: failed to load external entity "/usr/share/doc/xextproto/tog-cup.html.db" warning: failed to load external entity "/usr/share/doc/xextproto/xtest.html.db" warning: failed to load external entity "/usr/share/doc/xproto/x11protocol.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/License.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/README.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/ReleaseNotes.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/Versions.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/fonts/fonts.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/graphics/dps.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/input/XKB-Config.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/input/XKB-Enhancing.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/platforms/Darwin.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/platforms/Solaris.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/ctext/ctext.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/icccm/icccm.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/xext/lbxalg.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/xlfd/xlfd.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/Xserver/appgroup.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/Xserver/analysis.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/Xserver/secint.html.db" warning: failed to load external entity "/usr/share/doc/xorg-docs/Xserver/XACE-Spec.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.39978 + 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/lib64' /bin/sh ../libtool --mode=install /bin/install -c libXaw7.la '/usr/src/tmp/libXaw-buildroot/usr/lib64' libtool: install: /bin/install -c .libs/libXaw7.so.7.0.0 /usr/src/tmp/libXaw-buildroot/usr/lib64/libXaw7.so.7.0.0 libtool: install: (cd /usr/src/tmp/libXaw-buildroot/usr/lib64 && { ln -s -f libXaw7.so.7.0.0 libXaw7.so.7 || { rm -f libXaw7.so.7 && ln -s libXaw7.so.7.0.0 libXaw7.so.7; }; }) libtool: install: (cd /usr/src/tmp/libXaw-buildroot/usr/lib64 && { ln -s -f libXaw7.so.7.0.0 libXaw7.so || { rm -f libXaw7.so && ln -s libXaw7.so.7.0.0 libXaw7.so; }; }) libtool: install: /bin/install -c .libs/libXaw7.lai /usr/src/tmp/libXaw-buildroot/usr/lib64/libXaw7.la libtool: warning: remember to run 'libtool --finish /usr/lib64' 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/lib64/libXaw.so.7 (cd /usr/src/tmp/libXaw-buildroot/usr/lib64 && 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/lib64 && 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/lib64/pkgconfig' /bin/install -c -m 644 xaw7.pc '/usr/src/tmp/libXaw-buildroot/usr/lib64/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/lib64/libXaw7.la' mode of './usr/lib64/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/lib64/pkgconfig/xaw7.pc: Cflags: '-I${includedir}' --> '' /usr/lib64/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/lib64: 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) 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.Q9fvNz find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) lib.prov: /usr/src/tmp/libXaw-buildroot/usr/lib64/libXaw.so.7: 252 symbols, 18 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.roixMy find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: libXaw.so.7()(64bit) = set:ld2dTWruVvgM9pZjI3POBcJ1nryDBRd49Sc6rqJwPqOXWvtq1PMYjcMa9wiOb9LQKmLASEYWyaPYZGed7qhrRRUFh4iRFCTrOMiqEg2aXHhJ9vkVxJXtZjhqg8cZ91PIpsEZdllKcANfdbR13jmsbFOvLMxQg9qm0MJawTe2ow9NkbVk3b5jTmMs1EDScCwXWrSDXMVO3KqPLdFkZzqvwVzSziZbpQnd0gpsDe9rOHWjipmv54Fvh6YTcyIZrs2OrZ2CZ5DS14PZwZ0aHBoZvoji1PugM8cldZ0VMGG5YRZmHQZdc8hEtJ4lxq6DIZzqG7VvQmTA4rLucrCvfXaBja2y4FC6HNS4oS1LO0ijuQU6nsC2Hum5HwCXNVyIZ8wP5oaR1SKdFCARZCNTVdoAgZtXDk1ny1whrBksQZHEquZk5jydi0H8V2YoAgsfX2uiPHomeFKQ2ZoJhPHld2CDDKW3lMo1yaHjtL2xzXXDpcCliBCx Requires: libX11.so.6()(64bit) >= set:og415jxO2lMZwaW0ZLidOQZ0KddK4V4UMJbRmltE2vA9EGnkQCsN0BZph260iDZAVBg4LHDxVUqKQj9YZqxqm4NKBwtqKi39BRieW7U6wvj02DIKyqJ4DMLe0yVtRJU8rv5k3HQaNI8aVqYvk57Na609YjXHM8BfGkrkIQsfJuubVed0XH6ges4a3CdxXOj77W3uQdYE3Xl3p23K1hq60PyUv7cR6BTgeDocN3U0FQ2umwZt8baOWK6x6ANvvdtHppZ26wa2Ur7XCWO5cfomZk1Mklk3hUGpmOxjZbgTeuApMycXV5vxEY8I2AN3cLOGMF3L5XT3Ym7XjzkrHFTJn, libXext.so.6()(64bit) >= set:ljxIbcv21, libXmu.so.6()(64bit) >= set:lfT1AYpVO1XC92ZBVbERyThjS8ghSOw5K7eRVUbGyc3UXUlE4lXg0F5RSX3fS3fTpayOLkKIcAsMyOba1F0d6xxy9mrXtAVLwL6Zn2wsGqKuNSfr, libXpm.so.4()(64bit) >= set:kjpJo, libXt.so.6()(64bit) >= set:mf3seeZ9cfvyGBGNrbb4SP5mUGiVZx3XaW0rz7MwdHlStUh2JKQ1ZJjD1iI1sRuU5d9IBXTyZCIFEZvjyQcmTNk7rfBREsN1Fy4b3HV044LpDJmG9tLYypCba1KWcbBqQD0nayAhCQ0Bha5MqpukSagLEQXlbZIcpi8q3eZJTzDpPg0FeJYyMhftjVw50rfqq0NduPYZqnyf1KDsqvhHc3BFXJ8TX18Cmy1Ob3WFsd9eiDP6ahIKsfvwKTXuuolWhyNCMyJ2, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), 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.qPO5iw 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.gipaEv 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.6bpbex find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: pkgconfig(xaw7) = 1.0.12 Requires: libXaw = 1.0.12-alt1, /usr/lib64/libXaw7.so.7.0.0, /usr/lib64/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.7hzcWv 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.puSbax find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.01pYZx find-requires: running scripts (debuginfo) Provides: debug64(libXaw.so.7) Requires: libXaw = 1.0.12-alt1, debug64(libX11.so.6), debug64(libXext.so.6), debug64(libXmu.so.6), debug64(libXpm.so.4), debug64(libXt.so.6), debug64(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/x86_64/libXaw-1.0.12-alt1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/libXaw-devel-1.0.12-alt1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/libXaw-debuginfo-1.0.12-alt1.x86_64.rpm 31.63user 5.87system 0:50.39elapsed 74%CPU (0avgtext+0avgdata 62592maxresident)k 0inputs+0outputs (0major+2143471minor)pagefaults 0swaps /.out/libXaw-1.0.12-alt1.x86_64.rpm: bad symbols in the license tag: / /.out/libXaw-devel-1.0.12-alt1.x86_64.rpm: bad symbols in the license tag: / /.out/libXaw-debuginfo-1.0.12-alt1.x86_64.rpm: bad symbols in the license tag: / 36.89user 10.17system 1:01.54elapsed 76%CPU (0avgtext+0avgdata 113380maxresident)k 0inputs+0outputs (0major+2487661minor)pagefaults 0swaps --- libXaw-debuginfo-1.0.12-alt1.x86_64.rpm.repo 2014-01-30 09:03:48.000000000 +0000 +++ libXaw-debuginfo-1.0.12-alt1.x86_64.rpm.hasher 2020-04-29 05:25:10.055988978 +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.x86_64.rpm.repo 2014-01-30 09:03:48.000000000 +0000 +++ libXaw-devel-1.0.12-alt1.x86_64.rpm.hasher 2020-04-29 05:25:10.072988928 +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)