>>> libxaw3d: Building testing/libxaw3d 1.6.3-r0 (using abuild 3.9.0-r0) started Sun, 01 May 2022 15:12:13 +0000 >>> libxaw3d: Checking sanity of /home/buildozer/aports/testing/libxaw3d/APKBUILD... >>> libxaw3d: Analyzing dependencies... >>> libxaw3d: Installing for build: build-base libxmu-dev util-macros (1/31) Installing libblkid (2.38-r1) (2/31) Installing libuuid (2.38-r1) (3/31) Installing libfdisk (2.38-r1) (4/31) Installing libmount (2.38-r1) (5/31) Installing libsmartcols (2.38-r1) (6/31) Installing util-linux-dev (2.38-r1) (7/31) Installing libxau (1.0.9-r0) (8/31) Installing libmd (1.0.4-r0) (9/31) Installing libbsd (0.11.6-r2) (10/31) Installing libxdmcp (1.1.3-r0) (11/31) Installing libxcb (1.14-r2) (12/31) Installing libx11 (1.7.5-r0) (13/31) Installing libxext (1.3.4-r0) (14/31) Installing libice (1.0.10-r0) (15/31) Installing libsm (1.2.3-r0) (16/31) Installing libxt (1.2.1-r0) (17/31) Installing libxmu (1.1.3-r0) (18/31) Installing xorgproto (2021.5-r0) (19/31) Installing libxau-dev (1.0.9-r0) (20/31) Installing xcb-proto (1.14.1-r3) (21/31) Installing libxdmcp-dev (1.1.3-r0) (22/31) Installing libxcb-dev (1.14-r2) (23/31) Installing xtrans (1.4.0-r1) (24/31) Installing libx11-dev (1.7.5-r0) (25/31) Installing libxext-dev (1.3.4-r0) (26/31) Installing libice-dev (1.0.10-r0) (27/31) Installing libsm-dev (1.2.3-r0) (28/31) Installing libxt-dev (1.2.1-r0) (29/31) Installing libxmu-dev (1.1.3-r0) (30/31) Installing util-macros (1.19.3-r0) (31/31) Installing .makedepends-libxaw3d (20220501.151216) OK: 233 MiB in 109 packages >>> libxaw3d: Cleaning up srcdir >>> libxaw3d: Cleaning up pkgdir >>> libxaw3d: Fetching https://distfiles.alpinelinux.org/distfiles/edge//libXaw3d-1.6.3.tar.gz >>> libxaw3d: Fetching https://distfiles.alpinelinux.org/distfiles/edge//libXaw3d-1.6.3.tar.gz >>> libxaw3d: Checking sha512sums... libXaw3d-1.6.3.tar.gz: OK >>> libxaw3d: Unpacking /var/cache/distfiles/libXaw3d-1.6.3.tar.gz... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... riscv64-alpine-linux-musl checking host system type... riscv64-alpine-linux-musl checking how to print strings... printf checking for style of include used by make... GNU checking for riscv64-alpine-linux-musl-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... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/riscv64-alpine-linux-musl/bin/ld checking if the linker (/usr/riscv64-alpine-linux-musl/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... 98304 checking how to convert riscv64-alpine-linux-musl file names to riscv64-alpine-linux-musl format... func_convert_file_noop checking how to convert riscv64-alpine-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/riscv64-alpine-linux-musl/bin/ld option to reload object files... -r checking for riscv64-alpine-linux-musl-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-alpine-linux-musl-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-alpine-linux-musl-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-alpine-linux-musl-strip... no checking for strip... strip checking for riscv64-alpine-linux-musl-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for riscv64-alpine-linux-musl-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... yes 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/riscv64-alpine-linux-musl/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for 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 riscv64-alpine-linux-musl-pkg-config... no checking for pkg-config... /usr/bin/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 for bison... no checking for byacc... no checking for yacc... no checking for flex... no checking for lex... no checking for x11 xt xmu xext... 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 iswspace... yes checking for intptr_t... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating include/Makefile config.status: creating src/Makefile config.status: creating xaw3d.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands /usr/bin/make all-recursive make[1]: Entering directory '/home/buildozer/aports/testing/libxaw3d/src/libXaw3d-1.6.3' Making all in include make[2]: Entering directory '/home/buildozer/aports/testing/libxaw3d/src/libXaw3d-1.6.3/include' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/buildozer/aports/testing/libxaw3d/src/libXaw3d-1.6.3/include' Making all in src make[2]: Entering directory '/home/buildozer/aports/testing/libxaw3d/src/libXaw3d-1.6.3/src' /usr/bin/make all-am make[3]: Entering directory '/home/buildozer/aports/testing/libxaw3d/src/libXaw3d-1.6.3/src' CC AllWidgets.lo CC AsciiSink.lo CC AsciiSrc.lo CC AsciiText.lo CC Box.lo CC Command.lo CC Dialog.lo CC Form.lo CC Grip.lo CC MenuButton.lo CC Label.lo CC Paned.lo CC Layout.lo CC List.lo CC Panner.lo CC Porthole.lo CC Repeater.lo CC Scrollbar.lo CC Simple.lo CC SimpleMenu.lo CC SmeBSB.lo CC Sme.lo CC TextAction.lo CC SmeLine.lo CC StripChart.lo CC SmeThreeD.lo CC Text.lo CC TextPop.lo CC TextSink.lo CC TextSrc.lo CC ThreeD.lo CC TextTr.lo CC Tip.lo CC Toggle.lo CC Vendor.lo CC Tree.lo CC Viewport.lo CC Xaw3dP.lo CC XawInit.lo CC laygram.lo CC laylex.lo CC MultiSrc.lo CC MultiSink.lo CC XawIm.lo CC XawI18n.lo TextTr.c:45:1: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 45 | "\ | ^~ 46 | CtrlA: beginning-of-line() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47 | CtrlB: backward-character() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 48 | CtrlC: insert-selection(CUT_BUFFER0) \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 49 | CtrlD: delete-next-character() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 50 | CtrlE: end-of-line() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 51 | CtrlF: forward-character() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 52 | CtrlG: multiply(Reset) \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 53 | CtrlH: delete-previous-character() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 54 | CtrlJ: newline-and-indent() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | CtrlK: kill-to-end-of-line() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | CtrlL: redraw-display() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 57 | CtrlM: newline() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 58 | CtrlN: next-line() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 59 | CtrlO: newline-and-backup() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 60 | CtrlP: previous-line() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 61 | CtrlR: search(backward) \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 62 | CtrlS: search(forward) \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 63 | CtrlT: transpose-characters() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 64 | CtrlU: multiply(4) \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 65 | CtrlV: next-page() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 66 | CtrlW: kill-selection() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 67 | CtrlY: insert-selection(SECONDARY) \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | CtrlZ: scroll-one-line-up() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | ", *_XawDefaultTextTranslations2 = "\ | ~ TextTr.c:69:36: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 69 | ", *_XawDefaultTextTranslations2 = "\ | ^~ 70 | MetaB: backward-word() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | MetaF: forward-word() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | MetaI: insert-file() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | MetaK: kill-to-end-of-paragraph() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | MetaQ: form-paragraph() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | MetaV: previous-page() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 76 | MetaY: insert-selection(PRIMARY, CUT_BUFFER0) \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 | MetaZ: scroll-one-line-down() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 78 | :Metad: delete-next-word() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 | :MetaD: kill-word() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | :Metah: delete-previous-word() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 81 | :MetaH: backward-kill-word() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 82 | :Meta\\<: beginning-of-file() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 83 | :Meta\\>: end-of-file() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 84 | :Meta]: forward-paragraph() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 85 | :Meta[: backward-paragraph() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 86 | ~Shift MetaDelete: delete-previous-word() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 87 | Shift MetaDelete: backward-kill-word() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 88 | ~Shift MetaBackSpace: delete-previous-word() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 89 | Shift MetaBackSpace: backward-kill-word() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 90 | ", | ~ TextTr.c:120:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 120 | *_XawDefaultTextTranslations3 = "\ | ^~ 121 | Right: forward-character() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 122 | Left: backward-character() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 123 | Down: next-line() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 124 | Up: previous-line() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 125 | Delete: delete-previous-character() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 126 | BackSpace: delete-previous-character() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 127 | Linefeed: newline-and-indent() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 128 | Return: newline() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 129 | KP_Enter: newline() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 130 | : insert-char() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 131 | ", | ~ TextTr.c:133:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 133 | *_XawDefaultTextTranslations4 = "\ | ^~ 134 | : enter-window() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | : leave-window() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | : focus-in() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 137 | : focus-out() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 138 | : select-start() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | : extend-adjust() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 | : extend-end(PRIMARY, CUT_BUFFER0) \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 141 | : insert-selection(PRIMARY, CUT_BUFFER0) \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 142 | : extend-start() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 143 | : extend-adjust() \n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 144 | : extend-end(PRIMARY, CUT_BUFFER0) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 145 | "; | ~ List.c:81:45: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | offset(list.foreground), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/ListP.h:49, from List.c:48: ../include/X11/Xaw3d/List.h:126:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 126 | #define XtNcursor "cursor" | ^~~~~~~~ List.c:82:6: note: in expansion of macro 'XtNcursor' 82 | {XtNcursor, XtCCursor, XtRCursor, sizeof(Cursor), | ^~~~~~~~~ List.c:83:42: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | offset(simple.cursor), XtRString, "left_ptr"}, | ^~~~~~~~~~ List.c:85:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 85 | offset(list.font),XtRString, XtDefaultFont}, | ^~~~~~~~~~~~~ List.c:88:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 88 | offset(list.fontset),XtRString, XtDefaultFontSet}, | ^~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/ListP.h:49, from List.c:48: ../include/X11/Xaw3d/List.h:130:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 130 | #define XtNlist "list" | ^~~~~~ List.c:90:6: note: in expansion of macro 'XtNlist' 90 | {XtNlist, XtCList, XtRPointer, sizeof(char **), | ^~~~~~~ ../include/X11/Xaw3d/List.h:120:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 120 | #define XtCList "List" | ^~~~~~ List.c:90:15: note: in expansion of macro 'XtCList' 90 | {XtNlist, XtCList, XtRPointer, sizeof(char **), | ^~~~~~~ ../include/X11/Xaw3d/List.h:128:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 128 | #define XtNdefaultColumns "defaultColumns" | ^~~~~~~~~~~~~~~~ List.c:92:6: note: in expansion of macro 'XtNdefaultColumns' 92 | {XtNdefaultColumns, XtCColumns, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/List.h:122:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 122 | #define XtCColumns "Columns" | ^~~~~~~~~ List.c:92:25: note: in expansion of macro 'XtCColumns' 92 | {XtNdefaultColumns, XtCColumns, XtRInt, sizeof(int), | ^~~~~~~~~~ ../include/X11/Xaw3d/List.h:131:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 131 | #define XtNlongest "longest" | ^~~~~~~~~ List.c:94:6: note: in expansion of macro 'XtNlongest' 94 | {XtNlongest, XtCLongest, XtRInt, sizeof(int), | ^~~~~~~~~~ ../include/X11/Xaw3d/List.h:123:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 123 | #define XtCLongest "Longest" | ^~~~~~~~~ List.c:94:18: note: in expansion of macro 'XtCLongest' 94 | {XtNlongest, XtCLongest, XtRInt, sizeof(int), | ^~~~~~~~~~ ../include/X11/Xaw3d/List.h:132:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 132 | #define XtNnumberStrings "numberStrings" | ^~~~~~~~~~~~~~~ List.c:96:6: note: in expansion of macro 'XtNnumberStrings' 96 | {XtNnumberStrings, XtCNumberStrings, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/List.h:124:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 124 | #define XtCNumberStrings "NumberStrings" | ^~~~~~~~~~~~~~~ List.c:96:24: note: in expansion of macro 'XtCNumberStrings' 96 | {XtNnumberStrings, XtCNumberStrings, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/List.h:133:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 133 | #define XtNpasteBuffer "pasteBuffer" | ^~~~~~~~~~~~~ List.c:98:6: note: in expansion of macro 'XtNpasteBuffer' 98 | {XtNpasteBuffer, XtCBoolean, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/List.h:129:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 129 | #define XtNforceColumns "forceColumns" | ^~~~~~~~~~~~~~ List.c:100:6: note: in expansion of macro 'XtNforceColumns' 100 | {XtNforceColumns, XtCColumns, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/List.h:122:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 122 | #define XtCColumns "Columns" | ^~~~~~~~~ List.c:100:23: note: in expansion of macro 'XtCColumns' 100 | {XtNforceColumns, XtCColumns, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~ ../include/X11/Xaw3d/List.h:135:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 135 | #define XtNverticalList "verticalList" | ^~~~~~~~~~~~~~ List.c:102:6: note: in expansion of macro 'XtNverticalList' 102 | {XtNverticalList, XtCBoolean, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/List.h:127:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 127 | #define XtNcolumnSpacing "columnSpacing" | ^~~~~~~~~~~~~~~ List.c:108:6: note: in expansion of macro 'XtNcolumnSpacing' 108 | {XtNcolumnSpacing, XtCSpacing, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/List.h:121:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 121 | #define XtCSpacing "Spacing" | ^~~~~~~~~ List.c:108:24: note: in expansion of macro 'XtCSpacing' 108 | {XtNcolumnSpacing, XtCSpacing, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~ ../include/X11/Xaw3d/List.h:134:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 134 | #define XtNrowSpacing "rowSpacing" | ^~~~~~~~~~~~ List.c:110:6: note: in expansion of macro 'XtNrowSpacing' 110 | {XtNrowSpacing, XtCSpacing, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/List.h:121:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 121 | #define XtCSpacing "Spacing" | ^~~~~~~~~ List.c:110:21: note: in expansion of macro 'XtCSpacing' 110 | {XtNrowSpacing, XtCSpacing, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~ List.c:129:8: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 129 | {"Notify", Notify}, | ^~~~~~~~ List.c:130:8: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 130 | {"Set", Set}, | ^~~~~ List.c:131:8: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 131 | {"Unset", Unset}, | ^~~~~~~ List.c:138:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 138 | /* class_name */ "List", | ^~~~~~ List.c: In function 'XawListShowCurrent': List.c:1158:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1158 | ret_val->string = ""; | ^ In file included from ../include/X11/Xaw3d/SimpleP.h:53, from Simple.c:57: ../include/X11/Xaw3d/Simple.h:83:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | #define XtNcursor "cursor" | ^~~~~~~~ Simple.c:63:4: note: in expansion of macro 'XtNcursor' 63 | {XtNcursor, XtCCursor, XtRCursor, sizeof(Cursor), | ^~~~~~~~~ In file included from ../include/X11/Xaw3d/SmeBSBP.h:44, from SmeBSB.c:52: ../include/X11/Xaw3d/SmeBSB.h:89:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 89 | #define XtNvertSpace "vertSpace" | ^~~~~~~~~~~ SmeBSB.c:64:4: note: in expansion of macro 'XtNvertSpace' 64 | {XtNvertSpace, XtCVertSpace, XtRInt, sizeof(int), | ^~~~~~~~~~~~ ../include/X11/Xaw3d/Simple.h:85:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 85 | #define XtNinsensitiveBorder "insensitiveBorder" | ^~~~~~~~~~~~~~~~~~~ Simple.c:65:4: note: in expansion of macro 'XtNinsensitiveBorder' 65 | {XtNinsensitiveBorder, XtCInsensitive, XtRPixmap, sizeof(Pixmap), | ^~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeBSB.h:105:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 105 | #define XtCVertSpace "VertSpace" | ^~~~~~~~~~~ SmeBSB.c:64:19: note: in expansion of macro 'XtCVertSpace' 64 | {XtNvertSpace, XtCVertSpace, XtRInt, sizeof(int), | ^~~~~~~~~~~~ ../include/X11/Xaw3d/Simple.h:87:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 87 | #define XtCInsensitive "Insensitive" | ^~~~~~~~~~~~~ Simple.c:65:26: note: in expansion of macro 'XtCInsensitive' 65 | {XtNinsensitiveBorder, XtCInsensitive, XtRPixmap, sizeof(Pixmap), | ^~~~~~~~~~~~~~ Simple.c:67:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 67 | {XtNpointerColor, XtCForeground, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeBSB.h:83:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | #define XtNleftBitmap "leftBitmap" | ^~~~~~~~~~~~ SmeBSB.c:66:4: note: in expansion of macro 'XtNleftBitmap' 66 | {XtNleftBitmap, XtCLeftBitmap, XtRBitmap, sizeof(Pixmap), | ^~~~~~~~~~~~~ Simple.c:68:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 68 | offset(pointer_fg), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeBSB.h:102:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | #define XtCLeftBitmap "LeftBitmap" | ^~~~~~~~~~~~ SmeBSB.c:66:19: note: in expansion of macro 'XtCLeftBitmap' 66 | {XtNleftBitmap, XtCLeftBitmap, XtRBitmap, sizeof(Pixmap), | ^~~~~~~~~~~~~ Simple.c:69:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 69 | {XtNpointerColorBackground, XtCBackground, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~~~~~~~~~~~~~~~ Simple.c:70:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 70 | offset(pointer_bg), XtRString, XtDefaultBackground}, | ^~~~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/SimpleP.h:53, from Simple.c:57: ../include/X11/Xaw3d/Simple.h:84:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 84 | #define XtNcursorName "cursorName" | ^~~~~~~~~~~~ Simple.c:71:4: note: in expansion of macro 'XtNcursorName' 71 | {XtNcursorName, XtCCursor, XtRString, sizeof(String), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Simple.h:94:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | #define XtNinternational "international" | ^~~~~~~~~~~~~~~ Simple.c:74:4: note: in expansion of macro 'XtNinternational' 74 | {XtNinternational, XtCInternational, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Simple.h:91:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | #define XtCInternational "International" | ^~~~~~~~~~~~~~~ Simple.c:74:22: note: in expansion of macro 'XtCInternational' 74 | {XtNinternational, XtCInternational, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeBSB.h:86:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 86 | #define XtNrightBitmap "rightBitmap" | ^~~~~~~~~~~~~ SmeBSB.c:70:4: note: in expansion of macro 'XtNrightBitmap' 70 | {XtNrightBitmap, XtCRightBitmap, XtRBitmap, sizeof(Pixmap), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeBSB.h:103:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | #define XtCRightBitmap "RightBitmap" | ^~~~~~~~~~~~~ SmeBSB.c:70:20: note: in expansion of macro 'XtCRightBitmap' 70 | {XtNrightBitmap, XtCRightBitmap, XtRBitmap, sizeof(Pixmap), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeBSB.h:84:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 84 | #define XtNleftMargin "leftMargin" | ^~~~~~~~~~~~ SmeBSB.c:72:4: note: in expansion of macro 'XtNleftMargin' 72 | {XtNleftMargin, XtCHorizontalMargins, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeBSB.h:104:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | #define XtCHorizontalMargins "HorizontalMargins" | ^~~~~~~~~~~~~~~~~~~ SmeBSB.c:72:20: note: in expansion of macro 'XtCHorizontalMargins' 72 | {XtNleftMargin, XtCHorizontalMargins, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~~~~~~ Simple.c:90:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 90 | /* class_name */ "Simple", | ^~~~~~~~ ../include/X11/Xaw3d/SmeBSB.h:87:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 87 | #define XtNrightMargin "rightMargin" | ^~~~~~~~~~~~~ SmeBSB.c:74:4: note: in expansion of macro 'XtNrightMargin' 74 | {XtNrightMargin, XtCHorizontalMargins, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeBSB.h:104:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | #define XtCHorizontalMargins "HorizontalMargins" | ^~~~~~~~~~~~~~~~~~~ SmeBSB.c:74:21: note: in expansion of macro 'XtCHorizontalMargins' 74 | {XtNrightMargin, XtCHorizontalMargins, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~~~~~~ SmeBSB.c:77:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 77 | offset(foreground), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ SmeBSB.c:79:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 79 | offset(font), XtRString, XtDefaultFont}, | ^~~~~~~~~~~~~ SmeBSB.c:82:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 82 | offset(fontset),XtRString, XtDefaultFontSet}, | ^~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/SmeBSBP.h:44, from SmeBSB.c:52: ../include/X11/Xaw3d/SmeBSB.h:90:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 90 | #define XtNmenuName "menuName" | ^~~~~~~~~~ SmeBSB.c:84:4: note: in expansion of macro 'XtNmenuName' 84 | {XtNmenuName, XtCMenuName, XtRString, sizeof(String), | ^~~~~~~~~~~ ../include/X11/Xaw3d/SmeBSB.h:106:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 106 | #define XtCMenuName "MenuName" | ^~~~~~~~~~ SmeBSB.c:84:17: note: in expansion of macro 'XtCMenuName' 84 | {XtNmenuName, XtCMenuName, XtRString, sizeof(String), | ^~~~~~~~~~~ ../include/X11/Xaw3d/SmeBSB.h:91:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | #define XtNunderline "underline" | ^~~~~~~~~~~ SmeBSB.c:86:4: note: in expansion of macro 'XtNunderline' 86 | {XtNunderline, XtCIndex, XtRInt, sizeof(int), | ^~~~~~~~~~~~ SmeBSB.c:119:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 119 | /* class_name */ "SmeBSB", | ^~~~~~~~ In file included from ../include/X11/Xaw3d/Porthole.h:31, from ../include/X11/Xaw3d/PortholeP.h:31, from Porthole.c:37: ../include/X11/Xaw3d/Reports.h:50:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 50 | #define XtNreportCallback "reportCallback" | ^~~~~~~~~~~~~~~~ Porthole.c:46:7: note: in expansion of macro 'XtNreportCallback' 46 | { XtNreportCallback, XtCReportCallback, XtRCallback, sizeof(XtPointer), | ^~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Reports.h:51:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 51 | #define XtCReportCallback "reportCallback" | ^~~~~~~~~~~~~~~~ Porthole.c:46:26: note: in expansion of macro 'XtCReportCallback' 46 | { XtNreportCallback, XtCReportCallback, XtRCallback, sizeof(XtPointer), | ^~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/SmeThreeDP.h:29, from SmeThreeD.c:36: ../include/X11/Xaw3d/SmeThreeD.h:52:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 52 | #define XtNshadowWidth "shadowWidth" | ^~~~~~~~~~~~~ SmeThreeD.c:51:6: note: in expansion of macro 'XtNshadowWidth' 51 | {XtNshadowWidth, XtCShadowWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeThreeD.h:53:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 53 | #define XtCShadowWidth "ShadowWidth" | ^~~~~~~~~~~~~ SmeThreeD.c:51:22: note: in expansion of macro 'XtCShadowWidth' 51 | {XtNshadowWidth, XtCShadowWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~ Porthole.c:64:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 64 | /* class_name */ "Porthole", | ^~~~~~~~~~ ../include/X11/Xaw3d/SmeThreeD.h:54:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 54 | #define XtNtopShadowPixel "topShadowPixel" | ^~~~~~~~~~~~~~~~ SmeThreeD.c:53:6: note: in expansion of macro 'XtNtopShadowPixel' 53 | {XtNtopShadowPixel, XtCTopShadowPixel, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeThreeD.h:55:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | #define XtCTopShadowPixel "TopShadowPixel" | ^~~~~~~~~~~~~~~~ SmeThreeD.c:53:25: note: in expansion of macro 'XtCTopShadowPixel' 53 | {XtNtopShadowPixel, XtCTopShadowPixel, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~~~~~~~ Box.c:101:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | /* class_name */ "Box", | ^~~~~ SmeThreeD.c:54:57: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 54 | offset(sme_threeD.top_shadow_pixel), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/SmeThreeDP.h:29, from SmeThreeD.c:36: ../include/X11/Xaw3d/SmeThreeD.h:56:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | #define XtNbottomShadowPixel "bottomShadowPixel" | ^~~~~~~~~~~~~~~~~~~ SmeThreeD.c:55:6: note: in expansion of macro 'XtNbottomShadowPixel' 55 | {XtNbottomShadowPixel, XtCBottomShadowPixel, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeThreeD.h:57:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 57 | #define XtCBottomShadowPixel "BottomShadowPixel" | ^~~~~~~~~~~~~~~~~~~ SmeThreeD.c:55:28: note: in expansion of macro 'XtCBottomShadowPixel' 55 | {XtNbottomShadowPixel, XtCBottomShadowPixel, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~~~~~~~~~~ SmeThreeD.c:56:57: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | offset(sme_threeD.bot_shadow_pixel), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ SmeThreeD.c:41:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 41 | #define XtNtopShadowPixmap "topShadowPixmap" | ^~~~~~~~~~~~~~~~~ SmeThreeD.c:57:6: note: in expansion of macro 'XtNtopShadowPixmap' 57 | {XtNtopShadowPixmap, XtCTopShadowPixmap, XtRPixmap, sizeof(Pixmap), | ^~~~~~~~~~~~~~~~~~ SmeThreeD.c:42:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 42 | #define XtCTopShadowPixmap "TopShadowPixmap" | ^~~~~~~~~~~~~~~~~ SmeThreeD.c:57:26: note: in expansion of macro 'XtCTopShadowPixmap' 57 | {XtNtopShadowPixmap, XtCTopShadowPixmap, XtRPixmap, sizeof(Pixmap), | ^~~~~~~~~~~~~~~~~~ SmeThreeD.c:43:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 43 | #define XtNbottomShadowPixmap "bottomShadowPixmap" | ^~~~~~~~~~~~~~~~~~~~ SmeThreeD.c:59:6: note: in expansion of macro 'XtNbottomShadowPixmap' 59 | {XtNbottomShadowPixmap, XtCBottomShadowPixmap, XtRPixmap, sizeof(Pixmap), | ^~~~~~~~~~~~~~~~~~~~~ SmeThreeD.c:44:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 44 | #define XtCBottomShadowPixmap "BottomShadowPixmap" | ^~~~~~~~~~~~~~~~~~~~ SmeThreeD.c:59:29: note: in expansion of macro 'XtCBottomShadowPixmap' 59 | {XtNbottomShadowPixmap, XtCBottomShadowPixmap, XtRPixmap, sizeof(Pixmap), | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/SmeThreeDP.h:29, from SmeThreeD.c:36: ../include/X11/Xaw3d/SmeThreeD.h:58:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 58 | #define XtNtopShadowContrast "topShadowContrast" | ^~~~~~~~~~~~~~~~~~~ SmeThreeD.c:61:6: note: in expansion of macro 'XtNtopShadowContrast' 61 | {XtNtopShadowContrast, XtCTopShadowContrast, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeThreeD.h:59:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 59 | #define XtCTopShadowContrast "TopShadowContrast" | ^~~~~~~~~~~~~~~~~~~ SmeThreeD.c:61:28: note: in expansion of macro 'XtCTopShadowContrast' 61 | {XtNtopShadowContrast, XtCTopShadowContrast, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeThreeD.h:60:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 60 | #define XtNbottomShadowContrast "bottomShadowContrast" | ^~~~~~~~~~~~~~~~~~~~~~ SmeThreeD.c:63:6: note: in expansion of macro 'XtNbottomShadowContrast' 63 | {XtNbottomShadowContrast, XtCBottomShadowContrast, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeThreeD.h:61:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 61 | #define XtCBottomShadowContrast "BottomShadowContrast" | ^~~~~~~~~~~~~~~~~~~~~~ SmeThreeD.c:63:31: note: in expansion of macro 'XtCBottomShadowContrast' 63 | {XtNbottomShadowContrast, XtCBottomShadowContrast, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeThreeD.h:66:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 66 | #define XtNuserData "userData" | ^~~~~~~~~~ SmeThreeD.c:65:6: note: in expansion of macro 'XtNuserData' 65 | {XtNuserData, XtCUserData, XtRPointer, sizeof(XtPointer), | ^~~~~~~~~~~ ../include/X11/Xaw3d/SmeThreeD.h:67:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 67 | #define XtCUserData "UserData" | ^~~~~~~~~~ SmeThreeD.c:65:19: note: in expansion of macro 'XtCUserData' 65 | {XtNuserData, XtCUserData, XtRPointer, sizeof(XtPointer), | ^~~~~~~~~~~ ../include/X11/Xaw3d/SmeThreeD.h:62:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 62 | #define XtNbeNiceToColormap "beNiceToColormap" | ^~~~~~~~~~~~~~~~~~ SmeThreeD.c:67:6: note: in expansion of macro 'XtNbeNiceToColormap' 67 | {XtNbeNiceToColormap, XtCBeNiceToColormap, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeThreeD.h:63:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 63 | #define XtCBeNiceToColormap "BeNiceToColormap" | ^~~~~~~~~~~~~~~~~~ SmeThreeD.c:67:27: note: in expansion of macro 'XtCBeNiceToColormap' 67 | {XtNbeNiceToColormap, XtCBeNiceToColormap, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/FormP.h:54, from Form.c:57: ../include/X11/Xaw3d/Form.h:100:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 100 | #define XtNdefaultDistance "defaultDistance" | ^~~~~~~~~~~~~~~~~ Form.c:65:6: note: in expansion of macro 'XtNdefaultDistance' 65 | {XtNdefaultDistance, XtCThickness, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~~~~~ SmeThreeD.c:45:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 45 | #define XtNshadowed "shadowed" | ^~~~~~~~~~ SmeThreeD.c:69:6: note: in expansion of macro 'XtNshadowed' 69 | {XtNshadowed, XtCShadowed, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~ SmeThreeD.c:46:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 46 | #define XtCShadowed "Shadowed" | ^~~~~~~~~~ SmeThreeD.c:69:19: note: in expansion of macro 'XtCShadowed' 69 | {XtNshadowed, XtCShadowed, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~ Grip.c:70:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 70 | XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ AllWidgets.c:69:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 69 | { "applicationShell", &applicationShellWidgetClass }, | ^~~~~~~~~~~~~~~~~~ SmeThreeD.c:87:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 87 | /* class_name */ "SmeThreeD", | ^~~~~~~~~~~ Grip.c:81:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | {"GripAction", GripAction}, | ^~~~~~~~~~~~ AllWidgets.c:70:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 70 | { "asciiSink", &asciiSinkObjectClass }, | ^~~~~~~~~~~ Grip.c:90:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 90 | /* class name */ "Grip", | ^~~~~~ ../include/X11/Xaw3d/Form.h:110:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 110 | #define XtCEdge "Edge" | ^~~~~~ Form.c:74:14: note: in expansion of macro 'XtCEdge' 74 | {XtNtop, XtCEdge, XtREdgeType, sizeof(XtEdgeType), | ^~~~~~~ AllWidgets.c:71:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 71 | { "asciiSrc", &asciiSrcObjectClass }, | ^~~~~~~~~~ AllWidgets.c:72:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 72 | { "asciiText", &asciiTextWidgetClass }, | ^~~~~~~~~~~ In file included from Form.c:57: ../include/X11/Xaw3d/FormP.h:56:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | #define XtREdgeType "EdgeType" | ^~~~~~~~~~ Form.c:74:23: note: in expansion of macro 'XtREdgeType' 74 | {XtNtop, XtCEdge, XtREdgeType, sizeof(XtEdgeType), | ^~~~~~~~~~~ AllWidgets.c:73:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 73 | { "box", &boxWidgetClass }, | ^~~~~ AllWidgets.c:74:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 74 | { "command", &commandWidgetClass }, | ^~~~~~~~~ ../include/X11/Xaw3d/FormP.h:56:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | #define XtREdgeType "EdgeType" | ^~~~~~~~~~ Form.c:75:22: note: in expansion of macro 'XtREdgeType' 75 | Offset(top), XtREdgeType, (XtPointer)&defEdge}, | ^~~~~~~~~~~ AllWidgets.c:75:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 75 | { "composite", &compositeWidgetClass }, | ^~~~~~~~~~~ AllWidgets.c:76:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 76 | { "constraint", &constraintWidgetClass }, | ^~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/FormP.h:54, from Form.c:57: ../include/X11/Xaw3d/Form.h:101:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | #define XtNbottom "bottom" | ^~~~~~~~ Form.c:76:6: note: in expansion of macro 'XtNbottom' 76 | {XtNbottom, XtCEdge, XtREdgeType, sizeof(XtEdgeType), | ^~~~~~~~~ AllWidgets.c:77:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 77 | { "core", &coreWidgetClass }, | ^~~~~~ ../include/X11/Xaw3d/Form.h:110:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 110 | #define XtCEdge "Edge" | ^~~~~~ Form.c:76:17: note: in expansion of macro 'XtCEdge' 76 | {XtNbottom, XtCEdge, XtREdgeType, sizeof(XtEdgeType), | ^~~~~~~ AllWidgets.c:78:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 78 | { "dialog", &dialogWidgetClass }, | ^~~~~~~~ In file included from Form.c:57: ../include/X11/Xaw3d/FormP.h:56:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | #define XtREdgeType "EdgeType" | ^~~~~~~~~~ Form.c:76:26: note: in expansion of macro 'XtREdgeType' 76 | {XtNbottom, XtCEdge, XtREdgeType, sizeof(XtEdgeType), | ^~~~~~~~~~~ AllWidgets.c:79:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 79 | { "form", &formWidgetClass }, | ^~~~~~ AllWidgets.c:80:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 80 | { "grip", &gripWidgetClass }, | ^~~~~~ ../include/X11/Xaw3d/FormP.h:56:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | #define XtREdgeType "EdgeType" | ^~~~~~~~~~ Form.c:77:25: note: in expansion of macro 'XtREdgeType' 77 | Offset(bottom), XtREdgeType, (XtPointer)&defEdge}, | ^~~~~~~~~~~ AllWidgets.c:81:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | { "label", &labelWidgetClass }, | ^~~~~~~ In file included from ../include/X11/Xaw3d/FormP.h:54, from Form.c:57: ../include/X11/Xaw3d/Form.h:102:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | #define XtNleft "left" | ^~~~~~ Form.c:78:6: note: in expansion of macro 'XtNleft' 78 | {XtNleft, XtCEdge, XtREdgeType, sizeof(XtEdgeType), | ^~~~~~~ AllWidgets.c:82:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 82 | { "layout", &layoutWidgetClass }, | ^~~~~~~~ ../include/X11/Xaw3d/Form.h:110:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 110 | #define XtCEdge "Edge" | ^~~~~~ Form.c:78:15: note: in expansion of macro 'XtCEdge' 78 | {XtNleft, XtCEdge, XtREdgeType, sizeof(XtEdgeType), | ^~~~~~~ AllWidgets.c:83:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | { "list", &listWidgetClass }, | ^~~~~~ In file included from Form.c:57: ../include/X11/Xaw3d/FormP.h:56:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | #define XtREdgeType "EdgeType" | ^~~~~~~~~~ Form.c:78:24: note: in expansion of macro 'XtREdgeType' 78 | {XtNleft, XtCEdge, XtREdgeType, sizeof(XtEdgeType), | ^~~~~~~~~~~ AllWidgets.c:84:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 84 | { "menuButton", &menuButtonWidgetClass }, | ^~~~~~~~~~~~ AllWidgets.c:85:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 85 | { "multiSink", &multiSinkObjectClass }, | ^~~~~~~~~~~ AllWidgets.c:86:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 86 | { "multiSrc", &multiSrcObjectClass }, | ^~~~~~~~~~ ../include/X11/Xaw3d/FormP.h:56:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | #define XtREdgeType "EdgeType" | ^~~~~~~~~~ Form.c:79:23: note: in expansion of macro 'XtREdgeType' 79 | Offset(left), XtREdgeType, (XtPointer)&defEdge}, | ^~~~~~~~~~~ AllWidgets.c:87:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 87 | { "object", &objectClass }, | ^~~~~~~~ In file included from ../include/X11/Xaw3d/FormP.h:54, from Form.c:57: ../include/X11/Xaw3d/Form.h:103:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | #define XtNright "right" | ^~~~~~~ Form.c:80:6: note: in expansion of macro 'XtNright' 80 | {XtNright, XtCEdge, XtREdgeType, sizeof(XtEdgeType), | ^~~~~~~~ AllWidgets.c:88:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 88 | { "overrideShell", &overrideShellWidgetClass }, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Form.h:110:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 110 | #define XtCEdge "Edge" | ^~~~~~ Form.c:80:16: note: in expansion of macro 'XtCEdge' 80 | {XtNright, XtCEdge, XtREdgeType, sizeof(XtEdgeType), | ^~~~~~~ Repeater.c:72:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 72 | { "start", ActionStart }, /* trigger timers */ | ^~~~~~~ AllWidgets.c:89:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 89 | { "paned", &panedWidgetClass }, | ^~~~~~~ In file included from Form.c:57: ../include/X11/Xaw3d/FormP.h:56:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | #define XtREdgeType "EdgeType" | ^~~~~~~~~~ Form.c:80:25: note: in expansion of macro 'XtREdgeType' 80 | {XtNright, XtCEdge, XtREdgeType, sizeof(XtEdgeType), | ^~~~~~~~~~~ AllWidgets.c:90:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 90 | { "panner", &pannerWidgetClass }, | ^~~~~~~~ AllWidgets.c:91:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | { "porthole", &portholeWidgetClass }, | ^~~~~~~~~~ ../include/X11/Xaw3d/FormP.h:56:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | #define XtREdgeType "EdgeType" | ^~~~~~~~~~ Form.c:81:24: note: in expansion of macro 'XtREdgeType' 81 | Offset(right), XtREdgeType, (XtPointer)&defEdge}, | ^~~~~~~~~~~ AllWidgets.c:92:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 92 | { "rect", &rectObjClass }, | ^~~~~~ In file included from ../include/X11/Xaw3d/FormP.h:54, from Form.c:57: ../include/X11/Xaw3d/Form.h:106:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 106 | #define XtNhorizDistance "horizDistance" | ^~~~~~~~~~~~~~~ Form.c:82:6: note: in expansion of macro 'XtNhorizDistance' 82 | {XtNhorizDistance, XtCThickness, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~~~ AllWidgets.c:93:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 93 | { "repeater", &repeaterWidgetClass }, | ^~~~~~~~~~ AllWidgets.c:94:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | { "scrollbar", &scrollbarWidgetClass }, | ^~~~~~~~~~~ AllWidgets.c:95:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | { "shell", &shellWidgetClass }, | ^~~~~~~ ../include/X11/Xaw3d/Form.h:104:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | #define XtNfromHoriz "fromHoriz" | ^~~~~~~~~~~ Form.c:84:6: note: in expansion of macro 'XtNfromHoriz' 84 | {XtNfromHoriz, XtCWidget, XtRWidget, sizeof(Widget), | ^~~~~~~~~~~~ AllWidgets.c:96:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | { "simpleMenu", &simpleMenuWidgetClass }, | ^~~~~~~~~~~~ ../include/X11/Xaw3d/Form.h:111:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 111 | #define XtCWidget "Widget" | ^~~~~~~~ Form.c:84:20: note: in expansion of macro 'XtCWidget' 84 | {XtNfromHoriz, XtCWidget, XtRWidget, sizeof(Widget), | ^~~~~~~~~ AllWidgets.c:97:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | { "simple", &simpleWidgetClass }, | ^~~~~~~~ AllWidgets.c:98:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | { "smeBSB", &smeBSBObjectClass }, | ^~~~~~~~ AllWidgets.c:99:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 99 | { "smeLine", &smeLineObjectClass }, | ^~~~~~~~~ AllWidgets.c:100:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 100 | { "smeThreeD", &smeThreeDObjectClass }, | ^~~~~~~~~~~ Repeater.c:73:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 73 | { "stop", ActionStop }, /* clear timers */ | ^~~~~~ ../include/X11/Xaw3d/Form.h:107:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 107 | #define XtNvertDistance "vertDistance" | ^~~~~~~~~~~~~~ Form.c:86:6: note: in expansion of macro 'XtNvertDistance' 86 | {XtNvertDistance, XtCThickness, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~~ AllWidgets.c:101:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | { "sme", &smeObjectClass }, | ^~~~~ AllWidgets.c:102:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | { "stripChart", &stripChartWidgetClass }, | ^~~~~~~~~~~~ AllWidgets.c:103:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | { "textSink", &textSinkObjectClass }, | ^~~~~~~~~~ AllWidgets.c:104:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | { "textSrc", &textSrcObjectClass }, | ^~~~~~~~~ AllWidgets.c:105:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 105 | { "text", &textWidgetClass }, | ^~~~~~ ../include/X11/Xaw3d/Form.h:105:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 105 | #define XtNfromVert "fromVert" | ^~~~~~~~~~ Form.c:88:6: note: in expansion of macro 'XtNfromVert' 88 | {XtNfromVert, XtCWidget, XtRWidget, sizeof(Widget), | ^~~~~~~~~~~ AllWidgets.c:106:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 106 | { "threeD", &threeDWidgetClass }, | ^~~~~~~~ ../include/X11/Xaw3d/Form.h:111:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 111 | #define XtCWidget "Widget" | ^~~~~~~~ Form.c:88:19: note: in expansion of macro 'XtCWidget' 88 | {XtNfromVert, XtCWidget, XtRWidget, sizeof(Widget), | ^~~~~~~~~ AllWidgets.c:107:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 107 | { "toggle", &toggleWidgetClass }, | ^~~~~~~~ AllWidgets.c:108:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 108 | { "topLevelShell", &topLevelShellWidgetClass }, | ^~~~~~~~~~~~~~~ AllWidgets.c:109:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 109 | { "transientShell", &transientShellWidgetClass }, | ^~~~~~~~~~~~~~~~ AllWidgets.c:110:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 110 | { "tree", &treeWidgetClass }, | ^~~~~~ ../include/X11/Xaw3d/Form.h:108:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 108 | #define XtNresizable "resizable" | ^~~~~~~~~~~ Form.c:90:6: note: in expansion of macro 'XtNresizable' 90 | {XtNresizable, XtCBoolean, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~ AllWidgets.c:111:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 111 | { "vendorShell", &vendorShellWidgetClass }, | ^~~~~~~~~~~~~ AllWidgets.c:112:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 112 | { "viewport", &viewportWidgetClass }, | ^~~~~~~~~~ In file included from ../include/X11/Xaw3d/CommandP.h:57, from Command.c:62: ../include/X11/Xaw3d/Command.h:98:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | #define XtNhighlightThickness "highlightThickness" | ^~~~~~~~~~~~~~~~~~~~ Command.c:87:5: note: in expansion of macro 'XtNhighlightThickness' 87 | {XtNhighlightThickness, XtCThickness, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~~~~~~~ AllWidgets.c:113:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 113 | { "wmShell", &wmShellWidgetClass }, | ^~~~~~~~~ In file included from ../include/X11/Xaw3d/RepeaterP.h:32, from Repeater.c:36: ../include/X11/Xaw3d/Repeater.h:55:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | #define XtNdecay "decay" | ^~~~~~~ Repeater.c:82:7: note: in expansion of macro 'XtNdecay' 82 | { XtNdecay, XtCDecay, XtRInt, sizeof (int), | ^~~~~~~~ ../include/X11/Xaw3d/Repeater.h:56:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | #define XtCDecay "Decay" | ^~~~~~~ Repeater.c:82:17: note: in expansion of macro 'XtCDecay' 82 | { XtNdecay, XtCDecay, XtRInt, sizeof (int), | ^~~~~~~~ ../include/X11/Xaw3d/Command.h:100:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 100 | #define XtNshapeStyle "shapeStyle" | ^~~~~~~~~~~~ Command.c:90:5: note: in expansion of macro 'XtNshapeStyle' 90 | {XtNshapeStyle, XtCShapeStyle, XtRShapeStyle, sizeof(int), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Command.h:101:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | #define XtCShapeStyle "ShapeStyle" | ^~~~~~~~~~~~ Command.c:90:20: note: in expansion of macro 'XtCShapeStyle' 90 | {XtNshapeStyle, XtCShapeStyle, XtRShapeStyle, sizeof(int), | ^~~~~~~~~~~~~ Form.c:112:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 112 | /* class_name */ "Form", | ^~~~~~ In file included from ../include/X11/Xaw3d/MenuButtoP.h:48, from MenuButton.c:55: ../include/X11/Xaw3d/MenuButton.h:80:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 80 | #define XtNmenuName "menuName" | ^~~~~~~~~~ MenuButton.c:78:5: note: in expansion of macro 'XtNmenuName' 78 | XtNmenuName, XtCMenuName, XtRString, sizeof(String), | ^~~~~~~~~~~ ../include/X11/Xaw3d/Command.h:102:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | #define XtRShapeStyle "ShapeStyle" | ^~~~~~~~~~~~ Command.c:90:35: note: in expansion of macro 'XtRShapeStyle' 90 | {XtNshapeStyle, XtCShapeStyle, XtRShapeStyle, sizeof(int), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Command.h:103:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | #define XtNcornerRoundPercent "cornerRoundPercent" | ^~~~~~~~~~~~~~~~~~~~ Command.c:92:5: note: in expansion of macro 'XtNcornerRoundPercent' 92 | {XtNcornerRoundPercent, XtCCornerRoundPercent, XtRDimension, | ^~~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Command.h:104:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | #define XtCCornerRoundPercent "CornerRoundPercent" | ^~~~~~~~~~~~~~~~~~~~ Command.c:92:28: note: in expansion of macro 'XtCCornerRoundPercent' 92 | {XtNcornerRoundPercent, XtCCornerRoundPercent, XtRDimension, | ^~~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/MenuButton.h:81:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | #define XtCMenuName "MenuName" | ^~~~~~~~~~ MenuButton.c:78:18: note: in expansion of macro 'XtCMenuName' 78 | XtNmenuName, XtCMenuName, XtRString, sizeof(String), | ^~~~~~~~~~~ ../include/X11/Xaw3d/Repeater.h:57:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 57 | #define XtNinitialDelay "initialDelay" | ^~~~~~~~~~~~~~ Repeater.c:84:7: note: in expansion of macro 'XtNinitialDelay' 84 | { XtNinitialDelay, XtCDelay, XtRInt, sizeof (int), | ^~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/ThreeDP.h:29, from ../include/X11/Xaw3d/LabelP.h:65, from ../include/X11/Xaw3d/CommandP.h:58, from Command.c:62: ../include/X11/Xaw3d/ThreeD.h:52:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 52 | #define XtNshadowWidth "shadowWidth" | ^~~~~~~~~~~~~ Command.c:95:5: note: in expansion of macro 'XtNshadowWidth' 95 | {XtNshadowWidth, XtCShadowWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/Repeater.h:58:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 58 | #define XtCDelay "Delay" | ^~~~~~~ Repeater.c:84:24: note: in expansion of macro 'XtCDelay' 84 | { XtNinitialDelay, XtCDelay, XtRInt, sizeof (int), | ^~~~~~~~ ../include/X11/Xaw3d/ThreeD.h:53:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 53 | #define XtCShadowWidth "ShadowWidth" | ^~~~~~~~~~~~~ Command.c:95:21: note: in expansion of macro 'XtCShadowWidth' 95 | {XtNshadowWidth, XtCShadowWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/Repeater.h:59:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 59 | #define XtNminimumDelay "minimumDelay" | ^~~~~~~~~~~~~~ Repeater.c:86:7: note: in expansion of macro 'XtNminimumDelay' 86 | { XtNminimumDelay, XtCMinimumDelay, XtRInt, sizeof (int), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Repeater.h:60:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 60 | #define XtCMinimumDelay "MinimumDelay" | ^~~~~~~~~~~~~~ Repeater.c:86:24: note: in expansion of macro 'XtCMinimumDelay' 86 | { XtNminimumDelay, XtCMinimumDelay, XtRInt, sizeof (int), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Repeater.h:61:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 61 | #define XtNrepeatDelay "repeatDelay" | ^~~~~~~~~~~~~ Repeater.c:88:7: note: in expansion of macro 'XtNrepeatDelay' 88 | { XtNrepeatDelay, XtCDelay, XtRInt, sizeof (int), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/Repeater.h:58:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 58 | #define XtCDelay "Delay" | ^~~~~~~ Repeater.c:88:23: note: in expansion of macro 'XtCDelay' 88 | { XtNrepeatDelay, XtCDelay, XtRInt, sizeof (int), | ^~~~~~~~ ../include/X11/Xaw3d/Repeater.h:62:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 62 | #define XtNflash "flash" | ^~~~~~~ Repeater.c:90:7: note: in expansion of macro 'XtNflash' 90 | { XtNflash, XtCBoolean, XtRBoolean, sizeof (Boolean), | ^~~~~~~~ MenuButton.c:85:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 85 | {"PopupMenu", PopupMenu} | ^~~~~~~~~~~ Command.c:120:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 120 | {"set", Set}, | ^~~~~ ../include/X11/Xaw3d/Repeater.h:63:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 63 | #define XtNstartCallback "startCallback" | ^~~~~~~~~~~~~~~ Repeater.c:92:7: note: in expansion of macro 'XtNstartCallback' 92 | { XtNstartCallback, XtCStartCallback, XtRCallback, sizeof (XtPointer), | ^~~~~~~~~~~~~~~~ Command.c:121:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 121 | {"notify", Notify}, | ^~~~~~~~ In file included from ../include/X11/Xaw3d/PanedP.h:64, from Paned.c:72: ../include/X11/Xaw3d/Paned.h:134:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 134 | #define XtNinternalBorderColor "internalBorderColor" | ^~~~~~~~~~~~~~~~~~~~~ Paned.c:120:6: note: in expansion of macro 'XtNinternalBorderColor' 120 | {XtNinternalBorderColor, XtCBorderColor, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Repeater.h:64:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 64 | #define XtCStartCallback "StartCallback" | ^~~~~~~~~~~~~~~ Repeater.c:92:25: note: in expansion of macro 'XtCStartCallback' 92 | { XtNstartCallback, XtCStartCallback, XtRCallback, sizeof (XtPointer), | ^~~~~~~~~~~~~~~~ Command.c:122:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 122 | {"highlight", Highlight}, | ^~~~~~~~~~~ Command.c:123:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 123 | {"reset", Reset}, | ^~~~~~~ Command.c:124:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 124 | {"unset", Unset}, | ^~~~~~~ MenuButton.c:91:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | "MenuButton", /* class_name */ | ^~~~~~~~~~~~ Command.c:125:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 125 | {"unhighlight", Unhighlight} | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Repeater.h:65:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 65 | #define XtNstopCallback "stopCallback" | ^~~~~~~~~~~~~~ Repeater.c:94:7: note: in expansion of macro 'XtNstopCallback' 94 | { XtNstopCallback, XtCStopCallback, XtRCallback, sizeof (XtPointer), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Repeater.h:66:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 66 | #define XtCStopCallback "StopCallback" | ^~~~~~~~~~~~~~ Repeater.c:94:24: note: in expansion of macro 'XtCStopCallback' 94 | { XtNstopCallback, XtCStopCallback, XtRCallback, sizeof (XtPointer), | ^~~~~~~~~~~~~~~ Command.c:133:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 133 | "Command", /* class_name */ | ^~~~~~~~~ Repeater.c:111:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 111 | /* class_name */ "Repeater", | ^~~~~~~~~~ In file included from ../include/X11/Xaw3d/ThreeDP.h:29, from ThreeD.c:39: ../include/X11/Xaw3d/ThreeD.h:52:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 52 | #define XtNshadowWidth "shadowWidth" | ^~~~~~~~~~~~~ ThreeD.c:55:6: note: in expansion of macro 'XtNshadowWidth' 55 | {XtNshadowWidth, XtCShadowWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~ AsciiSink.c:89:34: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 89 | offset(font), XtRString, XtDefaultFont}, | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Paned.h:135:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 135 | #define XtNinternalBorderWidth "internalBorderWidth" | ^~~~~~~~~~~~~~~~~~~~~ Paned.c:123:6: note: in expansion of macro 'XtNinternalBorderWidth' 123 | {XtNinternalBorderWidth, XtCBorderWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/ThreeD.h:53:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 53 | #define XtCShadowWidth "ShadowWidth" | ^~~~~~~~~~~~~ ThreeD.c:55:22: note: in expansion of macro 'XtCShadowWidth' 55 | {XtNshadowWidth, XtCShadowWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/Paned.h:132:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 132 | #define XtNgripIndent "gripIndent" | ^~~~~~~~~~~~ Paned.c:125:6: note: in expansion of macro 'XtNgripIndent' 125 | {XtNgripIndent, XtCGripIndent, XtRPosition, sizeof(Position), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Paned.h:150:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 150 | #define XtCGripIndent "GripIndent" | ^~~~~~~~~~~~ Paned.c:125:21: note: in expansion of macro 'XtCGripIndent' 125 | {XtNgripIndent, XtCGripIndent, XtRPosition, sizeof(Position), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Paned.h:138:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 138 | #define XtNrefigureMode "refigureMode" | ^~~~~~~~~~~~~~ Paned.c:127:6: note: in expansion of macro 'XtNrefigureMode' 127 | {XtNrefigureMode, XtCBoolean, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/Text.h:275, from ../include/X11/Xaw3d/TextSink.h:52, from ../include/X11/Xaw3d/TextSinkP.h:63, from ../include/X11/Xaw3d/AsciiSinkP.h:63, from AsciiSink.c:58: ../include/X11/Xaw3d/AsciiSink.h:72:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 72 | #define XtNecho "echo" | ^~~~~~ AsciiSink.c:90:6: note: in expansion of macro 'XtNecho' 90 | {XtNecho, XtCOutput, XtRBoolean, sizeof(Boolean), | ^~~~~~~ In file included from Paned.c:71: ../include/X11/Xaw3d/Grip.h:87:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 87 | #define XtNgripTranslations "gripTranslations" | ^~~~~~~~~~~~~~~~~~ Paned.c:129:6: note: in expansion of macro 'XtNgripTranslations' 129 | {XtNgripTranslations, XtCTranslations, XtRTranslationTable, | ^~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/AsciiSink.h:69:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 69 | #define XtCOutput "Output" | ^~~~~~~~ AsciiSink.c:90:15: note: in expansion of macro 'XtCOutput' 90 | {XtNecho, XtCOutput, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~ ../include/X11/Xaw3d/AsciiSink.h:71:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 71 | #define XtNdisplayNonprinting "displayNonprinting" | ^~~~~~~~~~~~~~~~~~~~ AsciiSink.c:92:6: note: in expansion of macro 'XtNdisplayNonprinting' 92 | {XtNdisplayNonprinting, XtCOutput, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/AsciiSink.h:69:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 69 | #define XtCOutput "Output" | ^~~~~~~~ AsciiSink.c:92:29: note: in expansion of macro 'XtCOutput' 92 | {XtNdisplayNonprinting, XtCOutput, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~ Tip.c:109:36: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 109 | offset(foreground), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/Grip.h:57, from Paned.c:71: ../include/X11/Xaw3d/Simple.h:83:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | #define XtNcursor "cursor" | ^~~~~~~~ Paned.c:137:6: note: in expansion of macro 'XtNcursor' 137 | {XtNcursor, XtCCursor, XtRCursor, sizeof(Cursor), | ^~~~~~~~~ ../include/X11/Xaw3d/ThreeD.h:54:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 54 | #define XtNtopShadowPixel "topShadowPixel" | ^~~~~~~~~~~~~~~~ ThreeD.c:57:6: note: in expansion of macro 'XtNtopShadowPixel' 57 | {XtNtopShadowPixel, XtCTopShadowPixel, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/ThreeD.h:55:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 55 | #define XtCTopShadowPixel "TopShadowPixel" | ^~~~~~~~~~~~~~~~ ThreeD.c:57:25: note: in expansion of macro 'XtCTopShadowPixel' 57 | {XtNtopShadowPixel, XtCTopShadowPixel, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/DialogP.h:54, from Dialog.c:63: ../include/X11/Xaw3d/Dialog.h:81:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | #define XtNicon "icon" | ^~~~~~ Dialog.c:81:4: note: in expansion of macro 'XtNicon' 81 | {XtNicon, XtCIcon, XtRBitmap, sizeof(Pixmap), | ^~~~~~~ In file included from ../include/X11/Xaw3d/PanedP.h:64, from Paned.c:72: ../include/X11/Xaw3d/Paned.h:131:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 131 | #define XtNgripCursor "gripCursor" | ^~~~~~~~~~~~ Paned.c:139:6: note: in expansion of macro 'XtNgripCursor' 139 | {XtNgripCursor, XtCCursor, XtRCursor, sizeof(Cursor), | ^~~~~~~~~~~~~ Tip.c:111:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 111 | offset(font), XtRString, XtDefaultFont}, | ^~~~~~~~~~~~~ ThreeD.c:58:53: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 58 | offset(threeD.top_shadow_pixel), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Dialog.h:80:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 80 | #define XtCIcon "Icon" | ^~~~~~ Dialog.c:81:13: note: in expansion of macro 'XtCIcon' 81 | {XtNicon, XtCIcon, XtRBitmap, sizeof(Pixmap), | ^~~~~~~ In file included from ../include/X11/Xaw3d/ThreeDP.h:29, from ThreeD.c:39: ../include/X11/Xaw3d/ThreeD.h:56:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 56 | #define XtNbottomShadowPixel "bottomShadowPixel" | ^~~~~~~~~~~~~~~~~~~ ThreeD.c:59:6: note: in expansion of macro 'XtNbottomShadowPixel' 59 | {XtNbottomShadowPixel, XtCBottomShadowPixel, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~~~~~~~~~~ Tip.c:114:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 114 | offset(fontset), XtRString, XtDefaultFontSet}, | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/ThreeD.h:57:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 57 | #define XtCBottomShadowPixel "BottomShadowPixel" | ^~~~~~~~~~~~~~~~~~~ ThreeD.c:59:28: note: in expansion of macro 'XtCBottomShadowPixel' 59 | {XtNbottomShadowPixel, XtCBottomShadowPixel, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Paned.h:148:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 148 | #define XtNverticalGripCursor "verticalGripCursor" | ^~~~~~~~~~~~~~~~~~~~ Paned.c:141:6: note: in expansion of macro 'XtNverticalGripCursor' 141 | {XtNverticalGripCursor, XtCCursor, XtRCursor, sizeof(Cursor), | ^~~~~~~~~~~~~~~~~~~~~ AsciiSink.c:102:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | /* class_name */ "AsciiSink", | ^~~~~~~~~~~ In file included from ../include/X11/Xaw3d/LayoutP.h:30, from Layout.c:40: ../include/X11/Xaw3d/Layout.h:80:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 80 | #define XtNlayout "layout" | ^~~~~~~~ Layout.c:81:6: note: in expansion of macro 'XtNlayout' 81 | {XtNlayout, XtCLayout, XtRLayout, sizeof (BoxPtr), | ^~~~~~~~~ ThreeD.c:60:53: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 60 | offset(threeD.bot_shadow_pixel), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ Paned.c:142:44: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 142 | offset(v_grip_cursor), XtRString, "sb_v_double_arrow"}, | ^~~~~~~~~~~~~~~~~~~ ThreeD.c:45:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 45 | #define XtNtopShadowPixmap "topShadowPixmap" | ^~~~~~~~~~~~~~~~~ ThreeD.c:61:6: note: in expansion of macro 'XtNtopShadowPixmap' 61 | {XtNtopShadowPixmap, XtCTopShadowPixmap, XtRPixmap, sizeof(Pixmap), | ^~~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/PanedP.h:64, from Paned.c:72: ../include/X11/Xaw3d/Paned.h:133:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 133 | #define XtNhorizontalGripCursor "horizontalGripCursor" | ^~~~~~~~~~~~~~~~~~~~~~ Paned.c:143:6: note: in expansion of macro 'XtNhorizontalGripCursor' 143 | {XtNhorizontalGripCursor, XtCCursor, XtRCursor, sizeof(Cursor), | ^~~~~~~~~~~~~~~~~~~~~~~ ThreeD.c:46:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 46 | #define XtCTopShadowPixmap "TopShadowPixmap" | ^~~~~~~~~~~~~~~~~ ThreeD.c:61:26: note: in expansion of macro 'XtCTopShadowPixmap' 61 | {XtNtopShadowPixmap, XtCTopShadowPixmap, XtRPixmap, sizeof(Pixmap), | ^~~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/TipP.h:34, from Tip.c:43: ../include/X11/Xaw3d/Tip.h:70:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 70 | #define XtNencoding "encoding" | ^~~~~~~~~~ Tip.c:118:4: note: in expansion of macro 'XtNencoding' 118 | {XtNencoding, XtCEncoding, XtRUnsignedChar, sizeof(unsigned char), | ^~~~~~~~~~~ ../include/X11/Xaw3d/Tip.h:83:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | #define XtCEncoding "Encoding" | ^~~~~~~~~~ Tip.c:118:17: note: in expansion of macro 'XtCEncoding' 118 | {XtNencoding, XtCEncoding, XtRUnsignedChar, sizeof(unsigned char), | ^~~~~~~~~~~ ../include/X11/Xaw3d/Layout.h:81:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | #define XtCLayout "Layout" | ^~~~~~~~ Layout.c:81:17: note: in expansion of macro 'XtCLayout' 81 | {XtNlayout, XtCLayout, XtRLayout, sizeof (BoxPtr), | ^~~~~~~~~ ../include/X11/Xaw3d/Layout.h:82:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 82 | #define XtRLayout "Layout" | ^~~~~~~~ Layout.c:81:28: note: in expansion of macro 'XtRLayout' 81 | {XtNlayout, XtCLayout, XtRLayout, sizeof (BoxPtr), | ^~~~~~~~~ Paned.c:144:44: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 144 | offset(h_grip_cursor), XtRString, "sb_h_double_arrow"}, | ^~~~~~~~~~~~~~~~~~~ ThreeD.c:47:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 47 | #define XtNbottomShadowPixmap "bottomShadowPixmap" | ^~~~~~~~~~~~~~~~~~~~ ThreeD.c:63:6: note: in expansion of macro 'XtNbottomShadowPixmap' 63 | {XtNbottomShadowPixmap, XtCBottomShadowPixmap, XtRPixmap, sizeof(Pixmap), | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/PanedP.h:64, from Paned.c:72: ../include/X11/Xaw3d/Paned.h:128:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 128 | #define XtNbetweenCursor "betweenCursor" | ^~~~~~~~~~~~~~~ Paned.c:146:6: note: in expansion of macro 'XtNbetweenCursor' 146 | {XtNbetweenCursor, XtCCursor, XtRCursor, sizeof(Cursor), | ^~~~~~~~~~~~~~~~ ThreeD.c:48:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 48 | #define XtCBottomShadowPixmap "BottomShadowPixmap" | ^~~~~~~~~~~~~~~~~~~~ ThreeD.c:63:29: note: in expansion of macro 'XtCBottomShadowPixmap' 63 | {XtNbottomShadowPixmap, XtCBottomShadowPixmap, XtRPixmap, sizeof(Pixmap), | ^~~~~~~~~~~~~~~~~~~~~ Dialog.c:94:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | /* class_name */ "Dialog", | ^~~~~~~~ Tip.c:124:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 124 | {XtNbackingStore, XtCBackingStore, XtRBackingStore, sizeof(int), | ^~~~~~~~~~~~~~~ Tip.c:124:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 124 | {XtNbackingStore, XtCBackingStore, XtRBackingStore, sizeof(int), | ^~~~~~~~~~~~~~~ Tip.c:124:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 124 | {XtNbackingStore, XtCBackingStore, XtRBackingStore, sizeof(int), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Layout.h:82:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 82 | #define XtRLayout "Layout" | ^~~~~~~~ Layout.c:82:25: note: in expansion of macro 'XtRLayout' 82 | offset(layout), XtRLayout, NULL }, | ^~~~~~~~~ ../include/X11/Xaw3d/Paned.h:129:34: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 129 | #define XtNverticalBetweenCursor "verticalBetweenCursor" | ^~~~~~~~~~~~~~~~~~~~~~~ Paned.c:148:6: note: in expansion of macro 'XtNverticalBetweenCursor' 148 | {XtNverticalBetweenCursor, XtCCursor, XtRCursor, sizeof(Cursor), | ^~~~~~~~~~~~~~~~~~~~~~~~ AsciiText.c:94:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | /* class_name */ "Text", | ^~~~~~ In file included from ../include/X11/Xaw3d/ThreeDP.h:29, from ThreeD.c:39: ../include/X11/Xaw3d/ThreeD.h:58:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 58 | #define XtNtopShadowContrast "topShadowContrast" | ^~~~~~~~~~~~~~~~~~~ ThreeD.c:65:6: note: in expansion of macro 'XtNtopShadowContrast' 65 | {XtNtopShadowContrast, XtCTopShadowContrast, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/TipP.h:34, from Tip.c:43: ../include/X11/Xaw3d/Tip.h:71:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 71 | #define XtNtimeout "timeout" | ^~~~~~~~~ Tip.c:127:4: note: in expansion of macro 'XtNtimeout' 127 | {XtNtimeout, XtCTimeout, XtRInt, sizeof(int), | ^~~~~~~~~~ ../include/X11/Xaw3d/Tip.h:84:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 84 | #define XtCTimeout "Timeout" | ^~~~~~~~~ Tip.c:127:16: note: in expansion of macro 'XtCTimeout' 127 | {XtNtimeout, XtCTimeout, XtRInt, sizeof(int), | ^~~~~~~~~~ ../include/X11/Xaw3d/ThreeD.h:59:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 59 | #define XtCTopShadowContrast "TopShadowContrast" | ^~~~~~~~~~~~~~~~~~~ ThreeD.c:65:28: note: in expansion of macro 'XtCTopShadowContrast' 65 | {XtNtopShadowContrast, XtCTopShadowContrast, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~~~~~~~ Paned.c:149:51: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 149 | offset(v_adjust_this_cursor), XtRString, "sb_left_arrow"}, | ^~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/PanedP.h:64, from Paned.c:72: ../include/X11/Xaw3d/Paned.h:130:36: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 130 | #define XtNhorizontalBetweenCursor "horizontalBetweenCursor" | ^~~~~~~~~~~~~~~~~~~~~~~~~ Paned.c:150:6: note: in expansion of macro 'XtNhorizontalBetweenCursor' 150 | {XtNhorizontalBetweenCursor, XtCCursor, XtRCursor, sizeof(Cursor), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/ThreeD.h:60:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 60 | #define XtNbottomShadowContrast "bottomShadowContrast" | ^~~~~~~~~~~~~~~~~~~~~~ ThreeD.c:67:6: note: in expansion of macro 'XtNbottomShadowContrast' 67 | {XtNbottomShadowContrast, XtCBottomShadowContrast, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Layout.h:83:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | #define XtNdebug "debug" | ^~~~~~~ Layout.c:83:6: note: in expansion of macro 'XtNdebug' 83 | {XtNdebug, XtCBoolean, XtRBoolean, sizeof(Boolean), | ^~~~~~~~ Paned.c:151:51: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 151 | offset(h_adjust_this_cursor), XtRString, "sb_up_arrow"}, | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/ThreeD.h:61:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 61 | #define XtCBottomShadowContrast "BottomShadowContrast" | ^~~~~~~~~~~~~~~~~~~~~~ ThreeD.c:67:31: note: in expansion of macro 'XtCBottomShadowContrast' 67 | {XtNbottomShadowContrast, XtCBottomShadowContrast, XtRInt, sizeof(int), | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/PanedP.h:64, from Paned.c:72: ../include/X11/Xaw3d/Paned.h:147:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 147 | #define XtNupperCursor "upperCursor" | ^~~~~~~~~~~~~ Paned.c:153:6: note: in expansion of macro 'XtNupperCursor' 153 | {XtNupperCursor, XtCCursor, XtRCursor, sizeof(Cursor), | ^~~~~~~~~~~~~~ Tip.c:136:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 136 | "Tip", /* class_name */ | ^~~~~ ../include/X11/Xaw3d/ThreeD.h:66:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 66 | #define XtNuserData "userData" | ^~~~~~~~~~ ThreeD.c:69:6: note: in expansion of macro 'XtNuserData' 69 | {XtNuserData, XtCUserData, XtRPointer, sizeof(XtPointer), | ^~~~~~~~~~~ Paned.c:154:50: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 154 | offset(adjust_upper_cursor), XtRString, "sb_up_arrow"}, | ^~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/SmeP.h:49, from Sme.c:44: ../include/X11/Xaw3d/Sme.h:70:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 70 | #define XtNinternational "international" | ^~~~~~~~~~~~~~~ Sme.c:52:4: note: in expansion of macro 'XtNinternational' 52 | {XtNinternational, XtCInternational, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/ThreeD.h:67:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 67 | #define XtCUserData "UserData" | ^~~~~~~~~~ ThreeD.c:69:19: note: in expansion of macro 'XtCUserData' 69 | {XtNuserData, XtCUserData, XtRPointer, sizeof(XtPointer), | ^~~~~~~~~~~ In file included from ../include/X11/Xaw3d/PanedP.h:64, from Paned.c:72: ../include/X11/Xaw3d/Paned.h:137:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 137 | #define XtNlowerCursor "lowerCursor" | ^~~~~~~~~~~~~ Paned.c:155:6: note: in expansion of macro 'XtNlowerCursor' 155 | {XtNlowerCursor, XtCCursor, XtRCursor, sizeof(Cursor), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/Sme.h:67:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 67 | #define XtCInternational "International" | ^~~~~~~~~~~~~~~ Sme.c:52:22: note: in expansion of macro 'XtCInternational' 52 | {XtNinternational, XtCInternational, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/ThreeD.h:62:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 62 | #define XtNbeNiceToColormap "beNiceToColormap" | ^~~~~~~~~~~~~~~~~~ ThreeD.c:71:6: note: in expansion of macro 'XtNbeNiceToColormap' 71 | {XtNbeNiceToColormap, XtCBeNiceToColormap, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~~~~~ Paned.c:156:50: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 156 | offset(adjust_lower_cursor), XtRString, "sb_down_arrow"}, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/ThreeD.h:63:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 63 | #define XtCBeNiceToColormap "BeNiceToColormap" | ^~~~~~~~~~~~~~~~~~ ThreeD.c:71:27: note: in expansion of macro 'XtCBeNiceToColormap' 71 | {XtNbeNiceToColormap, XtCBeNiceToColormap, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/PanedP.h:64, from Paned.c:72: ../include/X11/Xaw3d/Paned.h:136:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 136 | #define XtNleftCursor "leftCursor" | ^~~~~~~~~~~~ Paned.c:157:6: note: in expansion of macro 'XtNleftCursor' 157 | {XtNleftCursor, XtCCursor, XtRCursor, sizeof(Cursor), | ^~~~~~~~~~~~~ Paned.c:158:49: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 158 | offset(adjust_left_cursor), XtRString, "sb_left_arrow"}, | ^~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/PanedP.h:64, from Paned.c:72: ../include/X11/Xaw3d/Paned.h:144:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 144 | #define XtNrightCursor "rightCursor" | ^~~~~~~~~~~~~ Paned.c:159:6: note: in expansion of macro 'XtNrightCursor' 159 | {XtNrightCursor, XtCCursor, XtRCursor, sizeof(Cursor), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/ThreeD.h:68:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 68 | #define XtNrelief "relief" | ^~~~~~~~ ThreeD.c:76:6: note: in expansion of macro 'XtNrelief' 76 | {XtNrelief, XtCRelief, XtRRelief, sizeof(XtRelief), | ^~~~~~~~~ ../include/X11/Xaw3d/ThreeD.h:69:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 69 | #define XtCRelief "Relief" | ^~~~~~~~ ThreeD.c:76:17: note: in expansion of macro 'XtCRelief' 76 | {XtNrelief, XtCRelief, XtRRelief, sizeof(XtRelief), | ^~~~~~~~~ In file included from ThreeD.c:39: ../include/X11/Xaw3d/ThreeDP.h:32:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 32 | #define XtRRelief "Relief" | ^~~~~~~~ ThreeD.c:76:28: note: in expansion of macro 'XtRRelief' 76 | {XtNrelief, XtCRelief, XtRRelief, sizeof(XtRelief), | ^~~~~~~~~ Layout.c:116:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 116 | /* class name */ "Layout", | ^~~~~~~~ Paned.c:160:50: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 160 | offset(adjust_right_cursor), XtRString, "sb_right_arrow"}, | ^~~~~~~~~~~~~~~~ Tip.c: In function 'XawCvtBackingStoreToString': Dialog.c: In function 'Initialize': Tip.c:199:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 199 | buffer = XtEnotUseful; | ^ Dialog.c:161:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 161 | XtSetArg(arglist[arg_cnt], XtNleft, XtChainLeft); arg_cnt++; | ^~~~~~~~ Sme.c:74:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 74 | /* class_name */ "Sme", | ^~~~~ In file included from ../include/X11/Xaw3d/PanedP.h:64, from Paned.c:72: ../include/X11/Xaw3d/Paned.h:127:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 127 | #define XtNallowResize "allowResize" | ^~~~~~~~~~~~~ Paned.c:168:6: note: in expansion of macro 'XtNallowResize' 168 | {XtNallowResize, XtCBoolean, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~ Tip.c:202:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 202 | buffer = XtEwhenMapped; | ^ Tip.c:205:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 205 | buffer = XtEalways; | ^ Tip.c:208:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 208 | buffer = XtEdefault; | ^ Scrollbar.c:109:48: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 109 | Offset(scrollbar.verCursor), XtRString, "sb_v_double_arrow"}, | ^~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Paned.h:139:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 139 | #define XtNposition "position" | ^~~~~~~~~~ Paned.c:170:6: note: in expansion of macro 'XtNposition' 170 | {XtNposition, XtCPosition, XtRInt, sizeof(int), | ^~~~~~~~~~~ ThreeD.c:94:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | /* class_name */ "ThreeD", | ^~~~~~~~ ../include/X11/Xaw3d/Paned.h:140:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 140 | #define XtNmin "min" | ^~~~~ Paned.c:172:6: note: in expansion of macro 'XtNmin' 172 | {XtNmin, XtCMin, XtRDimension, sizeof(Dimension), | ^~~~~~ ../include/X11/Xaw3d/Paned.h:151:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 151 | #define XtCMin "Min" | ^~~~~ Paned.c:172:14: note: in expansion of macro 'XtCMin' 172 | {XtNmin, XtCMin, XtRDimension, sizeof(Dimension), | ^~~~~~ Dialog.c:165:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 165 | XtSetArg(arglist[arg_cnt], XtNright, XtChainLeft); arg_cnt++; | ^~~~~~~~ ../include/X11/Xaw3d/Paned.h:141:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 141 | #define XtNmax "max" | ^~~~~ Paned.c:174:6: note: in expansion of macro 'XtNmax' 174 | {XtNmax, XtCMax, XtRDimension, sizeof(Dimension), | ^~~~~~ ../include/X11/Xaw3d/Paned.h:152:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 152 | #define XtCMax "Max" | ^~~~~ Paned.c:174:14: note: in expansion of macro 'XtCMax' 174 | {XtNmax, XtCMax, XtRDimension, sizeof(Dimension), | ^~~~~~ Scrollbar.c:111:48: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 111 | Offset(scrollbar.horCursor), XtRString, "sb_h_double_arrow"}, | ^~~~~~~~~~~~~~~~~~~ Dialog.c:170:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 170 | XtSetArg(arglist[arg_cnt], XtNfromHoriz, dw->dialog.iconW);arg_cnt++; | ^~~~~~~~ Scrollbar.c:113:47: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 113 | Offset(scrollbar.upCursor), XtRString, "sb_up_arrow"}, | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Paned.h:142:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 142 | #define XtNpreferredPaneSize "preferredPaneSize" | ^~~~~~~~~~~~~~~~~~~ Paned.c:176:6: note: in expansion of macro 'XtNpreferredPaneSize' 176 | {XtNpreferredPaneSize, XtCPreferredPaneSize, XtRDimension, | ^~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Paned.h:153:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 153 | #define XtCPreferredPaneSize "PreferredPaneSize" | ^~~~~~~~~~~~~~~~~~~ Paned.c:176:28: note: in expansion of macro 'XtCPreferredPaneSize' 176 | {XtNpreferredPaneSize, XtCPreferredPaneSize, XtRDimension, | ^~~~~~~~~~~~~~~~~~~~ Scrollbar.c:115:49: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 115 | Offset(scrollbar.downCursor), XtRString, "sb_down_arrow"}, | ^~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/TreeP.h:55, from Tree.c:58: ../include/X11/Xaw3d/Tree.h:93:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 93 | #define XtNautoReconfigure "autoReconfigure" | ^~~~~~~~~~~~~~~~~ Tree.c:87:7: note: in expansion of macro 'XtNautoReconfigure' 87 | { XtNautoReconfigure, XtCAutoReconfigure, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Paned.h:143:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 143 | #define XtNresizeToPreferred "resizeToPreferred" | ^~~~~~~~~~~~~~~~~~~ Paned.c:179:6: note: in expansion of macro 'XtNresizeToPreferred' 179 | {XtNresizeToPreferred, XtCBoolean, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~~~~~~ Dialog.c:174:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 174 | XtSetArg(arglist[arg_cnt], XtNright, XtChainRight); arg_cnt++; | ^~~~~~~~ Scrollbar.c:117:49: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 117 | Offset(scrollbar.leftCursor), XtRString, "sb_left_arrow"}, | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Paned.h:146:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 146 | #define XtNskipAdjust "skipAdjust" | ^~~~~~~~~~~~ Paned.c:181:6: note: in expansion of macro 'XtNskipAdjust' 181 | {XtNskipAdjust, XtCBoolean, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Tree.h:100:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 100 | #define XtCAutoReconfigure "AutoReconfigure" | ^~~~~~~~~~~~~~~~~ Tree.c:87:27: note: in expansion of macro 'XtCAutoReconfigure' 87 | { XtNautoReconfigure, XtCAutoReconfigure, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~~~~~ Scrollbar.c:119:50: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 119 | Offset(scrollbar.rightCursor), XtRString, "sb_right_arrow"}, | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Paned.h:145:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 145 | #define XtNshowGrip "showGrip" | ^~~~~~~~~~ Paned.c:183:6: note: in expansion of macro 'XtNshowGrip' 183 | {XtNshowGrip, XtCShowGrip, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~ ../include/X11/Xaw3d/Paned.h:154:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 154 | #define XtCShowGrip "ShowGrip" | ^~~~~~~~~~ Paned.c:183:19: note: in expansion of macro 'XtCShowGrip' 183 | {XtNshowGrip, XtCShowGrip, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~ Paned.c:220:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 220 | /* class name */ "Paned", | ^~~~~~~ Scrollbar.c:136:49: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 136 | Offset(scrollbar.foreground), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ Tree.c:96:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/TreeP.h:55, from Tree.c:58: ../include/X11/Xaw3d/Tree.h:94:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | #define XtNlineWidth "lineWidth" | ^~~~~~~~~~~ Tree.c:97:7: note: in expansion of macro 'XtNlineWidth' 97 | { XtNlineWidth, XtCLineWidth, XtRDimension, sizeof (Dimension), | ^~~~~~~~~~~~ ../include/X11/Xaw3d/Tree.h:101:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | #define XtCLineWidth "LineWidth" | ^~~~~~~~~~~ Tree.c:97:21: note: in expansion of macro 'XtCLineWidth' 97 | { XtNlineWidth, XtCLineWidth, XtRDimension, sizeof (Dimension), | ^~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/ScrollbarP.h:58, from Scrollbar.c:68: ../include/X11/Xaw3d/Scrollbar.h:114:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 114 | #define XtCShown "Shown" | ^~~~~~~ Scrollbar.c:137:14: note: in expansion of macro 'XtCShown' 137 | {XtNshown, XtCShown, XtRFloat, sizeof(float), | ^~~~~~~~ ../include/X11/Xaw3d/Tree.h:97:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | #define XtNgravity "gravity" | ^~~~~~~~~ Tree.c:99:7: note: in expansion of macro 'XtNgravity' 99 | { XtNgravity, XtCGravity, XtRGravity, sizeof (XtGravity), | ^~~~~~~~~~ ../include/X11/Xaw3d/Tree.h:104:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | #define XtCGravity "Gravity" | ^~~~~~~~~ Tree.c:99:19: note: in expansion of macro 'XtCGravity' 99 | { XtNgravity, XtCGravity, XtRGravity, sizeof (XtGravity), | ^~~~~~~~~~ ../include/X11/Xaw3d/Scrollbar.h:119:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 119 | #define XtNtopOfThumb "topOfThumb" | ^~~~~~~~~~~~ Scrollbar.c:139:4: note: in expansion of macro 'XtNtopOfThumb' 139 | {XtNtopOfThumb, XtCTopOfThumb, XtRFloat, sizeof(float), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Scrollbar.h:115:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 115 | #define XtCTopOfThumb "TopOfThumb" | ^~~~~~~~~~~~ Scrollbar.c:139:19: note: in expansion of macro 'XtCTopOfThumb' 139 | {XtNtopOfThumb, XtCTopOfThumb, XtRFloat, sizeof(float), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Scrollbar.h:120:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 120 | #define XtNpickTop "pickTop" | ^~~~~~~~~ Scrollbar.c:141:4: note: in expansion of macro 'XtNpickTop' 141 | {XtNpickTop, XtCPickTop, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~ ../include/X11/Xaw3d/Scrollbar.h:116:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 116 | #define XtCPickTop "PickTop" | ^~~~~~~~~ Scrollbar.c:141:16: note: in expansion of macro 'XtCPickTop' 141 | {XtNpickTop, XtCPickTop, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~ ../include/X11/Xaw3d/Scrollbar.h:118:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 118 | #define XtNminimumThumb "minimumThumb" | ^~~~~~~~~~~~~~ Scrollbar.c:143:4: note: in expansion of macro 'XtNminimumThumb' 143 | {XtNminimumThumb, XtCMinimumThumb, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/StripCharP.h:52, from StripChart.c:56: ../include/X11/Xaw3d/StripChart.h:106:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 106 | #define XtNminScale "minScale" | ^~~~~~~~~~ StripChart.c:72:6: note: in expansion of macro 'XtNminScale' 72 | {XtNminScale, XtCScale, XtRInt, sizeof(int), | ^~~~~~~~~~~ ../include/X11/Xaw3d/Tree.h:96:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | #define XtNtreeParent "treeParent" | ^~~~~~~~~~~~ Tree.c:109:7: note: in expansion of macro 'XtNtreeParent' 109 | { XtNtreeParent, XtCTreeParent, XtRWidget, sizeof (Widget), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Scrollbar.h:113:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 113 | #define XtCMinimumThumb "MinimumThumb" | ^~~~~~~~~~~~~~ Scrollbar.c:143:21: note: in expansion of macro 'XtCMinimumThumb' 143 | {XtNminimumThumb, XtCMinimumThumb, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Tree.h:103:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | #define XtCTreeParent "TreeParent" | ^~~~~~~~~~~~ Tree.c:109:22: note: in expansion of macro 'XtCTreeParent' 109 | { XtNtreeParent, XtCTreeParent, XtRWidget, sizeof (Widget), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/StripChart.h:102:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | #define XtCScale "Scale" | ^~~~~~~ StripChart.c:72:19: note: in expansion of macro 'XtCScale' 72 | {XtNminScale, XtCScale, XtRInt, sizeof(int), | ^~~~~~~~ ../include/X11/Xaw3d/Tree.h:95:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | #define XtNtreeGC "treeGC" | ^~~~~~~~ Tree.c:111:7: note: in expansion of macro 'XtNtreeGC' 111 | { XtNtreeGC, XtCTreeGC, XtRGC, sizeof(GC), | ^~~~~~~~~ ../include/X11/Xaw3d/Tree.h:102:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | #define XtCTreeGC "TreeGC" | ^~~~~~~~ Tree.c:111:18: note: in expansion of macro 'XtCTreeGC' 111 | { XtNtreeGC, XtCTreeGC, XtRGC, sizeof(GC), | ^~~~~~~~~ ../include/X11/Xaw3d/Tree.h:106:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 106 | #define XtRGC "GC" | ^~~~ Tree.c:111:29: note: in expansion of macro 'XtRGC' 111 | { XtNtreeGC, XtCTreeGC, XtRGC, sizeof(GC), | ^~~~~ TextSrc.c:66:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 66 | offset(edit_mode), XtRString, "read"}, | ^~~~~~ StripChart.c:75:49: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 75 | offset(strip_chart.fgpixel), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ Scrollbar.c:170:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 170 | {"StartScroll", StartScroll}, | ^~~~~~~~~~~~~ StripChart.c:77:49: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 77 | offset(strip_chart.hipixel), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ Tree.c:120:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 120 | "Tree", /* class_name */ | ^~~~~~ In file included from ../include/X11/Xaw3d/StripCharP.h:52, from StripChart.c:56: ../include/X11/Xaw3d/StripChart.h:104:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | #define XtNgetValue "getValue" | ^~~~~~~~~~ StripChart.c:78:6: note: in expansion of macro 'XtNgetValue' 78 | {XtNgetValue, XtCCallback, XtRCallback, sizeof(XtPointer), | ^~~~~~~~~~~ Scrollbar.c:172:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 172 | {"MoveThumb", MoveThumb}, | ^~~~~~~~~~~ Scrollbar.c:173:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 173 | {"NotifyThumb", NotifyThumb}, | ^~~~~~~~~~~~~ Scrollbar.c:174:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 174 | {"NotifyScroll", NotifyScroll}, | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/StripChart.h:105:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 105 | #define XtNjumpScroll "jumpScroll" | ^~~~~~~~~~~~ StripChart.c:80:6: note: in expansion of macro 'XtNjumpScroll' 80 | {XtNjumpScroll, XtCJumpScroll, XtRInt, sizeof(int), | ^~~~~~~~~~~~~ Scrollbar.c:175:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 175 | {"EndScroll", EndScroll} | ^~~~~~~~~~~ ../include/X11/Xaw3d/StripChart.h:101:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | #define XtCJumpScroll "JumpScroll" | ^~~~~~~~~~~~ StripChart.c:80:21: note: in expansion of macro 'XtCJumpScroll' 80 | {XtNjumpScroll, XtCJumpScroll, XtRInt, sizeof(int), | ^~~~~~~~~~~~~ Scrollbar.c:182:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 182 | /* class_name */ "Scrollbar", | ^~~~~~~~~~~ Dialog.c: In function 'SetValues': Dialog.c:254:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 254 | XtSetArg( args[2], XtNleft, XtChainLeft); | ^~~~~~~~ TextSrc.c:87:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 87 | /* class_name */ "TextSrc", | ^~~~~~~~~ Dialog.c:255:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 255 | XtSetArg( args[3], XtNright, XtChainLeft); | ^~~~~~~~ StripChart.c:97:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | /* class_name */ "StripChart", | ^~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/SmeLineP.h:43, from SmeLine.c:48: ../include/X11/Xaw3d/SmeLine.h:69:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 69 | #define XtNlineWidth "lineWidth" | ^~~~~~~~~~~ SmeLine.c:53:4: note: in expansion of macro 'XtNlineWidth' 53 | {XtNlineWidth, XtCLineWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~ Dialog.c:305:17: warning: declaration of 'args' shadows a previous local [-Wshadow] 305 | Arg args[1]; | ^~~~ Dialog.c:232:9: note: shadowed declaration is here 232 | Arg args[5]; | ^~~~ ../include/X11/Xaw3d/SmeLine.h:66:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 66 | #define XtCLineWidth "LineWidth" | ^~~~~~~~~~~ SmeLine.c:53:18: note: in expansion of macro 'XtCLineWidth' 53 | {XtNlineWidth, XtCLineWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~ TextSink.c:78:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 78 | offset(foreground), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/ToggleP.h:42, from Toggle.c:49: ../include/X11/Xaw3d/Toggle.h:101:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | #define XtNstate "state" | ^~~~~~~ Toggle.c:72:5: note: in expansion of macro 'XtNstate' 72 | {XtNstate, XtCState, XtRBoolean, sizeof(Boolean), | ^~~~~~~~ In file included from ../include/X11/Xaw3d/MultiSrcP.h:103, from AsciiSrc.c:50: ../include/X11/Xaw3d/MultiSrc.h:103:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | #define XtNtype "type" | ^~~~~~ AsciiSrc.c:74:6: note: in expansion of macro 'XtNtype' 74 | {XtNtype, XtCType, XtRAsciiType, sizeof (XawAsciiType), | ^~~~~~~ ../include/X11/Xaw3d/MultiSrc.h:98:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | #define XtCType "Type" | ^~~~~~ AsciiSrc.c:74:15: note: in expansion of macro 'XtCType' 74 | {XtNtype, XtCType, XtRAsciiType, sizeof (XawAsciiType), | ^~~~~~~ TextSink.c:80:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 80 | offset(background), XtRString, XtDefaultBackground}, | ^~~~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/Text.h:274, from ../include/X11/Xaw3d/TextSrc.h:58, from ../include/X11/Xaw3d/TextSrcP.h:63, from ../include/X11/Xaw3d/AsciiSrcP.h:71, from AsciiSrc.c:46: ../include/X11/Xaw3d/AsciiSrc.h:91:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | #define XtRAsciiType "AsciiType" | ^~~~~~~~~~~ AsciiSrc.c:74:24: note: in expansion of macro 'XtRAsciiType' 74 | {XtNtype, XtCType, XtRAsciiType, sizeof (XawAsciiType), | ^~~~~~~~~~~~ ../include/X11/Xaw3d/Toggle.h:93:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 93 | #define XtCState "State" | ^~~~~~~ Toggle.c:72:15: note: in expansion of macro 'XtCState' 72 | {XtNstate, XtCState, XtRBoolean, sizeof(Boolean), | ^~~~~~~~ laygram.c:206:5: warning: redundant redeclaration of 'LayYYparse' [-Wredundant-decls] 206 | int LayYYparse (void); | ^~~~~~~~~~ In file included from ../include/X11/Xaw3d/MultiSrcP.h:103, from AsciiSrc.c:50: ../include/X11/Xaw3d/MultiSrc.h:101:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | #define XtNdataCompression "dataCompression" | ^~~~~~~~~~~~~~~~~ AsciiSrc.c:76:6: note: in expansion of macro 'XtNdataCompression' 76 | {XtNdataCompression, XtCDataCompression, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~~~~~ Dialog.c: In function 'CreateDialogValueWidget': ../include/X11/Xaw3d/MultiSrc.h:96:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | #define XtCDataCompression "DataCompression" | ^~~~~~~~~~~~~~~~~ AsciiSrc.c:76:26: note: in expansion of macro 'XtCDataCompression' 76 | {XtNdataCompression, XtCDataCompression, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~~~~~ Dialog.c:360:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 360 | XtSetArg(arglist[num_args], XtNresizable, True); num_args++; | ^~~~~~~~ In file included from ../include/X11/Xaw3d/Viewport.h:53, from ../include/X11/Xaw3d/ViewportP.h:56, from Viewport.c:58: ../include/X11/Xaw3d/Reports.h:50:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 50 | #define XtNreportCallback "reportCallback" | ^~~~~~~~~~~~~~~~ Viewport.c:79:6: note: in expansion of macro 'XtNreportCallback' 79 | {XtNreportCallback, XtCReportCallback, XtRCallback, sizeof(XtPointer), | ^~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/SmeLine.h:70:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 70 | #define XtNstipple "stipple" | ^~~~~~~~~ SmeLine.c:55:4: note: in expansion of macro 'XtNstipple' 55 | {XtNstipple, XtCStipple, XtRBitmap, sizeof(Pixmap), | ^~~~~~~~~~ Tip.c: In function 'TipTimeoutCallback': ../include/X11/Xaw3d/MultiSrc.h:102:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | #define XtNpieceSize "pieceSize" | ^~~~~~~~~~~ AsciiSrc.c:78:6: note: in expansion of macro 'XtNpieceSize' 78 | {XtNpieceSize, XtCPieceSize, XtRInt, sizeof (XawTextPosition), | ^~~~~~~~~~~~ ../include/X11/Xaw3d/SmeLine.h:67:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 67 | #define XtCStipple "Stipple" | ^~~~~~~~~ SmeLine.c:55:16: note: in expansion of macro 'XtCStipple' 55 | {XtNstipple, XtCStipple, XtRBitmap, sizeof(Pixmap), | ^~~~~~~~~~ ../include/X11/Xaw3d/MultiSrc.h:97:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | #define XtCPieceSize "PieceSize" | ^~~~~~~~~~~ AsciiSrc.c:78:20: note: in expansion of macro 'XtCPieceSize' 78 | {XtNpieceSize, XtCPieceSize, XtRInt, sizeof (XawTextPosition), | ^~~~~~~~~~~~ Tip.c:605:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 605 | XtSetArg(args[0], XtNencoding, &info->tip->tip.encoding); | ^~~~~~~~ TextSink.c:89:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 89 | /* class_name */ "TextSink", | ^~~~~~~~~~ ../include/X11/Xaw3d/Reports.h:51:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 51 | #define XtCReportCallback "reportCallback" | ^~~~~~~~~~~~~~~~ Viewport.c:79:25: note: in expansion of macro 'XtCReportCallback' 79 | {XtNreportCallback, XtCReportCallback, XtRCallback, sizeof(XtPointer), | ^~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/SimpleMenP.h:40, from SimpleMenu.c:46: ../include/X11/Xaw3d/SimpleMenu.h:91:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | #define XtNlabelClass "labelClass" | ^~~~~~~~~~~~ SimpleMenu.c:67:4: note: in expansion of macro 'XtNlabelClass' 67 | {XtNlabelClass, XtCLabelClass, XtRPointer, sizeof(WidgetClass), | ^~~~~~~~~~~~~ In file included from laygram.y:13: LayYY.h:6:23: note: previous declaration of 'LayYYparse' with type 'int(void)' 6 | extern _X_HIDDEN int LayYYparse (void); | ^~~~~~~~~~ Toggle.c:73:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 73 | offset(command.set), XtRString, "off"}, | ^~~~~ Dialog.c:363:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 363 | XtSetArg(arglist[num_args], XtNfromVert, dw->dialog.labelW); num_args++; | ^~~~~~~~ ../include/X11/Xaw3d/SimpleMenu.h:101:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | #define XtCLabelClass "LabelClass" | ^~~~~~~~~~~~ SimpleMenu.c:67:20: note: in expansion of macro 'XtCLabelClass' 67 | {XtNlabelClass, XtCLabelClass, XtRPointer, sizeof(WidgetClass), | ^~~~~~~~~~~~~ SmeLine.c:58:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 58 | offset(foreground), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ Tip.c:608:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 608 | XtSetArg(args[1], XtNinternational, &info->tip->tip.international); | ^~~~~~~~ ../include/X11/Xaw3d/MultiSrc.h:104:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | #define XtNuseStringInPlace "useStringInPlace" | ^~~~~~~~~~~~~~~~~~ AsciiSrc.c:82:6: note: in expansion of macro 'XtNuseStringInPlace' 82 | {XtNuseStringInPlace, XtCUseStringInPlace, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/MultiSrc.h:99:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 99 | #define XtCUseStringInPlace "UseStringInPlace" | ^~~~~~~~~~~~~~~~~~ AsciiSrc.c:82:27: note: in expansion of macro 'XtCUseStringInPlace' 82 | {XtNuseStringInPlace, XtCUseStringInPlace, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~~~~~~ Dialog.c:364:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 364 | XtSetArg(arglist[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ ../include/X11/Xaw3d/SimpleMenu.h:94:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | #define XtNrowHeight "rowHeight" | ^~~~~~~~~~~ SimpleMenu.c:74:4: note: in expansion of macro 'XtNrowHeight' 74 | {XtNrowHeight, XtCRowHeight, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/ToggleP.h:42, from Toggle.c:49: ../include/X11/Xaw3d/Toggle.h:102:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | #define XtNradioGroup "radioGroup" | ^~~~~~~~~~~~ Toggle.c:74:5: note: in expansion of macro 'XtNradioGroup' 74 | {XtNradioGroup, XtCWidget, XtRWidget, sizeof(Widget), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/SimpleMenu.h:104:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | #define XtCRowHeight "RowHeight" | ^~~~~~~~~~~ SimpleMenu.c:74:19: note: in expansion of macro 'XtCRowHeight' 74 | {XtNrowHeight, XtCRowHeight, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~ ../include/X11/Xaw3d/Toggle.h:92:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 92 | #define XtCWidget "Widget" | ^~~~~~~~ Toggle.c:74:20: note: in expansion of macro 'XtCWidget' 74 | {XtNradioGroup, XtCWidget, XtRWidget, sizeof(Widget), | ^~~~~~~~~ Dialog.c:365:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 365 | XtSetArg(arglist[num_args], XtNright, XtChainRight); num_args++; | ^~~~~~~~ ../include/X11/Xaw3d/SimpleMenu.h:95:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | #define XtNtopMargin "topMargin" | ^~~~~~~~~~~ SimpleMenu.c:76:4: note: in expansion of macro 'XtNtopMargin' 76 | {XtNtopMargin, XtCVerticalMargins, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~ ../include/X11/Xaw3d/SimpleMenu.h:105:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 105 | #define XtCVerticalMargins "VerticalMargins" | ^~~~~~~~~~~~~~~~~ SimpleMenu.c:76:19: note: in expansion of macro 'XtCVerticalMargins' 76 | {XtNtopMargin, XtCVerticalMargins, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Toggle.h:103:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | #define XtNradioData "radioData" | ^~~~~~~~~~~ Toggle.c:76:5: note: in expansion of macro 'XtNradioData' 76 | {XtNradioData, XtCRadioData, XtRPointer, sizeof(XtPointer), | ^~~~~~~~~~~~ ../include/X11/Xaw3d/Toggle.h:95:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | #define XtCRadioData "RadioData" | ^~~~~~~~~~~ Toggle.c:76:19: note: in expansion of macro 'XtCRadioData' 76 | {XtNradioData, XtCRadioData, XtRPointer, sizeof(XtPointer), | ^~~~~~~~~~~~ SmeLine.c:79:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 79 | /* class_name */ "SmeLine", | ^~~~~~~~~ ../include/X11/Xaw3d/SimpleMenu.h:89:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 89 | #define XtNbottomMargin "bottomMargin" | ^~~~~~~~~~~~~~ SimpleMenu.c:78:4: note: in expansion of macro 'XtNbottomMargin' 78 | {XtNbottomMargin, XtCVerticalMargins, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~ Viewport.c:98:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | /* class_name */ "Viewport", | ^~~~~~~~~~ ../include/X11/Xaw3d/SimpleMenu.h:105:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 105 | #define XtCVerticalMargins "VerticalMargins" | ^~~~~~~~~~~~~~~~~ SimpleMenu.c:78:22: note: in expansion of macro 'XtCVerticalMargins' 78 | {XtNbottomMargin, XtCVerticalMargins, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/SmeBSBP.h:44, from SimpleMenu.c:47: ../include/X11/Xaw3d/SmeBSB.h:85:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 85 | #define XtNleftWhitespace "leftWhitespace" | ^~~~~~~~~~~~~~~~ SimpleMenu.c:80:4: note: in expansion of macro 'XtNleftWhitespace' 80 | {XtNleftWhitespace, XtCHorizontalWhitespace, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/SimpleMenP.h:40, from SimpleMenu.c:46: ../include/X11/Xaw3d/SimpleMenu.h:109:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 109 | #define XtCHorizontalWhitespace "HorizontalWhitespace" | ^~~~~~~~~~~~~~~~~~~~~~ SimpleMenu.c:80:24: note: in expansion of macro 'XtCHorizontalWhitespace' 80 | {XtNleftWhitespace, XtCHorizontalWhitespace, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~~~~~~~~~ Toggle.c:101:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | {"toggle", Toggle}, | ^~~~~~~~ AsciiSrc.c:124:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 124 | /* class_name */ "AsciiSrc", | ^~~~~~~~~~ In file included from ../include/X11/Xaw3d/SmeBSBP.h:44, from SimpleMenu.c:47: ../include/X11/Xaw3d/SmeBSB.h:88:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 88 | #define XtNrightWhitespace "rightWhitespace" | ^~~~~~~~~~~~~~~~~ SimpleMenu.c:82:4: note: in expansion of macro 'XtNrightWhitespace' 82 | {XtNrightWhitespace, XtCHorizontalWhitespace, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~~~~ Toggle.c:102:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | {"notify", Notify}, | ^~~~~~~~ In file included from ../include/X11/Xaw3d/SimpleMenP.h:40, from SimpleMenu.c:46: ../include/X11/Xaw3d/SimpleMenu.h:109:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 109 | #define XtCHorizontalWhitespace "HorizontalWhitespace" | ^~~~~~~~~~~~~~~~~~~~~~ SimpleMenu.c:82:25: note: in expansion of macro 'XtCHorizontalWhitespace' 82 | {XtNrightWhitespace, XtCHorizontalWhitespace, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~~~~~~~~~ Toggle.c:103:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | {"set", ToggleSet}, | ^~~~~ Label.c:88:46: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 88 | offset(label.foreground), XtRString, XtDefaultForeground}, | ^~~~~~~~~~~~~~~~~~~ Toggle.c:111:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 111 | "Toggle", /* class_name */ | ^~~~~~~~ In file included from ../include/X11/Xaw3d/SimpleP.h:53, from ../include/X11/Xaw3d/ThreeDP.h:30, from SimpleMenu.c:50: ../include/X11/Xaw3d/Simple.h:83:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | #define XtNcursor "cursor" | ^~~~~~~~ SimpleMenu.c:92:4: note: in expansion of macro 'XtNcursor' 92 | {XtNcursor, XtCCursor, XtRCursor, sizeof(Cursor), | ^~~~~~~~~ In file included from ../include/X11/Xaw3d/SimpleMenP.h:40, from SimpleMenu.c:46: ../include/X11/Xaw3d/SimpleMenu.h:92:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 92 | #define XtNmenuOnScreen "menuOnScreen" | ^~~~~~~~~~~~~~ SimpleMenu.c:94:4: note: in expansion of macro 'XtNmenuOnScreen' 94 | {XtNmenuOnScreen, XtCMenuOnScreen, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/Viewport.h:52, from ../include/X11/Xaw3d/ViewportP.h:56, from Viewport.c:58: Viewport.c: In function 'CreateScrollbar': ../include/X11/Xaw3d/SimpleMenu.h:102:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | #define XtCMenuOnScreen "MenuOnScreen" | ^~~~~~~~~~~~~~ SimpleMenu.c:94:22: note: in expansion of macro 'XtCMenuOnScreen' 94 | {XtNmenuOnScreen, XtCMenuOnScreen, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Form.h:102:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | #define XtNleft "left" | ^~~~~~ Viewport.c:166:10: note: in expansion of macro 'XtNleft' 166 | {XtNleft, (XtArgVal) 0}, | ^~~~~~~ Label.c:90:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 90 | offset(label.font),XtRString, XtDefaultFont}, | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/SimpleMenu.h:93:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 93 | #define XtNpopupOnEntry "popupOnEntry" | ^~~~~~~~~~~~~~ SimpleMenu.c:96:4: note: in expansion of macro 'XtNpopupOnEntry' 96 | {XtNpopupOnEntry, XtCPopupOnEntry, XtRWidget, sizeof(Widget), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Form.h:103:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | #define XtNright "right" | ^~~~~~~ Viewport.c:167:10: note: in expansion of macro 'XtNright' 167 | {XtNright, (XtArgVal) 0}, | ^~~~~~~~ ../include/X11/Xaw3d/SimpleMenu.h:103:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | #define XtCPopupOnEntry "PopupOnEntry" | ^~~~~~~~~~~~~~ SimpleMenu.c:96:22: note: in expansion of macro 'XtCPopupOnEntry' 96 | {XtNpopupOnEntry, XtCPopupOnEntry, XtRWidget, sizeof(Widget), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Form.h:101:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | #define XtNbottom "bottom" | ^~~~~~~~ Viewport.c:169:10: note: in expansion of macro 'XtNbottom' 169 | {XtNbottom, (XtArgVal) 0}, | ^~~~~~~~~ Label.c:93:42: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 93 | offset(label.fontset),XtRString, XtDefaultFontSet}, | ^~~~~~~~~~~~~~~~ SimpleMenu.c:98:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | {XtNbackingStore, XtCBackingStore, XtRBackingStore, sizeof (int), | ^~~~~~~~~~~~~~~ SimpleMenu.c:98:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | {XtNbackingStore, XtCBackingStore, XtRBackingStore, sizeof (int), | ^~~~~~~~~~~~~~~ SimpleMenu.c:98:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | {XtNbackingStore, XtCBackingStore, XtRBackingStore, sizeof (int), | ^~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/SimpleMenP.h:40, from SimpleMenu.c:46: ../include/X11/Xaw3d/SimpleMenu.h:96:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | #define XtNjumpScroll "jumpScroll" | ^~~~~~~~~~~~ SimpleMenu.c:101:4: note: in expansion of macro 'XtNjumpScroll' 101 | {XtNjumpScroll, XtCJumpScroll, XtRInt, sizeof(int), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/SimpleMenu.h:106:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 106 | #define XtCJumpScroll "JumpScroll" | ^~~~~~~~~~~~ SimpleMenu.c:101:20: note: in expansion of macro 'XtCJumpScroll' 101 | {XtNjumpScroll, XtCJumpScroll, XtRInt, sizeof(int), | ^~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/Command.h:52, from Label.c:62: ../include/X11/Xaw3d/Label.h:98:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | #define XtNencoding "encoding" | ^~~~~~~~~~ Label.c:97:6: note: in expansion of macro 'XtNencoding' 97 | {XtNencoding, XtCEncoding, XtRUnsignedChar, sizeof(unsigned char), | ^~~~~~~~~~~ ../include/X11/Xaw3d/Label.h:99:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 99 | #define XtCEncoding "Encoding" | ^~~~~~~~~~ Label.c:97:19: note: in expansion of macro 'XtCEncoding' 97 | {XtNencoding, XtCEncoding, XtRUnsignedChar, sizeof(unsigned char), | ^~~~~~~~~~~ SimpleMenu.c:159:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 159 | {"notify", Notify}, | ^~~~~~~~ Viewport.c:178:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 178 | XtSetArg(barArgs[2], XtNleft, | ^~~~~~~~ SimpleMenu.c:160:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 160 | {"highlight", Highlight}, | ^~~~~~~~~~~ SimpleMenu.c:161:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 161 | {"unhighlight", Unhighlight}, | ^~~~~~~~~~~~~ SimpleMenu.c:162:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 162 | {"popdown", Popdown} | ^~~~~~~~~ ../include/X11/Xaw3d/Label.h:96:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | #define XtNleftBitmap "leftBitmap" | ^~~~~~~~~~~~ Label.c:105:6: note: in expansion of macro 'XtNleftBitmap' 105 | {XtNleftBitmap, XtCLeftBitmap, XtRBitmap, sizeof(Pixmap), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Label.h:97:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | #define XtCLeftBitmap "LeftBitmap" | ^~~~~~~~~~~~ Label.c:105:21: note: in expansion of macro 'XtCLeftBitmap' 105 | {XtNleftBitmap, XtCLeftBitmap, XtRBitmap, sizeof(Pixmap), | ^~~~~~~~~~~~~ SimpleMenu.c:178:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 178 | /* class_name */ "SimpleMenu", | ^~~~~~~~~~~~ Viewport.c:180:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 180 | XtSetArg(barArgs[3], XtNright, | ^~~~~~~~ In file included from ../include/X11/Xaw3d/ThreeDP.h:29, from ../include/X11/Xaw3d/LabelP.h:65, from Label.c:63: ../include/X11/Xaw3d/ThreeD.h:52:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 52 | #define XtNshadowWidth "shadowWidth" | ^~~~~~~~~~~~~ Label.c:111:6: note: in expansion of macro 'XtNshadowWidth' 111 | {XtNshadowWidth, XtCShadowWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~ Viewport.c:184:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 184 | XtSetArg(barArgs[5], XtNbottom, | ^~~~~~~~ ../include/X11/Xaw3d/ThreeD.h:53:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 53 | #define XtCShadowWidth "ShadowWidth" | ^~~~~~~~~~~~~ Label.c:111:22: note: in expansion of macro 'XtCShadowWidth' 111 | {XtNshadowWidth, XtCShadowWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~ Vendor.c:183:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 183 | /* class_name */ "VendorShell", | ^~~~~~~~~~~~~ Panner.c:96:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | { "start", ActionStart }, /* start tmp graphics */ | ^~~~~~~ Viewport.c: In function 'Initialize': Viewport.c:234:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 234 | XtSetArg(threeD_args[arg_cnt], XtNleft, XtChainLeft); arg_cnt++; | ^~~~~~~~ Label.c:131:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 131 | /* class_name */ "Label", | ^~~~~~~ Viewport.c:235:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 235 | XtSetArg(threeD_args[arg_cnt], XtNright, XtChainRight); arg_cnt++; | ^~~~~~~~ Panner.c:97:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | { "stop", ActionStop }, /* stop tmp graphics */ | ^~~~~~ Panner.c:98:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | { "abort", ActionAbort }, /* punt */ | ^~~~~~~ Panner.c:99:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 99 | { "move", ActionMove }, /* move tmp graphics on Motion event */ | ^~~~~~ Panner.c:100:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 100 | { "page", ActionPage }, /* page around usually from keyboard */ | ^~~~~~ Viewport.c:237:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 237 | XtSetArg(threeD_args[arg_cnt], XtNbottom, XtChainBottom); arg_cnt++; | ^~~~~~~~ Panner.c:101:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | { "notify", ActionNotify }, /* callback new position */ | ^~~~~~~~ Panner.c:102:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | { "set", ActionSet }, /* set various parameters */ | ^~~~~ Viewport.c:240:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 240 | XtSetArg(threeD_args[arg_cnt], XtNrelief, XtReliefSunken); arg_cnt++; | ^~~~~~~~ In file included from ../include/X11/Xaw3d/VendorEP.h:57, from Vendor.c:85: ../include/X11/Xaw3d/XawImP.h:57:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 57 | #define XtNinputMethod "inputMethod" | ^~~~~~~~~~~~~ Vendor.c:254:4: note: in expansion of macro 'XtNinputMethod' 254 | {XtNinputMethod, XtCInputMethod, XtRString, sizeof(String), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/XawImP.h:58:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 58 | #define XtCInputMethod "InputMethod" | ^~~~~~~~~~~~~ Vendor.c:254:20: note: in expansion of macro 'XtCInputMethod' 254 | {XtNinputMethod, XtCInputMethod, XtRString, sizeof(String), | ^~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/PannerP.h:31, from Panner.c:35: ../include/X11/Xaw3d/Panner.h:71:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 71 | #define XtNallowOff "allowOff" | ^~~~~~~~~~ Panner.c:111:7: note: in expansion of macro 'XtNallowOff' 111 | { XtNallowOff, XtCAllowOff, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:72:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 72 | #define XtCAllowOff "AllowOff" | ^~~~~~~~~~ Panner.c:111:20: note: in expansion of macro 'XtCAllowOff' 111 | { XtNallowOff, XtCAllowOff, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~ ../include/X11/Xaw3d/XawImP.h:59:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 59 | #define XtNpreeditType "preeditType" | ^~~~~~~~~~~~~ Vendor.c:257:4: note: in expansion of macro 'XtNpreeditType' 257 | {XtNpreeditType, XtCPreeditType, XtRString, sizeof(String), | ^~~~~~~~~~~~~~ Viewport.c:261:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 261 | XtSetArg(clip_args[arg_cnt], XtNleft, XtChainLeft); arg_cnt++; | ^~~~~~~~ ../include/X11/Xaw3d/XawImP.h:60:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 60 | #define XtCPreeditType "PreeditType" | ^~~~~~~~~~~~~ Vendor.c:257:20: note: in expansion of macro 'XtCPreeditType' 257 | {XtNpreeditType, XtCPreeditType, XtRString, sizeof(String), | ^~~~~~~~~~~~~~ Viewport.c:262:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 262 | XtSetArg(clip_args[arg_cnt], XtNright, XtChainRight); arg_cnt++; | ^~~~~~~~ ../include/X11/Xaw3d/XawImP.h:61:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 61 | #define XtNopenIm "openIm" | ^~~~~~~~ Vendor.c:260:4: note: in expansion of macro 'XtNopenIm' 260 | {XtNopenIm, XtCOpenIm, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~ ../include/X11/Xaw3d/XawImP.h:62:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 62 | #define XtCOpenIm "OpenIm" | ^~~~~~~~ Vendor.c:260:15: note: in expansion of macro 'XtCOpenIm' 260 | {XtNopenIm, XtCOpenIm, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~ Viewport.c:264:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 264 | XtSetArg(clip_args[arg_cnt], XtNbottom, XtChainBottom); arg_cnt++; | ^~~~~~~~ ../include/X11/Xaw3d/XawImP.h:63:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 63 | #define XtNsharedIc "sharedIc" | ^~~~~~~~~~ Vendor.c:263:4: note: in expansion of macro 'XtNsharedIc' 263 | {XtNsharedIc, XtCSharedIc, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~ ../include/X11/Xaw3d/XawImP.h:64:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 64 | #define XtCSharedIc "SharedIc" | ^~~~~~~~~~ Vendor.c:263:17: note: in expansion of macro 'XtCSharedIc' 263 | {XtNsharedIc, XtCSharedIc, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~ In file included from ../include/X11/Xaw3d/Panner.h:31, from ../include/X11/Xaw3d/PannerP.h:31, from Panner.c:35: ../include/X11/Xaw3d/Reports.h:50:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 50 | #define XtNreportCallback "reportCallback" | ^~~~~~~~~~~~~~~~ Panner.c:115:7: note: in expansion of macro 'XtNreportCallback' 115 | { XtNreportCallback, XtCReportCallback, XtRCallback, sizeof(XtPointer), | ^~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Reports.h:51:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 51 | #define XtCReportCallback "reportCallback" | ^~~~~~~~~~~~~~~~ Panner.c:115:26: note: in expansion of macro 'XtCReportCallback' 115 | { XtNreportCallback, XtCReportCallback, XtRCallback, sizeof(XtPointer), | ^~~~~~~~~~~~~~~~~ Vendor.c:277:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 277 | /* class_name */ "VendorShellExt", | ^~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/PannerP.h:31, from Panner.c:35: ../include/X11/Xaw3d/Panner.h:75:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 75 | #define XtNdefaultScale "defaultScale" | ^~~~~~~~~~~~~~ Panner.c:117:7: note: in expansion of macro 'XtNdefaultScale' 117 | { XtNdefaultScale, XtCDefaultScale, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:76:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 76 | #define XtCDefaultScale "DefaultScale" | ^~~~~~~~~~~~~~ Panner.c:117:24: note: in expansion of macro 'XtCDefaultScale' 117 | { XtNdefaultScale, XtCDefaultScale, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:85:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 85 | #define XtNrubberBand "rubberBand" | ^~~~~~~~~~~~ Panner.c:119:7: note: in expansion of macro 'XtNrubberBand' 119 | { XtNrubberBand, XtCRubberBand, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:86:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 86 | #define XtCRubberBand "RubberBand" | ^~~~~~~~~~~~ Panner.c:119:22: note: in expansion of macro 'XtCRubberBand' 119 | { XtNrubberBand, XtCRubberBand, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:81:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 81 | #define XtNinternalSpace "internalSpace" | ^~~~~~~~~~~~~~~ Panner.c:123:7: note: in expansion of macro 'XtNinternalSpace' 123 | { XtNinternalSpace, XtCInternalSpace, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:82:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 82 | #define XtCInternalSpace "InternalSpace" | ^~~~~~~~~~~~~~~ Panner.c:123:25: note: in expansion of macro 'XtCInternalSpace' 123 | { XtNinternalSpace, XtCInternalSpace, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:83:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | #define XtNlineWidth "lineWidth" | ^~~~~~~~~~~ Panner.c:125:7: note: in expansion of macro 'XtNlineWidth' 125 | { XtNlineWidth, XtCLineWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:84:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 84 | #define XtCLineWidth "LineWidth" | ^~~~~~~~~~~ Panner.c:125:21: note: in expansion of macro 'XtCLineWidth' 125 | { XtNlineWidth, XtCLineWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:77:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 77 | #define XtNcanvasWidth "canvasWidth" | ^~~~~~~~~~~~~ Panner.c:127:7: note: in expansion of macro 'XtNcanvasWidth' 127 | { XtNcanvasWidth, XtCCanvasWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:78:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 78 | #define XtCCanvasWidth "CanvasWidth" | ^~~~~~~~~~~~~ Panner.c:127:23: note: in expansion of macro 'XtCCanvasWidth' 127 | { XtNcanvasWidth, XtCCanvasWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:79:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 79 | #define XtNcanvasHeight "canvasHeight" | ^~~~~~~~~~~~~~ Panner.c:129:7: note: in expansion of macro 'XtNcanvasHeight' 129 | { XtNcanvasHeight, XtCCanvasHeight, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:80:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 80 | #define XtCCanvasHeight "CanvasHeight" | ^~~~~~~~~~~~~~ Panner.c:129:24: note: in expansion of macro 'XtCCanvasHeight' 129 | { XtNcanvasHeight, XtCCanvasHeight, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~ In file included from laylex.l:18: LayYY.h:6:23: warning: redundant redeclaration of 'LayYYparse' [-Wredundant-decls] 6 | extern _X_HIDDEN int LayYYparse (void); | ^~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:91:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 91 | #define XtNsliderX "sliderX" | ^~~~~~~~~ Panner.c:131:7: note: in expansion of macro 'XtNsliderX' 131 | { XtNsliderX, XtCSliderX, XtRPosition, sizeof(Position), | ^~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:92:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 92 | #define XtCSliderX "SliderX" | ^~~~~~~~~ Panner.c:131:19: note: in expansion of macro 'XtCSliderX' 131 | { XtNsliderX, XtCSliderX, XtRPosition, sizeof(Position), | ^~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:93:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 93 | #define XtNsliderY "sliderY" | ^~~~~~~~~ Panner.c:133:7: note: in expansion of macro 'XtNsliderY' 133 | { XtNsliderY, XtCSliderY, XtRPosition, sizeof(Position), | ^~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:94:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | #define XtCSliderY "SliderY" | ^~~~~~~~~ Panner.c:133:19: note: in expansion of macro 'XtCSliderY' 133 | { XtNsliderY, XtCSliderY, XtRPosition, sizeof(Position), | ^~~~~~~~~~ In file included from laylex.l:17: laygram.h:125:5: note: previous declaration of 'LayYYparse' with type 'int(void)' 125 | int LayYYparse (void); | ^~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:95:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | #define XtNsliderWidth "sliderWidth" | ^~~~~~~~~~~~~ Panner.c:135:7: note: in expansion of macro 'XtNsliderWidth' 135 | { XtNsliderWidth, XtCSliderWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:96:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | #define XtCSliderWidth "SliderWidth" | ^~~~~~~~~~~~~ Panner.c:135:23: note: in expansion of macro 'XtCSliderWidth' 135 | { XtNsliderWidth, XtCSliderWidth, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:97:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | #define XtNsliderHeight "sliderHeight" | ^~~~~~~~~~~~~~ Panner.c:137:7: note: in expansion of macro 'XtNsliderHeight' 137 | { XtNsliderHeight, XtCSliderHeight, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:98:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | #define XtCSliderHeight "SliderHeight" | ^~~~~~~~~~~~~~ Panner.c:137:24: note: in expansion of macro 'XtCSliderHeight' 137 | { XtNsliderHeight, XtCSliderHeight, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~ TextAction.c:65:13: warning: redundant redeclaration of '_XawTextSearch' [-Wredundant-decls] 65 | extern void _XawTextSearch(Widget, XEvent *, String *, Cardinal *); | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:89:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 89 | #define XtNshadowColor "shadowColor" | ^~~~~~~~~~~~~ Panner.c:139:7: note: in expansion of macro 'XtNshadowColor' 139 | { XtNshadowColor, XtCShadowColor, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:90:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 90 | #define XtCShadowColor "ShadowColor" | ^~~~~~~~~~~~~ Panner.c:139:23: note: in expansion of macro 'XtCShadowColor' 139 | { XtNshadowColor, XtCShadowColor, XtRPixel, sizeof(Pixel), | ^~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:87:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 87 | #define XtNshadowThickness "shadowThickness" | ^~~~~~~~~~~~~~~~~ Panner.c:141:7: note: in expansion of macro 'XtNshadowThickness' 141 | { XtNshadowThickness, XtCShadowThickness, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:88:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 88 | #define XtCShadowThickness "ShadowThickness" | ^~~~~~~~~~~~~~~~~ Panner.c:141:27: note: in expansion of macro 'XtCShadowThickness' 141 | { XtNshadowThickness, XtCShadowThickness, XtRDimension, sizeof(Dimension), | ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:73:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 73 | #define XtNbackgroundStipple "backgroundStipple" | ^~~~~~~~~~~~~~~~~~~ Panner.c:143:7: note: in expansion of macro 'XtNbackgroundStipple' 143 | { XtNbackgroundStipple, XtCBackgroundStipple, XtRString, sizeof(String), | ^~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Panner.h:74:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 74 | #define XtCBackgroundStipple "BackgroundStipple" | ^~~~~~~~~~~~~~~~~~~ Panner.c:143:29: note: in expansion of macro 'XtCBackgroundStipple' 143 | { XtNbackgroundStipple, XtCBackgroundStipple, XtRString, sizeof(String), | ^~~~~~~~~~~~~~~~~~~~ Paned.c: In function 'HandleGrip': TextAction.c:64:13: note: previous declaration of '_XawTextSearch' with type 'void(struct _WidgetRec *, XEvent *, char **, Cardinal *)' {aka 'void(struct _WidgetRec *, XEvent *, char **, unsigned int *)'} 64 | extern void _XawTextSearch(Widget, XEvent *, String *, Cardinal *); | ^~~~~~~~~~~~~~ Paned.c:1037:21: warning: cast from function call of type 'int' to non-matching type 'enum ' [-Wbad-function-cast] 1037 | direction = (Direction) toupper(*call_data->params[1]); | ^ Panner.c:164:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 164 | /* class_name */ "Panner", | ^~~~~~~~ Paned.c:1052:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1052 | XtSetArg(arglist[0], XtNcursor, &cursor); | ^~~~~~~~ Paned.c: In function 'CreateGrip': Paned.c:1161:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1161 | XtSetArg(arglist[num_args], XtNcursor, cursor); | ^~~~~~~~ laygram.c: In function 'LayYYparse': Paned.c: In function 'ChangeAllGripCursors': AsciiSrc.c: In function 'InitStringOrFile': Paned.c:1275:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1275 | XtSetArg(arglist[0], XtNcursor, cursor); | ^~~~~~~~ laygram.c:1711:20: warning: passing argument 1 of 'LayYYerror' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1711 | yyerror (YY_("syntax error")); | ^~~~~~~~~~~~~~ laygram.c:265:22: note: in definition of macro 'YY_' 265 | # define YY_(Msgid) Msgid | ^~~~~ AsciiSrc.c:1005:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1005 | open_mode = "r"; | ^ In file included from laygram.y:13: LayYY.h:11:41: note: expected 'char *' but argument is of type 'const char *' 11 | extern _X_HIDDEN void LayYYerror (char *s); | ~~~~~~^ laylex.c:28:16: warning: redundant redeclaration of 'LayYYwrap' [-Wredundant-decls] 28 | #define yytext LayYYtext | ^~~~~~~~~ laylex.c:836:12: note: in expansion of macro 'yywrap' 836 | #else | ^ In file included from laylex.l:18: LayYY.h:7:23: note: previous declaration of 'LayYYwrap' with type 'int(void)' 7 | extern _X_HIDDEN int LayYYwrap (void); | ^~~~~~~~~ laylex.c:23:15: warning: redundant redeclaration of 'LayYYlex' [-Wredundant-decls] 23 | #define yyleng LayYYleng | ^~~~~~~~ laylex.c:941:12: note: in expansion of macro 'yylex' 941 | | ^ AsciiSrc.c:1013:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1013 | open_mode = "w"; | ^ In file included from laylex.l:18: LayYY.h:10:23: note: previous declaration of 'LayYYlex' with type 'int(void)' 10 | extern _X_HIDDEN int LayYYlex (void); | ^~~~~~~~ AsciiSrc.c:1015:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1015 | open_mode = "r+"; | ^ TextPop.c: In function '_XawTextInsertFile': laygram.c:1855:16: warning: passing argument 1 of 'LayYYerror' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1855 | yyerror (YY_("memory exhausted")); | ^~~~~~~~~~~~~~~~~~ laygram.c:265:22: note: in definition of macro 'YY_' 265 | # define YY_(Msgid) Msgid | ^~~~~ In file included from laygram.y:13: LayYY.h:11:41: note: expected 'char *' but argument is of type 'const char *' 11 | extern _X_HIDDEN void LayYYerror (char *s); | ~~~~~~^ In file included from ../include/X11/Xaw3d/Text.h:52, from ../include/X11/Xaw3d/TextP.h:52, from Text.c:72: ../include/X11/Xaw3d/Simple.h:83:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | #define XtNcursor "cursor" | ^~~~~~~~ Text.c:179:4: note: in expansion of macro 'XtNcursor' 179 | {XtNcursor, XtCCursor, XtRCursor, sizeof(Cursor), | ^~~~~~~~~ Text.c:180:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 180 | offset(simple.cursor), XtRString, "xterm"}, | ^~~~~~~ MultiSink.c:115:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 115 | offset(fontset), XtRString, XtDefaultFontSet}, | ^~~~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/TextP.h:52, from Text.c:72: ../include/X11/Xaw3d/Text.h:127:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 127 | #define XtNdisplayPosition "displayPosition" | ^~~~~~~~~~~~~~~~~ Text.c:183:4: note: in expansion of macro 'XtNdisplayPosition' 183 | {XtNdisplayPosition, XtCTextPosition, XtRInt, sizeof(XawTextPosition), | ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Text.h:128:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 128 | #define XtNleftMargin "leftMargin" | ^~~~~~~~~~~~ Text.c:187:4: note: in expansion of macro 'XtNleftMargin' 187 | {XtNleftMargin, XtCMargin, XtRPosition, sizeof (Position), | ^~~~~~~~~~~~~ TextPop.c:191:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 191 | ptr = ""; | ^ ../include/X11/Xaw3d/Text.h:129:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 129 | #define XtNrightMargin "rightMargin" | ^~~~~~~~~~~~~ Text.c:189:4: note: in expansion of macro 'XtNrightMargin' 189 | {XtNrightMargin, XtCMargin, XtRPosition, sizeof (Position), | ^~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/MultiSinkP.h:89, from MultiSink.c:80: ../include/X11/Xaw3d/MultiSink.h:97:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | #define XtNecho "echo" | ^~~~~~ MultiSink.c:116:6: note: in expansion of macro 'XtNecho' 116 | {XtNecho, XtCOutput, XtRBoolean, sizeof(Boolean), | ^~~~~~~ ../include/X11/Xaw3d/MultiSink.h:94:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | #define XtCOutput "Output" | ^~~~~~~~ MultiSink.c:116:15: note: in expansion of macro 'XtCOutput' 116 | {XtNecho, XtCOutput, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~ ../include/X11/Xaw3d/Text.h:133:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 133 | #define XtNtopMargin "topMargin" | ^~~~~~~~~~~ Text.c:191:4: note: in expansion of macro 'XtNtopMargin' 191 | {XtNtopMargin, XtCMargin, XtRPosition, sizeof (Position), | ^~~~~~~~~~~~ ../include/X11/Xaw3d/Text.h:123:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 123 | #define XtNbottomMargin "bottomMargin" | ^~~~~~~~~~~~~~ Text.c:193:4: note: in expansion of macro 'XtNbottomMargin' 193 | {XtNbottomMargin, XtCMargin, XtRPosition, sizeof (Position), | ^~~~~~~~~~~~~~~ ../include/X11/Xaw3d/MultiSink.h:96:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | #define XtNdisplayNonprinting "displayNonprinting" | ^~~~~~~~~~~~~~~~~~~~ MultiSink.c:118:6: note: in expansion of macro 'XtNdisplayNonprinting' 118 | {XtNdisplayNonprinting, XtCOutput, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/MultiSink.h:94:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | #define XtCOutput "Output" | ^~~~~~~~ MultiSink.c:118:29: note: in expansion of macro 'XtCOutput' 118 | {XtNdisplayNonprinting, XtCOutput, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~ TextPop.c:196:50: warning: passing argument 3 of 'CreateDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 196 | ctx->text.file_insert = CreateDialog(w, ptr, "insertFile", | ^~~~~~~~~~~~ ../include/X11/Xaw3d/Text.h:132:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 132 | #define XtNselectTypes "selectTypes" | ^~~~~~~~~~~~~ Text.c:195:4: note: in expansion of macro 'XtNselectTypes' 195 | {XtNselectTypes, XtCSelectTypes, XtRPointer, | ^~~~~~~~~~~~~~ TextPop.c:96:44: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 96 | static Widget CreateDialog(Widget, String, String, void (*)(Widget, String, Widget)); | ^~~~~~ ../include/X11/Xaw3d/Text.h:138:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 138 | #define XtCSelectTypes "SelectTypes" | ^~~~~~~~~~~~~ Text.c:195:20: note: in expansion of macro 'XtCSelectTypes' 195 | {XtNselectTypes, XtCSelectTypes, XtRPointer, | ^~~~~~~~~~~~~~ TextPop.c: In function 'PopdownFileInsert': ../include/X11/Xaw3d/Text.h:126:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 126 | #define XtNdisplayCaret "displayCaret" | ^~~~~~~~~~~~~~ Text.c:202:4: note: in expansion of macro 'XtNdisplayCaret' 202 | {XtNdisplayCaret, XtCOutput, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~~~~~ MultiSink.c:127:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 127 | /* class_name */ "MultiSink", | ^~~~~~~~~~~ In file included from ../include/X11/Xaw3d/MultiSinkP.h:89, from Text.c:74: ../include/X11/Xaw3d/MultiSink.h:94:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 94 | #define XtCOutput "Output" | ^~~~~~~~ Text.c:202:21: note: in expansion of macro 'XtCOutput' 202 | {XtNdisplayCaret, XtCOutput, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~ TextPop.c:79:23: warning: passing argument 2 of 'SetResourceByName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 79 | #define LABEL_NAME ("label") | ^~~~~~~~~ TextPop.c:222:52: note: in expansion of macro 'LABEL_NAME' 222 | (void) SetResourceByName( ctx->text.file_insert, LABEL_NAME, | ^~~~~~~~~~ TextPop.c:100:42: note: expected 'char *' but argument is of type 'const char *' 100 | static Boolean SetResourceByName(Widget, char *, char *, XtArgVal); | ^~~~~~ In file included from ../include/X11/Xaw3d/TextP.h:52, from Text.c:72: ../include/X11/Xaw3d/Text.h:130:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 130 | #define XtNscrollVertical "scrollVertical" | ^~~~~~~~~~~~~~~~ Text.c:204:4: note: in expansion of macro 'XtNscrollVertical' 204 | {XtNscrollVertical, XtCScroll, XtRScrollMode, sizeof(XawTextScrollMode), | ^~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Text.h:137:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 137 | #define XtCScroll "Scroll" | ^~~~~~~~ Text.c:204:23: note: in expansion of macro 'XtCScroll' 204 | {XtNscrollVertical, XtCScroll, XtRScrollMode, sizeof(XawTextScrollMode), | ^~~~~~~~~ In file included from Text.c:72: ../include/X11/Xaw3d/TextP.h:225:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 225 | #define XtRScrollMode "ScrollMode" | ^~~~~~~~~~~~ Text.c:204:34: note: in expansion of macro 'XtRScrollMode' 204 | {XtNscrollVertical, XtCScroll, XtRScrollMode, sizeof(XawTextScrollMode), | ^~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/TextP.h:52, from Text.c:72: ../include/X11/Xaw3d/Text.h:131:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 131 | #define XtNscrollHorizontal "scrollHorizontal" | ^~~~~~~~~~~~~~~~~~ Text.c:206:4: note: in expansion of macro 'XtNscrollHorizontal' 206 | {XtNscrollHorizontal, XtCScroll, XtRScrollMode, sizeof(XawTextScrollMode), | ^~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/Text.h:137:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 137 | #define XtCScroll "Scroll" | ^~~~~~~~ Text.c:206:25: note: in expansion of macro 'XtCScroll' 206 | {XtNscrollHorizontal, XtCScroll, XtRScrollMode, sizeof(XawTextScrollMode), | ^~~~~~~~~ In file included from Text.c:72: ../include/X11/Xaw3d/TextP.h:225:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 225 | #define XtRScrollMode "ScrollMode" | ^~~~~~~~~~~~ Text.c:206:36: note: in expansion of macro 'XtRScrollMode' 206 | {XtNscrollHorizontal, XtCScroll, XtRScrollMode, sizeof(XawTextScrollMode), | ^~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/TextP.h:52, from Text.c:72: ../include/X11/Xaw3d/Text.h:134:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 134 | #define XtNwrap "wrap" | ^~~~~~ Text.c:208:4: note: in expansion of macro 'XtNwrap' 208 | {XtNwrap, XtCWrap, XtRWrapMode, sizeof(XawTextWrapMode), | ^~~~~~~ ../include/X11/Xaw3d/Text.h:139:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 139 | #define XtCWrap "Wrap" | ^~~~~~ Text.c:208:13: note: in expansion of macro 'XtCWrap' 208 | {XtNwrap, XtCWrap, XtRWrapMode, sizeof(XawTextWrapMode), | ^~~~~~~ In file included from Text.c:72: ../include/X11/Xaw3d/TextP.h:226:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 226 | #define XtRWrapMode "WrapMode" | ^~~~~~~~~~ Text.c:208:22: note: in expansion of macro 'XtRWrapMode' 208 | {XtNwrap, XtCWrap, XtRWrapMode, sizeof(XawTextWrapMode), | ^~~~~~~~~~~ ../include/X11/Xaw3d/TextP.h:227:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 227 | #define XtRResizeMode "ResizeMode" | ^~~~~~~~~~~~ Text.c:210:26: note: in expansion of macro 'XtRResizeMode' 210 | {XtNresize, XtCResize, XtRResizeMode, sizeof(XawTextResizeMode), | ^~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/TextP.h:52, from Text.c:72: ../include/X11/Xaw3d/Text.h:122:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 122 | #define XtNautoFill "autoFill" | ^~~~~~~~~~ Text.c:212:4: note: in expansion of macro 'XtNautoFill' 212 | {XtNautoFill, XtCAutoFill, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~ ../include/X11/Xaw3d/Text.h:136:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 136 | #define XtCAutoFill "AutoFill" | ^~~~~~~~~~ Text.c:212:17: note: in expansion of macro 'XtCAutoFill' 212 | {XtNautoFill, XtCAutoFill, XtRBoolean, sizeof(Boolean), | ^~~~~~~~~~~ TextPop.c: In function 'DoInsert': TextPop.c:79:23: warning: passing argument 2 of 'SetResourceByName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 79 | #define LABEL_NAME ("label") | ^~~~~~~~~ TextPop.c:257:27: note: in expansion of macro 'LABEL_NAME' 257 | LABEL_NAME, XtNlabel, (XtArgVal) msg); | ^~~~~~~~~~ TextPop.c:100:42: note: expected 'char *' but argument is of type 'const char *' 100 | static Boolean SetResourceByName(Widget, char *, char *, XtArgVal); | ^~~~~~ TextPop.c: In function 'AddInsertFileChildren': TextPop.c:337:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 337 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:338:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 338 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:339:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 339 | XtSetArg(args[num_args], XtNresizable, TRUE ); num_args++; | ^~~~~~~~ TextPop.c:345:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 345 | XtSetArg(args[num_args], XtNfromVert, label); num_args++; | ^~~~~~~~ TextPop.c:346:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 346 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ SimpleMenu.c: In function 'AddPositionAction': TextPop.c:347:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 347 | XtSetArg(args[num_args], XtNright, XtChainRight); num_args++; | ^~~~~~~~ TextPop.c:349:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 349 | XtSetArg(args[num_args], XtNresizable, TRUE); num_args++; | ^~~~~~~~ SimpleMenu.c:1115:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1115 | { "XawPositionSimpleMenu", PositionMenuAction }, | ^~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:357:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 357 | XtSetArg(args[num_args], XtNfromVert, text); num_args++; | ^~~~~~~~ TextPop.c:358:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 358 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ In file included from ../include/X11/Xaw3d/MultiSrcP.h:103, from MultiSrc.c:69: ../include/X11/Xaw3d/MultiSrc.h:103:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | #define XtNtype "type" | ^~~~~~ MultiSrc.c:94:6: note: in expansion of macro 'XtNtype' 94 | {XtNtype, XtCType, XtRMultiType, sizeof (XawAsciiType), | ^~~~~~~ TextPop.c:359:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 359 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ ../include/X11/Xaw3d/MultiSrc.h:98:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 98 | #define XtCType "Type" | ^~~~~~ MultiSrc.c:94:15: note: in expansion of macro 'XtCType' 94 | {XtNtype, XtCType, XtRMultiType, sizeof (XawAsciiType), | ^~~~~~~ ../include/X11/Xaw3d/MultiSrc.h:106:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 106 | #define XtRMultiType "MultiType" | ^~~~~~~~~~~ MultiSrc.c:94:24: note: in expansion of macro 'XtRMultiType' 94 | {XtNtype, XtCType, XtRMultiType, sizeof (XawAsciiType), | ^~~~~~~~~~~~ TextPop.c:365:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 365 | XtSetArg(args[num_args], XtNfromVert, text); num_args++; | ^~~~~~~~ ../include/X11/Xaw3d/MultiSrc.h:101:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | #define XtNdataCompression "dataCompression" | ^~~~~~~~~~~~~~~~~ MultiSrc.c:97:6: note: in expansion of macro 'XtNdataCompression' 97 | {XtNdataCompression, XtCDataCompression, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/MultiSrc.h:96:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 96 | #define XtCDataCompression "DataCompression" | ^~~~~~~~~~~~~~~~~ MultiSrc.c:97:26: note: in expansion of macro 'XtCDataCompression' 97 | {XtNdataCompression, XtCDataCompression, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~~~~~ TextPop.c:366:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 366 | XtSetArg(args[num_args], XtNfromHoriz, insert); num_args++; | ^~~~~~~~ TextPop.c:367:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 367 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ ../include/X11/Xaw3d/MultiSrc.h:102:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | #define XtNpieceSize "pieceSize" | ^~~~~~~~~~~ MultiSrc.c:99:6: note: in expansion of macro 'XtNpieceSize' 99 | {XtNpieceSize, XtCPieceSize, XtRInt, sizeof (XawTextPosition), | ^~~~~~~~~~~~ ../include/X11/Xaw3d/MultiSrc.h:97:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | #define XtCPieceSize "PieceSize" | ^~~~~~~~~~~ MultiSrc.c:99:20: note: in expansion of macro 'XtCPieceSize' 99 | {XtNpieceSize, XtCPieceSize, XtRInt, sizeof (XawTextPosition), | ^~~~~~~~~~~~ TextPop.c:368:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 368 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ ../include/X11/Xaw3d/MultiSrc.h:104:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | #define XtNuseStringInPlace "useStringInPlace" | ^~~~~~~~~~~~~~~~~~ MultiSrc.c:103:6: note: in expansion of macro 'XtNuseStringInPlace' 103 | {XtNuseStringInPlace, XtCUseStringInPlace, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~~~~~~ ../include/X11/Xaw3d/MultiSrc.h:99:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 99 | #define XtCUseStringInPlace "UseStringInPlace" | ^~~~~~~~~~~~~~~~~~ MultiSrc.c:103:27: note: in expansion of macro 'XtCUseStringInPlace' 103 | {XtNuseStringInPlace, XtCUseStringInPlace, XtRBoolean, sizeof (Boolean), | ^~~~~~~~~~~~~~~~~~~ TextPop.c: In function 'PopdownSearch': MultiSrc.c:140:14: warning: redundant redeclaration of 'tmpnam' [-Wredundant-decls] 140 | extern char *tmpnam(String); | ^~~~~~ TextPop.c:74:25: warning: passing argument 2 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 74 | #define SEARCH_LABEL_1 ("Use to change fields.") | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:453:27: note: in expansion of macro 'SEARCH_LABEL_1' 453 | SetSearchLabels(search, SEARCH_LABEL_1, SEARCH_LABEL_2, FALSE); | ^~~~~~~~~~~~~~ TextPop.c:93:56: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 93 | static void SetSearchLabels(struct SearchAndReplace *, String, String, Boolean); | ^~~~~~ TextPop.c:75:25: warning: passing argument 3 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 75 | #define SEARCH_LABEL_2 ("Use ^q for .") | ^~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:453:43: note: in expansion of macro 'SEARCH_LABEL_2' 453 | SetSearchLabels(search, SEARCH_LABEL_1, SEARCH_LABEL_2, FALSE); | ^~~~~~~~~~~~~~ TextPop.c:93:64: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 93 | static void SetSearchLabels(struct SearchAndReplace *, String, String, Boolean); | ^~~~~~ In file included from /usr/include/fortify/stdio.h:22, from MultiSrc.c:75: /usr/include/stdio.h:131:7: note: previous declaration of 'tmpnam' with type 'char *(char *)' 131 | char *tmpnam(char *); | ^~~~~~ MultiSrc.c:142:17: warning: redundant redeclaration of '_XawTextMBToWC' [-Wredundant-decls] 142 | extern wchar_t* _XawTextMBToWC(Display *, char *, int *); | ^~~~~~~~~~~~~~ TextAction.c: In function '_DeleteOrKill': In file included from ../include/X11/Xaw3d/MultiSrcP.h:102, from MultiSrc.c:69: ../include/X11/Xaw3d/TextSrcP.h:149:10: note: previous declaration of '_XawTextMBToWC' with type 'wchar_t *(Display *, char *, int *)' {aka 'int *(Display *, char *, int *)'} 149 | wchar_t* _XawTextMBToWC( | ^~~~~~~~~~~~~~ MultiSrc.c:143:14: warning: redundant redeclaration of '_XawTextWCToMB' [-Wredundant-decls] 143 | extern char *_XawTextWCToMB(Display *, wchar_t *, int *); | ^~~~~~~~~~~~~~ In file included from ../include/X11/Xaw3d/MultiSrcP.h:102, from MultiSrc.c:69: ../include/X11/Xaw3d/TextSrcP.h:143:7: note: previous declaration of '_XawTextWCToMB' with type 'char *(Display *, wchar_t *, int *)' {aka 'char *(Display *, int *, int *)'} 143 | char* _XawTextWCToMB( | ^~~~~~~~~~~~~~ TextAction.c:848:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 848 | text.ptr = ""; /* These two lines needed to make legal TextBlock */ | ^ MultiSrc.c:149:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 149 | /* class_name */ "MultiSrc", | ^~~~~~~~~~ TextPop.c: In function '_XawTextSearch': TextPop.c:527:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 527 | ptr = ""; | ^ XawIm.c:108:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 108 | Offset (font_set), XtRString, XtDefaultFontSet | ^~~~~~~~~~~~~~~~ TextPop.c:548:59: warning: passing argument 3 of 'CreateDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 548 | ctx->text.search->search_popup = CreateDialog(w, ptr, "search", | ^~~~~~~~ TextPop.c:96:44: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 96 | static Widget CreateDialog(Widget, String, String, void (*)(Widget, String, Widget)); | ^~~~~~ MultiSink.c: In function 'SetValues': In file included from TextPop.c:61: TextPop.c: In function 'InitializeSearchWidget': ../include/X11/Xaw3d/Toggle.h:101:18: warning: passing argument 2 of 'SetResource' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | #define XtNstate "state" | ^~~~~~~ TextPop.c:587:38: note: in expansion of macro 'XtNstate' 587 | SetResource(search->left_toggle, XtNstate, (XtArgVal) TRUE); | ^~~~~~~~ TextPop.c:92:33: note: expected 'char *' but argument is of type 'const char *' 92 | static void SetResource(Widget, char *, XtArgVal); | ^~~~~~ MultiSink.c:582:18: warning: passing argument 1 of 'SetTabs' from incompatible pointer type [-Wincompatible-pointer-types] 582 | SetTabs( w, w->text_sink.tab_count, w->text_sink.char_tabs ); | ^ | | | MultiSinkObject {aka struct _MultiSinkRec *} In file included from TextPop.c:61: ../include/X11/Xaw3d/Toggle.h:101:18: warning: passing argument 2 of 'SetResource' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 101 | #define XtNstate "state" | ^~~~~~~ TextPop.c:590:39: note: in expansion of macro 'XtNstate' 590 | SetResource(search->right_toggle, XtNstate, (XtArgVal) TRUE); | ^~~~~~~~ TextPop.c:92:33: note: expected 'char *' but argument is of type 'const char *' 92 | static void SetResource(Widget, char *, XtArgVal); | ^~~~~~ MultiSink.c:99:21: note: expected 'Widget' {aka 'struct _WidgetRec *'} but argument is of type 'MultiSinkObject' {aka 'struct _MultiSinkRec *'} 99 | static void SetTabs(Widget, int, short *); | ^~~~~~ TextPop.c: In function 'AddSearchChildren': TextPop.c:615:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 615 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:616:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 616 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:617:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 617 | XtSetArg(args[num_args], XtNresizable, TRUE ); num_args++; | ^~~~~~~~ TextPop.c:623:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 623 | XtSetArg(args[num_args], XtNfromVert, search->label1); num_args++; | ^~~~~~~~ TextPop.c:624:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 624 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:625:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 625 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:626:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 626 | XtSetArg(args[num_args], XtNresizable, TRUE ); num_args++; | ^~~~~~~~ TextPop.c:638:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 638 | XtSetArg(args[num_args], XtNfromVert, search->label2); num_args++; | ^~~~~~~~ TextPop.c:639:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 639 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:640:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 640 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:641:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 641 | XtSetArg(args[num_args], XtNradioData, (XPointer) XawsdLeft + R_OFFSET); | ^~~~~~~~ TextPop.c:648:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 648 | XtSetArg(args[num_args], XtNfromVert, search->label2); num_args++; | ^~~~~~~~ TextPop.c:649:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 649 | XtSetArg(args[num_args], XtNfromHoriz, search->left_toggle); num_args++; | ^~~~~~~~ TextPop.c:650:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 650 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:651:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 651 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:652:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 652 | XtSetArg(args[num_args], XtNradioGroup, search->left_toggle); num_args++; | ^~~~~~~~ TextAction.c: In function 'AutoFill': TextPop.c:653:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 653 | XtSetArg(args[num_args], XtNradioData, (XPointer) XawsdRight + R_OFFSET); | ^~~~~~~~ TextAction.c:1351:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1351 | text.ptr = "\n"; | ^ TextPop.c:667:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 667 | XtSetArg(args[num_args], XtNfromVert, search->left_toggle); num_args++; | ^~~~~~~~ Panner.c: In function 'ActionSet': TextPop.c:669:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 669 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ Panner.c:939:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 939 | XtSetArg (args[0], XtNrubberBand, rb); | ^~~~~~~~ TextPop.c:670:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 670 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:676:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 676 | XtSetArg(args[num_args], XtNfromVert, search->left_toggle); num_args++; | ^~~~~~~~ TextPop.c:677:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 677 | XtSetArg(args[num_args], XtNfromHoriz, s_label); num_args++; | ^~~~~~~~ TextPop.c:678:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 678 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:679:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 679 | XtSetArg(args[num_args], XtNright, XtChainRight); num_args++; | ^~~~~~~~ TextPop.c:681:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 681 | XtSetArg(args[num_args], XtNresizable, TRUE); num_args++; | ^~~~~~~~ TextPop.c:689:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 689 | XtSetArg(args[num_args], XtNfromVert, s_text); num_args++; | ^~~~~~~~ TextPop.c:691:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 691 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:692:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 692 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:698:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 698 | XtSetArg(args[num_args], XtNfromHoriz, s_label); num_args++; | ^~~~~~~~ TextPop.c:699:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 699 | XtSetArg(args[num_args], XtNfromVert, s_text); num_args++; | ^~~~~~~~ TextPop.c:700:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 700 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:701:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 701 | XtSetArg(args[num_args], XtNright, XtChainRight); num_args++; | ^~~~~~~~ TextPop.c:703:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 703 | XtSetArg(args[num_args], XtNresizable, TRUE); num_args++; | ^~~~~~~~ TextPop.c:712:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 712 | XtSetArg(args[num_args], XtNfromVert, r_text); num_args++; | ^~~~~~~~ MultiSrc.c: In function '_XawMultiSaveAsFile': TextPop.c:713:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 713 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ MultiSrc.c:927:37: warning: passing argument 2 of 'WriteToFile' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 927 | ret = WriteToFile( mb_string, name ); | ^~~~ TextPop.c:714:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 714 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ MultiSrc.c:132:36: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 132 | static Boolean WriteToFile(String, String); | ^~~~~~ TextPop.c:720:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 720 | XtSetArg(args[num_args], XtNfromVert, r_text); num_args++; | ^~~~~~~~ TextPop.c:721:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 721 | XtSetArg(args[num_args], XtNfromHoriz, search_button); num_args++; | ^~~~~~~~ TextPop.c:722:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 722 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:723:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 723 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextAction.c: In function 'StripOutOldCRs': TextPop.c:729:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 729 | XtSetArg(args[num_args], XtNfromVert, r_text); num_args++; | ^~~~~~~~ TextAction.c:1678:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1678 | text.ptr= " "; | ^ TextPop.c:730:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 730 | XtSetArg(args[num_args], XtNfromHoriz, search->rep_one); num_args++; | ^~~~~~~~ TextPop.c:731:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 731 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:732:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 732 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ TextPop.c:738:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 738 | XtSetArg(args[num_args], XtNfromVert, r_text); num_args++; | ^~~~~~~~ TextPop.c:739:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 739 | XtSetArg(args[num_args], XtNfromHoriz, search->rep_all); num_args++; | ^~~~~~~~ MultiSrc.c: In function 'InitStringOrFile': TextPop.c:740:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 740 | XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++; | ^~~~~~~~ MultiSrc.c:1086:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1086 | open_mode = "r"; | ^ TextPop.c:741:3: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 741 | XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; | ^~~~~~~~ MultiSrc.c:1099:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1099 | open_mode = "w"; | ^ TextPop.c:74:25: warning: passing argument 2 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 74 | #define SEARCH_LABEL_1 ("Use to change fields.") | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:765:27: note: in expansion of macro 'SEARCH_LABEL_1' 765 | SetSearchLabels(search, SEARCH_LABEL_1, SEARCH_LABEL_2, FALSE); | ^~~~~~~~~~~~~~ MultiSrc.c:1101:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1101 | open_mode = "r+"; | ^ TextPop.c:93:56: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 93 | static void SetSearchLabels(struct SearchAndReplace *, String, String, Boolean); | ^~~~~~ TextAction.c: In function 'InsertNewCRs': TextPop.c:75:25: warning: passing argument 3 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 75 | #define SEARCH_LABEL_2 ("Use ^q for .") | ^~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:765:43: note: in expansion of macro 'SEARCH_LABEL_2' 765 | SetSearchLabels(search, SEARCH_LABEL_1, SEARCH_LABEL_2, FALSE); | ^~~~~~~~~~~~~~ TextPop.c:93:64: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 93 | static void SetSearchLabels(struct SearchAndReplace *, String, String, Boolean); | ^~~~~~ TextAction.c:1776:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1776 | text.ptr = "\n"; | ^ TextPop.c: In function 'DoSearch': TextPop.c:829:32: warning: passing argument 3 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 829 | SetSearchLabels(search, msg, "", TRUE); | ^~ TextPop.c:93:64: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 93 | static void SetSearchLabels(struct SearchAndReplace *, String, String, Boolean); | ^~~~~~ TextPop.c: In function 'Replace': TextPop.c:956:40: warning: passing argument 3 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 956 | SetSearchLabels(search, msg, "", TRUE); | ^~ TextPop.c:93:64: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 93 | static void SetSearchLabels(struct SearchAndReplace *, String, String, Boolean); | ^~~~~~ TextPop.c:969:33: warning: passing argument 2 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 969 | SetSearchLabels(search, "Selection has been modified, aborting.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:93:56: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 93 | static void SetSearchLabels(struct SearchAndReplace *, String, String, Boolean); | ^~~~~~ TextPop.c:970:25: warning: passing argument 3 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 970 | "", TRUE); | ^~ TextPop.c:93:64: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 93 | static void SetSearchLabels(struct SearchAndReplace *, String, String, Boolean); | ^~~~~~ TextPop.c:981:31: warning: passing argument 2 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 981 | SetSearchLabels(search, "*** Error while replacing", msg, TRUE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:93:56: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 93 | static void SetSearchLabels(struct SearchAndReplace *, String, String, Boolean); | ^~~~~~ TextPop.c: In function '_XawTextSetField': TextPop.c:1051:29: warning: passing argument 2 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1051 | SetSearchLabels(search, "*** Error: SetField Action must have", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:1018:57: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 1018 | SetSearchLabels(struct SearchAndReplace *search, String msg1, String msg2, Boolean bell) | ~~~~~~~^~~~ TextAction.c: At top level: TextPop.c:1052:21: warning: passing argument 3 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1052 | "exactly one argument. ***", TRUE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:1018:70: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 1018 | SetSearchLabels(struct SearchAndReplace *search, String msg1, String msg2, Boolean bell) | ~~~~~~~^~~~ TextAction.c:1998:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1998 | {"forward-character", MoveForwardChar}, | ^~~~~~~~~~~~~~~~~~~ TextPop.c:1067:29: warning: passing argument 2 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1067 | SetSearchLabels(search, "*** Error: SetField Action's first Argument must", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TextAction.c:1999:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1999 | {"backward-character", MoveBackwardChar}, | ^~~~~~~~~~~~~~~~~~~~ TextPop.c:1018:57: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 1018 | SetSearchLabels(struct SearchAndReplace *search, String msg1, String msg2, Boolean bell) | ~~~~~~~^~~~ TextPop.c:1068:21: warning: passing argument 3 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1068 | "be either 'Search' or 'Replace'. ***", TRUE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:1018:70: note: expected 'String' {aka 'char *'} but argument is of type 'const char *' 1018 | SetSearchLabels(struct SearchAndReplace *search, String msg1, String msg2, Boolean bell) | ~~~~~~~^~~~ TextAction.c:2000:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2000 | {"forward-word", MoveForwardWord}, | ^~~~~~~~~~~~~~ TextAction.c:2001:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2001 | {"backward-word", MoveBackwardWord}, | ^~~~~~~~~~~~~~~ TextAction.c:2002:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2002 | {"forward-paragraph", MoveForwardParagraph}, | ^~~~~~~~~~~~~~~~~~~ TextAction.c:2003:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2003 | {"backward-paragraph", MoveBackwardParagraph}, | ^~~~~~~~~~~~~~~~~~~~ TextAction.c:2004:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2004 | {"beginning-of-line", MoveToLineStart}, | ^~~~~~~~~~~~~~~~~~~ TextAction.c:2005:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2005 | {"end-of-line", MoveToLineEnd}, | ^~~~~~~~~~~~~ TextAction.c:2006:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2006 | {"next-line", MoveNextLine}, | ^~~~~~~~~~~ TextAction.c:2007:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2007 | {"previous-line", MovePreviousLine}, | ^~~~~~~~~~~~~~~ TextAction.c:2008:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2008 | {"next-page", MoveNextPage}, | ^~~~~~~~~~~ TextAction.c:2009:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2009 | {"previous-page", MovePreviousPage}, | ^~~~~~~~~~~~~~~ TextPop.c: At top level: TextAction.c:2010:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2010 | {"beginning-of-file", MoveBeginningOfFile}, | ^~~~~~~~~~~~~~~~~~~ TextPop.c:1305:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1305 | static char *WM_DELETE_WINDOW = "WM_DELETE_WINDOW"; | ^~~~~~~~~~~~~~~~~~ TextAction.c:2011:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2011 | {"end-of-file", MoveEndOfFile}, | ^~~~~~~~~~~~~ TextAction.c:2012:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2012 | {"scroll-one-line-up", ScrollOneLineUp}, | ^~~~~~~~~~~~~~~~~~~~ XawIm.c: In function '_XawImRealize': TextPop.c: In function 'SetWMProtocolTranslations': TextAction.c:2013:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2013 | {"scroll-one-line-down", ScrollOneLineDown}, | ^~~~~~~~~~~~~~~~~~~~~~ TextPop.c:1360:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1360 | actions[0].string = "XawWMProtocols"; | ^ TextAction.c:2017:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2017 | {"delete-next-character", DeleteForwardChar}, | ^~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:1376:27: warning: passing argument 4 of 'XtAddEventHandler' from incompatible pointer type [-Wincompatible-pointer-types] 1376 | XawVendorShellExtResize, (XtPointer)NULL ); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(struct _WidgetRec *) Text.c: In function 'LoseSelection': In file included from /usr/include/X11/IntrinsicP.h:51, from XawIm.c:58: /usr/include/X11/Intrinsic.h:840:5: note: expected 'XtEventHandler' {aka 'void (*)(struct _WidgetRec *, void *, XEvent *, char *)'} but argument is of type 'void (*)(struct _WidgetRec *)' 840 | XtEventHandler /* proc */, | ^~~~~~~~~~~~~~ TextAction.c:2018:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2018 | {"delete-previous-character", DeleteBackwardChar}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Text.c:1753:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1753 | if (ctx->text.old_insert >= 0) /* Update in progress. */ | ^~ TextAction.c:2019:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2019 | {"delete-next-word", DeleteForwardWord}, | ^~~~~~~~~~~~~~~~~~ Text.c:1756:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1756 | prevSalt = 0; | ^~~~~~~~ TextAction.c:2020:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2020 | {"delete-previous-word", DeleteBackwardWord}, | ^~~~~~~~~~~~~~~~~~~~~~ TextAction.c:2021:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2021 | {"delete-selection", DeleteCurrentSelection}, | ^~~~~~~~~~~~~~~~~~ TextAction.c:2025:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2025 | {"kill-word", KillForwardWord}, | ^~~~~~~~~~~ TextAction.c:2026:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2026 | {"backward-kill-word", KillBackwardWord}, | ^~~~~~~~~~~~~~~~~~~~ TextAction.c:2027:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2027 | {"kill-selection", KillCurrentSelection}, | ^~~~~~~~~~~~~~~~ TextAction.c:2028:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2028 | {"kill-to-end-of-line", KillToEndOfLine}, | ^~~~~~~~~~~~~~~~~~~~~ TextAction.c:2029:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2029 | {"kill-to-end-of-paragraph", KillToEndOfParagraph}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ TextAction.c:2033:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2033 | {"newline-and-indent", InsertNewLineAndIndent}, | ^~~~~~~~~~~~~~~~~~~~ TextAction.c:2034:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2034 | {"newline-and-backup", InsertNewLineAndBackup}, | ^~~~~~~~~~~~~~~~~~~~ TextAction.c:2035:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2035 | {"newline", InsertNewLine}, | ^~~~~~~~~ TextAction.c:2039:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2039 | {"select-word", SelectWord}, | ^~~~~~~~~~~~~ TextAction.c:2040:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2040 | {"select-all", SelectAll}, | ^~~~~~~~~~~~ TextAction.c:2041:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2041 | {"select-start", SelectStart}, | ^~~~~~~~~~~~~~ TextAction.c:2042:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2042 | {"select-adjust", SelectAdjust}, | ^~~~~~~~~~~~~~~ TextAction.c:2043:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2043 | {"select-end", SelectEnd}, | ^~~~~~~~~~~~ TextAction.c:2044:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2044 | {"select-save", SelectSave}, | ^~~~~~~~~~~~~ TextAction.c:2045:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2045 | {"extend-start", ExtendStart}, | ^~~~~~~~~~~~~~ TextAction.c:2046:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2046 | {"extend-adjust", ExtendAdjust}, | ^~~~~~~~~~~~~~~ TextAction.c:2047:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2047 | {"extend-end", ExtendEnd}, | ^~~~~~~~~~~~ TextAction.c:2048:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2048 | {"insert-selection", InsertSelection}, | ^~~~~~~~~~~~~~~~~~ TextAction.c:2052:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2052 | {"redraw-display", RedrawDisplay}, | ^~~~~~~~~~~~~~~~ TextAction.c:2053:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2053 | {"insert-file", _XawTextInsertFile}, | ^~~~~~~~~~~~~ TextAction.c:2054:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2054 | {"search", _XawTextSearch}, | ^~~~~~~~ TextAction.c:2055:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2055 | {"insert-char", InsertChar}, | ^~~~~~~~~~~~~ TextAction.c:2056:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2056 | {"insert-string", InsertString}, | ^~~~~~~~~~~~~~~ TextAction.c:2057:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2057 | {"focus-in", TextFocusIn}, | ^~~~~~~~~~ TextAction.c:2058:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2058 | {"focus-out", TextFocusOut}, | ^~~~~~~~~~~ TextAction.c:2059:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2059 | {"enter-window", TextEnterWindow}, | ^~~~~~~~~~~~~~ TextAction.c:2060:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2060 | {"leave-window", TextLeaveWindow}, | ^~~~~~~~~~~~~~ Text.c: In function '_XawTextSetSelection': TextAction.c:2061:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2061 | {"display-caret", DisplayCaret}, | ^~~~~~~~~~~~~~~ Text.c:2511:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2511 | static String defaultSel = "PRIMARY"; | ^~~~~~~~~ TextAction.c:2062:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2062 | {"multiply", Multiply}, | ^~~~~~~~~~ TextAction.c:2063:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2063 | {"form-paragraph", FormParagraph}, | ^~~~~~~~~~~~~~~~ TextAction.c:2064:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2064 | {"transpose-characters", TransposeCharacters}, | ^~~~~~~~~~~~~~~~~~~~~~ TextAction.c:2065:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2065 | {"no-op", NoOp}, | ^~~~~~~ TextAction.c:2069:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2069 | {"InsertFileAction", _XawTextInsertFileAction}, | ^~~~~~~~~~~~~~~~~~ TextAction.c:2070:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2070 | {"DoSearchAction", _XawTextDoSearchAction}, | ^~~~~~~~~~~~~~~~ TextAction.c:2071:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2071 | {"DoReplaceAction", _XawTextDoReplaceAction}, | ^~~~~~~~~~~~~~~~~ TextAction.c:2072:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2072 | {"SetField", _XawTextSetField}, | ^~~~~~~~~~ TextAction.c:2073:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2073 | {"PopdownSearchAction", _XawTextPopdownSearchAction}, | ^~~~~~~~~~~~~~~~~~~~~ TextAction.c:2077:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2077 | {"reconnect-im", Reconnect} /* Li Yuhong, Omron KK, 1991 */ | ^~~~~~~~~~~~~~ Text.c: At top level: Text.c:3369:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3369 | /* class_name */ "Text", | ^~~~~~ XawIm.c: In function 'CreateIC': XawIm.c:805:19: warning: 'pe_a' may be used uninitialized [-Wmaybe-uninitialized] 805 | pe_attr = XVaCreateNestedList(0, pe_a[0], pe_a[1], pe_a[2], pe_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 806 | pe_a[4], pe_a[5], pe_a[6], pe_a[7], pe_a[8], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 807 | pe_a[9], pe_a[10], pe_a[11], pe_a[12], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 808 | pe_a[13], pe_a[14], pe_a[15], pe_a[16], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 809 | pe_a[17], pe_a[18], pe_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:710:35: note: 'pe_a' declared here 710 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:805:19: warning: 'pe_a' may be used uninitialized [-Wmaybe-uninitialized] 805 | pe_attr = XVaCreateNestedList(0, pe_a[0], pe_a[1], pe_a[2], pe_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 806 | pe_a[4], pe_a[5], pe_a[6], pe_a[7], pe_a[8], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 807 | pe_a[9], pe_a[10], pe_a[11], pe_a[12], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 808 | pe_a[13], pe_a[14], pe_a[15], pe_a[16], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 809 | pe_a[17], pe_a[18], pe_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:710:35: note: 'pe_a' declared here 710 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:805:19: warning: 'pe_a' may be used uninitialized [-Wmaybe-uninitialized] 805 | pe_attr = XVaCreateNestedList(0, pe_a[0], pe_a[1], pe_a[2], pe_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 806 | pe_a[4], pe_a[5], pe_a[6], pe_a[7], pe_a[8], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 807 | pe_a[9], pe_a[10], pe_a[11], pe_a[12], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 808 | pe_a[13], pe_a[14], pe_a[15], pe_a[16], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 809 | pe_a[17], pe_a[18], pe_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:710:35: note: 'pe_a' declared here 710 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:816:19: warning: 'st_a' may be used uninitialized [-Wmaybe-uninitialized] 816 | st_attr = XVaCreateNestedList(0, st_a[0], st_a[1], st_a[2], st_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 817 | st_a[4], st_a[5], st_a[6], st_a[7], st_a[8], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 818 | st_a[9], st_a[10], st_a[11], st_a[12], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 819 | st_a[13], st_a[14], st_a[15], st_a[16], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 820 | st_a[17], st_a[18], st_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:710:45: note: 'st_a' declared here 710 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:816:19: warning: 'st_a' may be used uninitialized [-Wmaybe-uninitialized] 816 | st_attr = XVaCreateNestedList(0, st_a[0], st_a[1], st_a[2], st_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 817 | st_a[4], st_a[5], st_a[6], st_a[7], st_a[8], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 818 | st_a[9], st_a[10], st_a[11], st_a[12], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 819 | st_a[13], st_a[14], st_a[15], st_a[16], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 820 | st_a[17], st_a[18], st_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:710:45: note: 'st_a' declared here 710 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:816:19: warning: 'st_a' may be used uninitialized [-Wmaybe-uninitialized] 816 | st_attr = XVaCreateNestedList(0, st_a[0], st_a[1], st_a[2], st_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 817 | st_a[4], st_a[5], st_a[6], st_a[7], st_a[8], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 818 | st_a[9], st_a[10], st_a[11], st_a[12], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 819 | st_a[13], st_a[14], st_a[15], st_a[16], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 820 | st_a[17], st_a[18], st_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:710:45: note: 'st_a' declared here 710 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:816:19: warning: 'st_a' may be used uninitialized [-Wmaybe-uninitialized] 816 | st_attr = XVaCreateNestedList(0, st_a[0], st_a[1], st_a[2], st_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 817 | st_a[4], st_a[5], st_a[6], st_a[7], st_a[8], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 818 | st_a[9], st_a[10], st_a[11], st_a[12], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 819 | st_a[13], st_a[14], st_a[15], st_a[16], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 820 | st_a[17], st_a[18], st_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:710:45: note: 'st_a' declared here 710 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:816:19: warning: 'st_a' may be used uninitialized [-Wmaybe-uninitialized] 816 | st_attr = XVaCreateNestedList(0, st_a[0], st_a[1], st_a[2], st_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 817 | st_a[4], st_a[5], st_a[6], st_a[7], st_a[8], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 818 | st_a[9], st_a[10], st_a[11], st_a[12], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 819 | st_a[13], st_a[14], st_a[15], st_a[16], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 820 | st_a[17], st_a[18], st_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:710:45: note: 'st_a' declared here 710 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:816:19: warning: 'st_a' may be used uninitialized [-Wmaybe-uninitialized] 816 | st_attr = XVaCreateNestedList(0, st_a[0], st_a[1], st_a[2], st_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 817 | st_a[4], st_a[5], st_a[6], st_a[7], st_a[8], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 818 | st_a[9], st_a[10], st_a[11], st_a[12], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 819 | st_a[13], st_a[14], st_a[15], st_a[16], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 820 | st_a[17], st_a[18], st_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:710:45: note: 'st_a' declared here 710 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:816:19: warning: 'st_a' may be used uninitialized [-Wmaybe-uninitialized] 816 | st_attr = XVaCreateNestedList(0, st_a[0], st_a[1], st_a[2], st_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 817 | st_a[4], st_a[5], st_a[6], st_a[7], st_a[8], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 818 | st_a[9], st_a[10], st_a[11], st_a[12], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 819 | st_a[13], st_a[14], st_a[15], st_a[16], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 820 | st_a[17], st_a[18], st_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:710:45: note: 'st_a' declared here 710 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:826:14: warning: 'ic_a' may be used uninitialized [-Wmaybe-uninitialized] 826 | p->xic = XCreateIC(ve->im.xim, ic_a[0], ic_a[1], ic_a[2], ic_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 827 | ic_a[4], ic_a[5], ic_a[6], ic_a[7], ic_a[8], ic_a[9], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 828 | ic_a[10], ic_a[11], ic_a[12], ic_a[13], ic_a[14], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 829 | ic_a[15], ic_a[16], ic_a[17], ic_a[18], ic_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:710:25: note: 'ic_a' declared here 710 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:826:14: warning: 'ic_a' may be used uninitialized [-Wmaybe-uninitialized] 826 | p->xic = XCreateIC(ve->im.xim, ic_a[0], ic_a[1], ic_a[2], ic_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 827 | ic_a[4], ic_a[5], ic_a[6], ic_a[7], ic_a[8], ic_a[9], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 828 | ic_a[10], ic_a[11], ic_a[12], ic_a[13], ic_a[14], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 829 | ic_a[15], ic_a[16], ic_a[17], ic_a[18], ic_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:710:25: note: 'ic_a' declared here 710 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:826:14: warning: 'ic_a' may be used uninitialized [-Wmaybe-uninitialized] 826 | p->xic = XCreateIC(ve->im.xim, ic_a[0], ic_a[1], ic_a[2], ic_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 827 | ic_a[4], ic_a[5], ic_a[6], ic_a[7], ic_a[8], ic_a[9], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 828 | ic_a[10], ic_a[11], ic_a[12], ic_a[13], ic_a[14], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 829 | ic_a[15], ic_a[16], ic_a[17], ic_a[18], ic_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:710:25: note: 'ic_a' declared here 710 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:826:14: warning: 'ic_a' may be used uninitialized [-Wmaybe-uninitialized] 826 | p->xic = XCreateIC(ve->im.xim, ic_a[0], ic_a[1], ic_a[2], ic_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 827 | ic_a[4], ic_a[5], ic_a[6], ic_a[7], ic_a[8], ic_a[9], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 828 | ic_a[10], ic_a[11], ic_a[12], ic_a[13], ic_a[14], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 829 | ic_a[15], ic_a[16], ic_a[17], ic_a[18], ic_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:710:25: note: 'ic_a' declared here 710 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:826:14: warning: 'ic_a' may be used uninitialized [-Wmaybe-uninitialized] 826 | p->xic = XCreateIC(ve->im.xim, ic_a[0], ic_a[1], ic_a[2], ic_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 827 | ic_a[4], ic_a[5], ic_a[6], ic_a[7], ic_a[8], ic_a[9], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 828 | ic_a[10], ic_a[11], ic_a[12], ic_a[13], ic_a[14], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 829 | ic_a[15], ic_a[16], ic_a[17], ic_a[18], ic_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:710:25: note: 'ic_a' declared here 710 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:826:14: warning: 'ic_a' may be used uninitialized [-Wmaybe-uninitialized] 826 | p->xic = XCreateIC(ve->im.xim, ic_a[0], ic_a[1], ic_a[2], ic_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 827 | ic_a[4], ic_a[5], ic_a[6], ic_a[7], ic_a[8], ic_a[9], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 828 | ic_a[10], ic_a[11], ic_a[12], ic_a[13], ic_a[14], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 829 | ic_a[15], ic_a[16], ic_a[17], ic_a[18], ic_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:710:25: note: 'ic_a' declared here 710 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:826:14: warning: 'ic_a' may be used uninitialized [-Wmaybe-uninitialized] 826 | p->xic = XCreateIC(ve->im.xim, ic_a[0], ic_a[1], ic_a[2], ic_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 827 | ic_a[4], ic_a[5], ic_a[6], ic_a[7], ic_a[8], ic_a[9], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 828 | ic_a[10], ic_a[11], ic_a[12], ic_a[13], ic_a[14], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 829 | ic_a[15], ic_a[16], ic_a[17], ic_a[18], ic_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:710:25: note: 'ic_a' declared here 710 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:826:14: warning: 'ic_a' may be used uninitialized [-Wmaybe-uninitialized] 826 | p->xic = XCreateIC(ve->im.xim, ic_a[0], ic_a[1], ic_a[2], ic_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 827 | ic_a[4], ic_a[5], ic_a[6], ic_a[7], ic_a[8], ic_a[9], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 828 | ic_a[10], ic_a[11], ic_a[12], ic_a[13], ic_a[14], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 829 | ic_a[15], ic_a[16], ic_a[17], ic_a[18], ic_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:710:25: note: 'ic_a' declared here 710 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:826:14: warning: 'ic_a' may be used uninitialized [-Wmaybe-uninitialized] 826 | p->xic = XCreateIC(ve->im.xim, ic_a[0], ic_a[1], ic_a[2], ic_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 827 | ic_a[4], ic_a[5], ic_a[6], ic_a[7], ic_a[8], ic_a[9], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 828 | ic_a[10], ic_a[11], ic_a[12], ic_a[13], ic_a[14], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 829 | ic_a[15], ic_a[16], ic_a[17], ic_a[18], ic_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:710:25: note: 'ic_a' declared here 710 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ SimpleMenu.c: In function 'Layout': SimpleMenu.c:1335:49: warning: 'r_mrgn' may be used uninitialized in this function [-Wmaybe-uninitialized] 1335 | bsb_entry->sme_bsb.right_margin = r_mrgn; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ SimpleMenu.c:1295:30: note: 'r_mrgn' was declared here 1295 | Dimension l_mrgn, l_bmw, r_mrgn, r_bmw; | ^~~~~~ SimpleMenu.c:1333:48: warning: 'l_mrgn' may be used uninitialized in this function [-Wmaybe-uninitialized] 1333 | bsb_entry->sme_bsb.left_margin = l_mrgn; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ SimpleMenu.c:1295:15: note: 'l_mrgn' was declared here 1295 | Dimension l_mrgn, l_bmw, r_mrgn, r_bmw; | ^~~~~~ XawIm.c: In function 'SetICValues': XawIm.c:941:19: warning: 'pe_a' may be used uninitialized [-Wmaybe-uninitialized] 941 | pe_attr = XVaCreateNestedList(0, pe_a[0], pe_a[1], pe_a[2], pe_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 942 | pe_a[4], pe_a[5], pe_a[6], pe_a[7], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 943 | pe_a[8], pe_a[9], pe_a[10], pe_a[11], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 944 | pe_a[12], pe_a[13], pe_a[14], pe_a[15], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 945 | pe_a[16], pe_a[17], pe_a[18], pe_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:857:35: note: 'pe_a' declared here 857 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:941:19: warning: 'pe_a' may be used uninitialized [-Wmaybe-uninitialized] 941 | pe_attr = XVaCreateNestedList(0, pe_a[0], pe_a[1], pe_a[2], pe_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 942 | pe_a[4], pe_a[5], pe_a[6], pe_a[7], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 943 | pe_a[8], pe_a[9], pe_a[10], pe_a[11], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 944 | pe_a[12], pe_a[13], pe_a[14], pe_a[15], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 945 | pe_a[16], pe_a[17], pe_a[18], pe_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:857:35: note: 'pe_a' declared here 857 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:941:19: warning: 'pe_a' may be used uninitialized [-Wmaybe-uninitialized] 941 | pe_attr = XVaCreateNestedList(0, pe_a[0], pe_a[1], pe_a[2], pe_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 942 | pe_a[4], pe_a[5], pe_a[6], pe_a[7], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 943 | pe_a[8], pe_a[9], pe_a[10], pe_a[11], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 944 | pe_a[12], pe_a[13], pe_a[14], pe_a[15], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 945 | pe_a[16], pe_a[17], pe_a[18], pe_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:857:35: note: 'pe_a' declared here 857 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:941:19: warning: 'pe_a' may be used uninitialized [-Wmaybe-uninitialized] 941 | pe_attr = XVaCreateNestedList(0, pe_a[0], pe_a[1], pe_a[2], pe_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 942 | pe_a[4], pe_a[5], pe_a[6], pe_a[7], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 943 | pe_a[8], pe_a[9], pe_a[10], pe_a[11], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 944 | pe_a[12], pe_a[13], pe_a[14], pe_a[15], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 945 | pe_a[16], pe_a[17], pe_a[18], pe_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:857:35: note: 'pe_a' declared here 857 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:941:19: warning: 'pe_a' may be used uninitialized [-Wmaybe-uninitialized] 941 | pe_attr = XVaCreateNestedList(0, pe_a[0], pe_a[1], pe_a[2], pe_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 942 | pe_a[4], pe_a[5], pe_a[6], pe_a[7], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 943 | pe_a[8], pe_a[9], pe_a[10], pe_a[11], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 944 | pe_a[12], pe_a[13], pe_a[14], pe_a[15], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 945 | pe_a[16], pe_a[17], pe_a[18], pe_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:857:35: note: 'pe_a' declared here 857 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:951:19: warning: 'st_a' may be used uninitialized [-Wmaybe-uninitialized] 951 | st_attr = XVaCreateNestedList(0, st_a[0], st_a[1], st_a[2], st_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 952 | st_a[4], st_a[5], st_a[6], st_a[7], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 953 | st_a[8], st_a[9], st_a[10], st_a[11], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 954 | st_a[12], st_a[13], st_a[14], st_a[15], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 955 | st_a[16], st_a[17], st_a[18], st_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:857:45: note: 'st_a' declared here 857 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:951:19: warning: 'st_a' may be used uninitialized [-Wmaybe-uninitialized] 951 | st_attr = XVaCreateNestedList(0, st_a[0], st_a[1], st_a[2], st_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 952 | st_a[4], st_a[5], st_a[6], st_a[7], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 953 | st_a[8], st_a[9], st_a[10], st_a[11], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 954 | st_a[12], st_a[13], st_a[14], st_a[15], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 955 | st_a[16], st_a[17], st_a[18], st_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:857:45: note: 'st_a' declared here 857 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:951:19: warning: 'st_a' may be used uninitialized [-Wmaybe-uninitialized] 951 | st_attr = XVaCreateNestedList(0, st_a[0], st_a[1], st_a[2], st_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 952 | st_a[4], st_a[5], st_a[6], st_a[7], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 953 | st_a[8], st_a[9], st_a[10], st_a[11], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 954 | st_a[12], st_a[13], st_a[14], st_a[15], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 955 | st_a[16], st_a[17], st_a[18], st_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:857:45: note: 'st_a' declared here 857 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:951:19: warning: 'st_a' may be used uninitialized [-Wmaybe-uninitialized] 951 | st_attr = XVaCreateNestedList(0, st_a[0], st_a[1], st_a[2], st_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 952 | st_a[4], st_a[5], st_a[6], st_a[7], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 953 | st_a[8], st_a[9], st_a[10], st_a[11], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 954 | st_a[12], st_a[13], st_a[14], st_a[15], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 955 | st_a[16], st_a[17], st_a[18], st_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:857:45: note: 'st_a' declared here 857 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:951:19: warning: 'st_a' may be used uninitialized [-Wmaybe-uninitialized] 951 | st_attr = XVaCreateNestedList(0, st_a[0], st_a[1], st_a[2], st_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 952 | st_a[4], st_a[5], st_a[6], st_a[7], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 953 | st_a[8], st_a[9], st_a[10], st_a[11], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 954 | st_a[12], st_a[13], st_a[14], st_a[15], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 955 | st_a[16], st_a[17], st_a[18], st_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:857:45: note: 'st_a' declared here 857 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:951:19: warning: 'st_a' may be used uninitialized [-Wmaybe-uninitialized] 951 | st_attr = XVaCreateNestedList(0, st_a[0], st_a[1], st_a[2], st_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 952 | st_a[4], st_a[5], st_a[6], st_a[7], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 953 | st_a[8], st_a[9], st_a[10], st_a[11], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 954 | st_a[12], st_a[13], st_a[14], st_a[15], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 955 | st_a[16], st_a[17], st_a[18], st_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:857:45: note: 'st_a' declared here 857 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:951:19: warning: 'st_a' may be used uninitialized [-Wmaybe-uninitialized] 951 | st_attr = XVaCreateNestedList(0, st_a[0], st_a[1], st_a[2], st_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 952 | st_a[4], st_a[5], st_a[6], st_a[7], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 953 | st_a[8], st_a[9], st_a[10], st_a[11], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 954 | st_a[12], st_a[13], st_a[14], st_a[15], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 955 | st_a[16], st_a[17], st_a[18], st_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:857:45: note: 'st_a' declared here 857 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:951:19: warning: 'st_a' may be used uninitialized [-Wmaybe-uninitialized] 951 | st_attr = XVaCreateNestedList(0, st_a[0], st_a[1], st_a[2], st_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 952 | st_a[4], st_a[5], st_a[6], st_a[7], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 953 | st_a[8], st_a[9], st_a[10], st_a[11], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 954 | st_a[12], st_a[13], st_a[14], st_a[15], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 955 | st_a[16], st_a[17], st_a[18], st_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:857:45: note: 'st_a' declared here 857 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:951:19: warning: 'st_a' may be used uninitialized [-Wmaybe-uninitialized] 951 | st_attr = XVaCreateNestedList(0, st_a[0], st_a[1], st_a[2], st_a[3], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 952 | st_a[4], st_a[5], st_a[6], st_a[7], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 953 | st_a[8], st_a[9], st_a[10], st_a[11], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 954 | st_a[12], st_a[13], st_a[14], st_a[15], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 955 | st_a[16], st_a[17], st_a[18], st_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:857:45: note: 'st_a' declared here 857 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:965:9: warning: 'ic_a' may be used uninitialized [-Wmaybe-uninitialized] 965 | XSetICValues(p->xic, ic_a[0], ic_a[1], ic_a[2], ic_a[3], ic_a[4], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 966 | ic_a[5], ic_a[6], ic_a[7], ic_a[8], ic_a[9], ic_a[10], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 967 | ic_a[11], ic_a[12], ic_a[13], ic_a[14], ic_a[15], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 968 | ic_a[16], ic_a[17], ic_a[18], ic_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:857:25: note: 'ic_a' declared here 857 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:965:9: warning: 'ic_a' may be used uninitialized [-Wmaybe-uninitialized] 965 | XSetICValues(p->xic, ic_a[0], ic_a[1], ic_a[2], ic_a[3], ic_a[4], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 966 | ic_a[5], ic_a[6], ic_a[7], ic_a[8], ic_a[9], ic_a[10], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 967 | ic_a[11], ic_a[12], ic_a[13], ic_a[14], ic_a[15], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 968 | ic_a[16], ic_a[17], ic_a[18], ic_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:857:25: note: 'ic_a' declared here 857 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:965:9: warning: 'ic_a' may be used uninitialized [-Wmaybe-uninitialized] 965 | XSetICValues(p->xic, ic_a[0], ic_a[1], ic_a[2], ic_a[3], ic_a[4], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 966 | ic_a[5], ic_a[6], ic_a[7], ic_a[8], ic_a[9], ic_a[10], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 967 | ic_a[11], ic_a[12], ic_a[13], ic_a[14], ic_a[15], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 968 | ic_a[16], ic_a[17], ic_a[18], ic_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:857:25: note: 'ic_a' declared here 857 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:965:9: warning: 'ic_a' may be used uninitialized [-Wmaybe-uninitialized] 965 | XSetICValues(p->xic, ic_a[0], ic_a[1], ic_a[2], ic_a[3], ic_a[4], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 966 | ic_a[5], ic_a[6], ic_a[7], ic_a[8], ic_a[9], ic_a[10], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 967 | ic_a[11], ic_a[12], ic_a[13], ic_a[14], ic_a[15], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 968 | ic_a[16], ic_a[17], ic_a[18], ic_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:857:25: note: 'ic_a' declared here 857 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:965:9: warning: 'ic_a' may be used uninitialized [-Wmaybe-uninitialized] 965 | XSetICValues(p->xic, ic_a[0], ic_a[1], ic_a[2], ic_a[3], ic_a[4], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 966 | ic_a[5], ic_a[6], ic_a[7], ic_a[8], ic_a[9], ic_a[10], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 967 | ic_a[11], ic_a[12], ic_a[13], ic_a[14], ic_a[15], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 968 | ic_a[16], ic_a[17], ic_a[18], ic_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:857:25: note: 'ic_a' declared here 857 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:965:9: warning: 'ic_a' may be used uninitialized [-Wmaybe-uninitialized] 965 | XSetICValues(p->xic, ic_a[0], ic_a[1], ic_a[2], ic_a[3], ic_a[4], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 966 | ic_a[5], ic_a[6], ic_a[7], ic_a[8], ic_a[9], ic_a[10], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 967 | ic_a[11], ic_a[12], ic_a[13], ic_a[14], ic_a[15], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 968 | ic_a[16], ic_a[17], ic_a[18], ic_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:857:25: note: 'ic_a' declared here 857 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:965:9: warning: 'ic_a' may be used uninitialized [-Wmaybe-uninitialized] 965 | XSetICValues(p->xic, ic_a[0], ic_a[1], ic_a[2], ic_a[3], ic_a[4], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 966 | ic_a[5], ic_a[6], ic_a[7], ic_a[8], ic_a[9], ic_a[10], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 967 | ic_a[11], ic_a[12], ic_a[13], ic_a[14], ic_a[15], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 968 | ic_a[16], ic_a[17], ic_a[18], ic_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:857:25: note: 'ic_a' declared here 857 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:965:9: warning: 'ic_a' may be used uninitialized [-Wmaybe-uninitialized] 965 | XSetICValues(p->xic, ic_a[0], ic_a[1], ic_a[2], ic_a[3], ic_a[4], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 966 | ic_a[5], ic_a[6], ic_a[7], ic_a[8], ic_a[9], ic_a[10], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 967 | ic_a[11], ic_a[12], ic_a[13], ic_a[14], ic_a[15], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 968 | ic_a[16], ic_a[17], ic_a[18], ic_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:857:25: note: 'ic_a' declared here 857 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:965:9: warning: 'ic_a' may be used uninitialized [-Wmaybe-uninitialized] 965 | XSetICValues(p->xic, ic_a[0], ic_a[1], ic_a[2], ic_a[3], ic_a[4], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 966 | ic_a[5], ic_a[6], ic_a[7], ic_a[8], ic_a[9], ic_a[10], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 967 | ic_a[11], ic_a[12], ic_a[13], ic_a[14], ic_a[15], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 968 | ic_a[16], ic_a[17], ic_a[18], ic_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:857:25: note: 'ic_a' declared here 857 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:965:9: warning: 'ic_a' may be used uninitialized [-Wmaybe-uninitialized] 965 | XSetICValues(p->xic, ic_a[0], ic_a[1], ic_a[2], ic_a[3], ic_a[4], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 966 | ic_a[5], ic_a[6], ic_a[7], ic_a[8], ic_a[9], ic_a[10], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 967 | ic_a[11], ic_a[12], ic_a[13], ic_a[14], ic_a[15], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 968 | ic_a[16], ic_a[17], ic_a[18], ic_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:857:25: note: 'ic_a' declared here 857 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:965:9: warning: 'ic_a' may be used uninitialized [-Wmaybe-uninitialized] 965 | XSetICValues(p->xic, ic_a[0], ic_a[1], ic_a[2], ic_a[3], ic_a[4], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 966 | ic_a[5], ic_a[6], ic_a[7], ic_a[8], ic_a[9], ic_a[10], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 967 | ic_a[11], ic_a[12], ic_a[13], ic_a[14], ic_a[15], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 968 | ic_a[16], ic_a[17], ic_a[18], ic_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:857:25: note: 'ic_a' declared here 857 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:965:9: warning: 'ic_a' may be used uninitialized [-Wmaybe-uninitialized] 965 | XSetICValues(p->xic, ic_a[0], ic_a[1], ic_a[2], ic_a[3], ic_a[4], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 966 | ic_a[5], ic_a[6], ic_a[7], ic_a[8], ic_a[9], ic_a[10], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 967 | ic_a[11], ic_a[12], ic_a[13], ic_a[14], ic_a[15], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 968 | ic_a[16], ic_a[17], ic_a[18], ic_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:857:25: note: 'ic_a' declared here 857 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ XawIm.c:965:9: warning: 'ic_a' may be used uninitialized [-Wmaybe-uninitialized] 965 | XSetICValues(p->xic, ic_a[0], ic_a[1], ic_a[2], ic_a[3], ic_a[4], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 966 | ic_a[5], ic_a[6], ic_a[7], ic_a[8], ic_a[9], ic_a[10], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 967 | ic_a[11], ic_a[12], ic_a[13], ic_a[14], ic_a[15], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 968 | ic_a[16], ic_a[17], ic_a[18], ic_a[19], NULL); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ XawIm.c:857:25: note: 'ic_a' declared here 857 | XPointer ic_a[20], pe_a[20], st_a[20]; | ^~~~ CCLD libXaw3d.la make[3]: Leaving directory '/home/buildozer/aports/testing/libxaw3d/src/libXaw3d-1.6.3/src' make[2]: Leaving directory '/home/buildozer/aports/testing/libxaw3d/src/libXaw3d-1.6.3/src' make[2]: Entering directory '/home/buildozer/aports/testing/libxaw3d/src/libXaw3d-1.6.3' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/home/buildozer/aports/testing/libxaw3d/src/libXaw3d-1.6.3' make[1]: Leaving directory '/home/buildozer/aports/testing/libxaw3d/src/libXaw3d-1.6.3' >>> libxaw3d: Entering fakeroot... Making install in include make[1]: Entering directory '/home/buildozer/aports/testing/libxaw3d/src/libXaw3d-1.6.3/include' make[2]: Entering directory '/home/buildozer/aports/testing/libxaw3d/src/libXaw3d-1.6.3/include' make[2]: Nothing to be done for 'install-exec-am'. .././install-sh -c -d '/home/buildozer/aports/testing/libxaw3d/pkg/libxaw3d/usr/include/X11/Xaw3d' /usr/bin/install -c -m 644 X11/Xaw3d/AllWidgets.h X11/Xaw3d/AsciiSink.h X11/Xaw3d/AsciiSinkP.h X11/Xaw3d/AsciiSrc.h X11/Xaw3d/AsciiSrcP.h X11/Xaw3d/AsciiText.h X11/Xaw3d/AsciiTextP.h X11/Xaw3d/Box.h X11/Xaw3d/BoxP.h X11/Xaw3d/Cardinals.h X11/Xaw3d/Command.h X11/Xaw3d/CommandP.h X11/Xaw3d/Dialog.h X11/Xaw3d/DialogP.h X11/Xaw3d/Form.h X11/Xaw3d/FormP.h X11/Xaw3d/Grip.h X11/Xaw3d/GripP.h X11/Xaw3d/Label.h X11/Xaw3d/LabelP.h X11/Xaw3d/Layout.h X11/Xaw3d/LayoutP.h X11/Xaw3d/List.h X11/Xaw3d/ListP.h X11/Xaw3d/MenuButton.h X11/Xaw3d/MenuButtoP.h X11/Xaw3d/Paned.h X11/Xaw3d/PanedP.h X11/Xaw3d/Panner.h X11/Xaw3d/PannerP.h X11/Xaw3d/Porthole.h X11/Xaw3d/PortholeP.h X11/Xaw3d/Repeater.h X11/Xaw3d/RepeaterP.h X11/Xaw3d/Reports.h X11/Xaw3d/Scrollbar.h X11/Xaw3d/ScrollbarP.h X11/Xaw3d/Simple.h X11/Xaw3d/SimpleMenP.h X11/Xaw3d/SimpleMenu.h '/home/buildozer/aports/testing/libxaw3d/pkg/libxaw3d/usr/include/X11/Xaw3d' /usr/bin/install -c -m 644 X11/Xaw3d/SimpleP.h X11/Xaw3d/SmeBSB.h X11/Xaw3d/SmeBSBP.h X11/Xaw3d/Sme.h X11/Xaw3d/SmeLine.h X11/Xaw3d/SmeLineP.h X11/Xaw3d/SmeP.h X11/Xaw3d/SmeThreeD.h X11/Xaw3d/SmeThreeDP.h X11/Xaw3d/StripCharP.h X11/Xaw3d/StripChart.h X11/Xaw3d/Text.h X11/Xaw3d/TextP.h X11/Xaw3d/TextSink.h X11/Xaw3d/TextSinkP.h X11/Xaw3d/TextSrc.h X11/Xaw3d/TextSrcP.h X11/Xaw3d/ThreeD.h X11/Xaw3d/ThreeDP.h X11/Xaw3d/Tip.h X11/Xaw3d/TipP.h X11/Xaw3d/Toggle.h X11/Xaw3d/ToggleP.h X11/Xaw3d/Tree.h X11/Xaw3d/TreeP.h X11/Xaw3d/Viewport.h X11/Xaw3d/ViewportP.h X11/Xaw3d/Xaw3dP.h X11/Xaw3d/XawInit.h X11/Xaw3d/MultiSrc.h X11/Xaw3d/MultiSrcP.h X11/Xaw3d/MultiSink.h X11/Xaw3d/MultiSinkP.h X11/Xaw3d/VendorEP.h X11/Xaw3d/XawImP.h '/home/buildozer/aports/testing/libxaw3d/pkg/libxaw3d/usr/include/X11/Xaw3d' make[2]: Leaving directory '/home/buildozer/aports/testing/libxaw3d/src/libXaw3d-1.6.3/include' make[1]: Leaving directory '/home/buildozer/aports/testing/libxaw3d/src/libXaw3d-1.6.3/include' Making install in src make[1]: Entering directory '/home/buildozer/aports/testing/libxaw3d/src/libXaw3d-1.6.3/src' /usr/bin/make install-am make[2]: Entering directory '/home/buildozer/aports/testing/libxaw3d/src/libXaw3d-1.6.3/src' make[3]: Entering directory '/home/buildozer/aports/testing/libxaw3d/src/libXaw3d-1.6.3/src' .././install-sh -c -d '/home/buildozer/aports/testing/libxaw3d/pkg/libxaw3d/usr/lib' .././install-sh -c -d '/home/buildozer/aports/testing/libxaw3d/pkg/libxaw3d/usr/share/doc/libXaw3d' /bin/sh ../libtool --mode=install /usr/bin/install -c libXaw3d.la '/home/buildozer/aports/testing/libxaw3d/pkg/libxaw3d/usr/lib' /usr/bin/install -c -m 644 README.XAW3D '/home/buildozer/aports/testing/libxaw3d/pkg/libxaw3d/usr/share/doc/libXaw3d' libtool: install: /usr/bin/install -c .libs/libXaw3d.so.8.0.0 /home/buildozer/aports/testing/libxaw3d/pkg/libxaw3d/usr/lib/libXaw3d.so.8.0.0 libtool: install: (cd /home/buildozer/aports/testing/libxaw3d/pkg/libxaw3d/usr/lib && { ln -s -f libXaw3d.so.8.0.0 libXaw3d.so.8 || { rm -f libXaw3d.so.8 && ln -s libXaw3d.so.8.0.0 libXaw3d.so.8; }; }) libtool: install: (cd /home/buildozer/aports/testing/libxaw3d/pkg/libxaw3d/usr/lib && { ln -s -f libXaw3d.so.8.0.0 libXaw3d.so || { rm -f libXaw3d.so && ln -s libXaw3d.so.8.0.0 libXaw3d.so; }; }) libtool: install: /usr/bin/install -c .libs/libXaw3d.lai /home/buildozer/aports/testing/libxaw3d/pkg/libxaw3d/usr/lib/libXaw3d.la libtool: warning: remember to run 'libtool --finish /usr/lib' make[3]: Leaving directory '/home/buildozer/aports/testing/libxaw3d/src/libXaw3d-1.6.3/src' make[2]: Leaving directory '/home/buildozer/aports/testing/libxaw3d/src/libXaw3d-1.6.3/src' make[1]: Leaving directory '/home/buildozer/aports/testing/libxaw3d/src/libXaw3d-1.6.3/src' make[1]: Entering directory '/home/buildozer/aports/testing/libxaw3d/src/libXaw3d-1.6.3' make[2]: Entering directory '/home/buildozer/aports/testing/libxaw3d/src/libXaw3d-1.6.3' make[2]: Nothing to be done for 'install-exec-am'. ./install-sh -c -d '/home/buildozer/aports/testing/libxaw3d/pkg/libxaw3d/usr/lib/pkgconfig' /usr/bin/install -c -m 644 xaw3d.pc '/home/buildozer/aports/testing/libxaw3d/pkg/libxaw3d/usr/lib/pkgconfig' make[2]: Leaving directory '/home/buildozer/aports/testing/libxaw3d/src/libXaw3d-1.6.3' make[1]: Leaving directory '/home/buildozer/aports/testing/libxaw3d/src/libXaw3d-1.6.3' >>> libxaw3d-dev*: Running split function dev... >>> libxaw3d-dev*: Preparing subpackage libxaw3d-dev... >>> libxaw3d-dev*: Stripping binaries >>> libxaw3d-dev*: Running postcheck for libxaw3d-dev >>> libxaw3d-doc*: Running split function doc... >>> libxaw3d-doc*: Preparing subpackage libxaw3d-doc... >>> libxaw3d-doc*: Running postcheck for libxaw3d-doc >>> libxaw3d*: Running postcheck for libxaw3d >>> libxaw3d*: Preparing package libxaw3d... >>> libxaw3d*: Stripping binaries >>> libxaw3d-dev*: Scanning shared objects >>> libxaw3d-doc*: Scanning shared objects >>> libxaw3d*: Scanning shared objects >>> libxaw3d-dev*: Tracing dependencies... libxaw3d=1.6.3-r0 pc:x11 pc:xext pc:xmu pc:xproto pc:xt pkgconfig >>> libxaw3d-dev*: Package size: 488.0 KB >>> libxaw3d-dev*: Compressing data... >>> libxaw3d-dev*: Create checksum... >>> libxaw3d-dev*: Create libxaw3d-dev-1.6.3-r0.apk >>> libxaw3d-doc*: Tracing dependencies... >>> libxaw3d-doc*: Package size: 60.0 KB >>> libxaw3d-doc*: Compressing data... >>> libxaw3d-doc*: Create checksum... >>> libxaw3d-doc*: Create libxaw3d-doc-1.6.3-r0.apk >>> libxaw3d*: Tracing dependencies... so:libX11.so.6 so:libXext.so.6 so:libXmu.so.6 so:libXt.so.6 so:libc.musl-riscv64.so.1 >>> libxaw3d*: Package size: 276.0 KB >>> libxaw3d*: Compressing data... >>> libxaw3d*: Create checksum... >>> libxaw3d*: Create libxaw3d-1.6.3-r0.apk >>> libxaw3d: Build complete at Sun, 01 May 2022 15:14:09 +0000 elapsed time 0h 1m 56s >>> libxaw3d: Cleaning up srcdir >>> libxaw3d: Cleaning up pkgdir >>> libxaw3d: Uninstalling dependencies... (1/31) Purging .makedepends-libxaw3d (20220501.151216) (2/31) Purging libxmu-dev (1.1.3-r0) (3/31) Purging util-linux-dev (2.38-r1) (4/31) Purging libfdisk (2.38-r1) (5/31) Purging libmount (2.38-r1) (6/31) Purging libsmartcols (2.38-r1) (7/31) Purging libxmu (1.1.3-r0) (8/31) Purging util-macros (1.19.3-r0) (9/31) Purging libblkid (2.38-r1) (10/31) Purging libxt-dev (1.2.1-r0) (11/31) Purging libxt (1.2.1-r0) (12/31) Purging libsm-dev (1.2.3-r0) (13/31) Purging libsm (1.2.3-r0) (14/31) Purging libuuid (2.38-r1) (15/31) Purging libxext-dev (1.3.4-r0) (16/31) Purging libxext (1.3.4-r0) (17/31) Purging libx11-dev (1.7.5-r0) (18/31) Purging xtrans (1.4.0-r1) (19/31) Purging libx11 (1.7.5-r0) (20/31) Purging libxcb-dev (1.14-r2) (21/31) Purging xcb-proto (1.14.1-r3) (22/31) Purging libxcb (1.14-r2) (23/31) Purging libxau-dev (1.0.9-r0) (24/31) Purging libxau (1.0.9-r0) (25/31) Purging libxdmcp-dev (1.1.3-r0) (26/31) Purging libxdmcp (1.1.3-r0) (27/31) Purging libbsd (0.11.6-r2) (28/31) Purging libmd (1.0.4-r0) (29/31) Purging libice-dev (1.0.10-r0) (30/31) Purging libice (1.0.10-r0) (31/31) Purging xorgproto (2021.5-r0) OK: 214 MiB in 78 packages >>> libxaw3d: Updating the testing/riscv64 repository index... >>> libxaw3d: Signing the index...