=> Building x11-toolkits/libxaw3dxft build started at Sat Oct 8 12:27:49 PDT 2016 port directory: /usr/ports/x11-toolkits/libxaw3dxft 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: johans@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/Release46-default/ref/../05//usr/ports/x11-toolkits/libxaw3dxft/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400600 ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/Release46-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=libxaw3dxft-1.6.2.d OLDPWD=/root/boom PWD=/build/boomdata/data/.m/Release46-default/ref/.p/pool MASTERNAME=Release46-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-- --enable-internationalization --enable-arrow-scrollbars --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-toolkits/libxaw3dxft XDG_CONFIG_HOME=/wrkdirs/x11-toolkits/libxaw3dxft HOME=/wrkdirs/x11-toolkits/libxaw3dxft 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-toolkits/libxaw3dxft XDG_CONFIG_HOME=/wrkdirs/x11-toolkits/libxaw3dxft HOME=/wrkdirs/x11-toolkits/libxaw3dxft 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="-I/usr/local/include/freetype2" 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.6 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/libXaw3dXft" EXAMPLESDIR="share/examples/libxaw3dxft" DATADIR="share/libxaw3dxft" WWWDIR="www/libxaw3dxft" ETCDIR="etc/libxaw3dxft" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/libxaw3dxft DOCSDIR=/usr/local/share/doc/libXaw3dXft EXAMPLESDIR=/usr/local/share/examples/libxaw3dxft WWWDIR=/usr/local/www/libxaw3dxft ETCDIR=/usr/local/etc/libxaw3dxft --End SUB_LIST-- ---Begin make.conf--- 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--- =================================================== =========================================================================== =================================================== ===> libxaw3dxft-1.6.2.d 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 ===> libxaw3dxft-1.6.2.d depends on file: /usr/local/sbin/pkg - found ===> Returning to build of libxaw3dxft-1.6.2.d =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by libxaw3dxft-1.6.2.d for building =========================================================================== =================================================== ===> Fetching all distfiles required by libxaw3dxft-1.6.2.d for building => SHA256 Checksum OK for libXaw3dXft-1.6.2d.tar.bz2. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by libxaw3dxft-1.6.2.d for building ===> Extracting for libxaw3dxft-1.6.2.d => SHA256 Checksum OK for libXaw3dXft-1.6.2d.tar.bz2. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for libxaw3dxft-1.6.2.d =========================================================================== =================================================== ===> libxaw3dxft-1.6.2.d 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 ===> libxaw3dxft-1.6.2.d depends on package: pkgconf>=0.9.10 - found ===> Returning to build of libxaw3dxft-1.6.2.d ===> libxaw3dxft-1.6.2.d depends on file: /usr/local/libdata/pkgconfig/xft.pc - not found ===> Installing existing package /packages/All/libXft-2.3.2_1.txz Installing libXft-2.3.2_1... `-- Installing xproto-7.0.28... `-- Extracting xproto-7.0.28: .......... done `-- Installing fontconfig-2.12.1,1... | `-- Installing expat-2.2.0... | `-- Extracting expat-2.2.0: .......... done | `-- Installing freetype2-2.6.3... | `-- Extracting freetype2-2.6.3: .......... done `-- Extracting fontconfig-2.12.1,1: .......... done Running fc-cache to build fontconfig cache... /usr/local/share/fonts: skipping, no such directory /usr/local/lib/X11/fonts: skipping, no such directory /var/db/fontconfig: cleaning cache directory fc-cache: succeeded `-- Installing libXrender-0.9.9... | `-- Installing renderproto-0.11.1... | `-- Extracting renderproto-0.11.1: .... done | `-- Installing libX11-1.6.3,1... | | `-- 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 `-- Extracting libXrender-0.9.9: .......... done Extracting libXft-2.3.2_1: ......... done ===> libxaw3dxft-1.6.2.d depends on file: /usr/local/libdata/pkgconfig/xft.pc - found ===> Returning to build of libxaw3dxft-1.6.2.d ===> libxaw3dxft-1.6.2.d 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 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 `-- 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 ===> libxaw3dxft-1.6.2.d depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> Returning to build of libxaw3dxft-1.6.2.d ===> libxaw3dxft-1.6.2.d depends on file: /usr/local/libdata/pkgconfig/xpm.pc - not found ===> Installing existing package /packages/All/libXpm-3.5.11_4.txz 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 ===> libxaw3dxft-1.6.2.d depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found ===> Returning to build of libxaw3dxft-1.6.2.d =========================================================================== =================================================== ===> libxaw3dxft-1.6.2.d depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so) =========================================================================== =================================================== ===> Configuring for libxaw3dxft-1.6.2.d 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 build system type... x86_64-portbld-dragonfly4.6 checking host system type... x86_64-portbld-dragonfly4.6 checking how to print strings... printf 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 a sed that does not truncate output... (cached) /usr/bin/sed checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for fgrep... (cached) /usr/bin/fgrep checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... (cached) 262144 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking how to convert x86_64-portbld-dragonfly4.6 file names to x86_64-portbld-dragonfly4.6 format... func_convert_file_noop checking how to convert x86_64-portbld-dragonfly4.6 file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... cpp 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 for dlfcn.h... (cached) yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... dragonfly4.6 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for cc option to accept ISO C99... none needed checking whether __clang__ is declared... no checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... no checking pkg-config is at least version 0.9.0... yes 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 Package xorg-macros was not found in the pkg-config search path. Perhaps you should add the directory containing `xorg-macros.pc' to the PKG_CONFIG_PATH environment variable Package 'xorg-macros', required by 'virtual:world', not found checking whether make supports nested variables... yes checking for bison... no checking for byacc... byacc checking for byacc... /usr/bin/byacc checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for X11... yes checking for wctype.h... (cached) yes checking for wchar.h... (cached) yes checking widec.h usability... no checking widec.h presence... no checking for widec.h... no checking for iswspace... yes checking for intptr_t... yes configure: creating ./config.status config.status: creating Makefile config.status: creating include/Makefile config.status: creating src/Makefile config.status: creating libxaw3dxft.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands =========================================================================== =================================================== ===> Building for libxaw3dxft-1.6.2.d --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in include Making all in src --- laygram.h --- --- all --- /usr/bin/make all-am --- AllWidgets.lo --- --- AsciiSink.lo --- --- AsciiSrc.lo --- --- AsciiText.lo --- --- Box.lo --- --- AllWidgets.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT AllWidgets.lo -MD -MP -MF .deps/AllWidgets.Tpo -c -o AllWidgets.lo AllWidgets.c --- AsciiSink.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT AsciiSink.lo -MD -MP -MF .deps/AsciiSink.Tpo -c -o AsciiSink.lo AsciiSink.c --- AsciiSrc.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT AsciiSrc.lo -MD -MP -MF .deps/AsciiSrc.Tpo -c -o AsciiSrc.lo AsciiSrc.c --- AsciiText.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT AsciiText.lo -MD -MP -MF .deps/AsciiText.Tpo -c -o AsciiText.lo AsciiText.c --- Box.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Box.lo -MD -MP -MF .deps/Box.Tpo -c -o Box.lo Box.c --- AsciiSrc.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT AsciiSrc.lo -MD -MP -MF .deps/AsciiSrc.Tpo -c AsciiSrc.c -fPIC -DPIC -o .libs/AsciiSrc.o --- AsciiText.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT AsciiText.lo -MD -MP -MF .deps/AsciiText.Tpo -c AsciiText.c -fPIC -DPIC -o .libs/AsciiText.o --- AsciiSrc.lo --- In file included from ../include/X11/Xaw3dxft/Xaw3dXft.h:53:0, from ../include/X11/Xaw3dxft/TextP.h:54, from ../include/X11/Xaw3dxft/TextSrcP.h:64, from ../include/X11/Xaw3dxft/AsciiSrcP.h:71, from AsciiSrc.c:48: ../include/X11/Xaw3dxft/XawInit.h:28:13: warning: redundant redeclaration of 'XawInitializeWidgetSet' [-Wredundant-decls] extern void XawInitializeWidgetSet(void); /* called from ClassInit procs */ ^ In file included from AsciiSrc.c:47:0: ../include/X11/Xaw3dxft/XawInit.h:28:13: note: previous declaration of 'XawInitializeWidgetSet' was here extern void XawInitializeWidgetSet(void); /* called from ClassInit procs */ ^ In file included from AsciiSrc.c:41: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]) ^ AsciiSrc.c:73:6: note: in expansion of macro 'XtNstring' {XtNstring, XtCString, XtRString, sizeof (char *), ^ /usr/local/include/X11/StringDefs.h:732:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCString ((char*)&XtStrings[1416]) ^ AsciiSrc.c:73:17: note: in expansion of macro 'XtCString' {XtNstring, XtCString, XtRString, sizeof (char *), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ AsciiSrc.c:73:28: note: in expansion of macro 'XtRString' {XtNstring, XtCString, XtRString, sizeof (char *), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ AsciiSrc.c:74:24: note: in expansion of macro 'XtRString' offset(string), XtRString, NULL}, ^ In file included from ../include/X11/Xaw3dxft/MultiSrcP.h:103:0, from AsciiSrc.c:52: ../include/X11/Xaw3dxft/MultiSrc.h:103:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNtype "type" ^ AsciiSrc.c:75:6: note: in expansion of macro 'XtNtype' {XtNtype, XtCType, XtRAsciiType, sizeof (XawAsciiType), ^ ../include/X11/Xaw3dxft/MultiSrc.h:98:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCType "Type" ^ AsciiSrc.c:75:15: note: in expansion of macro 'XtCType' {XtNtype, XtCType, XtRAsciiType, sizeof (XawAsciiType), ^ In file included from ../include/X11/Xaw3dxft/Text.h:274:0, from ../include/X11/Xaw3dxft/TextSrc.h:58, from ../include/X11/Xaw3dxft/TextSrcP.h:63, from ../include/X11/Xaw3dxft/AsciiSrcP.h:71, from AsciiSrc.c:48: ../include/X11/Xaw3dxft/AsciiSrc.h:91:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRAsciiType "AsciiType" ^ AsciiSrc.c:75:24: note: in expansion of macro 'XtRAsciiType' {XtNtype, XtCType, XtRAsciiType, sizeof (XawAsciiType), ^ In file included from AsciiSrc.c:41:0: /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ AsciiSrc.c:76:22: note: in expansion of macro 'XtRImmediate' offset(type), XtRImmediate, (XtPointer)XawAsciiString}, ^ In file included from ../include/X11/Xaw3dxft/MultiSrcP.h:103:0, from AsciiSrc.c:52: ../include/X11/Xaw3dxft/MultiSrc.h:101:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNdataCompression "dataCompression" ^ AsciiSrc.c:77:6: note: in expansion of macro 'XtNdataCompression' {XtNdataCompression, XtCDataCompression, XtRBoolean, sizeof (Boolean), ^ ../include/X11/Xaw3dxft/MultiSrc.h:96:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCDataCompression "DataCompression" ^ AsciiSrc.c:77:26: note: in expansion of macro 'XtCDataCompression' {XtNdataCompression, XtCDataCompression, XtRBoolean, sizeof (Boolean), ^ --- AsciiText.lo --- In file included from ../include/X11/Xaw3dxft/Xaw3dXft.h:53:0, from ../include/X11/Xaw3dxft/TextP.h:54, from ../include/X11/Xaw3dxft/AsciiTextP.h:72, from AsciiText.c:77: ../include/X11/Xaw3dxft/XawInit.h:28:13: warning: redundant redeclaration of 'XawInitializeWidgetSet' [-Wredundant-decls] extern void XawInitializeWidgetSet(void); /* called from ClassInit procs */ ^ In file included from AsciiText.c:75:0: ../include/X11/Xaw3dxft/XawInit.h:28:13: note: previous declaration of 'XawInitializeWidgetSet' was here extern void XawInitializeWidgetSet(void); /* called from ClassInit procs */ ^ --- AsciiSrc.lo --- In file included from AsciiSrc.c:41: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]) ^ AsciiSrc.c:77:46: note: in expansion of macro 'XtRBoolean' {XtNdataCompression, XtCDataCompression, 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]) ^ AsciiSrc.c:78:34: note: in expansion of macro 'XtRImmediate' offset(data_compression), XtRImmediate, (XtPointer) TRUE}, ^ In file included from ../include/X11/Xaw3dxft/MultiSrcP.h:103:0, from AsciiSrc.c:52: ../include/X11/Xaw3dxft/MultiSrc.h:102:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] --- AsciiText.lo --- AsciiText.c:95:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "Text", ^ --- AsciiSrc.lo --- #define XtNpieceSize "pieceSize" ^ AsciiSrc.c:79:6: note: in expansion of macro 'XtNpieceSize' {XtNpieceSize, XtCPieceSize, XtRInt, sizeof (XawTextPosition), ^ ../include/X11/Xaw3dxft/MultiSrc.h:97:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCPieceSize "PieceSize" ^ AsciiSrc.c:79:20: note: in expansion of macro 'XtCPieceSize' {XtNpieceSize, XtCPieceSize, XtRInt, sizeof (XawTextPosition), ^ In file included from AsciiSrc.c:41: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]) ^ AsciiSrc.c:79:34: note: in expansion of macro 'XtRInt' {XtNpieceSize, XtCPieceSize, XtRInt, sizeof (XawTextPosition), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ AsciiSrc.c:80:28: note: in expansion of macro 'XtRImmediate' offset(piece_size), XtRImmediate, (XtPointer) BUFSIZ}, ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ AsciiSrc.c:81:6: note: in expansion of macro 'XtNcallback' {XtNcallback, XtCCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:594:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCCallback ((char*)&XtStrings[952]) ^ AsciiSrc.c:81:19: note: in expansion of macro 'XtCCallback' {XtNcallback, XtCCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:789:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCallback ((char*)&XtStrings[1569]) ^ AsciiSrc.c:81:32: note: in expansion of macro 'XtRCallback' {XtNcallback, XtCCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:789:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCallback ((char*)&XtStrings[1569]) ^ AsciiSrc.c:82:26: note: in expansion of macro 'XtRCallback' offset(callback), XtRCallback, (XtPointer)NULL}, ^ In file included from ../include/X11/Xaw3dxft/MultiSrcP.h:103:0, from AsciiSrc.c:52: ../include/X11/Xaw3dxft/MultiSrc.h:104:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNuseStringInPlace "useStringInPlace" ^ AsciiSrc.c:83:6: note: in expansion of macro 'XtNuseStringInPlace' {XtNuseStringInPlace, XtCUseStringInPlace, XtRBoolean, sizeof (Boolean), ^ ../include/X11/Xaw3dxft/MultiSrc.h:99:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCUseStringInPlace "UseStringInPlace" ^ AsciiSrc.c:83:27: note: in expansion of macro 'XtCUseStringInPlace' {XtNuseStringInPlace, XtCUseStringInPlace, XtRBoolean, sizeof (Boolean), ^ In file included from AsciiSrc.c:41: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]) ^ AsciiSrc.c:83:48: note: in expansion of macro 'XtRBoolean' {XtNuseStringInPlace, XtCUseStringInPlace, 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]) ^ AsciiSrc.c:84:37: note: in expansion of macro 'XtRImmediate' offset(use_string_in_place), XtRImmediate, (XtPointer) FALSE}, ^ /usr/local/include/X11/StringDefs.h:438:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlength ((char*)&XtStrings[435]) ^ AsciiSrc.c:85:6: note: in expansion of macro 'XtNlength' {XtNlength, XtCLength, XtRInt, sizeof (int), ^ /usr/local/include/X11/StringDefs.h:660:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCLength ((char*)&XtStrings[1157]) ^ AsciiSrc.c:85:17: note: in expansion of macro 'XtCLength' {XtNlength, XtCLength, XtRInt, sizeof (int), ^ /usr/local/include/X11/StringDefs.h:843:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRInt ((char*)&XtStrings[1718]) ^ AsciiSrc.c:85:28: note: in expansion of macro 'XtRInt' {XtNlength, XtCLength, XtRInt, sizeof (int), ^ /usr/local/include/X11/StringDefs.h:843:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRInt ((char*)&XtStrings[1718]) ^ AsciiSrc.c:86:30: note: in expansion of macro 'XtRInt' offset(ascii_length), XtRInt, (XtPointer) &magic_value}, ^ AsciiSrc.c:135:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "AsciiSrc", ^ In file included from AsciiSrc.c:41:0: AsciiSrc.c: In function 'ClassInitialize': /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ AsciiSrc.c:200:19: note: in expansion of macro 'XtRString' XtAddConverter( XtRString, XtRAsciiType, CvtStringToAsciiType, ^ --- AsciiText.lo --- In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from AsciiText.c:71: AsciiText.c: In function 'Initialize': --- AsciiSrc.lo --- AsciiSrc.c: In function 'ReplaceText': /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ AsciiSrc.c:394:22: note: in expansion of macro 'XtNcallback' XtCallCallbacks(w, XtNcallback, NULL); /* Call callbacks, we have changed ^ In file included from AsciiSrc.c:52:0: AsciiSrc.c: In function 'SetValues': /usr/local/include/X11/StringDefs.h:519:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNstring ((char*)&XtStrings[733]) ^ ../include/X11/Xaw3dxft/MultiSrcP.h:119:43: note: in definition of macro 'streq' #define streq(a, b) ( strcmp((a), (b)) == 0 ) ^ AsciiSrc.c:647:31: note: in expansion of macro 'XtNstring' if (streq(args[i].name, XtNstring)) { ^ AsciiSrc.c: In function 'GetValuesHook': --- AsciiText.lo --- /usr/local/include/X11/StringDefs.h:948:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNfontSet ((char*)&XtStrings[2018]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ AsciiText.c:198:25: note: in expansion of macro 'XtNfontSet' XtSetArg (list[ac], XtNfontSet, sink->multi_sink.fontset); ac++; ^ /usr/local/include/X11/StringDefs.h:408:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNinsertPosition ((char*)&XtStrings[326]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ AsciiText.c:199:25: note: in expansion of macro 'XtNinsertPosition' --- AsciiSrc.lo --- /usr/local/include/X11/StringDefs.h:519:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNstring ((char*)&XtStrings[733]) ^ ../include/X11/Xaw3dxft/MultiSrcP.h:119:43: note: in definition of macro 'streq' #define streq(a, b) ( strcmp((a), (b)) == 0 ) ^ AsciiSrc.c:693:31: note: in expansion of macro 'XtNstring' if (streq(args[i].name, XtNstring)) { ^ AsciiSrc.c: In function 'InitStringOrFile': AsciiSrc.c:1016:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] open_mode = "r"; ^ AsciiSrc.c:1024:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] open_mode = "w"; ^ AsciiSrc.c:1026:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] open_mode = "r+"; ^ --- AsciiText.lo --- XtSetArg (list[ac], XtNinsertPosition, w->text.insertPos); ac++; ^ /usr/local/include/X11/StringDefs.h:378:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNforeground ((char*)&XtStrings[214]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ AsciiText.c:200:25: note: in expansion of macro 'XtNforeground' XtSetArg (list[ac], XtNforeground, sink->text_sink.foreground); ac++; ^ /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) )) ^ AsciiText.c:201:25: note: in expansion of macro 'XtNbackground' XtSetArg (list[ac], XtNbackground, sink->text_sink.background); ac++; ^ --- Box.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Box.lo -MD -MP -MF .deps/Box.Tpo -c Box.c -fPIC -DPIC -o .libs/Box.o --- AllWidgets.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT AllWidgets.lo -MD -MP -MF .deps/AllWidgets.Tpo -c AllWidgets.c -fPIC -DPIC -o .libs/AllWidgets.o --- AsciiSink.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT AsciiSink.lo -MD -MP -MF .deps/AsciiSink.Tpo -c AsciiSink.c -fPIC -DPIC -o .libs/AsciiSink.o --- Box.lo --- In file included from Box.c:59:0: /usr/local/include/X11/StringDefs.h:390:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNhSpace ((char*)&XtStrings[251]) ^ Box.c:71:7: note: in expansion of macro 'XtNhSpace' { XtNhSpace, XtCHSpace, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:633:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCHSpace ((char*)&XtStrings[1058]) ^ Box.c:71:18: note: in expansion of macro 'XtCHSpace' { XtNhSpace, XtCHSpace, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Box.c:71:29: note: in expansion of macro 'XtRDimension' { XtNhSpace, XtCHSpace, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Box.c:73:3: note: in expansion of macro 'XtRImmediate' XtRImmediate, (XtPointer)4 }, ^ /usr/local/include/X11/StringDefs.h:561:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNvSpace ((char*)&XtStrings[865]) ^ Box.c:74:7: note: in expansion of macro 'XtNvSpace' { XtNvSpace, XtCVSpace, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:759:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCVSpace ((char*)&XtStrings[1503]) ^ Box.c:74:18: note: in expansion of macro 'XtCVSpace' { XtNvSpace, XtCVSpace, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Box.c:74:29: note: in expansion of macro 'XtRDimension' { XtNvSpace, XtCVSpace, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Box.c:76:3: note: in expansion of macro 'XtRImmediate' XtRImmediate, (XtPointer)4 }, ^ /usr/local/include/X11/StringDefs.h:459:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNorientation ((char*)&XtStrings[505]) ^ Box.c:77:7: note: in expansion of macro 'XtNorientation' { XtNorientation, XtCOrientation, XtROrientation, sizeof(XtOrientation), ^ /usr/local/include/X11/StringDefs.h:675:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCOrientation ((char*)&XtStrings[1206]) ^ Box.c:77:23: note: in expansion of macro 'XtCOrientation' { XtNorientation, XtCOrientation, XtROrientation, sizeof(XtOrientation), ^ /usr/local/include/X11/StringDefs.h:855:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtROrientation ((char*)&XtStrings[1742]) ^ Box.c:77:39: note: in expansion of macro 'XtROrientation' { XtNorientation, XtCOrientation, XtROrientation, sizeof(XtOrientation), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Box.c:79:3: note: in expansion of macro 'XtRImmediate' XtRImmediate, (XtPointer)XtorientVertical }, ^ Box.c:101:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "Box", ^ In file included from Box.c:59:0: Box.c: In function 'ClassInitialize': /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Box.c:574:21: note: in expansion of macro 'XtRString' XtAddConverter( XtRString, XtROrientation, XmuCvtStringToOrientation, ^ /usr/local/include/X11/StringDefs.h:855:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtROrientation ((char*)&XtStrings[1742]) ^ Box.c:574:32: note: in expansion of macro 'XtROrientation' XtAddConverter( XtRString, XtROrientation, XmuCvtStringToOrientation, ^ --- AllWidgets.lo --- AllWidgets.c:69:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "applicationShell", &applicationShellWidgetClass }, ^ AllWidgets.c:70:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "asciiSink", &asciiSinkObjectClass }, ^ AllWidgets.c:71:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "asciiSrc", &asciiSrcObjectClass }, ^ AllWidgets.c:72:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "asciiText", &asciiTextWidgetClass }, ^ AllWidgets.c:73:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "box", &boxWidgetClass }, ^ AllWidgets.c:74:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "command", &commandWidgetClass }, ^ AllWidgets.c:75:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "composite", &compositeWidgetClass }, ^ AllWidgets.c:76:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "constraint", &constraintWidgetClass }, ^ AllWidgets.c:77:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "core", &coreWidgetClass }, ^ AllWidgets.c:78:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "dialog", &dialogWidgetClass }, ^ AllWidgets.c:79:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "form", &formWidgetClass }, ^ AllWidgets.c:80:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "grip", &gripWidgetClass }, ^ AllWidgets.c:81:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "label", &labelWidgetClass }, ^ AllWidgets.c:82:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "layout", &layoutWidgetClass }, ^ AllWidgets.c:83:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "list", &listWidgetClass }, ^ AllWidgets.c:84:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "menuButton", &menuButtonWidgetClass }, ^ AllWidgets.c:86:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "multiSink", &multiSinkObjectClass }, ^ AllWidgets.c:87:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "multiSrc", &multiSrcObjectClass }, ^ AllWidgets.c:89:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "object", &objectClass }, ^ AllWidgets.c:90:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "overrideShell", &overrideShellWidgetClass }, ^ AllWidgets.c:91:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "paned", &panedWidgetClass }, ^ AllWidgets.c:92:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "panner", &pannerWidgetClass }, ^ AllWidgets.c:93:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "porthole", &portholeWidgetClass }, ^ AllWidgets.c:94:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "rect", &rectObjClass }, ^ AllWidgets.c:95:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "repeater", &repeaterWidgetClass }, ^ AllWidgets.c:96:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "scrollbar", &scrollbarWidgetClass }, ^ AllWidgets.c:97:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "shell", &shellWidgetClass }, ^ AllWidgets.c:98:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "simpleMenu", &simpleMenuWidgetClass }, ^ AllWidgets.c:99:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "simple", &simpleWidgetClass }, ^ AllWidgets.c:100:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "smeBSB", &smeBSBObjectClass }, ^ AllWidgets.c:101:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "smeLine", &smeLineObjectClass }, ^ AllWidgets.c:102:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "smeThreeD", &smeThreeDObjectClass }, ^ AllWidgets.c:103:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "sme", &smeObjectClass }, ^ AllWidgets.c:104:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "stripChart", &stripChartWidgetClass }, ^ AllWidgets.c:105:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "textSink", &textSinkObjectClass }, ^ AllWidgets.c:106:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "textSrc", &textSrcObjectClass }, ^ AllWidgets.c:107:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "text", &textWidgetClass }, ^ AllWidgets.c:108:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "threeD", &threeDWidgetClass }, ^ AllWidgets.c:109:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "toggle", &toggleWidgetClass }, ^ AllWidgets.c:110:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "topLevelShell", &topLevelShellWidgetClass }, ^ AllWidgets.c:111:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "transientShell", &transientShellWidgetClass }, ^ AllWidgets.c:112:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "tree", &treeWidgetClass }, ^ AllWidgets.c:113:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "vendorShell", &vendorShellWidgetClass }, ^ AllWidgets.c:114:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "viewport", &viewportWidgetClass }, ^ AllWidgets.c:115:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "wmShell", &wmShellWidgetClass }, ^ --- AsciiSink.lo --- In file included from ../include/X11/Xaw3dxft/Xaw3dXft.h:53:0, from ../include/X11/Xaw3dxft/TextP.h:54, from ../include/X11/Xaw3dxft/TextSinkP.h:64, from ../include/X11/Xaw3dxft/AsciiSinkP.h:64, from AsciiSink.c:59: ../include/X11/Xaw3dxft/XawInit.h:28:13: warning: redundant redeclaration of 'XawInitializeWidgetSet' [-Wredundant-decls] extern void XawInitializeWidgetSet(void); /* called from ClassInit procs */ ^ In file included from AsciiSink.c:58:0: ../include/X11/Xaw3dxft/XawInit.h:28:13: note: previous declaration of 'XawInitializeWidgetSet' was here extern void XawInitializeWidgetSet(void); /* called from ClassInit procs */ ^ In file included from AsciiSink.c:56:0: /usr/local/include/X11/StringDefs.h:372:18: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNfont ((char*)&XtStrings[199]) ^ AsciiSink.c:90:6: note: in expansion of macro 'XtNfont' {XtNfont, XtCFont, XtRFontStruct, sizeof (XFontStruct *), ^ /usr/local/include/X11/StringDefs.h:618:18: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCFont ((char*)&XtStrings[1017]) ^ AsciiSink.c:90:15: note: in expansion of macro 'XtCFont' {XtNfont, XtCFont, XtRFontStruct, sizeof (XFontStruct *), ^ /usr/local/include/X11/StringDefs.h:828:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRFontStruct ((char*)&XtStrings[1666]) ^ AsciiSink.c:90:24: note: in expansion of macro 'XtRFontStruct' {XtNfont, XtCFont, XtRFontStruct, sizeof (XFontStruct *), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ AsciiSink.c:91:16: note: in expansion of macro 'XtRString' offset(font), XtRString, XtDefaultFont}, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from AsciiSink.c:55: /usr/local/include/X11/Intrinsic.h:1657:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtDefaultFont "XtDefaultFont" ^ AsciiSink.c:91:27: note: in expansion of macro 'XtDefaultFont' offset(font), XtRString, XtDefaultFont}, ^ In file included from ../include/X11/Xaw3dxft/Text.h:275:0, from ../include/X11/Xaw3dxft/TextSink.h:52, from ../include/X11/Xaw3dxft/TextSinkP.h:63, from ../include/X11/Xaw3dxft/AsciiSinkP.h:64, from AsciiSink.c:59: ../include/X11/Xaw3dxft/AsciiSink.h:74:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNxftFont "xftFont" ^ AsciiSink.c:92:6: note: in expansion of macro 'XtNxftFont' {XtNxftFont, XtCXftFont, XtRString, sizeof(String), ^ ../include/X11/Xaw3dxft/AsciiSink.h:70:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCXftFont "XftFont" ^ AsciiSink.c:92:18: note: in expansion of macro 'XtCXftFont' {XtNxftFont, XtCXftFont, XtRString, sizeof(String), ^ In file included from AsciiSink.c:56: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]) ^ AsciiSink.c:92:30: note: in expansion of macro 'XtRString' {XtNxftFont, XtCXftFont, 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]) ^ AsciiSink.c:93:23: note: in expansion of macro 'XtRString' offset(xftfontname), XtRString, NULL}, ^ In file included from ../include/X11/Xaw3dxft/Text.h:275:0, from ../include/X11/Xaw3dxft/TextSink.h:52, from ../include/X11/Xaw3dxft/TextSinkP.h:63, from ../include/X11/Xaw3dxft/AsciiSinkP.h:64, from AsciiSink.c:59: ../include/X11/Xaw3dxft/AsciiSink.h:73:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNecho "echo" ^ AsciiSink.c:94:6: note: in expansion of macro 'XtNecho' {XtNecho, XtCOutput, XtRBoolean, sizeof(Boolean), ^ ../include/X11/Xaw3dxft/AsciiSink.h:69:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCOutput "Output" ^ AsciiSink.c:94:15: note: in expansion of macro 'XtCOutput' {XtNecho, XtCOutput, XtRBoolean, sizeof(Boolean), ^ In file included from AsciiSink.c:56: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]) ^ AsciiSink.c:94:26: note: in expansion of macro 'XtRBoolean' {XtNecho, XtCOutput, 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]) ^ AsciiSink.c:95:16: note: in expansion of macro 'XtRImmediate' offset(echo), XtRImmediate, (XtPointer) True}, ^ In file included from ../include/X11/Xaw3dxft/Text.h:275:0, from ../include/X11/Xaw3dxft/TextSink.h:52, from ../include/X11/Xaw3dxft/TextSinkP.h:63, from ../include/X11/Xaw3dxft/AsciiSinkP.h:64, from AsciiSink.c:59: ../include/X11/Xaw3dxft/AsciiSink.h:72:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNdisplayNonprinting "displayNonprinting" ^ AsciiSink.c:96:6: note: in expansion of macro 'XtNdisplayNonprinting' {XtNdisplayNonprinting, XtCOutput, XtRBoolean, sizeof(Boolean), ^ ../include/X11/Xaw3dxft/AsciiSink.h:69:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCOutput "Output" ^ AsciiSink.c:96:29: note: in expansion of macro 'XtCOutput' {XtNdisplayNonprinting, XtCOutput, XtRBoolean, sizeof(Boolean), ^ In file included from AsciiSink.c:56: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]) ^ AsciiSink.c:96:40: note: in expansion of macro 'XtRBoolean' {XtNdisplayNonprinting, XtCOutput, 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]) ^ AsciiSink.c:97:31: note: in expansion of macro 'XtRImmediate' offset(display_nonprinting), XtRImmediate, (XtPointer) True}, ^ AsciiSink.c:106:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "AsciiSink", ^ --- AllWidgets.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT AllWidgets.lo -MD -MP -MF .deps/AllWidgets.Tpo -c AllWidgets.c -o AllWidgets.o >/dev/null 2>&1 --- AsciiText.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT AsciiText.lo -MD -MP -MF .deps/AsciiText.Tpo -c AsciiText.c -o AsciiText.o >/dev/null 2>&1 --- AllWidgets.lo --- mv -f .deps/AllWidgets.Tpo .deps/AllWidgets.Plo --- Command.lo --- --- Box.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Box.lo -MD -MP -MF .deps/Box.Tpo -c Box.c -o Box.o >/dev/null 2>&1 --- Command.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Command.lo -MD -MP -MF .deps/Command.Tpo -c -o Command.lo Command.c --- AsciiText.lo --- mv -f .deps/AsciiText.Tpo .deps/AsciiText.Plo --- Dialog.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Dialog.lo -MD -MP -MF .deps/Dialog.Tpo -c -o Dialog.lo Dialog.c --- Command.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Command.lo -MD -MP -MF .deps/Command.Tpo -c Command.c -fPIC -DPIC -o .libs/Command.o --- Dialog.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Dialog.lo -MD -MP -MF .deps/Dialog.Tpo -c Dialog.c -fPIC -DPIC -o .libs/Dialog.o --- Command.lo --- In file included from ../include/X11/Xaw3dxft/Xaw3dXft.h:53:0, from ../include/X11/Xaw3dxft/Xaw3dXftP.h:42, from Command.c:62: ../include/X11/Xaw3dxft/XawInit.h:28:13: warning: redundant redeclaration of 'XawInitializeWidgetSet' [-Wredundant-decls] extern void XawInitializeWidgetSet(void); /* called from ClassInit procs */ ^ In file included from Command.c:61:0: ../include/X11/Xaw3dxft/XawInit.h:28:13: note: previous declaration of 'XawInitializeWidgetSet' was here extern void XawInitializeWidgetSet(void); /* called from ClassInit procs */ ^ In file included from Command.c:59: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]) ^ Command.c:86:5: note: in expansion of macro 'XtNcallback' {XtNcallback, XtCCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:594:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCCallback ((char*)&XtStrings[952]) ^ Command.c:86:18: note: in expansion of macro 'XtCCallback' {XtNcallback, XtCCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:789:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCallback ((char*)&XtStrings[1569]) ^ Command.c:86:31: note: in expansion of macro 'XtRCallback' {XtNcallback, XtCCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:789:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCallback ((char*)&XtStrings[1569]) ^ Command.c:87:34: note: in expansion of macro 'XtRCallback' offset(command.callbacks), XtRCallback, (XtPointer)NULL}, ^ In file included from ../include/X11/Xaw3dxft/CommandP.h:57:0, from Command.c:63: ../include/X11/Xaw3dxft/Command.h:98:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNhighlightThickness "highlightThickness" ^ Command.c:88:5: note: in expansion of macro 'XtNhighlightThickness' {XtNhighlightThickness, XtCThickness, XtRDimension, sizeof(Dimension), ^ In file included from Command.c:59:0: /usr/local/include/X11/StringDefs.h:747:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCThickness ((char*)&XtStrings[1468]) ^ Command.c:88:28: note: in expansion of macro 'XtCThickness' {XtNhighlightThickness, XtCThickness, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Command.c:88:42: note: in expansion of macro 'XtRDimension' {XtNhighlightThickness, XtCThickness, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Command.c:89:44: note: in expansion of macro 'XtRImmediate' offset(command.highlight_thickness), XtRImmediate, ^ In file included from ../include/X11/Xaw3dxft/CommandP.h:57:0, from Command.c:63: ../include/X11/Xaw3dxft/Command.h:100:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNshapeStyle "shapeStyle" ^ Command.c:91:5: note: in expansion of macro 'XtNshapeStyle' {XtNshapeStyle, XtCShapeStyle, XtRShapeStyle, sizeof(int), ^ ../include/X11/Xaw3dxft/Command.h:101:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCShapeStyle "ShapeStyle" ^ Command.c:91:20: note: in expansion of macro 'XtCShapeStyle' {XtNshapeStyle, XtCShapeStyle, XtRShapeStyle, sizeof(int), ^ ../include/X11/Xaw3dxft/Command.h:102:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRShapeStyle "ShapeStyle" ^ Command.c:91:35: note: in expansion of macro 'XtRShapeStyle' {XtNshapeStyle, XtCShapeStyle, XtRShapeStyle, sizeof(int), ^ In file included from Command.c:59:0: /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Command.c:92:36: note: in expansion of macro 'XtRImmediate' offset(command.shape_style), XtRImmediate, (XtPointer)XawShapeRectangle}, ^ In file included from ../include/X11/Xaw3dxft/CommandP.h:57:0, from Command.c:63: ../include/X11/Xaw3dxft/Command.h:103:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNcornerRoundPercent "cornerRoundPercent" ^ Command.c:93:5: note: in expansion of macro 'XtNcornerRoundPercent' {XtNcornerRoundPercent, XtCCornerRoundPercent, XtRDimension, ^ ../include/X11/Xaw3dxft/Command.h:104:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCCornerRoundPercent "CornerRoundPercent" ^ Command.c:93:28: note: in expansion of macro 'XtCCornerRoundPercent' {XtNcornerRoundPercent, XtCCornerRoundPercent, XtRDimension, ^ In file included from Command.c:59:0: /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Command.c:93:51: note: in expansion of macro 'XtRDimension' {XtNcornerRoundPercent, XtCCornerRoundPercent, XtRDimension, ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Command.c:94:58: note: in expansion of macro 'XtRImmediate' sizeof(Dimension), offset(command.corner_round), XtRImmediate, ^ In file included from ../include/X11/Xaw3dxft/ThreeDP.h:29:0, from ../include/X11/Xaw3dxft/LabelP.h:66, from ../include/X11/Xaw3dxft/CommandP.h:58, from Command.c:63: ../include/X11/Xaw3dxft/ThreeD.h:52:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNshadowWidth "shadowWidth" ^ Command.c:96:5: note: in expansion of macro 'XtNshadowWidth' {XtNshadowWidth, XtCShadowWidth, XtRDimension, sizeof(Dimension), ^ ../include/X11/Xaw3dxft/ThreeD.h:53:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCShadowWidth "ShadowWidth" ^ Command.c:96:21: note: in expansion of macro 'XtCShadowWidth' {XtNshadowWidth, XtCShadowWidth, XtRDimension, sizeof(Dimension), ^ In file included from Command.c:59:0: /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Command.c:96:37: note: in expansion of macro 'XtRDimension' {XtNshadowWidth, XtCShadowWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Command.c:97:31: note: in expansion of macro 'XtRImmediate' offset(threeD.shadow_width), XtRImmediate, (XtPointer) 2}, ^ /usr/local/include/X11/StringDefs.h:348:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNborderWidth ((char*)&XtStrings[124]) ^ Command.c:98:5: note: in expansion of macro 'XtNborderWidth' {XtNborderWidth, XtCBorderWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:591:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCBorderWidth ((char*)&XtStrings[940]) ^ Command.c:98:21: note: in expansion of macro 'XtCBorderWidth' {XtNborderWidth, XtCBorderWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Command.c:98:37: note: in expansion of macro 'XtRDimension' {XtNborderWidth, XtCBorderWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Command.c:99:54: note: in expansion of macro 'XtRImmediate' XtOffsetOf(RectObjRec,rectangle.border_width), XtRImmediate, ^ Command.c:121:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"set", Set}, ^ Command.c:122:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"notify", Notify}, ^ Command.c:123:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"highlight", Highlight}, ^ Command.c:124:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"reset", Reset}, ^ Command.c:125:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"unset", Unset}, ^ Command.c:126:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"unhighlight", Unhighlight} ^ Command.c:134:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Command", /* class_name */ ^ In file included from Command.c:59:0: Command.c: In function 'ClassInitialize': /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Command.c:577:25: note: in expansion of macro 'XtRString' XtSetTypeConverter( XtRString, XtRShapeStyle, XmuCvtStringToShapeStyle, ^ --- Dialog.lo --- In file included from Dialog.c:56: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]) ^ Dialog.c:77:4: note: in expansion of macro 'XtNlabel' {XtNlabel, XtCLabel, XtRString, sizeof(String), ^ /usr/local/include/X11/StringDefs.h:657:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCLabel ((char*)&XtStrings[1151]) ^ Dialog.c:77:14: note: in expansion of macro 'XtCLabel' {XtNlabel, XtCLabel, 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]) ^ Dialog.c:77:24: note: in expansion of macro 'XtRString' {XtNlabel, XtCLabel, 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]) ^ Dialog.c:78:43: note: in expansion of macro 'XtRString' XtOffsetOf(DialogRec, dialog.label), XtRString, NULL}, ^ /usr/local/include/X11/StringDefs.h:558:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNvalue ((char*)&XtStrings[859]) ^ Dialog.c:79:4: note: in expansion of macro 'XtNvalue' {XtNvalue, XtCValue, XtRString, sizeof(String), ^ /usr/local/include/X11/StringDefs.h:756:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCValue ((char*)&XtStrings[1497]) ^ Dialog.c:79:14: note: in expansion of macro 'XtCValue' {XtNvalue, XtCValue, 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]) ^ Dialog.c:79:24: note: in expansion of macro 'XtRString' {XtNvalue, XtCValue, 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]) ^ Dialog.c:80:43: note: in expansion of macro 'XtRString' XtOffsetOf(DialogRec, dialog.value), XtRString, NULL}, ^ In file included from ../include/X11/Xaw3dxft/DialogP.h:54:0, from Dialog.c:63: ../include/X11/Xaw3dxft/Dialog.h:81:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNicon "icon" ^ Dialog.c:81:4: note: in expansion of macro 'XtNicon' {XtNicon, XtCIcon, XtRBitmap, sizeof(Pixmap), ^ ../include/X11/Xaw3dxft/Dialog.h:80:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCIcon "Icon" ^ Dialog.c:81:13: note: in expansion of macro 'XtCIcon' {XtNicon, XtCIcon, XtRBitmap, sizeof(Pixmap), ^ In file included from Dialog.c:56:0: /usr/local/include/X11/StringDefs.h:780:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBitmap ((char*)&XtStrings[1549]) ^ Dialog.c:81:22: note: in expansion of macro 'XtRBitmap' {XtNicon, XtCIcon, XtRBitmap, sizeof(Pixmap), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Dialog.c:82:42: note: in expansion of macro 'XtRImmediate' XtOffsetOf(DialogRec, dialog.icon), XtRImmediate, 0}, ^ Dialog.c:94:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "Dialog", ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from Dialog.c:54: Dialog.c: In function 'Initialize': /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) )) ^ Dialog.c:160:32: note: in expansion of macro 'XtNborderWidth' XtSetArg(arglist[arg_cnt], XtNborderWidth, 0); arg_cnt++; ^ /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) )) ^ Dialog.c:161:5: note: in expansion of macro 'XtSetArg' XtSetArg(arglist[arg_cnt], XtNleft, XtChainLeft); arg_cnt++; ^ /usr/local/include/X11/StringDefs.h:336:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNbitmap ((char*)&XtStrings[80]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ Dialog.c:164:29: note: in expansion of macro 'XtNbitmap' XtSetArg(arglist[arg_cnt], XtNbitmap, dw->dialog.icon); arg_cnt++; ^ /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) )) ^ Dialog.c:165:2: note: in expansion of macro 'XtSetArg' XtSetArg(arglist[arg_cnt], XtNright, XtChainLeft); arg_cnt++; ^ /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) )) ^ Dialog.c:170:2: note: in expansion of macro 'XtSetArg' XtSetArg(arglist[arg_cnt], XtNfromHoriz, dw->dialog.iconW);arg_cnt++; ^ /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) )) ^ Dialog.c:173:32: note: in expansion of macro 'XtNlabel' XtSetArg(arglist[arg_cnt], XtNlabel, dw->dialog.label); arg_cnt++; ^ /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) )) ^ Dialog.c:174:5: note: in expansion of macro 'XtSetArg' XtSetArg(arglist[arg_cnt], XtNright, XtChainRight); arg_cnt++; ^ /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) )) ^ Dialog.c:181:24: note: in expansion of macro 'XtNheight' XtSetArg( arglist[0], XtNheight, dw->dialog.iconW->core.height ); ^ Dialog.c: In function 'SetValues': /usr/local/include/X11/StringDefs.h:435:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlabel ((char*)&XtStrings[429]) ^ Dialog.c:74:30: note: in definition of macro 'streq' #define streq(a,b) (strcmp( (a), (b) ) == 0) ^ Dialog.c:243:12: note: in expansion of macro 'XtNlabel' if (streq(XtNlabel, in_args[i].name)) ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from Dialog.c:54: /usr/local/include/X11/StringDefs.h:336:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNbitmap ((char*)&XtStrings[80]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ Dialog.c:249:25: note: in expansion of macro 'XtNbitmap' XtSetArg( args[0], XtNbitmap, w->dialog.icon ); ^ /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) )) ^ Dialog.c:253:22: note: in expansion of macro 'XtNborderWidth' XtSetArg( args[1], XtNborderWidth, 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) )) ^ Dialog.c:254:3: note: in expansion of macro 'XtSetArg' XtSetArg( args[2], XtNleft, XtChainLeft); ^ /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) )) ^ Dialog.c:255:3: note: in expansion of macro 'XtSetArg' XtSetArg( args[3], XtNright, XtChainLeft); ^ /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) )) ^ Dialog.c:273:35: note: in expansion of macro 'XtNlabel' XtSetArg( args[num_args], XtNlabel, w->dialog.label ); 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) )) ^ Dialog.c:276:31: note: in expansion of macro 'XtNheight' XtSetArg(args[num_args], XtNheight, w->dialog.iconW->core.height); ^ Dialog.c:305:10: warning: declaration of 'args' shadows a previous local [-Wshadow] Arg args[1]; ^ Dialog.c:232:9: note: shadowed declaration is here Arg args[5]; ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from Dialog.c:54: /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) )) ^ Dialog.c:306:24: note: in expansion of macro 'XtNstring' XtSetArg(args[0], XtNstring, w->dialog.value); ^ Dialog.c: In function 'GetValuesHook': /usr/local/include/X11/StringDefs.h:558:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNvalue ((char*)&XtStrings[859]) ^ Dialog.c:74:35: note: in definition of macro 'streq' #define streq(a,b) (strcmp( (a), (b) ) == 0) ^ Dialog.c:332:29: note: in expansion of macro 'XtNvalue' if (streq(args[i].name, XtNvalue)) { ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from Dialog.c:54: /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) )) ^ Dialog.c:333:22: note: in expansion of macro 'XtNstring' XtSetArg(a[0], XtNstring, &s); ^ Dialog.c: In function 'CreateDialogValueWidget': /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) )) ^ Dialog.c:359:33: note: in expansion of macro 'XtNstring' XtSetArg(arglist[num_args], XtNstring, dw->dialog.value); 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) )) ^ Dialog.c:360:5: note: in expansion of macro 'XtSetArg' XtSetArg(arglist[num_args], XtNresizable, True); num_args++; ^ /usr/local/include/X11/StringDefs.h:474:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNresize ((char*)&XtStrings[564]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ Dialog.c:361:33: note: in expansion of macro 'XtNresize' XtSetArg(arglist[num_args], XtNresize, XawtextResizeBoth); num_args++; ^ /usr/local/include/X11/StringDefs.h:366:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNeditType ((char*)&XtStrings[185]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ Dialog.c:362:33: note: in expansion of macro 'XtNeditType' XtSetArg(arglist[num_args], XtNeditType, XawtextEdit); 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) )) ^ Dialog.c:363:5: note: in expansion of macro 'XtSetArg' XtSetArg(arglist[num_args], XtNfromVert, dw->dialog.labelW); 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) )) ^ Dialog.c:364:5: note: in expansion of macro 'XtSetArg' XtSetArg(arglist[num_args], XtNleft, XtChainLeft); 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) )) ^ Dialog.c:365:5: note: in expansion of macro 'XtSetArg' XtSetArg(arglist[num_args], XtNright, XtChainRight); num_args++; ^ In file included from Dialog.c:56:0: Dialog.c: In function 'XawDialogAddButton': /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ Dialog.c:411:31: note: in expansion of macro 'XtNcallback' XtAddCallback(button, XtNcallback, function, param); ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from Dialog.c:54: Dialog.c: In function 'XawDialogGetValueString': /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) )) ^ Dialog.c:421:23: note: in expansion of macro 'XtNstring' XtSetArg(args[0], XtNstring, &value); ^ libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Dialog.lo -MD -MP -MF .deps/Dialog.Tpo -c Dialog.c -o Dialog.o >/dev/null 2>&1 --- Box.lo --- mv -f .deps/Box.Tpo .deps/Box.Plo --- Form.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Form.lo -MD -MP -MF .deps/Form.Tpo -c -o Form.lo Form.c --- Command.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Command.lo -MD -MP -MF .deps/Command.Tpo -c Command.c -o Command.o >/dev/null 2>&1 --- Form.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Form.lo -MD -MP -MF .deps/Form.Tpo -c Form.c -fPIC -DPIC -o .libs/Form.o In file included from ../include/X11/Xaw3dxft/FormP.h:54:0, from Form.c:57: ../include/X11/Xaw3dxft/Form.h:100:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNdefaultDistance "defaultDistance" ^ Form.c:65:6: note: in expansion of macro 'XtNdefaultDistance' {XtNdefaultDistance, XtCThickness, XtRInt, sizeof(int), ^ In file included from Form.c:53:0: /usr/local/include/X11/StringDefs.h:747:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCThickness ((char*)&XtStrings[1468]) ^ Form.c:65:26: note: in expansion of macro 'XtCThickness' {XtNdefaultDistance, XtCThickness, XtRInt, sizeof(int), ^ /usr/local/include/X11/StringDefs.h:843:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRInt ((char*)&XtStrings[1718]) ^ Form.c:65:40: note: in expansion of macro 'XtRInt' {XtNdefaultDistance, XtCThickness, 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]) ^ Form.c:66:27: note: in expansion of macro 'XtRImmediate' Offset(default_spacing), XtRImmediate, (XtPointer)4} ^ /usr/local/include/X11/StringDefs.h:540:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNtop ((char*)&XtStrings[798]) ^ Form.c:74:6: note: in expansion of macro 'XtNtop' {XtNtop, XtCEdge, XtREdgeType, sizeof(XtEdgeType), ^ In file included from ../include/X11/Xaw3dxft/FormP.h:54:0, from Form.c:57: ../include/X11/Xaw3dxft/Form.h:110:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCEdge "Edge" ^ Form.c:74:14: note: in expansion of macro 'XtCEdge' {XtNtop, XtCEdge, XtREdgeType, sizeof(XtEdgeType), ^ In file included from Form.c:57:0: ../include/X11/Xaw3dxft/FormP.h:56:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtREdgeType "EdgeType" ^ Form.c:74:23: note: in expansion of macro 'XtREdgeType' {XtNtop, XtCEdge, XtREdgeType, sizeof(XtEdgeType), ^ ../include/X11/Xaw3dxft/FormP.h:56:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtREdgeType "EdgeType" ^ Form.c:75:15: note: in expansion of macro 'XtREdgeType' Offset(top), XtREdgeType, (XtPointer)&defEdge}, ^ In file included from ../include/X11/Xaw3dxft/FormP.h:54:0, from Form.c:57: ../include/X11/Xaw3dxft/Form.h:101:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbottom "bottom" ^ Form.c:76:6: note: in expansion of macro 'XtNbottom' {XtNbottom, XtCEdge, XtREdgeType, sizeof(XtEdgeType), ^ ../include/X11/Xaw3dxft/Form.h:110:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCEdge "Edge" ^ Form.c:76:17: note: in expansion of macro 'XtCEdge' {XtNbottom, XtCEdge, XtREdgeType, sizeof(XtEdgeType), ^ In file included from Form.c:57:0: ../include/X11/Xaw3dxft/FormP.h:56:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtREdgeType "EdgeType" ^ Form.c:76:26: note: in expansion of macro 'XtREdgeType' {XtNbottom, XtCEdge, XtREdgeType, sizeof(XtEdgeType), ^ ../include/X11/Xaw3dxft/FormP.h:56:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtREdgeType "EdgeType" ^ Form.c:77:18: note: in expansion of macro 'XtREdgeType' Offset(bottom), XtREdgeType, (XtPointer)&defEdge}, ^ In file included from ../include/X11/Xaw3dxft/FormP.h:54:0, from Form.c:57: ../include/X11/Xaw3dxft/Form.h:102:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNleft "left" ^ Form.c:78:6: note: in expansion of macro 'XtNleft' {XtNleft, XtCEdge, XtREdgeType, sizeof(XtEdgeType), ^ ../include/X11/Xaw3dxft/Form.h:110:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCEdge "Edge" ^ Form.c:78:15: note: in expansion of macro 'XtCEdge' {XtNleft, XtCEdge, XtREdgeType, sizeof(XtEdgeType), ^ In file included from Form.c:57:0: ../include/X11/Xaw3dxft/FormP.h:56:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtREdgeType "EdgeType" ^ Form.c:78:24: note: in expansion of macro 'XtREdgeType' {XtNleft, XtCEdge, XtREdgeType, sizeof(XtEdgeType), ^ ../include/X11/Xaw3dxft/FormP.h:56:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtREdgeType "EdgeType" ^ Form.c:79:16: note: in expansion of macro 'XtREdgeType' Offset(left), XtREdgeType, (XtPointer)&defEdge}, ^ In file included from ../include/X11/Xaw3dxft/FormP.h:54:0, from Form.c:57: ../include/X11/Xaw3dxft/Form.h:103:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNright "right" ^ Form.c:80:6: note: in expansion of macro 'XtNright' {XtNright, XtCEdge, XtREdgeType, sizeof(XtEdgeType), ^ ../include/X11/Xaw3dxft/Form.h:110:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCEdge "Edge" ^ Form.c:80:16: note: in expansion of macro 'XtCEdge' {XtNright, XtCEdge, XtREdgeType, sizeof(XtEdgeType), ^ In file included from Form.c:57:0: ../include/X11/Xaw3dxft/FormP.h:56:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtREdgeType "EdgeType" ^ Form.c:80:25: note: in expansion of macro 'XtREdgeType' {XtNright, XtCEdge, XtREdgeType, sizeof(XtEdgeType), ^ ../include/X11/Xaw3dxft/FormP.h:56:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtREdgeType "EdgeType" ^ Form.c:81:17: note: in expansion of macro 'XtREdgeType' Offset(right), XtREdgeType, (XtPointer)&defEdge}, ^ In file included from ../include/X11/Xaw3dxft/FormP.h:54:0, from Form.c:57: ../include/X11/Xaw3dxft/Form.h:106:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNhorizDistance "horizDistance" ^ Form.c:82:6: note: in expansion of macro 'XtNhorizDistance' {XtNhorizDistance, XtCThickness, XtRInt, sizeof(int), ^ In file included from Form.c:53:0: /usr/local/include/X11/StringDefs.h:747:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCThickness ((char*)&XtStrings[1468]) ^ Form.c:82:24: note: in expansion of macro 'XtCThickness' {XtNhorizDistance, XtCThickness, XtRInt, sizeof(int), ^ /usr/local/include/X11/StringDefs.h:843:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRInt ((char*)&XtStrings[1718]) ^ Form.c:82:38: note: in expansion of macro 'XtRInt' {XtNhorizDistance, XtCThickness, XtRInt, sizeof(int), ^ /usr/local/include/X11/StringDefs.h:843:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRInt ((char*)&XtStrings[1718]) ^ Form.c:83:14: note: in expansion of macro 'XtRInt' Offset(dx), XtRInt, (XtPointer) &default_value}, ^ In file included from ../include/X11/Xaw3dxft/FormP.h:54:0, from Form.c:57: ../include/X11/Xaw3dxft/Form.h:104:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNfromHoriz "fromHoriz" ^ Form.c:84:6: note: in expansion of macro 'XtNfromHoriz' {XtNfromHoriz, XtCWidget, XtRWidget, sizeof(Widget), ^ ../include/X11/Xaw3dxft/Form.h:111:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCWidget "Widget" ^ Form.c:84:20: note: in expansion of macro 'XtCWidget' {XtNfromHoriz, XtCWidget, XtRWidget, sizeof(Widget), ^ In file included from Form.c:53:0: /usr/local/include/X11/StringDefs.h:894:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRWidget ((char*)&XtStrings[1865]) ^ Form.c:84:31: note: in expansion of macro 'XtRWidget' {XtNfromHoriz, XtCWidget, XtRWidget, sizeof(Widget), ^ /usr/local/include/X11/StringDefs.h:894:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRWidget ((char*)&XtStrings[1865]) ^ Form.c:85:22: note: in expansion of macro 'XtRWidget' Offset(horiz_base), XtRWidget, (XtPointer)NULL}, ^ In file included from ../include/X11/Xaw3dxft/FormP.h:54:0, from Form.c:57: ../include/X11/Xaw3dxft/Form.h:107:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNvertDistance "vertDistance" ^ Form.c:86:6: note: in expansion of macro 'XtNvertDistance' {XtNvertDistance, XtCThickness, XtRInt, sizeof(int), ^ In file included from Form.c:53:0: /usr/local/include/X11/StringDefs.h:747:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCThickness ((char*)&XtStrings[1468]) ^ Form.c:86:23: note: in expansion of macro 'XtCThickness' {XtNvertDistance, XtCThickness, XtRInt, sizeof(int), ^ /usr/local/include/X11/StringDefs.h:843:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRInt ((char*)&XtStrings[1718]) ^ Form.c:86:37: note: in expansion of macro 'XtRInt' {XtNvertDistance, XtCThickness, XtRInt, sizeof(int), ^ /usr/local/include/X11/StringDefs.h:843:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRInt ((char*)&XtStrings[1718]) ^ Form.c:87:14: note: in expansion of macro 'XtRInt' Offset(dy), XtRInt, (XtPointer) &default_value}, ^ In file included from ../include/X11/Xaw3dxft/FormP.h:54:0, from Form.c:57: ../include/X11/Xaw3dxft/Form.h:105:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNfromVert "fromVert" ^ Form.c:88:6: note: in expansion of macro 'XtNfromVert' {XtNfromVert, XtCWidget, XtRWidget, sizeof(Widget), ^ ../include/X11/Xaw3dxft/Form.h:111:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCWidget "Widget" ^ Form.c:88:19: note: in expansion of macro 'XtCWidget' {XtNfromVert, XtCWidget, XtRWidget, sizeof(Widget), ^ In file included from Form.c:53:0: /usr/local/include/X11/StringDefs.h:894:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRWidget ((char*)&XtStrings[1865]) ^ Form.c:88:30: note: in expansion of macro 'XtRWidget' {XtNfromVert, XtCWidget, XtRWidget, sizeof(Widget), ^ /usr/local/include/X11/StringDefs.h:894:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRWidget ((char*)&XtStrings[1865]) ^ Form.c:89:21: note: in expansion of macro 'XtRWidget' Offset(vert_base), XtRWidget, (XtPointer)NULL}, ^ In file included from ../include/X11/Xaw3dxft/FormP.h:54:0, from Form.c:57: ../include/X11/Xaw3dxft/Form.h:108:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNresizable "resizable" ^ Form.c:90:6: note: in expansion of macro 'XtNresizable' {XtNresizable, XtCBoolean, XtRBoolean, sizeof(Boolean), ^ In file included from Form.c:53:0: /usr/local/include/X11/StringDefs.h:585:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCBoolean ((char*)&XtStrings[920]) ^ Form.c:90:20: note: in expansion of macro 'XtCBoolean' {XtNresizable, XtCBoolean, XtRBoolean, sizeof(Boolean), ^ /usr/local/include/X11/StringDefs.h:786:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((char*)&XtStrings[1561]) ^ Form.c:90:32: note: in expansion of macro 'XtRBoolean' {XtNresizable, XtCBoolean, 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]) ^ Form.c:91:24: note: in expansion of macro 'XtRImmediate' Offset(allow_resize), XtRImmediate, (XtPointer) FALSE}, ^ Form.c:112:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "Form", ^ In file included from Form.c:53:0: Form.c: In function 'ClassInitialize': /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Form.c:221:21: note: in expansion of macro 'XtRString' XtAddConverter( XtRString, XtREdgeType, _CvtStringToEdgeType, ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Form.c:223:25: note: in expansion of macro 'XtRString' XtSetTypeConverter (XtRString, XtRWidget, XmuNewCvtStringToWidget, ^ /usr/local/include/X11/StringDefs.h:894:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRWidget ((char*)&XtStrings[1865]) ^ Form.c:223:36: note: in expansion of macro 'XtRWidget' XtSetTypeConverter (XtRString, XtRWidget, XmuNewCvtStringToWidget, ^ --- Dialog.lo --- mv -f .deps/Dialog.Tpo .deps/Dialog.Plo --- Grip.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Grip.lo -MD -MP -MF .deps/Grip.Tpo -c -o Grip.lo Grip.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Grip.lo -MD -MP -MF .deps/Grip.Tpo -c Grip.c -fPIC -DPIC -o .libs/Grip.o In file included from Grip.c:57:0: /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ Grip.c:62:5: note: in expansion of macro 'XtNwidth' {XtNwidth, XtCWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:762:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCWidth ((char*)&XtStrings[1510]) ^ Grip.c:62:15: note: in expansion of macro 'XtCWidth' {XtNwidth, XtCWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Grip.c:62:25: note: in expansion of macro 'XtRDimension' {XtNwidth, XtCWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Grip.c:63:40: note: in expansion of macro 'XtRImmediate' XtOffsetOf(GripRec, core.width), XtRImmediate, ^ /usr/local/include/X11/StringDefs.h:384:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNheight ((char*)&XtStrings[234]) ^ Grip.c:65:5: note: in expansion of macro 'XtNheight' {XtNheight, XtCHeight, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:630:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCHeight ((char*)&XtStrings[1051]) ^ Grip.c:65:16: note: in expansion of macro 'XtCHeight' {XtNheight, XtCHeight, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Grip.c:65:27: note: in expansion of macro 'XtRDimension' {XtNheight, XtCHeight, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Grip.c:66:41: note: in expansion of macro 'XtRImmediate' XtOffsetOf(GripRec, core.height), XtRImmediate, ^ /usr/local/include/X11/StringDefs.h:378:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNforeground ((char*)&XtStrings[214]) ^ Grip.c:68:5: note: in expansion of macro 'XtNforeground' {XtNforeground, XtCForeground, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:621:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCForeground ((char*)&XtStrings[1022]) ^ Grip.c:68:20: note: in expansion of macro 'XtCForeground' {XtNforeground, 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]) ^ Grip.c:68:35: note: in expansion of macro 'XtRPixel' {XtNforeground, XtCForeground, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Grip.c:69:51: note: in expansion of macro 'XtRString' XtOffsetOf(GripRec, core.background_pixel), XtRString, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from Grip.c:56: /usr/local/include/X11/Intrinsic.h:1655:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtDefaultForeground "XtDefaultForeground" ^ Grip.c:70:7: note: in expansion of macro 'XtDefaultForeground' XtDefaultForeground}, ^ In file included from Grip.c:57:0: /usr/local/include/X11/StringDefs.h:348:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNborderWidth ((char*)&XtStrings[124]) ^ Grip.c:71:5: note: in expansion of macro 'XtNborderWidth' {XtNborderWidth, XtCBorderWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:591:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCBorderWidth ((char*)&XtStrings[940]) ^ Grip.c:71:21: note: in expansion of macro 'XtCBorderWidth' {XtNborderWidth, XtCBorderWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Grip.c:71:37: note: in expansion of macro 'XtRDimension' {XtNborderWidth, XtCBorderWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Grip.c:72:47: note: in expansion of macro 'XtRImmediate' XtOffsetOf(GripRec, core.border_width), XtRImmediate, (XtPointer)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]) ^ Grip.c:73:5: note: in expansion of macro 'XtNcallback' {XtNcallback, XtCCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:594:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCCallback ((char*)&XtStrings[952]) ^ Grip.c:73:18: note: in expansion of macro 'XtCCallback' {XtNcallback, XtCCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:789:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCallback ((char*)&XtStrings[1569]) ^ Grip.c:73:31: note: in expansion of macro 'XtRCallback' {XtNcallback, XtCCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:789:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCallback ((char*)&XtStrings[1569]) ^ Grip.c:74:46: note: in expansion of macro 'XtRCallback' XtOffsetOf(GripRec, grip.grip_action), XtRCallback, NULL}, ^ Grip.c:81:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"GripAction", GripAction}, ^ Grip.c:90:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class name */ "Grip", ^ In file included from Grip.c:57:0: Grip.c: In function 'GripAction': /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ Grip.c:147:30: note: in expansion of macro 'XtNcallback' XtCallCallbacks( widget, XtNcallback, (XtPointer)&call_data ); ^ libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Grip.lo -MD -MP -MF .deps/Grip.Tpo -c Grip.c -o Grip.o >/dev/null 2>&1 --- Command.lo --- mv -f .deps/Command.Tpo .deps/Command.Plo --- Label.lo --- --- Form.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Form.lo -MD -MP -MF .deps/Form.Tpo -c Form.c -o Form.o >/dev/null 2>&1 --- Label.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Label.lo -MD -MP -MF .deps/Label.Tpo -c -o Label.lo Label.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Label.lo -MD -MP -MF .deps/Label.Tpo -c Label.c -fPIC -DPIC -o .libs/Label.o --- Grip.lo --- mv -f .deps/Grip.Tpo .deps/Grip.Plo --- Layout.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Layout.lo -MD -MP -MF .deps/Layout.Tpo -c -o Layout.lo Layout.c --- Label.lo --- In file included from ../include/X11/Xaw3dxft/Xaw3dXft.h:53:0, from ../include/X11/Xaw3dxft/Xaw3dXftP.h:42, from Label.c:62: ../include/X11/Xaw3dxft/XawInit.h:28:13: warning: redundant redeclaration of 'XawInitializeWidgetSet' [-Wredundant-decls] extern void XawInitializeWidgetSet(void); /* called from ClassInit procs */ ^ In file included from Label.c:61:0: ../include/X11/Xaw3dxft/XawInit.h:28:13: note: previous declaration of 'XawInitializeWidgetSet' was here extern void XawInitializeWidgetSet(void); /* called from ClassInit procs */ ^ In file included from Label.c:59:0: /usr/local/include/X11/StringDefs.h:378:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNforeground ((char*)&XtStrings[214]) ^ Label.c:95:6: note: in expansion of macro 'XtNforeground' {XtNforeground, XtCForeground, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:621:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCForeground ((char*)&XtStrings[1022]) ^ Label.c:95:21: note: in expansion of macro 'XtCForeground' {XtNforeground, 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]) ^ Label.c:95:36: note: in expansion of macro 'XtRPixel' {XtNforeground, XtCForeground, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Label.c:96:28: note: in expansion of macro 'XtRString' offset(label.foreground), XtRString, XtDefaultForeground}, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from Label.c:57: /usr/local/include/X11/Intrinsic.h:1655:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtDefaultForeground "XtDefaultForeground" ^ Label.c:96:39: note: in expansion of macro 'XtDefaultForeground' offset(label.foreground), XtRString, XtDefaultForeground}, ^ In file included from Label.c:59:0: /usr/local/include/X11/StringDefs.h:372:18: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNfont ((char*)&XtStrings[199]) ^ Label.c:97:6: note: in expansion of macro 'XtNfont' {XtNfont, XtCFont, XtRFontStruct, sizeof(XFontStruct *), ^ /usr/local/include/X11/StringDefs.h:618:18: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCFont ((char*)&XtStrings[1017]) ^ Label.c:97:16: note: in expansion of macro 'XtCFont' {XtNfont, XtCFont, XtRFontStruct, sizeof(XFontStruct *), ^ /usr/local/include/X11/StringDefs.h:828:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRFontStruct ((char*)&XtStrings[1666]) ^ Label.c:97:25: note: in expansion of macro 'XtRFontStruct' {XtNfont, XtCFont, XtRFontStruct, sizeof(XFontStruct *), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Label.c:98:21: note: in expansion of macro 'XtRString' offset(label.font),XtRString, XtDefaultFont}, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from Label.c:57: /usr/local/include/X11/Intrinsic.h:1657:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtDefaultFont "XtDefaultFont" ^ Label.c:98:32: note: in expansion of macro 'XtDefaultFont' offset(label.font),XtRString, XtDefaultFont}, ^ In file included from ../include/X11/Xaw3dxft/Command.h:52:0, from Label.c:63: ../include/X11/Xaw3dxft/Label.h:98:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNxftFont "xftFont" ^ Label.c:99:6: note: in expansion of macro 'XtNxftFont' {XtNxftFont, XtCXftFont, XtRString, sizeof(String), ^ ../include/X11/Xaw3dxft/Label.h:102:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCXftFont "XftFont" ^ Label.c:99:19: note: in expansion of macro 'XtCXftFont' {XtNxftFont, XtCXftFont, XtRString, sizeof(String), ^ In file included from Label.c:59: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]) ^ Label.c:99:31: note: in expansion of macro 'XtRString' {XtNxftFont, XtCXftFont, 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]) ^ Label.c:100:28: note: in expansion of macro 'XtRString' offset(label.xftfontname),XtRString, NULL}, ^ /usr/local/include/X11/StringDefs.h:948:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNfontSet ((char*)&XtStrings[2018]) ^ Label.c:102:6: note: in expansion of macro 'XtNfontSet' {XtNfontSet, XtCFontSet, XtRFontSet, sizeof(XFontSet ), ^ /usr/local/include/X11/StringDefs.h:954:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCFontSet ((char*)&XtStrings[2034]) ^ Label.c:102:19: note: in expansion of macro 'XtCFontSet' {XtNfontSet, XtCFontSet, XtRFontSet, sizeof(XFontSet ), ^ /usr/local/include/X11/StringDefs.h:951:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRFontSet ((char*)&XtStrings[2026]) ^ Label.c:102:31: note: in expansion of macro 'XtRFontSet' {XtNfontSet, XtCFontSet, XtRFontSet, sizeof(XFontSet ), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Label.c:103:31: note: in expansion of macro 'XtRString' offset(label.fontset),XtRString, XtDefaultFontSet}, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from Label.c:57: /usr/local/include/X11/Intrinsic.h:1658:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtDefaultFontSet "XtDefaultFontSet" ^ Label.c:103:42: note: in expansion of macro 'XtDefaultFontSet' offset(label.fontset),XtRString, XtDefaultFontSet}, ^ In file included from Label.c:59: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]) ^ Label.c:105:6: note: in expansion of macro 'XtNlabel' {XtNlabel, XtCLabel, XtRString, sizeof(String), ^ /usr/local/include/X11/StringDefs.h:657:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCLabel ((char*)&XtStrings[1151]) ^ Label.c:105:17: note: in expansion of macro 'XtCLabel' {XtNlabel, XtCLabel, 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]) ^ Label.c:105:27: note: in expansion of macro 'XtRString' {XtNlabel, XtCLabel, 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]) ^ Label.c:106:23: note: in expansion of macro 'XtRString' offset(label.label), XtRString, NULL}, ^ --- Layout.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Layout.lo -MD -MP -MF .deps/Layout.Tpo -c Layout.c -fPIC -DPIC -o .libs/Layout.o --- Label.lo --- In file included from ../include/X11/Xaw3dxft/Command.h:52:0, from Label.c:63: ../include/X11/Xaw3dxft/Label.h:96:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNencoding "encoding" ^ Label.c:107:6: note: in expansion of macro 'XtNencoding' {XtNencoding, XtCEncoding, XtRUnsignedChar, sizeof(unsigned char), ^ ../include/X11/Xaw3dxft/Label.h:101:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCEncoding "Encoding" ^ Label.c:107:19: note: in expansion of macro 'XtCEncoding' {XtNencoding, XtCEncoding, XtRUnsignedChar, sizeof(unsigned char), ^ In file included from Label.c:59:0: /usr/local/include/X11/StringDefs.h:885:26: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRUnsignedChar ((char*)&XtStrings[1828]) ^ Label.c:107:32: note: in expansion of macro 'XtRUnsignedChar' {XtNencoding, XtCEncoding, XtRUnsignedChar, sizeof(unsigned char), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Label.c:108:26: note: in expansion of macro 'XtRImmediate' offset(label.encoding), XtRImmediate, (XtPointer)XawTextEncoding8bit}, ^ /usr/local/include/X11/StringDefs.h:420:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNjustify ((char*)&XtStrings[379]) ^ Label.c:109:6: note: in expansion of macro 'XtNjustify' {XtNjustify, XtCJustify, XtRJustify, sizeof(XtJustify), ^ /usr/local/include/X11/StringDefs.h:648:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCJustify ((char*)&XtStrings[1122]) ^ Label.c:109:18: note: in expansion of macro 'XtCJustify' {XtNjustify, XtCJustify, XtRJustify, sizeof(XtJustify), ^ /usr/local/include/X11/StringDefs.h:846:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRJustify ((char*)&XtStrings[1722]) ^ Label.c:109:30: note: in expansion of macro 'XtRJustify' {XtNjustify, XtCJustify, XtRJustify, sizeof(XtJustify), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Label.c:110:25: note: in expansion of macro 'XtRImmediate' offset(label.justify), XtRImmediate, (XtPointer)XtJustifyCenter}, ^ /usr/local/include/X11/StringDefs.h:414:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNinternalWidth ((char*)&XtStrings[356]) ^ Label.c:111:6: note: in expansion of macro 'XtNinternalWidth' {XtNinternalWidth, XtCWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:762:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCWidth ((char*)&XtStrings[1510]) ^ Label.c:111:24: note: in expansion of macro 'XtCWidth' {XtNinternalWidth, XtCWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Label.c:111:34: note: in expansion of macro 'XtRDimension' {XtNinternalWidth, XtCWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Label.c:112:32: note: in expansion of macro 'XtRImmediate' offset(label.internal_width), XtRImmediate, (XtPointer)4}, ^ /usr/local/include/X11/StringDefs.h:411:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNinternalHeight ((char*)&XtStrings[341]) ^ Label.c:113:6: note: in expansion of macro 'XtNinternalHeight' {XtNinternalHeight, XtCHeight, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:630:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCHeight ((char*)&XtStrings[1051]) ^ Label.c:113:25: note: in expansion of macro 'XtCHeight' {XtNinternalHeight, XtCHeight, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Label.c:113:36: note: in expansion of macro 'XtRDimension' {XtNinternalHeight, XtCHeight, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Label.c:114:33: note: in expansion of macro 'XtRImmediate' offset(label.internal_height), XtRImmediate, (XtPointer)2}, ^ In file included from ../include/X11/Xaw3dxft/Command.h:52:0, from Label.c:63: ../include/X11/Xaw3dxft/Label.h:97:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNleftBitmap "leftBitmap" ^ Label.c:115:6: note: in expansion of macro 'XtNleftBitmap' {XtNleftBitmap, XtCLeftBitmap, XtRBitmap, sizeof(Pixmap), ^ ../include/X11/Xaw3dxft/Label.h:100:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCLeftBitmap "LeftBitmap" ^ Label.c:115:21: note: in expansion of macro 'XtCLeftBitmap' {XtNleftBitmap, XtCLeftBitmap, XtRBitmap, sizeof(Pixmap), ^ In file included from Label.c:59:0: /usr/local/include/X11/StringDefs.h:780:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBitmap ((char*)&XtStrings[1549]) ^ Label.c:115:36: note: in expansion of macro 'XtRBitmap' {XtNleftBitmap, XtCLeftBitmap, XtRBitmap, sizeof(Pixmap), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Label.c:116:35: note: in expansion of macro 'XtRImmediate' offset(label.left_bitmap), XtRImmediate, (XtPointer) None}, ^ /usr/local/include/X11/StringDefs.h:336:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNbitmap ((char*)&XtStrings[80]) ^ Label.c:117:6: note: in expansion of macro 'XtNbitmap' {XtNbitmap, XtCPixmap, XtRBitmap, sizeof(Pixmap), ^ /usr/local/include/X11/StringDefs.h:681:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCPixmap ((char*)&XtStrings[1228]) ^ Label.c:117:17: note: in expansion of macro 'XtCPixmap' {XtNbitmap, XtCPixmap, XtRBitmap, sizeof(Pixmap), ^ /usr/local/include/X11/StringDefs.h:780:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBitmap ((char*)&XtStrings[1549]) ^ Label.c:117:28: note: in expansion of macro 'XtRBitmap' {XtNbitmap, XtCPixmap, XtRBitmap, sizeof(Pixmap), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Label.c:118:24: note: in expansion of macro 'XtRImmediate' offset(label.pixmap), XtRImmediate, (XtPointer)None}, ^ /usr/local/include/X11/StringDefs.h:474:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNresize ((char*)&XtStrings[564]) ^ Label.c:119:6: note: in expansion of macro 'XtNresize' {XtNresize, XtCResize, XtRBoolean, sizeof(Boolean), ^ /usr/local/include/X11/StringDefs.h:690:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCResize ((char*)&XtStrings[1253]) ^ Label.c:119:17: note: in expansion of macro 'XtCResize' {XtNresize, XtCResize, XtRBoolean, sizeof(Boolean), ^ /usr/local/include/X11/StringDefs.h:786:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((char*)&XtStrings[1561]) ^ Label.c:119:28: note: in expansion of macro 'XtRBoolean' {XtNresize, XtCResize, 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]) ^ Label.c:120:24: note: in expansion of macro 'XtRImmediate' offset(label.resize), XtRImmediate, (XtPointer)True}, ^ In file included from ../include/X11/Xaw3dxft/ThreeDP.h:29:0, from ../include/X11/Xaw3dxft/LabelP.h:66, from Label.c:64: ../include/X11/Xaw3dxft/ThreeD.h:52:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNshadowWidth "shadowWidth" ^ Label.c:121:6: note: in expansion of macro 'XtNshadowWidth' {XtNshadowWidth, XtCShadowWidth, XtRDimension, sizeof(Dimension), ^ ../include/X11/Xaw3dxft/ThreeD.h:53:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCShadowWidth "ShadowWidth" ^ Label.c:121:22: note: in expansion of macro 'XtCShadowWidth' {XtNshadowWidth, XtCShadowWidth, XtRDimension, sizeof(Dimension), ^ In file included from Label.c:59:0: /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Label.c:121:38: note: in expansion of macro 'XtRDimension' {XtNshadowWidth, XtCShadowWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Label.c:122:31: note: in expansion of macro 'XtRImmediate' offset(threeD.shadow_width), XtRImmediate, (XtPointer) 0}, ^ /usr/local/include/X11/StringDefs.h:348:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNborderWidth ((char*)&XtStrings[124]) ^ Label.c:123:6: note: in expansion of macro 'XtNborderWidth' {XtNborderWidth, XtCBorderWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:591:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCBorderWidth ((char*)&XtStrings[940]) ^ Label.c:123:22: note: in expansion of macro 'XtCBorderWidth' {XtNborderWidth, XtCBorderWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Label.c:123:38: note: in expansion of macro 'XtRDimension' {XtNborderWidth, XtCBorderWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Label.c:124:57: note: in expansion of macro 'XtRImmediate' XtOffsetOf(RectObjRec,rectangle.border_width), XtRImmediate, ^ Label.c:141:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "Label", ^ In file included from Label.c:59:0: Label.c: In function 'ClassInitialize': /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Label.c:199:21: note: in expansion of macro 'XtRString' XtAddConverter( XtRString, XtRJustify, XmuCvtStringToJustify, ^ /usr/local/include/X11/StringDefs.h:846:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRJustify ((char*)&XtStrings[1722]) ^ Label.c:199:32: note: in expansion of macro 'XtRJustify' XtAddConverter( XtRString, XtRJustify, XmuCvtStringToJustify, ^ Label.c: In function 'SetValues': /usr/local/include/X11/StringDefs.h:336:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNbitmap ((char*)&XtStrings[80]) ^ Label.c:77:30: note: in definition of macro 'streq' #define streq(a,b) (strcmp( (a), (b) ) == 0) ^ Label.c:774:12: note: in expansion of macro 'XtNbitmap' if (streq(XtNbitmap, args[i].name)) ^ /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ Label.c:77:30: note: in definition of macro 'streq' #define streq(a,b) (strcmp( (a), (b) ) == 0) ^ Label.c:776:12: note: in expansion of macro 'XtNwidth' if (streq(XtNwidth, args[i].name)) ^ /usr/local/include/X11/StringDefs.h:384:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNheight ((char*)&XtStrings[234]) ^ Label.c:77:30: note: in definition of macro 'streq' #define streq(a,b) (strcmp( (a), (b) ) == 0) ^ Label.c:778:12: note: in expansion of macro 'XtNheight' if (streq(XtNheight, args[i].name)) ^ --- Layout.lo --- In file included from ../include/X11/Xaw3dxft/LayoutP.h:30:0, from Layout.c:40: ../include/X11/Xaw3dxft/Layout.h:80:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNlayout "layout" ^ Layout.c:81:6: note: in expansion of macro 'XtNlayout' {XtNlayout, XtCLayout, XtRLayout, sizeof (BoxPtr), ^ ../include/X11/Xaw3dxft/Layout.h:81:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCLayout "Layout" ^ Layout.c:81:17: note: in expansion of macro 'XtCLayout' {XtNlayout, XtCLayout, XtRLayout, sizeof (BoxPtr), ^ ../include/X11/Xaw3dxft/Layout.h:82:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRLayout "Layout" ^ Layout.c:81:28: note: in expansion of macro 'XtRLayout' {XtNlayout, XtCLayout, XtRLayout, sizeof (BoxPtr), ^ ../include/X11/Xaw3dxft/Layout.h:82:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRLayout "Layout" ^ Layout.c:82:18: note: in expansion of macro 'XtRLayout' offset(layout), XtRLayout, NULL }, ^ ../include/X11/Xaw3dxft/Layout.h:83:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNdebug "debug" ^ Layout.c:83:6: note: in expansion of macro 'XtNdebug' {XtNdebug, XtCBoolean, XtRBoolean, sizeof(Boolean), ^ In file included from Layout.c:28:0: /usr/local/include/X11/StringDefs.h:585:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCBoolean ((char*)&XtStrings[920]) ^ Layout.c:83:16: note: in expansion of macro 'XtCBoolean' {XtNdebug, XtCBoolean, XtRBoolean, sizeof(Boolean), ^ /usr/local/include/X11/StringDefs.h:786:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((char*)&XtStrings[1561]) ^ Layout.c:83:28: note: in expansion of macro 'XtRBoolean' {XtNdebug, XtCBoolean, 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]) ^ Layout.c:84:18: note: in expansion of macro 'XtRImmediate' offset(debug), XtRImmediate, (XtPointer) FALSE}, ^ Layout.c:116:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class name */ "Layout", ^ In file included from Layout.c:28:0: Layout.c: In function 'ClassInitialize': /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Layout.c:233:26: note: in expansion of macro 'XtRString' XtSetTypeConverter ( XtRString, XtRLayout, CvtStringToLayout, ^ --- Form.lo --- mv -f .deps/Form.Tpo .deps/Form.Plo --- List.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT List.lo -MD -MP -MF .deps/List.Tpo -c -o List.lo List.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT List.lo -MD -MP -MF .deps/List.Tpo -c List.c -fPIC -DPIC -o .libs/List.o In file included from ../include/X11/Xaw3dxft/Xaw3dXft.h:53:0, from ../include/X11/Xaw3dxft/Xaw3dXftP.h:42, from List.c:48: ../include/X11/Xaw3dxft/XawInit.h:28:13: warning: redundant redeclaration of 'XawInitializeWidgetSet' [-Wredundant-decls] extern void XawInitializeWidgetSet(void); /* called from ClassInit procs */ ^ In file included from List.c:47:0: ../include/X11/Xaw3dxft/XawInit.h:28:13: note: previous declaration of 'XawInitializeWidgetSet' was here extern void XawInitializeWidgetSet(void); /* called from ClassInit procs */ ^ In file included from List.c:45:0: /usr/local/include/X11/StringDefs.h:378:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNforeground ((char*)&XtStrings[214]) ^ List.c:81:6: note: in expansion of macro 'XtNforeground' {XtNforeground, XtCForeground, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:621:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCForeground ((char*)&XtStrings[1022]) ^ List.c:81:21: note: in expansion of macro 'XtCForeground' {XtNforeground, 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]) ^ List.c:81:36: note: in expansion of macro 'XtRPixel' {XtNforeground, XtCForeground, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ List.c:82:27: note: in expansion of macro 'XtRString' offset(list.foreground), XtRString, XtDefaultForeground}, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from List.c:40: /usr/local/include/X11/Intrinsic.h:1655:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtDefaultForeground "XtDefaultForeground" ^ List.c:82:38: note: in expansion of macro 'XtDefaultForeground' offset(list.foreground), XtRString, XtDefaultForeground}, ^ In file included from ../include/X11/Xaw3dxft/ListP.h:50:0, from List.c:49: ../include/X11/Xaw3dxft/List.h:128:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNcursor "cursor" ^ List.c:83:6: note: in expansion of macro 'XtNcursor' {XtNcursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ In file included from List.c:45:0: /usr/local/include/X11/StringDefs.h:603:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCCursor ((char*)&XtStrings[976]) ^ List.c:83:17: note: in expansion of macro 'XtCCursor' {XtNcursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ /usr/local/include/X11/StringDefs.h:804:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCursor ((char*)&XtStrings[1611]) ^ List.c:83:28: note: in expansion of macro 'XtRCursor' {XtNcursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ List.c:84:31: note: in expansion of macro 'XtRString' offset(simple.cursor), XtRString, "left_ptr"}, ^ List.c:84:42: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] offset(simple.cursor), XtRString, "left_ptr"}, ^ In file included from List.c:45:0: /usr/local/include/X11/StringDefs.h:372:18: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNfont ((char*)&XtStrings[199]) ^ List.c:85:6: note: in expansion of macro 'XtNfont' {XtNfont, XtCFont, XtRFontStruct, sizeof(XFontStruct *), ^ /usr/local/include/X11/StringDefs.h:618:18: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCFont ((char*)&XtStrings[1017]) ^ List.c:85:16: note: in expansion of macro 'XtCFont' {XtNfont, XtCFont, XtRFontStruct, sizeof(XFontStruct *), ^ /usr/local/include/X11/StringDefs.h:828:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRFontStruct ((char*)&XtStrings[1666]) ^ List.c:85:25: note: in expansion of macro 'XtRFontStruct' {XtNfont, XtCFont, XtRFontStruct, sizeof(XFontStruct *), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ List.c:86:20: note: in expansion of macro 'XtRString' offset(list.font),XtRString, XtDefaultFont}, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from List.c:40: /usr/local/include/X11/Intrinsic.h:1657:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtDefaultFont "XtDefaultFont" ^ List.c:86:31: note: in expansion of macro 'XtDefaultFont' offset(list.font),XtRString, XtDefaultFont}, ^ In file included from ../include/X11/Xaw3dxft/ListP.h:50:0, from List.c:49: ../include/X11/Xaw3dxft/List.h:138:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNxftFont "xftFont" ^ List.c:87:6: note: in expansion of macro 'XtNxftFont' {XtNxftFont, XtCXftFont, XtRString, sizeof(String), ^ ../include/X11/Xaw3dxft/List.h:125:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCXftFont "XftFont" ^ List.c:87:19: note: in expansion of macro 'XtCXftFont' {XtNxftFont, XtCXftFont, XtRString, sizeof(String), ^ In file included from List.c:45: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]) ^ List.c:87:31: note: in expansion of macro 'XtRString' {XtNxftFont, XtCXftFont, 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]) ^ List.c:88:27: note: in expansion of macro 'XtRString' offset(list.xftfontname),XtRString, NULL}, ^ In file included from ../include/X11/Xaw3dxft/ListP.h:50:0, from List.c:49: ../include/X11/Xaw3dxft/List.h:139:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNcolorSwitch "colorSwitch" ^ List.c:89:6: note: in expansion of macro 'XtNcolorSwitch' {XtNcolorSwitch, XtCColorSwitch, XtRPointer, sizeof(void *), ^ ../include/X11/Xaw3dxft/List.h:126:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCColorSwitch "ColorSwitch" ^ List.c:89:22: note: in expansion of macro 'XtCColorSwitch' {XtNcolorSwitch, XtCColorSwitch, XtRPointer, sizeof(void *), ^ In file included from List.c:45:0: /usr/local/include/X11/StringDefs.h:864:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPointer ((char*)&XtStrings[1767]) ^ List.c:89:38: note: in expansion of macro 'XtRPointer' {XtNcolorSwitch, XtCColorSwitch, XtRPointer, sizeof(void *), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ List.c:90:35: note: in expansion of macro 'XtRImmediate' offset(list.colorswitch), XtRImmediate, (XtPointer)NULL}, ^ /usr/local/include/X11/StringDefs.h:948:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNfontSet ((char*)&XtStrings[2018]) ^ List.c:92:6: note: in expansion of macro 'XtNfontSet' {XtNfontSet, XtCFontSet, XtRFontSet, sizeof(XFontSet ), ^ /usr/local/include/X11/StringDefs.h:954:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCFontSet ((char*)&XtStrings[2034]) ^ List.c:92:19: note: in expansion of macro 'XtCFontSet' {XtNfontSet, XtCFontSet, XtRFontSet, sizeof(XFontSet ), ^ /usr/local/include/X11/StringDefs.h:951:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRFontSet ((char*)&XtStrings[2026]) ^ List.c:92:31: note: in expansion of macro 'XtRFontSet' {XtNfontSet, XtCFontSet, XtRFontSet, sizeof(XFontSet ), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ List.c:93:23: note: in expansion of macro 'XtRString' offset(list.fontset),XtRString, XtDefaultFontSet}, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from List.c:40: /usr/local/include/X11/Intrinsic.h:1658:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtDefaultFontSet "XtDefaultFontSet" ^ List.c:93:34: note: in expansion of macro 'XtDefaultFontSet' offset(list.fontset),XtRString, XtDefaultFontSet}, ^ In file included from ../include/X11/Xaw3dxft/ListP.h:50:0, from List.c:49: ../include/X11/Xaw3dxft/List.h:132:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNlist "list" ^ List.c:95:6: note: in expansion of macro 'XtNlist' {XtNlist, XtCList, XtRPointer, sizeof(char **), ^ ../include/X11/Xaw3dxft/List.h:120:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCList "List" ^ List.c:95:15: note: in expansion of macro 'XtCList' {XtNlist, XtCList, XtRPointer, sizeof(char **), ^ In file included from List.c:45:0: /usr/local/include/X11/StringDefs.h:864:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPointer ((char*)&XtStrings[1767]) ^ List.c:95:24: note: in expansion of macro 'XtRPointer' {XtNlist, XtCList, XtRPointer, sizeof(char **), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ List.c:96:27: note: in expansion of macro 'XtRString' offset(list.list), XtRString, NULL}, ^ In file included from ../include/X11/Xaw3dxft/ListP.h:50:0, from List.c:49: ../include/X11/Xaw3dxft/List.h:130:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNdefaultColumns "defaultColumns" ^ List.c:97:6: note: in expansion of macro 'XtNdefaultColumns' {XtNdefaultColumns, XtCColumns, XtRInt, sizeof(int), ^ ../include/X11/Xaw3dxft/List.h:122:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCColumns "Columns" ^ List.c:97:25: note: in expansion of macro 'XtCColumns' {XtNdefaultColumns, XtCColumns, XtRInt, sizeof(int), ^ In file included from List.c:45: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]) ^ List.c:97:37: note: in expansion of macro 'XtRInt' {XtNdefaultColumns, XtCColumns, 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]) ^ List.c:98:29: note: in expansion of macro 'XtRImmediate' offset(list.default_cols), XtRImmediate, (XtPointer)2}, ^ In file included from ../include/X11/Xaw3dxft/ListP.h:50:0, from List.c:49: ../include/X11/Xaw3dxft/List.h:133:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNlongest "longest" ^ List.c:99:6: note: in expansion of macro 'XtNlongest' {XtNlongest, XtCLongest, XtRInt, sizeof(int), ^ ../include/X11/Xaw3dxft/List.h:123:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCLongest "Longest" ^ List.c:99:18: note: in expansion of macro 'XtCLongest' {XtNlongest, XtCLongest, XtRInt, sizeof(int), ^ In file included from List.c:45: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]) ^ List.c:99:30: note: in expansion of macro 'XtRInt' {XtNlongest, XtCLongest, 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]) ^ List.c:100:24: note: in expansion of macro 'XtRImmediate' offset(list.longest), XtRImmediate, (XtPointer)0}, ^ In file included from ../include/X11/Xaw3dxft/ListP.h:50:0, from List.c:49: ../include/X11/Xaw3dxft/List.h:134:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNnumberStrings "numberStrings" ^ List.c:101:6: note: in expansion of macro 'XtNnumberStrings' {XtNnumberStrings, XtCNumberStrings, XtRInt, sizeof(int), ^ ../include/X11/Xaw3dxft/List.h:124:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCNumberStrings "NumberStrings" ^ List.c:101:24: note: in expansion of macro 'XtCNumberStrings' {XtNnumberStrings, XtCNumberStrings, XtRInt, sizeof(int), ^ In file included from List.c:45: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]) ^ List.c:101:42: note: in expansion of macro 'XtRInt' {XtNnumberStrings, XtCNumberStrings, 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]) ^ List.c:102:23: note: in expansion of macro 'XtRImmediate' offset(list.nitems), XtRImmediate, (XtPointer)0}, ^ In file included from ../include/X11/Xaw3dxft/ListP.h:50:0, from List.c:49: ../include/X11/Xaw3dxft/List.h:135:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNpasteBuffer "pasteBuffer" ^ List.c:103:6: note: in expansion of macro 'XtNpasteBuffer' {XtNpasteBuffer, XtCBoolean, XtRBoolean, sizeof(Boolean), ^ In file included from List.c:45:0: /usr/local/include/X11/StringDefs.h:585:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCBoolean ((char*)&XtStrings[920]) ^ List.c:103:22: note: in expansion of macro 'XtCBoolean' {XtNpasteBuffer, XtCBoolean, XtRBoolean, sizeof(Boolean), ^ /usr/local/include/X11/StringDefs.h:786:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((char*)&XtStrings[1561]) ^ List.c:103:34: note: in expansion of macro 'XtRBoolean' {XtNpasteBuffer, XtCBoolean, 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]) ^ List.c:104:22: note: in expansion of macro 'XtRImmediate' offset(list.paste), XtRImmediate, (XtPointer) False}, ^ In file included from ../include/X11/Xaw3dxft/ListP.h:50:0, from List.c:49: ../include/X11/Xaw3dxft/List.h:131:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNforceColumns "forceColumns" ^ List.c:105:6: note: in expansion of macro 'XtNforceColumns' {XtNforceColumns, XtCColumns, XtRBoolean, sizeof(Boolean), ^ ../include/X11/Xaw3dxft/List.h:122:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCColumns "Columns" ^ List.c:105:23: note: in expansion of macro 'XtCColumns' {XtNforceColumns, XtCColumns, XtRBoolean, sizeof(Boolean), ^ In file included from List.c:45: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]) ^ List.c:105:35: note: in expansion of macro 'XtRBoolean' {XtNforceColumns, XtCColumns, 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]) ^ List.c:106:27: note: in expansion of macro 'XtRImmediate' offset(list.force_cols), XtRImmediate, (XtPointer) False}, ^ In file included from ../include/X11/Xaw3dxft/ListP.h:50:0, from List.c:49: ../include/X11/Xaw3dxft/List.h:137:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNverticalList "verticalList" ^ List.c:107:6: note: in expansion of macro 'XtNverticalList' {XtNverticalList, XtCBoolean, XtRBoolean, sizeof(Boolean), ^ In file included from List.c:45:0: /usr/local/include/X11/StringDefs.h:585:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCBoolean ((char*)&XtStrings[920]) ^ List.c:107:23: note: in expansion of macro 'XtCBoolean' {XtNverticalList, XtCBoolean, XtRBoolean, sizeof(Boolean), ^ /usr/local/include/X11/StringDefs.h:786:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((char*)&XtStrings[1561]) ^ List.c:107:35: note: in expansion of macro 'XtRBoolean' {XtNverticalList, XtCBoolean, 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]) ^ List.c:108:30: note: in expansion of macro 'XtRImmediate' offset(list.vertical_cols), XtRImmediate, (XtPointer) False}, ^ /usr/local/include/X11/StringDefs.h:414:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNinternalWidth ((char*)&XtStrings[356]) ^ List.c:109:6: note: in expansion of macro 'XtNinternalWidth' {XtNinternalWidth, XtCWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:762:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCWidth ((char*)&XtStrings[1510]) ^ List.c:109:24: note: in expansion of macro 'XtCWidth' {XtNinternalWidth, XtCWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ List.c:109:34: note: in expansion of macro 'XtRDimension' {XtNinternalWidth, XtCWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ List.c:110:31: note: in expansion of macro 'XtRImmediate' offset(list.internal_width), XtRImmediate, (XtPointer)2}, ^ /usr/local/include/X11/StringDefs.h:411:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNinternalHeight ((char*)&XtStrings[341]) ^ List.c:111:6: note: in expansion of macro 'XtNinternalHeight' {XtNinternalHeight, XtCHeight, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:630:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCHeight ((char*)&XtStrings[1051]) ^ List.c:111:25: note: in expansion of macro 'XtCHeight' {XtNinternalHeight, XtCHeight, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ List.c:111:36: note: in expansion of macro 'XtRDimension' {XtNinternalHeight, XtCHeight, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ List.c:112:32: note: in expansion of macro 'XtRImmediate' offset(list.internal_height), XtRImmediate, (XtPointer)2}, ^ In file included from ../include/X11/Xaw3dxft/ListP.h:50:0, from List.c:49: ../include/X11/Xaw3dxft/List.h:129:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNcolumnSpacing "columnSpacing" ^ List.c:113:6: note: in expansion of macro 'XtNcolumnSpacing' {XtNcolumnSpacing, XtCSpacing, XtRDimension, sizeof(Dimension), ^ ../include/X11/Xaw3dxft/List.h:121:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCSpacing "Spacing" ^ List.c:113:24: note: in expansion of macro 'XtCSpacing' {XtNcolumnSpacing, XtCSpacing, XtRDimension, sizeof(Dimension), ^ In file included from List.c:45:0: /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ List.c:113:36: note: in expansion of macro 'XtRDimension' {XtNcolumnSpacing, XtCSpacing, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ List.c:114:29: note: in expansion of macro 'XtRImmediate' offset(list.column_space), XtRImmediate, (XtPointer)6}, ^ In file included from ../include/X11/Xaw3dxft/ListP.h:50:0, from List.c:49: ../include/X11/Xaw3dxft/List.h:136:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNrowSpacing "rowSpacing" ^ List.c:115:6: note: in expansion of macro 'XtNrowSpacing' {XtNrowSpacing, XtCSpacing, XtRDimension, sizeof(Dimension), ^ ../include/X11/Xaw3dxft/List.h:121:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCSpacing "Spacing" ^ List.c:115:21: note: in expansion of macro 'XtCSpacing' {XtNrowSpacing, XtCSpacing, XtRDimension, sizeof(Dimension), ^ In file included from List.c:45:0: /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ List.c:115:33: note: in expansion of macro 'XtRDimension' {XtNrowSpacing, XtCSpacing, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ List.c:116:26: note: in expansion of macro 'XtRImmediate' offset(list.row_space), XtRImmediate, (XtPointer)2}, ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ List.c:117:6: note: in expansion of macro 'XtNcallback' {XtNcallback, XtCCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:594:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCCallback ((char*)&XtStrings[952]) ^ List.c:117:19: note: in expansion of macro 'XtCCallback' {XtNcallback, XtCCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:789:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCallback ((char*)&XtStrings[1569]) ^ List.c:117:32: note: in expansion of macro 'XtRCallback' {XtNcallback, XtCCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:789:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCallback ((char*)&XtStrings[1569]) ^ List.c:118:32: note: in expansion of macro 'XtRCallback' offset(list.callback), XtRCallback, NULL}, ^ List.c:134:8: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"Notify", Notify}, ^ List.c:135:8: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"Set", Set}, ^ List.c:136:8: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"Unset", Unset}, ^ List.c:143:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "List", ^ List.c: In function 'PaintItemName': List.c:596:5: warning: nested extern declaration of 'proc' [-Wnested-externs] Pixel (* proc(Widget w, char *str, int n, int x, int y)); ^ In file included from List.c:45:0: List.c: In function 'Notify': /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ List.c:929:25: note: in expansion of macro 'XtNcallback' XtCallCallbacks( w, XtNcallback, (XtPointer) &ret_value); ^ List.c: In function 'XawListShowCurrent': List.c:1206:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ret_val->string = ""; ^ --- AsciiSink.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT AsciiSink.lo -MD -MP -MF .deps/AsciiSink.Tpo -c AsciiSink.c -o AsciiSink.o >/dev/null 2>&1 --- Label.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Label.lo -MD -MP -MF .deps/Label.Tpo -c Label.c -o Label.o >/dev/null 2>&1 mv -f .deps/Label.Tpo .deps/Label.Plo --- MenuButton.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT MenuButton.lo -MD -MP -MF .deps/MenuButton.Tpo -c -o MenuButton.lo MenuButton.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT MenuButton.lo -MD -MP -MF .deps/MenuButton.Tpo -c MenuButton.c -fPIC -DPIC -o .libs/MenuButton.o --- AsciiSink.lo --- mv -f .deps/AsciiSink.Tpo .deps/AsciiSink.Plo --- Paned.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Paned.lo -MD -MP -MF .deps/Paned.Tpo -c -o Paned.lo Paned.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Paned.lo -MD -MP -MF .deps/Paned.Tpo -c Paned.c -fPIC -DPIC -o .libs/Paned.o --- MenuButton.lo --- In file included from ../include/X11/Xaw3dxft/MenuButtoP.h:48:0, from MenuButton.c:55: ../include/X11/Xaw3dxft/MenuButton.h:80:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNmenuName "menuName" ^ MenuButton.c:78:5: note: in expansion of macro 'XtNmenuName' XtNmenuName, XtCMenuName, XtRString, sizeof(String), ^ ../include/X11/Xaw3dxft/MenuButton.h:81:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCMenuName "MenuName" ^ MenuButton.c:78:18: note: in expansion of macro 'XtCMenuName' XtNmenuName, XtCMenuName, XtRString, sizeof(String), ^ In file included from MenuButton.c:52: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]) ^ MenuButton.c:78:31: note: in expansion of macro 'XtRString' XtNmenuName, XtCMenuName, 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]) ^ MenuButton.c:79:36: note: in expansion of macro 'XtRString' offset(menu_button.menu_name), XtRString, (XtPointer)"menu"}, ^ MenuButton.c:79:47: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] offset(menu_button.menu_name), XtRString, (XtPointer)"menu"}, ^ MenuButton.c:85:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"PopupMenu", PopupMenu} ^ MenuButton.c:91:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "MenuButton", /* class_name */ ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from MenuButton.c:51: MenuButton.c: In function 'PopupMenu': /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) )) ^ MenuButton.c:213:31: note: in expansion of macro 'XtNx' XtSetArg(arglist[num_args], XtNx, menu_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) )) ^ MenuButton.c:214:31: note: in expansion of macro 'XtNy' XtSetArg(arglist[num_args], XtNy, menu_y); num_args++; ^ --- AsciiSrc.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT AsciiSrc.lo -MD -MP -MF .deps/AsciiSrc.Tpo -c AsciiSrc.c -o AsciiSrc.o >/dev/null 2>&1 --- MenuButton.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT MenuButton.lo -MD -MP -MF .deps/MenuButton.Tpo -c MenuButton.c -o MenuButton.o >/dev/null 2>&1 --- List.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT List.lo -MD -MP -MF .deps/List.Tpo -c List.c -o List.o >/dev/null 2>&1 --- Paned.lo --- In file included from ../include/X11/Xaw3dxft/PanedP.h:64:0, from Paned.c:72: ../include/X11/Xaw3dxft/Paned.h:134:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNinternalBorderColor "internalBorderColor" ^ Paned.c:120:6: note: in expansion of macro 'XtNinternalBorderColor' {XtNinternalBorderColor, XtCBorderColor, XtRPixel, sizeof(Pixel), ^ In file included from Paned.c:67:0: /usr/local/include/X11/StringDefs.h:588:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCBorderColor ((char*)&XtStrings[928]) ^ Paned.c:120:30: note: in expansion of macro 'XtCBorderColor' {XtNinternalBorderColor, XtCBorderColor, 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]) ^ Paned.c:120:46: note: in expansion of macro 'XtRPixel' {XtNinternalBorderColor, XtCBorderColor, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Paned.c:121:24: note: in expansion of macro 'XtRString' offset(internal_bp), XtRString, ^ Paned.c:122:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] (XtPointer) XtDefaultForeground}, ^ In file included from ../include/X11/Xaw3dxft/PanedP.h:64:0, from Paned.c:72: ../include/X11/Xaw3dxft/Paned.h:135:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNinternalBorderWidth "internalBorderWidth" ^ Paned.c:123:6: note: in expansion of macro 'XtNinternalBorderWidth' {XtNinternalBorderWidth, XtCBorderWidth, XtRDimension, sizeof(Dimension), ^ In file included from Paned.c:67:0: /usr/local/include/X11/StringDefs.h:591:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCBorderWidth ((char*)&XtStrings[940]) ^ Paned.c:123:30: note: in expansion of macro 'XtCBorderWidth' {XtNinternalBorderWidth, XtCBorderWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Paned.c:123:46: note: in expansion of macro 'XtRDimension' {XtNinternalBorderWidth, XtCBorderWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Paned.c:124:24: note: in expansion of macro 'XtRImmediate' offset(internal_bw), XtRImmediate, (XtPointer) 1}, ^ In file included from ../include/X11/Xaw3dxft/PanedP.h:64:0, from Paned.c:72: ../include/X11/Xaw3dxft/Paned.h:132:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNgripIndent "gripIndent" ^ Paned.c:125:6: note: in expansion of macro 'XtNgripIndent' {XtNgripIndent, XtCGripIndent, XtRPosition, sizeof(Position), ^ ../include/X11/Xaw3dxft/Paned.h:150:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCGripIndent "GripIndent" ^ Paned.c:125:21: note: in expansion of macro 'XtCGripIndent' {XtNgripIndent, XtCGripIndent, XtRPosition, sizeof(Position), ^ In file included from Paned.c:67:0: /usr/local/include/X11/StringDefs.h:867:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPosition ((char*)&XtStrings[1775]) ^ Paned.c:125:36: note: in expansion of macro 'XtRPosition' {XtNgripIndent, XtCGripIndent, XtRPosition, sizeof(Position), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Paned.c:126:24: note: in expansion of macro 'XtRImmediate' offset(grip_indent), XtRImmediate, (XtPointer) 10}, ^ In file included from ../include/X11/Xaw3dxft/PanedP.h:64:0, from Paned.c:72: ../include/X11/Xaw3dxft/Paned.h:138:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNrefigureMode "refigureMode" ^ Paned.c:127:6: note: in expansion of macro 'XtNrefigureMode' {XtNrefigureMode, XtCBoolean, XtRBoolean, sizeof(Boolean), ^ In file included from Paned.c:67:0: /usr/local/include/X11/StringDefs.h:585:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCBoolean ((char*)&XtStrings[920]) ^ Paned.c:127:23: note: in expansion of macro 'XtCBoolean' {XtNrefigureMode, XtCBoolean, XtRBoolean, sizeof(Boolean), ^ /usr/local/include/X11/StringDefs.h:786:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((char*)&XtStrings[1561]) ^ Paned.c:127:35: note: in expansion of macro 'XtRBoolean' {XtNrefigureMode, XtCBoolean, 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]) ^ Paned.c:128:32: note: in expansion of macro 'XtRImmediate' offset(refiguremode), XtRImmediate, (XtPointer) TRUE}, ^ In file included from Paned.c:71:0: ../include/X11/Xaw3dxft/Grip.h:87:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNgripTranslations "gripTranslations" ^ Paned.c:129:6: note: in expansion of macro 'XtNgripTranslations' {XtNgripTranslations, XtCTranslations, XtRTranslationTable, ^ In file included from Paned.c:67:0: /usr/local/include/X11/StringDefs.h:753:26: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCTranslations ((char*)&XtStrings[1484]) ^ Paned.c:129:27: note: in expansion of macro 'XtCTranslations' {XtNgripTranslations, XtCTranslations, XtRTranslationTable, ^ /usr/local/include/X11/StringDefs.h:888:30: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRTranslationTable ((char*)&XtStrings[1841]) ^ Paned.c:129:44: note: in expansion of macro 'XtRTranslationTable' {XtNgripTranslations, XtCTranslations, XtRTranslationTable, ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Paned.c:131:37: note: in expansion of macro 'XtRString' offset(grip_translations), XtRString, (XtPointer)defGripTranslations}, ^ /usr/local/include/X11/StringDefs.h:459:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNorientation ((char*)&XtStrings[505]) ^ Paned.c:132:6: note: in expansion of macro 'XtNorientation' {XtNorientation, XtCOrientation, XtROrientation, sizeof(XtOrientation), ^ /usr/local/include/X11/StringDefs.h:675:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCOrientation ((char*)&XtStrings[1206]) ^ Paned.c:132:23: note: in expansion of macro 'XtCOrientation' {XtNorientation, XtCOrientation, XtROrientation, sizeof(XtOrientation), ^ /usr/local/include/X11/StringDefs.h:855:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtROrientation ((char*)&XtStrings[1742]) ^ Paned.c:132:39: note: in expansion of macro 'XtROrientation' {XtNorientation, XtCOrientation, XtROrientation, sizeof(XtOrientation), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Paned.c:133:31: note: in expansion of macro 'XtRImmediate' offset(orientation), XtRImmediate, (XtPointer) XtorientVertical}, ^ In file included from ../include/X11/Xaw3dxft/Grip.h:57:0, from Paned.c:71: ../include/X11/Xaw3dxft/Simple.h:83:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNcursor "cursor" ^ Paned.c:137:6: note: in expansion of macro 'XtNcursor' {XtNcursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ In file included from Paned.c:67:0: /usr/local/include/X11/StringDefs.h:603:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCCursor ((char*)&XtStrings[976]) ^ Paned.c:137:17: note: in expansion of macro 'XtCCursor' {XtNcursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ /usr/local/include/X11/StringDefs.h:804:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCursor ((char*)&XtStrings[1611]) ^ Paned.c:137:28: note: in expansion of macro 'XtRCursor' {XtNcursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Paned.c:138:26: note: in expansion of macro 'XtRImmediate' offset(cursor), XtRImmediate, None}, ^ In file included from ../include/X11/Xaw3dxft/PanedP.h:64:0, from Paned.c:72: ../include/X11/Xaw3dxft/Paned.h:131:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNgripCursor "gripCursor" ^ Paned.c:139:6: note: in expansion of macro 'XtNgripCursor' {XtNgripCursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ In file included from Paned.c:67:0: /usr/local/include/X11/StringDefs.h:603:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCCursor ((char*)&XtStrings[976]) ^ Paned.c:139:21: note: in expansion of macro 'XtCCursor' {XtNgripCursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ /usr/local/include/X11/StringDefs.h:804:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCursor ((char*)&XtStrings[1611]) ^ Paned.c:139:32: note: in expansion of macro 'XtRCursor' {XtNgripCursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Paned.c:140:31: note: in expansion of macro 'XtRImmediate' offset(grip_cursor), XtRImmediate, None}, ^ In file included from ../include/X11/Xaw3dxft/PanedP.h:64:0, from Paned.c:72: ../include/X11/Xaw3dxft/Paned.h:148:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNverticalGripCursor "verticalGripCursor" ^ Paned.c:141:6: note: in expansion of macro 'XtNverticalGripCursor' {XtNverticalGripCursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ In file included from Paned.c:67:0: /usr/local/include/X11/StringDefs.h:603:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCCursor ((char*)&XtStrings[976]) ^ Paned.c:141:29: note: in expansion of macro 'XtCCursor' {XtNverticalGripCursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ /usr/local/include/X11/StringDefs.h:804:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCursor ((char*)&XtStrings[1611]) ^ Paned.c:141:40: note: in expansion of macro 'XtRCursor' {XtNverticalGripCursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Paned.c:142:33: note: in expansion of macro 'XtRString' offset(v_grip_cursor), XtRString, "sb_v_double_arrow"}, ^ Paned.c:142:44: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] offset(v_grip_cursor), XtRString, "sb_v_double_arrow"}, ^ In file included from ../include/X11/Xaw3dxft/PanedP.h:64:0, from Paned.c:72: ../include/X11/Xaw3dxft/Paned.h:133:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNhorizontalGripCursor "horizontalGripCursor" ^ Paned.c:143:6: note: in expansion of macro 'XtNhorizontalGripCursor' {XtNhorizontalGripCursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ In file included from Paned.c:67:0: /usr/local/include/X11/StringDefs.h:603:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCCursor ((char*)&XtStrings[976]) ^ Paned.c:143:31: note: in expansion of macro 'XtCCursor' {XtNhorizontalGripCursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ /usr/local/include/X11/StringDefs.h:804:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCursor ((char*)&XtStrings[1611]) ^ Paned.c:143:42: note: in expansion of macro 'XtRCursor' {XtNhorizontalGripCursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Paned.c:144:33: note: in expansion of macro 'XtRString' offset(h_grip_cursor), XtRString, "sb_h_double_arrow"}, ^ Paned.c:144:44: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] offset(h_grip_cursor), XtRString, "sb_h_double_arrow"}, ^ In file included from ../include/X11/Xaw3dxft/PanedP.h:64:0, from Paned.c:72: ../include/X11/Xaw3dxft/Paned.h:128:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbetweenCursor "betweenCursor" ^ Paned.c:146:6: note: in expansion of macro 'XtNbetweenCursor' {XtNbetweenCursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ In file included from Paned.c:67:0: /usr/local/include/X11/StringDefs.h:603:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCCursor ((char*)&XtStrings[976]) ^ Paned.c:146:24: note: in expansion of macro 'XtCCursor' {XtNbetweenCursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ /usr/local/include/X11/StringDefs.h:804:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCursor ((char*)&XtStrings[1611]) ^ Paned.c:146:35: note: in expansion of macro 'XtRCursor' {XtNbetweenCursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Paned.c:147:38: note: in expansion of macro 'XtRString' offset(adjust_this_cursor), XtRString, None}, ^ In file included from ../include/X11/Xaw3dxft/PanedP.h:64:0, from Paned.c:72: ../include/X11/Xaw3dxft/Paned.h:129:34: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNverticalBetweenCursor "verticalBetweenCursor" ^ Paned.c:148:6: note: in expansion of macro 'XtNverticalBetweenCursor' {XtNverticalBetweenCursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ In file included from Paned.c:67:0: /usr/local/include/X11/StringDefs.h:603:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCCursor ((char*)&XtStrings[976]) ^ Paned.c:148:32: note: in expansion of macro 'XtCCursor' {XtNverticalBetweenCursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ /usr/local/include/X11/StringDefs.h:804:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCursor ((char*)&XtStrings[1611]) ^ Paned.c:148:43: note: in expansion of macro 'XtRCursor' {XtNverticalBetweenCursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Paned.c:149:40: note: in expansion of macro 'XtRString' offset(v_adjust_this_cursor), XtRString, "sb_left_arrow"}, ^ Paned.c:149:51: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] offset(v_adjust_this_cursor), XtRString, "sb_left_arrow"}, ^ In file included from ../include/X11/Xaw3dxft/PanedP.h:64:0, from Paned.c:72: ../include/X11/Xaw3dxft/Paned.h:130:36: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNhorizontalBetweenCursor "horizontalBetweenCursor" ^ Paned.c:150:6: note: in expansion of macro 'XtNhorizontalBetweenCursor' {XtNhorizontalBetweenCursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ In file included from Paned.c:67:0: /usr/local/include/X11/StringDefs.h:603:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCCursor ((char*)&XtStrings[976]) ^ Paned.c:150:34: note: in expansion of macro 'XtCCursor' {XtNhorizontalBetweenCursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ /usr/local/include/X11/StringDefs.h:804:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCursor ((char*)&XtStrings[1611]) ^ Paned.c:150:45: note: in expansion of macro 'XtRCursor' {XtNhorizontalBetweenCursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Paned.c:151:40: note: in expansion of macro 'XtRString' offset(h_adjust_this_cursor), XtRString, "sb_up_arrow"}, ^ Paned.c:151:51: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] offset(h_adjust_this_cursor), XtRString, "sb_up_arrow"}, ^ In file included from ../include/X11/Xaw3dxft/PanedP.h:64:0, from Paned.c:72: ../include/X11/Xaw3dxft/Paned.h:147:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNupperCursor "upperCursor" ^ Paned.c:153:6: note: in expansion of macro 'XtNupperCursor' {XtNupperCursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ In file included from Paned.c:67:0: /usr/local/include/X11/StringDefs.h:603:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCCursor ((char*)&XtStrings[976]) ^ Paned.c:153:22: note: in expansion of macro 'XtCCursor' {XtNupperCursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ /usr/local/include/X11/StringDefs.h:804:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCursor ((char*)&XtStrings[1611]) ^ Paned.c:153:33: note: in expansion of macro 'XtRCursor' {XtNupperCursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Paned.c:154:39: note: in expansion of macro 'XtRString' offset(adjust_upper_cursor), XtRString, "sb_up_arrow"}, ^ Paned.c:154:50: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] offset(adjust_upper_cursor), XtRString, "sb_up_arrow"}, ^ In file included from ../include/X11/Xaw3dxft/PanedP.h:64:0, from Paned.c:72: ../include/X11/Xaw3dxft/Paned.h:137:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNlowerCursor "lowerCursor" ^ Paned.c:155:6: note: in expansion of macro 'XtNlowerCursor' {XtNlowerCursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ In file included from Paned.c:67:0: /usr/local/include/X11/StringDefs.h:603:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCCursor ((char*)&XtStrings[976]) ^ Paned.c:155:22: note: in expansion of macro 'XtCCursor' {XtNlowerCursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ /usr/local/include/X11/StringDefs.h:804:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCursor ((char*)&XtStrings[1611]) ^ Paned.c:155:33: note: in expansion of macro 'XtRCursor' {XtNlowerCursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Paned.c:156:39: note: in expansion of macro 'XtRString' offset(adjust_lower_cursor), XtRString, "sb_down_arrow"}, ^ Paned.c:156:50: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] offset(adjust_lower_cursor), XtRString, "sb_down_arrow"}, ^ In file included from ../include/X11/Xaw3dxft/PanedP.h:64:0, from Paned.c:72: ../include/X11/Xaw3dxft/Paned.h:136:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNleftCursor "leftCursor" ^ Paned.c:157:6: note: in expansion of macro 'XtNleftCursor' {XtNleftCursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ In file included from Paned.c:67:0: /usr/local/include/X11/StringDefs.h:603:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCCursor ((char*)&XtStrings[976]) ^ Paned.c:157:21: note: in expansion of macro 'XtCCursor' {XtNleftCursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ /usr/local/include/X11/StringDefs.h:804:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCursor ((char*)&XtStrings[1611]) ^ Paned.c:157:32: note: in expansion of macro 'XtRCursor' {XtNleftCursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Paned.c:158:38: note: in expansion of macro 'XtRString' offset(adjust_left_cursor), XtRString, "sb_left_arrow"}, ^ Paned.c:158:49: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] offset(adjust_left_cursor), XtRString, "sb_left_arrow"}, ^ In file included from ../include/X11/Xaw3dxft/PanedP.h:64:0, from Paned.c:72: ../include/X11/Xaw3dxft/Paned.h:144:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNrightCursor "rightCursor" ^ Paned.c:159:6: note: in expansion of macro 'XtNrightCursor' {XtNrightCursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ In file included from Paned.c:67:0: /usr/local/include/X11/StringDefs.h:603:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCCursor ((char*)&XtStrings[976]) ^ Paned.c:159:22: note: in expansion of macro 'XtCCursor' {XtNrightCursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ /usr/local/include/X11/StringDefs.h:804:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCursor ((char*)&XtStrings[1611]) ^ Paned.c:159:33: note: in expansion of macro 'XtRCursor' {XtNrightCursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Paned.c:160:39: note: in expansion of macro 'XtRString' offset(adjust_right_cursor), XtRString, "sb_right_arrow"}, ^ Paned.c:160:50: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] offset(adjust_right_cursor), XtRString, "sb_right_arrow"}, ^ In file included from ../include/X11/Xaw3dxft/PanedP.h:64:0, from Paned.c:72: ../include/X11/Xaw3dxft/Paned.h:127:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNallowResize "allowResize" ^ Paned.c:168:6: note: in expansion of macro 'XtNallowResize' {XtNallowResize, XtCBoolean, XtRBoolean, sizeof(Boolean), ^ In file included from Paned.c:67:0: /usr/local/include/X11/StringDefs.h:585:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCBoolean ((char*)&XtStrings[920]) ^ Paned.c:168:22: note: in expansion of macro 'XtCBoolean' {XtNallowResize, XtCBoolean, XtRBoolean, sizeof(Boolean), ^ /usr/local/include/X11/StringDefs.h:786:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((char*)&XtStrings[1561]) ^ Paned.c:168:34: note: in expansion of macro 'XtRBoolean' {XtNallowResize, XtCBoolean, 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]) ^ Paned.c:169:25: note: in expansion of macro 'XtRImmediate' offset(allow_resize), XtRImmediate, (XtPointer) FALSE}, ^ In file included from ../include/X11/Xaw3dxft/PanedP.h:64:0, from Paned.c:72: ../include/X11/Xaw3dxft/Paned.h:139:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNposition "position" ^ Paned.c:170:6: note: in expansion of macro 'XtNposition' {XtNposition, XtCPosition, XtRInt, sizeof(int), ^ In file included from Paned.c:67:0: /usr/local/include/X11/StringDefs.h:684:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCPosition ((char*)&XtStrings[1235]) ^ Paned.c:170:19: note: in expansion of macro 'XtCPosition' {XtNposition, XtCPosition, XtRInt, sizeof(int), ^ /usr/local/include/X11/StringDefs.h:843:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRInt ((char*)&XtStrings[1718]) ^ Paned.c:170:32: note: in expansion of macro 'XtRInt' {XtNposition, XtCPosition, 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]) ^ Paned.c:171:28: note: in expansion of macro 'XtRImmediate' offset(position), XtRImmediate, (XtPointer) 0}, ^ In file included from ../include/X11/Xaw3dxft/PanedP.h:64:0, from Paned.c:72: ../include/X11/Xaw3dxft/Paned.h:140:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNmin "min" ^ Paned.c:172:6: note: in expansion of macro 'XtNmin' {XtNmin, XtCMin, XtRDimension, sizeof(Dimension), ^ ../include/X11/Xaw3dxft/Paned.h:151:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCMin "Min" ^ Paned.c:172:14: note: in expansion of macro 'XtCMin' {XtNmin, XtCMin, XtRDimension, sizeof(Dimension), ^ In file included from Paned.c:67:0: /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Paned.c:172:22: note: in expansion of macro 'XtRDimension' {XtNmin, XtCMin, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Paned.c:173:23: note: in expansion of macro 'XtRImmediate' offset(min), XtRImmediate, (XtPointer) PANED_GRIP_SIZE}, ^ In file included from ../include/X11/Xaw3dxft/PanedP.h:64:0, from Paned.c:72: ../include/X11/Xaw3dxft/Paned.h:141:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNmax "max" ^ Paned.c:174:6: note: in expansion of macro 'XtNmax' {XtNmax, XtCMax, XtRDimension, sizeof(Dimension), ^ ../include/X11/Xaw3dxft/Paned.h:152:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCMax "Max" ^ Paned.c:174:14: note: in expansion of macro 'XtCMax' {XtNmax, XtCMax, XtRDimension, sizeof(Dimension), ^ In file included from Paned.c:67:0: /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Paned.c:174:22: note: in expansion of macro 'XtRDimension' {XtNmax, XtCMax, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Paned.c:175:23: note: in expansion of macro 'XtRImmediate' offset(max), XtRImmediate, (XtPointer) ~0}, ^ In file included from ../include/X11/Xaw3dxft/PanedP.h:64:0, from Paned.c:72: ../include/X11/Xaw3dxft/Paned.h:142:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNpreferredPaneSize "preferredPaneSize" ^ Paned.c:176:6: note: in expansion of macro 'XtNpreferredPaneSize' {XtNpreferredPaneSize, XtCPreferredPaneSize, XtRDimension, ^ ../include/X11/Xaw3dxft/Paned.h:153:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCPreferredPaneSize "PreferredPaneSize" ^ Paned.c:176:28: note: in expansion of macro 'XtCPreferredPaneSize' {XtNpreferredPaneSize, XtCPreferredPaneSize, XtRDimension, ^ In file included from Paned.c:67:0: /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Paned.c:176:50: note: in expansion of macro 'XtRDimension' {XtNpreferredPaneSize, XtCPreferredPaneSize, XtRDimension, ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Paned.c:178:10: note: in expansion of macro 'XtRImmediate' XtRImmediate, (XtPointer) PANED_ASK_CHILD}, ^ In file included from ../include/X11/Xaw3dxft/PanedP.h:64:0, from Paned.c:72: ../include/X11/Xaw3dxft/Paned.h:143:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNresizeToPreferred "resizeToPreferred" ^ Paned.c:179:6: note: in expansion of macro 'XtNresizeToPreferred' {XtNresizeToPreferred, XtCBoolean, XtRBoolean, sizeof(Boolean), ^ In file included from Paned.c:67:0: /usr/local/include/X11/StringDefs.h:585:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCBoolean ((char*)&XtStrings[920]) ^ Paned.c:179:28: note: in expansion of macro 'XtCBoolean' {XtNresizeToPreferred, XtCBoolean, XtRBoolean, sizeof(Boolean), ^ /usr/local/include/X11/StringDefs.h:786:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((char*)&XtStrings[1561]) ^ Paned.c:179:40: note: in expansion of macro 'XtRBoolean' {XtNresizeToPreferred, XtCBoolean, 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]) ^ Paned.c:180:34: note: in expansion of macro 'XtRImmediate' offset(resize_to_pref), XtRImmediate, (XtPointer) FALSE}, ^ In file included from ../include/X11/Xaw3dxft/PanedP.h:64:0, from Paned.c:72: ../include/X11/Xaw3dxft/Paned.h:146:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNskipAdjust "skipAdjust" ^ Paned.c:181:6: note: in expansion of macro 'XtNskipAdjust' {XtNskipAdjust, XtCBoolean, XtRBoolean, sizeof(Boolean), ^ In file included from Paned.c:67:0: /usr/local/include/X11/StringDefs.h:585:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCBoolean ((char*)&XtStrings[920]) ^ Paned.c:181:21: note: in expansion of macro 'XtCBoolean' {XtNskipAdjust, XtCBoolean, XtRBoolean, sizeof(Boolean), ^ /usr/local/include/X11/StringDefs.h:786:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((char*)&XtStrings[1561]) ^ Paned.c:181:33: note: in expansion of macro 'XtRBoolean' {XtNskipAdjust, XtCBoolean, 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]) ^ Paned.c:182:31: note: in expansion of macro 'XtRImmediate' offset(skip_adjust), XtRImmediate, (XtPointer) FALSE}, ^ In file included from ../include/X11/Xaw3dxft/PanedP.h:64:0, from Paned.c:72: ../include/X11/Xaw3dxft/Paned.h:145:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNshowGrip "showGrip" ^ Paned.c:183:6: note: in expansion of macro 'XtNshowGrip' {XtNshowGrip, XtCShowGrip, XtRBoolean, sizeof(Boolean), ^ ../include/X11/Xaw3dxft/Paned.h:154:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCShowGrip "ShowGrip" ^ Paned.c:183:19: note: in expansion of macro 'XtCShowGrip' {XtNshowGrip, XtCShowGrip, XtRBoolean, sizeof(Boolean), ^ In file included from Paned.c:67: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]) ^ Paned.c:183:32: note: in expansion of macro 'XtRBoolean' {XtNshowGrip, XtCShowGrip, 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]) ^ Paned.c:184:22: note: in expansion of macro 'XtRImmediate' offset(show_grip), XtRImmediate, (XtPointer) TRUE}, ^ Paned.c:220:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class name */ "Paned", ^ Paned.c: In function 'HandleGrip': Paned.c:1037:14: warning: cast from function call of type '__ct_rune_t {aka int}' to non-matching type 'enum ' [-Wbad-function-cast] direction = (Direction) toupper(*call_data->params[1]); ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from Paned.c:64: /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) )) ^ Paned.c:1052:6: note: in expansion of macro 'XtSetArg' XtSetArg(arglist[0], XtNcursor, &cursor); ^ Paned.c: In function 'CreateGrip': /usr/local/include/X11/StringDefs.h:543:26: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNtranslations ((char*)&XtStrings[802]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ Paned.c:1152:33: note: in expansion of macro 'XtNtranslations' XtSetArg(arglist[num_args], XtNtranslations, pw->paned.grip_translations); ^ /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) )) ^ Paned.c:1161:5: note: in expansion of macro 'XtSetArg' XtSetArg(arglist[num_args], XtNcursor, cursor); ^ In file included from Paned.c:67: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]) ^ Paned.c:1166:42: note: in expansion of macro 'XtNcallback' XtAddCallback(PaneInfo(child)->grip, XtNcallback, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from Paned.c:64: Paned.c: In function 'ChangeAllGripCursors': /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) )) ^ Paned.c:1275:6: note: in expansion of macro 'XtSetArg' XtSetArg(arglist[0], XtNcursor, cursor); ^ In file included from Paned.c:67:0: Paned.c: In function 'ClassInitialize': /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Paned.c:1378:21: note: in expansion of macro 'XtRString' XtAddConverter( XtRString, XtROrientation, XmuCvtStringToOrientation, ^ /usr/local/include/X11/StringDefs.h:855:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtROrientation ((char*)&XtStrings[1742]) ^ Paned.c:1378:32: note: in expansion of macro 'XtROrientation' XtAddConverter( XtRString, XtROrientation, XmuCvtStringToOrientation, ^ --- MenuButton.lo --- mv -f .deps/MenuButton.Tpo .deps/MenuButton.Plo --- Panner.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Panner.lo -MD -MP -MF .deps/Panner.Tpo -c -o Panner.lo Panner.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Panner.lo -MD -MP -MF .deps/Panner.Tpo -c Panner.c -fPIC -DPIC -o .libs/Panner.o Panner.c:96:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "start", ActionStart }, /* start tmp graphics */ ^ Panner.c:97:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "stop", ActionStop }, /* stop tmp graphics */ ^ Panner.c:98:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "abort", ActionAbort }, /* punt */ ^ Panner.c:99:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "move", ActionMove }, /* move tmp graphics on Motion event */ ^ Panner.c:100:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "page", ActionPage }, /* page around usually from keyboard */ ^ Panner.c:101:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "notify", ActionNotify }, /* callback new position */ ^ Panner.c:102:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "set", ActionSet }, /* set various parameters */ ^ In file included from ../include/X11/Xaw3dxft/PannerP.h:31:0, from Panner.c:35: ../include/X11/Xaw3dxft/Panner.h:71:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNallowOff "allowOff" ^ Panner.c:111:7: note: in expansion of macro 'XtNallowOff' { XtNallowOff, XtCAllowOff, XtRBoolean, sizeof(Boolean), ^ ../include/X11/Xaw3dxft/Panner.h:72:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCAllowOff "AllowOff" ^ Panner.c:111:20: note: in expansion of macro 'XtCAllowOff' { XtNallowOff, XtCAllowOff, XtRBoolean, sizeof(Boolean), ^ In file included from Panner.c:32: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]) ^ Panner.c:111:33: note: in expansion of macro 'XtRBoolean' { XtNallowOff, XtCAllowOff, 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]) ^ Panner.c:112:19: note: in expansion of macro 'XtRImmediate' poff(allow_off), XtRImmediate, (XtPointer) FALSE }, ^ /usr/local/include/X11/StringDefs.h:474:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNresize ((char*)&XtStrings[564]) ^ Panner.c:113:7: note: in expansion of macro 'XtNresize' { XtNresize, XtCResize, XtRBoolean, sizeof(Boolean), ^ /usr/local/include/X11/StringDefs.h:690:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCResize ((char*)&XtStrings[1253]) ^ Panner.c:113:18: note: in expansion of macro 'XtCResize' { XtNresize, XtCResize, XtRBoolean, sizeof(Boolean), ^ /usr/local/include/X11/StringDefs.h:786:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((char*)&XtStrings[1561]) ^ Panner.c:113:29: note: in expansion of macro 'XtRBoolean' { XtNresize, XtCResize, 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]) ^ Panner.c:114:24: note: in expansion of macro 'XtRImmediate' poff(resize_to_pref), XtRImmediate, (XtPointer) TRUE }, ^ In file included from ../include/X11/Xaw3dxft/Panner.h:31:0, from ../include/X11/Xaw3dxft/PannerP.h:31, from Panner.c:35: ../include/X11/Xaw3dxft/Reports.h:50:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNreportCallback "reportCallback" ^ Panner.c:115:7: note: in expansion of macro 'XtNreportCallback' { XtNreportCallback, XtCReportCallback, XtRCallback, sizeof(XtPointer), ^ ../include/X11/Xaw3dxft/Reports.h:51:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCReportCallback "reportCallback" ^ Panner.c:115:26: note: in expansion of macro 'XtCReportCallback' { XtNreportCallback, XtCReportCallback, XtRCallback, sizeof(XtPointer), ^ In file included from Panner.c:32:0: /usr/local/include/X11/StringDefs.h:789:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCallback ((char*)&XtStrings[1569]) ^ Panner.c:115:45: note: in expansion of macro 'XtRCallback' { XtNreportCallback, XtCReportCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:789:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCallback ((char*)&XtStrings[1569]) ^ Panner.c:116:26: note: in expansion of macro 'XtRCallback' poff(report_callbacks), XtRCallback, (XtPointer) NULL }, ^ In file included from ../include/X11/Xaw3dxft/PannerP.h:31:0, from Panner.c:35: ../include/X11/Xaw3dxft/Panner.h:75:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNdefaultScale "defaultScale" ^ Panner.c:117:7: note: in expansion of macro 'XtNdefaultScale' { XtNdefaultScale, XtCDefaultScale, XtRDimension, sizeof(Dimension), ^ ../include/X11/Xaw3dxft/Panner.h:76:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCDefaultScale "DefaultScale" ^ Panner.c:117:24: note: in expansion of macro 'XtCDefaultScale' { XtNdefaultScale, XtCDefaultScale, XtRDimension, sizeof(Dimension), ^ In file included from Panner.c:32:0: /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Panner.c:117:41: note: in expansion of macro 'XtRDimension' { XtNdefaultScale, XtCDefaultScale, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Panner.c:118:23: note: in expansion of macro 'XtRImmediate' poff(default_scale), XtRImmediate, (XtPointer) PANNER_DEFAULT_SCALE }, ^ In file included from ../include/X11/Xaw3dxft/PannerP.h:31:0, from Panner.c:35: ../include/X11/Xaw3dxft/Panner.h:85:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNrubberBand "rubberBand" ^ Panner.c:119:7: note: in expansion of macro 'XtNrubberBand' { XtNrubberBand, XtCRubberBand, XtRBoolean, sizeof(Boolean), ^ ../include/X11/Xaw3dxft/Panner.h:86:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCRubberBand "RubberBand" ^ Panner.c:119:22: note: in expansion of macro 'XtCRubberBand' { XtNrubberBand, XtCRubberBand, XtRBoolean, sizeof(Boolean), ^ In file included from Panner.c:32: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]) ^ Panner.c:119:37: note: in expansion of macro 'XtRBoolean' { XtNrubberBand, XtCRubberBand, 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]) ^ Panner.c:120:21: note: in expansion of macro 'XtRImmediate' poff(rubber_band), XtRImmediate, (XtPointer) FALSE }, ^ /usr/local/include/X11/StringDefs.h:378:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNforeground ((char*)&XtStrings[214]) ^ Panner.c:121:7: note: in expansion of macro 'XtNforeground' { XtNforeground, XtCForeground, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:621:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCForeground ((char*)&XtStrings[1022]) ^ Panner.c:121:22: note: in expansion of macro 'XtCForeground' { XtNforeground, 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]) ^ Panner.c:121:37: note: in expansion of macro 'XtRPixel' { XtNforeground, XtCForeground, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Panner.c:122:20: note: in expansion of macro 'XtRString' poff(foreground), XtRString, (XtPointer) XtDefaultBackground }, ^ Panner.c:122:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] poff(foreground), XtRString, (XtPointer) XtDefaultBackground }, ^ In file included from ../include/X11/Xaw3dxft/PannerP.h:31:0, from Panner.c:35: ../include/X11/Xaw3dxft/Panner.h:81:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNinternalSpace "internalSpace" ^ Panner.c:123:7: note: in expansion of macro 'XtNinternalSpace' { XtNinternalSpace, XtCInternalSpace, XtRDimension, sizeof(Dimension), ^ ../include/X11/Xaw3dxft/Panner.h:82:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCInternalSpace "InternalSpace" ^ Panner.c:123:25: note: in expansion of macro 'XtCInternalSpace' { XtNinternalSpace, XtCInternalSpace, XtRDimension, sizeof(Dimension), ^ In file included from Panner.c:32:0: /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Panner.c:123:43: note: in expansion of macro 'XtRDimension' { XtNinternalSpace, XtCInternalSpace, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Panner.c:124:25: note: in expansion of macro 'XtRImmediate' poff(internal_border), XtRImmediate, (XtPointer) 4 }, ^ In file included from ../include/X11/Xaw3dxft/PannerP.h:31:0, from Panner.c:35: ../include/X11/Xaw3dxft/Panner.h:83:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNlineWidth "lineWidth" ^ Panner.c:125:7: note: in expansion of macro 'XtNlineWidth' { XtNlineWidth, XtCLineWidth, XtRDimension, sizeof(Dimension), ^ ../include/X11/Xaw3dxft/Panner.h:84:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCLineWidth "LineWidth" ^ Panner.c:125:21: note: in expansion of macro 'XtCLineWidth' { XtNlineWidth, XtCLineWidth, XtRDimension, sizeof(Dimension), ^ In file included from Panner.c:32:0: /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Panner.c:125:35: note: in expansion of macro 'XtRDimension' { XtNlineWidth, XtCLineWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Panner.c:126:20: note: in expansion of macro 'XtRImmediate' poff(line_width), XtRImmediate, (XtPointer) 0 }, ^ In file included from ../include/X11/Xaw3dxft/PannerP.h:31:0, from Panner.c:35: ../include/X11/Xaw3dxft/Panner.h:77:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNcanvasWidth "canvasWidth" ^ Panner.c:127:7: note: in expansion of macro 'XtNcanvasWidth' { XtNcanvasWidth, XtCCanvasWidth, XtRDimension, sizeof(Dimension), ^ ../include/X11/Xaw3dxft/Panner.h:78:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCCanvasWidth "CanvasWidth" ^ Panner.c:127:23: note: in expansion of macro 'XtCCanvasWidth' { XtNcanvasWidth, XtCCanvasWidth, XtRDimension, sizeof(Dimension), ^ In file included from Panner.c:32:0: /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Panner.c:127:39: note: in expansion of macro 'XtRDimension' { XtNcanvasWidth, XtCCanvasWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Panner.c:128:22: note: in expansion of macro 'XtRImmediate' poff(canvas_width), XtRImmediate, (XtPointer) 0 }, ^ In file included from ../include/X11/Xaw3dxft/PannerP.h:31:0, from Panner.c:35: ../include/X11/Xaw3dxft/Panner.h:79:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNcanvasHeight "canvasHeight" ^ Panner.c:129:7: note: in expansion of macro 'XtNcanvasHeight' { XtNcanvasHeight, XtCCanvasHeight, XtRDimension, sizeof(Dimension), ^ ../include/X11/Xaw3dxft/Panner.h:80:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCCanvasHeight "CanvasHeight" ^ Panner.c:129:24: note: in expansion of macro 'XtCCanvasHeight' { XtNcanvasHeight, XtCCanvasHeight, XtRDimension, sizeof(Dimension), ^ In file included from Panner.c:32:0: /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Panner.c:129:41: note: in expansion of macro 'XtRDimension' { XtNcanvasHeight, XtCCanvasHeight, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Panner.c:130:23: note: in expansion of macro 'XtRImmediate' poff(canvas_height), XtRImmediate, (XtPointer) 0 }, ^ In file included from ../include/X11/Xaw3dxft/PannerP.h:31:0, from Panner.c:35: ../include/X11/Xaw3dxft/Panner.h:91:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNsliderX "sliderX" ^ Panner.c:131:7: note: in expansion of macro 'XtNsliderX' { XtNsliderX, XtCSliderX, XtRPosition, sizeof(Position), ^ ../include/X11/Xaw3dxft/Panner.h:92:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCSliderX "SliderX" ^ Panner.c:131:19: note: in expansion of macro 'XtCSliderX' { XtNsliderX, XtCSliderX, XtRPosition, sizeof(Position), ^ In file included from Panner.c:32:0: /usr/local/include/X11/StringDefs.h:867:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPosition ((char*)&XtStrings[1775]) ^ Panner.c:131:31: note: in expansion of macro 'XtRPosition' { XtNsliderX, XtCSliderX, XtRPosition, sizeof(Position), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Panner.c:132:18: note: in expansion of macro 'XtRImmediate' poff(slider_x), XtRImmediate, (XtPointer) 0 }, ^ In file included from ../include/X11/Xaw3dxft/PannerP.h:31:0, from Panner.c:35: ../include/X11/Xaw3dxft/Panner.h:93:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNsliderY "sliderY" ^ Panner.c:133:7: note: in expansion of macro 'XtNsliderY' { XtNsliderY, XtCSliderY, XtRPosition, sizeof(Position), ^ ../include/X11/Xaw3dxft/Panner.h:94:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCSliderY "SliderY" ^ Panner.c:133:19: note: in expansion of macro 'XtCSliderY' { XtNsliderY, XtCSliderY, XtRPosition, sizeof(Position), ^ In file included from Panner.c:32:0: /usr/local/include/X11/StringDefs.h:867:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPosition ((char*)&XtStrings[1775]) ^ Panner.c:133:31: note: in expansion of macro 'XtRPosition' { XtNsliderY, XtCSliderY, XtRPosition, sizeof(Position), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Panner.c:134:18: note: in expansion of macro 'XtRImmediate' poff(slider_y), XtRImmediate, (XtPointer) 0 }, ^ In file included from ../include/X11/Xaw3dxft/PannerP.h:31:0, from Panner.c:35: ../include/X11/Xaw3dxft/Panner.h:95:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNsliderWidth "sliderWidth" ^ Panner.c:135:7: note: in expansion of macro 'XtNsliderWidth' { XtNsliderWidth, XtCSliderWidth, XtRDimension, sizeof(Dimension), ^ ../include/X11/Xaw3dxft/Panner.h:96:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCSliderWidth "SliderWidth" ^ Panner.c:135:23: note: in expansion of macro 'XtCSliderWidth' { XtNsliderWidth, XtCSliderWidth, XtRDimension, sizeof(Dimension), ^ In file included from Panner.c:32:0: /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Panner.c:135:39: note: in expansion of macro 'XtRDimension' { XtNsliderWidth, XtCSliderWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Panner.c:136:22: note: in expansion of macro 'XtRImmediate' poff(slider_width), XtRImmediate, (XtPointer) 0 }, ^ In file included from ../include/X11/Xaw3dxft/PannerP.h:31:0, from Panner.c:35: ../include/X11/Xaw3dxft/Panner.h:97:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNsliderHeight "sliderHeight" ^ Panner.c:137:7: note: in expansion of macro 'XtNsliderHeight' { XtNsliderHeight, XtCSliderHeight, XtRDimension, sizeof(Dimension), ^ ../include/X11/Xaw3dxft/Panner.h:98:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCSliderHeight "SliderHeight" ^ Panner.c:137:24: note: in expansion of macro 'XtCSliderHeight' { XtNsliderHeight, XtCSliderHeight, XtRDimension, sizeof(Dimension), ^ In file included from Panner.c:32:0: /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Panner.c:137:41: note: in expansion of macro 'XtRDimension' { XtNsliderHeight, XtCSliderHeight, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Panner.c:138:23: note: in expansion of macro 'XtRImmediate' poff(slider_height), XtRImmediate, (XtPointer) 0 }, ^ In file included from ../include/X11/Xaw3dxft/PannerP.h:31:0, from Panner.c:35: ../include/X11/Xaw3dxft/Panner.h:89:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNshadowColor "shadowColor" ^ Panner.c:139:7: note: in expansion of macro 'XtNshadowColor' { XtNshadowColor, XtCShadowColor, XtRPixel, sizeof(Pixel), ^ ../include/X11/Xaw3dxft/Panner.h:90:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCShadowColor "ShadowColor" ^ Panner.c:139:23: note: in expansion of macro 'XtCShadowColor' { XtNshadowColor, XtCShadowColor, XtRPixel, sizeof(Pixel), ^ In file included from Panner.c:32:0: /usr/local/include/X11/StringDefs.h:858:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPixel ((char*)&XtStrings[1754]) ^ Panner.c:139:39: note: in expansion of macro 'XtRPixel' { XtNshadowColor, XtCShadowColor, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Panner.c:140:22: note: in expansion of macro 'XtRString' poff(shadow_color), XtRString, (XtPointer) XtDefaultForeground }, ^ Panner.c:140:33: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] poff(shadow_color), XtRString, (XtPointer) XtDefaultForeground }, ^ In file included from ../include/X11/Xaw3dxft/PannerP.h:31:0, from Panner.c:35: ../include/X11/Xaw3dxft/Panner.h:87:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNshadowThickness "shadowThickness" ^ Panner.c:141:7: note: in expansion of macro 'XtNshadowThickness' { XtNshadowThickness, XtCShadowThickness, XtRDimension, sizeof(Dimension), ^ ../include/X11/Xaw3dxft/Panner.h:88:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCShadowThickness "ShadowThickness" ^ Panner.c:141:27: note: in expansion of macro 'XtCShadowThickness' { XtNshadowThickness, XtCShadowThickness, XtRDimension, sizeof(Dimension), ^ In file included from Panner.c:32:0: /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Panner.c:141:47: note: in expansion of macro 'XtRDimension' { XtNshadowThickness, XtCShadowThickness, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Panner.c:142:26: note: in expansion of macro 'XtRImmediate' poff(shadow_thickness), XtRImmediate, (XtPointer) 2 }, ^ In file included from ../include/X11/Xaw3dxft/PannerP.h:31:0, from Panner.c:35: ../include/X11/Xaw3dxft/Panner.h:73:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbackgroundStipple "backgroundStipple" ^ Panner.c:143:7: note: in expansion of macro 'XtNbackgroundStipple' { XtNbackgroundStipple, XtCBackgroundStipple, XtRString, sizeof(String), ^ ../include/X11/Xaw3dxft/Panner.h:74:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCBackgroundStipple "BackgroundStipple" ^ Panner.c:143:29: note: in expansion of macro 'XtCBackgroundStipple' { XtNbackgroundStipple, XtCBackgroundStipple, XtRString, sizeof(String), ^ In file included from Panner.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]) ^ Panner.c:143:51: note: in expansion of macro 'XtRString' { XtNbackgroundStipple, XtCBackgroundStipple, XtRString, sizeof(String), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Panner.c:144:22: note: in expansion of macro 'XtRImmediate' poff(stipple_name), XtRImmediate, (XtPointer) NULL }, ^ Panner.c:164:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "Panner", ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from Panner.c:31: Panner.c: In function 'ActionSet': /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) )) ^ Panner.c:939:2: note: in expansion of macro 'XtSetArg' XtSetArg (args[0], XtNrubberBand, rb); ^ --- List.lo --- mv -f .deps/List.Tpo .deps/List.Plo --- Porthole.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Porthole.lo -MD -MP -MF .deps/Porthole.Tpo -c -o Porthole.lo Porthole.c --- AsciiSrc.lo --- mv -f .deps/AsciiSrc.Tpo .deps/AsciiSrc.Plo --- Repeater.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Repeater.lo -MD -MP -MF .deps/Repeater.Tpo -c -o Repeater.lo Repeater.c --- Porthole.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Porthole.lo -MD -MP -MF .deps/Porthole.Tpo -c Porthole.c -fPIC -DPIC -o .libs/Porthole.o --- Repeater.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Repeater.lo -MD -MP -MF .deps/Repeater.Tpo -c Repeater.c -fPIC -DPIC -o .libs/Repeater.o --- Porthole.lo --- In file included from ../include/X11/Xaw3dxft/Porthole.h:31:0, from ../include/X11/Xaw3dxft/PortholeP.h:31, from Porthole.c:37: ../include/X11/Xaw3dxft/Reports.h:50:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNreportCallback "reportCallback" ^ Porthole.c:46:7: note: in expansion of macro 'XtNreportCallback' { XtNreportCallback, XtCReportCallback, XtRCallback, sizeof(XtPointer), ^ ../include/X11/Xaw3dxft/Reports.h:51:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCReportCallback "reportCallback" ^ Porthole.c:46:26: note: in expansion of macro 'XtCReportCallback' { XtNreportCallback, XtCReportCallback, XtRCallback, sizeof(XtPointer), ^ In file included from Porthole.c:35:0: /usr/local/include/X11/StringDefs.h:789:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCallback ((char*)&XtStrings[1569]) ^ Porthole.c:46:45: note: in expansion of macro 'XtRCallback' { XtNreportCallback, XtCReportCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:789:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCallback ((char*)&XtStrings[1569]) ^ Porthole.c:47:26: note: in expansion of macro 'XtRCallback' poff(report_callbacks), XtRCallback, (XtPointer) NULL }, ^ Porthole.c:64:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "Porthole", ^ --- Repeater.lo --- Repeater.c:72:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "start", ActionStart }, /* trigger timers */ ^ Repeater.c:73:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "stop", ActionStop }, /* clear timers */ ^ In file included from ../include/X11/Xaw3dxft/RepeaterP.h:32:0, from Repeater.c:36: ../include/X11/Xaw3dxft/Repeater.h:55:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNdecay "decay" ^ Repeater.c:82:7: note: in expansion of macro 'XtNdecay' { XtNdecay, XtCDecay, XtRInt, sizeof (int), ^ ../include/X11/Xaw3dxft/Repeater.h:56:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCDecay "Decay" ^ Repeater.c:82:17: note: in expansion of macro 'XtCDecay' { XtNdecay, XtCDecay, XtRInt, sizeof (int), ^ In file included from Repeater.c:34: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]) ^ Repeater.c:82:27: note: in expansion of macro 'XtRInt' { XtNdecay, XtCDecay, 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]) ^ Repeater.c:83:14: note: in expansion of macro 'XtRImmediate' off(decay), XtRImmediate, (XtPointer) REP_DEF_DECAY }, ^ In file included from ../include/X11/Xaw3dxft/RepeaterP.h:32:0, from Repeater.c:36: ../include/X11/Xaw3dxft/Repeater.h:57:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNinitialDelay "initialDelay" ^ Repeater.c:84:7: note: in expansion of macro 'XtNinitialDelay' { XtNinitialDelay, XtCDelay, XtRInt, sizeof (int), ^ ../include/X11/Xaw3dxft/Repeater.h:58:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCDelay "Delay" ^ Repeater.c:84:24: note: in expansion of macro 'XtCDelay' { XtNinitialDelay, XtCDelay, XtRInt, sizeof (int), ^ In file included from Repeater.c:34: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]) ^ Repeater.c:84:34: note: in expansion of macro 'XtRInt' { XtNinitialDelay, XtCDelay, 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]) ^ Repeater.c:85:22: note: in expansion of macro 'XtRImmediate' off(initial_delay), XtRImmediate, (XtPointer) REP_DEF_INITIAL_DELAY }, ^ In file included from ../include/X11/Xaw3dxft/RepeaterP.h:32:0, from Repeater.c:36: ../include/X11/Xaw3dxft/Repeater.h:59:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNminimumDelay "minimumDelay" ^ Repeater.c:86:7: note: in expansion of macro 'XtNminimumDelay' { XtNminimumDelay, XtCMinimumDelay, XtRInt, sizeof (int), ^ ../include/X11/Xaw3dxft/Repeater.h:60:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCMinimumDelay "MinimumDelay" ^ Repeater.c:86:24: note: in expansion of macro 'XtCMinimumDelay' { XtNminimumDelay, XtCMinimumDelay, XtRInt, sizeof (int), ^ In file included from Repeater.c:34: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]) ^ Repeater.c:86:41: note: in expansion of macro 'XtRInt' { XtNminimumDelay, XtCMinimumDelay, 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]) ^ Repeater.c:87:22: note: in expansion of macro 'XtRImmediate' off(minimum_delay), XtRImmediate, (XtPointer) REP_DEF_MINIMUM_DELAY }, ^ In file included from ../include/X11/Xaw3dxft/RepeaterP.h:32:0, from Repeater.c:36: ../include/X11/Xaw3dxft/Repeater.h:61:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNrepeatDelay "repeatDelay" ^ Repeater.c:88:7: note: in expansion of macro 'XtNrepeatDelay' { XtNrepeatDelay, XtCDelay, XtRInt, sizeof (int), ^ ../include/X11/Xaw3dxft/Repeater.h:58:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCDelay "Delay" ^ Repeater.c:88:23: note: in expansion of macro 'XtCDelay' { XtNrepeatDelay, XtCDelay, XtRInt, sizeof (int), ^ In file included from Repeater.c:34: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]) ^ Repeater.c:88:33: note: in expansion of macro 'XtRInt' { XtNrepeatDelay, XtCDelay, 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]) ^ Repeater.c:89:21: note: in expansion of macro 'XtRImmediate' off(repeat_delay), XtRImmediate, (XtPointer) REP_DEF_REPEAT_DELAY }, ^ In file included from ../include/X11/Xaw3dxft/RepeaterP.h:32:0, from Repeater.c:36: ../include/X11/Xaw3dxft/Repeater.h:62:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNflash "flash" ^ Repeater.c:90:7: note: in expansion of macro 'XtNflash' { XtNflash, XtCBoolean, XtRBoolean, sizeof (Boolean), ^ In file included from Repeater.c:34:0: /usr/local/include/X11/StringDefs.h:585:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCBoolean ((char*)&XtStrings[920]) ^ Repeater.c:90:17: note: in expansion of macro 'XtCBoolean' { XtNflash, XtCBoolean, XtRBoolean, sizeof (Boolean), ^ /usr/local/include/X11/StringDefs.h:786:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((char*)&XtStrings[1561]) ^ Repeater.c:90:29: note: in expansion of macro 'XtRBoolean' { XtNflash, XtCBoolean, 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]) ^ Repeater.c:91:14: note: in expansion of macro 'XtRImmediate' off(flash), XtRImmediate, (XtPointer) FALSE }, ^ In file included from ../include/X11/Xaw3dxft/RepeaterP.h:32:0, from Repeater.c:36: ../include/X11/Xaw3dxft/Repeater.h:63:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNstartCallback "startCallback" ^ Repeater.c:92:7: note: in expansion of macro 'XtNstartCallback' { XtNstartCallback, XtCStartCallback, XtRCallback, sizeof (XtPointer), ^ ../include/X11/Xaw3dxft/Repeater.h:64:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCStartCallback "StartCallback" ^ Repeater.c:92:25: note: in expansion of macro 'XtCStartCallback' { XtNstartCallback, XtCStartCallback, XtRCallback, sizeof (XtPointer), ^ In file included from Repeater.c:34:0: /usr/local/include/X11/StringDefs.h:789:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCallback ((char*)&XtStrings[1569]) ^ Repeater.c:92:43: note: in expansion of macro 'XtRCallback' { XtNstartCallback, XtCStartCallback, XtRCallback, sizeof (XtPointer), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Repeater.c:93:24: note: in expansion of macro 'XtRImmediate' off(start_callbacks), XtRImmediate, (XtPointer) NULL }, ^ In file included from ../include/X11/Xaw3dxft/RepeaterP.h:32:0, from Repeater.c:36: ../include/X11/Xaw3dxft/Repeater.h:65:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNstopCallback "stopCallback" ^ Repeater.c:94:7: note: in expansion of macro 'XtNstopCallback' { XtNstopCallback, XtCStopCallback, XtRCallback, sizeof (XtPointer), ^ ../include/X11/Xaw3dxft/Repeater.h:66:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCStopCallback "StopCallback" ^ Repeater.c:94:24: note: in expansion of macro 'XtCStopCallback' { XtNstopCallback, XtCStopCallback, XtRCallback, sizeof (XtPointer), ^ In file included from Repeater.c:34:0: /usr/local/include/X11/StringDefs.h:789:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCallback ((char*)&XtStrings[1569]) ^ Repeater.c:94:41: note: in expansion of macro 'XtRCallback' { XtNstopCallback, XtCStopCallback, XtRCallback, sizeof (XtPointer), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Repeater.c:95:23: note: in expansion of macro 'XtRImmediate' off(stop_callbacks), XtRImmediate, (XtPointer) NULL }, ^ Repeater.c:111:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "Repeater", ^ --- Porthole.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Porthole.lo -MD -MP -MF .deps/Porthole.Tpo -c Porthole.c -o Porthole.o >/dev/null 2>&1 --- Repeater.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Repeater.lo -MD -MP -MF .deps/Repeater.Tpo -c Repeater.c -o Repeater.o >/dev/null 2>&1 --- Panner.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Panner.lo -MD -MP -MF .deps/Panner.Tpo -c Panner.c -o Panner.o >/dev/null 2>&1 --- Repeater.lo --- mv -f .deps/Repeater.Tpo .deps/Repeater.Plo --- Scrollbar.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Scrollbar.lo -MD -MP -MF .deps/Scrollbar.Tpo -c -o Scrollbar.lo Scrollbar.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Scrollbar.lo -MD -MP -MF .deps/Scrollbar.Tpo -c Scrollbar.c -fPIC -DPIC -o .libs/Scrollbar.o --- Porthole.lo --- mv -f .deps/Porthole.Tpo .deps/Porthole.Plo --- Simple.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Simple.lo -MD -MP -MF .deps/Simple.Tpo -c -o Simple.lo Simple.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Simple.lo -MD -MP -MF .deps/Simple.Tpo -c Simple.c -fPIC -DPIC -o .libs/Simple.o --- Scrollbar.lo --- In file included from Scrollbar.c:65:0: /usr/local/include/X11/StringDefs.h:438:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlength ((char*)&XtStrings[435]) ^ Scrollbar.c:123:4: note: in expansion of macro 'XtNlength' {XtNlength, XtCLength, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:660:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCLength ((char*)&XtStrings[1157]) ^ Scrollbar.c:123:15: note: in expansion of macro 'XtCLength' {XtNlength, XtCLength, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Scrollbar.c:123:26: note: in expansion of macro 'XtRDimension' {XtNlength, XtCLength, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Scrollbar.c:124:34: note: in expansion of macro 'XtRImmediate' Offset(scrollbar.length), XtRImmediate, (XtPointer) 1}, ^ /usr/local/include/X11/StringDefs.h:531:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNthickness ((char*)&XtStrings[772]) ^ Scrollbar.c:125:4: note: in expansion of macro 'XtNthickness' {XtNthickness, XtCThickness, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:747:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCThickness ((char*)&XtStrings[1468]) ^ Scrollbar.c:125:18: note: in expansion of macro 'XtCThickness' {XtNthickness, XtCThickness, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Scrollbar.c:125:32: note: in expansion of macro 'XtRDimension' {XtNthickness, XtCThickness, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Scrollbar.c:126:37: note: in expansion of macro 'XtRImmediate' Offset(scrollbar.thickness), XtRImmediate, (XtPointer) 14}, ^ /usr/local/include/X11/StringDefs.h:459:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNorientation ((char*)&XtStrings[505]) ^ Scrollbar.c:127:4: note: in expansion of macro 'XtNorientation' {XtNorientation, XtCOrientation, XtROrientation, sizeof(XtOrientation), ^ /usr/local/include/X11/StringDefs.h:675:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCOrientation ((char*)&XtStrings[1206]) ^ Scrollbar.c:127:20: note: in expansion of macro 'XtCOrientation' {XtNorientation, XtCOrientation, XtROrientation, sizeof(XtOrientation), ^ /usr/local/include/X11/StringDefs.h:855:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtROrientation ((char*)&XtStrings[1742]) ^ Scrollbar.c:127:36: note: in expansion of macro 'XtROrientation' {XtNorientation, XtCOrientation, XtROrientation, sizeof(XtOrientation), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Scrollbar.c:128:38: note: in expansion of macro 'XtRImmediate' Offset(scrollbar.orientation), XtRImmediate, (XtPointer) XtorientVertical}, ^ /usr/local/include/X11/StringDefs.h:483:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNscrollProc ((char*)&XtStrings[591]) ^ Scrollbar.c:129:4: note: in expansion of macro 'XtNscrollProc' {XtNscrollProc, XtCCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:594:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCCallback ((char*)&XtStrings[952]) ^ Scrollbar.c:129:19: note: in expansion of macro 'XtCCallback' {XtNscrollProc, XtCCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:789:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCallback ((char*)&XtStrings[1569]) ^ Scrollbar.c:129:32: note: in expansion of macro 'XtRCallback' {XtNscrollProc, XtCCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:789:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCallback ((char*)&XtStrings[1569]) ^ Scrollbar.c:130:38: note: in expansion of macro 'XtRCallback' Offset(scrollbar.scrollProc), XtRCallback, NULL}, ^ /usr/local/include/X11/StringDefs.h:537:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNthumbProc ((char*)&XtStrings[788]) ^ Scrollbar.c:131:4: note: in expansion of macro 'XtNthumbProc' {XtNthumbProc, XtCCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:594:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCCallback ((char*)&XtStrings[952]) ^ Scrollbar.c:131:18: note: in expansion of macro 'XtCCallback' {XtNthumbProc, XtCCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:789:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCallback ((char*)&XtStrings[1569]) ^ Scrollbar.c:131:31: note: in expansion of macro 'XtRCallback' {XtNthumbProc, XtCCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:789:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCallback ((char*)&XtStrings[1569]) ^ Scrollbar.c:132:37: note: in expansion of macro 'XtRCallback' Offset(scrollbar.thumbProc), XtRCallback, NULL}, ^ /usr/local/include/X11/StringDefs.h:417:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNjumpProc ((char*)&XtStrings[370]) ^ Scrollbar.c:133:4: note: in expansion of macro 'XtNjumpProc' {XtNjumpProc, XtCCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:594:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCCallback ((char*)&XtStrings[952]) ^ Scrollbar.c:133:17: note: in expansion of macro 'XtCCallback' {XtNjumpProc, XtCCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:789:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCallback ((char*)&XtStrings[1569]) ^ Scrollbar.c:133:30: note: in expansion of macro 'XtRCallback' {XtNjumpProc, XtCCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:789:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCallback ((char*)&XtStrings[1569]) ^ Scrollbar.c:134:36: note: in expansion of macro 'XtRCallback' Offset(scrollbar.jumpProc), XtRCallback, NULL}, ^ /usr/local/include/X11/StringDefs.h:534:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNthumb ((char*)&XtStrings[782]) ^ Scrollbar.c:135:4: note: in expansion of macro 'XtNthumb' {XtNthumb, XtCThumb, XtRBitmap, sizeof(Pixmap), ^ /usr/local/include/X11/StringDefs.h:750:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCThumb ((char*)&XtStrings[1478]) ^ Scrollbar.c:135:14: note: in expansion of macro 'XtCThumb' {XtNthumb, XtCThumb, XtRBitmap, sizeof(Pixmap), ^ /usr/local/include/X11/StringDefs.h:780:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBitmap ((char*)&XtStrings[1549]) ^ Scrollbar.c:135:24: note: in expansion of macro 'XtRBitmap' {XtNthumb, XtCThumb, XtRBitmap, sizeof(Pixmap), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Scrollbar.c:136:33: note: in expansion of macro 'XtRImmediate' Offset(scrollbar.thumb), XtRImmediate, (XtPointer) XtUnspecifiedPixmap}, ^ /usr/local/include/X11/StringDefs.h:378:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNforeground ((char*)&XtStrings[214]) ^ Scrollbar.c:137:4: note: in expansion of macro 'XtNforeground' {XtNforeground, XtCForeground, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:621:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCForeground ((char*)&XtStrings[1022]) ^ Scrollbar.c:137:19: note: in expansion of macro 'XtCForeground' {XtNforeground, 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]) ^ Scrollbar.c:137:34: note: in expansion of macro 'XtRPixel' {XtNforeground, XtCForeground, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Scrollbar.c:138:38: note: in expansion of macro 'XtRString' Offset(scrollbar.foreground), XtRString, XtDefaultForeground}, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from Scrollbar.c:62: /usr/local/include/X11/Intrinsic.h:1655:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtDefaultForeground "XtDefaultForeground" ^ Scrollbar.c:138:49: note: in expansion of macro 'XtDefaultForeground' Offset(scrollbar.foreground), XtRString, XtDefaultForeground}, ^ In file included from Scrollbar.c:65:0: /usr/local/include/X11/StringDefs.h:513:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNshown ((char*)&XtStrings[721]) ^ Scrollbar.c:139:4: note: in expansion of macro 'XtNshown' {XtNshown, XtCShown, XtRFloat, sizeof(float), ^ In file included from ../include/X11/Xaw3dxft/ScrollbarP.h:58:0, from Scrollbar.c:68: ../include/X11/Xaw3dxft/Scrollbar.h:114:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCShown "Shown" ^ Scrollbar.c:139:14: note: in expansion of macro 'XtCShown' {XtNshown, XtCShown, XtRFloat, sizeof(float), ^ In file included from Scrollbar.c:65:0: /usr/local/include/X11/StringDefs.h:822:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRFloat ((char*)&XtStrings[1655]) ^ Scrollbar.c:139:24: note: in expansion of macro 'XtRFloat' {XtNshown, XtCShown, XtRFloat, sizeof(float), ^ /usr/local/include/X11/StringDefs.h:822:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRFloat ((char*)&XtStrings[1655]) ^ Scrollbar.c:140:33: note: in expansion of macro 'XtRFloat' Offset(scrollbar.shown), XtRFloat, (XtPointer)&floatZero}, ^ In file included from ../include/X11/Xaw3dxft/ScrollbarP.h:58:0, from Scrollbar.c:68: ../include/X11/Xaw3dxft/Scrollbar.h:119:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNtopOfThumb "topOfThumb" ^ Scrollbar.c:141:4: note: in expansion of macro 'XtNtopOfThumb' {XtNtopOfThumb, XtCTopOfThumb, XtRFloat, sizeof(float), ^ ../include/X11/Xaw3dxft/Scrollbar.h:115:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCTopOfThumb "TopOfThumb" ^ Scrollbar.c:141:19: note: in expansion of macro 'XtCTopOfThumb' {XtNtopOfThumb, XtCTopOfThumb, XtRFloat, sizeof(float), ^ In file included from Scrollbar.c:65:0: /usr/local/include/X11/StringDefs.h:822:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRFloat ((char*)&XtStrings[1655]) ^ Scrollbar.c:141:34: note: in expansion of macro 'XtRFloat' {XtNtopOfThumb, XtCTopOfThumb, XtRFloat, sizeof(float), ^ /usr/local/include/X11/StringDefs.h:822:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRFloat ((char*)&XtStrings[1655]) ^ Scrollbar.c:142:31: note: in expansion of macro 'XtRFloat' Offset(scrollbar.top), XtRFloat, (XtPointer)&floatZero}, ^ In file included from ../include/X11/Xaw3dxft/ScrollbarP.h:58:0, from Scrollbar.c:68: ../include/X11/Xaw3dxft/Scrollbar.h:120:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNpickTop "pickTop" ^ Scrollbar.c:143:4: note: in expansion of macro 'XtNpickTop' {XtNpickTop, XtCPickTop, XtRBoolean, sizeof(Boolean), ^ ../include/X11/Xaw3dxft/Scrollbar.h:116:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCPickTop "PickTop" ^ Scrollbar.c:143:16: note: in expansion of macro 'XtCPickTop' {XtNpickTop, XtCPickTop, XtRBoolean, sizeof(Boolean), ^ In file included from Scrollbar.c:65: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]) ^ Scrollbar.c:143:28: note: in expansion of macro 'XtRBoolean' {XtNpickTop, XtCPickTop, XtRBoolean, sizeof(Boolean), ^ /usr/local/include/X11/StringDefs.h:786:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((char*)&XtStrings[1561]) ^ Scrollbar.c:144:36: note: in expansion of macro 'XtRBoolean' Offset(scrollbar.pick_top), XtRBoolean, (XtPointer) False}, ^ In file included from ../include/X11/Xaw3dxft/ScrollbarP.h:58:0, from Scrollbar.c:68: ../include/X11/Xaw3dxft/Scrollbar.h:118:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNminimumThumb "minimumThumb" ^ Scrollbar.c:145:4: note: in expansion of macro 'XtNminimumThumb' {XtNminimumThumb, XtCMinimumThumb, XtRDimension, sizeof(Dimension), ^ ../include/X11/Xaw3dxft/Scrollbar.h:113:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCMinimumThumb "MinimumThumb" ^ Scrollbar.c:145:21: note: in expansion of macro 'XtCMinimumThumb' {XtNminimumThumb, XtCMinimumThumb, XtRDimension, sizeof(Dimension), ^ In file included from Scrollbar.c:65:0: /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Scrollbar.c:145:38: note: in expansion of macro 'XtRDimension' {XtNminimumThumb, XtCMinimumThumb, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Scrollbar.c:146:37: note: in expansion of macro 'XtRImmediate' Offset(scrollbar.min_thumb), XtRImmediate, (XtPointer) 7} ^ Scrollbar.c:170:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"HandleThumb", HandleThumb}, ^ Scrollbar.c:171:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"HandleMouseWheel", XawHandleMouseWheel}, ^ Scrollbar.c:175:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"MoveThumb", MoveThumb}, ^ Scrollbar.c:176:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"NotifyThumb", NotifyThumb}, ^ Scrollbar.c:177:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"NotifyScroll", NotifyScroll}, ^ Scrollbar.c:178:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"EndScroll", EndScroll} ^ Scrollbar.c:185:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "Scrollbar", ^ In file included from Scrollbar.c:65:0: Scrollbar.c: In function 'ClassInitialize': /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Scrollbar.c:242:21: note: in expansion of macro 'XtRString' XtAddConverter( XtRString, XtROrientation, XmuCvtStringToOrientation, ^ /usr/local/include/X11/StringDefs.h:855:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtROrientation ((char*)&XtStrings[1742]) ^ Scrollbar.c:242:32: note: in expansion of macro 'XtROrientation' XtAddConverter( XtRString, XtROrientation, XmuCvtStringToOrientation, ^ Scrollbar.c: In function 'RepeatNotify': /usr/local/include/X11/StringDefs.h:483:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNscrollProc ((char*)&XtStrings[591]) ^ Scrollbar.c:802:34: note: in expansion of macro 'XtNscrollProc' XtCallCallbacks((Widget)sbw, XtNscrollProc, (XtPointer) call_data); ^ Scrollbar.c: In function 'NotifyScroll': /usr/local/include/X11/StringDefs.h:483:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNscrollProc ((char*)&XtStrings[591]) ^ Scrollbar.c:896:22: note: in expansion of macro 'XtNscrollProc' XtCallCallbacks (w, XtNscrollProc, (XtPointer)(call_data)); ^ /usr/local/include/X11/StringDefs.h:483:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNscrollProc ((char*)&XtStrings[591]) ^ Scrollbar.c:905:22: note: in expansion of macro 'XtNscrollProc' XtCallCallbacks (w, XtNscrollProc, (XtPointer)(call_data)); ^ /usr/local/include/X11/StringDefs.h:483:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNscrollProc ((char*)&XtStrings[591]) ^ Scrollbar.c:914:22: note: in expansion of macro 'XtNscrollProc' XtCallCallbacks (w, XtNscrollProc, (XtPointer)(call_data)); ^ /usr/local/include/X11/StringDefs.h:483:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNscrollProc ((char*)&XtStrings[591]) ^ Scrollbar.c:918:22: note: in expansion of macro 'XtNscrollProc' XtCallCallbacks (w, XtNscrollProc, (XtPointer)(call_data)); ^ Scrollbar.c: In function 'XawHandleMouseWheel': /usr/local/include/X11/StringDefs.h:483:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNscrollProc ((char*)&XtStrings[591]) ^ Scrollbar.c:952:25: note: in expansion of macro 'XtNscrollProc' XtCallCallbacks (w, XtNscrollProc, (XtPointer)(call_data)); ^ Scrollbar.c: In function 'NotifyThumb': /usr/local/include/X11/StringDefs.h:537:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNthumbProc ((char*)&XtStrings[788]) ^ Scrollbar.c:1127:25: note: in expansion of macro 'XtNthumbProc' XtCallCallbacks (w, XtNthumbProc, xtpf.xtp); ^ /usr/local/include/X11/StringDefs.h:417:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNjumpProc ((char*)&XtStrings[370]) ^ Scrollbar.c:1128:25: note: in expansion of macro 'XtNjumpProc' XtCallCallbacks (w, XtNjumpProc, (XtPointer)&sbw->scrollbar.top); ^ --- Simple.lo --- In file included from ../include/X11/Xaw3dxft/SimpleP.h:53:0, from Simple.c:57: ../include/X11/Xaw3dxft/Simple.h:83:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNcursor "cursor" ^ Simple.c:63:4: note: in expansion of macro 'XtNcursor' {XtNcursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ In file included from Simple.c:55:0: /usr/local/include/X11/StringDefs.h:603:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCCursor ((char*)&XtStrings[976]) ^ Simple.c:63:15: note: in expansion of macro 'XtCCursor' {XtNcursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ /usr/local/include/X11/StringDefs.h:804:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCursor ((char*)&XtStrings[1611]) ^ Simple.c:63:26: note: in expansion of macro 'XtRCursor' {XtNcursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Simple.c:64:22: note: in expansion of macro 'XtRImmediate' offset(cursor), XtRImmediate, (XtPointer) None}, ^ In file included from ../include/X11/Xaw3dxft/SimpleP.h:53:0, from Simple.c:57: ../include/X11/Xaw3dxft/Simple.h:85:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNinsensitiveBorder "insensitiveBorder" ^ Simple.c:65:4: note: in expansion of macro 'XtNinsensitiveBorder' {XtNinsensitiveBorder, XtCInsensitive, XtRPixmap, sizeof(Pixmap), ^ ../include/X11/Xaw3dxft/Simple.h:87:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCInsensitive "Insensitive" ^ Simple.c:65:26: note: in expansion of macro 'XtCInsensitive' {XtNinsensitiveBorder, XtCInsensitive, XtRPixmap, sizeof(Pixmap), ^ In file included from Simple.c:55:0: /usr/local/include/X11/StringDefs.h:861:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPixmap ((char*)&XtStrings[1760]) ^ Simple.c:65:42: note: in expansion of macro 'XtRPixmap' {XtNinsensitiveBorder, XtCInsensitive, XtRPixmap, sizeof(Pixmap), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Simple.c:66:34: note: in expansion of macro 'XtRImmediate' offset(insensitive_border), XtRImmediate, (XtPointer) NULL}, ^ In file included from ../include/X11/Xaw3dxft/Simple.h:53:0, from ../include/X11/Xaw3dxft/SimpleP.h:53, from Simple.c:57: /usr/local/include/X11/Xmu/Converters.h:82:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNpointerColor "pointerColor" ^ Simple.c:67:4: note: in expansion of macro 'XtNpointerColor' {XtNpointerColor, XtCForeground, XtRPixel, sizeof(Pixel), ^ In file included from Simple.c:55: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]) ^ Simple.c:67:21: note: in expansion of macro 'XtCForeground' {XtNpointerColor, 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]) ^ Simple.c:67:36: note: in expansion of macro 'XtRPixel' {XtNpointerColor, XtCForeground, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Simple.c:68:26: note: in expansion of macro 'XtRString' offset(pointer_fg), XtRString, XtDefaultForeground}, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from Simple.c:52: /usr/local/include/X11/Intrinsic.h:1655:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtDefaultForeground "XtDefaultForeground" ^ Simple.c:68:37: note: in expansion of macro 'XtDefaultForeground' offset(pointer_fg), XtRString, XtDefaultForeground}, ^ In file included from ../include/X11/Xaw3dxft/Simple.h:53:0, from ../include/X11/Xaw3dxft/SimpleP.h:53, from Simple.c:57: /usr/local/include/X11/Xmu/Converters.h:83:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNpointerColorBackground "pointerColorBackground" ^ Simple.c:69:4: note: in expansion of macro 'XtNpointerColorBackground' {XtNpointerColorBackground, XtCBackground, XtRPixel, sizeof(Pixel), ^ In file included from Simple.c:55:0: /usr/local/include/X11/StringDefs.h:579:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCBackground ((char*)&XtStrings[902]) ^ Simple.c:69:31: note: in expansion of macro 'XtCBackground' {XtNpointerColorBackground, XtCBackground, 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]) ^ Simple.c:69:46: note: in expansion of macro 'XtRPixel' {XtNpointerColorBackground, XtCBackground, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Simple.c:70:26: note: in expansion of macro 'XtRString' offset(pointer_bg), XtRString, XtDefaultBackground}, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from Simple.c:52: /usr/local/include/X11/Intrinsic.h:1656:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtDefaultBackground "XtDefaultBackground" ^ Simple.c:70:37: note: in expansion of macro 'XtDefaultBackground' offset(pointer_bg), XtRString, XtDefaultBackground}, ^ In file included from ../include/X11/Xaw3dxft/SimpleP.h:53:0, from Simple.c:57: ../include/X11/Xaw3dxft/Simple.h:84:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNcursorName "cursorName" ^ Simple.c:71:4: note: in expansion of macro 'XtNcursorName' {XtNcursorName, XtCCursor, XtRString, sizeof(String), ^ In file included from Simple.c:55:0: /usr/local/include/X11/StringDefs.h:603:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCCursor ((char*)&XtStrings[976]) ^ Simple.c:71:19: note: in expansion of macro 'XtCCursor' {XtNcursorName, XtCCursor, 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]) ^ Simple.c:71:30: note: in expansion of macro 'XtRString' {XtNcursorName, XtCCursor, 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]) ^ Simple.c:72:27: note: in expansion of macro 'XtRString' offset(cursor_name), XtRString, NULL}, ^ In file included from ../include/X11/Xaw3dxft/SimpleP.h:53:0, from Simple.c:57: ../include/X11/Xaw3dxft/Simple.h:94:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNinternational "international" ^ Simple.c:74:4: note: in expansion of macro 'XtNinternational' {XtNinternational, XtCInternational, XtRBoolean, sizeof(Boolean), ^ ../include/X11/Xaw3dxft/Simple.h:91:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCInternational "International" ^ Simple.c:74:22: note: in expansion of macro 'XtCInternational' {XtNinternational, XtCInternational, XtRBoolean, sizeof(Boolean), ^ In file included from Simple.c:55: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]) ^ Simple.c:74:40: note: in expansion of macro 'XtRBoolean' {XtNinternational, XtCInternational, 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]) ^ Simple.c:75:29: note: in expansion of macro 'XtRImmediate' offset(international), XtRImmediate, (XtPointer) FALSE}, ^ Simple.c:90:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "Simple", ^ Simple.c: In function 'ClassInitialize': Simple.c:135:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {XtResourceString, (XtPointer) XtNpointerColor, sizeof(Pixel)}, ^ Simple.c:136:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {XtResourceString, (XtPointer) XtNpointerColorBackground, ^ In file included from Simple.c:55: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]) ^ Simple.c:143:25: note: in expansion of macro 'XtRString' XtSetTypeConverter( XtRString, XtRColorCursor, XmuCvtStringToColorCursor, ^ Simple.c: In function 'ConvertCursor': /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Simple.c:224:30: note: in expansion of macro 'XtRString' if (XtConvertAndStore(w, XtRString, &from, XtRColorCursor, &to)) { ^ libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Simple.lo -MD -MP -MF .deps/Simple.Tpo -c Simple.c -o Simple.o >/dev/null 2>&1 mv -f .deps/Simple.Tpo .deps/Simple.Plo --- SimpleMenu.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT SimpleMenu.lo -MD -MP -MF .deps/SimpleMenu.Tpo -c -o SimpleMenu.lo SimpleMenu.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT SimpleMenu.lo -MD -MP -MF .deps/SimpleMenu.Tpo -c SimpleMenu.c -fPIC -DPIC -o .libs/SimpleMenu.o --- Panner.lo --- mv -f .deps/Panner.Tpo .deps/Panner.Plo --- SmeBSB.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT SmeBSB.lo -MD -MP -MF .deps/SmeBSB.Tpo -c -o SmeBSB.lo SmeBSB.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT SmeBSB.lo -MD -MP -MF .deps/SmeBSB.Tpo -c SmeBSB.c -fPIC -DPIC -o .libs/SmeBSB.o --- SimpleMenu.lo --- In file included from ../include/X11/Xaw3dxft/Xaw3dXft.h:53:0, from ../include/X11/Xaw3dxft/Xaw3dXftP.h:42, from SimpleMenu.c:46: ../include/X11/Xaw3dxft/XawInit.h:28:13: warning: redundant redeclaration of 'XawInitializeWidgetSet' [-Wredundant-decls] extern void XawInitializeWidgetSet(void); /* called from ClassInit procs */ ^ In file included from SimpleMenu.c:45:0: ../include/X11/Xaw3dxft/XawInit.h:28:13: note: previous declaration of 'XawInitializeWidgetSet' was here extern void XawInitializeWidgetSet(void); /* called from ClassInit procs */ ^ In file included from SimpleMenu.c:42: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]) ^ SimpleMenu.c:67:4: note: in expansion of macro 'XtNlabel' {XtNlabel, XtCLabel, XtRString, sizeof(String), ^ /usr/local/include/X11/StringDefs.h:657:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCLabel ((char*)&XtStrings[1151]) ^ SimpleMenu.c:67:15: note: in expansion of macro 'XtCLabel' {XtNlabel, XtCLabel, 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]) ^ SimpleMenu.c:67:25: note: in expansion of macro 'XtRString' {XtNlabel, XtCLabel, 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]) ^ SimpleMenu.c:68:28: note: in expansion of macro 'XtRString' offset(label_string), XtRString, NULL}, ^ In file included from ../include/X11/Xaw3dxft/SimpleMenP.h:40:0, from SimpleMenu.c:47: ../include/X11/Xaw3dxft/SimpleMenu.h:91:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNlabelClass "labelClass" ^ SimpleMenu.c:69:4: note: in expansion of macro 'XtNlabelClass' {XtNlabelClass, XtCLabelClass, XtRPointer, sizeof(WidgetClass), ^ ../include/X11/Xaw3dxft/SimpleMenu.h:101:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCLabelClass "LabelClass" ^ SimpleMenu.c:69:20: note: in expansion of macro 'XtCLabelClass' {XtNlabelClass, XtCLabelClass, XtRPointer, sizeof(WidgetClass), ^ In file included from SimpleMenu.c:42:0: /usr/local/include/X11/StringDefs.h:864:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPointer ((char*)&XtStrings[1767]) ^ SimpleMenu.c:69:35: note: in expansion of macro 'XtRPointer' {XtNlabelClass, XtCLabelClass, XtRPointer, sizeof(WidgetClass), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ SimpleMenu.c:70:27: note: in expansion of macro 'XtRImmediate' offset(label_class), XtRImmediate, (XtPointer) NULL}, ^ In file included from ../include/X11/Xaw3dxft/SimpleMenP.h:40:0, from SimpleMenu.c:47: ../include/X11/Xaw3dxft/SimpleMenu.h:94:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNrowHeight "rowHeight" ^ SimpleMenu.c:76:4: note: in expansion of macro 'XtNrowHeight' {XtNrowHeight, XtCRowHeight, XtRDimension, sizeof(Dimension), ^ ../include/X11/Xaw3dxft/SimpleMenu.h:104:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCRowHeight "RowHeight" ^ SimpleMenu.c:76:19: note: in expansion of macro 'XtCRowHeight' {XtNrowHeight, XtCRowHeight, XtRDimension, sizeof(Dimension), ^ In file included from SimpleMenu.c:42:0: /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ SimpleMenu.c:76:33: note: in expansion of macro 'XtRDimension' {XtNrowHeight, XtCRowHeight, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ SimpleMenu.c:77:26: note: in expansion of macro 'XtRImmediate' offset(row_height), XtRImmediate, (XtPointer) 0}, ^ In file included from ../include/X11/Xaw3dxft/SimpleMenP.h:40:0, from SimpleMenu.c:47: ../include/X11/Xaw3dxft/SimpleMenu.h:95:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNtopMargin "topMargin" ^ SimpleMenu.c:78:4: note: in expansion of macro 'XtNtopMargin' {XtNtopMargin, XtCVerticalMargins, XtRDimension, sizeof(Dimension), ^ ../include/X11/Xaw3dxft/SimpleMenu.h:105:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCVerticalMargins "VerticalMargins" ^ SimpleMenu.c:78:19: note: in expansion of macro 'XtCVerticalMargins' {XtNtopMargin, XtCVerticalMargins, XtRDimension, sizeof(Dimension), ^ In file included from SimpleMenu.c:42:0: /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ SimpleMenu.c:78:39: note: in expansion of macro 'XtRDimension' {XtNtopMargin, XtCVerticalMargins, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ SimpleMenu.c:79:26: note: in expansion of macro 'XtRImmediate' offset(top_margin), XtRImmediate, (XtPointer) 0}, ^ In file included from ../include/X11/Xaw3dxft/SimpleMenP.h:40:0, from SimpleMenu.c:47: ../include/X11/Xaw3dxft/SimpleMenu.h:89:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbottomMargin "bottomMargin" ^ SimpleMenu.c:80:4: note: in expansion of macro 'XtNbottomMargin' {XtNbottomMargin, XtCVerticalMargins, XtRDimension, sizeof(Dimension), ^ ../include/X11/Xaw3dxft/SimpleMenu.h:105:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCVerticalMargins "VerticalMargins" ^ SimpleMenu.c:80:22: note: in expansion of macro 'XtCVerticalMargins' {XtNbottomMargin, XtCVerticalMargins, XtRDimension, sizeof(Dimension), ^ In file included from SimpleMenu.c:42:0: /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ SimpleMenu.c:80:42: note: in expansion of macro 'XtRDimension' {XtNbottomMargin, XtCVerticalMargins, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ SimpleMenu.c:81:29: note: in expansion of macro 'XtRImmediate' offset(bottom_margin), XtRImmediate, (XtPointer) 0}, ^ In file included from ../include/X11/Xaw3dxft/SmeBSBP.h:45:0, from SimpleMenu.c:48: ../include/X11/Xaw3dxft/SmeBSB.h:85:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNleftWhitespace "leftWhitespace" ^ SimpleMenu.c:82:4: note: in expansion of macro 'XtNleftWhitespace' {XtNleftWhitespace, XtCHorizontalWhitespace, XtRDimension, sizeof(Dimension), ^ In file included from ../include/X11/Xaw3dxft/SimpleMenP.h:40:0, from SimpleMenu.c:47: ../include/X11/Xaw3dxft/SimpleMenu.h:109:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCHorizontalWhitespace "HorizontalWhitespace" ^ SimpleMenu.c:82:24: note: in expansion of macro 'XtCHorizontalWhitespace' {XtNleftWhitespace, XtCHorizontalWhitespace, XtRDimension, sizeof(Dimension), ^ In file included from SimpleMenu.c:42:0: /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ SimpleMenu.c:82:49: note: in expansion of macro 'XtRDimension' {XtNleftWhitespace, XtCHorizontalWhitespace, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ SimpleMenu.c:83:31: note: in expansion of macro 'XtRImmediate' offset(left_whitespace), XtRImmediate, (XtPointer) 0}, ^ In file included from ../include/X11/Xaw3dxft/SmeBSBP.h:45:0, from SimpleMenu.c:48: ../include/X11/Xaw3dxft/SmeBSB.h:88:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNrightWhitespace "rightWhitespace" ^ SimpleMenu.c:84:4: note: in expansion of macro 'XtNrightWhitespace' {XtNrightWhitespace, XtCHorizontalWhitespace, XtRDimension, sizeof(Dimension), ^ In file included from ../include/X11/Xaw3dxft/SimpleMenP.h:40:0, from SimpleMenu.c:47: ../include/X11/Xaw3dxft/SimpleMenu.h:109:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCHorizontalWhitespace "HorizontalWhitespace" ^ SimpleMenu.c:84:25: note: in expansion of macro 'XtCHorizontalWhitespace' {XtNrightWhitespace, XtCHorizontalWhitespace, XtRDimension, sizeof(Dimension), ^ In file included from SimpleMenu.c:42:0: /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ SimpleMenu.c:84:50: note: in expansion of macro 'XtRDimension' {XtNrightWhitespace, XtCHorizontalWhitespace, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ SimpleMenu.c:85:32: note: in expansion of macro 'XtRImmediate' offset(right_whitespace), XtRImmediate, (XtPointer) 0}, ^ In file included from ../include/X11/Xaw3dxft/SimpleMenu.h:48:0, from ../include/X11/Xaw3dxft/SimpleMenP.h:40, from SimpleMenu.c:47: /usr/local/include/X11/Shell.h:263:30: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNallowShellResize ((char*)&XtShellStrings[280]) ^ SimpleMenu.c:91:5: note: in expansion of macro 'XtNallowShellResize' { XtNallowShellResize, XtCAllowShellResize, XtRBoolean, sizeof(Boolean), ^ /usr/local/include/X11/Shell.h:266:30: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCAllowShellResize ((char*)&XtShellStrings[297]) ^ SimpleMenu.c:91:26: note: in expansion of macro 'XtCAllowShellResize' { XtNallowShellResize, XtCAllowShellResize, XtRBoolean, sizeof(Boolean), ^ In file included from SimpleMenu.c:42: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]) ^ SimpleMenu.c:91:47: note: in expansion of macro 'XtRBoolean' { XtNallowShellResize, XtCAllowShellResize, 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]) ^ SimpleMenu.c:93:7: note: in expansion of macro 'XtRImmediate' XtRImmediate, (XtPointer) TRUE }, ^ In file included from ../include/X11/Xaw3dxft/SimpleP.h:53:0, from ../include/X11/Xaw3dxft/ThreeDP.h:30, from SimpleMenu.c:51: ../include/X11/Xaw3dxft/Simple.h:83:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNcursor "cursor" ^ SimpleMenu.c:94:4: note: in expansion of macro 'XtNcursor' {XtNcursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ In file included from SimpleMenu.c:42:0: /usr/local/include/X11/StringDefs.h:603:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCCursor ((char*)&XtStrings[976]) ^ SimpleMenu.c:94:15: note: in expansion of macro 'XtCCursor' {XtNcursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ /usr/local/include/X11/StringDefs.h:804:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCursor ((char*)&XtStrings[1611]) ^ SimpleMenu.c:94:26: note: in expansion of macro 'XtRCursor' {XtNcursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ SimpleMenu.c:95:23: note: in expansion of macro 'XtRImmediate' offset(cursor), XtRImmediate, (XtPointer) None}, ^ In file included from ../include/X11/Xaw3dxft/SimpleMenP.h:40:0, from SimpleMenu.c:47: ../include/X11/Xaw3dxft/SimpleMenu.h:92:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNmenuOnScreen "menuOnScreen" ^ SimpleMenu.c:96:4: note: in expansion of macro 'XtNmenuOnScreen' {XtNmenuOnScreen, XtCMenuOnScreen, XtRBoolean, sizeof(Boolean), ^ ../include/X11/Xaw3dxft/SimpleMenu.h:102:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCMenuOnScreen "MenuOnScreen" ^ SimpleMenu.c:96:22: note: in expansion of macro 'XtCMenuOnScreen' {XtNmenuOnScreen, XtCMenuOnScreen, XtRBoolean, sizeof(Boolean), ^ In file included from SimpleMenu.c:42: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]) ^ SimpleMenu.c:96:39: note: in expansion of macro 'XtRBoolean' {XtNmenuOnScreen, XtCMenuOnScreen, 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]) ^ SimpleMenu.c:97:31: note: in expansion of macro 'XtRImmediate' offset(menu_on_screen), XtRImmediate, (XtPointer) TRUE}, ^ In file included from ../include/X11/Xaw3dxft/SimpleMenP.h:40:0, from SimpleMenu.c:47: ../include/X11/Xaw3dxft/SimpleMenu.h:93:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNpopupOnEntry "popupOnEntry" ^ SimpleMenu.c:98:4: note: in expansion of macro 'XtNpopupOnEntry' {XtNpopupOnEntry, XtCPopupOnEntry, XtRWidget, sizeof(Widget), ^ ../include/X11/Xaw3dxft/SimpleMenu.h:103:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCPopupOnEntry "PopupOnEntry" ^ SimpleMenu.c:98:22: note: in expansion of macro 'XtCPopupOnEntry' {XtNpopupOnEntry, XtCPopupOnEntry, XtRWidget, sizeof(Widget), ^ In file included from SimpleMenu.c:42:0: /usr/local/include/X11/StringDefs.h:894:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRWidget ((char*)&XtStrings[1865]) ^ SimpleMenu.c:98:39: note: in expansion of macro 'XtRWidget' {XtNpopupOnEntry, XtCPopupOnEntry, XtRWidget, sizeof(Widget), ^ /usr/local/include/X11/StringDefs.h:894:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRWidget ((char*)&XtStrings[1865]) ^ SimpleMenu.c:99:28: note: in expansion of macro 'XtRWidget' offset(popup_entry), XtRWidget, NULL}, ^ In file included from ../include/X11/Xaw3dxft/SimpleMenu.h:49:0, from ../include/X11/Xaw3dxft/SimpleMenP.h:40, from SimpleMenu.c:47: /usr/local/include/X11/Xmu/Converters.h:48:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbackingStore "backingStore" ^ SimpleMenu.c:100:4: note: in expansion of macro 'XtNbackingStore' {XtNbackingStore, XtCBackingStore, XtRBackingStore, sizeof (int), ^ /usr/local/include/X11/Xmu/Converters.h:49:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCBackingStore "BackingStore" ^ SimpleMenu.c:100:21: note: in expansion of macro 'XtCBackingStore' {XtNbackingStore, XtCBackingStore, XtRBackingStore, sizeof (int), ^ /usr/local/include/X11/Xmu/Converters.h:50:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRBackingStore "BackingStore" ^ SimpleMenu.c:100:38: note: in expansion of macro 'XtRBackingStore' {XtNbackingStore, XtCBackingStore, XtRBackingStore, sizeof (int), ^ In file included from SimpleMenu.c:42:0: /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ SimpleMenu.c:102:7: note: in expansion of macro 'XtRImmediate' XtRImmediate, (XtPointer) (Always + WhenMapped + NotUseful)}, ^ In file included from ../include/X11/Xaw3dxft/SimpleMenP.h:40:0, from SimpleMenu.c:47: ../include/X11/Xaw3dxft/SimpleMenu.h:96:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNjumpScroll "jumpScroll" ^ SimpleMenu.c:103:4: note: in expansion of macro 'XtNjumpScroll' {XtNjumpScroll, XtCJumpScroll, XtRInt, sizeof(int), ^ ../include/X11/Xaw3dxft/SimpleMenu.h:106:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCJumpScroll "JumpScroll" ^ SimpleMenu.c:103:20: note: in expansion of macro 'XtCJumpScroll' {XtNjumpScroll, XtCJumpScroll, XtRInt, sizeof(int), ^ In file included from SimpleMenu.c:42: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]) ^ SimpleMenu.c:103:35: note: in expansion of macro 'XtRInt' {XtNjumpScroll, XtCJumpScroll, 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]) ^ SimpleMenu.c:104:25: note: in expansion of macro 'XtRImmediate' offset(jump_val), XtRImmediate, (XtPointer)1}, ^ SimpleMenu.c:161:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"notify", Notify}, ^ SimpleMenu.c:162:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"highlight", Highlight}, ^ SimpleMenu.c:163:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"unhighlight", Unhighlight}, ^ SimpleMenu.c:164:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"popdown", Popdown} ^ SimpleMenu.c:180:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "SimpleMenu", ^ In file included from SimpleMenu.c:42:0: SimpleMenu.c: In function 'ClassInitialize': /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ SimpleMenu.c:254:19: note: in expansion of macro 'XtRString' XtAddConverter( XtRString, XtRBackingStore, XmuCvtStringToBackingStore, ^ SimpleMenu.c: In function 'Initialize': /usr/local/include/X11/StringDefs.h:468:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNpopupCallback ((char*)&XtStrings[534]) ^ SimpleMenu.c:307:22: note: in expansion of macro 'XtNpopupCallback' XtAddCallback(new, XtNpopupCallback, PopupCB, NULL); ^ /usr/local/include/X11/StringDefs.h:570:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNx ((char*)&XtStrings[885]) ^ SimpleMenu.c:318:7: note: in expansion of macro 'XtNx' XtNx, 0, XtNy, 0, XtNwidth, /* dummy */ 10, XtNheight, /* dummy */ 10, ^ /usr/local/include/X11/StringDefs.h:573:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNy ((char*)&XtStrings[887]) ^ SimpleMenu.c:318:16: note: in expansion of macro 'XtNy' XtNx, 0, XtNy, 0, XtNwidth, /* dummy */ 10, XtNheight, /* dummy */ 10, ^ /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ SimpleMenu.c:318:25: note: in expansion of macro 'XtNwidth' XtNx, 0, XtNy, 0, XtNwidth, /* dummy */ 10, XtNheight, /* dummy */ 10, ^ /usr/local/include/X11/StringDefs.h:384:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNheight ((char*)&XtStrings[234]) ^ SimpleMenu.c:318:51: note: in expansion of macro 'XtNheight' XtNx, 0, XtNy, 0, XtNwidth, /* dummy */ 10, XtNheight, /* dummy */ 10, ^ /usr/local/include/X11/StringDefs.h:468:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNpopupCallback ((char*)&XtStrings[534]) ^ SimpleMenu.c:336:22: note: in expansion of macro 'XtNpopupCallback' XtAddCallback(new, XtNpopupCallback, ChangeCursorOnGrab, (XtPointer)NULL); ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from SimpleMenu.c:41: SimpleMenu.c: In function 'SetValues': /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) )) ^ SimpleMenu.c:580:27: note: in expansion of macro 'XtNlabel' XtSetArg(arglist[0], XtNlabel, smw_new->simple_menu.label_string); ^ SimpleMenu.c: In function 'SetValuesHook': /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ SimpleMenu.c:56:43: note: in definition of macro 'streq' #define streq(a, b) ( strcmp((a), (b)) == 0 ) ^ SimpleMenu.c:637:30: note: in expansion of macro 'XtNwidth' if ( streq(arglist[i].name, XtNwidth) ) ^ /usr/local/include/X11/StringDefs.h:384:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNheight ((char*)&XtStrings[234]) ^ SimpleMenu.c:56:43: note: in definition of macro 'streq' #define streq(a, b) ( strcmp((a), (b)) == 0 ) ^ SimpleMenu.c:639:30: note: in expansion of macro 'XtNheight' if ( streq(arglist[i].name, XtNheight) ) ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from SimpleMenu.c:41: SimpleMenu.c: In function 'CreateLabel': /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) )) ^ SimpleMenu.c:1007:23: note: in expansion of macro 'XtNlabel' XtSetArg(args[0], XtNlabel, smw->simple_menu.label_string); ^ /usr/local/include/X11/StringDefs.h:420:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNjustify ((char*)&XtStrings[379]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ SimpleMenu.c:1008:23: note: in expansion of macro 'XtNjustify' XtSetArg(args[1], XtNjustify, XtJustifyCenter); ^ SimpleMenu.c: In function 'AddPositionAction': SimpleMenu.c:1155:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "XawPositionSimpleMenu", PositionMenuAction }, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from SimpleMenu.c:41: SimpleMenu.c: In function 'MoveMenu': /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) )) ^ SimpleMenu.c:1265:26: note: in expansion of macro 'XtNx' XtSetArg(arglist[0], XtNx, 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) )) ^ SimpleMenu.c:1266:26: note: in expansion of macro 'XtNy' XtSetArg(arglist[1], XtNy, y); ^ SimpleMenu.c: In function 'MakeSetValuesRequest': /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) )) ^ SimpleMenu.c:1313:27: note: in expansion of macro 'XtNwidth' XtSetArg(arglist[0], XtNwidth, width); ^ /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) )) ^ SimpleMenu.c:1314:27: note: in expansion of macro 'XtNheight' XtSetArg(arglist[1], XtNheight, height); ^ SimpleMenu.c: In function 'PopupSubMenu': /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) )) ^ SimpleMenu.c:1607:23: note: in expansion of macro 'XtNx' XtSetArg(args[0], XtNx, menu_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) )) ^ SimpleMenu.c:1608:23: note: in expansion of macro 'XtNy' XtSetArg(args[1], XtNy, menu_y); ^ --- Scrollbar.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Scrollbar.lo -MD -MP -MF .deps/Scrollbar.Tpo -c Scrollbar.c -o Scrollbar.o >/dev/null 2>&1 --- SmeBSB.lo --- In file included from ../include/X11/Xaw3dxft/Xaw3dXft.h:53:0, from ../include/X11/Xaw3dxft/Xaw3dXftP.h:42, from SmeBSB.c:50: ../include/X11/Xaw3dxft/XawInit.h:28:13: warning: redundant redeclaration of 'XawInitializeWidgetSet' [-Wredundant-decls] extern void XawInitializeWidgetSet(void); /* called from ClassInit procs */ ^ In file included from SmeBSB.c:49:0: ../include/X11/Xaw3dxft/XawInit.h:28:13: note: previous declaration of 'XawInitializeWidgetSet' was here extern void XawInitializeWidgetSet(void); /* called from ClassInit procs */ ^ In file included from SmeBSB.c:46: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]) ^ SmeBSB.c:67:4: note: in expansion of macro 'XtNlabel' {XtNlabel, XtCLabel, XtRString, sizeof(String), ^ /usr/local/include/X11/StringDefs.h:657:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCLabel ((char*)&XtStrings[1151]) ^ SmeBSB.c:67:15: note: in expansion of macro 'XtCLabel' {XtNlabel, XtCLabel, 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]) ^ SmeBSB.c:67:25: note: in expansion of macro 'XtRString' {XtNlabel, XtCLabel, 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]) ^ SmeBSB.c:68:21: note: in expansion of macro 'XtRString' offset(label), XtRString, NULL}, ^ In file included from ../include/X11/Xaw3dxft/SmeBSBP.h:45:0, from SmeBSB.c:53: ../include/X11/Xaw3dxft/SmeBSB.h:89:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNvertSpace "vertSpace" ^ SmeBSB.c:69:4: note: in expansion of macro 'XtNvertSpace' {XtNvertSpace, XtCVertSpace, XtRInt, sizeof(int), ^ ../include/X11/Xaw3dxft/SmeBSB.h:106:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCVertSpace "VertSpace" ^ SmeBSB.c:69:19: note: in expansion of macro 'XtCVertSpace' {XtNvertSpace, XtCVertSpace, XtRInt, sizeof(int), ^ In file included from SmeBSB.c:46: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]) ^ SmeBSB.c:69:33: note: in expansion of macro 'XtRInt' {XtNvertSpace, XtCVertSpace, 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]) ^ SmeBSB.c:70:26: note: in expansion of macro 'XtRImmediate' offset(vert_space), XtRImmediate, (XtPointer) 25}, ^ In file included from ../include/X11/Xaw3dxft/SmeBSBP.h:45:0, from SmeBSB.c:53: ../include/X11/Xaw3dxft/SmeBSB.h:83:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNleftBitmap "leftBitmap" ^ SmeBSB.c:71:4: note: in expansion of macro 'XtNleftBitmap' {XtNleftBitmap, XtCLeftBitmap, XtRBitmap, sizeof(Pixmap), ^ ../include/X11/Xaw3dxft/SmeBSB.h:103:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCLeftBitmap "LeftBitmap" ^ SmeBSB.c:71:19: note: in expansion of macro 'XtCLeftBitmap' {XtNleftBitmap, XtCLeftBitmap, XtRBitmap, sizeof(Pixmap), ^ In file included from SmeBSB.c:46:0: /usr/local/include/X11/StringDefs.h:780:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBitmap ((char*)&XtStrings[1549]) ^ SmeBSB.c:71:34: note: in expansion of macro 'XtRBitmap' {XtNleftBitmap, XtCLeftBitmap, XtRBitmap, sizeof(Pixmap), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ SmeBSB.c:72:27: note: in expansion of macro 'XtRImmediate' offset(left_bitmap), XtRImmediate, (XtPointer)None}, ^ /usr/local/include/X11/StringDefs.h:420:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNjustify ((char*)&XtStrings[379]) ^ SmeBSB.c:73:4: note: in expansion of macro 'XtNjustify' {XtNjustify, XtCJustify, XtRJustify, sizeof(XtJustify), ^ /usr/local/include/X11/StringDefs.h:648:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCJustify ((char*)&XtStrings[1122]) ^ SmeBSB.c:73:16: note: in expansion of macro 'XtCJustify' {XtNjustify, XtCJustify, XtRJustify, sizeof(XtJustify), ^ /usr/local/include/X11/StringDefs.h:846:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRJustify ((char*)&XtStrings[1722]) ^ SmeBSB.c:73:28: note: in expansion of macro 'XtRJustify' {XtNjustify, XtCJustify, XtRJustify, sizeof(XtJustify), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ SmeBSB.c:74:23: note: in expansion of macro 'XtRImmediate' offset(justify), XtRImmediate, (XtPointer) XtJustifyLeft}, ^ In file included from ../include/X11/Xaw3dxft/SmeBSBP.h:45:0, from SmeBSB.c:53: ../include/X11/Xaw3dxft/SmeBSB.h:86:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNrightBitmap "rightBitmap" ^ SmeBSB.c:75:4: note: in expansion of macro 'XtNrightBitmap' {XtNrightBitmap, XtCRightBitmap, XtRBitmap, sizeof(Pixmap), ^ ../include/X11/Xaw3dxft/SmeBSB.h:104:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCRightBitmap "RightBitmap" ^ SmeBSB.c:75:20: note: in expansion of macro 'XtCRightBitmap' {XtNrightBitmap, XtCRightBitmap, XtRBitmap, sizeof(Pixmap), ^ In file included from SmeBSB.c:46:0: /usr/local/include/X11/StringDefs.h:780:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBitmap ((char*)&XtStrings[1549]) ^ SmeBSB.c:75:36: note: in expansion of macro 'XtRBitmap' {XtNrightBitmap, XtCRightBitmap, XtRBitmap, sizeof(Pixmap), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ SmeBSB.c:76:28: note: in expansion of macro 'XtRImmediate' offset(right_bitmap), XtRImmediate, (XtPointer)None}, ^ In file included from ../include/X11/Xaw3dxft/SmeBSBP.h:45:0, from SmeBSB.c:53: ../include/X11/Xaw3dxft/SmeBSB.h:84:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNleftMargin "leftMargin" ^ SmeBSB.c:77:4: note: in expansion of macro 'XtNleftMargin' {XtNleftMargin, XtCHorizontalMargins, XtRDimension, sizeof(Dimension), ^ ../include/X11/Xaw3dxft/SmeBSB.h:105:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCHorizontalMargins "HorizontalMargins" ^ SmeBSB.c:77:20: note: in expansion of macro 'XtCHorizontalMargins' {XtNleftMargin, XtCHorizontalMargins, XtRDimension, sizeof(Dimension), ^ In file included from SmeBSB.c:46:0: /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ SmeBSB.c:77:42: note: in expansion of macro 'XtRDimension' {XtNleftMargin, XtCHorizontalMargins, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ SmeBSB.c:78:27: note: in expansion of macro 'XtRImmediate' offset(left_margin), XtRImmediate, (XtPointer) 4}, ^ In file included from ../include/X11/Xaw3dxft/SmeBSBP.h:45:0, from SmeBSB.c:53: ../include/X11/Xaw3dxft/SmeBSB.h:87:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNrightMargin "rightMargin" ^ SmeBSB.c:79:4: note: in expansion of macro 'XtNrightMargin' {XtNrightMargin, XtCHorizontalMargins, XtRDimension, sizeof(Dimension), ^ ../include/X11/Xaw3dxft/SmeBSB.h:105:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCHorizontalMargins "HorizontalMargins" ^ SmeBSB.c:79:21: note: in expansion of macro 'XtCHorizontalMargins' {XtNrightMargin, XtCHorizontalMargins, XtRDimension, sizeof(Dimension), ^ In file included from SmeBSB.c:46:0: /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ SmeBSB.c:79:43: note: in expansion of macro 'XtRDimension' {XtNrightMargin, XtCHorizontalMargins, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ SmeBSB.c:80:28: note: in expansion of macro 'XtRImmediate' offset(right_margin), XtRImmediate, (XtPointer) 4}, ^ /usr/local/include/X11/StringDefs.h:378:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNforeground ((char*)&XtStrings[214]) ^ SmeBSB.c:81:4: note: in expansion of macro 'XtNforeground' {XtNforeground, XtCForeground, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:621:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCForeground ((char*)&XtStrings[1022]) ^ SmeBSB.c:81:19: note: in expansion of macro 'XtCForeground' {XtNforeground, 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]) ^ SmeBSB.c:81:34: note: in expansion of macro 'XtRPixel' {XtNforeground, XtCForeground, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ SmeBSB.c:82:26: note: in expansion of macro 'XtRString' offset(foreground), XtRString, XtDefaultForeground}, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from SmeBSB.c:44: /usr/local/include/X11/Intrinsic.h:1655:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtDefaultForeground "XtDefaultForeground" ^ SmeBSB.c:82:37: note: in expansion of macro 'XtDefaultForeground' offset(foreground), XtRString, XtDefaultForeground}, ^ In file included from SmeBSB.c:46:0: /usr/local/include/X11/StringDefs.h:372:18: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNfont ((char*)&XtStrings[199]) ^ SmeBSB.c:83:4: note: in expansion of macro 'XtNfont' {XtNfont, XtCFont, XtRFontStruct, sizeof(XFontStruct *), ^ /usr/local/include/X11/StringDefs.h:618:18: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCFont ((char*)&XtStrings[1017]) ^ SmeBSB.c:83:14: note: in expansion of macro 'XtCFont' {XtNfont, XtCFont, XtRFontStruct, sizeof(XFontStruct *), ^ /usr/local/include/X11/StringDefs.h:828:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRFontStruct ((char*)&XtStrings[1666]) ^ SmeBSB.c:83:23: note: in expansion of macro 'XtRFontStruct' {XtNfont, XtCFont, XtRFontStruct, sizeof(XFontStruct *), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ SmeBSB.c:84:20: note: in expansion of macro 'XtRString' offset(font), XtRString, XtDefaultFont}, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from SmeBSB.c:44: /usr/local/include/X11/Intrinsic.h:1657:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtDefaultFont "XtDefaultFont" ^ SmeBSB.c:84:31: note: in expansion of macro 'XtDefaultFont' offset(font), XtRString, XtDefaultFont}, ^ In file included from ../include/X11/Xaw3dxft/SmeBSBP.h:45:0, from SmeBSB.c:53: ../include/X11/Xaw3dxft/SmeBSB.h:92:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNxftFont "xftFont" ^ SmeBSB.c:85:4: note: in expansion of macro 'XtNxftFont' {XtNxftFont, XtCXftFont, XtRString, sizeof(String), ^ ../include/X11/Xaw3dxft/SmeBSB.h:109:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCXftFont "XftFont" ^ SmeBSB.c:85:17: note: in expansion of macro 'XtCXftFont' {XtNxftFont, XtCXftFont, XtRString, sizeof(String), ^ In file included from SmeBSB.c:46: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]) ^ SmeBSB.c:85:29: note: in expansion of macro 'XtRString' {XtNxftFont, XtCXftFont, 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]) ^ SmeBSB.c:86:27: note: in expansion of macro 'XtRString' offset(xftfontname), XtRString, NULL}, ^ /usr/local/include/X11/StringDefs.h:948:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNfontSet ((char*)&XtStrings[2018]) ^ SmeBSB.c:88:4: note: in expansion of macro 'XtNfontSet' {XtNfontSet, XtCFontSet, XtRFontSet, sizeof(XFontSet ), ^ /usr/local/include/X11/StringDefs.h:954:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCFontSet ((char*)&XtStrings[2034]) ^ SmeBSB.c:88:17: note: in expansion of macro 'XtCFontSet' {XtNfontSet, XtCFontSet, XtRFontSet, sizeof(XFontSet ), ^ /usr/local/include/X11/StringDefs.h:951:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRFontSet ((char*)&XtStrings[2026]) ^ SmeBSB.c:88:29: note: in expansion of macro 'XtRFontSet' {XtNfontSet, XtCFontSet, XtRFontSet, sizeof(XFontSet ), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ SmeBSB.c:89:22: note: in expansion of macro 'XtRString' offset(fontset),XtRString, XtDefaultFontSet}, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from SmeBSB.c:44: /usr/local/include/X11/Intrinsic.h:1658:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtDefaultFontSet "XtDefaultFontSet" ^ SmeBSB.c:89:33: note: in expansion of macro 'XtDefaultFontSet' offset(fontset),XtRString, XtDefaultFontSet}, ^ In file included from ../include/X11/Xaw3dxft/SmeBSBP.h:45:0, from SmeBSB.c:53: ../include/X11/Xaw3dxft/SmeBSB.h:90:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNmenuName "menuName" ^ SmeBSB.c:91:4: note: in expansion of macro 'XtNmenuName' {XtNmenuName, XtCMenuName, XtRString, sizeof(String), ^ ../include/X11/Xaw3dxft/SmeBSB.h:107:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCMenuName "MenuName" ^ SmeBSB.c:91:17: note: in expansion of macro 'XtCMenuName' {XtNmenuName, XtCMenuName, XtRString, sizeof(String), ^ In file included from SmeBSB.c:46: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]) ^ SmeBSB.c:91:30: note: in expansion of macro 'XtRString' {XtNmenuName, XtCMenuName, XtRString, sizeof(String), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ SmeBSB.c:92:25: note: in expansion of macro 'XtRImmediate' offset(menu_name), XtRImmediate, (XtPointer) NULL}, ^ In file included from ../include/X11/Xaw3dxft/SmeBSBP.h:45:0, from SmeBSB.c:53: ../include/X11/Xaw3dxft/SmeBSB.h:91:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNunderline "underline" ^ SmeBSB.c:93:4: note: in expansion of macro 'XtNunderline' {XtNunderline, XtCIndex, XtRInt, sizeof(int), ^ In file included from SmeBSB.c:46:0: /usr/local/include/X11/StringDefs.h:636:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCIndex ((char*)&XtStrings[1065]) ^ SmeBSB.c:93:19: note: in expansion of macro 'XtCIndex' {XtNunderline, XtCIndex, XtRInt, sizeof(int), ^ /usr/local/include/X11/StringDefs.h:843:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRInt ((char*)&XtStrings[1718]) ^ SmeBSB.c:93:29: note: in expansion of macro 'XtRInt' {XtNunderline, XtCIndex, 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]) ^ SmeBSB.c:94:25: note: in expansion of macro 'XtRImmediate' offset(underline), XtRImmediate, (XtPointer) -1}, ^ SmeBSB.c:126:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "SmeBSB", ^ In file included from SmeBSB.c:46:0: SmeBSB.c: In function 'ClassInitialize': /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ SmeBSB.c:190:21: note: in expansion of macro 'XtRString' XtAddConverter( XtRString, XtRJustify, XmuCvtStringToJustify, ^ /usr/local/include/X11/StringDefs.h:846:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRJustify ((char*)&XtStrings[1722]) ^ SmeBSB.c:190:32: note: in expansion of macro 'XtRJustify' XtAddConverter( XtRString, XtRJustify, XmuCvtStringToJustify, ^ --- Layout.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Layout.lo -MD -MP -MF .deps/Layout.Tpo -c Layout.c -o Layout.o >/dev/null 2>&1 --- SmeBSB.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT SmeBSB.lo -MD -MP -MF .deps/SmeBSB.Tpo -c SmeBSB.c -o SmeBSB.o >/dev/null 2>&1 mv -f .deps/SmeBSB.Tpo .deps/SmeBSB.Plo --- Sme.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Sme.lo -MD -MP -MF .deps/Sme.Tpo -c -o Sme.lo Sme.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Sme.lo -MD -MP -MF .deps/Sme.Tpo -c Sme.c -fPIC -DPIC -o .libs/Sme.o In file included from Sme.c:42: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]) ^ Sme.c:49:4: note: in expansion of macro 'XtNcallback' {XtNcallback, XtCCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:594:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCCallback ((char*)&XtStrings[952]) ^ Sme.c:49:17: note: in expansion of macro 'XtCCallback' {XtNcallback, XtCCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:789:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCallback ((char*)&XtStrings[1569]) ^ Sme.c:49:30: note: in expansion of macro 'XtRCallback' {XtNcallback, XtCCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:789:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCallback ((char*)&XtStrings[1569]) ^ Sme.c:50:25: note: in expansion of macro 'XtRCallback' offset(callbacks), XtRCallback, (XtPointer)NULL}, ^ In file included from ../include/X11/Xaw3dxft/SmeP.h:49:0, from Sme.c:44: ../include/X11/Xaw3dxft/Sme.h:70:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNinternational "international" ^ Sme.c:52:4: note: in expansion of macro 'XtNinternational' {XtNinternational, XtCInternational, XtRBoolean, sizeof(Boolean), ^ ../include/X11/Xaw3dxft/Sme.h:67:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCInternational "International" ^ Sme.c:52:22: note: in expansion of macro 'XtCInternational' {XtNinternational, XtCInternational, XtRBoolean, sizeof(Boolean), ^ In file included from Sme.c:42: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]) ^ Sme.c:52:40: note: in expansion of macro 'XtRBoolean' {XtNinternational, XtCInternational, 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]) ^ Sme.c:53:29: note: in expansion of macro 'XtRImmediate' offset(international), XtRImmediate, (XtPointer) FALSE}, ^ Sme.c:74:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "Sme", ^ In file included from Sme.c:42:0: Sme.c: In function 'Notify': /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ Sme.c:206:24: note: in expansion of macro 'XtNcallback' XtCallCallbacks(w, XtNcallback, (XtPointer)NULL); ^ libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Sme.lo -MD -MP -MF .deps/Sme.Tpo -c Sme.c -o Sme.o >/dev/null 2>&1 --- Scrollbar.lo --- mv -f .deps/Scrollbar.Tpo .deps/Scrollbar.Plo --- SmeLine.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT SmeLine.lo -MD -MP -MF .deps/SmeLine.Tpo -c -o SmeLine.lo SmeLine.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT SmeLine.lo -MD -MP -MF .deps/SmeLine.Tpo -c SmeLine.c -fPIC -DPIC -o .libs/SmeLine.o --- Sme.lo --- mv -f .deps/Sme.Tpo .deps/Sme.Plo --- SmeThreeD.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT SmeThreeD.lo -MD -MP -MF .deps/SmeThreeD.Tpo -c -o SmeThreeD.lo SmeThreeD.c --- SmeLine.lo --- In file included from ../include/X11/Xaw3dxft/SmeLineP.h:43:0, from SmeLine.c:48: ../include/X11/Xaw3dxft/SmeLine.h:69:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNlineWidth "lineWidth" ^ SmeLine.c:53:4: note: in expansion of macro 'XtNlineWidth' {XtNlineWidth, XtCLineWidth, XtRDimension, sizeof(Dimension), ^ ../include/X11/Xaw3dxft/SmeLine.h:66:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCLineWidth "LineWidth" ^ SmeLine.c:53:18: note: in expansion of macro 'XtCLineWidth' {XtNlineWidth, XtCLineWidth, XtRDimension, sizeof(Dimension), ^ In file included from SmeLine.c:43:0: /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ SmeLine.c:53:32: note: in expansion of macro 'XtRDimension' {XtNlineWidth, XtCLineWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ SmeLine.c:54:26: note: in expansion of macro 'XtRImmediate' offset(line_width), XtRImmediate, (XtPointer) 1}, ^ In file included from ../include/X11/Xaw3dxft/SmeLineP.h:43:0, from SmeLine.c:48: ../include/X11/Xaw3dxft/SmeLine.h:70:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNstipple "stipple" ^ SmeLine.c:55:4: note: in expansion of macro 'XtNstipple' {XtNstipple, XtCStipple, XtRBitmap, sizeof(Pixmap), ^ ../include/X11/Xaw3dxft/SmeLine.h:67:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCStipple "Stipple" ^ SmeLine.c:55:16: note: in expansion of macro 'XtCStipple' {XtNstipple, XtCStipple, XtRBitmap, sizeof(Pixmap), ^ In file included from SmeLine.c:43:0: /usr/local/include/X11/StringDefs.h:780:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBitmap ((char*)&XtStrings[1549]) ^ SmeLine.c:55:28: note: in expansion of macro 'XtRBitmap' {XtNstipple, XtCStipple, XtRBitmap, sizeof(Pixmap), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ SmeLine.c:56:23: note: in expansion of macro 'XtRImmediate' offset(stipple), XtRImmediate, (XtPointer) XtUnspecifiedPixmap}, ^ /usr/local/include/X11/StringDefs.h:378:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNforeground ((char*)&XtStrings[214]) ^ SmeLine.c:57:4: note: in expansion of macro 'XtNforeground' {XtNforeground, XtCForeground, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:621:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCForeground ((char*)&XtStrings[1022]) ^ SmeLine.c:57:19: note: in expansion of macro 'XtCForeground' {XtNforeground, 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]) ^ SmeLine.c:57:34: note: in expansion of macro 'XtRPixel' {XtNforeground, XtCForeground, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ SmeLine.c:58:26: note: in expansion of macro 'XtRString' offset(foreground), XtRString, XtDefaultForeground}, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from SmeLine.c:42: /usr/local/include/X11/Intrinsic.h:1655:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtDefaultForeground "XtDefaultForeground" ^ SmeLine.c:58:37: note: in expansion of macro 'XtDefaultForeground' offset(foreground), XtRString, XtDefaultForeground}, ^ SmeLine.c:79:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "SmeLine", ^ --- SmeThreeD.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT SmeThreeD.lo -MD -MP -MF .deps/SmeThreeD.Tpo -c SmeThreeD.c -fPIC -DPIC -o .libs/SmeThreeD.o --- SmeLine.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT SmeLine.lo -MD -MP -MF .deps/SmeLine.Tpo -c SmeLine.c -o SmeLine.o >/dev/null 2>&1 --- SmeThreeD.lo --- In file included from ../include/X11/Xaw3dxft/SmeThreeDP.h:29:0, from SmeThreeD.c:36: ../include/X11/Xaw3dxft/SmeThreeD.h:52:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNshadowWidth "shadowWidth" ^ SmeThreeD.c:51:6: note: in expansion of macro 'XtNshadowWidth' {XtNshadowWidth, XtCShadowWidth, XtRDimension, sizeof(Dimension), ^ ../include/X11/Xaw3dxft/SmeThreeD.h:53:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCShadowWidth "ShadowWidth" ^ SmeThreeD.c:51:22: note: in expansion of macro 'XtCShadowWidth' {XtNshadowWidth, XtCShadowWidth, XtRDimension, sizeof(Dimension), ^ In file included from SmeThreeD.c:31:0: /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ SmeThreeD.c:51:38: note: in expansion of macro 'XtRDimension' {XtNshadowWidth, XtCShadowWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ SmeThreeD.c:52:35: note: in expansion of macro 'XtRImmediate' offset(sme_threeD.shadow_width), XtRImmediate, (XtPointer) 2}, ^ In file included from ../include/X11/Xaw3dxft/SmeThreeDP.h:29:0, from SmeThreeD.c:36: ../include/X11/Xaw3dxft/SmeThreeD.h:54:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNtopShadowPixel "topShadowPixel" ^ SmeThreeD.c:53:6: note: in expansion of macro 'XtNtopShadowPixel' {XtNtopShadowPixel, XtCTopShadowPixel, XtRPixel, sizeof(Pixel), ^ ../include/X11/Xaw3dxft/SmeThreeD.h:55:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCTopShadowPixel "TopShadowPixel" ^ SmeThreeD.c:53:25: note: in expansion of macro 'XtCTopShadowPixel' {XtNtopShadowPixel, XtCTopShadowPixel, XtRPixel, sizeof(Pixel), ^ In file included from SmeThreeD.c:31:0: /usr/local/include/X11/StringDefs.h:858:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPixel ((char*)&XtStrings[1754]) ^ SmeThreeD.c:53:44: note: in expansion of macro 'XtRPixel' {XtNtopShadowPixel, XtCTopShadowPixel, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ SmeThreeD.c:54:39: note: in expansion of macro 'XtRString' offset(sme_threeD.top_shadow_pixel), XtRString, XtDefaultForeground}, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from SmeThreeD.c:29: /usr/local/include/X11/Intrinsic.h:1655:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtDefaultForeground "XtDefaultForeground" ^ SmeThreeD.c:54:50: note: in expansion of macro 'XtDefaultForeground' offset(sme_threeD.top_shadow_pixel), XtRString, XtDefaultForeground}, ^ In file included from ../include/X11/Xaw3dxft/SmeThreeDP.h:29:0, from SmeThreeD.c:36: ../include/X11/Xaw3dxft/SmeThreeD.h:56:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbottomShadowPixel "bottomShadowPixel" ^ SmeThreeD.c:55:6: note: in expansion of macro 'XtNbottomShadowPixel' {XtNbottomShadowPixel, XtCBottomShadowPixel, XtRPixel, sizeof(Pixel), ^ ../include/X11/Xaw3dxft/SmeThreeD.h:57:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCBottomShadowPixel "BottomShadowPixel" ^ SmeThreeD.c:55:28: note: in expansion of macro 'XtCBottomShadowPixel' {XtNbottomShadowPixel, XtCBottomShadowPixel, XtRPixel, sizeof(Pixel), ^ In file included from SmeThreeD.c:31:0: /usr/local/include/X11/StringDefs.h:858:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPixel ((char*)&XtStrings[1754]) ^ SmeThreeD.c:55:50: note: in expansion of macro 'XtRPixel' {XtNbottomShadowPixel, XtCBottomShadowPixel, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ SmeThreeD.c:56:39: note: in expansion of macro 'XtRString' offset(sme_threeD.bot_shadow_pixel), XtRString, XtDefaultForeground}, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from SmeThreeD.c:29: /usr/local/include/X11/Intrinsic.h:1655:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtDefaultForeground "XtDefaultForeground" ^ SmeThreeD.c:56:50: note: in expansion of macro 'XtDefaultForeground' offset(sme_threeD.bot_shadow_pixel), XtRString, XtDefaultForeground}, ^ SmeThreeD.c:41:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNtopShadowPixmap "topShadowPixmap" ^ SmeThreeD.c:57:6: note: in expansion of macro 'XtNtopShadowPixmap' {XtNtopShadowPixmap, XtCTopShadowPixmap, XtRPixmap, sizeof(Pixmap), ^ SmeThreeD.c:42:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCTopShadowPixmap "TopShadowPixmap" ^ SmeThreeD.c:57:26: note: in expansion of macro 'XtCTopShadowPixmap' {XtNtopShadowPixmap, XtCTopShadowPixmap, XtRPixmap, sizeof(Pixmap), ^ In file included from SmeThreeD.c:31:0: /usr/local/include/X11/StringDefs.h:861:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPixmap ((char*)&XtStrings[1760]) ^ SmeThreeD.c:57:46: note: in expansion of macro 'XtRPixmap' {XtNtopShadowPixmap, XtCTopShadowPixmap, XtRPixmap, sizeof(Pixmap), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ SmeThreeD.c:58:39: note: in expansion of macro 'XtRImmediate' offset(sme_threeD.top_shadow_pxmap), XtRImmediate, (XtPointer) NULL}, ^ SmeThreeD.c:43:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbottomShadowPixmap "bottomShadowPixmap" ^ SmeThreeD.c:59:6: note: in expansion of macro 'XtNbottomShadowPixmap' {XtNbottomShadowPixmap, XtCBottomShadowPixmap, XtRPixmap, sizeof(Pixmap), ^ SmeThreeD.c:44:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCBottomShadowPixmap "BottomShadowPixmap" ^ SmeThreeD.c:59:29: note: in expansion of macro 'XtCBottomShadowPixmap' {XtNbottomShadowPixmap, XtCBottomShadowPixmap, XtRPixmap, sizeof(Pixmap), ^ In file included from SmeThreeD.c:31:0: /usr/local/include/X11/StringDefs.h:861:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPixmap ((char*)&XtStrings[1760]) ^ SmeThreeD.c:59:52: note: in expansion of macro 'XtRPixmap' {XtNbottomShadowPixmap, XtCBottomShadowPixmap, XtRPixmap, sizeof(Pixmap), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ SmeThreeD.c:60:39: note: in expansion of macro 'XtRImmediate' offset(sme_threeD.bot_shadow_pxmap), XtRImmediate, (XtPointer) NULL}, ^ In file included from ../include/X11/Xaw3dxft/SmeThreeDP.h:29:0, from SmeThreeD.c:36: ../include/X11/Xaw3dxft/SmeThreeD.h:58:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNtopShadowContrast "topShadowContrast" ^ SmeThreeD.c:61:6: note: in expansion of macro 'XtNtopShadowContrast' {XtNtopShadowContrast, XtCTopShadowContrast, XtRInt, sizeof(int), ^ ../include/X11/Xaw3dxft/SmeThreeD.h:59:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCTopShadowContrast "TopShadowContrast" ^ SmeThreeD.c:61:28: note: in expansion of macro 'XtCTopShadowContrast' {XtNtopShadowContrast, XtCTopShadowContrast, XtRInt, sizeof(int), ^ In file included from SmeThreeD.c:31: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]) ^ SmeThreeD.c:61:50: note: in expansion of macro 'XtRInt' {XtNtopShadowContrast, XtCTopShadowContrast, 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]) ^ SmeThreeD.c:62:42: note: in expansion of macro 'XtRImmediate' offset(sme_threeD.top_shadow_contrast), XtRImmediate, (XtPointer) 20}, ^ In file included from ../include/X11/Xaw3dxft/SmeThreeDP.h:29:0, from SmeThreeD.c:36: ../include/X11/Xaw3dxft/SmeThreeD.h:60:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbottomShadowContrast "bottomShadowContrast" ^ SmeThreeD.c:63:6: note: in expansion of macro 'XtNbottomShadowContrast' {XtNbottomShadowContrast, XtCBottomShadowContrast, XtRInt, sizeof(int), ^ ../include/X11/Xaw3dxft/SmeThreeD.h:61:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCBottomShadowContrast "BottomShadowContrast" ^ SmeThreeD.c:63:31: note: in expansion of macro 'XtCBottomShadowContrast' {XtNbottomShadowContrast, XtCBottomShadowContrast, XtRInt, sizeof(int), ^ In file included from SmeThreeD.c:31: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]) ^ SmeThreeD.c:63:56: note: in expansion of macro 'XtRInt' {XtNbottomShadowContrast, XtCBottomShadowContrast, 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]) ^ SmeThreeD.c:64:42: note: in expansion of macro 'XtRImmediate' offset(sme_threeD.bot_shadow_contrast), XtRImmediate, (XtPointer) 40}, ^ In file included from ../include/X11/Xaw3dxft/SmeThreeDP.h:29:0, from SmeThreeD.c:36: ../include/X11/Xaw3dxft/SmeThreeD.h:66:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNuserData "userData" ^ SmeThreeD.c:65:6: note: in expansion of macro 'XtNuserData' {XtNuserData, XtCUserData, XtRPointer, sizeof(XtPointer), ^ ../include/X11/Xaw3dxft/SmeThreeD.h:67:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCUserData "UserData" ^ SmeThreeD.c:65:19: note: in expansion of macro 'XtCUserData' {XtNuserData, XtCUserData, XtRPointer, sizeof(XtPointer), ^ In file included from SmeThreeD.c:31:0: /usr/local/include/X11/StringDefs.h:864:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPointer ((char*)&XtStrings[1767]) ^ SmeThreeD.c:65:32: note: in expansion of macro 'XtRPointer' {XtNuserData, XtCUserData, XtRPointer, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:864:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPointer ((char*)&XtStrings[1767]) ^ SmeThreeD.c:66:32: note: in expansion of macro 'XtRPointer' offset(sme_threeD.user_data), XtRPointer, (XtPointer) NULL}, ^ In file included from ../include/X11/Xaw3dxft/SmeThreeDP.h:29:0, from SmeThreeD.c:36: ../include/X11/Xaw3dxft/SmeThreeD.h:62:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbeNiceToColormap "beNiceToColormap" ^ SmeThreeD.c:67:6: note: in expansion of macro 'XtNbeNiceToColormap' {XtNbeNiceToColormap, XtCBeNiceToColormap, XtRBoolean, sizeof(Boolean), ^ ../include/X11/Xaw3dxft/SmeThreeD.h:63:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCBeNiceToColormap "BeNiceToColormap" ^ SmeThreeD.c:67:27: note: in expansion of macro 'XtCBeNiceToColormap' {XtNbeNiceToColormap, XtCBeNiceToColormap, XtRBoolean, sizeof(Boolean), ^ In file included from SmeThreeD.c:31: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]) ^ SmeThreeD.c:67:48: note: in expansion of macro 'XtRBoolean' {XtNbeNiceToColormap, XtCBeNiceToColormap, 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]) ^ SmeThreeD.c:68:38: note: in expansion of macro 'XtRImmediate' offset(sme_threeD.be_nice_to_cmap), XtRImmediate, (XtPointer) True}, ^ SmeThreeD.c:45:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNshadowed "shadowed" ^ SmeThreeD.c:69:6: note: in expansion of macro 'XtNshadowed' {XtNshadowed, XtCShadowed, XtRBoolean, sizeof(Boolean), ^ SmeThreeD.c:46:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCShadowed "Shadowed" ^ SmeThreeD.c:69:19: note: in expansion of macro 'XtCShadowed' {XtNshadowed, XtCShadowed, XtRBoolean, sizeof(Boolean), ^ In file included from SmeThreeD.c:31: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]) ^ SmeThreeD.c:69:32: note: in expansion of macro 'XtRBoolean' {XtNshadowed, XtCShadowed, 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]) ^ SmeThreeD.c:70:31: note: in expansion of macro 'XtRImmediate' offset(sme_threeD.shadowed), XtRImmediate, (XtPointer) False}, ^ /usr/local/include/X11/StringDefs.h:348:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNborderWidth ((char*)&XtStrings[124]) ^ SmeThreeD.c:71:6: note: in expansion of macro 'XtNborderWidth' {XtNborderWidth, XtCBorderWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:591:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCBorderWidth ((char*)&XtStrings[940]) ^ SmeThreeD.c:71:22: note: in expansion of macro 'XtCBorderWidth' {XtNborderWidth, XtCBorderWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ SmeThreeD.c:71:38: note: in expansion of macro 'XtRDimension' {XtNborderWidth, XtCBorderWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ SmeThreeD.c:72:49: note: in expansion of macro 'XtRImmediate' XtOffsetOf(RectObjRec,rectangle.border_width), XtRImmediate, ^ SmeThreeD.c:87:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "SmeThreeD", ^ --- Paned.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Paned.lo -MD -MP -MF .deps/Paned.Tpo -c Paned.c -o Paned.o >/dev/null 2>&1 --- SmeLine.lo --- mv -f .deps/SmeLine.Tpo .deps/SmeLine.Plo --- StripChart.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT StripChart.lo -MD -MP -MF .deps/StripChart.Tpo -c -o StripChart.lo StripChart.c --- SmeThreeD.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT SmeThreeD.lo -MD -MP -MF .deps/SmeThreeD.Tpo -c SmeThreeD.c -o SmeThreeD.o >/dev/null 2>&1 --- StripChart.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT StripChart.lo -MD -MP -MF .deps/StripChart.Tpo -c StripChart.c -fPIC -DPIC -o .libs/StripChart.o In file included from StripChart.c:54:0: /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ StripChart.c:66:6: note: in expansion of macro 'XtNwidth' {XtNwidth, XtCWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:762:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCWidth ((char*)&XtStrings[1510]) ^ StripChart.c:66:16: note: in expansion of macro 'XtCWidth' {XtNwidth, XtCWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ StripChart.c:66:26: note: in expansion of macro 'XtRDimension' {XtNwidth, XtCWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ StripChart.c:67:22: note: in expansion of macro 'XtRImmediate' offset(core.width), XtRImmediate, (XtPointer) 120}, ^ /usr/local/include/X11/StringDefs.h:384:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNheight ((char*)&XtStrings[234]) ^ StripChart.c:68:6: note: in expansion of macro 'XtNheight' {XtNheight, XtCHeight, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:630:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCHeight ((char*)&XtStrings[1051]) ^ StripChart.c:68:17: note: in expansion of macro 'XtCHeight' {XtNheight, XtCHeight, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ StripChart.c:68:28: note: in expansion of macro 'XtRDimension' {XtNheight, XtCHeight, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ StripChart.c:69:23: note: in expansion of macro 'XtRImmediate' offset(core.height), XtRImmediate, (XtPointer) 120}, ^ /usr/local/include/X11/StringDefs.h:549:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNupdate ((char*)&XtStrings[833]) ^ StripChart.c:70:6: note: in expansion of macro 'XtNupdate' {XtNupdate, XtCInterval, XtRInt, sizeof(int), ^ /usr/local/include/X11/StringDefs.h:645:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCInterval ((char*)&XtStrings[1113]) ^ StripChart.c:70:17: note: in expansion of macro 'XtCInterval' {XtNupdate, XtCInterval, XtRInt, sizeof(int), ^ /usr/local/include/X11/StringDefs.h:843:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRInt ((char*)&XtStrings[1718]) ^ StripChart.c:70:30: note: in expansion of macro 'XtRInt' {XtNupdate, XtCInterval, 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]) ^ StripChart.c:71:37: note: in expansion of macro 'XtRImmediate' offset(strip_chart.update), XtRImmediate, (XtPointer) 10}, ^ In file included from ../include/X11/Xaw3dxft/StripCharP.h:52:0, from StripChart.c:56: ../include/X11/Xaw3dxft/StripChart.h:106:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNminScale "minScale" ^ StripChart.c:72:6: note: in expansion of macro 'XtNminScale' {XtNminScale, XtCScale, XtRInt, sizeof(int), ^ ../include/X11/Xaw3dxft/StripChart.h:102:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCScale "Scale" ^ StripChart.c:72:19: note: in expansion of macro 'XtCScale' {XtNminScale, XtCScale, XtRInt, sizeof(int), ^ In file included from StripChart.c:54: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]) ^ StripChart.c:72:29: note: in expansion of macro 'XtRInt' {XtNminScale, XtCScale, 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]) ^ StripChart.c:73:40: note: in expansion of macro 'XtRImmediate' offset(strip_chart.min_scale), XtRImmediate, (XtPointer) 1}, ^ /usr/local/include/X11/StringDefs.h:378:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNforeground ((char*)&XtStrings[214]) ^ StripChart.c:74:6: note: in expansion of macro 'XtNforeground' {XtNforeground, XtCForeground, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:621:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCForeground ((char*)&XtStrings[1022]) ^ StripChart.c:74:21: note: in expansion of macro 'XtCForeground' {XtNforeground, 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]) ^ StripChart.c:74:36: note: in expansion of macro 'XtRPixel' {XtNforeground, XtCForeground, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ StripChart.c:75:38: note: in expansion of macro 'XtRString' offset(strip_chart.fgpixel), XtRString, XtDefaultForeground}, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from StripChart.c:53: /usr/local/include/X11/Intrinsic.h:1655:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtDefaultForeground "XtDefaultForeground" ^ StripChart.c:75:49: note: in expansion of macro 'XtDefaultForeground' offset(strip_chart.fgpixel), XtRString, XtDefaultForeground}, ^ In file included from StripChart.c:54:0: /usr/local/include/X11/StringDefs.h:387:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNhighlight ((char*)&XtStrings[241]) ^ StripChart.c:76:6: note: in expansion of macro 'XtNhighlight' {XtNhighlight, XtCForeground, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:621:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCForeground ((char*)&XtStrings[1022]) ^ StripChart.c:76:20: note: in expansion of macro 'XtCForeground' {XtNhighlight, 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]) ^ StripChart.c:76:35: note: in expansion of macro 'XtRPixel' {XtNhighlight, XtCForeground, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ StripChart.c:77:38: note: in expansion of macro 'XtRString' offset(strip_chart.hipixel), XtRString, XtDefaultForeground}, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from StripChart.c:53: /usr/local/include/X11/Intrinsic.h:1655:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtDefaultForeground "XtDefaultForeground" ^ StripChart.c:77:49: note: in expansion of macro 'XtDefaultForeground' offset(strip_chart.hipixel), XtRString, XtDefaultForeground}, ^ In file included from ../include/X11/Xaw3dxft/StripCharP.h:52:0, from StripChart.c:56: ../include/X11/Xaw3dxft/StripChart.h:104:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNgetValue "getValue" ^ StripChart.c:78:6: note: in expansion of macro 'XtNgetValue' {XtNgetValue, XtCCallback, XtRCallback, sizeof(XtPointer), ^ In file included from StripChart.c:54:0: /usr/local/include/X11/StringDefs.h:594:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCCallback ((char*)&XtStrings[952]) ^ StripChart.c:78:19: note: in expansion of macro 'XtCCallback' {XtNgetValue, XtCCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:789:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCallback ((char*)&XtStrings[1569]) ^ StripChart.c:78:32: note: in expansion of macro 'XtRCallback' {XtNgetValue, XtCCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ StripChart.c:79:40: note: in expansion of macro 'XtRImmediate' offset(strip_chart.get_value), XtRImmediate, (XtPointer) NULL}, ^ In file included from ../include/X11/Xaw3dxft/StripCharP.h:52:0, from StripChart.c:56: ../include/X11/Xaw3dxft/StripChart.h:105:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNjumpScroll "jumpScroll" ^ StripChart.c:80:6: note: in expansion of macro 'XtNjumpScroll' {XtNjumpScroll, XtCJumpScroll, XtRInt, sizeof(int), ^ ../include/X11/Xaw3dxft/StripChart.h:101:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCJumpScroll "JumpScroll" ^ StripChart.c:80:21: note: in expansion of macro 'XtCJumpScroll' {XtNjumpScroll, XtCJumpScroll, XtRInt, sizeof(int), ^ In file included from StripChart.c:54: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]) ^ StripChart.c:80:36: note: in expansion of macro 'XtRInt' {XtNjumpScroll, XtCJumpScroll, 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]) ^ StripChart.c:81:39: note: in expansion of macro 'XtRImmediate' offset(strip_chart.jump_val), XtRImmediate, (XtPointer) DEFAULT_JUMP}, ^ StripChart.c:97:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "StripChart", ^ --- SmeThreeD.lo --- mv -f .deps/SmeThreeD.Tpo .deps/SmeThreeD.Plo --- TextAction.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT TextAction.lo -MD -MP -MF .deps/TextAction.Tpo -c -o TextAction.lo TextAction.c --- StripChart.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT StripChart.lo -MD -MP -MF .deps/StripChart.Tpo -c StripChart.c -o StripChart.o >/dev/null 2>&1 --- TextAction.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT TextAction.lo -MD -MP -MF .deps/TextAction.Tpo -c TextAction.c -fPIC -DPIC -o .libs/TextAction.o TextAction.c:66:13: warning: redundant redeclaration of '_XawTextSearch' [-Wredundant-decls] extern void _XawTextSearch(Widget, XEvent *, String *, Cardinal *); ^ TextAction.c:65:13: note: previous declaration of '_XawTextSearch' was here extern void _XawTextSearch(Widget, XEvent *, String *, Cardinal *); ^ TextAction.c: In function '_SelectionReceived': TextAction.c:272:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] textprop.value = (unsigned char *) " >> ILLEGAL SELECTION << "; ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from TextAction.c:31: TextAction.c: In function 'ConvertSelection': /usr/local/include/X11/StringDefs.h:366:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNeditType ((char*)&XtStrings[185]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ TextAction.c:624:23: note: in expansion of macro 'XtNeditType' XtSetArg(args[0], XtNeditType,&edit_mode); ^ TextAction.c: In function '_DeleteOrKill': TextAction.c:874:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] text.ptr = ""; /* These two lines needed to make legal TextBlock */ ^ TextAction.c: In function 'AutoFill': TextAction.c:1395:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] text.ptr = "\n"; ^ In file included from TextAction.c:33:0: TextAction.c: In function 'DisplayCaret': /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ TextAction.c:1650:21: note: in expansion of macro 'XtRString' XtConvert( w, XtRString, &from, XtRBoolean, &to ); ^ /usr/local/include/X11/StringDefs.h:786:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((char*)&XtStrings[1561]) ^ TextAction.c:1650:39: note: in expansion of macro 'XtRBoolean' XtConvert( w, XtRString, &from, XtRBoolean, &to ); ^ TextAction.c: In function 'StripOutOldCRs': TextAction.c:1726:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] text.ptr= " "; ^ TextAction.c: In function 'InsertNewCRs': TextAction.c:1824:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] text.ptr = "\n"; ^ TextAction.c: At top level: TextAction.c:2046:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"forward-character", MoveForwardChar}, ^ TextAction.c:2047:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"backward-character", MoveBackwardChar}, ^ TextAction.c:2048:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"forward-word", MoveForwardWord}, ^ TextAction.c:2049:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"backward-word", MoveBackwardWord}, ^ TextAction.c:2050:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"forward-paragraph", MoveForwardParagraph}, ^ TextAction.c:2051:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"backward-paragraph", MoveBackwardParagraph}, ^ TextAction.c:2052:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"beginning-of-line", MoveToLineStart}, ^ TextAction.c:2053:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"end-of-line", MoveToLineEnd}, ^ TextAction.c:2054:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"next-line", MoveNextLine}, ^ TextAction.c:2055:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"previous-line", MovePreviousLine}, ^ TextAction.c:2056:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"next-page", MoveNextPage}, ^ TextAction.c:2057:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"previous-page", MovePreviousPage}, ^ TextAction.c:2058:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"beginning-of-file", MoveBeginningOfFile}, ^ TextAction.c:2059:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"end-of-file", MoveEndOfFile}, ^ TextAction.c:2060:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"scroll-one-line-up", ScrollOneLineUp}, ^ TextAction.c:2061:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"scroll-one-line-down", ScrollOneLineDown}, ^ TextAction.c:2065:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"delete-next-character", DeleteForwardChar}, ^ TextAction.c:2066:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"delete-previous-character", DeleteBackwardChar}, ^ TextAction.c:2067:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"delete-next-word", DeleteForwardWord}, ^ TextAction.c:2068:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"delete-previous-word", DeleteBackwardWord}, ^ TextAction.c:2069:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"delete-selection", DeleteCurrentSelection}, ^ TextAction.c:2073:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"kill-word", KillForwardWord}, ^ TextAction.c:2074:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"backward-kill-word", KillBackwardWord}, ^ TextAction.c:2075:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"kill-selection", KillCurrentSelection}, ^ TextAction.c:2076:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"kill-to-end-of-line", KillToEndOfLine}, ^ TextAction.c:2077:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"kill-to-end-of-paragraph", KillToEndOfParagraph}, ^ TextAction.c:2081:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"newline-and-indent", InsertNewLineAndIndent}, ^ TextAction.c:2082:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"newline-and-backup", InsertNewLineAndBackup}, ^ TextAction.c:2083:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"newline", InsertNewLine}, ^ TextAction.c:2087:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"select-word", SelectWord}, ^ TextAction.c:2088:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"select-all", SelectAll}, ^ TextAction.c:2089:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"select-start", SelectStart}, ^ TextAction.c:2090:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"select-adjust", SelectAdjust}, ^ TextAction.c:2091:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"select-end", SelectEnd}, ^ TextAction.c:2092:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"select-save", SelectSave}, ^ TextAction.c:2093:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"extend-start", ExtendStart}, ^ TextAction.c:2094:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"extend-adjust", ExtendAdjust}, ^ TextAction.c:2095:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"extend-end", ExtendEnd}, ^ TextAction.c:2096:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"insert-selection", InsertSelection}, ^ TextAction.c:2100:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"redraw-display", RedrawDisplay}, ^ TextAction.c:2101:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"insert-file", _XawTextInsertFile}, ^ TextAction.c:2102:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"search", _XawTextSearch}, ^ TextAction.c:2103:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"insert-char", InsertChar}, ^ TextAction.c:2104:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"insert-string", InsertString}, ^ TextAction.c:2105:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"focus-in", TextFocusIn}, ^ TextAction.c:2106:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"focus-out", TextFocusOut}, ^ TextAction.c:2107:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"enter-window", TextEnterWindow}, ^ TextAction.c:2108:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"leave-window", TextLeaveWindow}, ^ TextAction.c:2109:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"display-caret", DisplayCaret}, ^ TextAction.c:2110:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"multiply", Multiply}, ^ TextAction.c:2111:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"form-paragraph", FormParagraph}, ^ TextAction.c:2112:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"transpose-characters", TransposeCharacters}, ^ TextAction.c:2113:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"no-op", NoOp}, ^ TextAction.c:2117:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"InsertFileAction", _XawTextInsertFileAction}, ^ TextAction.c:2118:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"DoSearchAction", _XawTextDoSearchAction}, ^ TextAction.c:2119:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"DoReplaceAction", _XawTextDoReplaceAction}, ^ TextAction.c:2120:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"SetField", _XawTextSetField}, ^ TextAction.c:2121:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"PopdownSearchAction", _XawTextPopdownSearchAction}, ^ TextAction.c:2125:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"reconnect-im", Reconnect} /* Li Yuhong, Omron KK, 1991 */ ^ --- StripChart.lo --- mv -f .deps/StripChart.Tpo .deps/StripChart.Plo --- Text.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Text.lo -MD -MP -MF .deps/Text.Tpo -c -o Text.lo Text.c --- SimpleMenu.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT SimpleMenu.lo -MD -MP -MF .deps/SimpleMenu.Tpo -c SimpleMenu.c -o SimpleMenu.o >/dev/null 2>&1 --- Text.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Text.lo -MD -MP -MF .deps/Text.Tpo -c Text.c -fPIC -DPIC -o .libs/Text.o --- Layout.lo --- mv -f .deps/Layout.Tpo .deps/Layout.Plo --- TextPop.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT TextPop.lo -MD -MP -MF .deps/TextPop.Tpo -c -o TextPop.lo TextPop.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT TextPop.lo -MD -MP -MF .deps/TextPop.Tpo -c TextPop.c -fPIC -DPIC -o .libs/TextPop.o --- Text.lo --- In file included from ../include/X11/Xaw3dxft/Xaw3dXft.h:53:0, from ../include/X11/Xaw3dxft/TextP.h:54, from Text.c:72: ../include/X11/Xaw3dxft/XawInit.h:28:13: warning: redundant redeclaration of 'XawInitializeWidgetSet' [-Wredundant-decls] extern void XawInitializeWidgetSet(void); /* called from ClassInit procs */ ^ In file included from Text.c:69:0: ../include/X11/Xaw3dxft/XawInit.h:28:13: note: previous declaration of 'XawInitializeWidgetSet' was here extern void XawInitializeWidgetSet(void); /* called from ClassInit procs */ ^ In file included from Text.c:54:0: /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ Text.c:178:4: note: in expansion of macro 'XtNwidth' {XtNwidth, XtCWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:762:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCWidth ((char*)&XtStrings[1510]) ^ Text.c:178:14: note: in expansion of macro 'XtCWidth' {XtNwidth, XtCWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Text.c:178:24: note: in expansion of macro 'XtRDimension' {XtNwidth, XtCWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Text.c:179:26: note: in expansion of macro 'XtRDimension' offset(core.width), XtRDimension, (XtPointer)&defWidth}, ^ In file included from ../include/X11/Xaw3dxft/Text.h:52:0, from ../include/X11/Xaw3dxft/TextP.h:52, from Text.c:72: ../include/X11/Xaw3dxft/Simple.h:83:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNcursor "cursor" ^ Text.c:180:4: note: in expansion of macro 'XtNcursor' {XtNcursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ In file included from Text.c:54:0: /usr/local/include/X11/StringDefs.h:603:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCCursor ((char*)&XtStrings[976]) ^ Text.c:180:15: note: in expansion of macro 'XtCCursor' {XtNcursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ /usr/local/include/X11/StringDefs.h:804:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCursor ((char*)&XtStrings[1611]) ^ Text.c:180:26: note: in expansion of macro 'XtRCursor' {XtNcursor, XtCCursor, XtRCursor, sizeof(Cursor), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Text.c:181:29: note: in expansion of macro 'XtRString' offset(simple.cursor), XtRString, "xterm"}, ^ Text.c:181:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] offset(simple.cursor), XtRString, "xterm"}, ^ In file included from Text.c:54:0: /usr/local/include/X11/StringDefs.h:384:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNheight ((char*)&XtStrings[234]) ^ Text.c:182:4: note: in expansion of macro 'XtNheight' {XtNheight, XtCHeight, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:630:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCHeight ((char*)&XtStrings[1051]) ^ Text.c:182:15: note: in expansion of macro 'XtCHeight' {XtNheight, XtCHeight, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Text.c:182:26: note: in expansion of macro 'XtRDimension' {XtNheight, XtCHeight, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Text.c:183:27: note: in expansion of macro 'XtRDimension' offset(core.height), XtRDimension, (XtPointer)&defHeight}, ^ In file included from ../include/X11/Xaw3dxft/TextP.h:52:0, from Text.c:72: ../include/X11/Xaw3dxft/Text.h:127:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNdisplayPosition "displayPosition" ^ Text.c:184:4: note: in expansion of macro 'XtNdisplayPosition' {XtNdisplayPosition, XtCTextPosition, XtRInt, sizeof(XawTextPosition), ^ In file included from Text.c:54:0: /usr/local/include/X11/StringDefs.h:738:26: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCTextPosition ((char*)&XtStrings[1435]) ^ Text.c:184:24: note: in expansion of macro 'XtCTextPosition' {XtNdisplayPosition, XtCTextPosition, XtRInt, sizeof(XawTextPosition), ^ /usr/local/include/X11/StringDefs.h:843:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRInt ((char*)&XtStrings[1718]) ^ Text.c:184:41: note: in expansion of macro 'XtRInt' {XtNdisplayPosition, XtCTextPosition, XtRInt, sizeof(XawTextPosition), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Text.c:185:27: note: in expansion of macro 'XtRImmediate' offset(text.lt.top), XtRImmediate, (XtPointer)0}, ^ /usr/local/include/X11/StringDefs.h:408:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNinsertPosition ((char*)&XtStrings[326]) ^ Text.c:186:4: note: in expansion of macro 'XtNinsertPosition' {XtNinsertPosition, XtCTextPosition, XtRInt, sizeof(XawTextPosition), ^ /usr/local/include/X11/StringDefs.h:738:26: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCTextPosition ((char*)&XtStrings[1435]) ^ Text.c:186:23: note: in expansion of macro 'XtCTextPosition' {XtNinsertPosition, XtCTextPosition, XtRInt, sizeof(XawTextPosition), ^ /usr/local/include/X11/StringDefs.h:843:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRInt ((char*)&XtStrings[1718]) ^ Text.c:186:40: note: in expansion of macro 'XtRInt' {XtNinsertPosition, XtCTextPosition, XtRInt, sizeof(XawTextPosition), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Text.c:187:30: note: in expansion of macro 'XtRImmediate' offset(text.insertPos), XtRImmediate,(XtPointer)0}, ^ In file included from ../include/X11/Xaw3dxft/TextP.h:52:0, from Text.c:72: ../include/X11/Xaw3dxft/Text.h:128:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNleftMargin "leftMargin" ^ Text.c:188:4: note: in expansion of macro 'XtNleftMargin' {XtNleftMargin, XtCMargin, XtRPosition, sizeof (Position), ^ In file included from Text.c:54:0: /usr/local/include/X11/StringDefs.h:666:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCMargin ((char*)&XtStrings[1182]) ^ Text.c:188:19: note: in expansion of macro 'XtCMargin' {XtNleftMargin, XtCMargin, XtRPosition, sizeof (Position), ^ /usr/local/include/X11/StringDefs.h:867:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPosition ((char*)&XtStrings[1775]) ^ Text.c:188:30: note: in expansion of macro 'XtRPosition' {XtNleftMargin, XtCMargin, XtRPosition, sizeof (Position), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Text.c:189:34: note: in expansion of macro 'XtRImmediate' offset(text.r_margin.left), XtRImmediate, (XtPointer)2}, ^ In file included from ../include/X11/Xaw3dxft/TextP.h:52:0, from Text.c:72: ../include/X11/Xaw3dxft/Text.h:129:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNrightMargin "rightMargin" ^ Text.c:190:4: note: in expansion of macro 'XtNrightMargin' {XtNrightMargin, XtCMargin, XtRPosition, sizeof (Position), ^ In file included from Text.c:54:0: /usr/local/include/X11/StringDefs.h:666:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCMargin ((char*)&XtStrings[1182]) ^ Text.c:190:20: note: in expansion of macro 'XtCMargin' {XtNrightMargin, XtCMargin, XtRPosition, sizeof (Position), ^ /usr/local/include/X11/StringDefs.h:867:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPosition ((char*)&XtStrings[1775]) ^ Text.c:190:31: note: in expansion of macro 'XtRPosition' {XtNrightMargin, XtCMargin, XtRPosition, sizeof (Position), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Text.c:191:35: note: in expansion of macro 'XtRImmediate' offset(text.r_margin.right), XtRImmediate, (XtPointer)4}, ^ In file included from ../include/X11/Xaw3dxft/TextP.h:52:0, from Text.c:72: ../include/X11/Xaw3dxft/Text.h:133:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNtopMargin "topMargin" ^ Text.c:192:4: note: in expansion of macro 'XtNtopMargin' {XtNtopMargin, XtCMargin, XtRPosition, sizeof (Position), ^ In file included from Text.c:54:0: /usr/local/include/X11/StringDefs.h:666:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCMargin ((char*)&XtStrings[1182]) ^ Text.c:192:18: note: in expansion of macro 'XtCMargin' {XtNtopMargin, XtCMargin, XtRPosition, sizeof (Position), ^ /usr/local/include/X11/StringDefs.h:867:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPosition ((char*)&XtStrings[1775]) ^ Text.c:192:29: note: in expansion of macro 'XtRPosition' {XtNtopMargin, XtCMargin, XtRPosition, sizeof (Position), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Text.c:193:33: note: in expansion of macro 'XtRImmediate' offset(text.r_margin.top), XtRImmediate, (XtPointer)2}, ^ In file included from ../include/X11/Xaw3dxft/TextP.h:52:0, from Text.c:72: ../include/X11/Xaw3dxft/Text.h:123:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbottomMargin "bottomMargin" ^ Text.c:194:4: note: in expansion of macro 'XtNbottomMargin' {XtNbottomMargin, XtCMargin, XtRPosition, sizeof (Position), ^ In file included from Text.c:54:0: /usr/local/include/X11/StringDefs.h:666:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCMargin ((char*)&XtStrings[1182]) ^ Text.c:194:21: note: in expansion of macro 'XtCMargin' {XtNbottomMargin, XtCMargin, XtRPosition, sizeof (Position), ^ /usr/local/include/X11/StringDefs.h:867:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPosition ((char*)&XtStrings[1775]) ^ Text.c:194:32: note: in expansion of macro 'XtRPosition' {XtNbottomMargin, XtCMargin, XtRPosition, sizeof (Position), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Text.c:195:36: note: in expansion of macro 'XtRImmediate' offset(text.r_margin.bottom), XtRImmediate, (XtPointer)2}, ^ In file included from ../include/X11/Xaw3dxft/TextP.h:52:0, from Text.c:72: ../include/X11/Xaw3dxft/Text.h:132:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNselectTypes "selectTypes" ^ Text.c:196:4: note: in expansion of macro 'XtNselectTypes' {XtNselectTypes, XtCSelectTypes, XtRPointer, ^ ../include/X11/Xaw3dxft/Text.h:138:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCSelectTypes "SelectTypes" ^ Text.c:196:20: note: in expansion of macro 'XtCSelectTypes' {XtNselectTypes, XtCSelectTypes, XtRPointer, ^ In file included from Text.c:54:0: /usr/local/include/X11/StringDefs.h:864:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPointer ((char*)&XtStrings[1767]) ^ Text.c:196:36: note: in expansion of macro 'XtRPointer' {XtNselectTypes, XtCSelectTypes, XtRPointer, ^ /usr/local/include/X11/StringDefs.h:864:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPointer ((char*)&XtStrings[1767]) ^ Text.c:198:6: note: in expansion of macro 'XtRPointer' XtRPointer, (XtPointer)&defaultSelectTypesPtr}, ^ /usr/local/include/X11/StringDefs.h:528:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNtextSource ((char*)&XtStrings[761]) ^ Text.c:199:4: note: in expansion of macro 'XtNtextSource' {XtNtextSource, XtCTextSource, XtRWidget, sizeof (Widget), ^ /usr/local/include/X11/StringDefs.h:744:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCTextSource ((char*)&XtStrings[1457]) ^ Text.c:199:19: note: in expansion of macro 'XtCTextSource' {XtNtextSource, XtCTextSource, XtRWidget, sizeof (Widget), ^ /usr/local/include/X11/StringDefs.h:894:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRWidget ((char*)&XtStrings[1865]) ^ Text.c:199:34: note: in expansion of macro 'XtRWidget' {XtNtextSource, XtCTextSource, XtRWidget, sizeof (Widget), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Text.c:200:27: note: in expansion of macro 'XtRImmediate' offset(text.source), XtRImmediate, NULL}, ^ /usr/local/include/X11/StringDefs.h:525:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNtextSink ((char*)&XtStrings[752]) ^ Text.c:201:4: note: in expansion of macro 'XtNtextSink' {XtNtextSink, XtCTextSink, XtRWidget, sizeof (Widget), ^ /usr/local/include/X11/StringDefs.h:741:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCTextSink ((char*)&XtStrings[1448]) ^ Text.c:201:17: note: in expansion of macro 'XtCTextSink' {XtNtextSink, XtCTextSink, XtRWidget, sizeof (Widget), ^ /usr/local/include/X11/StringDefs.h:894:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRWidget ((char*)&XtStrings[1865]) ^ Text.c:201:30: note: in expansion of macro 'XtRWidget' {XtNtextSink, XtCTextSink, XtRWidget, sizeof (Widget), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Text.c:202:25: note: in expansion of macro 'XtRImmediate' offset(text.sink), XtRImmediate, NULL}, ^ In file included from ../include/X11/Xaw3dxft/TextP.h:52:0, from Text.c:72: ../include/X11/Xaw3dxft/Text.h:126:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNdisplayCaret "displayCaret" ^ Text.c:203:4: note: in expansion of macro 'XtNdisplayCaret' {XtNdisplayCaret, XtCOutput, XtRBoolean, sizeof(Boolean), ^ In file included from ../include/X11/Xaw3dxft/MultiSinkP.h:89:0, from Text.c:75: ../include/X11/Xaw3dxft/MultiSink.h:94:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCOutput "Output" ^ Text.c:203:21: note: in expansion of macro 'XtCOutput' {XtNdisplayCaret, XtCOutput, XtRBoolean, sizeof(Boolean), ^ In file included from Text.c:54: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]) ^ Text.c:203:32: note: in expansion of macro 'XtRBoolean' {XtNdisplayCaret, XtCOutput, 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]) ^ Text.c:204:34: note: in expansion of macro 'XtRImmediate' offset(text.display_caret), XtRImmediate, (XtPointer)True}, ^ In file included from ../include/X11/Xaw3dxft/TextP.h:52:0, from Text.c:72: ../include/X11/Xaw3dxft/Text.h:130:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNscrollVertical "scrollVertical" ^ Text.c:205:4: note: in expansion of macro 'XtNscrollVertical' {XtNscrollVertical, XtCScroll, XtRScrollMode, sizeof(XawTextScrollMode), ^ ../include/X11/Xaw3dxft/Text.h:137:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCScroll "Scroll" ^ Text.c:205:23: note: in expansion of macro 'XtCScroll' {XtNscrollVertical, XtCScroll, XtRScrollMode, sizeof(XawTextScrollMode), ^ In file included from Text.c:72:0: ../include/X11/Xaw3dxft/TextP.h:227:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRScrollMode "ScrollMode" ^ Text.c:205:34: note: in expansion of macro 'XtRScrollMode' {XtNscrollVertical, XtCScroll, XtRScrollMode, sizeof(XawTextScrollMode), ^ In file included from Text.c:54:0: /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Text.c:206:32: note: in expansion of macro 'XtRImmediate' offset(text.scroll_vert), XtRImmediate, (XtPointer) XawtextScrollNever}, ^ In file included from ../include/X11/Xaw3dxft/TextP.h:52:0, from Text.c:72: ../include/X11/Xaw3dxft/Text.h:131:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNscrollHorizontal "scrollHorizontal" ^ Text.c:207:4: note: in expansion of macro 'XtNscrollHorizontal' {XtNscrollHorizontal, XtCScroll, XtRScrollMode, sizeof(XawTextScrollMode), ^ ../include/X11/Xaw3dxft/Text.h:137:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCScroll "Scroll" ^ Text.c:207:25: note: in expansion of macro 'XtCScroll' {XtNscrollHorizontal, XtCScroll, XtRScrollMode, sizeof(XawTextScrollMode), ^ In file included from Text.c:72:0: ../include/X11/Xaw3dxft/TextP.h:227:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRScrollMode "ScrollMode" ^ Text.c:207:36: note: in expansion of macro 'XtRScrollMode' {XtNscrollHorizontal, XtCScroll, XtRScrollMode, sizeof(XawTextScrollMode), ^ In file included from Text.c:54:0: /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Text.c:208:33: note: in expansion of macro 'XtRImmediate' offset(text.scroll_horiz), XtRImmediate, (XtPointer) XawtextScrollNever}, ^ In file included from ../include/X11/Xaw3dxft/TextP.h:52:0, from Text.c:72: ../include/X11/Xaw3dxft/Text.h:134:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNwrap "wrap" ^ Text.c:209:4: note: in expansion of macro 'XtNwrap' {XtNwrap, XtCWrap, XtRWrapMode, sizeof(XawTextWrapMode), ^ ../include/X11/Xaw3dxft/Text.h:139:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCWrap "Wrap" ^ Text.c:209:13: note: in expansion of macro 'XtCWrap' {XtNwrap, XtCWrap, XtRWrapMode, sizeof(XawTextWrapMode), ^ In file included from Text.c:72:0: ../include/X11/Xaw3dxft/TextP.h:228:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRWrapMode "WrapMode" ^ Text.c:209:22: note: in expansion of macro 'XtRWrapMode' {XtNwrap, XtCWrap, XtRWrapMode, sizeof(XawTextWrapMode), ^ In file included from Text.c:54:0: /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Text.c:210:25: note: in expansion of macro 'XtRImmediate' offset(text.wrap), XtRImmediate, (XtPointer) XawtextWrapNever}, ^ /usr/local/include/X11/StringDefs.h:474:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNresize ((char*)&XtStrings[564]) ^ Text.c:211:4: note: in expansion of macro 'XtNresize' {XtNresize, XtCResize, XtRResizeMode, sizeof(XawTextResizeMode), ^ /usr/local/include/X11/StringDefs.h:690:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCResize ((char*)&XtStrings[1253]) ^ Text.c:211:15: note: in expansion of macro 'XtCResize' {XtNresize, XtCResize, XtRResizeMode, sizeof(XawTextResizeMode), ^ In file included from Text.c:72:0: ../include/X11/Xaw3dxft/TextP.h:229:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRResizeMode "ResizeMode" ^ Text.c:211:26: note: in expansion of macro 'XtRResizeMode' {XtNresize, XtCResize, XtRResizeMode, sizeof(XawTextResizeMode), ^ In file included from Text.c:54:0: /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Text.c:212:27: note: in expansion of macro 'XtRImmediate' offset(text.resize), XtRImmediate, (XtPointer) XawtextResizeNever}, ^ In file included from ../include/X11/Xaw3dxft/TextP.h:52:0, from Text.c:72: ../include/X11/Xaw3dxft/Text.h:122:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNautoFill "autoFill" ^ Text.c:213:4: note: in expansion of macro 'XtNautoFill' {XtNautoFill, XtCAutoFill, XtRBoolean, sizeof(Boolean), ^ ../include/X11/Xaw3dxft/Text.h:136:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCAutoFill "AutoFill" ^ Text.c:213:17: note: in expansion of macro 'XtCAutoFill' {XtNautoFill, XtCAutoFill, XtRBoolean, sizeof(Boolean), ^ In file included from Text.c:54: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]) ^ Text.c:213:30: note: in expansion of macro 'XtRBoolean' {XtNautoFill, XtCAutoFill, 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]) ^ Text.c:214:30: note: in expansion of macro 'XtRImmediate' offset(text.auto_fill), XtRImmediate, (XtPointer) FALSE}, ^ /usr/local/include/X11/StringDefs.h:546:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNunrealizeCallback ((char*)&XtStrings[815]) ^ Text.c:215:4: note: in expansion of macro 'XtNunrealizeCallback' {XtNunrealizeCallback, XtCCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:594:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCCallback ((char*)&XtStrings[952]) ^ Text.c:215:26: note: in expansion of macro 'XtCCallback' {XtNunrealizeCallback, XtCCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:789:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCallback ((char*)&XtStrings[1569]) ^ Text.c:215:39: note: in expansion of macro 'XtRCallback' {XtNunrealizeCallback, XtCCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:789:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCallback ((char*)&XtStrings[1569]) ^ Text.c:216:40: note: in expansion of macro 'XtRCallback' offset(text.unrealize_callbacks), XtRCallback, (XtPointer) NULL} ^ Text.c: In function 'ClassInitialize': /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Text.c:367:18: note: in expansion of macro 'XtRString' XtAddConverter(XtRString, XtRScrollMode, CvtStringToScrollMode, ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Text.c:369:18: note: in expansion of macro 'XtRString' XtAddConverter(XtRString, XtRWrapMode, CvtStringToWrapMode, ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Text.c:371:18: note: in expansion of macro 'XtRString' XtAddConverter(XtRString, XtRResizeMode, CvtStringToResizeMode, ^ Text.c: In function 'CreateVScrollBar': /usr/local/include/X11/StringDefs.h:483:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNscrollProc ((char*)&XtStrings[591]) ^ Text.c:441:24: note: in expansion of macro 'XtNscrollProc' XtAddCallback( vbar, XtNscrollProc, VScroll, (XtPointer)ctx ); ^ /usr/local/include/X11/StringDefs.h:417:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNjumpProc ((char*)&XtStrings[370]) ^ Text.c:442:24: note: in expansion of macro 'XtNjumpProc' XtAddCallback( vbar, XtNjumpProc, VJump, (XtPointer)ctx ); ^ /usr/local/include/X11/StringDefs.h:546:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNunrealizeCallback ((char*)&XtStrings[815]) ^ Text.c:444:35: note: in expansion of macro 'XtNunrealizeCallback' XtAddCallback((Widget) ctx, XtNunrealizeCallback, UnrealizeScrollbars, ^ Text.c: In function 'DestroyVScrollBar': /usr/local/include/X11/StringDefs.h:546:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNunrealizeCallback ((char*)&XtStrings[815]) ^ Text.c:475:38: note: in expansion of macro 'XtNunrealizeCallback' XtRemoveCallback((Widget) ctx, XtNunrealizeCallback, UnrealizeScrollbars, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from Text.c:52: Text.c: In function 'CreateHScrollBar': /usr/local/include/X11/StringDefs.h:459:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNorientation ((char*)&XtStrings[505]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ Text.c:490:21: note: in expansion of macro 'XtNorientation' XtSetArg(args[0], XtNorientation, XtorientHorizontal); ^ In file included from Text.c:54:0: /usr/local/include/X11/StringDefs.h:483:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNscrollProc ((char*)&XtStrings[591]) ^ Text.c:494:24: note: in expansion of macro 'XtNscrollProc' XtAddCallback( hbar, XtNscrollProc, HScroll, (XtPointer)ctx ); ^ /usr/local/include/X11/StringDefs.h:417:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNjumpProc ((char*)&XtStrings[370]) ^ Text.c:495:24: note: in expansion of macro 'XtNjumpProc' XtAddCallback( hbar, XtNjumpProc, HJump, (XtPointer)ctx ); ^ /usr/local/include/X11/StringDefs.h:546:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNunrealizeCallback ((char*)&XtStrings[815]) ^ Text.c:497:35: note: in expansion of macro 'XtNunrealizeCallback' XtAddCallback((Widget) ctx, XtNunrealizeCallback, UnrealizeScrollbars, ^ Text.c: In function 'DestroyHScrollBar': /usr/local/include/X11/StringDefs.h:546:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNunrealizeCallback ((char*)&XtStrings[815]) ^ Text.c:529:38: note: in expansion of macro 'XtNunrealizeCallback' XtRemoveCallback((Widget) ctx, XtNunrealizeCallback, UnrealizeScrollbars, ^ Text.c: In function 'Initialize': /usr/local/include/X11/StringDefs.h:570:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNx ((char*)&XtStrings[885]) ^ Text.c:544:34: note: in expansion of macro 'XtNx' XtNx, 0, XtNy, 0, ^ /usr/local/include/X11/StringDefs.h:573:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNy ((char*)&XtStrings[887]) ^ Text.c:544:43: note: in expansion of macro 'XtNy' XtNx, 0, XtNy, 0, ^ /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ Text.c:545:34: note: in expansion of macro 'XtNwidth' XtNwidth, 10, XtNheight, 10, /* dummy */ ^ /usr/local/include/X11/StringDefs.h:384:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNheight ((char*)&XtStrings[234]) ^ Text.c:545:48: note: in expansion of macro 'XtNheight' XtNwidth, 10, XtNheight, 10, /* dummy */ ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from Text.c:52: Text.c: In function 'InsertCursor': /usr/local/include/X11/StringDefs.h:408:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNinsertPosition ((char*)&XtStrings[326]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ Text.c:737:24: note: in expansion of macro 'XtNinsertPosition' XtSetArg (list[0], XtNinsertPosition, ctx->text.insertPos); ^ Text.c: In function '_XawTextVScroll': /usr/local/include/X11/StringDefs.h:408:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNinsertPosition ((char*)&XtStrings[326]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ Text.c:1287:22: note: in expansion of macro 'XtNinsertPosition' XtSetArg (list[0], XtNinsertPosition, ctx->text.lt.top+ctx->text.lt.lines); ^ Text.c: In function 'ConvertSelection': /usr/local/include/X11/StringDefs.h:366:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNeditType ((char*)&XtStrings[185]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ Text.c:1574:23: note: in expansion of macro 'XtNeditType' XtSetArg(args[0], XtNeditType,&edit_mode); ^ Text.c: In function '_XawTextReplace': /usr/local/include/X11/StringDefs.h:366:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNeditType ((char*)&XtStrings[185]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ Text.c:1995:21: note: in expansion of macro 'XtNeditType' XtSetArg(args[0], XtNeditType, &edit_mode); ^ Text.c: In function '_XawTextSetSelection': Text.c:2539:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] String defaultSel = "PRIMARY"; ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from Text.c:52: Text.c: In function 'ChangeSensitive': /usr/local/include/X11/StringDefs.h:327:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNancestorSensitive ((char*)&XtStrings[34]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ Text.c:2981:23: note: in expansion of macro 'XtNancestorSensitive' XtSetArg(args[0], XtNancestorSensitive, ^ Text.c: At top level: Text.c:3401:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "Text", ^ --- TextPop.lo --- In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from TextPop.c:52: TextPop.c: In function '_XawTextInsertFile': /usr/local/include/X11/StringDefs.h:366:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNeditType ((char*)&XtStrings[185]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ TextPop.c:186:21: note: in expansion of macro 'XtNeditType' XtSetArg(args[0], XtNeditType,&edit_mode); ^ TextPop.c:195:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ptr = ""; ^ TextPop.c:200:50: warning: passing argument 3 of 'CreateDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ctx->text.file_insert = CreateDialog(w, ptr, "insertFile", ^ TextPop.c:100:15: note: expected 'String {aka char *}' but argument is of type 'const char *' static Widget CreateDialog(Widget, String, String, void (*)(Widget, String, Widget)); ^ In file included from TextPop.c:54:0: TextPop.c: In function 'PopdownFileInsert': /usr/local/include/X11/StringDefs.h:435:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlabel ((char*)&XtStrings[429]) ^ TextPop.c:227:7: note: in expansion of macro 'XtNlabel' XtNlabel, (XtArgVal) INSERT_FILE); ^ TextPop.c:83:23: warning: passing argument 2 of 'SetResourceByName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define LABEL_NAME ("label") ^ TextPop.c:226:52: note: in expansion of macro 'LABEL_NAME' (void) SetResourceByName( ctx->text.file_insert, LABEL_NAME, ^ TextPop.c:104:16: note: expected 'char *' but argument is of type 'const char *' static Boolean SetResourceByName(Widget, char *, char *, XtArgVal); ^ In file included from TextPop.c:54:0: TextPop.c: In function 'DoInsert': /usr/local/include/X11/StringDefs.h:435:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlabel ((char*)&XtStrings[429]) ^ TextPop.c:261:18: note: in expansion of macro 'XtNlabel' LABEL_NAME, XtNlabel, (XtArgVal) msg); ^ TextPop.c:83:23: warning: passing argument 2 of 'SetResourceByName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define LABEL_NAME ("label") ^ TextPop.c:261:6: note: in expansion of macro 'LABEL_NAME' LABEL_NAME, XtNlabel, (XtArgVal) msg); ^ TextPop.c:104:16: note: expected 'char *' but argument is of type 'const char *' static Boolean SetResourceByName(Widget, char *, char *, XtArgVal); ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from TextPop.c:52: TextPop.c: In function 'AddInsertFileChildren': /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) )) ^ TextPop.c:340:28: note: in expansion of macro 'XtNlabel' XtSetArg(args[num_args], XtNlabel, INSERT_FILE);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) )) ^ TextPop.c:341:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNleft, XtChainLeft); 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) )) ^ TextPop.c:342:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNright, XtChainLeft); 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) )) ^ TextPop.c:343:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNresizable, TRUE ); 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) )) ^ TextPop.c:344:28: note: in expansion of macro 'XtNborderWidth' XtSetArg(args[num_args], XtNborderWidth, 0 ); 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) )) ^ TextPop.c:349:3: 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) )) ^ TextPop.c:350:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNleft, XtChainLeft); 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) )) ^ TextPop.c:351:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNright, XtChainRight); num_args++; ^ /usr/local/include/X11/StringDefs.h:366:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNeditType ((char*)&XtStrings[185]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ TextPop.c:352:28: note: in expansion of macro 'XtNeditType' XtSetArg(args[num_args], XtNeditType, XawtextEdit); 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) )) ^ TextPop.c:353:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNresizable, TRUE); num_args++; ^ /usr/local/include/X11/StringDefs.h:474:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNresize ((char*)&XtStrings[564]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ TextPop.c:354:28: note: in expansion of macro 'XtNresize' XtSetArg(args[num_args], XtNresize, XawtextResizeWidth); num_args++; ^ /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) )) ^ TextPop.c:355:28: note: in expansion of macro 'XtNstring' XtSetArg(args[num_args], XtNstring, ptr); 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) )) ^ TextPop.c:360:28: note: in expansion of macro 'XtNlabel' XtSetArg(args[num_args], XtNlabel, "Insert File"); 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) )) ^ TextPop.c:361:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromVert, 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) )) ^ TextPop.c:362:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNleft, XtChainLeft); 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) )) ^ TextPop.c:363:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNright, XtChainLeft); 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) )) ^ TextPop.c:368:28: note: in expansion of macro 'XtNlabel' XtSetArg(args[num_args], XtNlabel, "Cancel"); 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) )) ^ TextPop.c:369:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromVert, 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) )) ^ TextPop.c:370:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromHoriz, insert); 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) )) ^ TextPop.c:371:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNleft, XtChainLeft); 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) )) ^ TextPop.c:372:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; ^ In file included from TextPop.c:54: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]) ^ TextPop.c:376:25: note: in expansion of macro 'XtNcallback' XtAddCallback(cancel, XtNcallback, PopdownFileInsert, (XtPointer) tw); ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ TextPop.c:377:25: note: in expansion of macro 'XtNcallback' XtAddCallback(insert, XtNcallback, DoInsert, (XtPointer) tw); ^ TextPop.c: In function 'PopdownSearch': TextPop.c:78:25: warning: passing argument 2 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define SEARCH_LABEL_1 ("Use to change fields.") ^ TextPop.c:457:27: note: in expansion of macro 'SEARCH_LABEL_1' SetSearchLabels(search, SEARCH_LABEL_1, SEARCH_LABEL_2, FALSE); ^ TextPop.c:97:13: note: expected 'String {aka char *}' but argument is of type 'const char *' static void SetSearchLabels(struct SearchAndReplace *, String, String, Boolean); ^ TextPop.c:79:25: warning: passing argument 3 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define SEARCH_LABEL_2 ("Use ^q for .") ^ TextPop.c:457:43: note: in expansion of macro 'SEARCH_LABEL_2' SetSearchLabels(search, SEARCH_LABEL_1, SEARCH_LABEL_2, FALSE); ^ TextPop.c:97:13: note: expected 'String {aka char *}' but argument is of type 'const char *' static void SetSearchLabels(struct SearchAndReplace *, String, String, Boolean); ^ TextPop.c: In function '_XawTextSearch': TextPop.c:531:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ptr = ""; ^ TextPop.c:552:59: warning: passing argument 3 of 'CreateDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ctx->text.search->search_popup = CreateDialog(w, ptr, "search", ^ TextPop.c:100:15: note: expected 'String {aka char *}' but argument is of type 'const char *' static Widget CreateDialog(Widget, String, String, void (*)(Widget, String, Widget)); ^ In file included from TextPop.c:54: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]) ^ TextPop.c:558:50: note: in expansion of macro 'XtNstring' XtVaSetValues(ctx->text.search->search_text, XtNstring, ptr, NULL); ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from TextPop.c:52: /usr/local/include/X11/StringDefs.h:366:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNeditType ((char*)&XtStrings[185]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ TextPop.c:561:21: note: in expansion of macro 'XtNeditType' XtSetArg(args[0], XtNeditType,&edit_mode); ^ In file included from TextPop.c:54:0: TextPop.c: In function 'InitializeSearchWidget': /usr/local/include/X11/StringDefs.h:510:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNsensitive ((char*)&XtStrings[711]) ^ TextPop.c:584:32: note: in expansion of macro 'XtNsensitive' SetResource(search->rep_one, XtNsensitive, (XtArgVal) replace_active); ^ /usr/local/include/X11/StringDefs.h:510:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNsensitive ((char*)&XtStrings[711]) ^ TextPop.c:585:32: note: in expansion of macro 'XtNsensitive' SetResource(search->rep_all, XtNsensitive, (XtArgVal) replace_active); ^ /usr/local/include/X11/StringDefs.h:510:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNsensitive ((char*)&XtStrings[711]) ^ TextPop.c:586:34: note: in expansion of macro 'XtNsensitive' SetResource(search->rep_label, XtNsensitive, (XtArgVal) replace_active); ^ /usr/local/include/X11/StringDefs.h:510:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNsensitive ((char*)&XtStrings[711]) ^ TextPop.c:587:33: note: in expansion of macro 'XtNsensitive' SetResource(search->rep_text, XtNsensitive, (XtArgVal) replace_active); ^ In file included from TextPop.c:61:0: ../include/X11/Xaw3dxft/Toggle.h:101:18: warning: passing argument 2 of 'SetResource' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNstate "state" ^ TextPop.c:591:38: note: in expansion of macro 'XtNstate' SetResource(search->left_toggle, XtNstate, (XtArgVal) TRUE); ^ TextPop.c:96:13: note: expected 'char *' but argument is of type 'const char *' static void SetResource(Widget, char *, XtArgVal); ^ In file included from TextPop.c:61:0: ../include/X11/Xaw3dxft/Toggle.h:101:18: warning: passing argument 2 of 'SetResource' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNstate "state" ^ TextPop.c:594:39: note: in expansion of macro 'XtNstate' SetResource(search->right_toggle, XtNstate, (XtArgVal) TRUE); ^ TextPop.c:96:13: note: expected 'char *' but argument is of type 'const char *' static void SetResource(Widget, char *, XtArgVal); ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from TextPop.c:52: TextPop.c: In function 'AddSearchChildren': /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) )) ^ TextPop.c:619:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNleft, XtChainLeft); 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) )) ^ TextPop.c:620:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNright, XtChainLeft); 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) )) ^ TextPop.c:621:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNresizable, TRUE ); 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) )) ^ TextPop.c:622:28: note: in expansion of macro 'XtNborderWidth' XtSetArg(args[num_args], XtNborderWidth, 0 ); 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) )) ^ TextPop.c:627:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromVert, search->label1); 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) )) ^ TextPop.c:628:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNleft, XtChainLeft); 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) )) ^ TextPop.c:629:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNright, XtChainLeft); 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) )) ^ TextPop.c:630:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNresizable, TRUE ); 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) )) ^ TextPop.c:631:28: note: in expansion of macro 'XtNborderWidth' XtSetArg(args[num_args], XtNborderWidth, 0 ); 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) )) ^ TextPop.c:641:28: note: in expansion of macro 'XtNlabel' XtSetArg(args[num_args], XtNlabel, "Backward"); 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) )) ^ TextPop.c:642:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromVert, search->label2); 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) )) ^ TextPop.c:643:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNleft, XtChainLeft); 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) )) ^ TextPop.c:644:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNright, XtChainLeft); 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) )) ^ TextPop.c:645:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNradioData, (XPointer) XawsdLeft + R_OFFSET); ^ /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) )) ^ TextPop.c:651:28: note: in expansion of macro 'XtNlabel' XtSetArg(args[num_args], XtNlabel, "Forward"); 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) )) ^ TextPop.c:652:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromVert, search->label2); 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) )) ^ TextPop.c:653:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromHoriz, search->left_toggle); 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) )) ^ TextPop.c:654:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNleft, XtChainLeft); 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) )) ^ TextPop.c:655:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNright, XtChainLeft); 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) )) ^ TextPop.c:656:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNradioGroup, search->left_toggle); 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) )) ^ TextPop.c:657:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNradioData, (XPointer) XawsdRight + R_OFFSET); ^ /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) )) ^ TextPop.c:671:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromVert, search->left_toggle); 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) )) ^ TextPop.c:672:28: note: in expansion of macro 'XtNlabel' XtSetArg(args[num_args], XtNlabel, "Search for: ");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) )) ^ TextPop.c:673:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNleft, XtChainLeft); 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) )) ^ TextPop.c:674:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNright, XtChainLeft); 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) )) ^ TextPop.c:675:28: note: in expansion of macro 'XtNborderWidth' XtSetArg(args[num_args], XtNborderWidth, 0 ); 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) )) ^ TextPop.c:680:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromVert, search->left_toggle); 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) )) ^ TextPop.c:681:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromHoriz, s_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) )) ^ TextPop.c:683:7: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNhorizDistance, 10); 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) )) ^ TextPop.c:685:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNleft, XtChainLeft); 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) )) ^ TextPop.c:686:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNright, XtChainRight); num_args++; ^ /usr/local/include/X11/StringDefs.h:366:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNeditType ((char*)&XtStrings[185]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ TextPop.c:687:28: note: in expansion of macro 'XtNeditType' XtSetArg(args[num_args], XtNeditType, XawtextEdit); 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) )) ^ TextPop.c:688:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNresizable, TRUE); num_args++; ^ /usr/local/include/X11/StringDefs.h:474:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNresize ((char*)&XtStrings[564]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ TextPop.c:689:28: note: in expansion of macro 'XtNresize' XtSetArg(args[num_args], XtNresize, XawtextResizeWidth); num_args++; ^ /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) )) ^ TextPop.c:690:28: note: in expansion of macro 'XtNstring' XtSetArg(args[num_args], XtNstring, ptr); 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) )) ^ TextPop.c:696:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromVert, s_text); 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) )) ^ TextPop.c:697:28: note: in expansion of macro 'XtNlabel' XtSetArg(args[num_args], XtNlabel, "Replace with:");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) )) ^ TextPop.c:698:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNleft, XtChainLeft); 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) )) ^ TextPop.c:699:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNright, XtChainLeft); 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) )) ^ TextPop.c:700:28: note: in expansion of macro 'XtNborderWidth' XtSetArg(args[num_args], XtNborderWidth, 0 ); 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) )) ^ TextPop.c:705:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromHoriz, s_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) )) ^ TextPop.c:706:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromVert, s_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) )) ^ TextPop.c:708:7: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNhorizDistance, 10); 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) )) ^ TextPop.c:710:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNleft, XtChainLeft); 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) )) ^ TextPop.c:711:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNright, XtChainRight); num_args++; ^ /usr/local/include/X11/StringDefs.h:366:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNeditType ((char*)&XtStrings[185]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ TextPop.c:712:28: note: in expansion of macro 'XtNeditType' XtSetArg(args[num_args], XtNeditType, XawtextEdit); 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) )) ^ TextPop.c:713:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNresizable, TRUE); num_args++; ^ /usr/local/include/X11/StringDefs.h:474:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNresize ((char*)&XtStrings[564]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ TextPop.c:714:28: note: in expansion of macro 'XtNresize' XtSetArg(args[num_args], XtNresize, XawtextResizeWidth); num_args++; ^ /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) )) ^ TextPop.c:715:28: note: in expansion of macro 'XtNstring' XtSetArg(args[num_args], XtNstring, ""); 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) )) ^ TextPop.c:721:28: note: in expansion of macro 'XtNlabel' XtSetArg(args[num_args], XtNlabel, "Search"); 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) )) ^ TextPop.c:722:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromVert, r_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) )) ^ TextPop.c:723:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNleft, XtChainLeft); 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) )) ^ TextPop.c:724:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNright, XtChainLeft); 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) )) ^ TextPop.c:729:28: note: in expansion of macro 'XtNlabel' XtSetArg(args[num_args], XtNlabel, "Replace"); 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) )) ^ TextPop.c:730:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromVert, r_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) )) ^ TextPop.c:731:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromHoriz, search_button); 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) )) ^ TextPop.c:732:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNleft, XtChainLeft); 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) )) ^ TextPop.c:733:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNright, XtChainLeft); 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) )) ^ TextPop.c:738:28: note: in expansion of macro 'XtNlabel' XtSetArg(args[num_args], XtNlabel, "Replace All"); 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) )) ^ TextPop.c:739:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromVert, r_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) )) ^ TextPop.c:740:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromHoriz, search->rep_one); 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) )) ^ TextPop.c:741:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNleft, XtChainLeft); 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) )) ^ TextPop.c:742:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNright, XtChainLeft); 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) )) ^ TextPop.c:747:28: note: in expansion of macro 'XtNlabel' XtSetArg(args[num_args], XtNlabel, "Cancel"); 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) )) ^ TextPop.c:748:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromVert, r_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) )) ^ TextPop.c:749:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNfromHoriz, search->rep_all); 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) )) ^ TextPop.c:750:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNleft, XtChainLeft); 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) )) ^ TextPop.c:751:3: note: in expansion of macro 'XtSetArg' XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++; ^ In file included from TextPop.c:54: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]) ^ TextPop.c:755:32: note: in expansion of macro 'XtNcallback' XtAddCallback(search_button, XtNcallback, SearchButton, (XtPointer) search); ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ TextPop.c:756:34: note: in expansion of macro 'XtNcallback' XtAddCallback(search->rep_one, XtNcallback, DoReplaceOne, (XtPointer) search); ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ TextPop.c:757:34: note: in expansion of macro 'XtNcallback' XtAddCallback(search->rep_all, XtNcallback, DoReplaceAll, (XtPointer) search); ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ TextPop.c:758:25: note: in expansion of macro 'XtNcallback' XtAddCallback(cancel, XtNcallback, PopdownSearch, (XtPointer) search); ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from TextPop.c:52: /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) )) ^ TextPop.c:767:30: 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) )) ^ TextPop.c:770:30: note: in expansion of macro 'XtNborderColor' XtSetArg(args[num_args], XtNborderColor, color); num_args++; ^ TextPop.c:78:25: warning: passing argument 2 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define SEARCH_LABEL_1 ("Use to change fields.") ^ TextPop.c:775:27: note: in expansion of macro 'SEARCH_LABEL_1' SetSearchLabels(search, SEARCH_LABEL_1, SEARCH_LABEL_2, FALSE); ^ TextPop.c:97:13: note: expected 'String {aka char *}' but argument is of type 'const char *' static void SetSearchLabels(struct SearchAndReplace *, String, String, Boolean); ^ TextPop.c:79:25: warning: passing argument 3 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define SEARCH_LABEL_2 ("Use ^q for .") ^ TextPop.c:775:43: note: in expansion of macro 'SEARCH_LABEL_2' SetSearchLabels(search, SEARCH_LABEL_1, SEARCH_LABEL_2, FALSE); ^ TextPop.c:97:13: note: expected 'String {aka char *}' but argument is of type 'const char *' static void SetSearchLabels(struct SearchAndReplace *, String, String, Boolean); ^ TextPop.c: In function 'DoSearch': TextPop.c:839:32: warning: passing argument 3 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SetSearchLabels(search, msg, "", TRUE); ^ TextPop.c:97:13: note: expected 'String {aka char *}' but argument is of type 'const char *' static void SetSearchLabels(struct SearchAndReplace *, String, String, Boolean); ^ TextPop.c: In function 'Replace': TextPop.c:966:33: warning: passing argument 3 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SetSearchLabels(search, msg, "", TRUE); ^ TextPop.c:97:13: note: expected 'String {aka char *}' but argument is of type 'const char *' static void SetSearchLabels(struct SearchAndReplace *, String, String, Boolean); ^ TextPop.c:979:26: warning: passing argument 2 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SetSearchLabels(search, "Selection has been modified, aborting.", ^ TextPop.c:97:13: note: expected 'String {aka char *}' but argument is of type 'const char *' static void SetSearchLabels(struct SearchAndReplace *, String, String, Boolean); ^ TextPop.c:980:4: warning: passing argument 3 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "", TRUE); ^ TextPop.c:97:13: note: expected 'String {aka char *}' but argument is of type 'const char *' static void SetSearchLabels(struct SearchAndReplace *, String, String, Boolean); ^ TextPop.c:991:31: warning: passing argument 2 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SetSearchLabels(search, "*** Error while replacing", msg, TRUE); ^ TextPop.c:97:13: note: expected 'String {aka char *}' but argument is of type 'const char *' static void SetSearchLabels(struct SearchAndReplace *, String, String, Boolean); ^ In file included from TextPop.c:54:0: TextPop.c: In function 'SetSearchLabels': /usr/local/include/X11/StringDefs.h:435:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlabel ((char*)&XtStrings[429]) ^ TextPop.c:1030:39: note: in expansion of macro 'XtNlabel' (void) SetResource( search->label1, XtNlabel, (XtArgVal) msg1); ^ /usr/local/include/X11/StringDefs.h:435:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlabel ((char*)&XtStrings[429]) ^ TextPop.c:1031:39: note: in expansion of macro 'XtNlabel' (void) SetResource( search->label2, XtNlabel, (XtArgVal) msg2); ^ TextPop.c: In function '_XawTextSetField': TextPop.c:1061:29: warning: passing argument 2 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SetSearchLabels(search, "*** Error: SetField Action must have", ^ TextPop.c:1028:1: note: expected 'String {aka char *}' but argument is of type 'const char *' SetSearchLabels(struct SearchAndReplace *search, String msg1, String msg2, Boolean bell) ^ TextPop.c:1062:7: warning: passing argument 3 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "exactly one argument. ***", TRUE); ^ TextPop.c:1028:1: note: expected 'String {aka char *}' but argument is of type 'const char *' SetSearchLabels(struct SearchAndReplace *search, String msg1, String msg2, Boolean bell) ^ TextPop.c:1077:29: warning: passing argument 2 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] SetSearchLabels(search, "*** Error: SetField Action's first Argument must", ^ TextPop.c:1028:1: note: expected 'String {aka char *}' but argument is of type 'const char *' SetSearchLabels(struct SearchAndReplace *search, String msg1, String msg2, Boolean bell) ^ TextPop.c:1078:7: warning: passing argument 3 of 'SetSearchLabels' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "be either 'Search' or 'Replace'. ***", TRUE); ^ TextPop.c:1028:1: note: expected 'String {aka char *}' but argument is of type 'const char *' SetSearchLabels(struct SearchAndReplace *search, String msg1, String msg2, Boolean bell) ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from TextPop.c:52: TextPop.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) )) ^ TextPop.c:1103:21: 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) )) ^ TextPop.c:1104:21: 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) )) ^ TextPop.c:1107:21: note: in expansion of macro 'XtNborderColor' XtSetArg(args[0], XtNborderColor, &new_border); ^ In file included from TextPop.c:54:0: /usr/local/include/X11/StringDefs.h:339:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNborderColor ((char*)&XtStrings[87]) ^ TextPop.c:1113:20: note: in expansion of macro 'XtNborderColor' SetResource(old, XtNborderColor, (XtArgVal) 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]) ^ TextPop.c:1114:20: note: in expansion of macro 'XtNborderColor' SetResource(new, XtNborderColor, (XtArgVal) new_border); ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from TextPop.c:52: TextPop.c: In function 'GetString': /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) )) ^ TextPop.c:1174:22: note: in expansion of macro 'XtNstring' XtSetArg( args[0], XtNstring, &string ); ^ TextPop.c: In function 'CenterWidgetOnPoint': /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) )) ^ TextPop.c:1226:28: 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) )) ^ TextPop.c:1227:28: 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) )) ^ TextPop.c:1228:28: 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) )) ^ TextPop.c:1243:28: 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) )) ^ TextPop.c:1244:28: note: in expansion of macro 'XtNy' XtSetArg(args[num_args], XtNy, y); num_args++; ^ TextPop.c: In function 'CreateDialog': /usr/local/include/X11/Shell.h:191:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNiconName ((char*)&XtShellStrings[0]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ TextPop.c:1273:28: note: in expansion of macro 'XtNiconName' XtSetArg(args[num_args], XtNiconName, name); num_args++; ^ /usr/local/include/X11/Shell.h:326:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNgeometry ((char*)&XtShellStrings[469]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ TextPop.c:1274:28: note: in expansion of macro 'XtNgeometry' XtSetArg(args[num_args], XtNgeometry, NULL); num_args++; ^ /usr/local/include/X11/Shell.h:263:30: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNallowShellResize ((char*)&XtShellStrings[280]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ TextPop.c:1275:28: note: in expansion of macro 'XtNallowShellResize' XtSetArg(args[num_args], XtNallowShellResize, TRUE); num_args++; ^ /usr/local/include/X11/Shell.h:251:26: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNtransientFor ((char*)&XtShellStrings[220]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ TextPop.c:1276:28: note: in expansion of macro 'XtNtransientFor' XtSetArg(args[num_args], XtNtransientFor, (void *)(GetShell(parent))); num_args++; ^ TextPop.c: At top level: TextPop.c:1313:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] static char *WM_DELETE_WINDOW = "WM_DELETE_WINDOW"; ^ In file included from TextPop.c:54:0: TextPop.c: In function 'WMProtocols': /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ TextPop.c:1344:38: note: in expansion of macro 'XtNcallback' if (cancel) XtCallCallbacks(cancel, XtNcallback, (XtPointer)NULL); ^ TextPop.c: In function 'SetWMProtocolTranslations': TextPop.c:1368:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] actions[0].string = "XawWMProtocols"; ^ libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT TextPop.lo -MD -MP -MF .deps/TextPop.Tpo -c TextPop.c -o TextPop.o >/dev/null 2>&1 --- SimpleMenu.lo --- mv -f .deps/SimpleMenu.Tpo .deps/SimpleMenu.Plo --- TextSink.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT TextSink.lo -MD -MP -MF .deps/TextSink.Tpo -c -o TextSink.lo TextSink.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT TextSink.lo -MD -MP -MF .deps/TextSink.Tpo -c TextSink.c -fPIC -DPIC -o .libs/TextSink.o In file included from ../include/X11/Xaw3dxft/Xaw3dXft.h:53:0, from ../include/X11/Xaw3dxft/TextP.h:54, from ../include/X11/Xaw3dxft/TextSinkP.h:64, from TextSink.c:47: ../include/X11/Xaw3dxft/XawInit.h:28:13: warning: redundant redeclaration of 'XawInitializeWidgetSet' [-Wredundant-decls] extern void XawInitializeWidgetSet(void); /* called from ClassInit procs */ ^ In file included from TextSink.c:46:0: ../include/X11/Xaw3dxft/XawInit.h:28:13: note: previous declaration of 'XawInitializeWidgetSet' was here extern void XawInitializeWidgetSet(void); /* called from ClassInit procs */ ^ In file included from TextSink.c:45:0: /usr/local/include/X11/StringDefs.h:378:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNforeground ((char*)&XtStrings[214]) ^ TextSink.c:77:4: note: in expansion of macro 'XtNforeground' {XtNforeground, XtCForeground, XtRPixel, sizeof (Pixel), ^ /usr/local/include/X11/StringDefs.h:621:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCForeground ((char*)&XtStrings[1022]) ^ TextSink.c:77:19: note: in expansion of macro 'XtCForeground' {XtNforeground, 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]) ^ TextSink.c:77:34: note: in expansion of macro 'XtRPixel' {XtNforeground, XtCForeground, XtRPixel, sizeof (Pixel), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ TextSink.c:78:26: note: in expansion of macro 'XtRString' offset(foreground), XtRString, XtDefaultForeground}, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from TextSink.c:44: /usr/local/include/X11/Intrinsic.h:1655:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtDefaultForeground "XtDefaultForeground" ^ TextSink.c:78:37: note: in expansion of macro 'XtDefaultForeground' offset(foreground), XtRString, XtDefaultForeground}, ^ In file included from TextSink.c:45: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]) ^ TextSink.c:79:4: note: in expansion of macro 'XtNbackground' {XtNbackground, XtCBackground, XtRPixel, sizeof (Pixel), ^ /usr/local/include/X11/StringDefs.h:579:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCBackground ((char*)&XtStrings[902]) ^ TextSink.c:79:19: note: in expansion of macro 'XtCBackground' {XtNbackground, XtCBackground, 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]) ^ TextSink.c:79:34: note: in expansion of macro 'XtRPixel' {XtNbackground, XtCBackground, XtRPixel, sizeof (Pixel), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ TextSink.c:80:26: note: in expansion of macro 'XtRString' offset(background), XtRString, XtDefaultBackground}, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from TextSink.c:44: /usr/local/include/X11/Intrinsic.h:1656:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtDefaultBackground "XtDefaultBackground" ^ TextSink.c:80:37: note: in expansion of macro 'XtDefaultBackground' offset(background), XtRString, XtDefaultBackground}, ^ TextSink.c:89:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "TextSink", ^ libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT TextSink.lo -MD -MP -MF .deps/TextSink.Tpo -c TextSink.c -o TextSink.o >/dev/null 2>&1 --- Paned.lo --- mv -f .deps/Paned.Tpo .deps/Paned.Plo --- TextSrc.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT TextSrc.lo -MD -MP -MF .deps/TextSrc.Tpo -c -o TextSrc.lo TextSrc.c --- TextSink.lo --- mv -f .deps/TextSink.Tpo .deps/TextSink.Plo --- TextTr.lo --- --- TextSrc.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT TextSrc.lo -MD -MP -MF .deps/TextSrc.Tpo -c TextSrc.c -fPIC -DPIC -o .libs/TextSrc.o --- TextTr.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT TextTr.lo -MD -MP -MF .deps/TextTr.Tpo -c -o TextTr.lo TextTr.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT TextTr.lo -MD -MP -MF .deps/TextTr.Tpo -c TextTr.c -fPIC -DPIC -o .libs/TextTr.o TextTr.c:45:1: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "\ ^ TextTr.c:69:36: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ", *_XawDefaultTextTranslations2 = "\ ^ TextTr.c:120:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] *_XawDefaultTextTranslations3 = "\ ^ TextTr.c:133:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] *_XawDefaultTextTranslations4 = "\ ^ libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT TextTr.lo -MD -MP -MF .deps/TextTr.Tpo -c TextTr.c -o TextTr.o >/dev/null 2>&1 --- TextSrc.lo --- In file included from ../include/X11/Xaw3dxft/Xaw3dXft.h:53:0, from ../include/X11/Xaw3dxft/TextP.h:54, from ../include/X11/Xaw3dxft/TextSrcP.h:64, from TextSrc.c:47: ../include/X11/Xaw3dxft/XawInit.h:28:13: warning: redundant redeclaration of 'XawInitializeWidgetSet' [-Wredundant-decls] extern void XawInitializeWidgetSet(void); /* called from ClassInit procs */ ^ In file included from TextSrc.c:46:0: ../include/X11/Xaw3dxft/XawInit.h:28:13: note: previous declaration of 'XawInitializeWidgetSet' was here extern void XawInitializeWidgetSet(void); /* called from ClassInit procs */ ^ --- TextTr.lo --- mv -f .deps/TextTr.Tpo .deps/TextTr.Plo --- TextSrc.lo --- In file included from TextSrc.c:44:0: /usr/local/include/X11/StringDefs.h:366:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNeditType ((char*)&XtStrings[185]) ^ TextSrc.c:66:6: note: in expansion of macro 'XtNeditType' {XtNeditType, XtCEditType, XtREditMode, sizeof(XawTextEditType), ^ /usr/local/include/X11/StringDefs.h:609:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCEditType ((char*)&XtStrings[989]) ^ TextSrc.c:66:19: note: in expansion of macro 'XtCEditType' {XtNeditType, XtCEditType, XtREditMode, sizeof(XawTextEditType), ^ /usr/local/include/X11/StringDefs.h:813:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtREditMode ((char*)&XtStrings[1636]) ^ TextSrc.c:66:32: note: in expansion of macro 'XtREditMode' --- ThreeD.lo --- --- TextSrc.lo --- {XtNeditType, XtCEditType, XtREditMode, sizeof(XawTextEditType), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ TextSrc.c:67:28: note: in expansion of macro 'XtRString' offset(edit_mode), XtRString, "read"}, ^ TextSrc.c:67:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] offset(edit_mode), XtRString, "read"}, ^ TextSrc.c:88:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "TextSrc", ^ In file included from TextSrc.c:44:0: TextSrc.c: In function 'ClassInitialize': /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] --- ThreeD.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT ThreeD.lo -MD -MP -MF .deps/ThreeD.Tpo -c -o ThreeD.lo ThreeD.c --- TextSrc.lo --- #define XtRString ((char*)&XtStrings[1797]) ^ TextSrc.c:137:20: note: in expansion of macro 'XtRString' XtAddConverter(XtRString, XtREditMode, CvtStringToEditMode, NULL, 0); ^ /usr/local/include/X11/StringDefs.h:813:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtREditMode ((char*)&XtStrings[1636]) ^ TextSrc.c:137:31: note: in expansion of macro 'XtREditMode' XtAddConverter(XtRString, XtREditMode, CvtStringToEditMode, NULL, 0); ^ TextSrc.c: In function 'CvtStringToEditMode': /usr/local/include/X11/StringDefs.h:930:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtEtextRead ((char*)&XtStrings[1947]) ^ TextSrc.c:302:36: note: in expansion of macro 'XtEtextRead' QRead = XrmPermStringToQuark(XtEtextRead); ^ /usr/local/include/X11/StringDefs.h:933:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtEtextAppend ((char*)&XtStrings[1952]) ^ TextSrc.c:303:36: note: in expansion of macro 'XtEtextAppend' QAppend = XrmPermStringToQuark(XtEtextAppend); ^ /usr/local/include/X11/StringDefs.h:936:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtEtextEdit ((char*)&XtStrings[1959]) ^ TextSrc.c:304:36: note: in expansion of macro 'XtEtextEdit' QEdit = XrmPermStringToQuark(XtEtextEdit); ^ --- ThreeD.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT ThreeD.lo -MD -MP -MF .deps/ThreeD.Tpo -c ThreeD.c -fPIC -DPIC -o .libs/ThreeD.o In file included from ../include/X11/Xaw3dxft/ThreeDP.h:29:0, from ThreeD.c:39: ../include/X11/Xaw3dxft/ThreeD.h:52:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNshadowWidth "shadowWidth" ^ ThreeD.c:55:6: note: in expansion of macro 'XtNshadowWidth' {XtNshadowWidth, XtCShadowWidth, XtRDimension, sizeof(Dimension), ^ ../include/X11/Xaw3dxft/ThreeD.h:53:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCShadowWidth "ShadowWidth" ^ ThreeD.c:55:22: note: in expansion of macro 'XtCShadowWidth' {XtNshadowWidth, XtCShadowWidth, XtRDimension, sizeof(Dimension), ^ In file included from ThreeD.c:36:0: /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ ThreeD.c:55:38: note: in expansion of macro 'XtRDimension' {XtNshadowWidth, XtCShadowWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ ThreeD.c:56:31: note: in expansion of macro 'XtRImmediate' offset(threeD.shadow_width), XtRImmediate, (XtPointer) 2}, ^ In file included from ../include/X11/Xaw3dxft/ThreeDP.h:29:0, from ThreeD.c:39: ../include/X11/Xaw3dxft/ThreeD.h:54:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNtopShadowPixel "topShadowPixel" ^ ThreeD.c:57:6: note: in expansion of macro 'XtNtopShadowPixel' {XtNtopShadowPixel, XtCTopShadowPixel, XtRPixel, sizeof(Pixel), ^ ../include/X11/Xaw3dxft/ThreeD.h:55:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCTopShadowPixel "TopShadowPixel" ^ ThreeD.c:57:25: note: in expansion of macro 'XtCTopShadowPixel' {XtNtopShadowPixel, XtCTopShadowPixel, XtRPixel, sizeof(Pixel), ^ In file included from ThreeD.c:36:0: /usr/local/include/X11/StringDefs.h:858:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPixel ((char*)&XtStrings[1754]) ^ ThreeD.c:57:44: note: in expansion of macro 'XtRPixel' {XtNtopShadowPixel, XtCTopShadowPixel, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ ThreeD.c:58:35: note: in expansion of macro 'XtRString' offset(threeD.top_shadow_pixel), XtRString, XtDefaultForeground}, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from ThreeD.c:34: /usr/local/include/X11/Intrinsic.h:1655:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtDefaultForeground "XtDefaultForeground" ^ ThreeD.c:58:46: note: in expansion of macro 'XtDefaultForeground' offset(threeD.top_shadow_pixel), XtRString, XtDefaultForeground}, ^ In file included from ../include/X11/Xaw3dxft/ThreeDP.h:29:0, from ThreeD.c:39: ../include/X11/Xaw3dxft/ThreeD.h:56:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbottomShadowPixel "bottomShadowPixel" ^ ThreeD.c:59:6: note: in expansion of macro 'XtNbottomShadowPixel' {XtNbottomShadowPixel, XtCBottomShadowPixel, XtRPixel, sizeof(Pixel), ^ ../include/X11/Xaw3dxft/ThreeD.h:57:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCBottomShadowPixel "BottomShadowPixel" ^ ThreeD.c:59:28: note: in expansion of macro 'XtCBottomShadowPixel' {XtNbottomShadowPixel, XtCBottomShadowPixel, XtRPixel, sizeof(Pixel), ^ In file included from ThreeD.c:36:0: /usr/local/include/X11/StringDefs.h:858:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPixel ((char*)&XtStrings[1754]) ^ ThreeD.c:59:50: note: in expansion of macro 'XtRPixel' {XtNbottomShadowPixel, XtCBottomShadowPixel, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ ThreeD.c:60:35: note: in expansion of macro 'XtRString' offset(threeD.bot_shadow_pixel), XtRString, XtDefaultForeground}, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from ThreeD.c:34: /usr/local/include/X11/Intrinsic.h:1655:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtDefaultForeground "XtDefaultForeground" ^ ThreeD.c:60:46: note: in expansion of macro 'XtDefaultForeground' offset(threeD.bot_shadow_pixel), XtRString, XtDefaultForeground}, ^ ThreeD.c:45:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNtopShadowPixmap "topShadowPixmap" ^ ThreeD.c:61:6: note: in expansion of macro 'XtNtopShadowPixmap' {XtNtopShadowPixmap, XtCTopShadowPixmap, XtRPixmap, sizeof(Pixmap), ^ ThreeD.c:46:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCTopShadowPixmap "TopShadowPixmap" ^ ThreeD.c:61:26: note: in expansion of macro 'XtCTopShadowPixmap' {XtNtopShadowPixmap, XtCTopShadowPixmap, XtRPixmap, sizeof(Pixmap), ^ In file included from ThreeD.c:36:0: /usr/local/include/X11/StringDefs.h:861:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPixmap ((char*)&XtStrings[1760]) ^ ThreeD.c:61:46: note: in expansion of macro 'XtRPixmap' {XtNtopShadowPixmap, XtCTopShadowPixmap, XtRPixmap, sizeof(Pixmap), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ ThreeD.c:62:35: note: in expansion of macro 'XtRImmediate' offset(threeD.top_shadow_pxmap), XtRImmediate, (XtPointer) NULL}, ^ ThreeD.c:47:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbottomShadowPixmap "bottomShadowPixmap" ^ ThreeD.c:63:6: note: in expansion of macro 'XtNbottomShadowPixmap' {XtNbottomShadowPixmap, XtCBottomShadowPixmap, XtRPixmap, sizeof(Pixmap), ^ ThreeD.c:48:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCBottomShadowPixmap "BottomShadowPixmap" ^ ThreeD.c:63:29: note: in expansion of macro 'XtCBottomShadowPixmap' {XtNbottomShadowPixmap, XtCBottomShadowPixmap, XtRPixmap, sizeof(Pixmap), ^ In file included from ThreeD.c:36:0: /usr/local/include/X11/StringDefs.h:861:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPixmap ((char*)&XtStrings[1760]) ^ ThreeD.c:63:52: note: in expansion of macro 'XtRPixmap' {XtNbottomShadowPixmap, XtCBottomShadowPixmap, XtRPixmap, sizeof(Pixmap), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ ThreeD.c:64:35: note: in expansion of macro 'XtRImmediate' offset(threeD.bot_shadow_pxmap), XtRImmediate, (XtPointer) NULL}, ^ In file included from ../include/X11/Xaw3dxft/ThreeDP.h:29:0, from ThreeD.c:39: ../include/X11/Xaw3dxft/ThreeD.h:58:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNtopShadowContrast "topShadowContrast" ^ ThreeD.c:65:6: note: in expansion of macro 'XtNtopShadowContrast' {XtNtopShadowContrast, XtCTopShadowContrast, XtRInt, sizeof(int), ^ ../include/X11/Xaw3dxft/ThreeD.h:59:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCTopShadowContrast "TopShadowContrast" ^ ThreeD.c:65:28: note: in expansion of macro 'XtCTopShadowContrast' {XtNtopShadowContrast, XtCTopShadowContrast, XtRInt, sizeof(int), ^ In file included from ThreeD.c:36: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]) ^ ThreeD.c:65:50: note: in expansion of macro 'XtRInt' {XtNtopShadowContrast, XtCTopShadowContrast, 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]) ^ ThreeD.c:66:38: note: in expansion of macro 'XtRImmediate' offset(threeD.top_shadow_contrast), XtRImmediate, (XtPointer) 20}, ^ In file included from ../include/X11/Xaw3dxft/ThreeDP.h:29:0, from ThreeD.c:39: ../include/X11/Xaw3dxft/ThreeD.h:60:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbottomShadowContrast "bottomShadowContrast" ^ ThreeD.c:67:6: note: in expansion of macro 'XtNbottomShadowContrast' {XtNbottomShadowContrast, XtCBottomShadowContrast, XtRInt, sizeof(int), ^ ../include/X11/Xaw3dxft/ThreeD.h:61:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCBottomShadowContrast "BottomShadowContrast" ^ ThreeD.c:67:31: note: in expansion of macro 'XtCBottomShadowContrast' {XtNbottomShadowContrast, XtCBottomShadowContrast, XtRInt, sizeof(int), ^ In file included from ThreeD.c:36: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]) ^ ThreeD.c:67:56: note: in expansion of macro 'XtRInt' {XtNbottomShadowContrast, XtCBottomShadowContrast, 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]) ^ ThreeD.c:68:38: note: in expansion of macro 'XtRImmediate' offset(threeD.bot_shadow_contrast), XtRImmediate, (XtPointer) 40}, ^ In file included from ../include/X11/Xaw3dxft/ThreeDP.h:29:0, from ThreeD.c:39: ../include/X11/Xaw3dxft/ThreeD.h:66:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNuserData "userData" ^ ThreeD.c:69:6: note: in expansion of macro 'XtNuserData' {XtNuserData, XtCUserData, XtRPointer, sizeof(XtPointer), ^ ../include/X11/Xaw3dxft/ThreeD.h:67:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCUserData "UserData" ^ ThreeD.c:69:19: note: in expansion of macro 'XtCUserData' {XtNuserData, XtCUserData, XtRPointer, sizeof(XtPointer), ^ In file included from ThreeD.c:36:0: /usr/local/include/X11/StringDefs.h:864:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPointer ((char*)&XtStrings[1767]) ^ ThreeD.c:69:32: note: in expansion of macro 'XtRPointer' {XtNuserData, XtCUserData, XtRPointer, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:864:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPointer ((char*)&XtStrings[1767]) ^ ThreeD.c:70:28: note: in expansion of macro 'XtRPointer' offset(threeD.user_data), XtRPointer, (XtPointer) NULL}, ^ In file included from ../include/X11/Xaw3dxft/ThreeDP.h:29:0, from ThreeD.c:39: ../include/X11/Xaw3dxft/ThreeD.h:62:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbeNiceToColormap "beNiceToColormap" ^ ThreeD.c:71:6: note: in expansion of macro 'XtNbeNiceToColormap' {XtNbeNiceToColormap, XtCBeNiceToColormap, XtRBoolean, sizeof(Boolean), ^ ../include/X11/Xaw3dxft/ThreeD.h:63:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCBeNiceToColormap "BeNiceToColormap" ^ ThreeD.c:71:27: note: in expansion of macro 'XtCBeNiceToColormap' {XtNbeNiceToColormap, XtCBeNiceToColormap, XtRBoolean, sizeof(Boolean), ^ In file included from ThreeD.c:36: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]) ^ ThreeD.c:71:48: note: in expansion of macro 'XtRBoolean' {XtNbeNiceToColormap, XtCBeNiceToColormap, 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]) ^ ThreeD.c:72:34: note: in expansion of macro 'XtRImmediate' offset(threeD.be_nice_to_cmap), XtRImmediate, (XtPointer) True}, ^ /usr/local/include/X11/StringDefs.h:348:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNborderWidth ((char*)&XtStrings[124]) ^ ThreeD.c:73:6: note: in expansion of macro 'XtNborderWidth' {XtNborderWidth, XtCBorderWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:591:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCBorderWidth ((char*)&XtStrings[940]) ^ ThreeD.c:73:22: note: in expansion of macro 'XtCBorderWidth' {XtNborderWidth, XtCBorderWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ ThreeD.c:73:38: note: in expansion of macro 'XtRDimension' {XtNborderWidth, XtCBorderWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ ThreeD.c:74:49: note: in expansion of macro 'XtRImmediate' XtOffsetOf(RectObjRec,rectangle.border_width), XtRImmediate, ^ In file included from ../include/X11/Xaw3dxft/ThreeDP.h:29:0, from ThreeD.c:39: ../include/X11/Xaw3dxft/ThreeD.h:68:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNrelief "relief" ^ ThreeD.c:76:6: note: in expansion of macro 'XtNrelief' {XtNrelief, XtCRelief, XtRRelief, sizeof(XtRelief), ^ ../include/X11/Xaw3dxft/ThreeD.h:69:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCRelief "Relief" ^ ThreeD.c:76:17: note: in expansion of macro 'XtCRelief' {XtNrelief, XtCRelief, XtRRelief, sizeof(XtRelief), ^ In file included from ThreeD.c:39:0: ../include/X11/Xaw3dxft/ThreeDP.h:32:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRRelief "Relief" ^ ThreeD.c:76:28: note: in expansion of macro 'XtRRelief' {XtNrelief, XtCRelief, XtRRelief, sizeof(XtRelief), ^ In file included from ThreeD.c:36: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]) ^ ThreeD.c:77:25: note: in expansion of macro 'XtRString' offset(threeD.relief), XtRString, (XtPointer) defRelief} ^ ThreeD.c:94:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "ThreeD", ^ In file included from ThreeD.c:36:0: ThreeD.c: In function 'ClassInitialize': /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ ThreeD.c:455:21: note: in expansion of macro 'XtRString' XtAddConverter( XtRString, XtRRelief, _CvtStringToRelief, ^ --- TextSrc.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT TextSrc.lo -MD -MP -MF .deps/TextSrc.Tpo -c TextSrc.c -o TextSrc.o >/dev/null 2>&1 --- TextAction.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT TextAction.lo -MD -MP -MF .deps/TextAction.Tpo -c TextAction.c -o TextAction.o >/dev/null 2>&1 --- ThreeD.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT ThreeD.lo -MD -MP -MF .deps/ThreeD.Tpo -c ThreeD.c -o ThreeD.o >/dev/null 2>&1 --- TextSrc.lo --- mv -f .deps/TextSrc.Tpo .deps/TextSrc.Plo --- Tip.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Tip.lo -MD -MP -MF .deps/Tip.Tpo -c -o Tip.lo Tip.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Tip.lo -MD -MP -MF .deps/Tip.Tpo -c Tip.c -fPIC -DPIC -o .libs/Tip.o In file included from ../include/X11/Xaw3dxft/Xaw3dXft.h:53:0, from ../include/X11/Xaw3dxft/Xaw3dXftP.h:42, from Tip.c:45: ../include/X11/Xaw3dxft/XawInit.h:28:13: warning: redundant redeclaration of 'XawInitializeWidgetSet' [-Wredundant-decls] extern void XawInitializeWidgetSet(void); /* called from ClassInit procs */ ^ In file included from Tip.c:44:0: ../include/X11/Xaw3dxft/XawInit.h:28:13: note: previous declaration of 'XawInitializeWidgetSet' was here extern void XawInitializeWidgetSet(void); /* called from ClassInit procs */ ^ In file included from Tip.c:40:0: /usr/local/include/X11/StringDefs.h:378:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNforeground ((char*)&XtStrings[214]) ^ Tip.c:109:4: note: in expansion of macro 'XtNforeground' {XtNforeground, XtCForeground, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:621:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCForeground ((char*)&XtStrings[1022]) ^ Tip.c:109:19: note: in expansion of macro 'XtCForeground' {XtNforeground, 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]) ^ Tip.c:109:34: note: in expansion of macro 'XtRPixel' {XtNforeground, XtCForeground, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Tip.c:110:25: note: in expansion of macro 'XtRString' offset(foreground), XtRString, XtDefaultForeground}, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from Tip.c:38: /usr/local/include/X11/Intrinsic.h:1655:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtDefaultForeground "XtDefaultForeground" ^ Tip.c:110:36: note: in expansion of macro 'XtDefaultForeground' offset(foreground), XtRString, XtDefaultForeground}, ^ In file included from Tip.c:40:0: /usr/local/include/X11/StringDefs.h:372:18: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNfont ((char*)&XtStrings[199]) ^ Tip.c:111:4: note: in expansion of macro 'XtNfont' {XtNfont, XtCFont, XtRFontStruct, sizeof(XFontStruct*), ^ /usr/local/include/X11/StringDefs.h:618:18: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCFont ((char*)&XtStrings[1017]) ^ Tip.c:111:13: note: in expansion of macro 'XtCFont' {XtNfont, XtCFont, XtRFontStruct, sizeof(XFontStruct*), ^ /usr/local/include/X11/StringDefs.h:828:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRFontStruct ((char*)&XtStrings[1666]) ^ Tip.c:111:22: note: in expansion of macro 'XtRFontStruct' {XtNfont, XtCFont, XtRFontStruct, sizeof(XFontStruct*), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Tip.c:112:19: note: in expansion of macro 'XtRString' offset(font), XtRString, XtDefaultFont}, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from Tip.c:38: /usr/local/include/X11/Intrinsic.h:1657:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtDefaultFont "XtDefaultFont" ^ Tip.c:112:30: note: in expansion of macro 'XtDefaultFont' offset(font), XtRString, XtDefaultFont}, ^ In file included from ../include/X11/Xaw3dxft/TipP.h:35:0, from Tip.c:43: ../include/X11/Xaw3dxft/Tip.h:73:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNxftFont "xftFont" ^ Tip.c:113:4: note: in expansion of macro 'XtNxftFont' {XtNxftFont, XtCXftFont, XtRString, sizeof(String), ^ ../include/X11/Xaw3dxft/Tip.h:87:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCXftFont "XftFont" ^ Tip.c:113:16: note: in expansion of macro 'XtCXftFont' {XtNxftFont, XtCXftFont, XtRString, sizeof(String), ^ In file included from Tip.c:40: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]) ^ Tip.c:113:28: note: in expansion of macro 'XtRString' {XtNxftFont, XtCXftFont, 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]) ^ Tip.c:114:26: note: in expansion of macro 'XtRString' offset(xftfontname), XtRString, NULL}, ^ /usr/local/include/X11/StringDefs.h:948:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNfontSet ((char*)&XtStrings[2018]) ^ Tip.c:116:4: note: in expansion of macro 'XtNfontSet' {XtNfontSet, XtCFontSet, XtRFontSet, sizeof(XFontSet), ^ /usr/local/include/X11/StringDefs.h:954:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCFontSet ((char*)&XtStrings[2034]) ^ Tip.c:116:16: note: in expansion of macro 'XtCFontSet' {XtNfontSet, XtCFontSet, XtRFontSet, sizeof(XFontSet), ^ /usr/local/include/X11/StringDefs.h:951:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRFontSet ((char*)&XtStrings[2026]) ^ Tip.c:116:28: note: in expansion of macro 'XtRFontSet' {XtNfontSet, XtCFontSet, XtRFontSet, sizeof(XFontSet), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Tip.c:117:22: note: in expansion of macro 'XtRString' offset(fontset), XtRString, XtDefaultFontSet}, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from Tip.c:38: /usr/local/include/X11/Intrinsic.h:1658:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtDefaultFontSet "XtDefaultFontSet" ^ Tip.c:117:33: note: in expansion of macro 'XtDefaultFontSet' offset(fontset), XtRString, XtDefaultFontSet}, ^ In file included from Tip.c:40: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]) ^ Tip.c:119:4: note: in expansion of macro 'XtNlabel' {XtNlabel, XtCLabel, XtRString, sizeof(String), ^ /usr/local/include/X11/StringDefs.h:657:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCLabel ((char*)&XtStrings[1151]) ^ Tip.c:119:14: note: in expansion of macro 'XtCLabel' {XtNlabel, XtCLabel, 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]) ^ Tip.c:119:24: note: in expansion of macro 'XtRString' {XtNlabel, XtCLabel, 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]) ^ Tip.c:120:20: note: in expansion of macro 'XtRString' offset(label), XtRString, NULL}, ^ In file included from ../include/X11/Xaw3dxft/TipP.h:35:0, from Tip.c:43: ../include/X11/Xaw3dxft/Tip.h:70:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNencoding "encoding" ^ Tip.c:121:4: note: in expansion of macro 'XtNencoding' {XtNencoding, XtCEncoding, XtRUnsignedChar, sizeof(unsigned char), ^ ../include/X11/Xaw3dxft/Tip.h:84:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCEncoding "Encoding" ^ Tip.c:121:17: note: in expansion of macro 'XtCEncoding' {XtNencoding, XtCEncoding, XtRUnsignedChar, sizeof(unsigned char), ^ In file included from Tip.c:40:0: /usr/local/include/X11/StringDefs.h:885:26: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRUnsignedChar ((char*)&XtStrings[1828]) ^ Tip.c:121:30: note: in expansion of macro 'XtRUnsignedChar' {XtNencoding, XtCEncoding, XtRUnsignedChar, sizeof(unsigned char), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Tip.c:122:23: note: in expansion of macro 'XtRImmediate' offset(encoding), XtRImmediate, (XtPointer)XawTextEncoding8bit}, ^ /usr/local/include/X11/StringDefs.h:411:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNinternalHeight ((char*)&XtStrings[341]) ^ Tip.c:123:4: note: in expansion of macro 'XtNinternalHeight' {XtNinternalHeight, XtCHeight, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:630:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCHeight ((char*)&XtStrings[1051]) ^ Tip.c:123:23: note: in expansion of macro 'XtCHeight' {XtNinternalHeight, XtCHeight, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Tip.c:123:34: note: in expansion of macro 'XtRDimension' {XtNinternalHeight, XtCHeight, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Tip.c:124:30: note: in expansion of macro 'XtRImmediate' offset(internal_height), XtRImmediate, (XtPointer)2}, ^ /usr/local/include/X11/StringDefs.h:414:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNinternalWidth ((char*)&XtStrings[356]) ^ Tip.c:125:4: note: in expansion of macro 'XtNinternalWidth' {XtNinternalWidth, XtCWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:762:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCWidth ((char*)&XtStrings[1510]) ^ Tip.c:125:22: note: in expansion of macro 'XtCWidth' {XtNinternalWidth, XtCWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Tip.c:125:32: note: in expansion of macro 'XtRDimension' {XtNinternalWidth, XtCWidth, XtRDimension, sizeof(Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Tip.c:126:29: note: in expansion of macro 'XtRImmediate' offset(internal_width), XtRImmediate, (XtPointer)2}, ^ In file included from Tip.c:42:0: /usr/local/include/X11/Xmu/Converters.h:48:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbackingStore "backingStore" ^ Tip.c:127:4: note: in expansion of macro 'XtNbackingStore' {XtNbackingStore, XtCBackingStore, XtRBackingStore, sizeof(int), ^ /usr/local/include/X11/Xmu/Converters.h:49:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCBackingStore "BackingStore" ^ Tip.c:127:21: note: in expansion of macro 'XtCBackingStore' {XtNbackingStore, XtCBackingStore, XtRBackingStore, sizeof(int), ^ /usr/local/include/X11/Xmu/Converters.h:50:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRBackingStore "BackingStore" ^ Tip.c:127:38: note: in expansion of macro 'XtRBackingStore' {XtNbackingStore, XtCBackingStore, XtRBackingStore, sizeof(int), ^ In file included from Tip.c:40:0: /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Tip.c:128:28: note: in expansion of macro 'XtRImmediate' offset(backing_store), XtRImmediate, ^ In file included from ../include/X11/Xaw3dxft/TipP.h:35:0, from Tip.c:43: ../include/X11/Xaw3dxft/Tip.h:71:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNtimeout "timeout" ^ Tip.c:130:4: note: in expansion of macro 'XtNtimeout' {XtNtimeout, XtCTimeout, XtRInt, sizeof(int), ^ ../include/X11/Xaw3dxft/Tip.h:85:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCTimeout "Timeout" ^ Tip.c:130:16: note: in expansion of macro 'XtCTimeout' {XtNtimeout, XtCTimeout, XtRInt, sizeof(int), ^ In file included from Tip.c:40: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]) ^ Tip.c:130:28: note: in expansion of macro 'XtRInt' {XtNtimeout, XtCTimeout, 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]) ^ Tip.c:131:22: note: in expansion of macro 'XtRImmediate' offset(timeout), XtRImmediate, (XtPointer)1200}, ^ Tip.c:139:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Tip", /* class_name */ ^ Tip.c: In function 'XawCvtBackingStoreToString': Tip.c:202:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] buffer = XtEnotUseful; ^ Tip.c:205:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] buffer = XtEwhenMapped; ^ Tip.c:208:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] buffer = XtEalways; ^ Tip.c:211:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] buffer = XtEdefault; ^ In file included from Tip.c:40:0: Tip.c: In function 'XawTipClassInitialize': /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Tip.c:241:20: note: in expansion of macro 'XtRString' XtAddConverter(XtRString, XtRBackingStore, XmuCvtStringToBackingStore, ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Tip.c:243:41: note: in expansion of macro 'XtRString' XtSetTypeConverter(XtRBackingStore, XtRString, XawCvtBackingStoreToString, ^ Tip.c: In function 'XawTipRealize': /usr/local/include/X11/StringDefs.h:330:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNbackground ((char*)&XtStrings[52]) ^ Tip.c:332:19: note: in expansion of macro 'XtNbackground' XtVaSetValues(w, XtNbackground, _Xaw3dXft->tip_background_color, NULL); ^ --- ThreeD.lo --- mv -f .deps/ThreeD.Tpo .deps/ThreeD.Plo --- Tip.lo --- In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from Tip.c:38: Tip.c: In function 'TipTimeoutCallback': /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) )) ^ Tip.c:674:5: note: in expansion of macro 'XtSetArg' XtSetArg(args[0], XtNencoding, &info->tip->tip.encoding); ^ /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) )) ^ Tip.c:677:5: note: in expansion of macro 'XtSetArg' XtSetArg(args[1], XtNinternational, &info->tip->tip.international); ^ --- Toggle.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Toggle.lo -MD -MP -MF .deps/Toggle.Tpo -c -o Toggle.lo Toggle.c --- TextPop.lo --- mv -f .deps/TextPop.Tpo .deps/TextPop.Plo --- Tree.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Tree.lo -MD -MP -MF .deps/Tree.Tpo -c -o Tree.lo Tree.c --- Toggle.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Toggle.lo -MD -MP -MF .deps/Toggle.Tpo -c Toggle.c -fPIC -DPIC -o .libs/Toggle.o --- Tree.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Tree.lo -MD -MP -MF .deps/Tree.Tpo -c Tree.c -fPIC -DPIC -o .libs/Tree.o In file included from ../include/X11/Xaw3dxft/TreeP.h:55:0, from Tree.c:58: ../include/X11/Xaw3dxft/Tree.h:93:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNautoReconfigure "autoReconfigure" ^ Tree.c:87:7: note: in expansion of macro 'XtNautoReconfigure' { XtNautoReconfigure, XtCAutoReconfigure, XtRBoolean, sizeof (Boolean), ^ ../include/X11/Xaw3dxft/Tree.h:100:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCAutoReconfigure "AutoReconfigure" ^ Tree.c:87:27: note: in expansion of macro 'XtCAutoReconfigure' { XtNautoReconfigure, XtCAutoReconfigure, XtRBoolean, sizeof (Boolean), ^ In file included from Tree.c:55: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]) ^ Tree.c:87:47: note: in expansion of macro 'XtRBoolean' { XtNautoReconfigure, XtCAutoReconfigure, 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]) ^ Tree.c:88:46: note: in expansion of macro 'XtRImmediate' XtOffsetOf(TreeRec, tree.auto_reconfigure), XtRImmediate, ^ /usr/local/include/X11/StringDefs.h:390:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNhSpace ((char*)&XtStrings[251]) ^ Tree.c:90:7: note: in expansion of macro 'XtNhSpace' { XtNhSpace, XtCHSpace, XtRDimension, sizeof (Dimension), ^ /usr/local/include/X11/StringDefs.h:633:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCHSpace ((char*)&XtStrings[1058]) ^ Tree.c:90:18: note: in expansion of macro 'XtCHSpace' { XtNhSpace, XtCHSpace, XtRDimension, sizeof (Dimension), ^ /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Tree.c:90:29: note: in expansion of macro 'XtRDimension' { XtNhSpace, XtCHSpace, XtRDimension, sizeof (Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Tree.c:91:34: note: in expansion of macro 'XtRImmediate' XtOffsetOf(TreeRec, tree.hpad), XtRImmediate, (XtPointer) 0 }, ^ /usr/local/include/X11/StringDefs.h:561:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNvSpace ((char*)&XtStrings[865]) ^ Tree.c:92:7: note: in expansion of macro 'XtNvSpace' { XtNvSpace, XtCVSpace, XtRDimension, sizeof (Dimension), ^ /usr/local/include/X11/StringDefs.h:759:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCVSpace ((char*)&XtStrings[1503]) ^ Tree.c:92:18: note: in expansion of macro 'XtCVSpace' { XtNvSpace, XtCVSpace, XtRDimension, sizeof (Dimension), ^ /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Tree.c:92:29: note: in expansion of macro 'XtRDimension' { XtNvSpace, XtCVSpace, XtRDimension, sizeof (Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Tree.c:93:34: note: in expansion of macro 'XtRImmediate' XtOffsetOf(TreeRec, tree.vpad), XtRImmediate, (XtPointer) 0 }, ^ /usr/local/include/X11/StringDefs.h:378:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNforeground ((char*)&XtStrings[214]) ^ Tree.c:94:7: note: in expansion of macro 'XtNforeground' { XtNforeground, XtCForeground, XtRPixel, sizeof (Pixel), ^ /usr/local/include/X11/StringDefs.h:621:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCForeground ((char*)&XtStrings[1022]) ^ Tree.c:94:22: note: in expansion of macro 'XtCForeground' { XtNforeground, 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]) ^ Tree.c:94:37: note: in expansion of macro 'XtRPixel' { XtNforeground, XtCForeground, XtRPixel, sizeof (Pixel), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Tree.c:95:40: note: in expansion of macro 'XtRString' XtOffsetOf(TreeRec, tree.foreground), XtRString, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from Tree.c:54: /usr/local/include/X11/Intrinsic.h:1655:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtDefaultForeground "XtDefaultForeground" ^ Tree.c:96:2: note: in expansion of macro 'XtDefaultForeground' XtDefaultForeground}, ^ In file included from ../include/X11/Xaw3dxft/TreeP.h:55:0, from Tree.c:58: ../include/X11/Xaw3dxft/Tree.h:94:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNlineWidth "lineWidth" ^ Tree.c:97:7: note: in expansion of macro 'XtNlineWidth' { XtNlineWidth, XtCLineWidth, XtRDimension, sizeof (Dimension), ^ ../include/X11/Xaw3dxft/Tree.h:101:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCLineWidth "LineWidth" ^ Tree.c:97:21: note: in expansion of macro 'XtCLineWidth' { XtNlineWidth, XtCLineWidth, XtRDimension, sizeof (Dimension), ^ In file included from Tree.c:55:0: /usr/local/include/X11/StringDefs.h:807:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRDimension ((char*)&XtStrings[1618]) ^ Tree.c:97:35: note: in expansion of macro 'XtRDimension' { XtNlineWidth, XtCLineWidth, XtRDimension, sizeof (Dimension), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Tree.c:98:40: note: in expansion of macro 'XtRImmediate' XtOffsetOf(TreeRec, tree.line_width), XtRImmediate, (XtPointer) 0 }, ^ In file included from ../include/X11/Xaw3dxft/TreeP.h:55:0, from Tree.c:58: ../include/X11/Xaw3dxft/Tree.h:97:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNgravity "gravity" ^ Tree.c:99:7: note: in expansion of macro 'XtNgravity' { XtNgravity, XtCGravity, XtRGravity, sizeof (XtGravity), ^ ../include/X11/Xaw3dxft/Tree.h:104:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCGravity "Gravity" ^ Tree.c:99:19: note: in expansion of macro 'XtCGravity' { XtNgravity, XtCGravity, XtRGravity, sizeof (XtGravity), ^ In file included from Tree.c:55:0: /usr/local/include/X11/StringDefs.h:957:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRGravity ((char*)&XtStrings[2042]) ^ Tree.c:99:31: note: in expansion of macro 'XtRGravity' { XtNgravity, XtCGravity, XtRGravity, sizeof (XtGravity), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Tree.c:100:37: note: in expansion of macro 'XtRImmediate' XtOffsetOf(TreeRec, tree.gravity), XtRImmediate, ^ In file included from ../include/X11/Xaw3dxft/TreeP.h:55:0, from Tree.c:58: ../include/X11/Xaw3dxft/Tree.h:96:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNtreeParent "treeParent" ^ Tree.c:109:7: note: in expansion of macro 'XtNtreeParent' { XtNtreeParent, XtCTreeParent, XtRWidget, sizeof (Widget), ^ ../include/X11/Xaw3dxft/Tree.h:103:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCTreeParent "TreeParent" ^ Tree.c:109:22: note: in expansion of macro 'XtCTreeParent' { XtNtreeParent, XtCTreeParent, XtRWidget, sizeof (Widget), ^ In file included from Tree.c:55:0: /usr/local/include/X11/StringDefs.h:894:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRWidget ((char*)&XtStrings[1865]) ^ Tree.c:109:37: note: in expansion of macro 'XtRWidget' { XtNtreeParent, XtCTreeParent, XtRWidget, sizeof (Widget), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Tree.c:110:47: note: in expansion of macro 'XtRImmediate' XtOffsetOf(TreeConstraintsRec, tree.parent), XtRImmediate, NULL }, ^ In file included from ../include/X11/Xaw3dxft/TreeP.h:55:0, from Tree.c:58: ../include/X11/Xaw3dxft/Tree.h:95:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNtreeGC "treeGC" ^ Tree.c:111:7: note: in expansion of macro 'XtNtreeGC' { XtNtreeGC, XtCTreeGC, XtRGC, sizeof(GC), ^ ../include/X11/Xaw3dxft/Tree.h:102:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCTreeGC "TreeGC" ^ Tree.c:111:18: note: in expansion of macro 'XtCTreeGC' { XtNtreeGC, XtCTreeGC, XtRGC, sizeof(GC), ^ ../include/X11/Xaw3dxft/Tree.h:106:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRGC "GC" ^ Tree.c:111:29: note: in expansion of macro 'XtRGC' { XtNtreeGC, XtCTreeGC, XtRGC, sizeof(GC), ^ In file included from Tree.c:55:0: /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Tree.c:112:43: note: in expansion of macro 'XtRImmediate' XtOffsetOf(TreeConstraintsRec, tree.gc), XtRImmediate, NULL }, ^ Tree.c:120:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Tree", /* class_name */ ^ In file included from Tree.c:55:0: Tree.c: In function 'ClassInitialize': /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Tree.c:319:21: note: in expansion of macro 'XtRString' XtAddConverter (XtRString, XtRGravity, XmuCvtStringToGravity, ^ /usr/local/include/X11/StringDefs.h:957:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRGravity ((char*)&XtStrings[2042]) ^ Tree.c:319:32: note: in expansion of macro 'XtRGravity' XtAddConverter (XtRString, XtRGravity, XmuCvtStringToGravity, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from Tree.c:54: Tree.c: In function 'Initialize': /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) )) ^ Tree.c:360:26: note: in expansion of macro 'XtNwidth' XtSetArg(arglist[0], XtNwidth, 1); ^ /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) )) ^ Tree.c:361:26: note: in expansion of macro 'XtNheight' XtSetArg(arglist[1], XtNheight, 1); ^ --- Toggle.lo --- In file included from ../include/X11/Xaw3dxft/ToggleP.h:42:0, from Toggle.c:49: ../include/X11/Xaw3dxft/Toggle.h:101:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNstate "state" ^ Toggle.c:72:5: note: in expansion of macro 'XtNstate' {XtNstate, XtCState, XtRBoolean, sizeof(Boolean), ^ ../include/X11/Xaw3dxft/Toggle.h:93:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCState "State" ^ Toggle.c:72:15: note: in expansion of macro 'XtCState' {XtNstate, XtCState, XtRBoolean, sizeof(Boolean), ^ In file included from Toggle.c:45: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]) ^ Toggle.c:72:25: note: in expansion of macro 'XtRBoolean' {XtNstate, XtCState, XtRBoolean, sizeof(Boolean), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Toggle.c:73:28: note: in expansion of macro 'XtRString' offset(command.set), XtRString, "off"}, ^ Toggle.c:73:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] offset(command.set), XtRString, "off"}, ^ In file included from ../include/X11/Xaw3dxft/ToggleP.h:42:0, from Toggle.c:49: ../include/X11/Xaw3dxft/Toggle.h:102:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNradioGroup "radioGroup" ^ Toggle.c:74:5: note: in expansion of macro 'XtNradioGroup' {XtNradioGroup, XtCWidget, XtRWidget, sizeof(Widget), ^ ../include/X11/Xaw3dxft/Toggle.h:92:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCWidget "Widget" ^ Toggle.c:74:20: note: in expansion of macro 'XtCWidget' {XtNradioGroup, XtCWidget, XtRWidget, sizeof(Widget), ^ In file included from Toggle.c:45:0: /usr/local/include/X11/StringDefs.h:894:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRWidget ((char*)&XtStrings[1865]) ^ Toggle.c:74:31: note: in expansion of macro 'XtRWidget' {XtNradioGroup, XtCWidget, XtRWidget, sizeof(Widget), ^ /usr/local/include/X11/StringDefs.h:894:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRWidget ((char*)&XtStrings[1865]) ^ Toggle.c:75:30: note: in expansion of macro 'XtRWidget' offset(toggle.widget), XtRWidget, (XtPointer) NULL }, ^ In file included from ../include/X11/Xaw3dxft/ToggleP.h:42:0, from Toggle.c:49: ../include/X11/Xaw3dxft/Toggle.h:103:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNradioData "radioData" ^ Toggle.c:76:5: note: in expansion of macro 'XtNradioData' {XtNradioData, XtCRadioData, XtRPointer, sizeof(XtPointer), ^ ../include/X11/Xaw3dxft/Toggle.h:95:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCRadioData "RadioData" ^ Toggle.c:76:19: note: in expansion of macro 'XtCRadioData' {XtNradioData, XtCRadioData, XtRPointer, sizeof(XtPointer), ^ In file included from Toggle.c:45:0: /usr/local/include/X11/StringDefs.h:864:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPointer ((char*)&XtStrings[1767]) ^ Toggle.c:76:33: note: in expansion of macro 'XtRPointer' {XtNradioData, XtCRadioData, XtRPointer, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:864:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPointer ((char*)&XtStrings[1767]) ^ Toggle.c:77:34: note: in expansion of macro 'XtRPointer' offset(toggle.radio_data), XtRPointer, (XtPointer) NULL }, ^ Toggle.c:101:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"toggle", Toggle}, ^ Toggle.c:102:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"notify", Notify}, ^ Toggle.c:103:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"set", ToggleSet}, ^ Toggle.c:111:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "Toggle", /* class_name */ ^ In file included from Toggle.c:45:0: Toggle.c: In function 'ClassInit': /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Toggle.c:184:22: note: in expansion of macro 'XtRString' XtSetTypeConverter(XtRString, XtRWidget, XmuNewCvtStringToWidget, ^ /usr/local/include/X11/StringDefs.h:894:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRWidget ((char*)&XtStrings[1865]) ^ Toggle.c:184:33: note: in expansion of macro 'XtRWidget' XtSetTypeConverter(XtRString, XtRWidget, XmuNewCvtStringToWidget, ^ Toggle.c: In function 'Initialize': /usr/local/include/X11/StringDefs.h:363:29: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNdestroyCallback ((char*)&XtStrings[169]) ^ Toggle.c:228:24: note: in expansion of macro 'XtNdestroyCallback' XtAddCallback(new, XtNdestroyCallback, ToggleDestroy, (XtPointer)NULL); ^ Toggle.c: In function 'Notify': /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ Toggle.c:280:23: note: in expansion of macro 'XtNcallback' XtCallCallbacks( w, XtNcallback, (XtPointer) antilint ); ^ libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Toggle.lo -MD -MP -MF .deps/Toggle.Tpo -c Toggle.c -o Toggle.o >/dev/null 2>&1 mv -f .deps/Toggle.Tpo .deps/Toggle.Plo --- Vendor.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Vendor.lo -MD -MP -MF .deps/Vendor.Tpo -c -o Vendor.lo Vendor.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Vendor.lo -MD -MP -MF .deps/Vendor.Tpo -c Vendor.c -fPIC -DPIC -o .libs/Vendor.o In file included from /usr/local/include/X11/ShellP.h:60:0, from Vendor.c:70: /usr/local/include/X11/Shell.h:308:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNinput ((char*)&XtShellStrings[417]) ^ Vendor.c:91:4: note: in expansion of macro 'XtNinput' {XtNinput, XtCInput, XtRBool, sizeof(Bool), ^ /usr/local/include/X11/Shell.h:311:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCInput ((char*)&XtShellStrings[423]) ^ Vendor.c:91:14: note: in expansion of macro 'XtCInput' {XtNinput, XtCInput, XtRBool, sizeof(Bool), ^ In file included from Vendor.c:69:0: /usr/local/include/X11/StringDefs.h:783:18: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBool ((char*)&XtStrings[1556]) ^ Vendor.c:91:24: note: in expansion of macro 'XtRBool' {XtNinput, XtCInput, XtRBool, sizeof(Bool), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Vendor.c:93:3: note: in expansion of macro 'XtRImmediate' XtRImmediate, (XtPointer)True} ^ Vendor.c:174:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "VendorShell", ^ In file included from ../include/X11/Xaw3dxft/VendorEP.h:57:0, from Vendor.c:85: ../include/X11/Xaw3dxft/XawImP.h:57:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNinputMethod "inputMethod" ^ Vendor.c:244:4: note: in expansion of macro 'XtNinputMethod' {XtNinputMethod, XtCInputMethod, XtRString, sizeof(String), ^ ../include/X11/Xaw3dxft/XawImP.h:58:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCInputMethod "InputMethod" ^ Vendor.c:244:20: note: in expansion of macro 'XtCInputMethod' {XtNinputMethod, XtCInputMethod, XtRString, sizeof(String), ^ In file included from Vendor.c:69: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]) ^ Vendor.c:244:36: note: in expansion of macro 'XtRString' {XtNinputMethod, XtCInputMethod, 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]) ^ Vendor.c:246:3: note: in expansion of macro 'XtRString' XtRString, (XtPointer)NULL}, ^ In file included from ../include/X11/Xaw3dxft/VendorEP.h:57:0, from Vendor.c:85: ../include/X11/Xaw3dxft/XawImP.h:59:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNpreeditType "preeditType" ^ Vendor.c:247:4: note: in expansion of macro 'XtNpreeditType' {XtNpreeditType, XtCPreeditType, XtRString, sizeof(String), ^ ../include/X11/Xaw3dxft/XawImP.h:60:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCPreeditType "PreeditType" ^ Vendor.c:247:20: note: in expansion of macro 'XtCPreeditType' {XtNpreeditType, XtCPreeditType, XtRString, sizeof(String), ^ In file included from Vendor.c:69: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]) ^ Vendor.c:247:36: note: in expansion of macro 'XtRString' {XtNpreeditType, XtCPreeditType, 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]) ^ Vendor.c:249:3: note: in expansion of macro 'XtRString' XtRString, (XtPointer)"OverTheSpot,OffTheSpot,Root"}, ^ Vendor.c:249:14: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] XtRString, (XtPointer)"OverTheSpot,OffTheSpot,Root"}, ^ In file included from ../include/X11/Xaw3dxft/VendorEP.h:57:0, from Vendor.c:85: ../include/X11/Xaw3dxft/XawImP.h:61:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNopenIm "openIm" ^ Vendor.c:250:4: note: in expansion of macro 'XtNopenIm' {XtNopenIm, XtCOpenIm, XtRBoolean, sizeof(Boolean), ^ ../include/X11/Xaw3dxft/XawImP.h:62:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCOpenIm "OpenIm" ^ Vendor.c:250:15: note: in expansion of macro 'XtCOpenIm' {XtNopenIm, XtCOpenIm, XtRBoolean, sizeof(Boolean), ^ In file included from Vendor.c:69: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]) ^ Vendor.c:250:26: note: in expansion of macro 'XtRBoolean' {XtNopenIm, XtCOpenIm, 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]) ^ Vendor.c:252:3: note: in expansion of macro 'XtRImmediate' XtRImmediate, (XtPointer)TRUE}, ^ In file included from ../include/X11/Xaw3dxft/VendorEP.h:57:0, from Vendor.c:85: ../include/X11/Xaw3dxft/XawImP.h:63:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNsharedIc "sharedIc" ^ Vendor.c:253:4: note: in expansion of macro 'XtNsharedIc' {XtNsharedIc, XtCSharedIc, XtRBoolean, sizeof(Boolean), ^ ../include/X11/Xaw3dxft/XawImP.h:64:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCSharedIc "SharedIc" ^ Vendor.c:253:17: note: in expansion of macro 'XtCSharedIc' {XtNsharedIc, XtCSharedIc, XtRBoolean, sizeof(Boolean), ^ In file included from Vendor.c:69: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]) ^ Vendor.c:253:30: note: in expansion of macro 'XtRBoolean' {XtNsharedIc, XtCSharedIc, 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]) ^ Vendor.c:255:3: note: in expansion of macro 'XtRImmediate' XtRImmediate, (XtPointer)FALSE} ^ Vendor.c:267:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "VendorShellExt", ^ Vendor.c: In function 'XawVendorShellClassInitialize': Vendor.c:419:28: warning: declaration of 'screenConvertArg' shadows a global declaration [-Wshadow] static XtConvertArgRec screenConvertArg[] = { ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from ../include/X11/Xaw3dxft/Xaw3dP.h:33, from Vendor.c:66: /usr/local/include/X11/Intrinsic.h:624:35: note: shadowed declaration is here externalref XtConvertArgRec const screenConvertArg[]; ^ In file included from Vendor.c:69: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]) ^ Vendor.c:435:20: note: in expansion of macro 'XtRString' XtAddConverter(XtRString, XtRCursor, XmuCvtStringToCursor, ^ /usr/local/include/X11/StringDefs.h:804:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCursor ((char*)&XtStrings[1611]) ^ Vendor.c:435:31: note: in expansion of macro 'XtRCursor' XtAddConverter(XtRString, XtRCursor, XmuCvtStringToCursor, ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Vendor.c:444:20: note: in expansion of macro 'XtRString' XtAddConverter(XtRString, XtRBitmap, XmuCvtStringToBitmap, ^ /usr/local/include/X11/StringDefs.h:780:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBitmap ((char*)&XtStrings[1549]) ^ Vendor.c:444:31: note: in expansion of macro 'XtRBitmap' XtAddConverter(XtRString, XtRBitmap, XmuCvtStringToBitmap, ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ Vendor.c:448:40: note: in expansion of macro 'XtRString' XtSetTypeConverter("CompoundText", XtRString, XawCvtCompoundTextToString, ^ --- Tip.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Tip.lo -MD -MP -MF .deps/Tip.Tpo -c Tip.c -o Tip.o >/dev/null 2>&1 --- Vendor.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Vendor.lo -MD -MP -MF .deps/Vendor.Tpo -c Vendor.c -o Vendor.o >/dev/null 2>&1 mv -f .deps/Vendor.Tpo .deps/Vendor.Plo --- Viewport.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Viewport.lo -MD -MP -MF .deps/Viewport.Tpo -c -o Viewport.lo Viewport.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Viewport.lo -MD -MP -MF .deps/Viewport.Tpo -c Viewport.c -fPIC -DPIC -o .libs/Viewport.o In file included from Viewport.c:53:0: /usr/local/include/X11/StringDefs.h:375:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNforceBars ((char*)&XtStrings[204]) ^ Viewport.c:69:6: note: in expansion of macro 'XtNforceBars' {XtNforceBars, XtCBoolean, XtRBoolean, sizeof(Boolean), ^ /usr/local/include/X11/StringDefs.h:585:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCBoolean ((char*)&XtStrings[920]) ^ Viewport.c:69:20: note: in expansion of macro 'XtCBoolean' {XtNforceBars, XtCBoolean, XtRBoolean, sizeof(Boolean), ^ /usr/local/include/X11/StringDefs.h:786:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((char*)&XtStrings[1561]) ^ Viewport.c:69:32: note: in expansion of macro 'XtRBoolean' {XtNforceBars, XtCBoolean, 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]) ^ Viewport.c:70:22: note: in expansion of macro 'XtRImmediate' offset(forcebars), XtRImmediate, (XtPointer)False}, ^ /usr/local/include/X11/StringDefs.h:321:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNallowHoriz ((char*)&XtStrings[13]) ^ Viewport.c:71:6: note: in expansion of macro 'XtNallowHoriz' {XtNallowHoriz, XtCBoolean, XtRBoolean, sizeof(Boolean), ^ /usr/local/include/X11/StringDefs.h:585:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCBoolean ((char*)&XtStrings[920]) ^ Viewport.c:71:21: note: in expansion of macro 'XtCBoolean' {XtNallowHoriz, XtCBoolean, XtRBoolean, sizeof(Boolean), ^ /usr/local/include/X11/StringDefs.h:786:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((char*)&XtStrings[1561]) ^ Viewport.c:71:33: note: in expansion of macro 'XtRBoolean' {XtNallowHoriz, XtCBoolean, 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]) ^ Viewport.c:72:23: note: in expansion of macro 'XtRImmediate' offset(allowhoriz), XtRImmediate, (XtPointer)False}, ^ /usr/local/include/X11/StringDefs.h:324:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNallowVert ((char*)&XtStrings[24]) ^ Viewport.c:73:6: note: in expansion of macro 'XtNallowVert' {XtNallowVert, XtCBoolean, XtRBoolean, sizeof(Boolean), ^ /usr/local/include/X11/StringDefs.h:585:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCBoolean ((char*)&XtStrings[920]) ^ Viewport.c:73:20: note: in expansion of macro 'XtCBoolean' {XtNallowVert, XtCBoolean, XtRBoolean, sizeof(Boolean), ^ /usr/local/include/X11/StringDefs.h:786:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((char*)&XtStrings[1561]) ^ Viewport.c:73:32: note: in expansion of macro 'XtRBoolean' {XtNallowVert, XtCBoolean, 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]) ^ Viewport.c:74:22: note: in expansion of macro 'XtRImmediate' offset(allowvert), XtRImmediate, (XtPointer)False}, ^ /usr/local/include/X11/StringDefs.h:552:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNuseBottom ((char*)&XtStrings[840]) ^ Viewport.c:75:6: note: in expansion of macro 'XtNuseBottom' {XtNuseBottom, XtCBoolean, XtRBoolean, sizeof(Boolean), ^ /usr/local/include/X11/StringDefs.h:585:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCBoolean ((char*)&XtStrings[920]) ^ Viewport.c:75:20: note: in expansion of macro 'XtCBoolean' {XtNuseBottom, XtCBoolean, XtRBoolean, sizeof(Boolean), ^ /usr/local/include/X11/StringDefs.h:786:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((char*)&XtStrings[1561]) ^ Viewport.c:75:32: note: in expansion of macro 'XtRBoolean' {XtNuseBottom, XtCBoolean, 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]) ^ Viewport.c:76:22: note: in expansion of macro 'XtRImmediate' offset(usebottom), XtRImmediate, (XtPointer)False}, ^ /usr/local/include/X11/StringDefs.h:555:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNuseRight ((char*)&XtStrings[850]) ^ Viewport.c:77:6: note: in expansion of macro 'XtNuseRight' {XtNuseRight, XtCBoolean, XtRBoolean, sizeof(Boolean), ^ /usr/local/include/X11/StringDefs.h:585:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCBoolean ((char*)&XtStrings[920]) ^ Viewport.c:77:19: note: in expansion of macro 'XtCBoolean' {XtNuseRight, XtCBoolean, XtRBoolean, sizeof(Boolean), ^ /usr/local/include/X11/StringDefs.h:786:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((char*)&XtStrings[1561]) ^ Viewport.c:77:31: note: in expansion of macro 'XtRBoolean' {XtNuseRight, XtCBoolean, 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]) ^ Viewport.c:78:21: note: in expansion of macro 'XtRImmediate' offset(useright), XtRImmediate, (XtPointer)False}, ^ In file included from ../include/X11/Xaw3dxft/ViewportP.h:56:0, from Viewport.c:58: ../include/X11/Xaw3dxft/Viewport.h:88:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNsbShiftX1 "sbShiftX1" ^ Viewport.c:79:6: note: in expansion of macro 'XtNsbShiftX1' {XtNsbShiftX1, XtCPosition, XtRPosition, sizeof(Position), ^ In file included from Viewport.c:53:0: /usr/local/include/X11/StringDefs.h:684:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCPosition ((char*)&XtStrings[1235]) ^ Viewport.c:79:20: note: in expansion of macro 'XtCPosition' {XtNsbShiftX1, XtCPosition, XtRPosition, sizeof(Position), ^ /usr/local/include/X11/StringDefs.h:867:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPosition ((char*)&XtStrings[1775]) ^ Viewport.c:79:33: note: in expansion of macro 'XtRPosition' {XtNsbShiftX1, XtCPosition, XtRPosition, sizeof(Position), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Viewport.c:80:22: note: in expansion of macro 'XtRImmediate' offset(sbShiftX1), XtRImmediate, (XtPointer)0}, ^ In file included from ../include/X11/Xaw3dxft/ViewportP.h:56:0, from Viewport.c:58: ../include/X11/Xaw3dxft/Viewport.h:89:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNsbShiftX2 "sbShiftX2" ^ Viewport.c:81:6: note: in expansion of macro 'XtNsbShiftX2' {XtNsbShiftX2, XtCPosition, XtRPosition, sizeof(Position), ^ In file included from Viewport.c:53:0: /usr/local/include/X11/StringDefs.h:684:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCPosition ((char*)&XtStrings[1235]) ^ Viewport.c:81:20: note: in expansion of macro 'XtCPosition' {XtNsbShiftX2, XtCPosition, XtRPosition, sizeof(Position), ^ /usr/local/include/X11/StringDefs.h:867:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPosition ((char*)&XtStrings[1775]) ^ Viewport.c:81:33: note: in expansion of macro 'XtRPosition' {XtNsbShiftX2, XtCPosition, XtRPosition, sizeof(Position), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Viewport.c:82:22: note: in expansion of macro 'XtRImmediate' offset(sbShiftX2), XtRImmediate, (XtPointer)0}, ^ In file included from ../include/X11/Xaw3dxft/ViewportP.h:56:0, from Viewport.c:58: ../include/X11/Xaw3dxft/Viewport.h:90:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNsbShiftY1 "sbShiftY1" ^ Viewport.c:83:6: note: in expansion of macro 'XtNsbShiftY1' {XtNsbShiftY1, XtCPosition, XtRPosition, sizeof(Position), ^ In file included from Viewport.c:53:0: /usr/local/include/X11/StringDefs.h:684:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCPosition ((char*)&XtStrings[1235]) ^ Viewport.c:83:20: note: in expansion of macro 'XtCPosition' {XtNsbShiftY1, XtCPosition, XtRPosition, sizeof(Position), ^ /usr/local/include/X11/StringDefs.h:867:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPosition ((char*)&XtStrings[1775]) ^ Viewport.c:83:33: note: in expansion of macro 'XtRPosition' {XtNsbShiftY1, XtCPosition, XtRPosition, sizeof(Position), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Viewport.c:84:22: note: in expansion of macro 'XtRImmediate' offset(sbShiftY1), XtRImmediate, (XtPointer)0}, ^ In file included from ../include/X11/Xaw3dxft/ViewportP.h:56:0, from Viewport.c:58: ../include/X11/Xaw3dxft/Viewport.h:91:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNsbShiftY2 "sbShiftY2" ^ Viewport.c:85:6: note: in expansion of macro 'XtNsbShiftY2' {XtNsbShiftY2, XtCPosition, XtRPosition, sizeof(Position), ^ In file included from Viewport.c:53:0: /usr/local/include/X11/StringDefs.h:684:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCPosition ((char*)&XtStrings[1235]) ^ Viewport.c:85:20: note: in expansion of macro 'XtCPosition' {XtNsbShiftY2, XtCPosition, XtRPosition, sizeof(Position), ^ /usr/local/include/X11/StringDefs.h:867:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPosition ((char*)&XtStrings[1775]) ^ Viewport.c:85:33: note: in expansion of macro 'XtRPosition' {XtNsbShiftY2, XtCPosition, XtRPosition, sizeof(Position), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Viewport.c:86:22: note: in expansion of macro 'XtRImmediate' offset(sbShiftY2), XtRImmediate, (XtPointer)0}, ^ In file included from ../include/X11/Xaw3dxft/Viewport.h:53:0, from ../include/X11/Xaw3dxft/ViewportP.h:56, from Viewport.c:58: ../include/X11/Xaw3dxft/Reports.h:50:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNreportCallback "reportCallback" ^ Viewport.c:87:6: note: in expansion of macro 'XtNreportCallback' {XtNreportCallback, XtCReportCallback, XtRCallback, sizeof(XtPointer), ^ ../include/X11/Xaw3dxft/Reports.h:51:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCReportCallback "reportCallback" ^ Viewport.c:87:25: note: in expansion of macro 'XtCReportCallback' {XtNreportCallback, XtCReportCallback, XtRCallback, sizeof(XtPointer), ^ In file included from Viewport.c:53:0: /usr/local/include/X11/StringDefs.h:789:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCallback ((char*)&XtStrings[1569]) ^ Viewport.c:87:44: note: in expansion of macro 'XtRCallback' {XtNreportCallback, XtCReportCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ Viewport.c:88:29: note: in expansion of macro 'XtRImmediate' offset(report_callbacks), XtRImmediate, (XtPointer) NULL}, ^ Viewport.c:106:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "Viewport", ^ In file included from Viewport.c:53:0: Viewport.c: In function 'CreateScrollbar': /usr/local/include/X11/StringDefs.h:459:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNorientation ((char*)&XtStrings[505]) ^ Viewport.c:172:3: note: in expansion of macro 'XtNorientation' {XtNorientation, (XtArgVal) 0}, ^ /usr/local/include/X11/StringDefs.h:438:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlength ((char*)&XtStrings[435]) ^ Viewport.c:173:3: note: in expansion of macro 'XtNlength' {XtNlength, (XtArgVal) 0}, ^ In file included from ../include/X11/Xaw3dxft/Viewport.h:52:0, from ../include/X11/Xaw3dxft/ViewportP.h:56, from Viewport.c:58: ../include/X11/Xaw3dxft/Form.h:102:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNleft "left" ^ Viewport.c:174:3: note: in expansion of macro 'XtNleft' {XtNleft, (XtArgVal) 0}, ^ ../include/X11/Xaw3dxft/Form.h:103:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNright "right" ^ Viewport.c:175:3: note: in expansion of macro 'XtNright' {XtNright, (XtArgVal) 0}, ^ In file included from Viewport.c:53:0: /usr/local/include/X11/StringDefs.h:540:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNtop ((char*)&XtStrings[798]) ^ Viewport.c:176:3: note: in expansion of macro 'XtNtop' {XtNtop, (XtArgVal) 0}, ^ In file included from ../include/X11/Xaw3dxft/Viewport.h:52:0, from ../include/X11/Xaw3dxft/ViewportP.h:56, from Viewport.c:58: ../include/X11/Xaw3dxft/Form.h:101:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbottom "bottom" ^ Viewport.c:177:3: note: in expansion of macro 'XtNbottom' {XtNbottom, (XtArgVal) 0}, ^ In file included from Viewport.c:53:0: /usr/local/include/X11/StringDefs.h:444:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNmappedWhenManaged ((char*)&XtStrings[453]) ^ Viewport.c:178:3: note: in expansion of macro 'XtNmappedWhenManaged' {XtNmappedWhenManaged, (XtArgVal) False}, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from Viewport.c:52: /usr/local/include/X11/StringDefs.h:459:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNorientation ((char*)&XtStrings[505]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ Viewport.c:182:26: note: in expansion of macro 'XtNorientation' XtSetArg(barArgs[0], XtNorientation, ^ /usr/local/include/X11/StringDefs.h:438:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlength ((char*)&XtStrings[435]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ Viewport.c:184:26: note: in expansion of macro 'XtNlength' XtSetArg(barArgs[1], XtNlength, ^ /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) )) ^ Viewport.c:186:5: note: in expansion of macro 'XtSetArg' XtSetArg(barArgs[2], XtNleft, ^ /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) )) ^ Viewport.c:188:5: note: in expansion of macro 'XtSetArg' XtSetArg(barArgs[3], XtNright, ^ /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) )) ^ Viewport.c:190:26: note: in expansion of macro 'XtNtop' XtSetArg(barArgs[4], XtNtop, ^ /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) )) ^ Viewport.c:192:5: note: in expansion of macro 'XtSetArg' XtSetArg(barArgs[5], XtNbottom, ^ In file included from Viewport.c:53:0: /usr/local/include/X11/StringDefs.h:483:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNscrollProc ((char*)&XtStrings[591]) ^ Viewport.c:198:25: note: in expansion of macro 'XtNscrollProc' XtAddCallback( bar, XtNscrollProc, ScrollUpDownProc, (XtPointer)w ); ^ /usr/local/include/X11/StringDefs.h:417:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNjumpProc ((char*)&XtStrings[370]) ^ Viewport.c:199:25: note: in expansion of macro 'XtNjumpProc' XtAddCallback( bar, XtNjumpProc, ThumbProc, (XtPointer)w ); ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from Viewport.c:52: Viewport.c: In function 'Initialize': /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) )) ^ Viewport.c:246:5: note: in expansion of macro 'XtSetArg' XtSetArg(threeD_args[arg_cnt], XtNleft, XtChainLeft); arg_cnt++; ^ /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) )) ^ Viewport.c:247:5: note: in expansion of macro 'XtSetArg' XtSetArg(threeD_args[arg_cnt], XtNright, XtChainRight); arg_cnt++; ^ /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) )) ^ Viewport.c:248:36: note: in expansion of macro 'XtNtop' XtSetArg(threeD_args[arg_cnt], XtNtop, XtChainTop); arg_cnt++; ^ /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) )) ^ Viewport.c:249:5: note: in expansion of macro 'XtSetArg' XtSetArg(threeD_args[arg_cnt], XtNbottom, XtChainBottom); arg_cnt++; ^ /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) )) ^ Viewport.c:250:36: note: in expansion of macro 'XtNwidth' XtSetArg(threeD_args[arg_cnt], XtNwidth, w->core.width); arg_cnt++; ^ /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) )) ^ Viewport.c:251:36: note: in expansion of macro 'XtNheight' XtSetArg(threeD_args[arg_cnt], XtNheight, w->core.height); arg_cnt++; ^ /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) )) ^ Viewport.c:252:5: note: in expansion of macro 'XtSetArg' XtSetArg(threeD_args[arg_cnt], XtNrelief, XtReliefSunken); arg_cnt++; ^ /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) )) ^ Viewport.c:262:33: note: in expansion of macro 'XtNborderWidth' XtSetArg(threeD_args[arg_cnt], XtNborderWidth, 0); arg_cnt++; ^ /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) )) ^ Viewport.c:271:34: note: in expansion of macro 'XtNbackgroundPixmap' XtSetArg(clip_args[arg_cnt], XtNbackgroundPixmap, None); arg_cnt++; ^ /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) )) ^ Viewport.c:272:34: note: in expansion of macro 'XtNborderWidth' XtSetArg(clip_args[arg_cnt], XtNborderWidth, 0); arg_cnt++; ^ /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) )) ^ Viewport.c:273:5: note: in expansion of macro 'XtSetArg' XtSetArg(clip_args[arg_cnt], XtNleft, XtChainLeft); arg_cnt++; ^ /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) )) ^ Viewport.c:274:5: note: in expansion of macro 'XtSetArg' XtSetArg(clip_args[arg_cnt], XtNright, XtChainRight); arg_cnt++; ^ /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) )) ^ Viewport.c:275:34: note: in expansion of macro 'XtNtop' XtSetArg(clip_args[arg_cnt], XtNtop, XtChainTop); arg_cnt++; ^ /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) )) ^ Viewport.c:276:5: note: in expansion of macro 'XtSetArg' XtSetArg(clip_args[arg_cnt], XtNbottom, XtChainBottom); arg_cnt++; ^ /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) )) ^ Viewport.c:277:34: note: in expansion of macro 'XtNwidth' XtSetArg(clip_args[arg_cnt], XtNwidth, w->core.width - 2 * sw); arg_cnt++; ^ /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) )) ^ Viewport.c:278:34: note: in expansion of macro 'XtNheight' XtSetArg(clip_args[arg_cnt], XtNheight, w->core.height - 2 * sw); arg_cnt++; ^ /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) )) ^ Viewport.c:312:34: note: in expansion of macro 'XtNwidth' XtSetArg(clip_args[arg_cnt], XtNwidth, clip_width); arg_cnt++; ^ /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) )) ^ Viewport.c:313:34: note: in expansion of macro 'XtNheight' XtSetArg(clip_args[arg_cnt], XtNheight, clip_height); arg_cnt++; ^ --- Tip.lo --- mv -f .deps/Tip.Tpo .deps/Tip.Plo --- Tree.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Tree.lo -MD -MP -MF .deps/Tree.Tpo -c Tree.c -o Tree.o >/dev/null 2>&1 --- Xaw3dP.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Xaw3dP.lo -MD -MP -MF .deps/Xaw3dP.Tpo -c -o Xaw3dP.lo Xaw3dP.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Xaw3dP.lo -MD -MP -MF .deps/Xaw3dP.Tpo -c Xaw3dP.c -fPIC -DPIC -o .libs/Xaw3dP.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Xaw3dP.lo -MD -MP -MF .deps/Xaw3dP.Tpo -c Xaw3dP.c -o Xaw3dP.o >/dev/null 2>&1 mv -f .deps/Xaw3dP.Tpo .deps/Xaw3dP.Plo --- Xaw3dXft.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Xaw3dXft.lo -MD -MP -MF .deps/Xaw3dXft.Tpo -c -o Xaw3dXft.lo Xaw3dXft.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Xaw3dXft.lo -MD -MP -MF .deps/Xaw3dXft.Tpo -c Xaw3dXft.c -fPIC -DPIC -o .libs/Xaw3dXft.o Xaw3dXft.c: In function 'Xaw3dXftGetFont': Xaw3dXft.c:117:34: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] _Xaw3dXft->default_fontname = XAW3DXFT_DEFAULTFONT; ^ In file included from ../include/X11/Xaw3dxft/Xaw3dXft.h:51:0, from ../include/X11/Xaw3dxft/TextP.h:54, from ../include/X11/Xaw3dxft/AsciiTextP.h:72, from Xaw3dXft.c:44: Xaw3dXft.c: In function 'AdjustBackground': /usr/local/include/X11/StringDefs.h:330:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNbackground ((char*)&XtStrings[52]) ^ Xaw3dXft.c:165:27: note: in expansion of macro 'XtNbackground' XtVaGetValues(ww, XtNbackground, &bg, XtNforeground, &fg, NULL); ^ /usr/local/include/X11/StringDefs.h:378:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNforeground ((char*)&XtStrings[214]) ^ Xaw3dXft.c:165:47: note: in expansion of macro 'XtNforeground' XtVaGetValues(ww, XtNbackground, &bg, XtNforeground, &fg, NULL); ^ /usr/local/include/X11/StringDefs.h:357:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcolormap ((char*)&XtStrings[154]) ^ Xaw3dXft.c:167:24: note: in expansion of macro 'XtNcolormap' XtVaGetValues(ww, XtNcolormap, &cmap, NULL); ^ Xaw3dXft.c: In function 'Xaw3dXftDrawString': /usr/local/include/X11/StringDefs.h:378:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNforeground ((char*)&XtStrings[214]) ^ Xaw3dXft.c:214:22: note: in expansion of macro 'XtNforeground' XtVaGetValues(w, XtNforeground, &fg, XtNcolormap, &cmap, NULL); ^ /usr/local/include/X11/StringDefs.h:357:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcolormap ((char*)&XtStrings[154]) ^ Xaw3dXft.c:214:42: note: in expansion of macro 'XtNcolormap' XtVaGetValues(w, XtNforeground, &fg, XtNcolormap, &cmap, NULL); ^ /usr/local/include/X11/StringDefs.h:330:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNbackground ((char*)&XtStrings[52]) ^ Xaw3dXft.c:299:22: note: in expansion of macro 'XtNbackground' XtVaGetValues(w, XtNbackground, &bg, NULL); ^ libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Xaw3dXft.lo -MD -MP -MF .deps/Xaw3dXft.Tpo -c Xaw3dXft.c -o Xaw3dXft.o >/dev/null 2>&1 --- TextAction.lo --- mv -f .deps/TextAction.Tpo .deps/TextAction.Plo --- XawInit.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT XawInit.lo -MD -MP -MF .deps/XawInit.Tpo -c -o XawInit.lo XawInit.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT XawInit.lo -MD -MP -MF .deps/XawInit.Tpo -c XawInit.c -fPIC -DPIC -o .libs/XawInit.o --- Tree.lo --- mv -f .deps/Tree.Tpo .deps/Tree.Plo --- laylex.c --- test -f laylex.c || /bin/sh ../ylwrap laylex.l lex.yy.c laylex.c -- flex --- MultiSrc.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT MultiSrc.lo -MD -MP -MF .deps/MultiSrc.Tpo -c -o MultiSrc.lo MultiSrc.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT MultiSrc.lo -MD -MP -MF .deps/MultiSrc.Tpo -c MultiSrc.c -fPIC -DPIC -o .libs/MultiSrc.o --- XawInit.lo --- In file included from ../include/X11/Xaw3dxft/Xaw3dXft.h:53:0, from ../include/X11/Xaw3dxft/Xaw3dXftP.h:42, from XawInit.c:41: ../include/X11/Xaw3dxft/XawInit.h:28:13: warning: redundant redeclaration of 'XawInitializeWidgetSet' [-Wredundant-decls] extern void XawInitializeWidgetSet(void); /* called from ClassInit procs */ ^ In file included from XawInit.c:40:0: ../include/X11/Xaw3dxft/XawInit.h:28:13: note: previous declaration of 'XawInitializeWidgetSet' was here extern void XawInitializeWidgetSet(void); /* called from ClassInit procs */ ^ libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT XawInit.lo -MD -MP -MF .deps/XawInit.Tpo -c XawInit.c -o XawInit.o >/dev/null 2>&1 --- MultiSrc.lo --- In file included from ../include/X11/Xaw3dxft/Xaw3dXft.h:53:0, from ../include/X11/Xaw3dxft/TextP.h:54, from ../include/X11/Xaw3dxft/TextSrcP.h:64, from ../include/X11/Xaw3dxft/MultiSrcP.h:102, from MultiSrc.c:69: ../include/X11/Xaw3dxft/XawInit.h:28:13: warning: redundant redeclaration of 'XawInitializeWidgetSet' [-Wredundant-decls] extern void XawInitializeWidgetSet(void); /* called from ClassInit procs */ ^ In file included from MultiSrc.c:68:0: ../include/X11/Xaw3dxft/XawInit.h:28:13: note: previous declaration of 'XawInitializeWidgetSet' was here extern void XawInitializeWidgetSet(void); /* called from ClassInit procs */ ^ In file included from MultiSrc.c:66: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]) ^ MultiSrc.c:92:6: note: in expansion of macro 'XtNstring' {XtNstring, XtCString, XtRString, sizeof (XtPointer), ^ /usr/local/include/X11/StringDefs.h:732:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCString ((char*)&XtStrings[1416]) ^ MultiSrc.c:92:17: note: in expansion of macro 'XtCString' {XtNstring, XtCString, XtRString, sizeof (XtPointer), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ MultiSrc.c:92:28: note: in expansion of macro 'XtRString' {XtNstring, XtCString, XtRString, sizeof (XtPointer), ^ /usr/local/include/X11/StringDefs.h:864:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPointer ((char*)&XtStrings[1767]) ^ MultiSrc.c:93:24: note: in expansion of macro 'XtRPointer' offset(string), XtRPointer, NULL}, ^ In file included from ../include/X11/Xaw3dxft/MultiSrcP.h:103:0, from MultiSrc.c:69: ../include/X11/Xaw3dxft/MultiSrc.h:103:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNtype "type" ^ MultiSrc.c:94:6: note: in expansion of macro 'XtNtype' {XtNtype, XtCType, XtRMultiType, sizeof (XawAsciiType), ^ ../include/X11/Xaw3dxft/MultiSrc.h:98:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCType "Type" ^ MultiSrc.c:94:15: note: in expansion of macro 'XtCType' {XtNtype, XtCType, XtRMultiType, sizeof (XawAsciiType), ^ ../include/X11/Xaw3dxft/MultiSrc.h:106:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRMultiType "MultiType" ^ MultiSrc.c:94:24: note: in expansion of macro 'XtRMultiType' {XtNtype, XtCType, XtRMultiType, sizeof (XawAsciiType), ^ In file included from MultiSrc.c:66:0: /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ MultiSrc.c:95:22: note: in expansion of macro 'XtRImmediate' offset(type), XtRImmediate, (XtPointer)XawAsciiString}, ^ In file included from ../include/X11/Xaw3dxft/MultiSrcP.h:103:0, from MultiSrc.c:69: ../include/X11/Xaw3dxft/MultiSrc.h:101:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNdataCompression "dataCompression" ^ MultiSrc.c:97:6: note: in expansion of macro 'XtNdataCompression' {XtNdataCompression, XtCDataCompression, XtRBoolean, sizeof (Boolean), ^ ../include/X11/Xaw3dxft/MultiSrc.h:96:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCDataCompression "DataCompression" ^ MultiSrc.c:97:26: note: in expansion of macro 'XtCDataCompression' {XtNdataCompression, XtCDataCompression, XtRBoolean, sizeof (Boolean), ^ In file included from MultiSrc.c:66: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]) ^ MultiSrc.c:97:46: note: in expansion of macro 'XtRBoolean' {XtNdataCompression, XtCDataCompression, 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]) ^ MultiSrc.c:98:34: note: in expansion of macro 'XtRImmediate' offset(data_compression), XtRImmediate, (XtPointer) FALSE}, ^ In file included from ../include/X11/Xaw3dxft/MultiSrcP.h:103:0, from MultiSrc.c:69: ../include/X11/Xaw3dxft/MultiSrc.h:102:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNpieceSize "pieceSize" ^ MultiSrc.c:99:6: note: in expansion of macro 'XtNpieceSize' {XtNpieceSize, XtCPieceSize, XtRInt, sizeof (XawTextPosition), ^ ../include/X11/Xaw3dxft/MultiSrc.h:97:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCPieceSize "PieceSize" ^ MultiSrc.c:99:20: note: in expansion of macro 'XtCPieceSize' {XtNpieceSize, XtCPieceSize, XtRInt, sizeof (XawTextPosition), ^ In file included from MultiSrc.c:66: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]) ^ MultiSrc.c:99:34: note: in expansion of macro 'XtRInt' {XtNpieceSize, XtCPieceSize, XtRInt, sizeof (XawTextPosition), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ MultiSrc.c:100:28: note: in expansion of macro 'XtRImmediate' offset(piece_size), XtRImmediate, (XtPointer) BUFSIZ}, ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ MultiSrc.c:101:6: note: in expansion of macro 'XtNcallback' {XtNcallback, XtCCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:594:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCCallback ((char*)&XtStrings[952]) ^ MultiSrc.c:101:19: note: in expansion of macro 'XtCCallback' {XtNcallback, XtCCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:789:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCallback ((char*)&XtStrings[1569]) ^ MultiSrc.c:101:32: note: in expansion of macro 'XtRCallback' {XtNcallback, XtCCallback, XtRCallback, sizeof(XtPointer), ^ /usr/local/include/X11/StringDefs.h:789:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRCallback ((char*)&XtStrings[1569]) ^ MultiSrc.c:102:26: note: in expansion of macro 'XtRCallback' offset(callback), XtRCallback, (XtPointer)NULL}, ^ In file included from ../include/X11/Xaw3dxft/MultiSrcP.h:103:0, from MultiSrc.c:69: ../include/X11/Xaw3dxft/MultiSrc.h:104:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNuseStringInPlace "useStringInPlace" ^ MultiSrc.c:103:6: note: in expansion of macro 'XtNuseStringInPlace' {XtNuseStringInPlace, XtCUseStringInPlace, XtRBoolean, sizeof (Boolean), ^ ../include/X11/Xaw3dxft/MultiSrc.h:99:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCUseStringInPlace "UseStringInPlace" ^ MultiSrc.c:103:27: note: in expansion of macro 'XtCUseStringInPlace' {XtNuseStringInPlace, XtCUseStringInPlace, XtRBoolean, sizeof (Boolean), ^ In file included from MultiSrc.c:66: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]) ^ MultiSrc.c:103:48: note: in expansion of macro 'XtRBoolean' {XtNuseStringInPlace, XtCUseStringInPlace, 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]) ^ MultiSrc.c:104:37: note: in expansion of macro 'XtRImmediate' offset(use_string_in_place), XtRImmediate, (XtPointer) FALSE}, ^ /usr/local/include/X11/StringDefs.h:438:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlength ((char*)&XtStrings[435]) ^ MultiSrc.c:105:6: note: in expansion of macro 'XtNlength' {XtNlength, XtCLength, XtRInt, sizeof (int), ^ /usr/local/include/X11/StringDefs.h:660:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCLength ((char*)&XtStrings[1157]) ^ MultiSrc.c:105:17: note: in expansion of macro 'XtCLength' {XtNlength, XtCLength, XtRInt, sizeof (int), ^ /usr/local/include/X11/StringDefs.h:843:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRInt ((char*)&XtStrings[1718]) ^ MultiSrc.c:105:28: note: in expansion of macro 'XtRInt' {XtNlength, XtCLength, XtRInt, sizeof (int), ^ /usr/local/include/X11/StringDefs.h:843:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRInt ((char*)&XtStrings[1718]) ^ MultiSrc.c:106:30: note: in expansion of macro 'XtRInt' offset(multi_length), XtRInt, (XtPointer) &magic_value}, ^ MultiSrc.c:140:14: warning: redundant redeclaration of 'tmpnam' [-Wredundant-decls] extern char *tmpnam(String); ^ In file included from /usr/local/include/freetype2/freetype/config/ftstdlib.h:101:0, from /usr/local/include/freetype2/freetype/config/ftconfig.h:43, from /usr/local/include/freetype2/freetype/freetype.h:33, from /usr/local/include/X11/Xft/Xft.h:40, from ../include/X11/Xaw3dxft/Xaw3dXft.h:52, from ../include/X11/Xaw3dxft/TextP.h:54, from ../include/X11/Xaw3dxft/TextSrcP.h:64, from ../include/X11/Xaw3dxft/MultiSrcP.h:102, from MultiSrc.c:69: /usr/include/stdio.h:217:7: note: previous declaration of 'tmpnam' was here char *tmpnam(char *); ^ MultiSrc.c:153:17: warning: redundant redeclaration of '_XawTextMBToWC' [-Wredundant-decls] extern wchar_t* _XawTextMBToWC(Display *, char *, int *); ^ In file included from ../include/X11/Xaw3dxft/MultiSrcP.h:102:0, from MultiSrc.c:69: ../include/X11/Xaw3dxft/TextSrcP.h:149:10: note: previous declaration of '_XawTextMBToWC' was here wchar_t* _XawTextMBToWC( ^ MultiSrc.c:154:14: warning: redundant redeclaration of '_XawTextWCToMB' [-Wredundant-decls] extern char *_XawTextWCToMB(Display *, wchar_t *, int *); ^ In file included from ../include/X11/Xaw3dxft/MultiSrcP.h:102:0, from MultiSrc.c:69: ../include/X11/Xaw3dxft/TextSrcP.h:143:7: note: previous declaration of '_XawTextWCToMB' was here char* _XawTextWCToMB( ^ MultiSrc.c:160:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "MultiSrc", ^ In file included from MultiSrc.c:66:0: MultiSrc.c: In function 'ClassInitialize': /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ MultiSrc.c:223:19: note: in expansion of macro 'XtRString' XtAddConverter( XtRString, XtRMultiType, CvtStringToMultiType, ^ MultiSrc.c: In function 'ReplaceText': /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ MultiSrc.c:445:22: note: in expansion of macro 'XtNcallback' XtCallCallbacks(w, XtNcallback, NULL); ^ In file included from MultiSrc.c:69:0: MultiSrc.c: In function 'SetValues': /usr/local/include/X11/StringDefs.h:519:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNstring ((char*)&XtStrings[733]) ^ ../include/X11/Xaw3dxft/MultiSrcP.h:119:43: note: in definition of macro 'streq' #define streq(a, b) ( strcmp((a), (b)) == 0 ) ^ MultiSrc.c:723:31: note: in expansion of macro 'XtNstring' if (streq(args[i].name, XtNstring)) { ^ MultiSrc.c: In function 'GetValuesHook': /usr/local/include/X11/StringDefs.h:519:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNstring ((char*)&XtStrings[733]) ^ ../include/X11/Xaw3dxft/MultiSrcP.h:119:43: note: in definition of macro 'streq' #define streq(a, b) ( strcmp((a), (b)) == 0 ) ^ MultiSrc.c:786:31: note: in expansion of macro 'XtNstring' if (streq(args[i].name, XtNstring)) { ^ MultiSrc.c: In function '_XawMultiSaveAsFile': MultiSrc.c:937:37: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] ret = WriteToFile( mb_string, (char *)name ); ^ MultiSrc.c: In function 'InitStringOrFile': MultiSrc.c:1096:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] open_mode = "r"; ^ MultiSrc.c:1109:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] open_mode = "w"; ^ MultiSrc.c:1111:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] open_mode = "r+"; ^ --- XawInit.lo --- mv -f .deps/XawInit.Tpo .deps/XawInit.Plo --- MultiSink.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT MultiSink.lo -MD -MP -MF .deps/MultiSink.Tpo -c -o MultiSink.lo MultiSink.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT MultiSink.lo -MD -MP -MF .deps/MultiSink.Tpo -c MultiSink.c -fPIC -DPIC -o .libs/MultiSink.o --- Xaw3dXft.lo --- mv -f .deps/Xaw3dXft.Tpo .deps/Xaw3dXft.Plo --- XawIm.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT XawIm.lo -MD -MP -MF .deps/XawIm.Tpo -c -o XawIm.lo XawIm.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT XawIm.lo -MD -MP -MF .deps/XawIm.Tpo -c XawIm.c -fPIC -DPIC -o .libs/XawIm.o --- MultiSink.lo --- In file included from ../include/X11/Xaw3dxft/Xaw3dXft.h:53:0, from ../include/X11/Xaw3dxft/TextP.h:54, from ../include/X11/Xaw3dxft/TextSinkP.h:64, from ../include/X11/Xaw3dxft/MultiSinkP.h:88, from MultiSink.c:80: ../include/X11/Xaw3dxft/XawInit.h:28:13: warning: redundant redeclaration of 'XawInitializeWidgetSet' [-Wredundant-decls] extern void XawInitializeWidgetSet(void); /* called from ClassInit procs */ ^ In file included from MultiSink.c:79:0: ../include/X11/Xaw3dxft/XawInit.h:28:13: note: previous declaration of 'XawInitializeWidgetSet' was here extern void XawInitializeWidgetSet(void); /* called from ClassInit procs */ ^ In file included from MultiSink.c:77:0: /usr/local/include/X11/StringDefs.h:948:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNfontSet ((char*)&XtStrings[2018]) ^ MultiSink.c:114:6: note: in expansion of macro 'XtNfontSet' {XtNfontSet, XtCFontSet, XtRFontSet, sizeof (XFontSet), ^ /usr/local/include/X11/StringDefs.h:954:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCFontSet ((char*)&XtStrings[2034]) ^ MultiSink.c:114:18: note: in expansion of macro 'XtCFontSet' {XtNfontSet, XtCFontSet, XtRFontSet, sizeof (XFontSet), ^ /usr/local/include/X11/StringDefs.h:951:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRFontSet ((char*)&XtStrings[2026]) ^ MultiSink.c:114:30: note: in expansion of macro 'XtRFontSet' {XtNfontSet, XtCFontSet, XtRFontSet, sizeof (XFontSet), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ MultiSink.c:115:19: note: in expansion of macro 'XtRString' offset(fontset), XtRString, XtDefaultFontSet}, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from MultiSink.c:76: /usr/local/include/X11/Intrinsic.h:1658:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtDefaultFontSet "XtDefaultFontSet" ^ MultiSink.c:115:30: note: in expansion of macro 'XtDefaultFontSet' offset(fontset), XtRString, XtDefaultFontSet}, ^ In file included from ../include/X11/Xaw3dxft/MultiSinkP.h:89:0, from MultiSink.c:80: ../include/X11/Xaw3dxft/MultiSink.h:97:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNecho "echo" ^ MultiSink.c:116:6: note: in expansion of macro 'XtNecho' {XtNecho, XtCOutput, XtRBoolean, sizeof(Boolean), ^ ../include/X11/Xaw3dxft/MultiSink.h:94:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCOutput "Output" ^ MultiSink.c:116:15: note: in expansion of macro 'XtCOutput' {XtNecho, XtCOutput, XtRBoolean, sizeof(Boolean), ^ In file included from MultiSink.c:77: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]) ^ MultiSink.c:116:26: note: in expansion of macro 'XtRBoolean' {XtNecho, XtCOutput, 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]) ^ MultiSink.c:117:16: note: in expansion of macro 'XtRImmediate' offset(echo), XtRImmediate, (XtPointer) True}, ^ In file included from ../include/X11/Xaw3dxft/MultiSinkP.h:89:0, from MultiSink.c:80: ../include/X11/Xaw3dxft/MultiSink.h:96:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNdisplayNonprinting "displayNonprinting" ^ MultiSink.c:118:6: note: in expansion of macro 'XtNdisplayNonprinting' {XtNdisplayNonprinting, XtCOutput, XtRBoolean, sizeof(Boolean), ^ ../include/X11/Xaw3dxft/MultiSink.h:94:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCOutput "Output" ^ MultiSink.c:118:29: note: in expansion of macro 'XtCOutput' {XtNdisplayNonprinting, XtCOutput, XtRBoolean, sizeof(Boolean), ^ In file included from MultiSink.c:77: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]) ^ MultiSink.c:118:40: note: in expansion of macro 'XtRBoolean' {XtNdisplayNonprinting, XtCOutput, 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]) ^ MultiSink.c:119:31: note: in expansion of macro 'XtRImmediate' offset(display_nonprinting), XtRImmediate, (XtPointer) True}, ^ MultiSink.c:127:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "MultiSink", ^ --- XawIm.lo --- In file included from XawIm.c:59:0: /usr/local/include/X11/StringDefs.h:948:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNfontSet ((char*)&XtStrings[2018]) ^ XawIm.c:108:2: note: in expansion of macro 'XtNfontSet' XtNfontSet, XtCFontSet, XtRFontSet, sizeof(XFontSet), ^ /usr/local/include/X11/StringDefs.h:954:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCFontSet ((char*)&XtStrings[2034]) ^ XawIm.c:108:14: note: in expansion of macro 'XtCFontSet' XtNfontSet, XtCFontSet, XtRFontSet, sizeof(XFontSet), ^ /usr/local/include/X11/StringDefs.h:951:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRFontSet ((char*)&XtStrings[2026]) ^ XawIm.c:108:26: note: in expansion of macro 'XtRFontSet' XtNfontSet, XtCFontSet, XtRFontSet, sizeof(XFontSet), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ XawIm.c:109:21: note: in expansion of macro 'XtRString' Offset (font_set), XtRString, XtDefaultFontSet ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from XawIm.c:58: /usr/local/include/X11/Intrinsic.h:1658:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtDefaultFontSet "XtDefaultFontSet" ^ XawIm.c:109:32: note: in expansion of macro 'XtDefaultFontSet' Offset (font_set), XtRString, XtDefaultFontSet ^ In file included from XawIm.c:59:0: /usr/local/include/X11/StringDefs.h:378:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNforeground ((char*)&XtStrings[214]) ^ XawIm.c:112:2: note: in expansion of macro 'XtNforeground' XtNforeground, XtCForeground, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:621:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCForeground ((char*)&XtStrings[1022]) ^ XawIm.c:112:17: note: in expansion of macro 'XtCForeground' XtNforeground, 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]) ^ XawIm.c:112:32: note: in expansion of macro 'XtRPixel' XtNforeground, XtCForeground, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ XawIm.c:113:23: note: in expansion of macro 'XtRString' Offset (foreground), XtRString, (XtPointer)"XtDefaultForeground" ^ XawIm.c:113:34: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] Offset (foreground), XtRString, (XtPointer)"XtDefaultForeground" ^ In file included from XawIm.c:59: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]) ^ XawIm.c:116:2: note: in expansion of macro 'XtNbackground' XtNbackground, XtCBackground, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:579:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCBackground ((char*)&XtStrings[902]) ^ XawIm.c:116:17: note: in expansion of macro 'XtCBackground' XtNbackground, XtCBackground, 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]) ^ XawIm.c:116:32: note: in expansion of macro 'XtRPixel' XtNbackground, XtCBackground, XtRPixel, sizeof(Pixel), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ XawIm.c:117:23: note: in expansion of macro 'XtRString' Offset (background), XtRString, (XtPointer)"XtDefaultBackground" ^ XawIm.c:117:34: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] Offset (background), XtRString, (XtPointer)"XtDefaultBackground" ^ In file included from XawIm.c:59:0: /usr/local/include/X11/StringDefs.h:333:30: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNbackgroundPixmap ((char*)&XtStrings[63]) ^ XawIm.c:120:2: note: in expansion of macro 'XtNbackgroundPixmap' XtNbackgroundPixmap, XtCPixmap, XtRPixmap, sizeof(Pixmap), ^ /usr/local/include/X11/StringDefs.h:681:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCPixmap ((char*)&XtStrings[1228]) ^ XawIm.c:120:23: note: in expansion of macro 'XtCPixmap' XtNbackgroundPixmap, XtCPixmap, XtRPixmap, sizeof(Pixmap), ^ /usr/local/include/X11/StringDefs.h:861:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRPixmap ((char*)&XtStrings[1760]) ^ XawIm.c:120:34: note: in expansion of macro 'XtRPixmap' XtNbackgroundPixmap, XtCPixmap, XtRPixmap, sizeof(Pixmap), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ XawIm.c:121:22: note: in expansion of macro 'XtRImmediate' Offset (bg_pixmap), XtRImmediate, (XtPointer) XtUnspecifiedPixmap ^ /usr/local/include/X11/StringDefs.h:408:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNinsertPosition ((char*)&XtStrings[326]) ^ XawIm.c:124:2: note: in expansion of macro 'XtNinsertPosition' XtNinsertPosition, XtCTextPosition, XtRInt, sizeof (XawTextPosition), ^ /usr/local/include/X11/StringDefs.h:738:26: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCTextPosition ((char*)&XtStrings[1435]) ^ XawIm.c:124:21: note: in expansion of macro 'XtCTextPosition' XtNinsertPosition, XtCTextPosition, XtRInt, sizeof (XawTextPosition), ^ /usr/local/include/X11/StringDefs.h:843:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRInt ((char*)&XtStrings[1718]) ^ XawIm.c:124:38: note: in expansion of macro 'XtRInt' XtNinsertPosition, XtCTextPosition, XtRInt, sizeof (XawTextPosition), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ XawIm.c:125:28: note: in expansion of macro 'XtRImmediate' Offset (cursor_position), XtRImmediate, (XtPointer) 0 ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from XawIm.c:58: XawIm.c: In function 'SetVendorShellHeight': /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) )) ^ XawIm.c:289:26: note: in expansion of macro 'XtNheight' XtSetArg(args[i], XtNheight, ^ XawIm.c: In function 'SizeNegotiation': XawIm.c:643:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &ic_a[ic_cnt], (XPointer) XNPreeditAttributes); ic_cnt++; ^ XawIm.c:648:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &ic_a[ic_cnt], (XPointer) XNStatusAttributes); ic_cnt++; ^ XawIm.c:675:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &ic_a[ic_cnt], (XPointer) XNStatusAttributes); ic_cnt++; ^ XawIm.c:690:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &ic_a[ic_cnt], (XPointer) XNPreeditAttributes); ic_cnt++; ^ XawIm.c: In function 'CreateIC': XawIm.c:727:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &pe_a[pe_cnt], (XPointer) XNFontSet); pe_cnt++; ^ XawIm.c:729:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &st_a[st_cnt], (XPointer) XNFontSet); st_cnt++; ^ XawIm.c:736:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &pe_a[pe_cnt], (XPointer) XNForeground); pe_cnt++; ^ XawIm.c:738:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &st_a[st_cnt], (XPointer) XNForeground); st_cnt++; ^ XawIm.c:742:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &pe_a[pe_cnt], (XPointer) XNBackground); pe_cnt++; ^ XawIm.c:744:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &st_a[st_cnt], (XPointer) XNBackground); st_cnt++; ^ XawIm.c:748:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &pe_a[pe_cnt], (XPointer) XNBackgroundPixmap); pe_cnt++; ^ XawIm.c:750:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &st_a[st_cnt], (XPointer) XNBackgroundPixmap); st_cnt++; ^ XawIm.c:754:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &pe_a[pe_cnt], (XPointer) XNLineSpace); pe_cnt++; ^ XawIm.c:756:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &st_a[st_cnt], (XPointer) XNLineSpace); st_cnt++; ^ XawIm.c:765:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &pe_a[pe_cnt], (XPointer) XNArea); pe_cnt++; ^ XawIm.c:778:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &pe_a[pe_cnt], (XPointer) XNArea); pe_cnt++; ^ XawIm.c:785:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &pe_a[pe_cnt], (XPointer) XNSpotLocation); pe_cnt++; ^ XawIm.c:793:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &st_a[st_cnt], (XPointer) XNArea); st_cnt++; ^ XawIm.c:797:30: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &ic_a[ic_cnt], (XPointer) XNInputStyle); ic_cnt++; ^ XawIm.c:799:30: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &ic_a[ic_cnt], (XPointer) XNClientWindow); ic_cnt++; ^ XawIm.c:801:30: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &ic_a[ic_cnt], (XPointer) XNFocusWindow); ic_cnt++; ^ XawIm.c:811:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &ic_a[ic_cnt], (XPointer) XNPreeditAttributes); ic_cnt++; ^ XawIm.c:822:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &ic_a[ic_cnt], (XPointer) XNStatusAttributes); ic_cnt++; ^ XawIm.c: In function 'SetICValues': XawIm.c:884:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &pe_a[pe_cnt], (XPointer) XNFontSet); pe_cnt++; ^ XawIm.c:886:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &st_a[st_cnt], (XPointer) XNFontSet); st_cnt++; ^ XawIm.c:893:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &pe_a[pe_cnt], (XPointer) XNForeground); pe_cnt++; ^ XawIm.c:895:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &st_a[st_cnt], (XPointer) XNForeground); st_cnt++; ^ XawIm.c:899:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &pe_a[pe_cnt], (XPointer) XNBackground); pe_cnt++; ^ XawIm.c:901:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &st_a[st_cnt], (XPointer) XNBackground); st_cnt++; ^ XawIm.c:905:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &pe_a[pe_cnt], (XPointer) XNBackgroundPixmap); pe_cnt++; ^ XawIm.c:907:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &st_a[st_cnt], (XPointer) XNBackgroundPixmap); st_cnt++; ^ XawIm.c:911:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &pe_a[pe_cnt], (XPointer) XNLineSpace); pe_cnt++; ^ XawIm.c:913:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &st_a[st_cnt], (XPointer) XNLineSpace); st_cnt++; ^ XawIm.c:920:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &pe_a[pe_cnt], (XPointer) XNSpotLocation); pe_cnt++; ^ XawIm.c:935:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &pe_a[pe_cnt], (XPointer) XNArea); pe_cnt++; ^ XawIm.c:947:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &ic_a[ic_cnt], (XPointer) XNPreeditAttributes); ic_cnt++; ^ XawIm.c:957:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &ic_a[ic_cnt], (XPointer) XNStatusAttributes); ic_cnt++; ^ XawIm.c:961:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] SetVaArg( &ic_a[ic_cnt], (XPointer) XNFocusWindow); ic_cnt++; ^ In file included from XawIm.c:59:0: XawIm.c: In function '_XawImInitialize': /usr/local/include/X11/StringDefs.h:363:29: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNdestroyCallback ((char*)&XtStrings[169]) ^ XawIm.c:1393:20: note: in expansion of macro 'XtNdestroyCallback' XtAddCallback( w, XtNdestroyCallback, VendorShellDestroyed, ^ XawIm.c: In function '_XawImWcLookupString': XawIm.c:1525:48: warning: passing argument 3 of 'Xutf8LookupString' from incompatible pointer type [-Wincompatible-pointer-types] ret = Xutf8LookupString (p->xic, event, buffer_return, bytes_buffer, keysym_return, status_return); ^ In file included from /usr/local/include/X11/Intrinsic.h:53:0, from /usr/local/include/X11/IntrinsicP.h:51, from XawIm.c:58: /usr/local/include/X11/Xlib.h:3916:12: note: expected 'char *' but argument is of type 'wchar_t * {aka int *}' extern int Xutf8LookupString( ^ --- MultiSink.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT MultiSink.lo -MD -MP -MF .deps/MultiSink.Tpo -c MultiSink.c -o MultiSink.o >/dev/null 2>&1 --- Text.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Text.lo -MD -MP -MF .deps/Text.Tpo -c Text.c -o Text.o >/dev/null 2>&1 --- MultiSrc.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT MultiSrc.lo -MD -MP -MF .deps/MultiSrc.Tpo -c MultiSrc.c -o MultiSrc.o >/dev/null 2>&1 --- MultiSink.lo --- mv -f .deps/MultiSink.Tpo .deps/MultiSink.Plo --- XawI18n.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT XawI18n.lo -MD -MP -MF .deps/XawI18n.Tpo -c -o XawI18n.lo XawI18n.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT XawI18n.lo -MD -MP -MF .deps/XawI18n.Tpo -c XawI18n.c -fPIC -DPIC -o .libs/XawI18n.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT XawI18n.lo -MD -MP -MF .deps/XawI18n.Tpo -c XawI18n.c -o XawI18n.o >/dev/null 2>&1 mv -f .deps/XawI18n.Tpo .deps/XawI18n.Plo --- laygram.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT laygram.lo -MD -MP -MF .deps/laygram.Tpo -c -o laygram.lo laygram.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT laygram.lo -MD -MP -MF .deps/laygram.Tpo -c laygram.c -fPIC -DPIC -o .libs/laygram.o laygram.c:65:25: warning: redundant redeclaration of 'LayYYparse' [-Wredundant-decls] #define yyparse LayYYparse ^ laygram.c:1203:5: note: in expansion of macro 'yyparse' int yyparse (void); ^ In file included from laygram.y:13:0: LayYY.h:6:23: note: previous declaration of 'LayYYparse' was here extern _X_HIDDEN int LayYYparse (void); ^ laygram.c: In function 'LayYYparse': laygram.c:1906:20: warning: passing argument 1 of 'LayYYerror' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] yyerror (YY_("syntax error")); ^ laygram.c:268:22: note: in definition of macro 'YY_' # define YY_(msgid) msgid ^ In file included from laygram.y:13:0: LayYY.h:11:23: note: expected 'char *' but argument is of type 'const char *' extern _X_HIDDEN void LayYYerror (char *s); ^ laygram.c:2048:16: warning: passing argument 1 of 'LayYYerror' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] yyerror (YY_("memory exhausted")); ^ laygram.c:268:22: note: in definition of macro 'YY_' # define YY_(msgid) msgid ^ In file included from laygram.y:13:0: LayYY.h:11:23: note: expected 'char *' but argument is of type 'const char *' extern _X_HIDDEN void LayYYerror (char *s); ^ --- Viewport.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT Viewport.lo -MD -MP -MF .deps/Viewport.Tpo -c Viewport.c -o Viewport.o >/dev/null 2>&1 --- laygram.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT laygram.lo -MD -MP -MF .deps/laygram.Tpo -c laygram.c -o laygram.o >/dev/null 2>&1 mv -f .deps/laygram.Tpo .deps/laygram.Plo --- laylex.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT laylex.lo -MD -MP -MF .deps/laylex.Tpo -c -o laylex.lo laylex.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT laylex.lo -MD -MP -MF .deps/laylex.Tpo -c laylex.c -fPIC -DPIC -o .libs/laylex.o laylex.c:613:12: warning: redundant redeclaration of 'LayYYwrap' [-Wredundant-decls] extern int LayYYwrap (void ); ^ In file included from laylex.l:18:0: LayYY.h:7:23: note: previous declaration of 'LayYYwrap' was here extern _X_HIDDEN int LayYYwrap (void); ^ laylex.c:715:12: warning: redundant redeclaration of 'LayYYlex' [-Wredundant-decls] extern int LayYYlex (void); ^ In file included from laylex.l:18:0: LayYY.h:10:23: note: previous declaration of 'LayYYlex' was here extern _X_HIDDEN int LayYYlex (void); ^ laylex.c:1500:12: warning: redundant redeclaration of 'isatty' [-Wredundant-decls] extern int isatty (int ); ^ In file included from laylex.c:567:0: /usr/include/unistd.h:378:6: note: previous declaration of 'isatty' was here int isatty(int); ^ --- MultiSrc.lo --- mv -f .deps/MultiSrc.Tpo .deps/MultiSrc.Plo --- Viewport.lo --- mv -f .deps/Viewport.Tpo .deps/Viewport.Plo --- XawIm.lo --- XawIm.c:1532:15: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized] ret = Xutf8LookupString (p->xic, event, tmp_buf, 64, keysym_return, status_return); ^ libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT XawIm.lo -MD -MP -MF .deps/XawIm.Tpo -c XawIm.c -o XawIm.o >/dev/null 2>&1 --- laylex.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../include -DXAW_INTERNATIONALIZATION -DXAW_ARROW_SCROLLBARS -I/usr/local/include/freetype2 -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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -MT laylex.lo -MD -MP -MF .deps/laylex.Tpo -c laylex.c -o laylex.o >/dev/null 2>&1 mv -f .deps/laylex.Tpo .deps/laylex.Plo --- XawIm.lo --- mv -f .deps/XawIm.Tpo .deps/XawIm.Plo --- Text.lo --- mv -f .deps/Text.Tpo .deps/Text.Plo --- libXaw3dxft.la --- /bin/sh ../libtool --tag=CC --mode=link 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 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -pipe -O2 -fno-strict-aliasing -version-info 8:3:0 -no-undefined -o libXaw3dxft.la -rpath /usr/local/lib AllWidgets.lo AsciiSink.lo AsciiSrc.lo AsciiText.lo Box.lo Command.lo Dialog.lo Form.lo Grip.lo Label.lo Layout.lo List.lo MenuButton.lo Paned.lo Panner.lo Porthole.lo Repeater.lo Scrollbar.lo Simple.lo SimpleMenu.lo SmeBSB.lo Sme.lo SmeLine.lo SmeThreeD.lo StripChart.lo TextAction.lo Text.lo TextPop.lo TextSink.lo TextSrc.lo TextTr.lo ThreeD.lo Tip.lo Toggle.lo Tree.lo Vendor.lo Viewport.lo Xaw3dP.lo Xaw3dXft.lo XawInit.lo laygram.lo laylex.lo MultiSrc.lo MultiSink.lo XawIm.lo XawI18n.lo -L/usr/local/lib -lXmu -lXt -lX11 -lXext -lXft libtool: link: cc -shared -fPIC -DPIC .libs/AllWidgets.o .libs/AsciiSink.o .libs/AsciiSrc.o .libs/AsciiText.o .libs/Box.o .libs/Command.o .libs/Dialog.o .libs/Form.o .libs/Grip.o .libs/Label.o .libs/Layout.o .libs/List.o .libs/MenuButton.o .libs/Paned.o .libs/Panner.o .libs/Porthole.o .libs/Repeater.o .libs/Scrollbar.o .libs/Simple.o .libs/SimpleMenu.o .libs/SmeBSB.o .libs/Sme.o .libs/SmeLine.o .libs/SmeThreeD.o .libs/StripChart.o .libs/TextAction.o .libs/Text.o .libs/TextPop.o .libs/TextSink.o .libs/TextSrc.o .libs/TextTr.o .libs/ThreeD.o .libs/Tip.o .libs/Toggle.o .libs/Tree.o .libs/Vendor.o .libs/Viewport.o .libs/Xaw3dP.o .libs/Xaw3dXft.o .libs/XawInit.o .libs/laygram.o .libs/laylex.o .libs/MultiSrc.o .libs/MultiSink.o .libs/XawIm.o .libs/XawI18n.o -L/usr/local/lib -lXmu -lXt -lX11 -lXext -lXft -O2 -Wl,-soname -Wl,libXaw3dxft.so.8 -o .libs/libXaw3dxft.so.8.0.3 .libs/AsciiSrc.o:AsciiSrc.c:function InitStringOrFile: warning: warning: tmpnam() possibly used unsafely; consider using mkstemp() .libs/MultiSrc.o:MultiSrc.c:function InitStringOrFile: warning: warning: tmpnam() possibly used unsafely; consider using mkstemp() libtool: link: (cd ".libs" && rm -f "libXaw3dxft.so.8" && ln -s "libXaw3dxft.so.8.0.3" "libXaw3dxft.so.8") libtool: link: (cd ".libs" && rm -f "libXaw3dxft.so" && ln -s "libXaw3dxft.so.8.0.3" "libXaw3dxft.so") libtool: link: ar cru .libs/libXaw3dxft.a AllWidgets.o AsciiSink.o AsciiSrc.o AsciiText.o Box.o Command.o Dialog.o Form.o Grip.o Label.o Layout.o List.o MenuButton.o Paned.o Panner.o Porthole.o Repeater.o Scrollbar.o Simple.o SimpleMenu.o SmeBSB.o Sme.o SmeLine.o SmeThreeD.o StripChart.o TextAction.o Text.o TextPop.o TextSink.o TextSrc.o TextTr.o ThreeD.o Tip.o Toggle.o Tree.o Vendor.o Viewport.o Xaw3dP.o Xaw3dXft.o XawInit.o laygram.o laylex.o MultiSrc.o MultiSink.o XawIm.o XawI18n.o libtool: link: ranlib .libs/libXaw3dxft.a libtool: link: ( cd ".libs" && rm -f "libXaw3dxft.la" && ln -s "../libXaw3dxft.la" "libXaw3dxft.la" ) =========================================================================== =================================================== ===> libxaw3dxft-1.6.2.d depends on file: /usr/local/libdata/pkgconfig/xft.pc - found ===> libxaw3dxft-1.6.2.d depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> libxaw3dxft-1.6.2.d depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found =========================================================================== =================================================== ===> Staging for libxaw3dxft-1.6.2.d ===> Generating temporary packing list if test -z 'strip'; then /usr/bin/make INSTALL_PROGRAM="/bin/sh /wrkdirs/x11-toolkits/libxaw3dxft/libXaw3dXft-1.6.2d/install-sh -c -s" install_sh_PROGRAM="/bin/sh /wrkdirs/x11-toolkits/libxaw3dxft/libXaw3dXft-1.6.2d/install-sh -c -s" INSTALL_STRIP_FLAG=-s install; else /usr/bin/make INSTALL_PROGRAM="/bin/sh /wrkdirs/x11-toolkits/libxaw3dxft/libXaw3dXft-1.6.2d/install-sh -c -s" install_sh_PROGRAM="/bin/sh /wrkdirs/x11-toolkits/libxaw3dxft/libXaw3dXft-1.6.2d/install-sh -c -s" INSTALL_STRIP_FLAG=-s "INSTALL_PROGRAM_ENV=STRIPPROG='strip'" install; fi Making install in include /bin/mkdir -p '/wrkdirs/x11-toolkits/libxaw3dxft/stage/usr/local/include/X11/Xaw3dxft' install -m 0644 X11/Xaw3dxft/AllWidgets.h X11/Xaw3dxft/AsciiSink.h X11/Xaw3dxft/AsciiSinkP.h X11/Xaw3dxft/AsciiSrc.h X11/Xaw3dxft/AsciiSrcP.h X11/Xaw3dxft/AsciiText.h X11/Xaw3dxft/AsciiTextP.h X11/Xaw3dxft/Box.h X11/Xaw3dxft/BoxP.h X11/Xaw3dxft/Cardinals.h X11/Xaw3dxft/Command.h X11/Xaw3dxft/CommandP.h X11/Xaw3dxft/Dialog.h X11/Xaw3dxft/DialogP.h X11/Xaw3dxft/Form.h X11/Xaw3dxft/FormP.h X11/Xaw3dxft/Grip.h X11/Xaw3dxft/GripP.h X11/Xaw3dxft/Label.h X11/Xaw3dxft/LabelP.h X11/Xaw3dxft/Layout.h X11/Xaw3dxft/LayoutP.h X11/Xaw3dxft/List.h X11/Xaw3dxft/ListP.h X11/Xaw3dxft/MenuButton.h X11/Xaw3dxft/MenuButtoP.h X11/Xaw3dxft/Paned.h X11/Xaw3dxft/PanedP.h X11/Xaw3dxft/Panner.h X11/Xaw3dxft/PannerP.h X11/Xaw3dxft/Porthole.h X11/Xaw3dxft/PortholeP.h X11/Xaw3dxft/Repeater.h X11/Xaw3dxft/RepeaterP.h X11/Xaw3dxft/Reports.h X11/Xaw3dxft/Scrollbar.h X11/Xaw3dxft/ScrollbarP.h X11/Xaw3dxft/Simple.h X11/Xaw3dxft/SimpleMenP.h X11/Xaw3dxft/SimpleMenu.h '/wrkdirs/x11-toolkits/libxaw3dxft/stage/usr/local/include/X11/Xaw3dxft' install -m 0644 X11/Xaw3dxft/SimpleP.h X11/Xaw3dxft/SmeBSB.h X11/Xaw3dxft/SmeBSBP.h X11/Xaw3dxft/Sme.h X11/Xaw3dxft/SmeLine.h X11/Xaw3dxft/SmeLineP.h X11/Xaw3dxft/SmeP.h X11/Xaw3dxft/SmeThreeD.h X11/Xaw3dxft/SmeThreeDP.h X11/Xaw3dxft/StripCharP.h X11/Xaw3dxft/StripChart.h X11/Xaw3dxft/Text.h X11/Xaw3dxft/TextP.h X11/Xaw3dxft/TextSink.h X11/Xaw3dxft/TextSinkP.h X11/Xaw3dxft/TextSrc.h X11/Xaw3dxft/TextSrcP.h X11/Xaw3dxft/ThreeD.h X11/Xaw3dxft/ThreeDP.h X11/Xaw3dxft/Tip.h X11/Xaw3dxft/TipP.h X11/Xaw3dxft/Toggle.h X11/Xaw3dxft/ToggleP.h X11/Xaw3dxft/Tree.h X11/Xaw3dxft/TreeP.h X11/Xaw3dxft/Viewport.h X11/Xaw3dxft/ViewportP.h X11/Xaw3dxft/Xaw3dP.h X11/Xaw3dxft/Xaw3dXft.h X11/Xaw3dxft/XawInit.h X11/Xaw3dxft/MultiSrc.h X11/Xaw3dxft/MultiSrcP.h X11/Xaw3dxft/MultiSink.h X11/Xaw3dxft/MultiSinkP.h X11/Xaw3dxft/VendorEP.h X11/Xaw3dxft/XawImP.h '/wrkdirs/x11-toolkits/libxaw3dxft/stage/usr/local/include/X11/Xaw3dxft' Making install in src /usr/bin/make install-am test -f laylex.c || /bin/sh ../ylwrap laylex.l lex.yy.c laylex.c -- flex test -f laylex.c || /bin/sh ../ylwrap laylex.l lex.yy.c laylex.c -- flex /bin/mkdir -p '/wrkdirs/x11-toolkits/libxaw3dxft/stage/usr/local/lib' /bin/sh ../libtool --mode=install /usr/bin/install -c -s libXaw3dxft.la '/wrkdirs/x11-toolkits/libxaw3dxft/stage/usr/local/lib' libtool: install: /usr/bin/install -c .libs/libXaw3dxft.so.8.0.3 /wrkdirs/x11-toolkits/libxaw3dxft/stage/usr/local/lib/libXaw3dxft.so.8.0.3 libtool: install: strip --strip-unneeded /wrkdirs/x11-toolkits/libxaw3dxft/stage/usr/local/lib/libXaw3dxft.so.8.0.3 libtool: install: (cd /wrkdirs/x11-toolkits/libxaw3dxft/stage/usr/local/lib && { ln -s -f libXaw3dxft.so.8.0.3 libXaw3dxft.so.8 || { rm -f libXaw3dxft.so.8 && ln -s libXaw3dxft.so.8.0.3 libXaw3dxft.so.8; }; }) libtool: install: (cd /wrkdirs/x11-toolkits/libxaw3dxft/stage/usr/local/lib && { ln -s -f libXaw3dxft.so.8.0.3 libXaw3dxft.so || { rm -f libXaw3dxft.so && ln -s libXaw3dxft.so.8.0.3 libXaw3dxft.so; }; }) libtool: install: /usr/bin/install -c .libs/libXaw3dxft.lai /wrkdirs/x11-toolkits/libxaw3dxft/stage/usr/local/lib/libXaw3dxft.la libtool: install: /usr/bin/install -c .libs/libXaw3dxft.a /wrkdirs/x11-toolkits/libxaw3dxft/stage/usr/local/lib/libXaw3dxft.a libtool: install: strip --strip-debug /wrkdirs/x11-toolkits/libxaw3dxft/stage/usr/local/lib/libXaw3dxft.a libtool: install: chmod 644 /wrkdirs/x11-toolkits/libxaw3dxft/stage/usr/local/lib/libXaw3dxft.a libtool: install: ranlib /wrkdirs/x11-toolkits/libxaw3dxft/stage/usr/local/lib/libXaw3dxft.a libtool: install: warning: remember to run `libtool --finish /usr/local/lib' /bin/mkdir -p '/wrkdirs/x11-toolkits/libxaw3dxft/stage/usr/local/share/doc/libXaw3dXft' install -m 0644 README.XAW3D '/wrkdirs/x11-toolkits/libxaw3dxft/stage/usr/local/share/doc/libXaw3dXft' /bin/mkdir -p '/wrkdirs/x11-toolkits/libxaw3dxft/stage/usr/local/libdata/pkgconfig' install -m 0644 libxaw3dxft.pc '/wrkdirs/x11-toolkits/libxaw3dxft/stage/usr/local/libdata/pkgconfig' ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for libxaw3dxft-1.6.2.d file sizes/checksums [82]: . done packing files [82]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for libxaw3dxft-1.6.2.d build of x11-toolkits/libxaw3dxft ended at Sat Oct 8 12:28:23 PDT 2016 build time: 00:00:34