<86>Aug 13 09:09:35 userdel[3790075]: delete user 'rooter' <86>Aug 13 09:09:35 userdel[3790075]: removed group 'rooter' owned by 'rooter' <86>Aug 13 09:09:35 userdel[3790075]: removed shadow group 'rooter' owned by 'rooter' <86>Aug 13 09:09:35 groupadd[3790085]: group added to /etc/group: name=rooter, GID=1859 <86>Aug 13 09:09:35 groupadd[3790085]: group added to /etc/gshadow: name=rooter <86>Aug 13 09:09:35 groupadd[3790085]: new group: name=rooter, GID=1859 <86>Aug 13 09:09:35 useradd[3790092]: new user: name=rooter, UID=1859, GID=1859, home=/root, shell=/bin/bash <86>Aug 13 09:09:35 userdel[3790102]: delete user 'builder' <86>Aug 13 09:09:35 userdel[3790102]: removed group 'builder' owned by 'builder' <86>Aug 13 09:09:35 userdel[3790102]: removed shadow group 'builder' owned by 'builder' <86>Aug 13 09:09:35 groupadd[3790109]: group added to /etc/group: name=builder, GID=1860 <86>Aug 13 09:09:35 groupadd[3790109]: group added to /etc/gshadow: name=builder <86>Aug 13 09:09:35 groupadd[3790109]: new group: name=builder, GID=1860 <86>Aug 13 09:09:35 useradd[3790115]: new user: name=builder, UID=1860, GID=1860, home=/usr/src, shell=/bin/bash <13>Aug 13 09:09:40 rpmi: xorg-proto-devel-2021.4-alt1 p9+272150.100.1.1 1621427342 installed <13>Aug 13 09:09:40 rpmi: libICE-1.0.9-alt1 1409902719 installed <13>Aug 13 09:09:40 rpmi: libSM-1.2.3-alt1 sisyphus+226734.100.2.1 1554586157 installed <13>Aug 13 09:09:40 rpmi: libICE-devel-1.0.9-alt1 1409902719 installed <13>Aug 13 09:09:40 rpmi: libSM-devel-1.2.3-alt1 sisyphus+226734.100.2.1 1554586157 installed <13>Aug 13 09:09:40 rpmi: libX11-locales-3:1.7.2-alt1 p9+273972.100.2.1 1623924318 installed <13>Aug 13 09:09:40 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed <13>Aug 13 09:09:40 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Aug 13 09:09:40 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Aug 13 09:09:40 rpmi: libX11-3:1.7.2-alt1 p9+273972.100.2.1 1623924318 installed <13>Aug 13 09:09:40 rpmi: libXt-1.1.4-alt1 1369984716 installed <13>Aug 13 09:09:40 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Aug 13 09:09:40 rpmi: libXmu-1.1.3-alt1 sisyphus+225206.1200.1.2 1552949629 installed <13>Aug 13 09:09:40 rpmi: libXpm-3.5.12-alt1 sisyphus+223149.400.2.1 1551268300 installed <13>Aug 13 09:09:40 rpmi: libXaw-1.0.12-alt1 1391072621 installed <13>Aug 13 09:09:41 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Aug 13 09:09:41 rpmi: libX11-devel-3:1.7.2-alt1 p9+273972.100.2.1 1623924318 installed <13>Aug 13 09:09:41 rpmi: libXt-devel-1.1.4-alt1 1369984716 installed <13>Aug 13 09:09:41 rpmi: libXmu-devel-1.1.3-alt1 sisyphus+225206.1200.1.2 1552949629 installed <13>Aug 13 09:09:41 rpmi: libXaw-devel-1.0.12-alt1 1391072621 installed <13>Aug 13 09:09:41 rpmi: xorg-util-macros-1.19.0-alt1 1409047704 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/editres-1.0.7-alt1.nosrc.rpm (w1.gzdio) Installing editres-1.0.7-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.85268 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf editres-1.0.7 + echo 'Source #0 (editres-1.0.7.tar.bz2):' Source #0 (editres-1.0.7.tar.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/editres-1.0.7.tar.bz2 + /bin/tar -xf - + cd editres-1.0.7 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.90117 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd editres-1.0.7 + autoreconf -fisv autoreconf-default: Entering directory `.' autoreconf-default: configure.ac: not using Gettext autoreconf-default: running: aclocal --force autoreconf-default: configure.ac: tracing autoreconf-default: configure.ac: not using Libtool autoreconf-default: configure.ac: not using Intltool autoreconf-default: configure.ac: not using gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force autoreconf-default: running: /usr/bin/autoheader-2.60 --force autoreconf-default: running: automake --add-missing --force-missing autoreconf-default: Leaving directory `.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + 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 + readlink -e -- ./configure + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports the include directive... yes (GNU style) checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking dependency style of x86_64-alt-linux-gcc... none checking for x86_64-alt-linux-gcc option to accept ISO C99... none needed checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether __clang__ is declared... no checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... no checking for 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 build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking for a sed that does not truncate output... /bin/sed 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 xaw7 x11 xt >= 1.0.99.1 xmu xproto >= 7.0.17... yes checking for xt... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands configure: WARNING: unrecognized options: --without-included-gettext + make -j16 make all-recursive Making all in man make[2]: Entering directory '/usr/src/RPM/BUILD/editres-1.0.7/man' /bin/sed -e 's|__vendorversion__|"editres 1.0.7" "X Version 11"|' -e 's|__xorgversion__|"editres 1.0.7" "X Version 11"|' -e 's|__xservername__|Xorg|g' -e 's|__xconfigfile__|xorg.conf|g' -e 's|__projectroot__|/usr|g' -e 's|__apploaddir__|/etc/X11/app-defaults|g' -e 's|__appmansuffix__|1|g' -e 's|__drivermansuffix__|4|g' -e 's|__adminmansuffix__|8|g' -e 's|__libmansuffix__|3|g' -e 's|__miscmansuffix__|7|g' -e 's|__filemansuffix__|5|g' < editres.man > editres.1 make[2]: Leaving directory '/usr/src/RPM/BUILD/editres-1.0.7/man' make[2]: Entering directory '/usr/src/RPM/BUILD/editres-1.0.7' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -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 -c -o setvalues.o setvalues.c make[2]: Leaving directory '/usr/src/RPM/BUILD/editres-1.0.7' make[2]: Entering directory '/usr/src/RPM/BUILD/editres-1.0.7' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -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 -c -o editres.o editres.c editres.c:48:34: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] char *global_effective_toolkit = "xt"; ^~~~ editres.c:73:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"debug", "Debug", XtRBoolean, sizeof(Boolean), ^~~~~~~ editres.c:73:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"debug", "Debug", XtRBoolean, sizeof(Boolean), ^~~~~~~ editres.c:75:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"numFlashes", "NumFlashes", XtRInt, sizeof(int), ^~~~~~~~~~~~ editres.c:75:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"numFlashes", "NumFlashes", XtRInt, sizeof(int), ^~~~~~~~~~~~ editres.c:77:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"flashTime", "FlashTime", XtRInt, sizeof(int), ^~~~~~~~~~~ editres.c:77:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"flashTime", "FlashTime", XtRInt, sizeof(int), ^~~~~~~~~~~ editres.c:79:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"flashColor", XtCForeground, XtRPixel, sizeof(Pixel), ^~~~~~~~~~~~ editres.c:81:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"saveResourceFile", "SaveResourcesFile", XtRString, sizeof(String), ^~~~~~~~~~~~~~~~~~ editres.c:81:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"saveResourceFile", "SaveResourcesFile", XtRString, sizeof(String), ^~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/editres-1.0.7' make[2]: Entering directory '/usr/src/RPM/BUILD/editres-1.0.7' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -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 -c -o svpopup.o svpopup.c svpopup.c: In function 'ModifySVEntry': svpopup.c:130:2: warning: format not a string literal and no format arguments [-Wformat-security] snprintf(msg, sizeof(msg), res_labels[22]); ^~~~~~~~ svpopup.c: In function 'CreateSetValuesPopup': svpopup.c:213:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromVert, label); num_args++; ^~~~~~~~ svpopup.c:218:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromVert, label); num_args++; ^~~~~~~~ svpopup.c:219:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromHoriz, res_label); num_args++; ^~~~~~~~ svpopup.c:225:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromVert, scr_data->res_text); num_args++; ^~~~~~~~ svpopup.c:230:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromHoriz, res_label); num_args++; ^~~~~~~~ svpopup.c:231:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromVert, scr_data->res_text); num_args++; ^~~~~~~~ svpopup.c:237:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromVert, scr_data->val_text); num_args++; ^~~~~~~~ svpopup.c:242:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromVert, scr_data->val_text); num_args++; ^~~~~~~~ svpopup.c:243:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromHoriz, do_it); num_args++; ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/editres-1.0.7' make[2]: Entering directory '/usr/src/RPM/BUILD/editres-1.0.7' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -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 -c -o actions.o actions.c actions.c:46:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "widget", (int) SelectWidget }, ^~~~~~~~ actions.c:47:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "all", (int) SelectAll }, ^~~~~ actions.c:48:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "nothing", (int) SelectNone }, ^~~~~~~~~ actions.c:49:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "invert", (int) SelectInvert }, ^~~~~~~~ actions.c:50:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "children", (int) SelectChildren }, ^~~~~~~~~~ actions.c:51:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "descendants", (int) SelectDescendants }, ^~~~~~~~~~~~~ actions.c:52:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "parent", (int) SelectParent }, ^~~~~~~~ actions.c:53:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "ancestors", (int) SelectAncestors } ^~~~~~~~~~~ actions.c:57:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "name", (int) NameLabel }, ^~~~~~ actions.c:58:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "class", (int) ClassLabel }, ^~~~~~~ actions.c:59:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "id", (int) IDLabel }, ^~~~ actions.c:60:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "window", (int) WindowLabel }, ^~~~~~~~ actions.c:61:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "toggle", (int) ToggleLabel } ^~~~~~~~ actions.c: In function 'SelectAction': actions.c:118:28: warning: passing argument 1 of 'CheckAndFindEntry' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (!CheckAndFindEntry("Select", params, *num_params, ^~~~~~~~ actions.c:75:43: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' static Boolean CheckAndFindEntry ( String action_name, ~~~~~~~^~~~~~~~~~~ actions.c: In function 'RelabelAction': actions.c:159:28: warning: passing argument 1 of 'CheckAndFindEntry' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (!CheckAndFindEntry("Relabel", params, *num_params, ^~~~~~~~~ actions.c:75:43: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' static Boolean CheckAndFindEntry ( String action_name, ~~~~~~~^~~~~~~~~~~ actions.c: In function 'PopdownFileDialogAction': actions.c:191:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] snprintf(buf, sizeof(buf), res_labels[2], "PopdownFileDialog"); ^~~~~~~~ actions.c:204:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] snprintf(buf, sizeof(buf), res_labels[1], "PopdownFileDialog"); ^~~~~~~~ actions.c: At top level: actions.c:244:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"EnableGetVal", EnableGetVal}, ^~~~~~~~~~~~~~ actions.c:245:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"Select", SelectAction}, ^~~~~~~~ actions.c:246:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"SVActiveEntry", ModifySVEntry}, ^~~~~~~~~~~~~~~ actions.c:247:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"Relabel", RelabelAction}, ^~~~~~~~~ actions.c:248:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"PopdownFileDialog", PopdownFileDialogAction}, ^~~~~~~~~~~~~~~~~~~ actions.c:249:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"quit", ActionQuit} ^~~~~~ actions.c: In function 'CheckAndFindEntry': actions.c:285:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] snprintf(buf, sizeof(buf), res_labels[2], action_name); ^~~~~~~~ actions.c:297:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] snprintf(buf, sizeof(buf), res_labels[3], action_name); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/editres-1.0.7' make[2]: Entering directory '/usr/src/RPM/BUILD/editres-1.0.7' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -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 -c -o geometry.o geometry.c geometry.c: In function '_FindWidget': geometry.c:66:5: warning: format not a string literal and no format arguments [-Wformat-security] snprintf(msg, sizeof(msg), res_labels[14]); ^~~~~~~~ geometry.c: In function 'DisplayChild': geometry.c:106:2: warning: format not a string literal and no format arguments [-Wformat-security] snprintf(msg, sizeof(msg), res_labels[13]); ^~~~~~~~ geometry.c:115:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] snprintf(msg, sizeof(msg), res_labels[12], node->name, node->class); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/editres-1.0.7' make[2]: Entering directory '/usr/src/RPM/BUILD/editres-1.0.7' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -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 -c -o handler.o handler.c handler.c: In function 'PortholeCallback': handler.c:207:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg (args[n], XtNsliderX, report->slider_x); n++; ^~~~~~~~ handler.c:208:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg (args[n], XtNsliderY, report->slider_y); n++; ^~~~~~~~ handler.c:210:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg (args[n], XtNsliderWidth, report->slider_width); n++; ^~~~~~~~ handler.c:211:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg (args[n], XtNsliderHeight, report->slider_height); n++; ^~~~~~~~ handler.c:212:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg (args[n], XtNcanvasWidth, report->canvas_width); n++; ^~~~~~~~ handler.c:213:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg (args[n], XtNcanvasHeight, report->canvas_height); n++; ^~~~~~~~ handler.c: In function 'DumpTreeToFile': handler.c:288:35: warning: passing argument 2 of '_PopupFileDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] _PopupFileDialog(XtParent(w), "Enter the filename:", "", ^~~~~~~~~~~~~~~~~~~~~ In file included from handler.c:40: editresP.h:426:49: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' extern void _PopupFileDialog ( Widget w, String str, String default_value, XtCallbackProc func, XtPointer data ); ~~~~~~~^~~ handler.c:288:58: warning: passing argument 3 of '_PopupFileDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] _PopupFileDialog(XtParent(w), "Enter the filename:", "", ^~ In file included from handler.c:40: editresP.h:426:61: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' extern void _PopupFileDialog ( Widget w, String str, String default_value, XtCallbackProc func, XtPointer data ); ~~~~~~~^~~~~~~~~~~~~ handler.c: In function 'AnyChosen': handler.c:323:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[0], XtNstate, TRUE); ^~~~~~~~ handler.c:331:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[0], XtNstate, TRUE); ^~~~~~~~ handler.c:349:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[0], XtNstate, TRUE); ^~~~~~~~ handler.c:357:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[0], XtNstate, TRUE); ^~~~~~~~ handler.c: In function 'GetResourceName': handler.c:385:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] result = "unknown"; ^ handler.c: At top level: handler.c:502:16: warning: redundant redeclaration of 'do_get_values' [-Wredundant-decls] extern Boolean do_get_values; ^~~~~~~~~~~~~ In file included from handler.c:40: editresP.h:334:16: note: previous declaration of 'do_get_values' was here extern Boolean do_get_values; ^~~~~~~~~~~~~ handler.c: In function 'SaveResource': handler.c:605:32: warning: passing argument 2 of '_PopupFileDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] _PopupFileDialog(XtParent(w), "Enter file to dump resources into:", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from handler.c:40: editresP.h:426:49: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' extern void _PopupFileDialog ( Widget w, String str, String default_value, XtCallbackProc func, XtPointer data ); ~~~~~~~^~~ handler.c: In function 'SetFile': handler.c:651:35: warning: passing argument 2 of '_PopupFileDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] _PopupFileDialog(XtParent(w), "Enter file to dump resources into:", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from handler.c:40: editresP.h:426:49: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' extern void _PopupFileDialog ( Widget w, String str, String default_value, XtCallbackProc func, XtPointer data ); ~~~~~~~^~~ handler.c: In function 'ApplyResource': handler.c:678:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] info.class = "IGNORE_ME"; /* Not currently used. */ ^ handler.c: In function 'ObtainResource': handler.c:744:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] info.class = "IGNORE_ME"; /* Not currently used. */ ^ handler.c: In function 'ActivateResourceWidgets': handler.c:854:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] info.class = "IGNORE_ME"; /* Not currently used. */ ^ handler.c: In function 'SetOnlyMatchingWidgets': handler.c:900:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[0], XtNstate, state); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/editres-1.0.7' make[2]: Entering directory '/usr/src/RPM/BUILD/editres-1.0.7' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -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 -c -o wtree.o wtree.c wtree.c: In function 'BuildVisualTree': wtree.c:87:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] snprintf(msg, sizeof(msg), res_labels[11], top->name, top->class); ^~~~~~~~ wtree.c: In function 'AddTreeNode': wtree.c:111:22: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] top->name, top->parent->name, "not been created yet"); ^~~ wtree.c:114:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNtreeParent, top->parent->widget); ^~~~~~~~ wtree.c:123:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] snprintf(msg, sizeof(msg), res_labels[29], top->name); ^~~~~~~~ wtree.c: In function '_TreeSelectNode': wtree.c:368:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[0], XtNstate, &state); ^~~~~~~~ wtree.c:379:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[0], XtNstate, state); ^~~~~~~~ wtree.c: In function '_TreeActivateNode': wtree.c:464:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[0], XtNstate, TRUE); ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/editres-1.0.7' make[2]: Entering directory '/usr/src/RPM/BUILD/editres-1.0.7' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -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 -c -o utils.o utils.c utils.c: In function '_DumpTreeToFile': utils.c:274:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] snprintf(buf, sizeof(buf), res_labels[24], (char *)filename); ^~~~~~~~ utils.c: In function '_PopupFileDialog': utils.c:339:6: warning: passing argument 2 of 'SetMessage' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Error while trying to save Context\nAborting file dialog popup."); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.c:59:28: note: expected 'char *' but argument is of type 'const char *' SetMessage(Widget w, char *str) ~~~~~~^~~ utils.c: In function '_PopdownFileDialog': utils.c:448:6: warning: passing argument 2 of 'SetMessage' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Error while trying to find Context\nAborting..."); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.c:59:28: note: expected 'char *' but argument is of type 'const char *' SetMessage(Widget w, char *str) ~~~~~~^~~ utils.c: In function 'HandleGetResources': utils.c:521:6: warning: format not a string literal and no format arguments [-Wformat-security] snprintf(buf, sizeof(buf), res_labels[16]); ^~~~~~~~ utils.c:535:25: warning: passing argument 2 of 'AddString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] AddString(&errors, "\n"); ^~~~ utils.c:135:30: note: expected 'char *' but argument is of type 'const char *' AddString(char ** str, char *add) ~~~~~~^~~ utils.c: In function 'ProtocolFailure': utils.c:862:62: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] case PROTOCOL_VERSION_ONE_POINT_ZERO: old_version_string = "1.0"; break; ^ utils.c:863:33: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] default: old_version_string = "1.0"; ^ utils.c:867:14: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] CURRENT_PROTOCOL_VERSION_STRING, old_version_string); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/editres-1.0.7' make[2]: Entering directory '/usr/src/RPM/BUILD/editres-1.0.7' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -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 -c -o widgets.o widgets.c widgets.c:94:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(0, "label0", "Label0"), ^~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:94:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(0, "label0", "Label0"), ^~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:95:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(1, "label1", "Label1"), ^~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:95:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(1, "label1", "Label1"), ^~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:96:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(2, "label2", "Label2"), ^~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:96:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(2, "label2", "Label2"), ^~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:97:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(3, "label3", "Label3"), ^~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:97:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(3, "label3", "Label3"), ^~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:98:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(4, "label4", "Label4"), ^~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:98:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(4, "label4", "Label4"), ^~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:99:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(5, "label5", "Label5"), ^~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:99:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(5, "label5", "Label5"), ^~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:100:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(6, "label6", "Label6"), ^~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:100:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(6, "label6", "Label6"), ^~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:101:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(7, "label7", "Label7"), ^~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:101:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(7, "label7", "Label7"), ^~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:102:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(8, "label8", "Label8"), ^~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:102:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(8, "label8", "Label8"), ^~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:103:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(9, "label9", "Label9"), ^~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:103:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(9, "label9", "Label9"), ^~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:104:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(11, "label11", "Label11"), ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:104:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(11, "label11", "Label11"), ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:105:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(12, "label12", "Label12"), ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:105:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(12, "label12", "Label12"), ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:106:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(13, "label13", "Label13"), ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:106:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(13, "label13", "Label13"), ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:107:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(14, "label14", "Label14"), ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:107:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(14, "label14", "Label14"), ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:108:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(15, "label15", "Label15"), ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:108:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(15, "label15", "Label15"), ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:109:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(16, "label16", "Label16"), ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:109:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(16, "label16", "Label16"), ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:110:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(17, "label17", "Label17"), ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:110:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(17, "label17", "Label17"), ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:111:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(18, "label18", "Label18"), ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:111:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(18, "label18", "Label18"), ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:112:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(19, "label19", "Label19"), ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:112:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(19, "label19", "Label19"), ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:113:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(20, "label20", "Label20"), ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:113:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(20, "label20", "Label20"), ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:114:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(21, "label21", "Label21"), ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:114:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(21, "label21", "Label21"), ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:115:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(22, "label22", "Label22"), ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:115:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(22, "label22", "Label22"), ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:116:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(23, "label23", "Label23"), ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:116:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(23, "label23", "Label23"), ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:117:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(24, "label24", "Label24"), ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:117:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(24, "label24", "Label24"), ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:118:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(25, "label25", "Label25"), ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:118:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(25, "label25", "Label25"), ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:119:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(26, "label26", "Label26"), ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:119:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(26, "label26", "Label26"), ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:120:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(27, "label27", "Label27"), ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:120:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(27, "label27", "Label27"), ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:121:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(28, "label28", "Label28"), ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:121:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(28, "label28", "Label28"), ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:122:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(29, "label29", "Label29"), ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:122:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(29, "label29", "Label29"), ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:123:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(30, "label30", "Label30"), ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:123:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(30, "label30", "Label30"), ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:124:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(31, "label31", "Label31"), ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:124:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(31, "label31", "Label31"), ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:125:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(32, "label32", "Label32"), ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:125:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(32, "label32", "Label32"), ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:126:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(33, "label33", "Label33"), ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:126:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(33, "label33", "Label33"), ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:127:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(34, "label34", "Label34"), ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:127:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(34, "label34", "Label34"), ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:128:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(35, "label35", "Label35"), ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:128:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(35, "label35", "Label35"), ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c:129:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(36, "label36", "Label36") ^~~~~~~~~ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~ widgets.c:129:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(36, "label36", "Label36") ^~~~~~~~~ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^~~~~ widgets.c: In function 'CreateTopArea': widgets.c:205:28: warning: passing argument 2 of 'CreateCommandMenu' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CreateCommandMenu(box, "xt"); ^~~~ widgets.c:59:55: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' static void CreateCommandMenu ( Widget parent, String toolkit ); ~~~~~~~^~~~~~~ widgets.c:206:32: warning: passing argument 2 of 'CreateTreeCommandMenu' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CreateTreeCommandMenu(box, "xt"); ^~~~ widgets.c:60:59: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' static void CreateTreeCommandMenu ( Widget parent, String toolkit ); ~~~~~~~^~~~~~~ widgets.c: In function 'CreateCommandMenu': widgets.c:268:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[0], XtNmenuName, toolkit); ^~~~~~~~ widgets.c: In function 'CreateTreeCommandMenu': widgets.c:341:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "showClientWidget", FIND, (XtPointer) NULL }, ^~~~~~~~~~~~~~~~~~ widgets.c:342:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "selectAll", SELECT, (XtPointer) SelectAll }, ^~~~~~~~~~~ widgets.c:343:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "unselectAll", SELECT, (XtPointer) SelectNone }, ^~~~~~~~~~~~~ widgets.c:344:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "invertAll", SELECT, (XtPointer) SelectInvert }, ^~~~~~~~~~~ widgets.c:345:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "line", LINE, (XtPointer) NULL }, ^~~~~~ widgets.c:346:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "selectChildren", SELECT, (XtPointer) SelectChildren }, ^~~~~~~~~~~~~~~~ widgets.c:347:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "selectParent", SELECT, (XtPointer) SelectParent }, ^~~~~~~~~~~~~~ widgets.c:348:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "selectDescendants", SELECT, (XtPointer) SelectDescendants }, ^~~~~~~~~~~~~~~~~~~ widgets.c:349:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "selectAncestors", SELECT, (XtPointer) SelectAncestors }, ^~~~~~~~~~~~~~~~~ widgets.c:350:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "line", LINE, (XtPointer) NULL }, ^~~~~~ widgets.c:351:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "showWidgetNames", LABEL, (XtPointer) NameLabel }, ^~~~~~~~~~~~~~~~~ widgets.c:352:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "showClassNames", LABEL, (XtPointer) ClassLabel }, ^~~~~~~~~~~~~~~~ widgets.c:353:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "showWidgetIDs", LABEL, (XtPointer) IDLabel}, ^~~~~~~~~~~~~~~ widgets.c:354:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "showWidgetWindows", LABEL, (XtPointer) WindowLabel }, ^~~~~~~~~~~~~~~~~~~ widgets.c:355:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "line", LINE, (XtPointer) NULL }, ^~~~~~ widgets.c:356:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "flashActiveWidgets", FLASH, (XtPointer) NULL } ^~~~~~~~~~~~~~~~~~~~ widgets.c:365:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[0], XtNmenuName, toolkit); ^~~~~~~~ widgets.c: In function 'CreateResourceBoxWidgets': widgets.c:469:18: warning: declaration of 'box' shadows a global declaration [-Wshadow] Widget pane, box, button, viewport, pane_child; ^~~ widgets.c:84:15: note: shadowed declaration is here static Widget box = NULL; ^~~ widgets.c: In function 'CreateResourceNameForm': widgets.c:566:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromHoriz, name); num_args++; ^~~~~~~~ widgets.c:567:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNradioData, "."); num_args++; ^~~~~~~~ widgets.c:574:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromHoriz, class); num_args++; ^~~~~~~~ widgets.c:575:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromVert, dot); num_args++; ^~~~~~~~ widgets.c:576:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNradioGroup, dot); num_args++; ^~~~~~~~ widgets.c:577:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNradioData, "*"); num_args++; ^~~~~~~~ widgets.c:621:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromHoriz, dot); num_args++; ^~~~~~~~ widgets.c:623:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNradioData, names[i]); num_args++; ^~~~~~~~ widgets.c:630:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromHoriz, star); num_args++; ^~~~~~~~ widgets.c:631:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromVert, name); num_args++; ^~~~~~~~ widgets.c:633:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNradioGroup, name); num_args++; ^~~~~~~~ widgets.c:634:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNradioData, classes[i]); num_args++; ^~~~~~~~ widgets.c:641:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromHoriz, star); num_args++; ^~~~~~~~ widgets.c:642:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromVert, class); num_args++; ^~~~~~~~ widgets.c:643:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNradioData, "?"); num_args++; ^~~~~~~~ widgets.c:644:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNradioGroup, name); num_args++; ^~~~~~~~ widgets.c:651:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromHoriz, any); num_args++; ^~~~~~~~ widgets.c:652:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromVert, single); num_args++; ^~~~~~~~ widgets.c:653:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNradioGroup, name); num_args++; ^~~~~~~~ widgets.c:654:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNradioData, ANY_RADIO_DATA); num_args++; ^~~~~~~~ widgets.c: In function 'SetToggleGroupLeaders': widgets.c:685:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {XtNstate, (XtArgVal) TRUE} ^~~~~~~~ widgets.c: In function 'MakeBoxLookNice': widgets.c:726:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNhorizDistance, &(h_dist[0])); num_args++; ^~~~~~~~ widgets.c:731:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNhorizDistance, &(h_dist[1])); num_args++; ^~~~~~~~ widgets.c:736:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNhorizDistance, &(h_dist[2])); num_args++; ^~~~~~~~ widgets.c:746:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNhorizDistance, h_dist[0]); num_args++; ^~~~~~~~ widgets.c:765:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNhorizDistance, &(h_dist[0])); num_args++; ^~~~~~~~ widgets.c:770:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNhorizDistance, &(h_dist[1])); num_args++; ^~~~~~~~ widgets.c:778:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNhorizDistance, &(h_dist[1])); num_args++; ^~~~~~~~ widgets.c:790:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNhorizDistance, ^~~~~~~~ widgets.c:800:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNhorizDistance, h_dist[0]); num_args++; ^~~~~~~~ widgets.c: At top level: widgets.c:817:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] static char* noneList[] = {"None"}; ^~~~~~ widgets.c: In function 'CreateLists': widgets.c:835:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNlist, noneList); num_args++; ^~~~~~~~ widgets.c:836:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNnumberStrings, 1); num_args++; ^~~~~~~~ widgets.c:839:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] else { XtSetArg(args[num_args], XtNlist, names); num_args++; } ^~~~~~~~ widgets.c:854:2: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNlist, cons_names); num_args++; ^~~~~~~~ widgets.c: In function 'CreateValueWidget': widgets.c:888:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNleft, XawChainLeft); num_args++; ^~~~~~~~ widgets.c:889:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNright, XawChainLeft); num_args++; ^~~~~~~~ widgets.c:891:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNbottom, XawChainBottom); num_args++; ^~~~~~~~ widgets.c:896:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNfromHoriz, label); num_args++; ^~~~~~~~ widgets.c:897:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNleft, XawChainLeft); num_args++; ^~~~~~~~ widgets.c:898:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNright, XawChainRight); num_args++; ^~~~~~~~ widgets.c:900:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] XtSetArg(args[num_args], XtNbottom, XawChainBottom); num_args++; ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/editres-1.0.7' make[2]: Entering directory '/usr/src/RPM/BUILD/editres-1.0.7' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -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 -c -o comm.o comm.c comm.c:55:15: warning: redundant redeclaration of 'CM_entries' [-Wredundant-decls] extern Widget CM_entries[NUM_CM_ENTRIES], TM_entries[NUM_TM_ENTRIES]; ^~~~~~~~~~ In file included from comm.c:46: editresP.h:339:15: note: previous declaration of 'CM_entries' was here extern Widget CM_entries[NUM_CM_ENTRIES]; ^~~~~~~~~~ comm.c:55:43: warning: redundant redeclaration of 'TM_entries' [-Wredundant-decls] extern Widget CM_entries[NUM_CM_ENTRIES], TM_entries[NUM_TM_ENTRIES]; ^~~~~~~~~~ In file included from comm.c:46: editresP.h:343:15: note: previous declaration of 'TM_entries' was here extern Widget TM_entries[NUM_TM_ENTRIES]; ^~~~~~~~~~ comm.c: In function 'ClientTimedOut': comm.c:93:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] snprintf(msg, sizeof(msg), res_labels[4], "the Editres Protocol."); ^~~~~~~~ comm.c: In function 'TellUserAboutMessage': comm.c:261:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] str = " asking for widget tree"; ^ comm.c:264:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] str = " asking it to perform SetValues()"; ^ comm.c:268:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] str = " asking it to perform GetGeometry()"; ^ comm.c:271:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] str = " asking it to get a widget's resource list"; ^ comm.c:274:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] str = " asking it to find the child Widget."; ^ comm.c:277:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] str = ""; ^ comm.c:281:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] snprintf(msg, sizeof(msg), res_labels[8], str); ^~~~~~~~ comm.c: In function 'GetClientValue': comm.c:439:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] snprintf(msg, sizeof(msg), res_labels[11], (int) error_code); ^~~~~~~~ comm.c:451:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] snprintf(msg, sizeof(msg), res_labels[12], top->name, top->class); ^~~~~~~~ comm.c: In function 'BuildEvent': comm.c:586:31: warning: passing argument 1 of 'RebuildMenusAndLabel' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] RebuildMenusAndLabel("iv"); ^~~~ In file included from comm.c:46: editresP.h:408:43: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' extern void RebuildMenusAndLabel ( String toolkit ); ~~~~~~~^~~~~~~ comm.c:589:36: warning: passing argument 1 of 'RebuildMenusAndLabel' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] RebuildMenusAndLabel("xt"); ^~~~ In file included from comm.c:46: editresP.h:408:43: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' extern void RebuildMenusAndLabel ( String toolkit ); ~~~~~~~^~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/editres-1.0.7' make[2]: Entering directory '/usr/src/RPM/BUILD/editres-1.0.7' x86_64-alt-linux-gcc -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -pipe -frecord-gcc-switches -Wall -g -O2 -o editres actions.o comm.o editres.o geometry.o handler.o setvalues.o svpopup.o utils.o widgets.o wtree.o -lXaw7 -lXmu -lXt -lX11 make[2]: Leaving directory '/usr/src/RPM/BUILD/editres-1.0.7' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.41710 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/editres-buildroot + : + /bin/rm -rf -- /usr/src/tmp/editres-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd editres-1.0.7 + make DESTDIR=/usr/src/tmp/editres-buildroot install make: Entering directory '/usr/src/RPM/BUILD/editres-1.0.7' Making install in man make[1]: Entering directory '/usr/src/RPM/BUILD/editres-1.0.7/man' make[2]: Entering directory '/usr/src/RPM/BUILD/editres-1.0.7/man' make[2]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/editres-buildroot/usr/share/man/man1' /bin/install -c -m 644 editres.1 '/usr/src/tmp/editres-buildroot/usr/share/man/man1' make[2]: Leaving directory '/usr/src/RPM/BUILD/editres-1.0.7/man' make[1]: Leaving directory '/usr/src/RPM/BUILD/editres-1.0.7/man' make[1]: Entering directory '/usr/src/RPM/BUILD/editres-1.0.7' make[2]: Entering directory '/usr/src/RPM/BUILD/editres-1.0.7' /bin/mkdir -p '/usr/src/tmp/editres-buildroot/usr/bin' /bin/install -c editres '/usr/src/tmp/editres-buildroot/usr/bin' /bin/mkdir -p '/usr/src/tmp/editres-buildroot/etc/X11/app-defaults' /bin/install -c -m 644 app-defaults/Editres-color app-defaults/Editres '/usr/src/tmp/editres-buildroot/etc/X11/app-defaults' make[2]: Leaving directory '/usr/src/RPM/BUILD/editres-1.0.7' make[1]: Leaving directory '/usr/src/RPM/BUILD/editres-1.0.7' make: Leaving directory '/usr/src/RPM/BUILD/editres-1.0.7' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/editres-buildroot (auto) Verifying and fixing files in /usr/src/tmp/editres-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/editres-buildroot/ (default) Compressing files in /usr/src/tmp/editres-buildroot (auto) Verifying ELF objects in /usr/src/tmp/editres-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: editres-1.0.7-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.55148 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd editres-1.0.7 + DOCDIR=/usr/src/tmp/editres-buildroot/usr/share/doc/editres-1.0.7 + export DOCDIR + rm -rf /usr/src/tmp/editres-buildroot/usr/share/doc/editres-1.0.7 + /bin/mkdir -p /usr/src/tmp/editres-buildroot/usr/share/doc/editres-1.0.7 + cp -prL ChangeLog AUTHORS README /usr/src/tmp/editres-buildroot/usr/share/doc/editres-1.0.7 + chmod -R go-w /usr/src/tmp/editres-buildroot/usr/share/doc/editres-1.0.7 + chmod -R a+rX /usr/src/tmp/editres-buildroot/usr/share/doc/editres-1.0.7 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.7HLoC2 find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.KfGr0y find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /lib64/ld-linux-x86-64.so.2, libX11.so.6()(64bit) >= set:ojSxCCf2fcMXDSDfqHqvv53PedZsIboBYDqtRxwV5B7dhpbmQXOR156WH43xeZlFkEDJZkqICF5eiqo3, libXaw.so.7()(64bit) >= set:lg2SQ5Hi7xVCZE6ahQCvsGPhw6Zej2cwujyJg8ZzQ8AtlYGGddNTI3GKOAHL0, libXmu.so.6()(64bit) >= set:lhZrMf3HgaCkyiWLfw5q4B2KzsWpVH3AZ1mDzy70, libXt.so.6()(64bit) >= set:mgGF8G6XbKj9caZb0FRBUzTwywu9HBzsuCXTyccVBFk7Yl78i9jXC4v5I7003kmagB2KSyppZIcIhBhX13hKZ0QHNr6x9euMjOZfZkEcSY187qlVhKQ3fGhOkNEDHmORv3, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lWU5O8 Creating editres-debuginfo package Processing files: editres-debuginfo-1.0.7-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.qKOi7L find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.dD5eSs find-requires: running scripts (debuginfo) Requires: editres = 1.0.7-alt1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libX11.so.6), debug64(libXaw.so.7), debug64(libXmu.so.6), debug64(libXt.so.6), debug64(libc.so.6) Wrote: /usr/src/RPM/RPMS/x86_64/editres-1.0.7-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/editres-debuginfo-1.0.7-alt1.x86_64.rpm (w2.lzdio) 4.59user 2.01system 0:11.16elapsed 59%CPU (0avgtext+0avgdata 35388maxresident)k 0inputs+0outputs (0major+774622minor)pagefaults 0swaps 4.60user 1.34system 0:20.71elapsed 28%CPU (0avgtext+0avgdata 134964maxresident)k 0inputs+0outputs (0major+198282minor)pagefaults 0swaps --- editres-1.0.7-alt1.x86_64.rpm.repo 2018-09-20 02:42:30.000000000 +0000 +++ editres-1.0.7-alt1.x86_64.rpm.hasher 2023-08-13 09:09:55.138969883 +0000 @@ -14,2 +14,3 @@ Requires: libXt.so.6()(64bit) >= set:mgGF8G6XbKj9caZb0FRBUzTwywu9HBzsuCXTyccVBFk7Yl78i9jXC4v5I7003kmagB2KSyppZIcIhBhX13hKZ0QHNr6x9euMjOZfZkEcSY187qlVhKQ3fGhOkNEDHmORv3 +Requires: libc.so.6(GLIBC_2.14)(64bit) Requires: libc.so.6(GLIBC_2.2.5)(64bit) @@ -22,3 +23,3 @@ File: /etc/X11/app-defaults/Editres-color 100644 root:root 5ec5d0e8c953faaa06af647650f30ce6 -File: /usr/bin/editres 100755 root:root b7affd7ba9570c74bd4f9361aa719952 +File: /usr/bin/editres 100755 root:root 45cdab0659d759c5690b758196ccf3b4 File: /usr/share/doc/editres-1.0.7 40755 root:root @@ -28,2 +29,2 @@ File: /usr/share/man/man1/editres.1.xz 100644 root:root 4801857bd7676ecbd38183275a41bcc4 -RPMIdentity: 4f50b601b50a0b54c3b3389054f32dabc2756d4f1952335a9fc6791f3b791dd10931743c145214d7f98d7514a934be9690c81987ccb0e8f8b07293d5522fed09 +RPMIdentity: 28e31025080af65f4ba27e8757e641df51d3d6b89d4c0b588e1620cfc2cd493cea736bf6afd003ca7b0947226ee1b8f8b9f01a3a8a5e8db36a5e95805d8ffebe --- editres-debuginfo-1.0.7-alt1.x86_64.rpm.repo 2018-09-20 02:42:30.000000000 +0000 +++ editres-debuginfo-1.0.7-alt1.x86_64.rpm.hasher 2023-08-13 09:09:55.190970923 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/3e 40755 root:root -/usr/lib/debug/.build-id/3e/f79476f13d0f77592c4ca1bea6f57105b49064 120777 root:root ../../../../bin/editres -/usr/lib/debug/.build-id/3e/f79476f13d0f77592c4ca1bea6f57105b49064.debug 120777 root:root ../../usr/bin/editres.debug +/usr/lib/debug/.build-id/6b 40755 root:root +/usr/lib/debug/.build-id/6b/4d902b44dbfd3e799d63f7fab8641bf43b581b 120777 root:root ../../../../bin/editres +/usr/lib/debug/.build-id/6b/4d902b44dbfd3e799d63f7fab8641bf43b581b.debug 120777 root:root ../../usr/bin/editres.debug /usr/lib/debug/usr/bin/editres.debug 100644 root:root @@ -25,6 +25,6 @@ Provides: editres-debuginfo = 1.0.7-alt1 -File: /usr/lib/debug/.build-id/3e 40755 root:root -File: /usr/lib/debug/.build-id/3e/f79476f13d0f77592c4ca1bea6f57105b49064 120777 root:root ../../../../bin/editres -File: /usr/lib/debug/.build-id/3e/f79476f13d0f77592c4ca1bea6f57105b49064.debug 120777 root:root ../../usr/bin/editres.debug -File: /usr/lib/debug/usr/bin/editres.debug 100644 root:root 1a30d2f3db293fb5f343492e4ba761ae +File: /usr/lib/debug/.build-id/6b 40755 root:root +File: /usr/lib/debug/.build-id/6b/4d902b44dbfd3e799d63f7fab8641bf43b581b 120777 root:root ../../../../bin/editres +File: /usr/lib/debug/.build-id/6b/4d902b44dbfd3e799d63f7fab8641bf43b581b.debug 120777 root:root ../../usr/bin/editres.debug +File: /usr/lib/debug/usr/bin/editres.debug 100644 root:root 9c962d805c9b4b9239b395f14f8f6b61 File: /usr/src/debug/editres-1.0.7 40755 root:root @@ -41,2 +41,2 @@ File: /usr/src/debug/editres-1.0.7/wtree.c 100644 root:root 1fca593ddc230156a6fe0123865b294a -RPMIdentity: 7b20012b680dea64686ce5164d26d5651765dcf94d67e1fafdcebb0d11a77c01750ab52442a8207acd594a7304224227c0b6d87372c4c740950dc2acbe86651a +RPMIdentity: 0c478d230331ea87ca79b794c872a6e0f0d95a664c3a06a1df62681c60e31618d1281f335c38d2e865ec14261c0c8f7a392bfd504585b36f51859667a84987c9