=> Building x11/editres build started at Wed Oct 5 18:36:32 PDT 2016 port directory: /usr/ports/x11/editres building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: x11@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/bleeding-edge-default/ref/../09//usr/ports/x11/editres/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400702 !!! Jail is newer than host. (Jail: 400702, Host: 400700) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/bleeding-edge-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=editres-1.0.6 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/bleeding-edge-default/ref/.p/pool MASTERNAME=bleeding-edge-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/x11/editres XDG_CONFIG_HOME=/wrkdirs/x11/editres HOME=/wrkdirs/x11/editres TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/x11/editres XDG_CONFIG_HOME=/wrkdirs/x11/editres HOME=/wrkdirs/x11/editres TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=4.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/editres" EXAMPLESDIR="share/examples/editres" DATADIR="share/editres" WWWDIR="www/editres" ETCDIR="etc/editres" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/editres DOCSDIR=/usr/local/share/doc/editres EXAMPLESDIR=/usr/local/share/examples/editres WWWDIR=/usr/local/www/editres ETCDIR=/usr/local/etc/editres --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== =========================================================================== =================================================== ===> editres-1.0.6 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> editres-1.0.6 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of editres-1.0.6 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by editres-1.0.6 for building =========================================================================== =================================================== ===> Fetching all distfiles required by editres-1.0.6 for building => SHA256 Checksum OK for xorg/app/editres-1.0.6.tar.bz2. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by editres-1.0.6 for building ===> Extracting for editres-1.0.6 => SHA256 Checksum OK for xorg/app/editres-1.0.6.tar.bz2. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for editres-1.0.6 =========================================================================== =================================================== ===> editres-1.0.6 depends on package: pkgconf>=0.9.10 - not found ===> Installing existing package /packages/All/pkgconf-1.0.1.txz Installing pkgconf-1.0.1... Extracting pkgconf-1.0.1: .......... done ===> editres-1.0.6 depends on package: pkgconf>=0.9.10 - found ===> Returning to build of editres-1.0.6 ===> editres-1.0.6 depends on file: /usr/local/libdata/pkgconfig/xorg-macros.pc - not found ===> Installing existing package /packages/All/xorg-macros-1.19.0.txz Installing xorg-macros-1.19.0... Extracting xorg-macros-1.19.0: ... done ===> editres-1.0.6 depends on file: /usr/local/libdata/pkgconfig/xorg-macros.pc - found ===> Returning to build of editres-1.0.6 ===> editres-1.0.6 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.6.3,1.txz Installing libX11-1.6.3,1... `-- Installing xproto-7.0.28... `-- Extracting xproto-7.0.28: .......... done `-- Installing kbproto-1.0.7... `-- Extracting kbproto-1.0.7: .......... done `-- Installing libXdmcp-1.1.2... `-- Extracting libXdmcp-1.1.2: ......... done `-- Installing libxcb-1.11.1... | `-- Installing libxml2-2.9.4... | `-- Extracting libxml2-2.9.4: .......... done | `-- Installing libpthread-stubs-0.3_6... | `-- Extracting libpthread-stubs-0.3_6: ..... done | `-- Installing libXau-1.0.8_3... | `-- Extracting libXau-1.0.8_3: .......... done `-- Extracting libxcb-1.11.1: .......... done Extracting libX11-1.6.3,1: .......... done ===> editres-1.0.6 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of editres-1.0.6 ===> editres-1.0.6 depends on file: /usr/local/libdata/pkgconfig/xt.pc - not found ===> Installing existing package /packages/All/libXt-1.1.5,1.txz Installing libXt-1.1.5,1... `-- Installing libSM-1.2.2_3,1... | `-- Installing libICE-1.0.9_1,1... | `-- Extracting libICE-1.0.9_1,1: .......... done `-- Extracting libSM-1.2.2_3,1: .......... done Extracting libXt-1.1.5,1: .......... done ===> editres-1.0.6 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> Returning to build of editres-1.0.6 ===> editres-1.0.6 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - not found ===> Installing existing package /packages/All/libXmu-1.1.2_3,1.txz Installing libXmu-1.1.2_3,1... `-- Installing libXext-1.3.3_1,1... | `-- Installing xextproto-7.3.0... | `-- Extracting xextproto-7.3.0: .......... done `-- Extracting libXext-1.3.3_1,1: .......... done Extracting libXmu-1.1.2_3,1: .......... done ===> editres-1.0.6 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> Returning to build of editres-1.0.6 ===> editres-1.0.6 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - not found ===> Installing existing package /packages/All/libXaw-1.0.13,2.txz Installing libXaw-1.0.13,2... `-- Installing libXpm-3.5.11_4... | `-- Installing gettext-runtime-0.19.8.1... | | `-- Installing indexinfo-0.2.5... | | `-- Extracting indexinfo-0.2.5: .... done | `-- Extracting gettext-runtime-0.19.8.1: .......... done `-- Extracting libXpm-3.5.11_4: .......... done `-- Installing printproto-1.0.5... `-- Extracting printproto-1.0.5: .... done `-- Installing libXp-1.0.3,1... `-- Extracting libXp-1.0.3,1: .......... done Extracting libXaw-1.0.13,2: .......... done ===> editres-1.0.6 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found ===> Returning to build of editres-1.0.6 =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for editres-1.0.6 configure: loading site script /usr/ports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for gcc... cc 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 cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking dependency style of cc... gcc3 checking for cc option to accept ISO C99... none needed checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking whether __clang__ is declared... no checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... no checking pkg-config is at least version 0.9.0... yes checking build system type... x86_64-portbld-dragonfly4.7 checking host system type... x86_64-portbld-dragonfly4.7 checking for a sed that does not truncate output... (cached) /usr/bin/sed checking if cc supports -Werror=unknown-warning-option... no checking if cc supports -Werror=unused-command-line-argument... no checking if cc supports -Wall... yes checking if cc supports -Wpointer-arith... yes checking if cc supports -Wmissing-declarations... yes checking if cc supports -Wformat=2... yes checking if cc supports -Wstrict-prototypes... yes checking if cc supports -Wmissing-prototypes... yes checking if cc supports -Wnested-externs... yes checking if cc supports -Wbad-function-cast... yes checking if cc supports -Wold-style-definition... yes checking if cc supports -Wdeclaration-after-statement... yes checking if cc supports -Wunused... yes checking if cc supports -Wuninitialized... yes checking if cc supports -Wshadow... yes checking if cc supports -Wcast-qual... yes checking if cc supports -Wmissing-noreturn... yes checking if cc supports -Wmissing-format-attribute... yes checking if cc supports -Wredundant-decls... yes checking if cc supports -Werror=implicit... yes checking if cc supports -Werror=nonnull... yes checking if cc supports -Werror=init-self... yes checking if cc supports -Werror=main... yes checking if cc supports -Werror=missing-braces... yes checking if cc supports -Werror=sequence-point... yes checking if cc supports -Werror=return-type... yes checking if cc supports -Werror=trigraphs... yes checking if cc supports -Werror=array-bounds... yes checking if cc supports -Werror=write-strings... yes checking if cc supports -Werror=address... yes checking if cc supports -Werror=int-to-pointer-cast... yes checking if cc supports -Werror=pointer-to-int-cast... yes checking if cc supports -pedantic... yes checking if cc supports -Werror... yes checking if cc supports -Werror=attributes... yes checking for EDITRES... yes checking for APPDEFS... yes configure: creating ./config.status config.status: creating Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands =========================================================================== =================================================== ===> Building for editres-1.0.6 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in man --- editres.1 --- /usr/bin/sed -e 's|__vendorversion__|"editres 1.0.6" "X Version 11"|' -e 's|__xorgversion__|"editres 1.0.6" "X Version 11"|' -e 's|__xservername__|Xorg|g' -e 's|__xconfigfile__|xorg.conf|g' -e 's|__projectroot__|/usr/local|g' -e 's|__apploaddir__|/usr/local/share/X11/app-defaults|g' -e 's|__appmansuffix__|1|g' -e 's|__drivermansuffix__|4|g' -e 's|__adminmansuffix__|8|g' -e 's|__libmansuffix__|3|g' -e 's|__miscmansuffix__|7|g' -e 's|__filemansuffix__|5|g' < editres.man > editres.1 --- actions.o --- --- comm.o --- --- editres.o --- --- geometry.o --- --- handler.o --- --- actions.o --- cc -DHAVE_CONFIG_H -I. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -pipe -O2 -fno-strict-aliasing -MT actions.o -MD -MP -MF .deps/actions.Tpo -c -o actions.o actions.c --- comm.o --- cc -DHAVE_CONFIG_H -I. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -pipe -O2 -fno-strict-aliasing -MT comm.o -MD -MP -MF .deps/comm.Tpo -c -o comm.o comm.c --- editres.o --- cc -DHAVE_CONFIG_H -I. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -pipe -O2 -fno-strict-aliasing -MT editres.o -MD -MP -MF .deps/editres.Tpo -c -o editres.o editres.c --- geometry.o --- cc -DHAVE_CONFIG_H -I. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -pipe -O2 -fno-strict-aliasing -MT geometry.o -MD -MP -MF .deps/geometry.Tpo -c -o geometry.o geometry.c --- handler.o --- cc -DHAVE_CONFIG_H -I. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -pipe -O2 -fno-strict-aliasing -MT handler.o -MD -MP -MF .deps/handler.Tpo -c -o handler.o handler.c --- actions.o --- actions.c:46:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "widget", (int) SelectWidget }, ^ actions.c:47:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "all", (int) SelectAll }, ^ actions.c:48:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "nothing", (int) SelectNone }, ^ actions.c:49:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "invert", (int) SelectInvert }, ^ actions.c:50:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "children", (int) SelectChildren }, ^ actions.c:51:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "descendants", (int) SelectDescendants }, ^ actions.c:52:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "parent", (int) SelectParent }, ^ actions.c:53:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "ancestors", (int) SelectAncestors } ^ actions.c:57:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "name", (int) NameLabel }, ^ actions.c:58:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "class", (int) ClassLabel }, ^ actions.c:59:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "id", (int) IDLabel }, ^ actions.c:60:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "window", (int) WindowLabel }, ^ actions.c:61:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "toggle", (int) ToggleLabel } ^ actions.c: In function 'SelectAction': actions.c:118:28: warning: passing argument 1 of 'CheckAndFindEntry' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (!CheckAndFindEntry("Select", params, *num_params, ^ actions.c:75:16: note: expected 'String {aka char *}' but argument is of type 'const char *' static Boolean CheckAndFindEntry ( String action_name, ^ actions.c: In function 'RelabelAction': actions.c:159:28: warning: passing argument 1 of 'CheckAndFindEntry' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (!CheckAndFindEntry("Relabel", params, *num_params, ^ actions.c:75:16: note: expected 'String {aka char *}' but argument is of type 'const char *' static Boolean CheckAndFindEntry ( String action_name, ^ actions.c: In function 'PopdownFileDialogAction': actions.c:192:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] "PopdownFileDialog"); ^ actions.c:206:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] "PopdownFileDialog"); ^ actions.c: At top level: actions.c:246:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"EnableGetVal", EnableGetVal}, ^ actions.c:247:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"Select", SelectAction}, ^ actions.c:248:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"SVActiveEntry", ModifySVEntry}, ^ actions.c:249:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"Relabel", RelabelAction}, ^ actions.c:250:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"PopdownFileDialog", PopdownFileDialogAction}, ^ actions.c:251:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"quit", ActionQuit} ^ actions.c: In function 'CheckAndFindEntry': actions.c:288:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] action_name); ^ actions.c:301:6: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] action_name); ^ --- geometry.o --- geometry.c: In function '_FindWidget': geometry.c:66:5: warning: format not a string literal and no format arguments [-Wformat-security] sprintf(msg, res_labels[14]); ^ geometry.c: In function 'DisplayChild': geometry.c:106:2: warning: format not a string literal and no format arguments [-Wformat-security] sprintf(msg, res_labels[13]); ^ geometry.c:115:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] sprintf(msg, res_labels[12], node->name, node->class); ^ In file included from geometry.c:28:0: geometry.c: In function 'CreateFlashWidget': /usr/local/include/X11/StringDefs.h:570:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNx ((char*)&XtStrings[885]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ geometry.c:302:25: note: in expansion of macro 'XtNx' XtSetArg(args[num], XtNx, x); num++; ^ /usr/local/include/X11/StringDefs.h:573:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNy ((char*)&XtStrings[887]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ geometry.c:303:25: note: in expansion of macro 'XtNy' XtSetArg(args[num], XtNy, y); num++; ^ /usr/local/include/X11/StringDefs.h:330:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNbackground ((char*)&XtStrings[52]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ geometry.c:304:25: note: in expansion of macro 'XtNbackground' XtSetArg(args[num], XtNbackground, global_resources.flash_color); num++; ^ /usr/local/include/X11/StringDefs.h:348:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNborderWidth ((char*)&XtStrings[124]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ geometry.c:310:25: note: in expansion of macro 'XtNborderWidth' XtSetArg(args[num], XtNborderWidth, &bw); num++; ^ /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ geometry.c:316:25: note: in expansion of macro 'XtNwidth' XtSetArg(args[num], XtNwidth, (width - bw)); num++; ^ /usr/local/include/X11/StringDefs.h:384:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNheight ((char*)&XtStrings[234]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ geometry.c:317:25: note: in expansion of macro 'XtNheight' XtSetArg(args[num], XtNheight, (height - bw)); num++; ^ --- editres.o --- editres.c:48:34: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] char *global_effective_toolkit = "xt"; ^ editres.c:73:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"debug", "Debug", XtRBoolean, sizeof(Boolean), ^ editres.c:73:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"debug", "Debug", XtRBoolean, sizeof(Boolean), ^ In file included from editres.c:29:0: /usr/local/include/X11/StringDefs.h:786:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((char*)&XtStrings[1561]) ^ editres.c:73:22: note: in expansion of macro 'XtRBoolean' {"debug", "Debug", XtRBoolean, sizeof(Boolean), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ editres.c:74:21: note: in expansion of macro 'XtRImmediate' Offset(debug), XtRImmediate, (XtPointer) FALSE}, ^ editres.c:75:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"numFlashes", "NumFlashes", XtRInt, sizeof(int), ^ editres.c:75:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"numFlashes", "NumFlashes", XtRInt, sizeof(int), ^ In file included from editres.c:29:0: /usr/local/include/X11/StringDefs.h:843:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRInt ((char*)&XtStrings[1718]) ^ editres.c:75:32: note: in expansion of macro 'XtRInt' {"numFlashes", "NumFlashes", XtRInt, sizeof(int), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ editres.c:76:27: note: in expansion of macro 'XtRImmediate' Offset(num_flashes), XtRImmediate, (XtPointer) NUM_FLASHES}, ^ editres.c:77:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"flashTime", "FlashTime", XtRInt, sizeof(int), ^ editres.c:77:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"flashTime", "FlashTime", XtRInt, sizeof(int), ^ In file included from editres.c:29:0: /usr/local/include/X11/StringDefs.h:843:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRInt ((char*)&XtStrings[1718]) ^ editres.c:77:30: note: in expansion of macro 'XtRInt' {"flashTime", "FlashTime", XtRInt, sizeof(int), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ editres.c:78:26: note: in expansion of macro 'XtRImmediate' Offset(flash_time), XtRImmediate, (XtPointer) FLASH_TIME}, ^ editres.c:79:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"flashColor", XtCForeground, XtRPixel, sizeof(Pixel), ^ In file included from editres.c:29:0: /usr/local/include/X11/StringDefs.h:621:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCForeground ((char*)&XtStrings[1022]) ^ editres.c:79:18: note: in expansion of macro 'XtCForeground' {"flashColor", XtCForeground, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:858:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPixel ((char*)&XtStrings[1754]) ^ editres.c:79:33: note: in expansion of macro 'XtRPixel' {"flashColor", XtCForeground, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ editres.c:80:27: note: in expansion of macro 'XtRImmediate' Offset(flash_color), XtRImmediate, (XtPointer) XtDefaultForeground}, ^ editres.c:80:41: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] Offset(flash_color), XtRImmediate, (XtPointer) XtDefaultForeground}, ^ editres.c:81:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"saveResourceFile", "SaveResourcesFile", XtRString, sizeof(String), ^ editres.c:81:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"saveResourceFile", "SaveResourcesFile", XtRString, sizeof(String), ^ In file included from editres.c:29:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ editres.c:81:45: note: in expansion of macro 'XtRString' {"saveResourceFile", "SaveResourcesFile", XtRString, sizeof(String), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ editres.c:82:35: note: in expansion of macro 'XtRString' Offset(save_resources_file), XtRString, (XtPointer) ""}, ^ editres.c:82:46: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] Offset(save_resources_file), XtRString, (XtPointer) ""}, ^ mv -f .deps/editres.Tpo .deps/editres.Po --- setvalues.o --- cc -DHAVE_CONFIG_H -I. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -pipe -O2 -fno-strict-aliasing -MT setvalues.o -MD -MP -MF .deps/setvalues.Tpo -c -o setvalues.o setvalues.c --- comm.o --- comm.c:55:15: warning: redundant redeclaration of 'CM_entries' [-Wredundant-decls] extern Widget CM_entries[NUM_CM_ENTRIES], TM_entries[NUM_TM_ENTRIES]; ^ In file included from comm.c:46:0: editresP.h:338:15: note: previous declaration of 'CM_entries' was here extern Widget CM_entries[NUM_CM_ENTRIES]; ^ comm.c:55:43: warning: redundant redeclaration of 'TM_entries' [-Wredundant-decls] extern Widget CM_entries[NUM_CM_ENTRIES], TM_entries[NUM_TM_ENTRIES]; ^ In file included from comm.c:46:0: editresP.h:342:15: note: previous declaration of 'TM_entries' was here extern Widget TM_entries[NUM_TM_ENTRIES]; ^ comm.c: In function 'ClientTimedOut': comm.c:94:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] "the Editres Protocol."); ^ comm.c: In function 'TellUserAboutMessage': comm.c:263:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] str = " asking for widget tree"; ^ comm.c:266:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] str = " asking it to perform SetValues()"; ^ comm.c:270:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] str = " asking it to perform GetGeometry()"; ^ comm.c:273:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] str = " asking it to get a widget's resource list"; ^ comm.c:276:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] str = " asking it to find the child Widget."; ^ comm.c:279:6: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] str = ""; ^ comm.c:283:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] sprintf(msg, res_labels[8], str); ^ comm.c: In function 'GetClientValue': comm.c:441:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] sprintf(msg, res_labels[11], (int) error_code); ^ comm.c:453:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] sprintf(msg, res_labels[12], top->name, top->class); ^ comm.c: In function 'BuildEvent': comm.c:588:31: warning: passing argument 1 of 'RebuildMenusAndLabel' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] RebuildMenusAndLabel("iv"); ^ In file included from comm.c:46:0: editresP.h:407:13: note: expected 'String {aka char *}' but argument is of type 'const char *' extern void RebuildMenusAndLabel ( String toolkit ); ^ comm.c:591:36: warning: passing argument 1 of 'RebuildMenusAndLabel' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] RebuildMenusAndLabel("xt"); ^ In file included from comm.c:46:0: editresP.h:407:13: note: expected 'String {aka char *}' but argument is of type 'const char *' extern void RebuildMenusAndLabel ( String toolkit ); ^ In file included from comm.c:35:0: /usr/local/include/X11/StringDefs.h:519:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNstring ((char*)&XtStrings[733]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ comm.c:739:25: note: in expansion of macro 'XtNstring' XtSetArg (args[0], XtNstring, info->value); ^ --- setvalues.o --- In file included from setvalues.c:28:0: setvalues.c: In function 'GetResourceValueForSetValues': /usr/local/include/X11/StringDefs.h:519:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNstring ((char*)&XtStrings[733]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ setvalues.c:93:23: note: in expansion of macro 'XtNstring' XtSetArg(args[0], XtNstring, &ptr); ^ --- handler.o --- In file included from handler.c:27:0: handler.c: In function 'PannerCallback': /usr/local/include/X11/StringDefs.h:570:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNx ((char*)&XtStrings[885]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ handler.c:183:24: note: in expansion of macro 'XtNx' XtSetArg (args[0], XtNx, -report->slider_x); ^ /usr/local/include/X11/StringDefs.h:573:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNy ((char*)&XtStrings[887]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ handler.c:184:24: note: in expansion of macro 'XtNy' XtSetArg (args[1], XtNy, -report->slider_y); ^ handler.c: In function 'PortholeCallback': /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ handler.c:207:5: note: in expansion of macro 'XtSetArg' XtSetArg (args[n], XtNsliderX, report->slider_x); n++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ handler.c:208:5: note: in expansion of macro 'XtSetArg' XtSetArg (args[n], XtNsliderY, report->slider_y); n++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ handler.c:210:2: note: in expansion of macro 'XtSetArg' XtSetArg (args[n], XtNsliderWidth, report->slider_width); n++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ handler.c:211:2: note: in expansion of macro 'XtSetArg' XtSetArg (args[n], XtNsliderHeight, report->slider_height); n++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ handler.c:212:2: note: in expansion of macro 'XtSetArg' XtSetArg (args[n], XtNcanvasWidth, report->canvas_width); n++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ handler.c:213:2: note: in expansion of macro 'XtSetArg' XtSetArg (args[n], XtNcanvasHeight, report->canvas_height); n++; ^ handler.c: In function 'DumpTreeToFile': handler.c:288:35: warning: passing argument 2 of '_PopupFileDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] _PopupFileDialog(XtParent(w), "Enter the filename:", "", ^ In file included from handler.c:40:0: editresP.h:425:13: note: expected 'String {aka char *}' but argument is of type 'const char *' extern void _PopupFileDialog ( Widget w, String str, String default_value, XtCallbackProc func, XtPointer data ); ^ handler.c:288:58: warning: passing argument 3 of '_PopupFileDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] _PopupFileDialog(XtParent(w), "Enter the filename:", "", ^ In file included from handler.c:40:0: editresP.h:425:13: note: expected 'String {aka char *}' but argument is of type 'const char *' extern void _PopupFileDialog ( Widget w, String str, String default_value, XtCallbackProc func, XtPointer data ); ^ In file included from handler.c:27:0: handler.c: In function 'AnyChosen': /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ handler.c:323:6: note: in expansion of macro 'XtSetArg' XtSetArg(args[0], XtNstate, TRUE); ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ handler.c:331:6: note: in expansion of macro 'XtSetArg' XtSetArg(args[0], XtNstate, TRUE); ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ handler.c:349:6: note: in expansion of macro 'XtSetArg' XtSetArg(args[0], XtNstate, TRUE); ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ handler.c:357:6: note: in expansion of macro 'XtSetArg' XtSetArg(args[0], XtNstate, TRUE); ^ handler.c: In function 'GetResourceName': handler.c:385:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] result = "unknown"; ^ In file included from handler.c:27:0: handler.c: In function 'SetResourceString': /usr/local/include/X11/StringDefs.h:435:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlabel ((char*)&XtStrings[429]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ handler.c:486:23: note: in expansion of macro 'XtNlabel' XtSetArg(args[0], XtNlabel, malloc_string); ^ handler.c: At top level: handler.c:502:16: warning: redundant redeclaration of 'do_get_values' [-Wredundant-decls] extern Boolean do_get_values; ^ In file included from handler.c:40:0: editresP.h:333:16: note: previous declaration of 'do_get_values' was here extern Boolean do_get_values; ^ In file included from handler.c:27:0: handler.c: In function '_AppendResourceString': /usr/local/include/X11/StringDefs.h:435:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlabel ((char*)&XtStrings[429]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ handler.c:575:23: note: in expansion of macro 'XtNlabel' XtSetArg(args[0], XtNlabel, &resource_string); ^ /usr/local/include/X11/StringDefs.h:519:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNstring ((char*)&XtStrings[733]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ handler.c:578:23: note: in expansion of macro 'XtNstring' XtSetArg(args[0], XtNstring, &value_ptr); ^ handler.c: In function 'SaveResource': handler.c:604:32: warning: passing argument 2 of '_PopupFileDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] _PopupFileDialog(XtParent(w), "Enter file to dump resources into:", ^ In file included from handler.c:40:0: editresP.h:425:13: note: expected 'String {aka char *}' but argument is of type 'const char *' extern void _PopupFileDialog ( Widget w, String str, String default_value, XtCallbackProc func, XtPointer data ); ^ handler.c: In function 'SetFile': handler.c:650:35: warning: passing argument 2 of '_PopupFileDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] _PopupFileDialog(XtParent(w), "Enter file to dump resources into:", ^ In file included from handler.c:40:0: editresP.h:425:13: note: expected 'String {aka char *}' but argument is of type 'const char *' extern void _PopupFileDialog ( Widget w, String str, String default_value, XtCallbackProc func, XtPointer data ); ^ handler.c: In function 'ApplyResource': handler.c:677:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] info.class = "IGNORE_ME"; /* Not currently used. */ ^ In file included from handler.c:27:0: /usr/local/include/X11/StringDefs.h:435:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlabel ((char*)&XtStrings[429]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ handler.c:681:23: note: in expansion of macro 'XtNlabel' XtSetArg(args[0], XtNlabel, &value); ^ In file included from handler.c:28:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ handler.c:690:33: note: in expansion of macro 'XtRString' _XEditResPutString8(stream, XtRString); /* insert type */ ^ handler.c: In function 'ObtainResource': handler.c:743:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] info.class = "IGNORE_ME"; /* Not currently used. */ ^ In file included from handler.c:27:0: /usr/local/include/X11/StringDefs.h:435:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlabel ((char*)&XtStrings[429]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ handler.c:747:23: note: in expansion of macro 'XtNlabel' XtSetArg(args[0], XtNlabel, &value); ^ handler.c: In function 'ActivateResourceWidgets': handler.c:853:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] info.class = "IGNORE_ME"; /* Not currently used. */ ^ In file included from handler.c:27:0: /usr/local/include/X11/StringDefs.h:435:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlabel ((char*)&XtStrings[429]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ handler.c:862:23: note: in expansion of macro 'XtNlabel' XtSetArg(args[0], XtNlabel, &line); ^ handler.c: In function 'SetOnlyMatchingWidgets': /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ handler.c:899:5: note: in expansion of macro 'XtSetArg' XtSetArg(args[0], XtNstate, state); ^ handler.c: In function 'Quit': handler.c:64:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] Quit(Widget w, XtPointer client_data, XtPointer call_data) ^ --- setvalues.o --- mv -f .deps/setvalues.Tpo .deps/setvalues.Po --- svpopup.o --- cc -DHAVE_CONFIG_H -I. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -pipe -O2 -fno-strict-aliasing -MT svpopup.o -MD -MP -MF .deps/svpopup.Tpo -c -o svpopup.o svpopup.c --- actions.o --- mv -f .deps/actions.Tpo .deps/actions.Po --- utils.o --- cc -DHAVE_CONFIG_H -I. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -pipe -O2 -fno-strict-aliasing -MT utils.o -MD -MP -MF .deps/utils.Tpo -c -o utils.o utils.c --- svpopup.o --- In file included from svpopup.c:28:0: svpopup.c: In function 'PopupSetValues': /usr/local/include/X11/StringDefs.h:519:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNstring ((char*)&XtStrings[733]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ svpopup.c:83:23: note: in expansion of macro 'XtNstring' XtSetArg(args[0], XtNstring, ""); ^ svpopup.c: In function 'ModifySVEntry': svpopup.c:130:2: warning: format not a string literal and no format arguments [-Wformat-security] sprintf(msg, res_labels[22]); ^ In file included from svpopup.c:28:0: svpopup.c: In function '_SetField': /usr/local/include/X11/StringDefs.h:339:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNborderColor ((char*)&XtStrings[87]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ svpopup.c:168:23: note: in expansion of macro 'XtNborderColor' XtSetArg(args[0], XtNborderColor, &old_border); ^ /usr/local/include/X11/StringDefs.h:330:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNbackground ((char*)&XtStrings[52]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ svpopup.c:169:23: note: in expansion of macro 'XtNbackground' XtSetArg(args[1], XtNbackground, &old_bg); ^ /usr/local/include/X11/StringDefs.h:339:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNborderColor ((char*)&XtStrings[87]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ svpopup.c:172:23: note: in expansion of macro 'XtNborderColor' XtSetArg(args[0], XtNborderColor, &new_border); ^ /usr/local/include/X11/StringDefs.h:339:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNborderColor ((char*)&XtStrings[87]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ svpopup.c:178:23: note: in expansion of macro 'XtNborderColor' XtSetArg(args[0], XtNborderColor, old_border); ^ /usr/local/include/X11/StringDefs.h:339:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNborderColor ((char*)&XtStrings[87]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ svpopup.c:181:23: note: in expansion of macro 'XtNborderColor' XtSetArg(args[0], XtNborderColor, new_border); ^ svpopup.c: In function 'CreateSetValuesPopup': /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ svpopup.c:213:5: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromVert, label); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ svpopup.c:218:5: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromVert, label); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ svpopup.c:219:5: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromHoriz, res_label); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ svpopup.c:225:5: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromVert, scr_data->res_text); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ svpopup.c:230:5: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromHoriz, res_label); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ svpopup.c:231:5: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromVert, scr_data->res_text); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ svpopup.c:237:5: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromVert, scr_data->val_text); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ svpopup.c:242:5: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromVert, scr_data->val_text); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ svpopup.c:243:5: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromHoriz, do_it); num_args++; ^ In file included from svpopup.c:29:0: /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ svpopup.c:247:26: note: in expansion of macro 'XtNcallback' XtAddCallback(do_it, XtNcallback, DoSetValues, NULL); ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ svpopup.c:248:27: note: in expansion of macro 'XtNcallback' XtAddCallback(cancel, XtNcallback, CancelSetValues, NULL); ^ In file included from svpopup.c:28:0: /usr/local/include/X11/StringDefs.h:330:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNbackground ((char*)&XtStrings[52]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ svpopup.c:258:27: note: in expansion of macro 'XtNbackground' XtSetArg(args[num_args], XtNbackground, &color); num_args++; ^ /usr/local/include/X11/StringDefs.h:339:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNborderColor ((char*)&XtStrings[87]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ svpopup.c:262:27: note: in expansion of macro 'XtNborderColor' XtSetArg(args[num_args], XtNborderColor, color); num_args++; ^ svpopup.c: In function 'DoSetValues': /usr/local/include/X11/StringDefs.h:519:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNstring ((char*)&XtStrings[733]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ svpopup.c:291:23: note: in expansion of macro 'XtNstring' XtSetArg(args[0], XtNstring, &res_name); ^ /usr/local/include/X11/StringDefs.h:519:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNstring ((char*)&XtStrings[733]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ svpopup.c:294:23: note: in expansion of macro 'XtNstring' XtSetArg(args[0], XtNstring, &res_value); ^ In file included from svpopup.c:29:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ svpopup.c:299:33: note: in expansion of macro 'XtRString' _XEditResPutString8(stream, XtRString); ^ --- utils.o --- In file included from utils.c:26:0: utils.c: In function 'SetMessage': /usr/local/include/X11/StringDefs.h:435:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlabel ((char*)&XtStrings[429]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ utils.c:63:23: note: in expansion of macro 'XtNlabel' XtSetArg(args[0], XtNlabel, str); ^ utils.c: In function '_DumpTreeToFile': utils.c:274:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] sprintf(buf, res_labels[24], (char *)filename); ^ In file included from utils.c:26:0: utils.c: In function '_PopupFileDialog': /usr/local/include/X11/StringDefs.h:435:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlabel ((char*)&XtStrings[429]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ utils.c:326:30: note: in expansion of macro 'XtNlabel' XtSetArg(args[num_args], XtNlabel, str); num_args++; ^ /usr/local/include/X11/StringDefs.h:558:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNvalue ((char*)&XtStrings[859]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ utils.c:327:30: note: in expansion of macro 'XtNvalue' XtSetArg(args[num_args], XtNvalue, default_value); num_args++; ^ utils.c:339:6: warning: passing argument 2 of 'SetMessage' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Error while trying to save Context\nAborting file dialog popup."); ^ utils.c:59:1: note: expected 'char *' but argument is of type 'const char *' SetMessage(Widget w, char *str) ^ In file included from utils.c:26:0: utils.c: In function 'PopupCentered': /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ utils.c:400:30: note: in expansion of macro 'XtNwidth' XtSetArg(args[num_args], XtNwidth, &width); num_args++; ^ /usr/local/include/X11/StringDefs.h:384:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNheight ((char*)&XtStrings[234]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ utils.c:401:30: note: in expansion of macro 'XtNheight' XtSetArg(args[num_args], XtNheight, &height); num_args++; ^ /usr/local/include/X11/StringDefs.h:348:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNborderWidth ((char*)&XtStrings[124]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ utils.c:402:30: note: in expansion of macro 'XtNborderWidth' XtSetArg(args[num_args], XtNborderWidth, &b_width); num_args++; ^ /usr/local/include/X11/StringDefs.h:570:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNx ((char*)&XtStrings[885]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ utils.c:421:30: note: in expansion of macro 'XtNx' XtSetArg(args[num_args], XtNx, x); num_args++; ^ /usr/local/include/X11/StringDefs.h:573:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNy ((char*)&XtStrings[887]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ utils.c:422:30: note: in expansion of macro 'XtNy' XtSetArg(args[num_args], XtNy, y); num_args++; ^ utils.c: In function '_PopdownFileDialog': utils.c:448:6: warning: passing argument 2 of 'SetMessage' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Error while trying to find Context\nAborting..."); ^ utils.c:59:1: note: expected 'char *' but argument is of type 'const char *' SetMessage(Widget w, char *str) ^ utils.c: In function 'HandleGetResources': utils.c:521:6: warning: format not a string literal and no format arguments [-Wformat-security] sprintf(buf, res_labels[16]); ^ utils.c:535:25: warning: passing argument 2 of 'AddString' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] AddString(&errors, "\n"); ^ utils.c:135:1: note: expected 'char *' but argument is of type 'const char *' AddString(char ** str, char *add) ^ utils.c: In function 'CompareResourceEntries': utils.c:667:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] return (strcmp(((WidgetResourceInfo *)e1)->name, ^ utils.c:668:7: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ((WidgetResourceInfo *)e2)->name)); ^ utils.c: In function 'ProtocolFailure': utils.c:862:62: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] case PROTOCOL_VERSION_ONE_POINT_ZERO: old_version_string = "1.0"; break; ^ utils.c:863:33: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] default: old_version_string = "1.0"; ^ utils.c:867:6: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] CURRENT_PROTOCOL_VERSION_STRING, old_version_string); ^ --- geometry.o --- mv -f .deps/geometry.Tpo .deps/geometry.Po --- widgets.o --- cc -DHAVE_CONFIG_H -I. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -pipe -O2 -fno-strict-aliasing -MT widgets.o -MD -MP -MF .deps/widgets.Tpo -c -o widgets.o widgets.c --- svpopup.o --- mv -f .deps/svpopup.Tpo .deps/svpopup.Po --- wtree.o --- cc -DHAVE_CONFIG_H -I. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -pipe -O2 -fno-strict-aliasing -MT wtree.o -MD -MP -MF .deps/wtree.Tpo -c -o wtree.o wtree.c --- widgets.o --- widgets.c:94:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(0, "label0", "Label0"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ --- wtree.o --- wtree.c: In function 'BuildVisualTree': wtree.c:87:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] sprintf(msg, res_labels[11], top->name, top->class); ^ wtree.c: In function 'AddTreeNode': wtree.c:111:7: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] top->name, top->parent->name, "not been created yet"); ^ In file included from wtree.c:27:0: /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ wtree.c:114:2: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNtreeParent, top->parent->widget); ^ wtree.c:123:2: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] sprintf( msg, res_labels[29], top->name); ^ In file included from wtree.c:29:0: /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ wtree.c:127:32: note: in expansion of macro 'XtNcallback' XtAddCallback(top->widget, XtNcallback, TreeToggle, (XtPointer) top); ^ In file included from wtree.c:27:0: wtree.c: In function '_TreeSelectNode': /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ wtree.c:368:2: note: in expansion of macro 'XtSetArg' XtSetArg(args[0], XtNstate, &state); ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ wtree.c:379:5: note: in expansion of macro 'XtSetArg' XtSetArg(args[0], XtNstate, state); ^ wtree.c: In function '_TreeRelabelNode': /usr/local/include/X11/StringDefs.h:435:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlabel ((char*)&XtStrings[429]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ wtree.c:408:20: note: in expansion of macro 'XtNlabel' XtSetArg(args[0], XtNlabel, node->class); ^ /usr/local/include/X11/StringDefs.h:435:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlabel ((char*)&XtStrings[429]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ wtree.c:411:20: note: in expansion of macro 'XtNlabel' XtSetArg(args[0], XtNlabel, node->name); ^ /usr/local/include/X11/StringDefs.h:435:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlabel ((char*)&XtStrings[429]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ wtree.c:415:20: note: in expansion of macro 'XtNlabel' XtSetArg(args[0], XtNlabel, buf); ^ /usr/local/include/X11/StringDefs.h:435:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlabel ((char*)&XtStrings[429]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ wtree.c:425:20: note: in expansion of macro 'XtNlabel' XtSetArg(args[0], XtNlabel, buf); ^ /usr/local/include/X11/StringDefs.h:435:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlabel ((char*)&XtStrings[429]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ wtree.c:428:20: note: in expansion of macro 'XtNlabel' XtSetArg(args[0], XtNlabel, &label); ^ /usr/local/include/X11/StringDefs.h:435:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlabel ((char*)&XtStrings[429]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ wtree.c:431:24: note: in expansion of macro 'XtNlabel' XtSetArg(args[0], XtNlabel, node->class); ^ /usr/local/include/X11/StringDefs.h:435:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlabel ((char*)&XtStrings[429]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ wtree.c:433:24: note: in expansion of macro 'XtNlabel' XtSetArg(args[0], XtNlabel, node->name); ^ wtree.c: In function '_TreeActivateNode': /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ wtree.c:464:5: note: in expansion of macro 'XtSetArg' XtSetArg(args[0], XtNstate, TRUE); ^ wtree.c: In function 'SetAndCenterTreeNode': /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ wtree.c:637:30: note: in expansion of macro 'XtNwidth' XtSetArg(args[num_args], XtNwidth, &port_width); num_args++; ^ /usr/local/include/X11/StringDefs.h:384:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNheight ((char*)&XtStrings[234]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ wtree.c:638:30: note: in expansion of macro 'XtNheight' XtSetArg(args[num_args], XtNheight, &port_height); num_args++; ^ /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ wtree.c:646:30: note: in expansion of macro 'XtNwidth' XtSetArg(args[num_args], XtNwidth, &node_width); num_args++; ^ /usr/local/include/X11/StringDefs.h:384:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNheight ((char*)&XtStrings[234]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ wtree.c:647:30: note: in expansion of macro 'XtNheight' XtSetArg(args[num_args], XtNheight, &node_height); num_args++; ^ /usr/local/include/X11/StringDefs.h:348:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNborderWidth ((char*)&XtStrings[124]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ wtree.c:648:30: note: in expansion of macro 'XtNborderWidth' XtSetArg(args[num_args], XtNborderWidth, &node_bw); num_args++; ^ /usr/local/include/X11/StringDefs.h:570:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNx ((char*)&XtStrings[885]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ wtree.c:649:30: note: in expansion of macro 'XtNx' XtSetArg(args[num_args], XtNx, &node_x); num_args++; ^ /usr/local/include/X11/StringDefs.h:573:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNy ((char*)&XtStrings[887]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ wtree.c:650:30: note: in expansion of macro 'XtNy' XtSetArg(args[num_args], XtNy, &node_y); num_args++; ^ /usr/local/include/X11/StringDefs.h:570:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNx ((char*)&XtStrings[885]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ wtree.c:662:30: note: in expansion of macro 'XtNx' XtSetArg(args[num_args], XtNx, node_x); num_args++; ^ /usr/local/include/X11/StringDefs.h:573:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNy ((char*)&XtStrings[887]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ wtree.c:663:30: note: in expansion of macro 'XtNy' XtSetArg(args[num_args], XtNy, node_y); num_args++; ^ --- widgets.o --- widgets.c:94:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(0, "label0", "Label0"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:94:3: note: in expansion of macro 'res_entry' res_entry(0, "label0", "Label0"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:94:3: note: in expansion of macro 'res_entry' res_entry(0, "label0", "Label0"), ^ widgets.c:95:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(1, "label1", "Label1"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:95:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(1, "label1", "Label1"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:95:3: note: in expansion of macro 'res_entry' res_entry(1, "label1", "Label1"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:95:3: note: in expansion of macro 'res_entry' res_entry(1, "label1", "Label1"), ^ widgets.c:96:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(2, "label2", "Label2"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:96:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(2, "label2", "Label2"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:96:3: note: in expansion of macro 'res_entry' res_entry(2, "label2", "Label2"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:96:3: note: in expansion of macro 'res_entry' res_entry(2, "label2", "Label2"), ^ widgets.c:97:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(3, "label3", "Label3"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:97:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(3, "label3", "Label3"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:97:3: note: in expansion of macro 'res_entry' res_entry(3, "label3", "Label3"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:97:3: note: in expansion of macro 'res_entry' res_entry(3, "label3", "Label3"), ^ widgets.c:98:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(4, "label4", "Label4"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:98:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(4, "label4", "Label4"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:98:3: note: in expansion of macro 'res_entry' res_entry(4, "label4", "Label4"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:98:3: note: in expansion of macro 'res_entry' res_entry(4, "label4", "Label4"), ^ widgets.c:99:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(5, "label5", "Label5"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:99:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(5, "label5", "Label5"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:99:3: note: in expansion of macro 'res_entry' res_entry(5, "label5", "Label5"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:99:3: note: in expansion of macro 'res_entry' res_entry(5, "label5", "Label5"), ^ widgets.c:100:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(6, "label6", "Label6"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:100:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(6, "label6", "Label6"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:100:3: note: in expansion of macro 'res_entry' res_entry(6, "label6", "Label6"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:100:3: note: in expansion of macro 'res_entry' res_entry(6, "label6", "Label6"), ^ widgets.c:101:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(7, "label7", "Label7"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:101:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(7, "label7", "Label7"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:101:3: note: in expansion of macro 'res_entry' res_entry(7, "label7", "Label7"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:101:3: note: in expansion of macro 'res_entry' res_entry(7, "label7", "Label7"), ^ widgets.c:102:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(8, "label8", "Label8"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:102:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(8, "label8", "Label8"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:102:3: note: in expansion of macro 'res_entry' res_entry(8, "label8", "Label8"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:102:3: note: in expansion of macro 'res_entry' res_entry(8, "label8", "Label8"), ^ widgets.c:103:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(9, "label9", "Label9"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:103:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(9, "label9", "Label9"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:103:3: note: in expansion of macro 'res_entry' res_entry(9, "label9", "Label9"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:103:3: note: in expansion of macro 'res_entry' res_entry(9, "label9", "Label9"), ^ widgets.c:104:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(11, "label11", "Label11"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:104:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(11, "label11", "Label11"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:104:3: note: in expansion of macro 'res_entry' res_entry(11, "label11", "Label11"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:104:3: note: in expansion of macro 'res_entry' res_entry(11, "label11", "Label11"), ^ widgets.c:105:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(12, "label12", "Label12"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:105:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(12, "label12", "Label12"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:105:3: note: in expansion of macro 'res_entry' res_entry(12, "label12", "Label12"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:105:3: note: in expansion of macro 'res_entry' res_entry(12, "label12", "Label12"), ^ widgets.c:106:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(13, "label13", "Label13"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:106:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(13, "label13", "Label13"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:106:3: note: in expansion of macro 'res_entry' res_entry(13, "label13", "Label13"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:106:3: note: in expansion of macro 'res_entry' res_entry(13, "label13", "Label13"), ^ widgets.c:107:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(14, "label14", "Label14"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:107:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(14, "label14", "Label14"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:107:3: note: in expansion of macro 'res_entry' res_entry(14, "label14", "Label14"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:107:3: note: in expansion of macro 'res_entry' res_entry(14, "label14", "Label14"), ^ widgets.c:108:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(15, "label15", "Label15"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:108:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(15, "label15", "Label15"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:108:3: note: in expansion of macro 'res_entry' res_entry(15, "label15", "Label15"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:108:3: note: in expansion of macro 'res_entry' res_entry(15, "label15", "Label15"), ^ widgets.c:109:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(16, "label16", "Label16"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:109:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(16, "label16", "Label16"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:109:3: note: in expansion of macro 'res_entry' res_entry(16, "label16", "Label16"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:109:3: note: in expansion of macro 'res_entry' res_entry(16, "label16", "Label16"), ^ widgets.c:110:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(17, "label17", "Label17"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:110:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(17, "label17", "Label17"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:110:3: note: in expansion of macro 'res_entry' res_entry(17, "label17", "Label17"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:110:3: note: in expansion of macro 'res_entry' res_entry(17, "label17", "Label17"), ^ widgets.c:111:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(18, "label18", "Label18"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:111:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(18, "label18", "Label18"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:111:3: note: in expansion of macro 'res_entry' res_entry(18, "label18", "Label18"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:111:3: note: in expansion of macro 'res_entry' res_entry(18, "label18", "Label18"), ^ widgets.c:112:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(19, "label19", "Label19"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:112:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(19, "label19", "Label19"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:112:3: note: in expansion of macro 'res_entry' res_entry(19, "label19", "Label19"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:112:3: note: in expansion of macro 'res_entry' res_entry(19, "label19", "Label19"), ^ widgets.c:113:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(20, "label20", "Label20"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:113:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(20, "label20", "Label20"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:113:3: note: in expansion of macro 'res_entry' res_entry(20, "label20", "Label20"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:113:3: note: in expansion of macro 'res_entry' res_entry(20, "label20", "Label20"), ^ widgets.c:114:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(21, "label21", "Label21"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:114:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(21, "label21", "Label21"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:114:3: note: in expansion of macro 'res_entry' res_entry(21, "label21", "Label21"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:114:3: note: in expansion of macro 'res_entry' res_entry(21, "label21", "Label21"), ^ widgets.c:115:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(22, "label22", "Label22"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:115:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(22, "label22", "Label22"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:115:3: note: in expansion of macro 'res_entry' res_entry(22, "label22", "Label22"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:115:3: note: in expansion of macro 'res_entry' res_entry(22, "label22", "Label22"), ^ widgets.c:116:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(23, "label23", "Label23"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:116:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(23, "label23", "Label23"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:116:3: note: in expansion of macro 'res_entry' res_entry(23, "label23", "Label23"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:116:3: note: in expansion of macro 'res_entry' res_entry(23, "label23", "Label23"), ^ widgets.c:117:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(24, "label24", "Label24"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:117:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(24, "label24", "Label24"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:117:3: note: in expansion of macro 'res_entry' res_entry(24, "label24", "Label24"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:117:3: note: in expansion of macro 'res_entry' res_entry(24, "label24", "Label24"), ^ widgets.c:118:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(25, "label25", "Label25"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:118:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(25, "label25", "Label25"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:118:3: note: in expansion of macro 'res_entry' res_entry(25, "label25", "Label25"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:118:3: note: in expansion of macro 'res_entry' res_entry(25, "label25", "Label25"), ^ widgets.c:119:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(26, "label26", "Label26"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:119:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(26, "label26", "Label26"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:119:3: note: in expansion of macro 'res_entry' res_entry(26, "label26", "Label26"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:119:3: note: in expansion of macro 'res_entry' res_entry(26, "label26", "Label26"), ^ widgets.c:120:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(27, "label27", "Label27"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:120:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(27, "label27", "Label27"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:120:3: note: in expansion of macro 'res_entry' res_entry(27, "label27", "Label27"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:120:3: note: in expansion of macro 'res_entry' res_entry(27, "label27", "Label27"), ^ widgets.c:121:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(28, "label28", "Label28"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:121:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(28, "label28", "Label28"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:121:3: note: in expansion of macro 'res_entry' res_entry(28, "label28", "Label28"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:121:3: note: in expansion of macro 'res_entry' res_entry(28, "label28", "Label28"), ^ widgets.c:122:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(29, "label29", "Label29"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:122:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(29, "label29", "Label29"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:122:3: note: in expansion of macro 'res_entry' res_entry(29, "label29", "Label29"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:122:3: note: in expansion of macro 'res_entry' res_entry(29, "label29", "Label29"), ^ widgets.c:123:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(30, "label30", "Label30"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:123:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(30, "label30", "Label30"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:123:3: note: in expansion of macro 'res_entry' res_entry(30, "label30", "Label30"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:123:3: note: in expansion of macro 'res_entry' res_entry(30, "label30", "Label30"), ^ widgets.c:124:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(31, "label31", "Label31"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:124:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(31, "label31", "Label31"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:124:3: note: in expansion of macro 'res_entry' res_entry(31, "label31", "Label31"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:124:3: note: in expansion of macro 'res_entry' res_entry(31, "label31", "Label31"), ^ widgets.c:125:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(32, "label32", "Label32"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:125:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(32, "label32", "Label32"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:125:3: note: in expansion of macro 'res_entry' res_entry(32, "label32", "Label32"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:125:3: note: in expansion of macro 'res_entry' res_entry(32, "label32", "Label32"), ^ widgets.c:126:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(33, "label33", "Label33"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:126:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(33, "label33", "Label33"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:126:3: note: in expansion of macro 'res_entry' res_entry(33, "label33", "Label33"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:126:3: note: in expansion of macro 'res_entry' res_entry(33, "label33", "Label33"), ^ widgets.c:127:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(34, "label34", "Label34"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:127:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(34, "label34", "Label34"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:127:3: note: in expansion of macro 'res_entry' res_entry(34, "label34", "Label34"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:127:3: note: in expansion of macro 'res_entry' res_entry(34, "label34", "Label34"), ^ widgets.c:128:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(35, "label35", "Label35"), ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:128:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(35, "label35", "Label35"), ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:128:3: note: in expansion of macro 'res_entry' res_entry(35, "label35", "Label35"), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:128:3: note: in expansion of macro 'res_entry' res_entry(35, "label35", "Label35"), ^ widgets.c:129:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(36, "label36", "Label36") ^ widgets.c:90:4: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ widgets.c:129:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] res_entry(36, "label36", "Label36") ^ widgets.c:90:10: note: in definition of macro 'res_entry' {name, class, XtRString, sizeof(String), \ ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:90:17: note: in expansion of macro 'XtRString' {name, class, XtRString, sizeof(String), \ ^ widgets.c:129:3: note: in expansion of macro 'res_entry' res_entry(36, "label36", "Label36") ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ widgets.c:91:21: note: in expansion of macro 'XtRString' Offset(index), XtRString, (XtPointer)NULL} ^ widgets.c:129:3: note: in expansion of macro 'res_entry' res_entry(36, "label36", "Label36") ^ widgets.c: In function 'CreateTopArea': widgets.c:205:28: warning: passing argument 2 of 'CreateCommandMenu' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CreateCommandMenu(box, "xt"); ^ widgets.c:59:13: note: expected 'String {aka char *}' but argument is of type 'const char *' static void CreateCommandMenu ( Widget parent, String toolkit ); ^ widgets.c:206:32: warning: passing argument 2 of 'CreateTreeCommandMenu' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] CreateTreeCommandMenu(box, "xt"); ^ widgets.c:60:13: note: expected 'String {aka char *}' but argument is of type 'const char *' static void CreateTreeCommandMenu ( Widget parent, String toolkit ); ^ In file included from widgets.c:31:0: widgets.c: In function 'CreateCommandMenu': /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:268:5: note: in expansion of macro 'XtSetArg' XtSetArg(args[0], XtNmenuName, toolkit); ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ widgets.c:276:34: note: in expansion of macro 'XtNcallback' XtAddCallback(CM_entries[0], XtNcallback, SendTree, (XtPointer) TRUE); ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ widgets.c:280:34: note: in expansion of macro 'XtNcallback' XtAddCallback(CM_entries[1], XtNcallback, SendTree, (XtPointer) FALSE); ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ widgets.c:285:34: note: in expansion of macro 'XtNcallback' XtAddCallback(CM_entries[2], XtNcallback, DumpTreeToFile, NULL); ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ widgets.c:292:34: note: in expansion of macro 'XtNcallback' XtAddCallback(CM_entries[4], XtNcallback, GetResourceList, NULL); ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ widgets.c:297:34: note: in expansion of macro 'XtNcallback' XtAddCallback(CM_entries[5], XtNcallback, InitSetValues, NULL); ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ widgets.c:304:34: note: in expansion of macro 'XtNcallback' XtAddCallback(CM_entries[7], XtNcallback, Quit, NULL); ^ widgets.c: In function 'CreateTreeCommandMenu': widgets.c:341:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "showClientWidget", FIND, (XtPointer) NULL }, ^ widgets.c:342:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "selectAll", SELECT, (XtPointer) SelectAll }, ^ widgets.c:343:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "unselectAll", SELECT, (XtPointer) SelectNone }, ^ widgets.c:344:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "invertAll", SELECT, (XtPointer) SelectInvert }, ^ widgets.c:345:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "line", LINE, (XtPointer) NULL }, ^ widgets.c:346:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "selectChildren", SELECT, (XtPointer) SelectChildren }, ^ widgets.c:347:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "selectParent", SELECT, (XtPointer) SelectParent }, ^ widgets.c:348:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "selectDescendants", SELECT, (XtPointer) SelectDescendants }, ^ widgets.c:349:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "selectAncestors", SELECT, (XtPointer) SelectAncestors }, ^ widgets.c:350:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "line", LINE, (XtPointer) NULL }, ^ widgets.c:351:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "showWidgetNames", LABEL, (XtPointer) NameLabel }, ^ widgets.c:352:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "showClassNames", LABEL, (XtPointer) ClassLabel }, ^ widgets.c:353:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "showWidgetIDs", LABEL, (XtPointer) IDLabel}, ^ widgets.c:354:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "showWidgetWindows", LABEL, (XtPointer) WindowLabel }, ^ widgets.c:355:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "line", LINE, (XtPointer) NULL }, ^ widgets.c:356:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "flashActiveWidgets", FLASH, (XtPointer) NULL } ^ In file included from widgets.c:31:0: /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:365:5: note: in expansion of macro 'XtSetArg' XtSetArg(args[0], XtNmenuName, toolkit); ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ widgets.c:399:35: note: in expansion of macro 'XtNcallback' XtAddCallback(TM_entries[i], XtNcallback, func,tree_menu[i].data); ^ In file included from widgets.c:31:0: widgets.c: In function 'PrepareToLayoutTree': /usr/local/include/X11/StringDefs.h:333:30: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNbackgroundPixmap ((char*)&XtStrings[63]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:420:23: note: in expansion of macro 'XtNbackgroundPixmap' XtSetArg(args[0], XtNbackgroundPixmap, &old_pixmap); ^ /usr/local/include/X11/StringDefs.h:333:30: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNbackgroundPixmap ((char*)&XtStrings[63]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:423:23: note: in expansion of macro 'XtNbackgroundPixmap' XtSetArg(args[0], XtNbackgroundPixmap, None); ^ widgets.c: In function 'LayoutTree': /usr/local/include/X11/StringDefs.h:333:30: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNbackgroundPixmap ((char*)&XtStrings[63]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:445:23: note: in expansion of macro 'XtNbackgroundPixmap' XtSetArg(args[0], XtNbackgroundPixmap, old_pixmap); ^ widgets.c: In function 'CreateResourceBoxWidgets': widgets.c:469:18: warning: declaration of 'box' shadows a global declaration [-Wshadow] Widget pane, box, button, viewport, pane_child; ^ widgets.c:84:15: note: shadowed declaration is here static Widget box = NULL; ^ In file included from /usr/local/include/X11/Xaw/SimpleMenu.h:48:0, from widgets.c:45: /usr/local/include/X11/Shell.h:362:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNmaxWidth ((char*)&XtShellStrings[589]) ^ widgets.c:481:8: note: in expansion of macro 'XtNmaxWidth' XtNmaxWidth, max_width, ^ /usr/local/include/X11/Shell.h:368:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNmaxHeight ((char*)&XtShellStrings[607]) ^ widgets.c:482:8: note: in expansion of macro 'XtNmaxHeight' XtNmaxHeight, max_height, NULL); ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:363:29: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNdestroyCallback ((char*)&XtStrings[169]) ^ widgets.c:483:35: note: in expansion of macro 'XtNdestroyCallback' XtAddCallback(res_box->shell, XtNdestroyCallback, ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ widgets.c:509:27: note: in expansion of macro 'XtNcallback' XtAddCallback(button, XtNcallback, SetFile, NULL); ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ widgets.c:513:27: note: in expansion of macro 'XtNcallback' XtAddCallback(button, XtNcallback, SaveResource,(XtPointer) res_box); ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ widgets.c:517:27: note: in expansion of macro 'XtNcallback' XtAddCallback(button, XtNcallback, ApplyResource,(XtPointer) node); ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ widgets.c:521:27: note: in expansion of macro 'XtNcallback' XtAddCallback(button, XtNcallback, SaveResource,(XtPointer) res_box); ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ widgets.c:522:27: note: in expansion of macro 'XtNcallback' XtAddCallback(button, XtNcallback, ApplyResource,(XtPointer) node); ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ widgets.c:526:26: note: in expansion of macro 'XtNcallback' XtAddCallback(button,XtNcallback,PopdownResBox,(XtPointer)res_box->shell); ^ In file included from widgets.c:31:0: widgets.c: In function 'CreateResourceNameForm': /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:566:2: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromHoriz, name); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:567:2: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNradioData, "."); num_args++; ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ widgets.c:570:21: note: in expansion of macro 'XtNcallback' XtAddCallback(dot, XtNcallback, ^ In file included from widgets.c:31:0: /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:574:2: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromHoriz, class); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:575:2: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromVert, dot); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:576:2: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNradioGroup, dot); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:577:2: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNradioData, "*"); num_args++; ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ widgets.c:580:21: note: in expansion of macro 'XtNcallback' XtAddCallback(star,XtNcallback, ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ widgets.c:610:25: note: in expansion of macro 'XtNcallback' XtAddCallback(any, XtNcallback, AnyChosen, (XtPointer) old_info); ^ /usr/local/include/X11/StringDefs.h:363:29: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNdestroyCallback ((char*)&XtStrings[169]) ^ widgets.c:611:25: note: in expansion of macro 'XtNdestroyCallback' XtAddCallback(any, XtNdestroyCallback, ^ In file included from widgets.c:31:0: /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:621:2: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromHoriz, dot); num_args++; ^ /usr/local/include/X11/StringDefs.h:435:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlabel ((char*)&XtStrings[429]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:622:27: note: in expansion of macro 'XtNlabel' XtSetArg(args[num_args], XtNlabel, names[i]); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:623:2: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNradioData, names[i]); num_args++; ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ widgets.c:626:21: note: in expansion of macro 'XtNcallback' XtAddCallback(name,XtNcallback, ^ In file included from widgets.c:31:0: /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:630:2: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromHoriz, star); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:631:2: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromVert, name); num_args++; ^ /usr/local/include/X11/StringDefs.h:435:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlabel ((char*)&XtStrings[429]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:632:27: note: in expansion of macro 'XtNlabel' XtSetArg(args[num_args], XtNlabel, classes[i]); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:633:2: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNradioGroup, name); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:634:2: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNradioData, classes[i]); num_args++; ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ widgets.c:637:23: note: in expansion of macro 'XtNcallback' XtAddCallback(class, XtNcallback, ^ In file included from widgets.c:31:0: /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:641:2: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromHoriz, star); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:642:2: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromVert, class); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:643:2: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNradioData, "?"); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:644:2: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNradioGroup, name); num_args++; ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ widgets.c:647:23: note: in expansion of macro 'XtNcallback' XtAddCallback(single,XtNcallback, ^ In file included from widgets.c:31:0: /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:651:2: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromHoriz, any); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:652:2: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromVert, single); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:653:2: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNradioGroup, name); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:654:2: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNradioData, ANY_RADIO_DATA); num_args++; ^ In file included from widgets.c:46:0: widgets.c: In function 'SetToggleGroupLeaders': /usr/local/include/X11/Xaw/Toggle.h:94:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNstate "state" ^ widgets.c:685:3: note: in expansion of macro 'XtNstate' {XtNstate, (XtArgVal) TRUE} ^ In file included from widgets.c:31:0: widgets.c: In function 'MakeBoxLookNice': /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:726:5: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNhorizDistance, &(h_dist[0])); num_args++; ^ /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:727:30: note: in expansion of macro 'XtNwidth' XtSetArg(args[num_args], XtNwidth, &width_1); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:731:5: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNhorizDistance, &(h_dist[1])); num_args++; ^ /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:732:30: note: in expansion of macro 'XtNwidth' XtSetArg(args[num_args], XtNwidth, &width_2); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:736:5: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNhorizDistance, &(h_dist[2])); num_args++; ^ /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:737:30: note: in expansion of macro 'XtNwidth' XtSetArg(args[num_args], XtNwidth, &any_width); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:746:5: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNhorizDistance, h_dist[0]); num_args++; ^ /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:752:30: note: in expansion of macro 'XtNwidth' XtSetArg(args[num_args], XtNwidth, dot_star_width); num_args++; ^ /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:764:30: note: in expansion of macro 'XtNwidth' XtSetArg(args[num_args], XtNwidth, &width_1); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:765:5: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNhorizDistance, &(h_dist[0])); num_args++; ^ /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:769:30: note: in expansion of macro 'XtNwidth' XtSetArg(args[num_args], XtNwidth, &width_2); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:770:5: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNhorizDistance, &(h_dist[1])); num_args++; ^ /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:777:30: note: in expansion of macro 'XtNwidth' XtSetArg(args[num_args], XtNwidth, &width_2); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:778:5: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNhorizDistance, &(h_dist[1])); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:790:2: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNhorizDistance, ^ /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:795:30: note: in expansion of macro 'XtNwidth' XtSetArg(args[num_args], XtNwidth, any_width); num_args++; ^ /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:799:30: note: in expansion of macro 'XtNwidth' XtSetArg(args[num_args], XtNwidth, name_class_width); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:800:5: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNhorizDistance, h_dist[0]); num_args++; ^ widgets.c: At top level: widgets.c:817:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] static char* noneList[] = {"None"}; ^ In file included from widgets.c:31:0: widgets.c: In function 'CreateLists': /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:835:9: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNlist, noneList); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:836:9: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNnumberStrings, 1); num_args++; ^ /usr/local/include/X11/StringDefs.h:510:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNsensitive ((char*)&XtStrings[711]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:837:34: note: in expansion of macro 'XtNsensitive' XtSetArg(args[num_args], XtNsensitive, False); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:839:12: note: in expansion of macro 'XtSetArg' else { XtSetArg(args[num_args], XtNlist, names); num_args++; } ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ widgets.c:844:39: note: in expansion of macro 'XtNcallback' XtAddCallback(res_box->norm_list, XtNcallback, ^ /usr/local/include/X11/StringDefs.h:363:29: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNdestroyCallback ((char*)&XtStrings[169]) ^ widgets.c:846:39: note: in expansion of macro 'XtNdestroyCallback' XtAddCallback(res_box->norm_list, XtNdestroyCallback, ^ In file included from widgets.c:31:0: /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:854:2: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNlist, cons_names); num_args++; ^ In file included from widgets.c:32:0: /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ widgets.c:860:36: note: in expansion of macro 'XtNcallback' XtAddCallback(res_box->cons_list, XtNcallback, ^ /usr/local/include/X11/StringDefs.h:363:29: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNdestroyCallback ((char*)&XtStrings[169]) ^ widgets.c:862:36: note: in expansion of macro 'XtNdestroyCallback' XtAddCallback(res_box->cons_list, XtNdestroyCallback, ^ In file included from widgets.c:31:0: widgets.c: In function 'CreateValueWidget': /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:888:5: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNleft, XawChainLeft); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:889:5: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNright, XawChainLeft); num_args++; ^ /usr/local/include/X11/StringDefs.h:540:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNtop ((char*)&XtStrings[798]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:890:30: note: in expansion of macro 'XtNtop' XtSetArg(args[num_args], XtNtop, XawChainTop); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:891:5: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNbottom, XawChainBottom); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:896:5: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromHoriz, label); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:897:5: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNleft, XawChainLeft); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:898:5: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNright, XawChainRight); num_args++; ^ /usr/local/include/X11/StringDefs.h:540:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNtop ((char*)&XtStrings[798]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:899:30: note: in expansion of macro 'XtNtop' XtSetArg(args[num_args], XtNtop, XawChainTop); num_args++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:900:5: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNbottom, XawChainBottom); num_args++; ^ widgets.c: In function 'PopupOnNode': /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:928:30: note: in expansion of macro 'XtNwidth' XtSetArg(args[num_args], XtNwidth, &width); num_args++; ^ /usr/local/include/X11/StringDefs.h:384:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNheight ((char*)&XtStrings[234]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:929:30: note: in expansion of macro 'XtNheight' XtSetArg(args[num_args], XtNheight, &height); num_args++; ^ /usr/local/include/X11/StringDefs.h:348:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNborderWidth ((char*)&XtStrings[124]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:930:30: note: in expansion of macro 'XtNborderWidth' XtSetArg(args[num_args], XtNborderWidth, &bw); num_args++; ^ /usr/local/include/X11/StringDefs.h:570:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNx ((char*)&XtStrings[885]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:961:30: note: in expansion of macro 'XtNx' XtSetArg(args[num_args], XtNx, x); num_args++; ^ /usr/local/include/X11/StringDefs.h:573:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNy ((char*)&XtStrings[887]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ widgets.c:962:30: note: in expansion of macro 'XtNy' XtSetArg(args[num_args], XtNy, y); num_args++; ^ --- comm.o --- mv -f .deps/comm.Tpo .deps/comm.Po --- utils.o --- mv -f .deps/utils.Tpo .deps/utils.Po --- handler.o --- mv -f .deps/handler.Tpo .deps/handler.Po --- widgets.o --- mv -f .deps/widgets.Tpo .deps/widgets.Po --- wtree.o --- mv -f .deps/wtree.Tpo .deps/wtree.Po --- editres --- cc -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -pipe -O2 -fno-strict-aliasing -o editres actions.o comm.o editres.o geometry.o handler.o setvalues.o svpopup.o utils.o widgets.o wtree.o -L/usr/local/lib -lXaw7 -lXmu -lXt -lX11 =========================================================================== =================================================== ===> editres-1.0.6 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> editres-1.0.6 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> editres-1.0.6 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> editres-1.0.6 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found =========================================================================== =================================================== ===> Staging for editres-1.0.6 ===> Generating temporary packing list Making install in man test -z "/usr/local/man/man1" || /bin/mkdir -p "/wrkdirs/x11/editres/stage/usr/local/man/man1" install -m 0644 editres.1 '/wrkdirs/x11/editres/stage/usr/local/man/man1' test -z "/usr/local/bin" || /bin/mkdir -p "/wrkdirs/x11/editres/stage/usr/local/bin" install -s -m 555 editres '/wrkdirs/x11/editres/stage/usr/local/bin' test -z "/usr/local/share/X11/app-defaults" || /bin/mkdir -p "/wrkdirs/x11/editres/stage/usr/local/share/X11/app-defaults" install -m 0644 app-defaults/Editres-color app-defaults/Editres '/wrkdirs/x11/editres/stage/usr/local/share/X11/app-defaults' ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for editres-1.0.6 file sizes/checksums [4]: . done packing files [4]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for editres-1.0.6 build of x11/editres ended at Wed Oct 5 18:36:44 PDT 2016 build time: 00:00:12