<86>Oct 18 16:50:24 userdel[818717]: delete user 'rooter' <86>Oct 18 16:50:24 userdel[818717]: removed group 'rooter' owned by 'rooter' <86>Oct 18 16:50:24 userdel[818717]: removed shadow group 'rooter' owned by 'rooter' <86>Oct 18 16:50:24 groupadd[818740]: group added to /etc/group: name=rooter, GID=1829 <86>Oct 18 16:50:24 groupadd[818740]: group added to /etc/gshadow: name=rooter <86>Oct 18 16:50:24 groupadd[818740]: new group: name=rooter, GID=1829 <86>Oct 18 16:50:24 useradd[818770]: new user: name=rooter, UID=1829, GID=1829, home=/root, shell=/bin/bash, from=none <86>Oct 18 16:50:24 userdel[818803]: delete user 'builder' <86>Oct 18 16:50:24 userdel[818803]: removed group 'builder' owned by 'builder' <86>Oct 18 16:50:24 userdel[818803]: removed shadow group 'builder' owned by 'builder' <86>Oct 18 16:50:24 groupadd[818842]: group added to /etc/group: name=builder, GID=1830 <86>Oct 18 16:50:24 groupadd[818842]: group added to /etc/gshadow: name=builder <86>Oct 18 16:50:24 groupadd[818842]: new group: name=builder, GID=1830 <86>Oct 18 16:50:24 useradd[818869]: new user: name=builder, UID=1830, GID=1830, home=/usr/src, shell=/bin/bash, from=none <13>Oct 18 16:50:27 rpmi: xorg-proto-devel-2024.1-alt1 sisyphus+343583.40.1.1 1711440649 installed <13>Oct 18 16:50:27 rpmi: libXau-1.0.11-alt1 sisyphus+311428.100.1.1 1670577439 installed <13>Oct 18 16:50:27 rpmi: libICE-1.1.1-alt1 sisyphus+311428.500.1.1 1670577555 installed <13>Oct 18 16:50:27 rpmi: libSM-1.2.4-alt1 sisyphus+312057.200.1.1 1671526916 installed <13>Oct 18 16:50:27 rpmi: libXau-devel-1.0.11-alt1 sisyphus+311428.100.1.1 1670577439 installed <13>Oct 18 16:50:27 rpmi: xorg-printproto-devel-1.0.5-alt1 sisyphus+277135.100.1.1 1625404981 installed <13>Oct 18 16:50:27 rpmi: libICE-devel-1.1.1-alt1 sisyphus+311428.500.1.1 1670577555 installed <13>Oct 18 16:50:27 rpmi: libSM-devel-1.2.4-alt1 sisyphus+312057.200.1.1 1671526916 installed <13>Oct 18 16:50:27 rpmi: libX11-locales-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240771 installed <13>Oct 18 16:50:27 rpmi: libXdmcp-1.1.5-alt1 sisyphus+343583.700.1.1 1711441061 installed <13>Oct 18 16:50:27 rpmi: libxcb-1.17.0-alt1 sisyphus+345308.200.1.1 1713342004 installed <13>Oct 18 16:50:27 rpmi: libX11-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240771 installed <13>Oct 18 16:50:27 rpmi: libXext-1.3.6-alt1 sisyphus+343583.1000.1.1 1711441101 installed <13>Oct 18 16:50:27 rpmi: libXt-1.3.0-alt1 sisyphus+331490.500.1.1 1697023310 installed <13>Oct 18 16:50:27 rpmi: libXmu-1.2.0-alt1 sisyphus+343583.1200.1.1 1711441172 installed <13>Oct 18 16:50:27 rpmi: libXpm-3.5.17-alt1 sisyphus+330921.100.1.1 1696400257 installed <13>Oct 18 16:50:27 rpmi: libXp-1.0.2-alt1 sisyphus+275088.100.1.1 1624401938 installed <13>Oct 18 16:50:28 rpmi: libxcb-devel-1.17.0-alt1 sisyphus+345308.200.1.1 1713342004 installed <13>Oct 18 16:50:28 rpmi: libX11-devel-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240771 installed <13>Oct 18 16:50:28 rpmi: libXt-devel-1.3.0-alt1 sisyphus+331490.500.1.1 1697023310 installed <13>Oct 18 16:50:28 rpmi: libXmu-devel-1.2.0-alt1 sisyphus+343583.1200.1.1 1711441172 installed <13>Oct 18 16:50:28 rpmi: libXext-devel-1.3.6-alt1 sisyphus+343583.1000.1.1 1711441101 installed <13>Oct 18 16:50:28 rpmi: libXpm-devel-3.5.17-alt1 sisyphus+330921.100.1.1 1696400257 installed <13>Oct 18 16:50:28 rpmi: libXp-devel-1.0.2-alt1 sisyphus+275088.100.1.1 1624401938 installed <13>Oct 18 16:50:28 rpmi: xorg-util-macros-1.20.0-alt1 sisyphus+315192.100.1.1 1676356247 installed <13>Oct 18 16:50:28 rpmi: xorg-cf-files-1.0.7-alt3 sisyphus+299066.100.1.1 1650986799 installed <13>Oct 18 16:50:28 rpmi: imake-1.0.8-alt1 sisyphus+346312.200.2.1 1716446983 installed <13>Oct 18 16:50:28 rpmi: flex-2.6.4.0.88.9801-alt2 sisyphus+346193.200.3.2 1716466857 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/libXaw3d-1.6.5-alt1.nosrc.rpm (w1.gzdio) Installing libXaw3d-1.6.5-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.69270 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf libXaw3d-1.6.5 + echo 'Source #0 (libXaw3d-1.6.5.tar):' Source #0 (libXaw3d-1.6.5.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/libXaw3d-1.6.5.tar + cd libXaw3d-1.6.5 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.69270 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libXaw3d-1.6.5 + autoreconf -fisv autoreconf-default: export WARNINGS= autoreconf-default: Entering directory '.' autoreconf-default: configure.ac: not using Gettext autoreconf-default: running: aclocal --force aclocal-default: warning: couldn't open directory 'm4': No such file or directory 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: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize-default: linking file 'm4/libtool.m4' libtoolize-default: linking file 'm4/ltoptions.m4' libtoolize-default: linking file 'm4/ltsugar.m4' libtoolize-default: linking file 'm4/ltversion.m4' libtoolize-default: linking file 'm4/lt~obsolete.m4' 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 Gtkdoc autoreconf-default: running: aclocal --force autoreconf-default: running: /usr/bin/autoconf-2.71 --force autoreconf-default: running: /usr/bin/autoheader-2.71 --force autoreconf-default: running: automake --add-missing --force-missing configure.ac:14: installing './compile' configure.ac:11: installing './missing' src/Makefile.am: installing './depcomp' configure.ac: installing './ylwrap' autoreconf-default: Leaving directory '.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' ++ 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 + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + configure_runstatedir_flags= + grep -qF runstatedir=DIR ./configure + configure_runstatedir_flags=--runstatedir=/var/run + ./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 --runstatedir=/var/run --without-included-gettext --disable-static configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... 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 the compiler supports GNU C... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to enable C11 features... 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... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by 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-file... no checking for file... file 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... /usr/bin/dd checking how to truncate binary pipes... /usr/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 for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.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 options needed to detect all undeclared functions... 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 for bison... bison -y checking for bison... /usr/bin/bison checking for flex... flex checking for lex output file root... lex.yy checking for lex library... none needed checking whether yytext is a pointer... yes checking for flex... /usr/bin/flex checking for x11 xt xmu xext xproto >= 7.0.22... yes checking for wctype.h... yes checking for wchar.h... yes checking for widec.h... no checking for iswspace... yes checking for intptr_t... 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 src/Makefile config.status: creating xaw3d.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --without-included-gettext + make make: Entering directory '/usr/src/RPM/BUILD/libXaw3d-1.6.5' make all-recursive make[1]: Entering directory '/usr/src/RPM/BUILD/libXaw3d-1.6.5' Making all in include make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw3d-1.6.5/include' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw3d-1.6.5/include' Making all in src make[2]: Entering directory '/usr/src/RPM/BUILD/libXaw3d-1.6.5/src' /bin/sh ../ylwrap laygram.y y.tab.c laygram.c y.tab.h `echo laygram.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output laygram.output -- bison -y -d -p LayYY updating laygram.h make all-am make[3]: Entering directory '/usr/src/RPM/BUILD/libXaw3d-1.6.5/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o AllWidgets.lo AllWidgets.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c AllWidgets.c -fPIC -DPIC -o .libs/AllWidgets.o AllWidgets.c:69:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 69 | { "applicationShell", &applicationShellWidgetClass }, | ^~~~~~~~~~~~~~~~~~ AllWidgets.c:70:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 70 | { "asciiSink", &asciiSinkObjectClass }, | ^~~~~~~~~~~ AllWidgets.c:71:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 71 | { "asciiSrc", &asciiSrcObjectClass }, | ^~~~~~~~~~ AllWidgets.c:72:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 72 | { "asciiText", &asciiTextWidgetClass }, | ^~~~~~~~~~~ AllWidgets.c:73:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 73 | { "box", &boxWidgetClass }, | ^~~~~ AllWidgets.c:74:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 74 | { "command", &commandWidgetClass }, | ^~~~~~~~~ AllWidgets.c:75:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 75 | { "composite", &compositeWidgetClass }, | ^~~~~~~~~~~ AllWidgets.c:76:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 76 | { "constraint", &constraintWidgetClass }, | ^~~~~~~~~~~~ AllWidgets.c:77:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 77 | { "core", &coreWidgetClass }, | ^~~~~~ AllWidgets.c:78:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 78 | { "dialog", &dialogWidgetClass }, | ^~~~~~~~ AllWidgets.c:79:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 79 | { "form", &formWidgetClass }, | ^~~~~~ AllWidgets.c:80:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 80 | { "grip", &gripWidgetClass }, | ^~~~~~ AllWidgets.c:81:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | { "label", &labelWidgetClass }, | ^~~~~~~ AllWidgets.c:82:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 82 | { "layout", &layoutWidgetClass }, | ^~~~~~~~ AllWidgets.c:83:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | { "list", &listWidgetClass }, | ^~~~~~ AllWidgets.c:84:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 84 | { "menuButton", &menuButtonWidgetClass }, | ^~~~~~~~~~~~ AllWidgets.c:85:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 85 | { "multiSink", &multiSinkObjectClass }, | ^~~~~~~~~~~ AllWidgets.c:86:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 86 | { "multiSrc", &multiSrcObjectClass }, | ^~~~~~~~~~ AllWidgets.c:87:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 87 | { "object", &objectClass }, | ^~~~~~~~ AllWidgets.c:88:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 88 | { "overrideShell", &overrideShellWidgetClass }, | ^~~~~~~~~~~~~~~ AllWidgets.c:89:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 89 | { "paned", &panedWidgetClass }, | ^~~~~~~ AllWidgets.c:90:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 90 | { "panner", &pannerWidgetClass }, | ^~~~~~~~ AllWidgets.c:91:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | { "porthole", &portholeWidgetClass }, | ^~~~~~~~~~ AllWidgets.c:92:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 92 | { "rect", &rectObjClass }, | ^~~~~~ AllWidgets.c:93:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 93 | { "repeater", &repeaterWidgetClass }, | ^~~~~~~~~~ AllWidgets.c:94:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | { "scrollbar", &scrollbarWidgetClass }, | ^~~~~~~~~~~ AllWidgets.c:95:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | { "shell", &shellWidgetClass }, | ^~~~~~~ AllWidgets.c:96:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | { "simpleMenu", &simpleMenuWidgetClass }, | ^~~~~~~~~~~~ AllWidgets.c:97:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | { "simple", &simpleWidgetClass }, | ^~~~~~~~ AllWidgets.c:98:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | { "smeBSB", &smeBSBObjectClass }, | ^~~~~~~~ AllWidgets.c:99:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 99 | { "smeLine", &smeLineObjectClass }, | ^~~~~~~~~ AllWidgets.c:100:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 100 | { "smeThreeD", &smeThreeDObjectClass }, | ^~~~~~~~~~~ AllWidgets.c:101:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | { "sme", &smeObjectClass }, | ^~~~~ AllWidgets.c:102:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | { "stripChart", &stripChartWidgetClass }, | ^~~~~~~~~~~~ AllWidgets.c:103:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | { "textSink", &textSinkObjectClass }, | ^~~~~~~~~~ AllWidgets.c:104:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | { "textSrc", &textSrcObjectClass }, | ^~~~~~~~~ AllWidgets.c:105:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 105 | { "text", &textWidgetClass }, | ^~~~~~ AllWidgets.c:106:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 106 | { "threeD", &threeDWidgetClass }, | ^~~~~~~~ AllWidgets.c:107:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 107 | { "toggle", &toggleWidgetClass }, | ^~~~~~~~ AllWidgets.c:108:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 108 | { "topLevelShell", &topLevelShellWidgetClass }, | ^~~~~~~~~~~~~~~ AllWidgets.c:109:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 109 | { "transientShell", &transientShellWidgetClass }, | ^~~~~~~~~~~~~~~~ AllWidgets.c:110:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 110 | { "tree", &treeWidgetClass }, | ^~~~~~ AllWidgets.c:111:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 111 | { "vendorShell", &vendorShellWidgetClass }, | ^~~~~~~~~~~~~ AllWidgets.c:112:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 112 | { "viewport", &viewportWidgetClass }, | ^~~~~~~~~~ AllWidgets.c:113:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 113 | { "wmShell", &wmShellWidgetClass }, | ^~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o AsciiSink.lo AsciiSink.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c AsciiSink.c -fPIC -DPIC -o .libs/AsciiSink.o AsciiSink.c:89:34: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 89 | offset(font), XtRString, XtDefaultFont}, | ^~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/Text.h:275, from ../include/X11/Xaw3d/TextSink.h:52, from ../include/X11/Xaw3d/TextSinkP.h:63, from ../include/X11/Xaw3d/AsciiSinkP.h:63, from AsciiSink.c:58: ../include/X11/Xaw3d/AsciiSink.h:72:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 72 | #define XtNecho "echo" | ^~~~~~ AsciiSink.c:90:6: note: in expansion of macro 'XtNecho' 90 | {XtNecho, XtCOutput, XtRBoolean, sizeof(Boolean), | ^~~~~~~ ../include/X11/Xaw3d/AsciiSink.h:69:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 69 | #define XtCOutput "Output" | ^~~~~~~~ AsciiSink.c:90:15: note: in expansion of macro 'XtCOutput' 90 | {XtNecho, XtCOutput, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~ ../include/X11/Xaw3d/AsciiSink.h:71:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 71 | #define XtNdisplayNonprinting "displayNonprinting" | ^~~~~~~~~~~~~~~~~~~~ AsciiSink.c:92:6: note: in expansion of macro 'XtNdisplayNonprinting' 92 | {XtNdisplayNonprinting, XtCOutput, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/AsciiSink.h:69:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 69 | #define XtCOutput "Output" | ^~~~~~~~ AsciiSink.c:92:29: note: in expansion of macro 'XtCOutput' 92 | {XtNdisplayNonprinting, XtCOutput, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~ AsciiSink.c:102:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | /* class_name */ "AsciiSink", | ^~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o AsciiSrc.lo AsciiSrc.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c AsciiSrc.c -fPIC -DPIC -o .libs/AsciiSrc.o In file included from ../include/X11/Xaw3d/MultiSrcP.h:103, from AsciiSrc.c:50: ../include/X11/Xaw3d/MultiSrc.h:103:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | #define XtNtype "type" | ^~~~~~ AsciiSrc.c:80:6: note: in expansion of macro 'XtNtype' 80 | {XtNtype, XtCType, XtRAsciiType, sizeof (XawAsciiType), | ^~~~~~~ ../include/X11/Xaw3d/MultiSrc.h:98:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | #define XtCType "Type" | ^~~~~~ AsciiSrc.c:80:15: note: in expansion of macro 'XtCType' 80 | {XtNtype, XtCType, XtRAsciiType, sizeof (XawAsciiType), | ^~~~~~~ In file included from ../include/X11/Xaw3d/Text.h:274, from ../include/X11/Xaw3d/TextSrc.h:58, from ../include/X11/Xaw3d/TextSrcP.h:63, from ../include/X11/Xaw3d/AsciiSrcP.h:71, from AsciiSrc.c:46: ../include/X11/Xaw3d/AsciiSrc.h:91:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | #define XtRAsciiType "AsciiType" | ^~~~~~~~~~~ AsciiSrc.c:80:24: note: in expansion of macro 'XtRAsciiType' 80 | {XtNtype, XtCType, XtRAsciiType, sizeof (XawAsciiType), | ^~~~~~~~~~~~ ../include/X11/Xaw3d/MultiSrc.h:101:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | #define XtNdataCompression "dataCompression" | ^~~~~~~~~~~~~~~~~ AsciiSrc.c:82:6: note: in expansion of macro 'XtNdataCompression' 82 | {XtNdataCompression, XtCDataCompression, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/MultiSrc.h:96:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | #define XtCDataCompression "DataCompression" | ^~~~~~~~~~~~~~~~~ AsciiSrc.c:82:26: note: in expansion of macro 'XtCDataCompression' 82 | {XtNdataCompression, XtCDataCompression, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/MultiSrc.h:102:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | #define XtNpieceSize "pieceSize" | ^~~~~~~~~~~ AsciiSrc.c:84:6: note: in expansion of macro 'XtNpieceSize' 84 | {XtNpieceSize, XtCPieceSize, XtRInt, sizeof (XawTextPosition), | ^~~~~~~~~~~~ ../include/X11/Xaw3d/MultiSrc.h:97:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | #define XtCPieceSize "PieceSize" | ^~~~~~~~~~~ AsciiSrc.c:84:20: note: in expansion of macro 'XtCPieceSize' 84 | {XtNpieceSize, XtCPieceSize, XtRInt, sizeof (XawTextPosition), | ^~~~~~~~~~~~ ../include/X11/Xaw3d/MultiSrc.h:104:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | #define XtNuseStringInPlace "useStringInPlace" | ^~~~~~~~~~~~~~~~~~ AsciiSrc.c:88:6: note: in expansion of macro 'XtNuseStringInPlace' 88 | {XtNuseStringInPlace, XtCUseStringInPlace, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/MultiSrc.h:99:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 99 | #define XtCUseStringInPlace "UseStringInPlace" | ^~~~~~~~~~~~~~~~~~ AsciiSrc.c:88:27: note: in expansion of macro 'XtCUseStringInPlace' 88 | {XtNuseStringInPlace, XtCUseStringInPlace, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~~~~~~ AsciiSrc.c:130:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 130 | /* class_name */ "AsciiSrc", | ^~~~~~~~~~ AsciiSrc.c: In function 'InitStringOrFile': AsciiSrc.c:1015:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1015 | open_mode = "r" FOPEN_CLOEXEC; | ^ AsciiSrc.c:1023:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1023 | open_mode = "w" FOPEN_CLOEXEC; | ^ AsciiSrc.c:1025:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1025 | open_mode = "r+" FOPEN_CLOEXEC; | ^ AsciiSrc.c:1021:20: warning: ignoring return value of 'tmpnam' declared with attribute 'warn_unused_result' [-Wunused-result] 1021 | (void) tmpnam(src->ascii_src.string); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o AsciiText.lo AsciiText.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c AsciiText.c -fPIC -DPIC -o .libs/AsciiText.o AsciiText.c:94:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | /* class_name */ "Text", | ^~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o Box.lo Box.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c Box.c -fPIC -DPIC -o .libs/Box.o Box.c:101:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | /* class_name */ "Box", | ^~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o Command.lo Command.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c Command.c -fPIC -DPIC -o .libs/Command.o In file included from ../include/X11/Xaw3d/CommandP.h:57, from Command.c:62: ../include/X11/Xaw3d/Command.h:98:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | #define XtNhighlightThickness "highlightThickness" | ^~~~~~~~~~~~~~~~~~~~ Command.c:87:5: note: in expansion of macro 'XtNhighlightThickness' 87 | {XtNhighlightThickness, XtCThickness, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Command.h:100:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 100 | #define XtNshapeStyle "shapeStyle" | ^~~~~~~~~~~~ Command.c:90:5: note: in expansion of macro 'XtNshapeStyle' 90 | {XtNshapeStyle, XtCShapeStyle, XtRShapeStyle, sizeof(int), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Command.h:101:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | #define XtCShapeStyle "ShapeStyle" | ^~~~~~~~~~~~ Command.c:90:20: note: in expansion of macro 'XtCShapeStyle' 90 | {XtNshapeStyle, XtCShapeStyle, XtRShapeStyle, sizeof(int), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Command.h:102:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | #define XtRShapeStyle "ShapeStyle" | ^~~~~~~~~~~~ Command.c:90:35: note: in expansion of macro 'XtRShapeStyle' 90 | {XtNshapeStyle, XtCShapeStyle, XtRShapeStyle, sizeof(int), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Command.h:103:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | #define XtNcornerRoundPercent "cornerRoundPercent" | ^~~~~~~~~~~~~~~~~~~~ Command.c:92:5: note: in expansion of macro 'XtNcornerRoundPercent' 92 | {XtNcornerRoundPercent, XtCCornerRoundPercent, XtRDimension, | ^~~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Command.h:104:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | #define XtCCornerRoundPercent "CornerRoundPercent" | ^~~~~~~~~~~~~~~~~~~~ Command.c:92:28: note: in expansion of macro 'XtCCornerRoundPercent' 92 | {XtNcornerRoundPercent, XtCCornerRoundPercent, XtRDimension, | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/ThreeDP.h:29, from ../include/X11/Xaw3d/LabelP.h:65, from ../include/X11/Xaw3d/CommandP.h:58: ../include/X11/Xaw3d/ThreeD.h:52:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 52 | #define XtNshadowWidth "shadowWidth" | ^~~~~~~~~~~~~ Command.c:95:5: note: in expansion of macro 'XtNshadowWidth' 95 | {XtNshadowWidth, XtCShadowWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/ThreeD.h:53:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 53 | #define XtCShadowWidth "ShadowWidth" | ^~~~~~~~~~~~~ Command.c:95:21: note: in expansion of macro 'XtCShadowWidth' 95 | {XtNshadowWidth, XtCShadowWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~ Command.c:120:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 120 | {"set", Set}, | ^~~~~ Command.c:121:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 121 | {"notify", Notify}, | ^~~~~~~~ Command.c:122:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 122 | {"highlight", Highlight}, | ^~~~~~~~~~~ Command.c:123:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 123 | {"reset", Reset}, | ^~~~~~~ Command.c:124:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 124 | {"unset", Unset}, | ^~~~~~~ Command.c:125:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 125 | {"unhighlight", Unhighlight} | ^~~~~~~~~~~~~ Command.c:133:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 133 | "Command", /* class_name */ | ^~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o Dialog.lo Dialog.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c Dialog.c -fPIC -DPIC -o .libs/Dialog.o In file included from ../include/X11/Xaw3d/DialogP.h:54, from Dialog.c:63: ../include/X11/Xaw3d/Dialog.h:81:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | #define XtNicon "icon" | ^~~~~~ Dialog.c:81:4: note: in expansion of macro 'XtNicon' 81 | {XtNicon, XtCIcon, XtRBitmap, sizeof(Pixmap), | ^~~~~~~ ../include/X11/Xaw3d/Dialog.h:80:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 80 | #define XtCIcon "Icon" | ^~~~~~ Dialog.c:81:13: note: in expansion of macro 'XtCIcon' 81 | {XtNicon, XtCIcon, XtRBitmap, sizeof(Pixmap), | ^~~~~~~ Dialog.c:94:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | /* class_name */ "Dialog", | ^~~~~~~~ Dialog.c: In function 'Initialize': Dialog.c:161:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 161 | XtSetArg(arglist[arg_cnt], XtNleft, XtChainLeft); arg_cnt++; | ^~~~~~~~ Dialog.c:165:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 165 | XtSetArg(arglist[arg_cnt], XtNright, XtChainLeft); arg_cnt++; | ^~~~~~~~ Dialog.c:170:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 170 | XtSetArg(arglist[arg_cnt], XtNfromHoriz, dw->dialog.iconW);arg_cnt++; | ^~~~~~~~ Dialog.c:174:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 174 | XtSetArg(arglist[arg_cnt], XtNright, XtChainRight); arg_cnt++; | ^~~~~~~~ Dialog.c: In function 'SetValues': Dialog.c:254:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 254 | XtSetArg( args[2], XtNleft, XtChainLeft); | ^~~~~~~~ Dialog.c:255:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 255 | XtSetArg( args[3], XtNright, XtChainLeft); | ^~~~~~~~ Dialog.c:305:17: warning: declaration of 'args' shadows a previous local [-Wshadow] 305 | Arg args[1]; | ^~~~ Dialog.c:232:9: note: shadowed declaration is here 232 | Arg args[5]; | ^~~~ Dialog.c: In function 'CreateDialogValueWidget': Dialog.c:360:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 360 | XtSetArg(arglist[num_args], XtNresizable, True); num_args++; | ^~~~~~~~ Dialog.c:363:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 363 | XtSetArg(arglist[num_args], XtNfromVert, dw->dialog.labelW); num_args++; | ^~~~~~~~ Dialog.c:364:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 364 | XtSetArg(arglist[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ Dialog.c:365:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 365 | XtSetArg(arglist[num_args], XtNright, XtChainRight); num_args++; | ^~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o Form.lo Form.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c Form.c -fPIC -DPIC -o .libs/Form.o In file included from ../include/X11/Xaw3d/FormP.h:54, from Form.c:57: ../include/X11/Xaw3d/Form.h:100:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 100 | #define XtNdefaultDistance "defaultDistance" | ^~~~~~~~~~~~~~~~~ Form.c:65:6: note: in expansion of macro 'XtNdefaultDistance' 65 | {XtNdefaultDistance, XtCThickness, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Form.h:110:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 110 | #define XtCEdge "Edge" | ^~~~~~ Form.c:74:14: note: in expansion of macro 'XtCEdge' 74 | {XtNtop, XtCEdge, XtREdgeType, sizeof(XtEdgeType), | ^~~~~~~ ../include/X11/Xaw3d/FormP.h:56:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | #define XtREdgeType "EdgeType" | ^~~~~~~~~~ Form.c:74:23: note: in expansion of macro 'XtREdgeType' 74 | {XtNtop, XtCEdge, XtREdgeType, sizeof(XtEdgeType), | ^~~~~~~~~~~ ../include/X11/Xaw3d/FormP.h:56:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | #define XtREdgeType "EdgeType" | ^~~~~~~~~~ Form.c:75:22: note: in expansion of macro 'XtREdgeType' 75 | Offset(top), XtREdgeType, (XtPointer)&defEdge}, | ^~~~~~~~~~~ ../include/X11/Xaw3d/Form.h:101:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | #define XtNbottom "bottom" | ^~~~~~~~ Form.c:76:6: note: in expansion of macro 'XtNbottom' 76 | {XtNbottom, XtCEdge, XtREdgeType, sizeof(XtEdgeType), | ^~~~~~~~~ ../include/X11/Xaw3d/Form.h:110:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 110 | #define XtCEdge "Edge" | ^~~~~~ Form.c:76:17: note: in expansion of macro 'XtCEdge' 76 | {XtNbottom, XtCEdge, XtREdgeType, sizeof(XtEdgeType), | ^~~~~~~ ../include/X11/Xaw3d/FormP.h:56:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | #define XtREdgeType "EdgeType" | ^~~~~~~~~~ Form.c:76:26: note: in expansion of macro 'XtREdgeType' 76 | {XtNbottom, XtCEdge, XtREdgeType, sizeof(XtEdgeType), | ^~~~~~~~~~~ ../include/X11/Xaw3d/FormP.h:56:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | #define XtREdgeType "EdgeType" | ^~~~~~~~~~ Form.c:77:25: note: in expansion of macro 'XtREdgeType' 77 | Offset(bottom), XtREdgeType, (XtPointer)&defEdge}, | ^~~~~~~~~~~ ../include/X11/Xaw3d/Form.h:102:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | #define XtNleft "left" | ^~~~~~ Form.c:78:6: note: in expansion of macro 'XtNleft' 78 | {XtNleft, XtCEdge, XtREdgeType, sizeof(XtEdgeType), | ^~~~~~~ ../include/X11/Xaw3d/Form.h:110:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 110 | #define XtCEdge "Edge" | ^~~~~~ Form.c:78:15: note: in expansion of macro 'XtCEdge' 78 | {XtNleft, XtCEdge, XtREdgeType, sizeof(XtEdgeType), | ^~~~~~~ ../include/X11/Xaw3d/FormP.h:56:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | #define XtREdgeType "EdgeType" | ^~~~~~~~~~ Form.c:78:24: note: in expansion of macro 'XtREdgeType' 78 | {XtNleft, XtCEdge, XtREdgeType, sizeof(XtEdgeType), | ^~~~~~~~~~~ ../include/X11/Xaw3d/FormP.h:56:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | #define XtREdgeType "EdgeType" | ^~~~~~~~~~ Form.c:79:23: note: in expansion of macro 'XtREdgeType' 79 | Offset(left), XtREdgeType, (XtPointer)&defEdge}, | ^~~~~~~~~~~ ../include/X11/Xaw3d/Form.h:103:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | #define XtNright "right" | ^~~~~~~ Form.c:80:6: note: in expansion of macro 'XtNright' 80 | {XtNright, XtCEdge, XtREdgeType, sizeof(XtEdgeType), | ^~~~~~~~ ../include/X11/Xaw3d/Form.h:110:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 110 | #define XtCEdge "Edge" | ^~~~~~ Form.c:80:16: note: in expansion of macro 'XtCEdge' 80 | {XtNright, XtCEdge, XtREdgeType, sizeof(XtEdgeType), | ^~~~~~~ ../include/X11/Xaw3d/FormP.h:56:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | #define XtREdgeType "EdgeType" | ^~~~~~~~~~ Form.c:80:25: note: in expansion of macro 'XtREdgeType' 80 | {XtNright, XtCEdge, XtREdgeType, sizeof(XtEdgeType), | ^~~~~~~~~~~ ../include/X11/Xaw3d/FormP.h:56:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | #define XtREdgeType "EdgeType" | ^~~~~~~~~~ Form.c:81:24: note: in expansion of macro 'XtREdgeType' 81 | Offset(right), XtREdgeType, (XtPointer)&defEdge}, | ^~~~~~~~~~~ ../include/X11/Xaw3d/Form.h:106:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 106 | #define XtNhorizDistance "horizDistance" | ^~~~~~~~~~~~~~~ Form.c:82:6: note: in expansion of macro 'XtNhorizDistance' 82 | {XtNhorizDistance, XtCThickness, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Form.h:104:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | #define XtNfromHoriz "fromHoriz" | ^~~~~~~~~~~ Form.c:84:6: note: in expansion of macro 'XtNfromHoriz' 84 | {XtNfromHoriz, XtCWidget, XtRWidget, sizeof(Widget), | ^~~~~~~~~~~~ ../include/X11/Xaw3d/Form.h:111:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 111 | #define XtCWidget "Widget" | ^~~~~~~~ Form.c:84:20: note: in expansion of macro 'XtCWidget' 84 | {XtNfromHoriz, XtCWidget, XtRWidget, sizeof(Widget), | ^~~~~~~~~ ../include/X11/Xaw3d/Form.h:107:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 107 | #define XtNvertDistance "vertDistance" | ^~~~~~~~~~~~~~ Form.c:86:6: note: in expansion of macro 'XtNvertDistance' 86 | {XtNvertDistance, XtCThickness, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Form.h:105:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 105 | #define XtNfromVert "fromVert" | ^~~~~~~~~~ Form.c:88:6: note: in expansion of macro 'XtNfromVert' 88 | {XtNfromVert, XtCWidget, XtRWidget, sizeof(Widget), | ^~~~~~~~~~~ ../include/X11/Xaw3d/Form.h:111:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 111 | #define XtCWidget "Widget" | ^~~~~~~~ Form.c:88:19: note: in expansion of macro 'XtCWidget' 88 | {XtNfromVert, XtCWidget, XtRWidget, sizeof(Widget), | ^~~~~~~~~ ../include/X11/Xaw3d/Form.h:108:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 108 | #define XtNresizable "resizable" | ^~~~~~~~~~~ Form.c:90:6: note: in expansion of macro 'XtNresizable' 90 | {XtNresizable, XtCBoolean, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~ Form.c:112:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 112 | /* class_name */ "Form", | ^~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o Grip.lo Grip.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c Grip.c -fPIC -DPIC -o .libs/Grip.o Grip.c:70:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 70 | XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ Grip.c:81:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | {"GripAction", GripAction}, | ^~~~~~~~~~~~ Grip.c:90:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 90 | /* class name */ "Grip", | ^~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o Label.lo Label.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c Label.c -fPIC -DPIC -o .libs/Label.o Label.c:88:46: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 88 | offset(label.foreground), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ Label.c:90:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 90 | offset(label.font),XtRString, XtDefaultFont}, | ^~~~~~~~~~~~~ Label.c:93:42: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 93 | offset(label.fontset),XtRString, XtDefaultFontSet}, | ^~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/Command.h:52, from Label.c:62: ../include/X11/Xaw3d/Label.h:98:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | #define XtNencoding "encoding" | ^~~~~~~~~~ Label.c:97:6: note: in expansion of macro 'XtNencoding' 97 | {XtNencoding, XtCEncoding, XtRUnsignedChar, sizeof(unsigned char), | ^~~~~~~~~~~ ../include/X11/Xaw3d/Label.h:99:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 99 | #define XtCEncoding "Encoding" | ^~~~~~~~~~ Label.c:97:19: note: in expansion of macro 'XtCEncoding' 97 | {XtNencoding, XtCEncoding, XtRUnsignedChar, sizeof(unsigned char), | ^~~~~~~~~~~ ../include/X11/Xaw3d/Label.h:96:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | #define XtNleftBitmap "leftBitmap" | ^~~~~~~~~~~~ Label.c:105:6: note: in expansion of macro 'XtNleftBitmap' 105 | {XtNleftBitmap, XtCLeftBitmap, XtRBitmap, sizeof(Pixmap), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Label.h:97:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | #define XtCLeftBitmap "LeftBitmap" | ^~~~~~~~~~~~ Label.c:105:21: note: in expansion of macro 'XtCLeftBitmap' 105 | {XtNleftBitmap, XtCLeftBitmap, XtRBitmap, sizeof(Pixmap), | ^~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/ThreeDP.h:29, from ../include/X11/Xaw3d/LabelP.h:65, from Label.c:63: ../include/X11/Xaw3d/ThreeD.h:52:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 52 | #define XtNshadowWidth "shadowWidth" | ^~~~~~~~~~~~~ Label.c:111:6: note: in expansion of macro 'XtNshadowWidth' 111 | {XtNshadowWidth, XtCShadowWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/ThreeD.h:53:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 53 | #define XtCShadowWidth "ShadowWidth" | ^~~~~~~~~~~~~ Label.c:111:22: note: in expansion of macro 'XtCShadowWidth' 111 | {XtNshadowWidth, XtCShadowWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~ Label.c:131:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 131 | /* class_name */ "Label", | ^~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o Layout.lo Layout.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c Layout.c -fPIC -DPIC -o .libs/Layout.o In file included from ../include/X11/Xaw3d/LayoutP.h:30, from Layout.c:40: ../include/X11/Xaw3d/Layout.h:80:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 80 | #define XtNlayout "layout" | ^~~~~~~~ Layout.c:81:6: note: in expansion of macro 'XtNlayout' 81 | {XtNlayout, XtCLayout, XtRLayout, sizeof (BoxPtr), | ^~~~~~~~~ ../include/X11/Xaw3d/Layout.h:81:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | #define XtCLayout "Layout" | ^~~~~~~~ Layout.c:81:17: note: in expansion of macro 'XtCLayout' 81 | {XtNlayout, XtCLayout, XtRLayout, sizeof (BoxPtr), | ^~~~~~~~~ ../include/X11/Xaw3d/Layout.h:82:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 82 | #define XtRLayout "Layout" | ^~~~~~~~ Layout.c:81:28: note: in expansion of macro 'XtRLayout' 81 | {XtNlayout, XtCLayout, XtRLayout, sizeof (BoxPtr), | ^~~~~~~~~ ../include/X11/Xaw3d/Layout.h:82:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 82 | #define XtRLayout "Layout" | ^~~~~~~~ Layout.c:82:25: note: in expansion of macro 'XtRLayout' 82 | offset(layout), XtRLayout, NULL }, | ^~~~~~~~~ ../include/X11/Xaw3d/Layout.h:83:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | #define XtNdebug "debug" | ^~~~~~~ Layout.c:83:6: note: in expansion of macro 'XtNdebug' 83 | {XtNdebug, XtCBoolean, XtRBoolean, sizeof(Boolean), | ^~~~~~~~ Layout.c:116:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 116 | /* class name */ "Layout", | ^~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o List.lo List.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c List.c -fPIC -DPIC -o .libs/List.o List.c:81:45: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | offset(list.foreground), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/ListP.h:49, from List.c:48: ../include/X11/Xaw3d/List.h:126:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 126 | #define XtNcursor "cursor" | ^~~~~~~~ List.c:82:6: note: in expansion of macro 'XtNcursor' 82 | {XtNcursor, XtCCursor, XtRCursor, sizeof(Cursor), | ^~~~~~~~~ List.c:83:42: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | offset(simple.cursor), XtRString, "left_ptr"}, | ^~~~~~~~~~ List.c:85:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 85 | offset(list.font),XtRString, XtDefaultFont}, | ^~~~~~~~~~~~~ List.c:88:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 88 | offset(list.fontset),XtRString, XtDefaultFontSet}, | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/List.h:130:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 130 | #define XtNlist "list" | ^~~~~~ List.c:90:6: note: in expansion of macro 'XtNlist' 90 | {XtNlist, XtCList, XtRPointer, sizeof(char **), | ^~~~~~~ ../include/X11/Xaw3d/List.h:120:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 120 | #define XtCList "List" | ^~~~~~ List.c:90:15: note: in expansion of macro 'XtCList' 90 | {XtNlist, XtCList, XtRPointer, sizeof(char **), | ^~~~~~~ ../include/X11/Xaw3d/List.h:128:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 128 | #define XtNdefaultColumns "defaultColumns" | ^~~~~~~~~~~~~~~~ List.c:92:6: note: in expansion of macro 'XtNdefaultColumns' 92 | {XtNdefaultColumns, XtCColumns, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/List.h:122:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 122 | #define XtCColumns "Columns" | ^~~~~~~~~ List.c:92:25: note: in expansion of macro 'XtCColumns' 92 | {XtNdefaultColumns, XtCColumns, XtRInt, sizeof(int), | ^~~~~~~~~~ ../include/X11/Xaw3d/List.h:131:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 131 | #define XtNlongest "longest" | ^~~~~~~~~ List.c:94:6: note: in expansion of macro 'XtNlongest' 94 | {XtNlongest, XtCLongest, XtRInt, sizeof(int), | ^~~~~~~~~~ ../include/X11/Xaw3d/List.h:123:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 123 | #define XtCLongest "Longest" | ^~~~~~~~~ List.c:94:18: note: in expansion of macro 'XtCLongest' 94 | {XtNlongest, XtCLongest, XtRInt, sizeof(int), | ^~~~~~~~~~ ../include/X11/Xaw3d/List.h:132:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 132 | #define XtNnumberStrings "numberStrings" | ^~~~~~~~~~~~~~~ List.c:96:6: note: in expansion of macro 'XtNnumberStrings' 96 | {XtNnumberStrings, XtCNumberStrings, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/List.h:124:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 124 | #define XtCNumberStrings "NumberStrings" | ^~~~~~~~~~~~~~~ List.c:96:24: note: in expansion of macro 'XtCNumberStrings' 96 | {XtNnumberStrings, XtCNumberStrings, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/List.h:133:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 133 | #define XtNpasteBuffer "pasteBuffer" | ^~~~~~~~~~~~~ List.c:98:6: note: in expansion of macro 'XtNpasteBuffer' 98 | {XtNpasteBuffer, XtCBoolean, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/List.h:129:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 129 | #define XtNforceColumns "forceColumns" | ^~~~~~~~~~~~~~ List.c:100:6: note: in expansion of macro 'XtNforceColumns' 100 | {XtNforceColumns, XtCColumns, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/List.h:122:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 122 | #define XtCColumns "Columns" | ^~~~~~~~~ List.c:100:23: note: in expansion of macro 'XtCColumns' 100 | {XtNforceColumns, XtCColumns, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~ ../include/X11/Xaw3d/List.h:135:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 135 | #define XtNverticalList "verticalList" | ^~~~~~~~~~~~~~ List.c:102:6: note: in expansion of macro 'XtNverticalList' 102 | {XtNverticalList, XtCBoolean, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/List.h:127:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 127 | #define XtNcolumnSpacing "columnSpacing" | ^~~~~~~~~~~~~~~ List.c:108:6: note: in expansion of macro 'XtNcolumnSpacing' 108 | {XtNcolumnSpacing, XtCSpacing, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/List.h:121:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 121 | #define XtCSpacing "Spacing" | ^~~~~~~~~ List.c:108:24: note: in expansion of macro 'XtCSpacing' 108 | {XtNcolumnSpacing, XtCSpacing, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~ ../include/X11/Xaw3d/List.h:134:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 134 | #define XtNrowSpacing "rowSpacing" | ^~~~~~~~~~~~ List.c:110:6: note: in expansion of macro 'XtNrowSpacing' 110 | {XtNrowSpacing, XtCSpacing, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/List.h:121:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 121 | #define XtCSpacing "Spacing" | ^~~~~~~~~ List.c:110:21: note: in expansion of macro 'XtCSpacing' 110 | {XtNrowSpacing, XtCSpacing, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~ List.c:129:8: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 129 | {"Notify", Notify}, | ^~~~~~~~ List.c:130:8: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 130 | {"Set", Set}, | ^~~~~ List.c:131:8: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 131 | {"Unset", Unset}, | ^~~~~~~ List.c:138:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 138 | /* class_name */ "List", | ^~~~~~ List.c: In function 'XawListShowCurrent': List.c:1158:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1158 | ret_val->string = ""; | ^ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o MenuButton.lo MenuButton.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c MenuButton.c -fPIC -DPIC -o .libs/MenuButton.o In file included from ../include/X11/Xaw3d/MenuButtoP.h:48, from MenuButton.c:55: ../include/X11/Xaw3d/MenuButton.h:80:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 80 | #define XtNmenuName "menuName" | ^~~~~~~~~~ MenuButton.c:78:5: note: in expansion of macro 'XtNmenuName' 78 | XtNmenuName, XtCMenuName, XtRString, sizeof(String), | ^~~~~~~~~~~ ../include/X11/Xaw3d/MenuButton.h:81:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | #define XtCMenuName "MenuName" | ^~~~~~~~~~ MenuButton.c:78:18: note: in expansion of macro 'XtCMenuName' 78 | XtNmenuName, XtCMenuName, XtRString, sizeof(String), | ^~~~~~~~~~~ MenuButton.c:85:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 85 | {"PopupMenu", PopupMenu} | ^~~~~~~~~~~ MenuButton.c:91:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | "MenuButton", /* class_name */ | ^~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o Paned.lo Paned.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c Paned.c -fPIC -DPIC -o .libs/Paned.o In file included from ../include/X11/Xaw3d/PanedP.h:64, from Paned.c:72: ../include/X11/Xaw3d/Paned.h:134:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 134 | #define XtNinternalBorderColor "internalBorderColor" | ^~~~~~~~~~~~~~~~~~~~~ Paned.c:120:6: note: in expansion of macro 'XtNinternalBorderColor' 120 | {XtNinternalBorderColor, XtCBorderColor, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Paned.h:135:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 135 | #define XtNinternalBorderWidth "internalBorderWidth" | ^~~~~~~~~~~~~~~~~~~~~ Paned.c:123:6: note: in expansion of macro 'XtNinternalBorderWidth' 123 | {XtNinternalBorderWidth, XtCBorderWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Paned.h:132:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 132 | #define XtNgripIndent "gripIndent" | ^~~~~~~~~~~~ Paned.c:125:6: note: in expansion of macro 'XtNgripIndent' 125 | {XtNgripIndent, XtCGripIndent, XtRPosition, sizeof(Position), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Paned.h:150:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 150 | #define XtCGripIndent "GripIndent" | ^~~~~~~~~~~~ Paned.c:125:21: note: in expansion of macro 'XtCGripIndent' 125 | {XtNgripIndent, XtCGripIndent, XtRPosition, sizeof(Position), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Paned.h:138:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 138 | #define XtNrefigureMode "refigureMode" | ^~~~~~~~~~~~~~ Paned.c:127:6: note: in expansion of macro 'XtNrefigureMode' 127 | {XtNrefigureMode, XtCBoolean, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~ In file included from Paned.c:71: ../include/X11/Xaw3d/Grip.h:87:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 87 | #define XtNgripTranslations "gripTranslations" | ^~~~~~~~~~~~~~~~~~ Paned.c:129:6: note: in expansion of macro 'XtNgripTranslations' 129 | {XtNgripTranslations, XtCTranslations, XtRTranslationTable, | ^~~~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/Grip.h:57: ../include/X11/Xaw3d/Simple.h:83:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | #define XtNcursor "cursor" | ^~~~~~~~ Paned.c:137:6: note: in expansion of macro 'XtNcursor' 137 | {XtNcursor, XtCCursor, XtRCursor, sizeof(Cursor), | ^~~~~~~~~ ../include/X11/Xaw3d/Paned.h:131:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 131 | #define XtNgripCursor "gripCursor" | ^~~~~~~~~~~~ Paned.c:139:6: note: in expansion of macro 'XtNgripCursor' 139 | {XtNgripCursor, XtCCursor, XtRCursor, sizeof(Cursor), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Paned.h:148:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 148 | #define XtNverticalGripCursor "verticalGripCursor" | ^~~~~~~~~~~~~~~~~~~~ Paned.c:141:6: note: in expansion of macro 'XtNverticalGripCursor' 141 | {XtNverticalGripCursor, XtCCursor, XtRCursor, sizeof(Cursor), | ^~~~~~~~~~~~~~~~~~~~~ Paned.c:142:44: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 142 | offset(v_grip_cursor), XtRString, "sb_v_double_arrow"}, | ^~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Paned.h:133:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 133 | #define XtNhorizontalGripCursor "horizontalGripCursor" | ^~~~~~~~~~~~~~~~~~~~~~ Paned.c:143:6: note: in expansion of macro 'XtNhorizontalGripCursor' 143 | {XtNhorizontalGripCursor, XtCCursor, XtRCursor, sizeof(Cursor), | ^~~~~~~~~~~~~~~~~~~~~~~ Paned.c:144:44: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 144 | offset(h_grip_cursor), XtRString, "sb_h_double_arrow"}, | ^~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Paned.h:128:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 128 | #define XtNbetweenCursor "betweenCursor" | ^~~~~~~~~~~~~~~ Paned.c:146:6: note: in expansion of macro 'XtNbetweenCursor' 146 | {XtNbetweenCursor, XtCCursor, XtRCursor, sizeof(Cursor), | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Paned.h:129:34: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 129 | #define XtNverticalBetweenCursor "verticalBetweenCursor" | ^~~~~~~~~~~~~~~~~~~~~~~ Paned.c:148:6: note: in expansion of macro 'XtNverticalBetweenCursor' 148 | {XtNverticalBetweenCursor, XtCCursor, XtRCursor, sizeof(Cursor), | ^~~~~~~~~~~~~~~~~~~~~~~~ Paned.c:149:51: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 149 | offset(v_adjust_this_cursor), XtRString, "sb_left_arrow"}, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Paned.h:130:36: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 130 | #define XtNhorizontalBetweenCursor "horizontalBetweenCursor" | ^~~~~~~~~~~~~~~~~~~~~~~~~ Paned.c:150:6: note: in expansion of macro 'XtNhorizontalBetweenCursor' 150 | {XtNhorizontalBetweenCursor, XtCCursor, XtRCursor, sizeof(Cursor), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Paned.c:151:51: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 151 | offset(h_adjust_this_cursor), XtRString, "sb_up_arrow"}, | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Paned.h:147:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 147 | #define XtNupperCursor "upperCursor" | ^~~~~~~~~~~~~ Paned.c:153:6: note: in expansion of macro 'XtNupperCursor' 153 | {XtNupperCursor, XtCCursor, XtRCursor, sizeof(Cursor), | ^~~~~~~~~~~~~~ Paned.c:154:50: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 154 | offset(adjust_upper_cursor), XtRString, "sb_up_arrow"}, | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Paned.h:137:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 137 | #define XtNlowerCursor "lowerCursor" | ^~~~~~~~~~~~~ Paned.c:155:6: note: in expansion of macro 'XtNlowerCursor' 155 | {XtNlowerCursor, XtCCursor, XtRCursor, sizeof(Cursor), | ^~~~~~~~~~~~~~ Paned.c:156:50: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 156 | offset(adjust_lower_cursor), XtRString, "sb_down_arrow"}, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Paned.h:136:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 136 | #define XtNleftCursor "leftCursor" | ^~~~~~~~~~~~ Paned.c:157:6: note: in expansion of macro 'XtNleftCursor' 157 | {XtNleftCursor, XtCCursor, XtRCursor, sizeof(Cursor), | ^~~~~~~~~~~~~ Paned.c:158:49: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 158 | offset(adjust_left_cursor), XtRString, "sb_left_arrow"}, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Paned.h:144:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 144 | #define XtNrightCursor "rightCursor" | ^~~~~~~~~~~~~ Paned.c:159:6: note: in expansion of macro 'XtNrightCursor' 159 | {XtNrightCursor, XtCCursor, XtRCursor, sizeof(Cursor), | ^~~~~~~~~~~~~~ Paned.c:160:50: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 160 | offset(adjust_right_cursor), XtRString, "sb_right_arrow"}, | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Paned.h:127:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 127 | #define XtNallowResize "allowResize" | ^~~~~~~~~~~~~ Paned.c:168:6: note: in expansion of macro 'XtNallowResize' 168 | {XtNallowResize, XtCBoolean, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/Paned.h:139:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 139 | #define XtNposition "position" | ^~~~~~~~~~ Paned.c:170:6: note: in expansion of macro 'XtNposition' 170 | {XtNposition, XtCPosition, XtRInt, sizeof(int), | ^~~~~~~~~~~ ../include/X11/Xaw3d/Paned.h:140:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 140 | #define XtNmin "min" | ^~~~~ Paned.c:172:6: note: in expansion of macro 'XtNmin' 172 | {XtNmin, XtCMin, XtRDimension, sizeof(Dimension), | ^~~~~~ ../include/X11/Xaw3d/Paned.h:151:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 151 | #define XtCMin "Min" | ^~~~~ Paned.c:172:14: note: in expansion of macro 'XtCMin' 172 | {XtNmin, XtCMin, XtRDimension, sizeof(Dimension), | ^~~~~~ ../include/X11/Xaw3d/Paned.h:141:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 141 | #define XtNmax "max" | ^~~~~ Paned.c:174:6: note: in expansion of macro 'XtNmax' 174 | {XtNmax, XtCMax, XtRDimension, sizeof(Dimension), | ^~~~~~ ../include/X11/Xaw3d/Paned.h:152:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 152 | #define XtCMax "Max" | ^~~~~ Paned.c:174:14: note: in expansion of macro 'XtCMax' 174 | {XtNmax, XtCMax, XtRDimension, sizeof(Dimension), | ^~~~~~ ../include/X11/Xaw3d/Paned.h:142:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 142 | #define XtNpreferredPaneSize "preferredPaneSize" | ^~~~~~~~~~~~~~~~~~~ Paned.c:176:6: note: in expansion of macro 'XtNpreferredPaneSize' 176 | {XtNpreferredPaneSize, XtCPreferredPaneSize, XtRDimension, | ^~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Paned.h:153:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 153 | #define XtCPreferredPaneSize "PreferredPaneSize" | ^~~~~~~~~~~~~~~~~~~ Paned.c:176:28: note: in expansion of macro 'XtCPreferredPaneSize' 176 | {XtNpreferredPaneSize, XtCPreferredPaneSize, XtRDimension, | ^~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Paned.h:143:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 143 | #define XtNresizeToPreferred "resizeToPreferred" | ^~~~~~~~~~~~~~~~~~~ Paned.c:179:6: note: in expansion of macro 'XtNresizeToPreferred' 179 | {XtNresizeToPreferred, XtCBoolean, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Paned.h:146:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 146 | #define XtNskipAdjust "skipAdjust" | ^~~~~~~~~~~~ Paned.c:181:6: note: in expansion of macro 'XtNskipAdjust' 181 | {XtNskipAdjust, XtCBoolean, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Paned.h:145:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 145 | #define XtNshowGrip "showGrip" | ^~~~~~~~~~ Paned.c:183:6: note: in expansion of macro 'XtNshowGrip' 183 | {XtNshowGrip, XtCShowGrip, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~ ../include/X11/Xaw3d/Paned.h:154:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 154 | #define XtCShowGrip "ShowGrip" | ^~~~~~~~~~ Paned.c:183:19: note: in expansion of macro 'XtCShowGrip' 183 | {XtNshowGrip, XtCShowGrip, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~ Paned.c:220:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 220 | /* class name */ "Paned", | ^~~~~~~ Paned.c: In function 'HandleGrip': Paned.c:1052:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1052 | XtSetArg(arglist[0], XtNcursor, &cursor); | ^~~~~~~~ Paned.c: In function 'CreateGrip': Paned.c:1161:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1161 | XtSetArg(arglist[num_args], XtNcursor, cursor); | ^~~~~~~~ Paned.c: In function 'ChangeAllGripCursors': Paned.c:1275:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1275 | XtSetArg(arglist[0], XtNcursor, cursor); | ^~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o Panner.lo Panner.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c Panner.c -fPIC -DPIC -o .libs/Panner.o Panner.c:96:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | { "start", ActionStart }, /* start tmp graphics */ | ^~~~~~~ Panner.c:97:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | { "stop", ActionStop }, /* stop tmp graphics */ | ^~~~~~ Panner.c:98:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | { "abort", ActionAbort }, /* punt */ | ^~~~~~~ Panner.c:99:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 99 | { "move", ActionMove }, /* move tmp graphics on Motion event */ | ^~~~~~ Panner.c:100:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 100 | { "page", ActionPage }, /* page around usually from keyboard */ | ^~~~~~ Panner.c:101:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | { "notify", ActionNotify }, /* callback new position */ | ^~~~~~~~ Panner.c:102:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | { "set", ActionSet }, /* set various parameters */ | ^~~~~ In file included from ../include/X11/Xaw3d/PannerP.h:31, from Panner.c:35: ../include/X11/Xaw3d/Panner.h:71:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 71 | #define XtNallowOff "allowOff" | ^~~~~~~~~~ Panner.c:111:7: note: in expansion of macro 'XtNallowOff' 111 | { XtNallowOff, XtCAllowOff, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:72:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 72 | #define XtCAllowOff "AllowOff" | ^~~~~~~~~~ Panner.c:111:20: note: in expansion of macro 'XtCAllowOff' 111 | { XtNallowOff, XtCAllowOff, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~ In file included from ../include/X11/Xaw3d/Panner.h:31: ../include/X11/Xaw3d/Reports.h:50:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 50 | #define XtNreportCallback "reportCallback" | ^~~~~~~~~~~~~~~~ Panner.c:115:7: note: in expansion of macro 'XtNreportCallback' 115 | { XtNreportCallback, XtCReportCallback, XtRCallback, sizeof(XtPointer), | ^~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Reports.h:51:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 51 | #define XtCReportCallback "reportCallback" | ^~~~~~~~~~~~~~~~ Panner.c:115:26: note: in expansion of macro 'XtCReportCallback' 115 | { XtNreportCallback, XtCReportCallback, XtRCallback, sizeof(XtPointer), | ^~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:75:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 75 | #define XtNdefaultScale "defaultScale" | ^~~~~~~~~~~~~~ Panner.c:117:7: note: in expansion of macro 'XtNdefaultScale' 117 | { XtNdefaultScale, XtCDefaultScale, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:76:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 76 | #define XtCDefaultScale "DefaultScale" | ^~~~~~~~~~~~~~ Panner.c:117:24: note: in expansion of macro 'XtCDefaultScale' 117 | { XtNdefaultScale, XtCDefaultScale, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:85:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 85 | #define XtNrubberBand "rubberBand" | ^~~~~~~~~~~~ Panner.c:119:7: note: in expansion of macro 'XtNrubberBand' 119 | { XtNrubberBand, XtCRubberBand, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:86:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 86 | #define XtCRubberBand "RubberBand" | ^~~~~~~~~~~~ Panner.c:119:22: note: in expansion of macro 'XtCRubberBand' 119 | { XtNrubberBand, XtCRubberBand, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:81:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | #define XtNinternalSpace "internalSpace" | ^~~~~~~~~~~~~~~ Panner.c:123:7: note: in expansion of macro 'XtNinternalSpace' 123 | { XtNinternalSpace, XtCInternalSpace, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:82:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 82 | #define XtCInternalSpace "InternalSpace" | ^~~~~~~~~~~~~~~ Panner.c:123:25: note: in expansion of macro 'XtCInternalSpace' 123 | { XtNinternalSpace, XtCInternalSpace, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:83:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | #define XtNlineWidth "lineWidth" | ^~~~~~~~~~~ Panner.c:125:7: note: in expansion of macro 'XtNlineWidth' 125 | { XtNlineWidth, XtCLineWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:84:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 84 | #define XtCLineWidth "LineWidth" | ^~~~~~~~~~~ Panner.c:125:21: note: in expansion of macro 'XtCLineWidth' 125 | { XtNlineWidth, XtCLineWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:77:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 77 | #define XtNcanvasWidth "canvasWidth" | ^~~~~~~~~~~~~ Panner.c:127:7: note: in expansion of macro 'XtNcanvasWidth' 127 | { XtNcanvasWidth, XtCCanvasWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:78:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 78 | #define XtCCanvasWidth "CanvasWidth" | ^~~~~~~~~~~~~ Panner.c:127:23: note: in expansion of macro 'XtCCanvasWidth' 127 | { XtNcanvasWidth, XtCCanvasWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:79:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 79 | #define XtNcanvasHeight "canvasHeight" | ^~~~~~~~~~~~~~ Panner.c:129:7: note: in expansion of macro 'XtNcanvasHeight' 129 | { XtNcanvasHeight, XtCCanvasHeight, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:80:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 80 | #define XtCCanvasHeight "CanvasHeight" | ^~~~~~~~~~~~~~ Panner.c:129:24: note: in expansion of macro 'XtCCanvasHeight' 129 | { XtNcanvasHeight, XtCCanvasHeight, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:91:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | #define XtNsliderX "sliderX" | ^~~~~~~~~ Panner.c:131:7: note: in expansion of macro 'XtNsliderX' 131 | { XtNsliderX, XtCSliderX, XtRPosition, sizeof(Position), | ^~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:92:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 92 | #define XtCSliderX "SliderX" | ^~~~~~~~~ Panner.c:131:19: note: in expansion of macro 'XtCSliderX' 131 | { XtNsliderX, XtCSliderX, XtRPosition, sizeof(Position), | ^~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:93:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 93 | #define XtNsliderY "sliderY" | ^~~~~~~~~ Panner.c:133:7: note: in expansion of macro 'XtNsliderY' 133 | { XtNsliderY, XtCSliderY, XtRPosition, sizeof(Position), | ^~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:94:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | #define XtCSliderY "SliderY" | ^~~~~~~~~ Panner.c:133:19: note: in expansion of macro 'XtCSliderY' 133 | { XtNsliderY, XtCSliderY, XtRPosition, sizeof(Position), | ^~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:95:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | #define XtNsliderWidth "sliderWidth" | ^~~~~~~~~~~~~ Panner.c:135:7: note: in expansion of macro 'XtNsliderWidth' 135 | { XtNsliderWidth, XtCSliderWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:96:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | #define XtCSliderWidth "SliderWidth" | ^~~~~~~~~~~~~ Panner.c:135:23: note: in expansion of macro 'XtCSliderWidth' 135 | { XtNsliderWidth, XtCSliderWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:97:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | #define XtNsliderHeight "sliderHeight" | ^~~~~~~~~~~~~~ Panner.c:137:7: note: in expansion of macro 'XtNsliderHeight' 137 | { XtNsliderHeight, XtCSliderHeight, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:98:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | #define XtCSliderHeight "SliderHeight" | ^~~~~~~~~~~~~~ Panner.c:137:24: note: in expansion of macro 'XtCSliderHeight' 137 | { XtNsliderHeight, XtCSliderHeight, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:89:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 89 | #define XtNshadowColor "shadowColor" | ^~~~~~~~~~~~~ Panner.c:139:7: note: in expansion of macro 'XtNshadowColor' 139 | { XtNshadowColor, XtCShadowColor, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:90:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 90 | #define XtCShadowColor "ShadowColor" | ^~~~~~~~~~~~~ Panner.c:139:23: note: in expansion of macro 'XtCShadowColor' 139 | { XtNshadowColor, XtCShadowColor, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:87:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 87 | #define XtNshadowThickness "shadowThickness" | ^~~~~~~~~~~~~~~~~ Panner.c:141:7: note: in expansion of macro 'XtNshadowThickness' 141 | { XtNshadowThickness, XtCShadowThickness, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:88:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 88 | #define XtCShadowThickness "ShadowThickness" | ^~~~~~~~~~~~~~~~~ Panner.c:141:27: note: in expansion of macro 'XtCShadowThickness' 141 | { XtNshadowThickness, XtCShadowThickness, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:73:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 73 | #define XtNbackgroundStipple "backgroundStipple" | ^~~~~~~~~~~~~~~~~~~ Panner.c:143:7: note: in expansion of macro 'XtNbackgroundStipple' 143 | { XtNbackgroundStipple, XtCBackgroundStipple, XtRString, sizeof(String), | ^~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:74:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 74 | #define XtCBackgroundStipple "BackgroundStipple" | ^~~~~~~~~~~~~~~~~~~ Panner.c:143:29: note: in expansion of macro 'XtCBackgroundStipple' 143 | { XtNbackgroundStipple, XtCBackgroundStipple, XtRString, sizeof(String), | ^~~~~~~~~~~~~~~~~~~~ Panner.c:164:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 164 | /* class_name */ "Panner", | ^~~~~~~~ Panner.c: In function 'ActionSet': Panner.c:939:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 939 | XtSetArg (args[0], XtNrubberBand, rb); | ^~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o Porthole.lo Porthole.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c Porthole.c -fPIC -DPIC -o .libs/Porthole.o In file included from ../include/X11/Xaw3d/Porthole.h:31, from ../include/X11/Xaw3d/PortholeP.h:31, from Porthole.c:37: ../include/X11/Xaw3d/Reports.h:50:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 50 | #define XtNreportCallback "reportCallback" | ^~~~~~~~~~~~~~~~ Porthole.c:46:7: note: in expansion of macro 'XtNreportCallback' 46 | { XtNreportCallback, XtCReportCallback, XtRCallback, sizeof(XtPointer), | ^~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Reports.h:51:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 51 | #define XtCReportCallback "reportCallback" | ^~~~~~~~~~~~~~~~ Porthole.c:46:26: note: in expansion of macro 'XtCReportCallback' 46 | { XtNreportCallback, XtCReportCallback, XtRCallback, sizeof(XtPointer), | ^~~~~~~~~~~~~~~~~ Porthole.c:64:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 64 | /* class_name */ "Porthole", | ^~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o Repeater.lo Repeater.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c Repeater.c -fPIC -DPIC -o .libs/Repeater.o Repeater.c:72:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 72 | { "start", ActionStart }, /* trigger timers */ | ^~~~~~~ Repeater.c:73:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 73 | { "stop", ActionStop }, /* clear timers */ | ^~~~~~ In file included from ../include/X11/Xaw3d/RepeaterP.h:32, from Repeater.c:36: ../include/X11/Xaw3d/Repeater.h:55:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | #define XtNdecay "decay" | ^~~~~~~ Repeater.c:82:7: note: in expansion of macro 'XtNdecay' 82 | { XtNdecay, XtCDecay, XtRInt, sizeof (int), | ^~~~~~~~ ../include/X11/Xaw3d/Repeater.h:56:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | #define XtCDecay "Decay" | ^~~~~~~ Repeater.c:82:17: note: in expansion of macro 'XtCDecay' 82 | { XtNdecay, XtCDecay, XtRInt, sizeof (int), | ^~~~~~~~ ../include/X11/Xaw3d/Repeater.h:57:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 57 | #define XtNinitialDelay "initialDelay" | ^~~~~~~~~~~~~~ Repeater.c:84:7: note: in expansion of macro 'XtNinitialDelay' 84 | { XtNinitialDelay, XtCDelay, XtRInt, sizeof (int), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Repeater.h:58:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 58 | #define XtCDelay "Delay" | ^~~~~~~ Repeater.c:84:24: note: in expansion of macro 'XtCDelay' 84 | { XtNinitialDelay, XtCDelay, XtRInt, sizeof (int), | ^~~~~~~~ ../include/X11/Xaw3d/Repeater.h:59:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 59 | #define XtNminimumDelay "minimumDelay" | ^~~~~~~~~~~~~~ Repeater.c:86:7: note: in expansion of macro 'XtNminimumDelay' 86 | { XtNminimumDelay, XtCMinimumDelay, XtRInt, sizeof (int), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Repeater.h:60:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 60 | #define XtCMinimumDelay "MinimumDelay" | ^~~~~~~~~~~~~~ Repeater.c:86:24: note: in expansion of macro 'XtCMinimumDelay' 86 | { XtNminimumDelay, XtCMinimumDelay, XtRInt, sizeof (int), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Repeater.h:61:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 61 | #define XtNrepeatDelay "repeatDelay" | ^~~~~~~~~~~~~ Repeater.c:88:7: note: in expansion of macro 'XtNrepeatDelay' 88 | { XtNrepeatDelay, XtCDelay, XtRInt, sizeof (int), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/Repeater.h:58:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 58 | #define XtCDelay "Delay" | ^~~~~~~ Repeater.c:88:23: note: in expansion of macro 'XtCDelay' 88 | { XtNrepeatDelay, XtCDelay, XtRInt, sizeof (int), | ^~~~~~~~ ../include/X11/Xaw3d/Repeater.h:62:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 62 | #define XtNflash "flash" | ^~~~~~~ Repeater.c:90:7: note: in expansion of macro 'XtNflash' 90 | { XtNflash, XtCBoolean, XtRBoolean, sizeof (Boolean), | ^~~~~~~~ ../include/X11/Xaw3d/Repeater.h:63:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 63 | #define XtNstartCallback "startCallback" | ^~~~~~~~~~~~~~~ Repeater.c:92:7: note: in expansion of macro 'XtNstartCallback' 92 | { XtNstartCallback, XtCStartCallback, XtRCallback, sizeof (XtPointer), | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Repeater.h:64:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 64 | #define XtCStartCallback "StartCallback" | ^~~~~~~~~~~~~~~ Repeater.c:92:25: note: in expansion of macro 'XtCStartCallback' 92 | { XtNstartCallback, XtCStartCallback, XtRCallback, sizeof (XtPointer), | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Repeater.h:65:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 65 | #define XtNstopCallback "stopCallback" | ^~~~~~~~~~~~~~ Repeater.c:94:7: note: in expansion of macro 'XtNstopCallback' 94 | { XtNstopCallback, XtCStopCallback, XtRCallback, sizeof (XtPointer), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Repeater.h:66:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 66 | #define XtCStopCallback "StopCallback" | ^~~~~~~~~~~~~~ Repeater.c:94:24: note: in expansion of macro 'XtCStopCallback' 94 | { XtNstopCallback, XtCStopCallback, XtRCallback, sizeof (XtPointer), | ^~~~~~~~~~~~~~~ Repeater.c:111:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 111 | /* class_name */ "Repeater", | ^~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o Scrollbar.lo Scrollbar.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c Scrollbar.c -fPIC -DPIC -o .libs/Scrollbar.o Scrollbar.c:109:48: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 109 | Offset(scrollbar.verCursor), XtRString, "sb_v_double_arrow"}, | ^~~~~~~~~~~~~~~~~~~ Scrollbar.c:111:48: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 111 | Offset(scrollbar.horCursor), XtRString, "sb_h_double_arrow"}, | ^~~~~~~~~~~~~~~~~~~ Scrollbar.c:113:47: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 113 | Offset(scrollbar.upCursor), XtRString, "sb_up_arrow"}, | ^~~~~~~~~~~~~ Scrollbar.c:115:49: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 115 | Offset(scrollbar.downCursor), XtRString, "sb_down_arrow"}, | ^~~~~~~~~~~~~~~ Scrollbar.c:117:49: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 117 | Offset(scrollbar.leftCursor), XtRString, "sb_left_arrow"}, | ^~~~~~~~~~~~~~~ Scrollbar.c:119:50: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 119 | Offset(scrollbar.rightCursor), XtRString, "sb_right_arrow"}, | ^~~~~~~~~~~~~~~~ Scrollbar.c:136:49: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 136 | Offset(scrollbar.foreground), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/ScrollbarP.h:58, from Scrollbar.c:68: ../include/X11/Xaw3d/Scrollbar.h:114:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 114 | #define XtCShown "Shown" | ^~~~~~~ Scrollbar.c:137:14: note: in expansion of macro 'XtCShown' 137 | {XtNshown, XtCShown, XtRFloat, sizeof(float), | ^~~~~~~~ ../include/X11/Xaw3d/Scrollbar.h:119:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 119 | #define XtNtopOfThumb "topOfThumb" | ^~~~~~~~~~~~ Scrollbar.c:139:4: note: in expansion of macro 'XtNtopOfThumb' 139 | {XtNtopOfThumb, XtCTopOfThumb, XtRFloat, sizeof(float), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Scrollbar.h:115:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 115 | #define XtCTopOfThumb "TopOfThumb" | ^~~~~~~~~~~~ Scrollbar.c:139:19: note: in expansion of macro 'XtCTopOfThumb' 139 | {XtNtopOfThumb, XtCTopOfThumb, XtRFloat, sizeof(float), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Scrollbar.h:120:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 120 | #define XtNpickTop "pickTop" | ^~~~~~~~~ Scrollbar.c:141:4: note: in expansion of macro 'XtNpickTop' 141 | {XtNpickTop, XtCPickTop, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~ ../include/X11/Xaw3d/Scrollbar.h:116:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 116 | #define XtCPickTop "PickTop" | ^~~~~~~~~ Scrollbar.c:141:16: note: in expansion of macro 'XtCPickTop' 141 | {XtNpickTop, XtCPickTop, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~ ../include/X11/Xaw3d/Scrollbar.h:118:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 118 | #define XtNminimumThumb "minimumThumb" | ^~~~~~~~~~~~~~ Scrollbar.c:143:4: note: in expansion of macro 'XtNminimumThumb' 143 | {XtNminimumThumb, XtCMinimumThumb, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Scrollbar.h:113:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 113 | #define XtCMinimumThumb "MinimumThumb" | ^~~~~~~~~~~~~~ Scrollbar.c:143:21: note: in expansion of macro 'XtCMinimumThumb' 143 | {XtNminimumThumb, XtCMinimumThumb, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~ Scrollbar.c:170:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 170 | {"StartScroll", StartScroll}, | ^~~~~~~~~~~~~ Scrollbar.c:172:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 172 | {"MoveThumb", MoveThumb}, | ^~~~~~~~~~~ Scrollbar.c:173:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 173 | {"NotifyThumb", NotifyThumb}, | ^~~~~~~~~~~~~ Scrollbar.c:174:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 174 | {"NotifyScroll", NotifyScroll}, | ^~~~~~~~~~~~~~ Scrollbar.c:175:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 175 | {"EndScroll", EndScroll} | ^~~~~~~~~~~ Scrollbar.c:182:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 182 | /* class_name */ "Scrollbar", | ^~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o Simple.lo Simple.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c Simple.c -fPIC -DPIC -o .libs/Simple.o In file included from ../include/X11/Xaw3d/SimpleP.h:53, from Simple.c:57: ../include/X11/Xaw3d/Simple.h:83:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | #define XtNcursor "cursor" | ^~~~~~~~ Simple.c:63:4: note: in expansion of macro 'XtNcursor' 63 | {XtNcursor, XtCCursor, XtRCursor, sizeof(Cursor), | ^~~~~~~~~ ../include/X11/Xaw3d/Simple.h:85:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 85 | #define XtNinsensitiveBorder "insensitiveBorder" | ^~~~~~~~~~~~~~~~~~~ Simple.c:65:4: note: in expansion of macro 'XtNinsensitiveBorder' 65 | {XtNinsensitiveBorder, XtCInsensitive, XtRPixmap, sizeof(Pixmap), | ^~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Simple.h:87:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 87 | #define XtCInsensitive "Insensitive" | ^~~~~~~~~~~~~ Simple.c:65:26: note: in expansion of macro 'XtCInsensitive' 65 | {XtNinsensitiveBorder, XtCInsensitive, XtRPixmap, sizeof(Pixmap), | ^~~~~~~~~~~~~~ Simple.c:67:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 67 | {XtNpointerColor, XtCForeground, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~~~~~ Simple.c:68:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 68 | offset(pointer_fg), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ Simple.c:69:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 69 | {XtNpointerColorBackground, XtCBackground, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~~~~~~~~~~~~~~~ Simple.c:70:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 70 | offset(pointer_bg), XtRString, XtDefaultBackground}, | ^~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Simple.h:84:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 84 | #define XtNcursorName "cursorName" | ^~~~~~~~~~~~ Simple.c:71:4: note: in expansion of macro 'XtNcursorName' 71 | {XtNcursorName, XtCCursor, XtRString, sizeof(String), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Simple.h:94:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | #define XtNinternational "international" | ^~~~~~~~~~~~~~~ Simple.c:74:4: note: in expansion of macro 'XtNinternational' 74 | {XtNinternational, XtCInternational, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Simple.h:91:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | #define XtCInternational "International" | ^~~~~~~~~~~~~~~ Simple.c:74:22: note: in expansion of macro 'XtCInternational' 74 | {XtNinternational, XtCInternational, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~~ Simple.c:90:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 90 | /* class_name */ "Simple", | ^~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o SimpleMenu.lo SimpleMenu.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c SimpleMenu.c -fPIC -DPIC -o .libs/SimpleMenu.o In file included from ../include/X11/Xaw3d/SimpleMenP.h:40, from SimpleMenu.c:46: ../include/X11/Xaw3d/SimpleMenu.h:91:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | #define XtNlabelClass "labelClass" | ^~~~~~~~~~~~ SimpleMenu.c:67:4: note: in expansion of macro 'XtNlabelClass' 67 | {XtNlabelClass, XtCLabelClass, XtRPointer, sizeof(WidgetClass), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/SimpleMenu.h:101:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | #define XtCLabelClass "LabelClass" | ^~~~~~~~~~~~ SimpleMenu.c:67:20: note: in expansion of macro 'XtCLabelClass' 67 | {XtNlabelClass, XtCLabelClass, XtRPointer, sizeof(WidgetClass), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/SimpleMenu.h:94:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | #define XtNrowHeight "rowHeight" | ^~~~~~~~~~~ SimpleMenu.c:74:4: note: in expansion of macro 'XtNrowHeight' 74 | {XtNrowHeight, XtCRowHeight, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~ ../include/X11/Xaw3d/SimpleMenu.h:104:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | #define XtCRowHeight "RowHeight" | ^~~~~~~~~~~ SimpleMenu.c:74:19: note: in expansion of macro 'XtCRowHeight' 74 | {XtNrowHeight, XtCRowHeight, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~ ../include/X11/Xaw3d/SimpleMenu.h:95:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | #define XtNtopMargin "topMargin" | ^~~~~~~~~~~ SimpleMenu.c:76:4: note: in expansion of macro 'XtNtopMargin' 76 | {XtNtopMargin, XtCVerticalMargins, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~ ../include/X11/Xaw3d/SimpleMenu.h:105:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 105 | #define XtCVerticalMargins "VerticalMargins" | ^~~~~~~~~~~~~~~~~ SimpleMenu.c:76:19: note: in expansion of macro 'XtCVerticalMargins' 76 | {XtNtopMargin, XtCVerticalMargins, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/SimpleMenu.h:89:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 89 | #define XtNbottomMargin "bottomMargin" | ^~~~~~~~~~~~~~ SimpleMenu.c:78:4: note: in expansion of macro 'XtNbottomMargin' 78 | {XtNbottomMargin, XtCVerticalMargins, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/SimpleMenu.h:105:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 105 | #define XtCVerticalMargins "VerticalMargins" | ^~~~~~~~~~~~~~~~~ SimpleMenu.c:78:22: note: in expansion of macro 'XtCVerticalMargins' 78 | {XtNbottomMargin, XtCVerticalMargins, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/SmeBSBP.h:44, from SimpleMenu.c:47: ../include/X11/Xaw3d/SmeBSB.h:85:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 85 | #define XtNleftWhitespace "leftWhitespace" | ^~~~~~~~~~~~~~~~ SimpleMenu.c:80:4: note: in expansion of macro 'XtNleftWhitespace' 80 | {XtNleftWhitespace, XtCHorizontalWhitespace, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/SimpleMenu.h:109:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 109 | #define XtCHorizontalWhitespace "HorizontalWhitespace" | ^~~~~~~~~~~~~~~~~~~~~~ SimpleMenu.c:80:24: note: in expansion of macro 'XtCHorizontalWhitespace' 80 | {XtNleftWhitespace, XtCHorizontalWhitespace, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeBSB.h:88:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 88 | #define XtNrightWhitespace "rightWhitespace" | ^~~~~~~~~~~~~~~~~ SimpleMenu.c:82:4: note: in expansion of macro 'XtNrightWhitespace' 82 | {XtNrightWhitespace, XtCHorizontalWhitespace, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/SimpleMenu.h:109:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 109 | #define XtCHorizontalWhitespace "HorizontalWhitespace" | ^~~~~~~~~~~~~~~~~~~~~~ SimpleMenu.c:82:25: note: in expansion of macro 'XtCHorizontalWhitespace' 82 | {XtNrightWhitespace, XtCHorizontalWhitespace, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/SimpleP.h:53, from ../include/X11/Xaw3d/ThreeDP.h:30, from SimpleMenu.c:50: ../include/X11/Xaw3d/Simple.h:83:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | #define XtNcursor "cursor" | ^~~~~~~~ SimpleMenu.c:92:4: note: in expansion of macro 'XtNcursor' 92 | {XtNcursor, XtCCursor, XtRCursor, sizeof(Cursor), | ^~~~~~~~~ ../include/X11/Xaw3d/SimpleMenu.h:92:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 92 | #define XtNmenuOnScreen "menuOnScreen" | ^~~~~~~~~~~~~~ SimpleMenu.c:94:4: note: in expansion of macro 'XtNmenuOnScreen' 94 | {XtNmenuOnScreen, XtCMenuOnScreen, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/SimpleMenu.h:102:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | #define XtCMenuOnScreen "MenuOnScreen" | ^~~~~~~~~~~~~~ SimpleMenu.c:94:22: note: in expansion of macro 'XtCMenuOnScreen' 94 | {XtNmenuOnScreen, XtCMenuOnScreen, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/SimpleMenu.h:93:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 93 | #define XtNpopupOnEntry "popupOnEntry" | ^~~~~~~~~~~~~~ SimpleMenu.c:96:4: note: in expansion of macro 'XtNpopupOnEntry' 96 | {XtNpopupOnEntry, XtCPopupOnEntry, XtRWidget, sizeof(Widget), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/SimpleMenu.h:103:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | #define XtCPopupOnEntry "PopupOnEntry" | ^~~~~~~~~~~~~~ SimpleMenu.c:96:22: note: in expansion of macro 'XtCPopupOnEntry' 96 | {XtNpopupOnEntry, XtCPopupOnEntry, XtRWidget, sizeof(Widget), | ^~~~~~~~~~~~~~~ SimpleMenu.c:98:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | {XtNbackingStore, XtCBackingStore, XtRBackingStore, sizeof (int), | ^~~~~~~~~~~~~~~ SimpleMenu.c:98:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | {XtNbackingStore, XtCBackingStore, XtRBackingStore, sizeof (int), | ^~~~~~~~~~~~~~~ SimpleMenu.c:98:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | {XtNbackingStore, XtCBackingStore, XtRBackingStore, sizeof (int), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/SimpleMenu.h:96:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | #define XtNjumpScroll "jumpScroll" | ^~~~~~~~~~~~ SimpleMenu.c:101:4: note: in expansion of macro 'XtNjumpScroll' 101 | {XtNjumpScroll, XtCJumpScroll, XtRInt, sizeof(int), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/SimpleMenu.h:106:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 106 | #define XtCJumpScroll "JumpScroll" | ^~~~~~~~~~~~ SimpleMenu.c:101:20: note: in expansion of macro 'XtCJumpScroll' 101 | {XtNjumpScroll, XtCJumpScroll, XtRInt, sizeof(int), | ^~~~~~~~~~~~~ SimpleMenu.c:159:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 159 | {"notify", Notify}, | ^~~~~~~~ SimpleMenu.c:160:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 160 | {"highlight", Highlight}, | ^~~~~~~~~~~ SimpleMenu.c:161:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 161 | {"unhighlight", Unhighlight}, | ^~~~~~~~~~~~~ SimpleMenu.c:162:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 162 | {"popdown", Popdown} | ^~~~~~~~~ SimpleMenu.c:178:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 178 | /* class_name */ "SimpleMenu", | ^~~~~~~~~~~~ SimpleMenu.c: In function 'AddPositionAction': SimpleMenu.c:1115:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1115 | { "XawPositionSimpleMenu", PositionMenuAction }, | ^~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o SmeBSB.lo SmeBSB.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c SmeBSB.c -fPIC -DPIC -o .libs/SmeBSB.o In file included from ../include/X11/Xaw3d/SmeBSBP.h:44, from SmeBSB.c:52: ../include/X11/Xaw3d/SmeBSB.h:89:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 89 | #define XtNvertSpace "vertSpace" | ^~~~~~~~~~~ SmeBSB.c:64:4: note: in expansion of macro 'XtNvertSpace' 64 | {XtNvertSpace, XtCVertSpace, XtRInt, sizeof(int), | ^~~~~~~~~~~~ ../include/X11/Xaw3d/SmeBSB.h:105:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 105 | #define XtCVertSpace "VertSpace" | ^~~~~~~~~~~ SmeBSB.c:64:19: note: in expansion of macro 'XtCVertSpace' 64 | {XtNvertSpace, XtCVertSpace, XtRInt, sizeof(int), | ^~~~~~~~~~~~ ../include/X11/Xaw3d/SmeBSB.h:83:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | #define XtNleftBitmap "leftBitmap" | ^~~~~~~~~~~~ SmeBSB.c:66:4: note: in expansion of macro 'XtNleftBitmap' 66 | {XtNleftBitmap, XtCLeftBitmap, XtRBitmap, sizeof(Pixmap), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeBSB.h:102:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | #define XtCLeftBitmap "LeftBitmap" | ^~~~~~~~~~~~ SmeBSB.c:66:19: note: in expansion of macro 'XtCLeftBitmap' 66 | {XtNleftBitmap, XtCLeftBitmap, XtRBitmap, sizeof(Pixmap), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeBSB.h:86:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 86 | #define XtNrightBitmap "rightBitmap" | ^~~~~~~~~~~~~ SmeBSB.c:70:4: note: in expansion of macro 'XtNrightBitmap' 70 | {XtNrightBitmap, XtCRightBitmap, XtRBitmap, sizeof(Pixmap), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeBSB.h:103:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | #define XtCRightBitmap "RightBitmap" | ^~~~~~~~~~~~~ SmeBSB.c:70:20: note: in expansion of macro 'XtCRightBitmap' 70 | {XtNrightBitmap, XtCRightBitmap, XtRBitmap, sizeof(Pixmap), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeBSB.h:84:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 84 | #define XtNleftMargin "leftMargin" | ^~~~~~~~~~~~ SmeBSB.c:72:4: note: in expansion of macro 'XtNleftMargin' 72 | {XtNleftMargin, XtCHorizontalMargins, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeBSB.h:104:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | #define XtCHorizontalMargins "HorizontalMargins" | ^~~~~~~~~~~~~~~~~~~ SmeBSB.c:72:20: note: in expansion of macro 'XtCHorizontalMargins' 72 | {XtNleftMargin, XtCHorizontalMargins, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeBSB.h:87:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 87 | #define XtNrightMargin "rightMargin" | ^~~~~~~~~~~~~ SmeBSB.c:74:4: note: in expansion of macro 'XtNrightMargin' 74 | {XtNrightMargin, XtCHorizontalMargins, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeBSB.h:104:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | #define XtCHorizontalMargins "HorizontalMargins" | ^~~~~~~~~~~~~~~~~~~ SmeBSB.c:74:21: note: in expansion of macro 'XtCHorizontalMargins' 74 | {XtNrightMargin, XtCHorizontalMargins, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~~~~~~ SmeBSB.c:77:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 77 | offset(foreground), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ SmeBSB.c:79:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 79 | offset(font), XtRString, XtDefaultFont}, | ^~~~~~~~~~~~~ SmeBSB.c:82:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 82 | offset(fontset),XtRString, XtDefaultFontSet}, | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeBSB.h:90:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 90 | #define XtNmenuName "menuName" | ^~~~~~~~~~ SmeBSB.c:84:4: note: in expansion of macro 'XtNmenuName' 84 | {XtNmenuName, XtCMenuName, XtRString, sizeof(String), | ^~~~~~~~~~~ ../include/X11/Xaw3d/SmeBSB.h:106:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 106 | #define XtCMenuName "MenuName" | ^~~~~~~~~~ SmeBSB.c:84:17: note: in expansion of macro 'XtCMenuName' 84 | {XtNmenuName, XtCMenuName, XtRString, sizeof(String), | ^~~~~~~~~~~ ../include/X11/Xaw3d/SmeBSB.h:91:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | #define XtNunderline "underline" | ^~~~~~~~~~~ SmeBSB.c:86:4: note: in expansion of macro 'XtNunderline' 86 | {XtNunderline, XtCIndex, XtRInt, sizeof(int), | ^~~~~~~~~~~~ SmeBSB.c:119:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 119 | /* class_name */ "SmeBSB", | ^~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o Sme.lo Sme.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c Sme.c -fPIC -DPIC -o .libs/Sme.o In file included from ../include/X11/Xaw3d/SmeP.h:49, from Sme.c:44: ../include/X11/Xaw3d/Sme.h:70:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 70 | #define XtNinternational "international" | ^~~~~~~~~~~~~~~ Sme.c:52:4: note: in expansion of macro 'XtNinternational' 52 | {XtNinternational, XtCInternational, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Sme.h:67:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 67 | #define XtCInternational "International" | ^~~~~~~~~~~~~~~ Sme.c:52:22: note: in expansion of macro 'XtCInternational' 52 | {XtNinternational, XtCInternational, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~~ Sme.c:74:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 74 | /* class_name */ "Sme", | ^~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o SmeLine.lo SmeLine.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c SmeLine.c -fPIC -DPIC -o .libs/SmeLine.o In file included from ../include/X11/Xaw3d/SmeLineP.h:43, from SmeLine.c:48: ../include/X11/Xaw3d/SmeLine.h:69:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 69 | #define XtNlineWidth "lineWidth" | ^~~~~~~~~~~ SmeLine.c:53:4: note: in expansion of macro 'XtNlineWidth' 53 | {XtNlineWidth, XtCLineWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~ ../include/X11/Xaw3d/SmeLine.h:66:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 66 | #define XtCLineWidth "LineWidth" | ^~~~~~~~~~~ SmeLine.c:53:18: note: in expansion of macro 'XtCLineWidth' 53 | {XtNlineWidth, XtCLineWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~ ../include/X11/Xaw3d/SmeLine.h:70:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 70 | #define XtNstipple "stipple" | ^~~~~~~~~ SmeLine.c:55:4: note: in expansion of macro 'XtNstipple' 55 | {XtNstipple, XtCStipple, XtRBitmap, sizeof(Pixmap), | ^~~~~~~~~~ ../include/X11/Xaw3d/SmeLine.h:67:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 67 | #define XtCStipple "Stipple" | ^~~~~~~~~ SmeLine.c:55:16: note: in expansion of macro 'XtCStipple' 55 | {XtNstipple, XtCStipple, XtRBitmap, sizeof(Pixmap), | ^~~~~~~~~~ SmeLine.c:58:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 58 | offset(foreground), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ SmeLine.c:79:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 79 | /* class_name */ "SmeLine", | ^~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o SmeThreeD.lo SmeThreeD.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c SmeThreeD.c -fPIC -DPIC -o .libs/SmeThreeD.o In file included from ../include/X11/Xaw3d/SmeThreeDP.h:29, from SmeThreeD.c:36: ../include/X11/Xaw3d/SmeThreeD.h:52:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 52 | #define XtNshadowWidth "shadowWidth" | ^~~~~~~~~~~~~ SmeThreeD.c:51:6: note: in expansion of macro 'XtNshadowWidth' 51 | {XtNshadowWidth, XtCShadowWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeThreeD.h:53:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 53 | #define XtCShadowWidth "ShadowWidth" | ^~~~~~~~~~~~~ SmeThreeD.c:51:22: note: in expansion of macro 'XtCShadowWidth' 51 | {XtNshadowWidth, XtCShadowWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeThreeD.h:54:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 54 | #define XtNtopShadowPixel "topShadowPixel" | ^~~~~~~~~~~~~~~~ SmeThreeD.c:53:6: note: in expansion of macro 'XtNtopShadowPixel' 53 | {XtNtopShadowPixel, XtCTopShadowPixel, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeThreeD.h:55:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | #define XtCTopShadowPixel "TopShadowPixel" | ^~~~~~~~~~~~~~~~ SmeThreeD.c:53:25: note: in expansion of macro 'XtCTopShadowPixel' 53 | {XtNtopShadowPixel, XtCTopShadowPixel, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~~~~~~~ SmeThreeD.c:54:57: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 54 | offset(sme_threeD.top_shadow_pixel), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeThreeD.h:56:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | #define XtNbottomShadowPixel "bottomShadowPixel" | ^~~~~~~~~~~~~~~~~~~ SmeThreeD.c:55:6: note: in expansion of macro 'XtNbottomShadowPixel' 55 | {XtNbottomShadowPixel, XtCBottomShadowPixel, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeThreeD.h:57:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 57 | #define XtCBottomShadowPixel "BottomShadowPixel" | ^~~~~~~~~~~~~~~~~~~ SmeThreeD.c:55:28: note: in expansion of macro 'XtCBottomShadowPixel' 55 | {XtNbottomShadowPixel, XtCBottomShadowPixel, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~~~~~~~~~~ SmeThreeD.c:56:57: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | offset(sme_threeD.bot_shadow_pixel), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ SmeThreeD.c:41:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 41 | #define XtNtopShadowPixmap "topShadowPixmap" | ^~~~~~~~~~~~~~~~~ SmeThreeD.c:57:6: note: in expansion of macro 'XtNtopShadowPixmap' 57 | {XtNtopShadowPixmap, XtCTopShadowPixmap, XtRPixmap, sizeof(Pixmap), | ^~~~~~~~~~~~~~~~~~ SmeThreeD.c:42:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 42 | #define XtCTopShadowPixmap "TopShadowPixmap" | ^~~~~~~~~~~~~~~~~ SmeThreeD.c:57:26: note: in expansion of macro 'XtCTopShadowPixmap' 57 | {XtNtopShadowPixmap, XtCTopShadowPixmap, XtRPixmap, sizeof(Pixmap), | ^~~~~~~~~~~~~~~~~~ SmeThreeD.c:43:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 43 | #define XtNbottomShadowPixmap "bottomShadowPixmap" | ^~~~~~~~~~~~~~~~~~~~ SmeThreeD.c:59:6: note: in expansion of macro 'XtNbottomShadowPixmap' 59 | {XtNbottomShadowPixmap, XtCBottomShadowPixmap, XtRPixmap, sizeof(Pixmap), | ^~~~~~~~~~~~~~~~~~~~~ SmeThreeD.c:44:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 44 | #define XtCBottomShadowPixmap "BottomShadowPixmap" | ^~~~~~~~~~~~~~~~~~~~ SmeThreeD.c:59:29: note: in expansion of macro 'XtCBottomShadowPixmap' 59 | {XtNbottomShadowPixmap, XtCBottomShadowPixmap, XtRPixmap, sizeof(Pixmap), | ^~~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeThreeD.h:58:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 58 | #define XtNtopShadowContrast "topShadowContrast" | ^~~~~~~~~~~~~~~~~~~ SmeThreeD.c:61:6: note: in expansion of macro 'XtNtopShadowContrast' 61 | {XtNtopShadowContrast, XtCTopShadowContrast, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeThreeD.h:59:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 59 | #define XtCTopShadowContrast "TopShadowContrast" | ^~~~~~~~~~~~~~~~~~~ SmeThreeD.c:61:28: note: in expansion of macro 'XtCTopShadowContrast' 61 | {XtNtopShadowContrast, XtCTopShadowContrast, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeThreeD.h:60:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 60 | #define XtNbottomShadowContrast "bottomShadowContrast" | ^~~~~~~~~~~~~~~~~~~~~~ SmeThreeD.c:63:6: note: in expansion of macro 'XtNbottomShadowContrast' 63 | {XtNbottomShadowContrast, XtCBottomShadowContrast, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeThreeD.h:61:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 61 | #define XtCBottomShadowContrast "BottomShadowContrast" | ^~~~~~~~~~~~~~~~~~~~~~ SmeThreeD.c:63:31: note: in expansion of macro 'XtCBottomShadowContrast' 63 | {XtNbottomShadowContrast, XtCBottomShadowContrast, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeThreeD.h:66:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 66 | #define XtNuserData "userData" | ^~~~~~~~~~ SmeThreeD.c:65:6: note: in expansion of macro 'XtNuserData' 65 | {XtNuserData, XtCUserData, XtRPointer, sizeof(XtPointer), | ^~~~~~~~~~~ ../include/X11/Xaw3d/SmeThreeD.h:67:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 67 | #define XtCUserData "UserData" | ^~~~~~~~~~ SmeThreeD.c:65:19: note: in expansion of macro 'XtCUserData' 65 | {XtNuserData, XtCUserData, XtRPointer, sizeof(XtPointer), | ^~~~~~~~~~~ ../include/X11/Xaw3d/SmeThreeD.h:62:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 62 | #define XtNbeNiceToColormap "beNiceToColormap" | ^~~~~~~~~~~~~~~~~~ SmeThreeD.c:67:6: note: in expansion of macro 'XtNbeNiceToColormap' 67 | {XtNbeNiceToColormap, XtCBeNiceToColormap, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeThreeD.h:63:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 63 | #define XtCBeNiceToColormap "BeNiceToColormap" | ^~~~~~~~~~~~~~~~~~ SmeThreeD.c:67:27: note: in expansion of macro 'XtCBeNiceToColormap' 67 | {XtNbeNiceToColormap, XtCBeNiceToColormap, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~~~~~ SmeThreeD.c:45:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 45 | #define XtNshadowed "shadowed" | ^~~~~~~~~~ SmeThreeD.c:69:6: note: in expansion of macro 'XtNshadowed' 69 | {XtNshadowed, XtCShadowed, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~ SmeThreeD.c:46:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 46 | #define XtCShadowed "Shadowed" | ^~~~~~~~~~ SmeThreeD.c:69:19: note: in expansion of macro 'XtCShadowed' 69 | {XtNshadowed, XtCShadowed, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~ SmeThreeD.c:87:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 87 | /* class_name */ "SmeThreeD", | ^~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o StripChart.lo StripChart.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c StripChart.c -fPIC -DPIC -o .libs/StripChart.o In file included from ../include/X11/Xaw3d/StripCharP.h:52, from StripChart.c:56: ../include/X11/Xaw3d/StripChart.h:106:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 106 | #define XtNminScale "minScale" | ^~~~~~~~~~ StripChart.c:72:6: note: in expansion of macro 'XtNminScale' 72 | {XtNminScale, XtCScale, XtRInt, sizeof(int), | ^~~~~~~~~~~ ../include/X11/Xaw3d/StripChart.h:102:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | #define XtCScale "Scale" | ^~~~~~~ StripChart.c:72:19: note: in expansion of macro 'XtCScale' 72 | {XtNminScale, XtCScale, XtRInt, sizeof(int), | ^~~~~~~~ StripChart.c:75:49: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 75 | offset(strip_chart.fgpixel), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ StripChart.c:77:49: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 77 | offset(strip_chart.hipixel), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/StripChart.h:104:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | #define XtNgetValue "getValue" | ^~~~~~~~~~ StripChart.c:78:6: note: in expansion of macro 'XtNgetValue' 78 | {XtNgetValue, XtCCallback, XtRCallback, sizeof(XtPointer), | ^~~~~~~~~~~ ../include/X11/Xaw3d/StripChart.h:105:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 105 | #define XtNjumpScroll "jumpScroll" | ^~~~~~~~~~~~ StripChart.c:80:6: note: in expansion of macro 'XtNjumpScroll' 80 | {XtNjumpScroll, XtCJumpScroll, XtRInt, sizeof(int), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/StripChart.h:101:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | #define XtCJumpScroll "JumpScroll" | ^~~~~~~~~~~~ StripChart.c:80:21: note: in expansion of macro 'XtCJumpScroll' 80 | {XtNjumpScroll, XtCJumpScroll, XtRInt, sizeof(int), | ^~~~~~~~~~~~~ StripChart.c:97:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | /* class_name */ "StripChart", | ^~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o TextAction.lo TextAction.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c TextAction.c -fPIC -DPIC -o .libs/TextAction.o TextAction.c:65:13: warning: redundant redeclaration of '_XawTextSearch' [-Wredundant-decls] 65 | extern void _XawTextSearch(Widget, XEvent *, String *, Cardinal *); | ^~~~~~~~~~~~~~ TextAction.c:64:13: note: previous declaration of '_XawTextSearch' with type 'void(struct _WidgetRec *, XEvent *, char **, Cardinal *)' {aka 'void(struct _WidgetRec *, XEvent *, char **, unsigned int *)'} 64 | extern void _XawTextSearch(Widget, XEvent *, String *, Cardinal *); | ^~~~~~~~~~~~~~ TextAction.c: In function '_DeleteOrKill': TextAction.c:848:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 848 | text.ptr = ""; /* These two lines needed to make legal TextBlock */ | ^ TextAction.c: In function 'AutoFill': TextAction.c:1350:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1350 | text.ptr = "\n"; | ^ TextAction.c: In function 'StripOutOldCRs': TextAction.c:1677:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1677 | text.ptr= " "; | ^ TextAction.c: In function 'InsertNewCRs': TextAction.c:1775:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1775 | text.ptr = "\n"; | ^ TextAction.c: At top level: TextAction.c:1997:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1997 | {"forward-character", MoveForwardChar}, | ^~~~~~~~~~~~~~~~~~~ TextAction.c:1998:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1998 | {"backward-character", MoveBackwardChar}, | ^~~~~~~~~~~~~~~~~~~~ TextAction.c:1999:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1999 | {"forward-word", MoveForwardWord}, | ^~~~~~~~~~~~~~ TextAction.c:2000:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2000 | {"backward-word", MoveBackwardWord}, | ^~~~~~~~~~~~~~~ TextAction.c:2001:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2001 | {"forward-paragraph", MoveForwardParagraph}, | ^~~~~~~~~~~~~~~~~~~ TextAction.c:2002:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2002 | {"backward-paragraph", MoveBackwardParagraph}, | ^~~~~~~~~~~~~~~~~~~~ TextAction.c:2003:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2003 | {"beginning-of-line", MoveToLineStart}, | ^~~~~~~~~~~~~~~~~~~ TextAction.c:2004:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2004 | {"end-of-line", MoveToLineEnd}, | ^~~~~~~~~~~~~ TextAction.c:2005:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2005 | {"next-line", MoveNextLine}, | ^~~~~~~~~~~ TextAction.c:2006:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2006 | {"previous-line", MovePreviousLine}, | ^~~~~~~~~~~~~~~ TextAction.c:2007:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2007 | {"next-page", MoveNextPage}, | ^~~~~~~~~~~ TextAction.c:2008:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2008 | {"previous-page", MovePreviousPage}, | ^~~~~~~~~~~~~~~ TextAction.c:2009:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2009 | {"beginning-of-file", MoveBeginningOfFile}, | ^~~~~~~~~~~~~~~~~~~ TextAction.c:2010:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2010 | {"end-of-file", MoveEndOfFile}, | ^~~~~~~~~~~~~ TextAction.c:2011:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2011 | {"scroll-one-line-up", ScrollOneLineUp}, | ^~~~~~~~~~~~~~~~~~~~ TextAction.c:2012:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2012 | {"scroll-one-line-down", ScrollOneLineDown}, | ^~~~~~~~~~~~~~~~~~~~~~ TextAction.c:2016:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2016 | {"delete-next-character", DeleteForwardChar}, | ^~~~~~~~~~~~~~~~~~~~~~~ TextAction.c:2017:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2017 | {"delete-previous-character", DeleteBackwardChar}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ TextAction.c:2018:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2018 | {"delete-next-word", DeleteForwardWord}, | ^~~~~~~~~~~~~~~~~~ TextAction.c:2019:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2019 | {"delete-previous-word", DeleteBackwardWord}, | ^~~~~~~~~~~~~~~~~~~~~~ TextAction.c:2020:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2020 | {"delete-selection", DeleteCurrentSelection}, | ^~~~~~~~~~~~~~~~~~ TextAction.c:2024:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2024 | {"kill-word", KillForwardWord}, | ^~~~~~~~~~~ TextAction.c:2025:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2025 | {"backward-kill-word", KillBackwardWord}, | ^~~~~~~~~~~~~~~~~~~~ TextAction.c:2026:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2026 | {"kill-selection", KillCurrentSelection}, | ^~~~~~~~~~~~~~~~ TextAction.c:2027:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2027 | {"kill-to-end-of-line", KillToEndOfLine}, | ^~~~~~~~~~~~~~~~~~~~~ TextAction.c:2028:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2028 | {"kill-to-end-of-paragraph", KillToEndOfParagraph}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ TextAction.c:2032:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2032 | {"newline-and-indent", InsertNewLineAndIndent}, | ^~~~~~~~~~~~~~~~~~~~ TextAction.c:2033:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2033 | {"newline-and-backup", InsertNewLineAndBackup}, | ^~~~~~~~~~~~~~~~~~~~ TextAction.c:2034:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2034 | {"newline", InsertNewLine}, | ^~~~~~~~~ TextAction.c:2038:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2038 | {"select-word", SelectWord}, | ^~~~~~~~~~~~~ TextAction.c:2039:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2039 | {"select-all", SelectAll}, | ^~~~~~~~~~~~ TextAction.c:2040:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2040 | {"select-start", SelectStart}, | ^~~~~~~~~~~~~~ TextAction.c:2041:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2041 | {"select-adjust", SelectAdjust}, | ^~~~~~~~~~~~~~~ TextAction.c:2042:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2042 | {"select-end", SelectEnd}, | ^~~~~~~~~~~~ TextAction.c:2043:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2043 | {"select-save", SelectSave}, | ^~~~~~~~~~~~~ TextAction.c:2044:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2044 | {"extend-start", ExtendStart}, | ^~~~~~~~~~~~~~ TextAction.c:2045:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2045 | {"extend-adjust", ExtendAdjust}, | ^~~~~~~~~~~~~~~ TextAction.c:2046:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2046 | {"extend-end", ExtendEnd}, | ^~~~~~~~~~~~ TextAction.c:2047:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2047 | {"insert-selection", InsertSelection}, | ^~~~~~~~~~~~~~~~~~ TextAction.c:2051:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2051 | {"redraw-display", RedrawDisplay}, | ^~~~~~~~~~~~~~~~ TextAction.c:2052:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2052 | {"insert-file", _XawTextInsertFile}, | ^~~~~~~~~~~~~ TextAction.c:2053:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2053 | {"search", _XawTextSearch}, | ^~~~~~~~ TextAction.c:2054:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2054 | {"insert-char", InsertChar}, | ^~~~~~~~~~~~~ TextAction.c:2055:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2055 | {"insert-string", InsertString}, | ^~~~~~~~~~~~~~~ TextAction.c:2056:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2056 | {"focus-in", TextFocusIn}, | ^~~~~~~~~~ TextAction.c:2057:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2057 | {"focus-out", TextFocusOut}, | ^~~~~~~~~~~ TextAction.c:2058:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2058 | {"enter-window", TextEnterWindow}, | ^~~~~~~~~~~~~~ TextAction.c:2059:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2059 | {"leave-window", TextLeaveWindow}, | ^~~~~~~~~~~~~~ TextAction.c:2060:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2060 | {"display-caret", DisplayCaret}, | ^~~~~~~~~~~~~~~ TextAction.c:2061:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2061 | {"multiply", Multiply}, | ^~~~~~~~~~ TextAction.c:2062:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2062 | {"form-paragraph", FormParagraph}, | ^~~~~~~~~~~~~~~~ TextAction.c:2063:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2063 | {"transpose-characters", TransposeCharacters}, | ^~~~~~~~~~~~~~~~~~~~~~ TextAction.c:2064:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2064 | {"no-op", NoOp}, | ^~~~~~~ TextAction.c:2068:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2068 | {"InsertFileAction", _XawTextInsertFileAction}, | ^~~~~~~~~~~~~~~~~~ TextAction.c:2069:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2069 | {"DoSearchAction", _XawTextDoSearchAction}, | ^~~~~~~~~~~~~~~~ TextAction.c:2070:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2070 | {"DoReplaceAction", _XawTextDoReplaceAction}, | ^~~~~~~~~~~~~~~~~ TextAction.c:2071:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2071 | {"SetField", _XawTextSetField}, | ^~~~~~~~~~ TextAction.c:2072:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2072 | {"PopdownSearchAction", _XawTextPopdownSearchAction}, | ^~~~~~~~~~~~~~~~~~~~~ TextAction.c:2076:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2076 | {"reconnect-im", Reconnect} /* Li Yuhong, Omron KK, 1991 */ | ^~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o Text.lo Text.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c Text.c -fPIC -DPIC -o .libs/Text.o In file included from ../include/X11/Xaw3d/Text.h:52, from ../include/X11/Xaw3d/TextP.h:52, from Text.c:72: ../include/X11/Xaw3d/Simple.h:83:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | #define XtNcursor "cursor" | ^~~~~~~~ Text.c:179:4: note: in expansion of macro 'XtNcursor' 179 | {XtNcursor, XtCCursor, XtRCursor, sizeof(Cursor), | ^~~~~~~~~ Text.c:180:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 180 | offset(simple.cursor), XtRString, "xterm"}, | ^~~~~~~ ../include/X11/Xaw3d/Text.h:127:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 127 | #define XtNdisplayPosition "displayPosition" | ^~~~~~~~~~~~~~~~~ Text.c:183:4: note: in expansion of macro 'XtNdisplayPosition' 183 | {XtNdisplayPosition, XtCTextPosition, XtRInt, sizeof(XawTextPosition), | ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Text.h:128:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 128 | #define XtNleftMargin "leftMargin" | ^~~~~~~~~~~~ Text.c:187:4: note: in expansion of macro 'XtNleftMargin' 187 | {XtNleftMargin, XtCMargin, XtRPosition, sizeof (Position), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Text.h:129:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 129 | #define XtNrightMargin "rightMargin" | ^~~~~~~~~~~~~ Text.c:189:4: note: in expansion of macro 'XtNrightMargin' 189 | {XtNrightMargin, XtCMargin, XtRPosition, sizeof (Position), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/Text.h:133:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 133 | #define XtNtopMargin "topMargin" | ^~~~~~~~~~~ Text.c:191:4: note: in expansion of macro 'XtNtopMargin' 191 | {XtNtopMargin, XtCMargin, XtRPosition, sizeof (Position), | ^~~~~~~~~~~~ ../include/X11/Xaw3d/Text.h:123:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 123 | #define XtNbottomMargin "bottomMargin" | ^~~~~~~~~~~~~~ Text.c:193:4: note: in expansion of macro 'XtNbottomMargin' 193 | {XtNbottomMargin, XtCMargin, XtRPosition, sizeof (Position), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Text.h:132:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 132 | #define XtNselectTypes "selectTypes" | ^~~~~~~~~~~~~ Text.c:195:4: note: in expansion of macro 'XtNselectTypes' 195 | {XtNselectTypes, XtCSelectTypes, XtRPointer, | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/Text.h:138:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 138 | #define XtCSelectTypes "SelectTypes" | ^~~~~~~~~~~~~ Text.c:195:20: note: in expansion of macro 'XtCSelectTypes' 195 | {XtNselectTypes, XtCSelectTypes, XtRPointer, | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/Text.h:126:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 126 | #define XtNdisplayCaret "displayCaret" | ^~~~~~~~~~~~~~ Text.c:202:4: note: in expansion of macro 'XtNdisplayCaret' 202 | {XtNdisplayCaret, XtCOutput, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/MultiSinkP.h:89, from Text.c:74: ../include/X11/Xaw3d/MultiSink.h:94:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | #define XtCOutput "Output" | ^~~~~~~~ Text.c:202:21: note: in expansion of macro 'XtCOutput' 202 | {XtNdisplayCaret, XtCOutput, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~ ../include/X11/Xaw3d/Text.h:130:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 130 | #define XtNscrollVertical "scrollVertical" | ^~~~~~~~~~~~~~~~ Text.c:204:4: note: in expansion of macro 'XtNscrollVertical' 204 | {XtNscrollVertical, XtCScroll, XtRScrollMode, sizeof(XawTextScrollMode), | ^~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Text.h:137:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 137 | #define XtCScroll "Scroll" | ^~~~~~~~ Text.c:204:23: note: in expansion of macro 'XtCScroll' 204 | {XtNscrollVertical, XtCScroll, XtRScrollMode, sizeof(XawTextScrollMode), | ^~~~~~~~~ ../include/X11/Xaw3d/TextP.h:225:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 225 | #define XtRScrollMode "ScrollMode" | ^~~~~~~~~~~~ Text.c:204:34: note: in expansion of macro 'XtRScrollMode' 204 | {XtNscrollVertical, XtCScroll, XtRScrollMode, sizeof(XawTextScrollMode), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Text.h:131:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 131 | #define XtNscrollHorizontal "scrollHorizontal" | ^~~~~~~~~~~~~~~~~~ Text.c:206:4: note: in expansion of macro 'XtNscrollHorizontal' 206 | {XtNscrollHorizontal, XtCScroll, XtRScrollMode, sizeof(XawTextScrollMode), | ^~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Text.h:137:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 137 | #define XtCScroll "Scroll" | ^~~~~~~~ Text.c:206:25: note: in expansion of macro 'XtCScroll' 206 | {XtNscrollHorizontal, XtCScroll, XtRScrollMode, sizeof(XawTextScrollMode), | ^~~~~~~~~ ../include/X11/Xaw3d/TextP.h:225:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 225 | #define XtRScrollMode "ScrollMode" | ^~~~~~~~~~~~ Text.c:206:36: note: in expansion of macro 'XtRScrollMode' 206 | {XtNscrollHorizontal, XtCScroll, XtRScrollMode, sizeof(XawTextScrollMode), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Text.h:134:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 134 | #define XtNwrap "wrap" | ^~~~~~ Text.c:208:4: note: in expansion of macro 'XtNwrap' 208 | {XtNwrap, XtCWrap, XtRWrapMode, sizeof(XawTextWrapMode), | ^~~~~~~ ../include/X11/Xaw3d/Text.h:139:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 139 | #define XtCWrap "Wrap" | ^~~~~~ Text.c:208:13: note: in expansion of macro 'XtCWrap' 208 | {XtNwrap, XtCWrap, XtRWrapMode, sizeof(XawTextWrapMode), | ^~~~~~~ ../include/X11/Xaw3d/TextP.h:226:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 226 | #define XtRWrapMode "WrapMode" | ^~~~~~~~~~ Text.c:208:22: note: in expansion of macro 'XtRWrapMode' 208 | {XtNwrap, XtCWrap, XtRWrapMode, sizeof(XawTextWrapMode), | ^~~~~~~~~~~ ../include/X11/Xaw3d/TextP.h:227:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 227 | #define XtRResizeMode "ResizeMode" | ^~~~~~~~~~~~ Text.c:210:26: note: in expansion of macro 'XtRResizeMode' 210 | {XtNresize, XtCResize, XtRResizeMode, sizeof(XawTextResizeMode), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Text.h:122:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 122 | #define XtNautoFill "autoFill" | ^~~~~~~~~~ Text.c:212:4: note: in expansion of macro 'XtNautoFill' 212 | {XtNautoFill, XtCAutoFill, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~ ../include/X11/Xaw3d/Text.h:136:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 136 | #define XtCAutoFill "AutoFill" | ^~~~~~~~~~ Text.c:212:17: note: in expansion of macro 'XtCAutoFill' 212 | {XtNautoFill, XtCAutoFill, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~ Text.c: In function 'LoseSelection': Text.c:1753:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1753 | if (ctx->text.old_insert >= 0) /* Update in progress. */ | ^~ Text.c:1756:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1756 | prevSalt = 0; | ^~~~~~~~ Text.c: In function '_XawTextSetSelection': Text.c:2511:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2511 | static String defaultSel = "PRIMARY"; | ^~~~~~~~~ Text.c: At top level: Text.c:3369:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3369 | /* class_name */ "Text", | ^~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o TextPop.lo TextPop.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c TextPop.c -fPIC -DPIC -o .libs/TextPop.o TextPop.c: In function '_XawTextInsertFile': TextPop.c:196:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 196 | ptr = ""; | ^ TextPop.c:201:50: warning: passing argument 3 of 'CreateDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 201 | ctx->text.file_insert = CreateDialog(w, ptr, "insertFile", | ^~~~~~~~~~~~ TextPop.c:101:44: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 101 | static Widget CreateDialog(Widget, String, String, void (*)(Widget, String, Widget)); | ^~~~~~ TextPop.c: In function 'PopdownFileInsert': TextPop.c:84:23: warning: passing argument 2 of 'SetResourceByName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 84 | #define LABEL_NAME ("label") | ^~~~~~~~~ TextPop.c:227:52: note: in expansion of macro 'LABEL_NAME' 227 | (void) SetResourceByName( ctx->text.file_insert, LABEL_NAME, | ^~~~~~~~~~ TextPop.c:105:42: note: expected 'char *' but argument is of type 'const char *' 105 | static Boolean SetResourceByName(Widget, char *, char *, XtArgVal); | ^~~~~~ TextPop.c: In function 'DoInsert': TextPop.c:84:23: warning: passing argument 2 of 'SetResourceByName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 84 | #define LABEL_NAME ("label") | ^~~~~~~~~ TextPop.c:262:27: note: in expansion of macro 'LABEL_NAME' 262 | LABEL_NAME, XtNlabel, (XtArgVal) msg); | ^~~~~~~~~~ TextPop.c:105:42: note: expected 'char *' but argument is of type 'const char *' 105 | static Boolean SetResourceByName(Widget, char *, char *, XtArgVal); | ^~~~~~ TextPop.c: In function 'AddInsertFileChildren': TextPop.c:342:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 342 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:343:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 343 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:344:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 344 | XtSetArg(args[num_args], XtNresizable, TRUE ); num_args++; | ^~~~~~~~ TextPop.c:350:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 350 | XtSetArg(args[num_args], XtNfromVert, label); num_args++; | ^~~~~~~~ TextPop.c:351:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 351 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:352:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 352 | XtSetArg(args[num_args], XtNright, XtChainRight); num_args++; | ^~~~~~~~ TextPop.c:354:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 354 | XtSetArg(args[num_args], XtNresizable, TRUE); num_args++; | ^~~~~~~~ TextPop.c:362:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 362 | XtSetArg(args[num_args], XtNfromVert, text); num_args++; | ^~~~~~~~ TextPop.c:363:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 363 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:364:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 364 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:370:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 370 | XtSetArg(args[num_args], XtNfromVert, text); num_args++; | ^~~~~~~~ TextPop.c:371:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 371 | XtSetArg(args[num_args], XtNfromHoriz, insert); num_args++; | ^~~~~~~~ TextPop.c:372:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 372 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:373:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 373 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c: In function 'PopdownSearch': TextPop.c:79:25: warning: passing argument 2 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 79 | #define SEARCH_LABEL_1 ("Use to change fields.") | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:458:27: note: in expansion of macro 'SEARCH_LABEL_1' 458 | SetSearchLabels(search, SEARCH_LABEL_1, SEARCH_LABEL_2, FALSE); | ^~~~~~~~~~~~~~ TextPop.c:98:56: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 98 | static void SetSearchLabels(struct SearchAndReplace *, String, String, Boolean); | ^~~~~~ TextPop.c:80:25: warning: passing argument 3 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 80 | #define SEARCH_LABEL_2 ("Use ^q for .") | ^~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:458:43: note: in expansion of macro 'SEARCH_LABEL_2' 458 | SetSearchLabels(search, SEARCH_LABEL_1, SEARCH_LABEL_2, FALSE); | ^~~~~~~~~~~~~~ TextPop.c:98:64: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 98 | static void SetSearchLabels(struct SearchAndReplace *, String, String, Boolean); | ^~~~~~ TextPop.c: In function '_XawTextSearch': TextPop.c:532:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 532 | ptr = ""; | ^ TextPop.c:553:59: warning: passing argument 3 of 'CreateDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 553 | ctx->text.search->search_popup = CreateDialog(w, ptr, "search", | ^~~~~~~~ TextPop.c:101:44: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 101 | static Widget CreateDialog(Widget, String, String, void (*)(Widget, String, Widget)); | ^~~~~~ In file included from TextPop.c:61: TextPop.c: In function 'InitializeSearchWidget': ../include/X11/Xaw3d/Toggle.h:101:18: warning: passing argument 2 of 'SetResource' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | #define XtNstate "state" | ^~~~~~~ TextPop.c:592:38: note: in expansion of macro 'XtNstate' 592 | SetResource(search->left_toggle, XtNstate, (XtArgVal) TRUE); | ^~~~~~~~ TextPop.c:97:33: note: expected 'char *' but argument is of type 'const char *' 97 | static void SetResource(Widget, char *, XtArgVal); | ^~~~~~ ../include/X11/Xaw3d/Toggle.h:101:18: warning: passing argument 2 of 'SetResource' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | #define XtNstate "state" | ^~~~~~~ TextPop.c:595:39: note: in expansion of macro 'XtNstate' 595 | SetResource(search->right_toggle, XtNstate, (XtArgVal) TRUE); | ^~~~~~~~ TextPop.c:97:33: note: expected 'char *' but argument is of type 'const char *' 97 | static void SetResource(Widget, char *, XtArgVal); | ^~~~~~ TextPop.c: In function 'AddSearchChildren': TextPop.c:620:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 620 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:621:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 621 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:622:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 622 | XtSetArg(args[num_args], XtNresizable, TRUE ); num_args++; | ^~~~~~~~ TextPop.c:628:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 628 | XtSetArg(args[num_args], XtNfromVert, search->label1); num_args++; | ^~~~~~~~ TextPop.c:629:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 629 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:630:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 630 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:631:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 631 | XtSetArg(args[num_args], XtNresizable, TRUE ); num_args++; | ^~~~~~~~ TextPop.c:643:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 643 | XtSetArg(args[num_args], XtNfromVert, search->label2); num_args++; | ^~~~~~~~ TextPop.c:644:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 644 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:645:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 645 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:646:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 646 | XtSetArg(args[num_args], XtNradioData, (XPointer) XawsdLeft + R_OFFSET); | ^~~~~~~~ TextPop.c:653:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 653 | XtSetArg(args[num_args], XtNfromVert, search->label2); num_args++; | ^~~~~~~~ TextPop.c:654:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 654 | XtSetArg(args[num_args], XtNfromHoriz, search->left_toggle); num_args++; | ^~~~~~~~ TextPop.c:655:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 655 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:656:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 656 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:657:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 657 | XtSetArg(args[num_args], XtNradioGroup, search->left_toggle); num_args++; | ^~~~~~~~ TextPop.c:658:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 658 | XtSetArg(args[num_args], XtNradioData, (XPointer) XawsdRight + R_OFFSET); | ^~~~~~~~ TextPop.c:672:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 672 | XtSetArg(args[num_args], XtNfromVert, search->left_toggle); num_args++; | ^~~~~~~~ TextPop.c:674:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 674 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:675:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 675 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:681:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 681 | XtSetArg(args[num_args], XtNfromVert, search->left_toggle); num_args++; | ^~~~~~~~ TextPop.c:682:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 682 | XtSetArg(args[num_args], XtNfromHoriz, s_label); num_args++; | ^~~~~~~~ TextPop.c:683:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 683 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:684:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 684 | XtSetArg(args[num_args], XtNright, XtChainRight); num_args++; | ^~~~~~~~ TextPop.c:686:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 686 | XtSetArg(args[num_args], XtNresizable, TRUE); num_args++; | ^~~~~~~~ TextPop.c:694:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 694 | XtSetArg(args[num_args], XtNfromVert, s_text); num_args++; | ^~~~~~~~ TextPop.c:696:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 696 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:697:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 697 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:703:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 703 | XtSetArg(args[num_args], XtNfromHoriz, s_label); num_args++; | ^~~~~~~~ TextPop.c:704:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 704 | XtSetArg(args[num_args], XtNfromVert, s_text); num_args++; | ^~~~~~~~ TextPop.c:705:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 705 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:706:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 706 | XtSetArg(args[num_args], XtNright, XtChainRight); num_args++; | ^~~~~~~~ TextPop.c:708:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 708 | XtSetArg(args[num_args], XtNresizable, TRUE); num_args++; | ^~~~~~~~ TextPop.c:717:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 717 | XtSetArg(args[num_args], XtNfromVert, r_text); num_args++; | ^~~~~~~~ TextPop.c:718:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 718 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:719:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 719 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:725:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 725 | XtSetArg(args[num_args], XtNfromVert, r_text); num_args++; | ^~~~~~~~ TextPop.c:726:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 726 | XtSetArg(args[num_args], XtNfromHoriz, search_button); num_args++; | ^~~~~~~~ TextPop.c:727:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 727 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:728:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 728 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:734:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 734 | XtSetArg(args[num_args], XtNfromVert, r_text); num_args++; | ^~~~~~~~ TextPop.c:735:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 735 | XtSetArg(args[num_args], XtNfromHoriz, search->rep_one); num_args++; | ^~~~~~~~ TextPop.c:736:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 736 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:737:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 737 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:743:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 743 | XtSetArg(args[num_args], XtNfromVert, r_text); num_args++; | ^~~~~~~~ TextPop.c:744:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 744 | XtSetArg(args[num_args], XtNfromHoriz, search->rep_all); num_args++; | ^~~~~~~~ TextPop.c:745:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 745 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:746:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 746 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:79:25: warning: passing argument 2 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 79 | #define SEARCH_LABEL_1 ("Use to change fields.") | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:770:27: note: in expansion of macro 'SEARCH_LABEL_1' 770 | SetSearchLabels(search, SEARCH_LABEL_1, SEARCH_LABEL_2, FALSE); | ^~~~~~~~~~~~~~ TextPop.c:98:56: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 98 | static void SetSearchLabels(struct SearchAndReplace *, String, String, Boolean); | ^~~~~~ TextPop.c:80:25: warning: passing argument 3 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 80 | #define SEARCH_LABEL_2 ("Use ^q for .") | ^~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:770:43: note: in expansion of macro 'SEARCH_LABEL_2' 770 | SetSearchLabels(search, SEARCH_LABEL_1, SEARCH_LABEL_2, FALSE); | ^~~~~~~~~~~~~~ TextPop.c:98:64: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 98 | static void SetSearchLabels(struct SearchAndReplace *, String, String, Boolean); | ^~~~~~ TextPop.c: In function 'DoSearch': TextPop.c:834:32: warning: passing argument 3 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 834 | SetSearchLabels(search, msg, "", TRUE); | ^~ TextPop.c:98:64: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 98 | static void SetSearchLabels(struct SearchAndReplace *, String, String, Boolean); | ^~~~~~ TextPop.c: In function 'Replace': TextPop.c:961:40: warning: passing argument 3 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 961 | SetSearchLabels(search, msg, "", TRUE); | ^~ TextPop.c:98:64: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 98 | static void SetSearchLabels(struct SearchAndReplace *, String, String, Boolean); | ^~~~~~ TextPop.c:974:33: warning: passing argument 2 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 974 | SetSearchLabels(search, "Selection has been modified, aborting.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:98:56: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 98 | static void SetSearchLabels(struct SearchAndReplace *, String, String, Boolean); | ^~~~~~ TextPop.c:975:25: warning: passing argument 3 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 975 | "", TRUE); | ^~ TextPop.c:98:64: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 98 | static void SetSearchLabels(struct SearchAndReplace *, String, String, Boolean); | ^~~~~~ TextPop.c:986:31: warning: passing argument 2 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 986 | SetSearchLabels(search, "*** Error while replacing", msg, TRUE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:98:56: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 98 | static void SetSearchLabels(struct SearchAndReplace *, String, String, Boolean); | ^~~~~~ TextPop.c: In function '_XawTextSetField': TextPop.c:1056:29: warning: passing argument 2 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1056 | SetSearchLabels(search, "*** Error: SetField Action must have", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:1023:57: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 1023 | SetSearchLabels(struct SearchAndReplace *search, String msg1, String msg2, Boolean bell) | ~~~~~~~^~~~ TextPop.c:1057:21: warning: passing argument 3 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1057 | "exactly one argument. ***", TRUE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:1023:70: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 1023 | SetSearchLabels(struct SearchAndReplace *search, String msg1, String msg2, Boolean bell) | ~~~~~~~^~~~ TextPop.c:1072:29: warning: passing argument 2 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1072 | SetSearchLabels(search, "*** Error: SetField Action's first Argument must", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:1023:57: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 1023 | SetSearchLabels(struct SearchAndReplace *search, String msg1, String msg2, Boolean bell) | ~~~~~~~^~~~ TextPop.c:1073:21: warning: passing argument 3 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1073 | "be either 'Search' or 'Replace'. ***", TRUE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:1023:70: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 1023 | SetSearchLabels(struct SearchAndReplace *search, String msg1, String msg2, Boolean bell) | ~~~~~~~^~~~ TextPop.c: At top level: TextPop.c:1310:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1310 | static char *WM_DELETE_WINDOW = "WM_DELETE_WINDOW"; | ^~~~~~~~~~~~~~~~~~ TextPop.c: In function 'SetWMProtocolTranslations': TextPop.c:1365:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1365 | actions[0].string = "XawWMProtocols"; | ^ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o TextSink.lo TextSink.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c TextSink.c -fPIC -DPIC -o .libs/TextSink.o TextSink.c:78:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 78 | offset(foreground), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ TextSink.c:80:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 80 | offset(background), XtRString, XtDefaultBackground}, | ^~~~~~~~~~~~~~~~~~~ TextSink.c:89:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 89 | /* class_name */ "TextSink", | ^~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o TextSrc.lo TextSrc.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c TextSrc.c -fPIC -DPIC -o .libs/TextSrc.o TextSrc.c:66:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 66 | offset(edit_mode), XtRString, "read"}, | ^~~~~~ TextSrc.c:87:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 87 | /* class_name */ "TextSrc", | ^~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o TextTr.lo TextTr.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c TextTr.c -fPIC -DPIC -o .libs/TextTr.o TextTr.c:45:1: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 45 | "\ | ^~ 46 | CtrlA: beginning-of-line() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47 | CtrlB: backward-character() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 48 | CtrlC: insert-selection(CUT_BUFFER0) \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 49 | CtrlD: delete-next-character() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 50 | CtrlE: end-of-line() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 51 | CtrlF: forward-character() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 52 | CtrlG: multiply(Reset) \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 53 | CtrlH: delete-previous-character() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 54 | CtrlJ: newline-and-indent() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | CtrlK: kill-to-end-of-line() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | CtrlL: redraw-display() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 57 | CtrlM: newline() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 58 | CtrlN: next-line() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 59 | CtrlO: newline-and-backup() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 60 | CtrlP: previous-line() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 61 | CtrlR: search(backward) \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 62 | CtrlS: search(forward) \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 63 | CtrlT: transpose-characters() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 64 | CtrlU: multiply(4) \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 65 | CtrlV: next-page() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 66 | CtrlW: kill-selection() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 67 | CtrlY: insert-selection(SECONDARY) \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | CtrlZ: scroll-one-line-up() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | ", *_XawDefaultTextTranslations2 = "\ | ~ TextTr.c:69:36: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 69 | ", *_XawDefaultTextTranslations2 = "\ | ^~ 70 | MetaB: backward-word() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | MetaF: forward-word() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | MetaI: insert-file() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | MetaK: kill-to-end-of-paragraph() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | MetaQ: form-paragraph() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | MetaV: previous-page() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 76 | MetaY: insert-selection(PRIMARY, CUT_BUFFER0) \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 | MetaZ: scroll-one-line-down() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 78 | :Metad: delete-next-word() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 | :MetaD: kill-word() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | :Metah: delete-previous-word() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 81 | :MetaH: backward-kill-word() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 82 | :Meta\\<: beginning-of-file() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 83 | :Meta\\>: end-of-file() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 84 | :Meta]: forward-paragraph() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 85 | :Meta[: backward-paragraph() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 86 | ~Shift MetaDelete: delete-previous-word() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 87 | Shift MetaDelete: backward-kill-word() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 88 | ~Shift MetaBackSpace: delete-previous-word() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 89 | Shift MetaBackSpace: backward-kill-word() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 90 | ", | ~ TextTr.c:120:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 120 | *_XawDefaultTextTranslations3 = "\ | ^~ 121 | Right: forward-character() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 122 | Left: backward-character() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 123 | Down: next-line() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 124 | Up: previous-line() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 125 | Delete: delete-previous-character() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 126 | BackSpace: delete-previous-character() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 127 | Linefeed: newline-and-indent() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 128 | Return: newline() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 129 | KP_Enter: newline() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 130 | : insert-char() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 131 | ", | ~ TextTr.c:133:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 133 | *_XawDefaultTextTranslations4 = "\ | ^~ 134 | : enter-window() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | : leave-window() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | : focus-in() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 137 | : focus-out() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 138 | : select-start() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | : extend-adjust() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | : extend-end(PRIMARY, CUT_BUFFER0) \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 141 | : insert-selection(PRIMARY, CUT_BUFFER0) \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 142 | : extend-start() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 143 | : extend-adjust() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 144 | : extend-end(PRIMARY, CUT_BUFFER0) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 145 | "; | ~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o ThreeD.lo ThreeD.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c ThreeD.c -fPIC -DPIC -o .libs/ThreeD.o In file included from ../include/X11/Xaw3d/ThreeDP.h:29, from ThreeD.c:39: ../include/X11/Xaw3d/ThreeD.h:52:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 52 | #define XtNshadowWidth "shadowWidth" | ^~~~~~~~~~~~~ ThreeD.c:55:6: note: in expansion of macro 'XtNshadowWidth' 55 | {XtNshadowWidth, XtCShadowWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/ThreeD.h:53:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 53 | #define XtCShadowWidth "ShadowWidth" | ^~~~~~~~~~~~~ ThreeD.c:55:22: note: in expansion of macro 'XtCShadowWidth' 55 | {XtNshadowWidth, XtCShadowWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/ThreeD.h:54:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 54 | #define XtNtopShadowPixel "topShadowPixel" | ^~~~~~~~~~~~~~~~ ThreeD.c:57:6: note: in expansion of macro 'XtNtopShadowPixel' 57 | {XtNtopShadowPixel, XtCTopShadowPixel, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/ThreeD.h:55:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | #define XtCTopShadowPixel "TopShadowPixel" | ^~~~~~~~~~~~~~~~ ThreeD.c:57:25: note: in expansion of macro 'XtCTopShadowPixel' 57 | {XtNtopShadowPixel, XtCTopShadowPixel, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~~~~~~~ ThreeD.c:58:53: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 58 | offset(threeD.top_shadow_pixel), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/ThreeD.h:56:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | #define XtNbottomShadowPixel "bottomShadowPixel" | ^~~~~~~~~~~~~~~~~~~ ThreeD.c:59:6: note: in expansion of macro 'XtNbottomShadowPixel' 59 | {XtNbottomShadowPixel, XtCBottomShadowPixel, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/ThreeD.h:57:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 57 | #define XtCBottomShadowPixel "BottomShadowPixel" | ^~~~~~~~~~~~~~~~~~~ ThreeD.c:59:28: note: in expansion of macro 'XtCBottomShadowPixel' 59 | {XtNbottomShadowPixel, XtCBottomShadowPixel, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~~~~~~~~~~ ThreeD.c:60:53: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 60 | offset(threeD.bot_shadow_pixel), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ ThreeD.c:45:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 45 | #define XtNtopShadowPixmap "topShadowPixmap" | ^~~~~~~~~~~~~~~~~ ThreeD.c:61:6: note: in expansion of macro 'XtNtopShadowPixmap' 61 | {XtNtopShadowPixmap, XtCTopShadowPixmap, XtRPixmap, sizeof(Pixmap), | ^~~~~~~~~~~~~~~~~~ ThreeD.c:46:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 46 | #define XtCTopShadowPixmap "TopShadowPixmap" | ^~~~~~~~~~~~~~~~~ ThreeD.c:61:26: note: in expansion of macro 'XtCTopShadowPixmap' 61 | {XtNtopShadowPixmap, XtCTopShadowPixmap, XtRPixmap, sizeof(Pixmap), | ^~~~~~~~~~~~~~~~~~ ThreeD.c:47:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 47 | #define XtNbottomShadowPixmap "bottomShadowPixmap" | ^~~~~~~~~~~~~~~~~~~~ ThreeD.c:63:6: note: in expansion of macro 'XtNbottomShadowPixmap' 63 | {XtNbottomShadowPixmap, XtCBottomShadowPixmap, XtRPixmap, sizeof(Pixmap), | ^~~~~~~~~~~~~~~~~~~~~ ThreeD.c:48:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 48 | #define XtCBottomShadowPixmap "BottomShadowPixmap" | ^~~~~~~~~~~~~~~~~~~~ ThreeD.c:63:29: note: in expansion of macro 'XtCBottomShadowPixmap' 63 | {XtNbottomShadowPixmap, XtCBottomShadowPixmap, XtRPixmap, sizeof(Pixmap), | ^~~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/ThreeD.h:58:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 58 | #define XtNtopShadowContrast "topShadowContrast" | ^~~~~~~~~~~~~~~~~~~ ThreeD.c:65:6: note: in expansion of macro 'XtNtopShadowContrast' 65 | {XtNtopShadowContrast, XtCTopShadowContrast, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/ThreeD.h:59:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 59 | #define XtCTopShadowContrast "TopShadowContrast" | ^~~~~~~~~~~~~~~~~~~ ThreeD.c:65:28: note: in expansion of macro 'XtCTopShadowContrast' 65 | {XtNtopShadowContrast, XtCTopShadowContrast, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/ThreeD.h:60:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 60 | #define XtNbottomShadowContrast "bottomShadowContrast" | ^~~~~~~~~~~~~~~~~~~~~~ ThreeD.c:67:6: note: in expansion of macro 'XtNbottomShadowContrast' 67 | {XtNbottomShadowContrast, XtCBottomShadowContrast, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/ThreeD.h:61:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 61 | #define XtCBottomShadowContrast "BottomShadowContrast" | ^~~~~~~~~~~~~~~~~~~~~~ ThreeD.c:67:31: note: in expansion of macro 'XtCBottomShadowContrast' 67 | {XtNbottomShadowContrast, XtCBottomShadowContrast, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/ThreeD.h:66:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 66 | #define XtNuserData "userData" | ^~~~~~~~~~ ThreeD.c:69:6: note: in expansion of macro 'XtNuserData' 69 | {XtNuserData, XtCUserData, XtRPointer, sizeof(XtPointer), | ^~~~~~~~~~~ ../include/X11/Xaw3d/ThreeD.h:67:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 67 | #define XtCUserData "UserData" | ^~~~~~~~~~ ThreeD.c:69:19: note: in expansion of macro 'XtCUserData' 69 | {XtNuserData, XtCUserData, XtRPointer, sizeof(XtPointer), | ^~~~~~~~~~~ ../include/X11/Xaw3d/ThreeD.h:62:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 62 | #define XtNbeNiceToColormap "beNiceToColormap" | ^~~~~~~~~~~~~~~~~~ ThreeD.c:71:6: note: in expansion of macro 'XtNbeNiceToColormap' 71 | {XtNbeNiceToColormap, XtCBeNiceToColormap, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/ThreeD.h:63:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 63 | #define XtCBeNiceToColormap "BeNiceToColormap" | ^~~~~~~~~~~~~~~~~~ ThreeD.c:71:27: note: in expansion of macro 'XtCBeNiceToColormap' 71 | {XtNbeNiceToColormap, XtCBeNiceToColormap, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/ThreeD.h:68:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 68 | #define XtNrelief "relief" | ^~~~~~~~ ThreeD.c:76:6: note: in expansion of macro 'XtNrelief' 76 | {XtNrelief, XtCRelief, XtRRelief, sizeof(XtRelief), | ^~~~~~~~~ ../include/X11/Xaw3d/ThreeD.h:69:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 69 | #define XtCRelief "Relief" | ^~~~~~~~ ThreeD.c:76:17: note: in expansion of macro 'XtCRelief' 76 | {XtNrelief, XtCRelief, XtRRelief, sizeof(XtRelief), | ^~~~~~~~~ ../include/X11/Xaw3d/ThreeDP.h:32:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 32 | #define XtRRelief "Relief" | ^~~~~~~~ ThreeD.c:76:28: note: in expansion of macro 'XtRRelief' 76 | {XtNrelief, XtCRelief, XtRRelief, sizeof(XtRelief), | ^~~~~~~~~ ThreeD.c:94:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | /* class_name */ "ThreeD", | ^~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o Tip.lo Tip.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c Tip.c -fPIC -DPIC -o .libs/Tip.o Tip.c:109:36: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 109 | offset(foreground), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ Tip.c:111:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 111 | offset(font), XtRString, XtDefaultFont}, | ^~~~~~~~~~~~~ Tip.c:114:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 114 | offset(fontset), XtRString, XtDefaultFontSet}, | ^~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/TipP.h:34, from Tip.c:43: ../include/X11/Xaw3d/Tip.h:70:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 70 | #define XtNencoding "encoding" | ^~~~~~~~~~ Tip.c:118:4: note: in expansion of macro 'XtNencoding' 118 | {XtNencoding, XtCEncoding, XtRUnsignedChar, sizeof(unsigned char), | ^~~~~~~~~~~ ../include/X11/Xaw3d/Tip.h:83:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | #define XtCEncoding "Encoding" | ^~~~~~~~~~ Tip.c:118:17: note: in expansion of macro 'XtCEncoding' 118 | {XtNencoding, XtCEncoding, XtRUnsignedChar, sizeof(unsigned char), | ^~~~~~~~~~~ Tip.c:124:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 124 | {XtNbackingStore, XtCBackingStore, XtRBackingStore, sizeof(int), | ^~~~~~~~~~~~~~~ Tip.c:124:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 124 | {XtNbackingStore, XtCBackingStore, XtRBackingStore, sizeof(int), | ^~~~~~~~~~~~~~~ Tip.c:124:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 124 | {XtNbackingStore, XtCBackingStore, XtRBackingStore, sizeof(int), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Tip.h:71:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 71 | #define XtNtimeout "timeout" | ^~~~~~~~~ Tip.c:127:4: note: in expansion of macro 'XtNtimeout' 127 | {XtNtimeout, XtCTimeout, XtRInt, sizeof(int), | ^~~~~~~~~~ ../include/X11/Xaw3d/Tip.h:84:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 84 | #define XtCTimeout "Timeout" | ^~~~~~~~~ Tip.c:127:16: note: in expansion of macro 'XtCTimeout' 127 | {XtNtimeout, XtCTimeout, XtRInt, sizeof(int), | ^~~~~~~~~~ Tip.c:136:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 136 | "Tip", /* class_name */ | ^~~~~ Tip.c: In function 'XawCvtBackingStoreToString': Tip.c:199:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 199 | buffer = XtEnotUseful; | ^ Tip.c:202:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 202 | buffer = XtEwhenMapped; | ^ Tip.c:205:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 205 | buffer = XtEalways; | ^ Tip.c:208:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 208 | buffer = XtEdefault; | ^ Tip.c: In function 'TipTimeoutCallback': Tip.c:605:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 605 | XtSetArg(args[0], XtNencoding, &info->tip->tip.encoding); | ^~~~~~~~ Tip.c:608:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 608 | XtSetArg(args[1], XtNinternational, &info->tip->tip.international); | ^~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o Toggle.lo Toggle.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c Toggle.c -fPIC -DPIC -o .libs/Toggle.o In file included from ../include/X11/Xaw3d/ToggleP.h:42, from Toggle.c:49: ../include/X11/Xaw3d/Toggle.h:101:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | #define XtNstate "state" | ^~~~~~~ Toggle.c:72:5: note: in expansion of macro 'XtNstate' 72 | {XtNstate, XtCState, XtRBoolean, sizeof(Boolean), | ^~~~~~~~ ../include/X11/Xaw3d/Toggle.h:93:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 93 | #define XtCState "State" | ^~~~~~~ Toggle.c:72:15: note: in expansion of macro 'XtCState' 72 | {XtNstate, XtCState, XtRBoolean, sizeof(Boolean), | ^~~~~~~~ Toggle.c:73:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 73 | offset(command.set), XtRString, "off"}, | ^~~~~ ../include/X11/Xaw3d/Toggle.h:102:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | #define XtNradioGroup "radioGroup" | ^~~~~~~~~~~~ Toggle.c:74:5: note: in expansion of macro 'XtNradioGroup' 74 | {XtNradioGroup, XtCWidget, XtRWidget, sizeof(Widget), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Toggle.h:92:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 92 | #define XtCWidget "Widget" | ^~~~~~~~ Toggle.c:74:20: note: in expansion of macro 'XtCWidget' 74 | {XtNradioGroup, XtCWidget, XtRWidget, sizeof(Widget), | ^~~~~~~~~ ../include/X11/Xaw3d/Toggle.h:103:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | #define XtNradioData "radioData" | ^~~~~~~~~~~ Toggle.c:76:5: note: in expansion of macro 'XtNradioData' 76 | {XtNradioData, XtCRadioData, XtRPointer, sizeof(XtPointer), | ^~~~~~~~~~~~ ../include/X11/Xaw3d/Toggle.h:95:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | #define XtCRadioData "RadioData" | ^~~~~~~~~~~ Toggle.c:76:19: note: in expansion of macro 'XtCRadioData' 76 | {XtNradioData, XtCRadioData, XtRPointer, sizeof(XtPointer), | ^~~~~~~~~~~~ Toggle.c:101:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | {"toggle", Toggle}, | ^~~~~~~~ Toggle.c:102:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | {"notify", Notify}, | ^~~~~~~~ Toggle.c:103:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | {"set", ToggleSet}, | ^~~~~ Toggle.c:111:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 111 | "Toggle", /* class_name */ | ^~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o Tree.lo Tree.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c Tree.c -fPIC -DPIC -o .libs/Tree.o In file included from ../include/X11/Xaw3d/TreeP.h:55, from Tree.c:58: ../include/X11/Xaw3d/Tree.h:93:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 93 | #define XtNautoReconfigure "autoReconfigure" | ^~~~~~~~~~~~~~~~~ Tree.c:87:7: note: in expansion of macro 'XtNautoReconfigure' 87 | { XtNautoReconfigure, XtCAutoReconfigure, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Tree.h:100:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 100 | #define XtCAutoReconfigure "AutoReconfigure" | ^~~~~~~~~~~~~~~~~ Tree.c:87:27: note: in expansion of macro 'XtCAutoReconfigure' 87 | { XtNautoReconfigure, XtCAutoReconfigure, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~~~~~ Tree.c:96:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Tree.h:94:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | #define XtNlineWidth "lineWidth" | ^~~~~~~~~~~ Tree.c:97:7: note: in expansion of macro 'XtNlineWidth' 97 | { XtNlineWidth, XtCLineWidth, XtRDimension, sizeof (Dimension), | ^~~~~~~~~~~~ ../include/X11/Xaw3d/Tree.h:101:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | #define XtCLineWidth "LineWidth" | ^~~~~~~~~~~ Tree.c:97:21: note: in expansion of macro 'XtCLineWidth' 97 | { XtNlineWidth, XtCLineWidth, XtRDimension, sizeof (Dimension), | ^~~~~~~~~~~~ ../include/X11/Xaw3d/Tree.h:97:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | #define XtNgravity "gravity" | ^~~~~~~~~ Tree.c:99:7: note: in expansion of macro 'XtNgravity' 99 | { XtNgravity, XtCGravity, XtRGravity, sizeof (XtGravity), | ^~~~~~~~~~ ../include/X11/Xaw3d/Tree.h:104:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | #define XtCGravity "Gravity" | ^~~~~~~~~ Tree.c:99:19: note: in expansion of macro 'XtCGravity' 99 | { XtNgravity, XtCGravity, XtRGravity, sizeof (XtGravity), | ^~~~~~~~~~ ../include/X11/Xaw3d/Tree.h:96:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | #define XtNtreeParent "treeParent" | ^~~~~~~~~~~~ Tree.c:109:7: note: in expansion of macro 'XtNtreeParent' 109 | { XtNtreeParent, XtCTreeParent, XtRWidget, sizeof (Widget), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Tree.h:103:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | #define XtCTreeParent "TreeParent" | ^~~~~~~~~~~~ Tree.c:109:22: note: in expansion of macro 'XtCTreeParent' 109 | { XtNtreeParent, XtCTreeParent, XtRWidget, sizeof (Widget), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Tree.h:95:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | #define XtNtreeGC "treeGC" | ^~~~~~~~ Tree.c:111:7: note: in expansion of macro 'XtNtreeGC' 111 | { XtNtreeGC, XtCTreeGC, XtRGC, sizeof(GC), | ^~~~~~~~~ ../include/X11/Xaw3d/Tree.h:102:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | #define XtCTreeGC "TreeGC" | ^~~~~~~~ Tree.c:111:18: note: in expansion of macro 'XtCTreeGC' 111 | { XtNtreeGC, XtCTreeGC, XtRGC, sizeof(GC), | ^~~~~~~~~ ../include/X11/Xaw3d/Tree.h:106:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 106 | #define XtRGC "GC" | ^~~~ Tree.c:111:29: note: in expansion of macro 'XtRGC' 111 | { XtNtreeGC, XtCTreeGC, XtRGC, sizeof(GC), | ^~~~~ Tree.c:120:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 120 | "Tree", /* class_name */ | ^~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o Vendor.lo Vendor.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c Vendor.c -fPIC -DPIC -o .libs/Vendor.o Vendor.c:185:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 185 | /* class_name */ "VendorShell", | ^~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/VendorEP.h:57, from Vendor.c:85: ../include/X11/Xaw3d/XawImP.h:57:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 57 | #define XtNinputMethod "inputMethod" | ^~~~~~~~~~~~~ Vendor.c:256:4: note: in expansion of macro 'XtNinputMethod' 256 | {XtNinputMethod, XtCInputMethod, XtRString, sizeof(String), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/XawImP.h:58:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 58 | #define XtCInputMethod "InputMethod" | ^~~~~~~~~~~~~ Vendor.c:256:20: note: in expansion of macro 'XtCInputMethod' 256 | {XtNinputMethod, XtCInputMethod, XtRString, sizeof(String), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/XawImP.h:59:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 59 | #define XtNpreeditType "preeditType" | ^~~~~~~~~~~~~ Vendor.c:259:4: note: in expansion of macro 'XtNpreeditType' 259 | {XtNpreeditType, XtCPreeditType, XtRString, sizeof(String), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/XawImP.h:60:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 60 | #define XtCPreeditType "PreeditType" | ^~~~~~~~~~~~~ Vendor.c:259:20: note: in expansion of macro 'XtCPreeditType' 259 | {XtNpreeditType, XtCPreeditType, XtRString, sizeof(String), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/XawImP.h:61:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 61 | #define XtNopenIm "openIm" | ^~~~~~~~ Vendor.c:262:4: note: in expansion of macro 'XtNopenIm' 262 | {XtNopenIm, XtCOpenIm, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~ ../include/X11/Xaw3d/XawImP.h:62:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 62 | #define XtCOpenIm "OpenIm" | ^~~~~~~~ Vendor.c:262:15: note: in expansion of macro 'XtCOpenIm' 262 | {XtNopenIm, XtCOpenIm, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~ ../include/X11/Xaw3d/XawImP.h:63:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 63 | #define XtNsharedIc "sharedIc" | ^~~~~~~~~~ Vendor.c:265:4: note: in expansion of macro 'XtNsharedIc' 265 | {XtNsharedIc, XtCSharedIc, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~ ../include/X11/Xaw3d/XawImP.h:64:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 64 | #define XtCSharedIc "SharedIc" | ^~~~~~~~~~ Vendor.c:265:17: note: in expansion of macro 'XtCSharedIc' 265 | {XtNsharedIc, XtCSharedIc, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~ Vendor.c:279:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 279 | /* class_name */ "VendorShellExt", | ^~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o Viewport.lo Viewport.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c Viewport.c -fPIC -DPIC -o .libs/Viewport.o In file included from ../include/X11/Xaw3d/Viewport.h:53, from ../include/X11/Xaw3d/ViewportP.h:56, from Viewport.c:58: ../include/X11/Xaw3d/Reports.h:50:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 50 | #define XtNreportCallback "reportCallback" | ^~~~~~~~~~~~~~~~ Viewport.c:79:6: note: in expansion of macro 'XtNreportCallback' 79 | {XtNreportCallback, XtCReportCallback, XtRCallback, sizeof(XtPointer), | ^~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Reports.h:51:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 51 | #define XtCReportCallback "reportCallback" | ^~~~~~~~~~~~~~~~ Viewport.c:79:25: note: in expansion of macro 'XtCReportCallback' 79 | {XtNreportCallback, XtCReportCallback, XtRCallback, sizeof(XtPointer), | ^~~~~~~~~~~~~~~~~ Viewport.c:98:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | /* class_name */ "Viewport", | ^~~~~~~~~~ In file included from ../include/X11/Xaw3d/Viewport.h:52: Viewport.c: In function 'CreateScrollbar': ../include/X11/Xaw3d/Form.h:102:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | #define XtNleft "left" | ^~~~~~ Viewport.c:166:10: note: in expansion of macro 'XtNleft' 166 | {XtNleft, (XtArgVal) 0}, | ^~~~~~~ ../include/X11/Xaw3d/Form.h:103:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | #define XtNright "right" | ^~~~~~~ Viewport.c:167:10: note: in expansion of macro 'XtNright' 167 | {XtNright, (XtArgVal) 0}, | ^~~~~~~~ ../include/X11/Xaw3d/Form.h:101:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | #define XtNbottom "bottom" | ^~~~~~~~ Viewport.c:169:10: note: in expansion of macro 'XtNbottom' 169 | {XtNbottom, (XtArgVal) 0}, | ^~~~~~~~~ Viewport.c:178:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 178 | XtSetArg(barArgs[2], XtNleft, | ^~~~~~~~ Viewport.c:180:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 180 | XtSetArg(barArgs[3], XtNright, | ^~~~~~~~ Viewport.c:184:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 184 | XtSetArg(barArgs[5], XtNbottom, | ^~~~~~~~ Viewport.c: In function 'Initialize': Viewport.c:234:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 234 | XtSetArg(threeD_args[arg_cnt], XtNleft, XtChainLeft); arg_cnt++; | ^~~~~~~~ Viewport.c:235:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 235 | XtSetArg(threeD_args[arg_cnt], XtNright, XtChainRight); arg_cnt++; | ^~~~~~~~ Viewport.c:237:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 237 | XtSetArg(threeD_args[arg_cnt], XtNbottom, XtChainBottom); arg_cnt++; | ^~~~~~~~ Viewport.c:240:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 240 | XtSetArg(threeD_args[arg_cnt], XtNrelief, XtReliefSunken); arg_cnt++; | ^~~~~~~~ Viewport.c:261:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 261 | XtSetArg(clip_args[arg_cnt], XtNleft, XtChainLeft); arg_cnt++; | ^~~~~~~~ Viewport.c:262:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 262 | XtSetArg(clip_args[arg_cnt], XtNright, XtChainRight); arg_cnt++; | ^~~~~~~~ Viewport.c:264:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 264 | XtSetArg(clip_args[arg_cnt], XtNbottom, XtChainBottom); arg_cnt++; | ^~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o Xaw3dP.lo Xaw3dP.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c Xaw3dP.c -fPIC -DPIC -o .libs/Xaw3dP.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o XawInit.lo XawInit.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c XawInit.c -fPIC -DPIC -o .libs/XawInit.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o laygram.lo laygram.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c laygram.c -fPIC -DPIC -o .libs/laygram.o laygram.c:224:5: warning: redundant redeclaration of 'LayYYparse' [-Wredundant-decls] 224 | int LayYYparse (void); | ^~~~~~~~~~ In file included from laygram.y:13: LayYY.h:6:23: note: previous declaration of 'LayYYparse' with type 'int(void)' 6 | extern _X_HIDDEN int LayYYparse (void); | ^~~~~~~~~~ laygram.c: In function 'LayYYparse': laygram.c:1645:20: warning: passing argument 1 of 'LayYYerror' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1645 | yyerror (YY_("syntax error")); | ^~~~~~~~~~~~~~ laygram.c:401:22: note: in definition of macro 'YY_' 401 | # define YY_(Msgid) Msgid | ^~~~~ LayYY.h:11:41: note: expected 'char *' but argument is of type 'const char *' 11 | extern _X_HIDDEN void LayYYerror (char *s); | ~~~~~~^ laygram.c:1756:16: warning: passing argument 1 of 'LayYYerror' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1756 | yyerror (YY_("memory exhausted")); | ^~~~~~~~~~~~~~~~~~ laygram.c:401:22: note: in definition of macro 'YY_' 401 | # define YY_(Msgid) Msgid | ^~~~~ LayYY.h:11:41: note: expected 'char *' but argument is of type 'const char *' 11 | extern _X_HIDDEN void LayYYerror (char *s); | ~~~~~~^ /bin/sh ../ylwrap laylex.l lex.yy.c laylex.c -- flex /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o laylex.lo laylex.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c laylex.c -fPIC -DPIC -o .libs/laylex.o In file included from laylex.l:18: LayYY.h:6:23: warning: redundant redeclaration of 'LayYYparse' [-Wredundant-decls] 6 | extern _X_HIDDEN int LayYYparse (void); | ^~~~~~~~~~ In file included from laylex.l:17: laygram.h:139:5: note: previous declaration of 'LayYYparse' with type 'int(void)' 139 | int LayYYparse (void); | ^~~~~~~~~~ laylex.c:29:16: warning: redundant redeclaration of 'LayYYwrap' [-Wredundant-decls] 29 | #define yywrap LayYYwrap | ^~~~~~~~~ laylex.c:838:12: note: in expansion of macro 'yywrap' 838 | extern int yywrap ( void ); | ^~~~~~ LayYY.h:7:23: note: previous declaration of 'LayYYwrap' with type 'int(void)' 7 | extern _X_HIDDEN int LayYYwrap (void); | ^~~~~~~~~ laylex.c:24:15: warning: redundant redeclaration of 'LayYYlex' [-Wredundant-decls] 24 | #define yylex LayYYlex | ^~~~~~~~ laylex.c:943:12: note: in expansion of macro 'yylex' 943 | extern int yylex (void); | ^~~~~ LayYY.h:10:23: note: previous declaration of 'LayYYlex' with type 'int(void)' 10 | extern _X_HIDDEN int LayYYlex (void); | ^~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o MultiSrc.lo MultiSrc.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c MultiSrc.c -fPIC -DPIC -o .libs/MultiSrc.o In file included from ../include/X11/Xaw3d/MultiSrcP.h:103, from MultiSrc.c:69: ../include/X11/Xaw3d/MultiSrc.h:103:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | #define XtNtype "type" | ^~~~~~ MultiSrc.c:101:6: note: in expansion of macro 'XtNtype' 101 | {XtNtype, XtCType, XtRMultiType, sizeof (XawAsciiType), | ^~~~~~~ ../include/X11/Xaw3d/MultiSrc.h:98:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | #define XtCType "Type" | ^~~~~~ MultiSrc.c:101:15: note: in expansion of macro 'XtCType' 101 | {XtNtype, XtCType, XtRMultiType, sizeof (XawAsciiType), | ^~~~~~~ ../include/X11/Xaw3d/MultiSrc.h:106:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 106 | #define XtRMultiType "MultiType" | ^~~~~~~~~~~ MultiSrc.c:101:24: note: in expansion of macro 'XtRMultiType' 101 | {XtNtype, XtCType, XtRMultiType, sizeof (XawAsciiType), | ^~~~~~~~~~~~ ../include/X11/Xaw3d/MultiSrc.h:101:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | #define XtNdataCompression "dataCompression" | ^~~~~~~~~~~~~~~~~ MultiSrc.c:104:6: note: in expansion of macro 'XtNdataCompression' 104 | {XtNdataCompression, XtCDataCompression, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/MultiSrc.h:96:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | #define XtCDataCompression "DataCompression" | ^~~~~~~~~~~~~~~~~ MultiSrc.c:104:26: note: in expansion of macro 'XtCDataCompression' 104 | {XtNdataCompression, XtCDataCompression, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/MultiSrc.h:102:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | #define XtNpieceSize "pieceSize" | ^~~~~~~~~~~ MultiSrc.c:106:6: note: in expansion of macro 'XtNpieceSize' 106 | {XtNpieceSize, XtCPieceSize, XtRInt, sizeof (XawTextPosition), | ^~~~~~~~~~~~ ../include/X11/Xaw3d/MultiSrc.h:97:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | #define XtCPieceSize "PieceSize" | ^~~~~~~~~~~ MultiSrc.c:106:20: note: in expansion of macro 'XtCPieceSize' 106 | {XtNpieceSize, XtCPieceSize, XtRInt, sizeof (XawTextPosition), | ^~~~~~~~~~~~ ../include/X11/Xaw3d/MultiSrc.h:104:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | #define XtNuseStringInPlace "useStringInPlace" | ^~~~~~~~~~~~~~~~~~ MultiSrc.c:110:6: note: in expansion of macro 'XtNuseStringInPlace' 110 | {XtNuseStringInPlace, XtCUseStringInPlace, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/MultiSrc.h:99:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 99 | #define XtCUseStringInPlace "UseStringInPlace" | ^~~~~~~~~~~~~~~~~~ MultiSrc.c:110:27: note: in expansion of macro 'XtCUseStringInPlace' 110 | {XtNuseStringInPlace, XtCUseStringInPlace, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~~~~~~ MultiSrc.c:147:17: warning: redundant redeclaration of '_XawTextMBToWC' [-Wredundant-decls] 147 | extern wchar_t* _XawTextMBToWC(Display *, char *, int *); | ^~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/MultiSrcP.h:102: ../include/X11/Xaw3d/TextSrcP.h:149:10: note: previous declaration of '_XawTextMBToWC' with type 'wchar_t *(Display *, char *, int *)' {aka 'int *(Display *, char *, int *)'} 149 | wchar_t* _XawTextMBToWC( | ^~~~~~~~~~~~~~ MultiSrc.c:148:14: warning: redundant redeclaration of '_XawTextWCToMB' [-Wredundant-decls] 148 | extern char *_XawTextWCToMB(Display *, wchar_t *, int *); | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/TextSrcP.h:143:7: note: previous declaration of '_XawTextWCToMB' with type 'char *(Display *, wchar_t *, int *)' {aka 'char *(Display *, int *, int *)'} 143 | char* _XawTextWCToMB( | ^~~~~~~~~~~~~~ MultiSrc.c:154:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 154 | /* class_name */ "MultiSrc", | ^~~~~~~~~~ MultiSrc.c: In function '_XawMultiSaveAsFile': MultiSrc.c:932:37: warning: passing argument 2 of 'WriteToFile' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 932 | ret = WriteToFile( mb_string, name ); | ^~~~ MultiSrc.c:139:36: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 139 | static Boolean WriteToFile(String, String); | ^~~~~~ MultiSrc.c: In function 'InitStringOrFile': MultiSrc.c:1094:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1094 | open_mode = "r" FOPEN_CLOEXEC; | ^ MultiSrc.c:1107:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1107 | open_mode = "w" FOPEN_CLOEXEC; | ^ MultiSrc.c:1109:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1109 | open_mode = "r+" FOPEN_CLOEXEC; | ^ MultiSrc.c:1105:20: warning: ignoring return value of 'tmpnam' declared with attribute 'warn_unused_result' [-Wunused-result] 1105 | (void) tmpnam(src->multi_src.string); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o MultiSink.lo MultiSink.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c MultiSink.c -fPIC -DPIC -o .libs/MultiSink.o MultiSink.c:115:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 115 | offset(fontset), XtRString, XtDefaultFontSet}, | ^~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/MultiSinkP.h:89, from MultiSink.c:80: ../include/X11/Xaw3d/MultiSink.h:97:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | #define XtNecho "echo" | ^~~~~~ MultiSink.c:116:6: note: in expansion of macro 'XtNecho' 116 | {XtNecho, XtCOutput, XtRBoolean, sizeof(Boolean), | ^~~~~~~ ../include/X11/Xaw3d/MultiSink.h:94:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | #define XtCOutput "Output" | ^~~~~~~~ MultiSink.c:116:15: note: in expansion of macro 'XtCOutput' 116 | {XtNecho, XtCOutput, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~ ../include/X11/Xaw3d/MultiSink.h:96:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | #define XtNdisplayNonprinting "displayNonprinting" | ^~~~~~~~~~~~~~~~~~~~ MultiSink.c:118:6: note: in expansion of macro 'XtNdisplayNonprinting' 118 | {XtNdisplayNonprinting, XtCOutput, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/MultiSink.h:94:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | #define XtCOutput "Output" | ^~~~~~~~ MultiSink.c:118:29: note: in expansion of macro 'XtCOutput' 118 | {XtNdisplayNonprinting, XtCOutput, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~ MultiSink.c:127:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 127 | /* class_name */ "MultiSink", | ^~~~~~~~~~~ MultiSink.c: In function 'SetValues': MultiSink.c:582:18: error: passing argument 1 of 'SetTabs' from incompatible pointer type [-Wincompatible-pointer-types] 582 | SetTabs( w, w->text_sink.tab_count, w->text_sink.char_tabs ); | ^ | | | MultiSinkObject {aka struct _MultiSinkRec *} MultiSink.c:99:21: note: expected 'Widget' {aka 'struct _WidgetRec *'} but argument is of type 'MultiSinkObject' {aka 'struct _MultiSinkRec *'} 99 | static void SetTabs(Widget, int, short *); | ^~~~~~ make[3]: *** [Makefile:646: MultiSink.lo] Error 1 make[3]: Leaving directory '/usr/src/RPM/BUILD/libXaw3d-1.6.5/src' make[2]: *** [Makefile:494: all] Error 2 make[2]: Leaving directory '/usr/src/RPM/BUILD/libXaw3d-1.6.5/src' make[1]: *** [Makefile:487: all-recursive] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/libXaw3d-1.6.5' make: *** [Makefile:396: all] Error 2 make: Leaving directory '/usr/src/RPM/BUILD/libXaw3d-1.6.5' error: Bad exit status from /usr/src/tmp/rpm-tmp.69270 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.69270 (%build) Command exited with non-zero status 1 7.15user 6.57system 0:13.69elapsed 100%CPU (0avgtext+0avgdata 37928maxresident)k 0inputs+0outputs (0major+1246507minor)pagefaults 0swaps hsh-rebuild: rebuild of `libXaw3d-1.6.5-alt1.src.rpm' failed. Command exited with non-zero status 1 3.27user 2.75system 0:23.84elapsed 25%CPU (0avgtext+0avgdata 136576maxresident)k 1112inputs+0outputs (0major+209135minor)pagefaults 0swaps