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