=> Building x11/xfd build started at Sun Oct 9 16:37:45 PDT 2016 port directory: /usr/ports/x11/xfd building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: x11@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/Release46-default/ref/../08//usr/ports/x11/xfd/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=xfd-1.1.2_1 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-- --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/xfd XDG_CONFIG_HOME=/wrkdirs/x11/xfd HOME=/wrkdirs/x11/xfd 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/xfd XDG_CONFIG_HOME=/wrkdirs/x11/xfd HOME=/wrkdirs/x11/xfd TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=4.6 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/xfd" EXAMPLESDIR="share/examples/xfd" DATADIR="share/xfd" WWWDIR="www/xfd" ETCDIR="etc/xfd" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/xfd DOCSDIR=/usr/local/share/doc/xfd EXAMPLESDIR=/usr/local/share/examples/xfd WWWDIR=/usr/local/www/xfd ETCDIR=/usr/local/etc/xfd --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--- =================================================== ===> License MIT accepted by the user =========================================================================== =================================================== ===> xfd-1.1.2_1 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 ===> xfd-1.1.2_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of xfd-1.1.2_1 =========================================================================== =================================================== =========================================================================== =================================================== ===> License MIT accepted by the user ===> Fetching all distfiles required by xfd-1.1.2_1 for building =========================================================================== =================================================== ===> License MIT accepted by the user ===> Fetching all distfiles required by xfd-1.1.2_1 for building => SHA256 Checksum OK for xorg/app/xfd-1.1.2.tar.bz2. =========================================================================== =================================================== =========================================================================== =================================================== ===> License MIT accepted by the user ===> Fetching all distfiles required by xfd-1.1.2_1 for building ===> Extracting for xfd-1.1.2_1 => SHA256 Checksum OK for xorg/app/xfd-1.1.2.tar.bz2. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for xfd-1.1.2_1 =========================================================================== =================================================== ===> xfd-1.1.2_1 depends on executable: fc-cache - not found ===> Installing existing package /packages/All/fontconfig-2.12.1,1.txz 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 ===> xfd-1.1.2_1 depends on executable: fc-cache - found ===> Returning to build of xfd-1.1.2_1 ===> xfd-1.1.2_1 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 ===> xfd-1.1.2_1 depends on package: pkgconf>=0.9.10 - found ===> Returning to build of xfd-1.1.2_1 ===> xfd-1.1.2_1 depends on file: /usr/local/libdata/pkgconfig/xorg-macros.pc - not found ===> Installing existing package /packages/All/xorg-macros-1.19.0.txz Installing xorg-macros-1.19.0... Extracting xorg-macros-1.19.0: ... done ===> xfd-1.1.2_1 depends on file: /usr/local/libdata/pkgconfig/xorg-macros.pc - found ===> Returning to build of xfd-1.1.2_1 ===> xfd-1.1.2_1 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 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 ===> xfd-1.1.2_1 depends on file: /usr/local/libdata/pkgconfig/xft.pc - found ===> Returning to build of xfd-1.1.2_1 ===> xfd-1.1.2_1 depends on file: /usr/local/libdata/pkgconfig/xt.pc - not found ===> Installing existing package /packages/All/libXt-1.1.5,1.txz Installing libXt-1.1.5,1... `-- Installing libSM-1.2.2_3,1... | `-- Installing libICE-1.0.9_1,1... | `-- Extracting libICE-1.0.9_1,1: .......... done `-- Extracting libSM-1.2.2_3,1: .......... done Extracting libXt-1.1.5,1: .......... done ===> xfd-1.1.2_1 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> Returning to build of xfd-1.1.2_1 ===> xfd-1.1.2_1 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - not found ===> Installing existing package /packages/All/libXaw-1.0.13,2.txz Installing libXaw-1.0.13,2... `-- Installing libXpm-3.5.11_4... | `-- Installing 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 | `-- Installing gettext-runtime-0.19.8.1... | | `-- Installing indexinfo-0.2.5... | | `-- Extracting indexinfo-0.2.5: .... done | `-- Extracting gettext-runtime-0.19.8.1: .......... done `-- Extracting libXpm-3.5.11_4: .......... done `-- Installing libXmu-1.1.2_3,1... `-- Extracting libXmu-1.1.2_3,1: .......... done `-- Installing printproto-1.0.5... `-- Extracting printproto-1.0.5: .... done `-- Installing libXp-1.0.3,1... `-- Extracting libXp-1.0.3,1: .......... done Extracting libXaw-1.0.13,2: .......... done ===> xfd-1.1.2_1 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found ===> Returning to build of xfd-1.1.2_1 =========================================================================== =================================================== ===> xfd-1.1.2_1 depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so) =========================================================================== =================================================== ===> Configuring for xfd-1.1.2_1 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 make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking dependency style of cc... gcc3 checking for cc option to accept ISO C99... none needed checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking whether __clang__ is declared... no checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... no checking pkg-config is at least version 0.9.0... yes checking build system type... x86_64-portbld-dragonfly4.6 checking host system type... x86_64-portbld-dragonfly4.6 checking for a sed that does not truncate output... (cached) /usr/bin/sed checking if cc supports -Werror=unknown-warning-option... no checking if cc supports -Werror=unused-command-line-argument... no checking if cc supports -Wall... yes checking if cc supports -Wpointer-arith... yes checking if cc supports -Wmissing-declarations... yes checking if cc supports -Wformat=2... yes checking if cc supports -Wstrict-prototypes... yes checking if cc supports -Wmissing-prototypes... yes checking if cc supports -Wnested-externs... yes checking if cc supports -Wbad-function-cast... yes checking if cc supports -Wold-style-definition... yes checking if cc supports -Wdeclaration-after-statement... yes checking if cc supports -Wunused... yes checking if cc supports -Wuninitialized... yes checking if cc supports -Wshadow... yes checking if cc supports -Wcast-qual... yes checking if cc supports -Wmissing-noreturn... yes checking if cc supports -Wmissing-format-attribute... yes checking if cc supports -Wredundant-decls... yes checking if cc supports -Werror=implicit... yes checking if cc supports -Werror=nonnull... yes checking if cc supports -Werror=init-self... yes checking if cc supports -Werror=main... yes checking if cc supports -Werror=missing-braces... yes checking if cc supports -Werror=sequence-point... yes checking if cc supports -Werror=return-type... yes checking if cc supports -Werror=trigraphs... yes checking if cc supports -Werror=array-bounds... yes checking if cc supports -Werror=write-strings... yes checking if cc supports -Werror=address... yes checking if cc supports -Werror=int-to-pointer-cast... yes checking if cc supports -Werror=pointer-to-int-cast... yes checking if cc supports -pedantic... yes checking if cc supports -Werror... yes checking if cc supports -Werror=attributes... yes checking whether make supports nested variables... (cached) yes checking for library containing gettext... no checking where to install localized messages... nowhere checking for XFD... yes checking for APPDEFS... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands =========================================================================== =================================================== ===> Building for xfd-1.1.2_1 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in man --- xfd.1 --- /usr/bin/sed -e 's|__vendorversion__|"xfd 1.1.2" "X Version 11"|' -e 's|__xorgversion__|"xfd 1.1.2" "X Version 11"|' -e 's|__xservername__|Xorg|g' -e 's|__xconfigfile__|xorg.conf|g' -e 's|__projectroot__|/usr/local|g' -e 's|__apploaddir__|/usr/local/share/X11/app-defaults|g' -e 's|__appmansuffix__|1|g' -e 's|__drivermansuffix__|4|g' -e 's|__adminmansuffix__|8|g' -e 's|__libmansuffix__|3|g' -e 's|__miscmansuffix__|7|g' -e 's|__filemansuffix__|5|g' < xfd.man > xfd.1 --- grid.o --- --- xfd.o --- --- grid.o --- cc -DHAVE_CONFIG_H -I. -DXRENDER -D_BSD_SOURCE -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -D_THREAD_SAFE -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 -pipe -O2 -fno-strict-aliasing -MT grid.o -MD -MP -MF .deps/grid.Tpo -c -o grid.o grid.c --- xfd.o --- cc -DHAVE_CONFIG_H -I. -DXRENDER -D_BSD_SOURCE -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -D_THREAD_SAFE -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 -pipe -O2 -fno-strict-aliasing -MT xfd.o -MD -MP -MF .deps/xfd.Tpo -c -o xfd.o xfd.c xfd.c:60:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-fn", "*grid.font", XrmoptionSepArg, (caddr_t) NULL }, ^ xfd.c:60:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-fn", "*grid.font", XrmoptionSepArg, (caddr_t) NULL }, ^ xfd.c:62:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-fa", "*grid.face", XrmoptionSepArg, (caddr_t) NULL }, ^ xfd.c:62:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-fa", "*grid.face", XrmoptionSepArg, (caddr_t) NULL }, ^ xfd.c:64:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-start", "*startChar", XrmoptionSepArg, (caddr_t) NULL }, ^ xfd.c:64:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-start", "*startChar", XrmoptionSepArg, (caddr_t) NULL }, ^ xfd.c:65:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-box", "*grid.boxChars", XrmoptionNoArg, (caddr_t) "on" }, ^ xfd.c:65:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-box", "*grid.boxChars", XrmoptionNoArg, (caddr_t) "on" }, ^ xfd.c:65:44: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {"-box", "*grid.boxChars", XrmoptionNoArg, (caddr_t) "on" }, ^ xfd.c:66:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-bc", "*grid.boxColor", XrmoptionSepArg, (caddr_t) NULL }, ^ xfd.c:66:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-bc", "*grid.boxColor", XrmoptionSepArg, (caddr_t) NULL }, ^ xfd.c:67:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-center", "*grid.centerChars", XrmoptionNoArg, (caddr_t) "on" }, ^ xfd.c:67:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-center", "*grid.centerChars", XrmoptionNoArg, (caddr_t) "on" }, ^ xfd.c:67:50: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] {"-center", "*grid.centerChars", XrmoptionNoArg, (caddr_t) "on" }, ^ xfd.c:68:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-rows", "*grid.cellRows", XrmoptionSepArg, (caddr_t) NULL }, ^ xfd.c:68:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-rows", "*grid.cellRows", XrmoptionSepArg, (caddr_t) NULL }, ^ xfd.c:69:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-columns", "*grid.cellColumns", XrmoptionSepArg, (caddr_t) NULL }, ^ xfd.c:69:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-columns", "*grid.cellColumns", XrmoptionSepArg, (caddr_t) NULL }, ^ xfd.c:92:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "Quit", do_quit }, ^ xfd.c:93:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "Prev16", do_prev16 }, ^ xfd.c:94:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "Prev", do_prev }, ^ xfd.c:95:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "Next", do_next }, ^ xfd.c:96:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "Next16", do_next16 }, ^ xfd.c:121:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "selectFormat", "SelectFormat", XtRString, sizeof(char *), ^ xfd.c:121:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "selectFormat", "SelectFormat", XtRString, sizeof(char *), ^ In file included from xfd.c:34: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]) ^ xfd.c:121:37: note: in expansion of macro 'XtRString' { "selectFormat", "SelectFormat", 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]) ^ xfd.c:122:30: note: in expansion of macro 'XtRString' Offset(select_format), XtRString, DEF_SELECT_FORMAT }, ^ xfd.c:104:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define DEF_SELECT_FORMAT "character 0x%04x%02x (%u,%u) (%#o,%#o)" ^ xfd.c:122:41: note: in expansion of macro 'DEF_SELECT_FORMAT' Offset(select_format), XtRString, DEF_SELECT_FORMAT }, ^ xfd.c:123:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "metricsFormat", "MetricsFormat", XtRString, sizeof(char *), ^ xfd.c:123:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "metricsFormat", "MetricsFormat", XtRString, sizeof(char *), ^ In file included from xfd.c:34: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]) ^ xfd.c:123:39: note: in expansion of macro 'XtRString' { "metricsFormat", "MetricsFormat", 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]) ^ xfd.c:124:31: note: in expansion of macro 'XtRString' Offset(metrics_format), XtRString, DEF_METRICS_FORMAT }, ^ xfd.c:105:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define DEF_METRICS_FORMAT "width %d; left %d, right %d; ascent %d, descent %d (font %d, %d)" ^ xfd.c:124:42: note: in expansion of macro 'DEF_METRICS_FORMAT' Offset(metrics_format), XtRString, DEF_METRICS_FORMAT }, ^ xfd.c:125:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "rangeFormat", "RangeFormat", XtRString, sizeof(char *), ^ xfd.c:125:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "rangeFormat", "RangeFormat", XtRString, sizeof(char *), ^ In file included from xfd.c:34: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]) ^ xfd.c:125:35: note: in expansion of macro 'XtRString' { "rangeFormat", "RangeFormat", 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]) ^ xfd.c:126:29: note: in expansion of macro 'XtRString' Offset(range_format), XtRString, DEF_RANGE_FORMAT }, ^ xfd.c:106:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define DEF_RANGE_FORMAT "range: 0x%04x%02x (%u,%u) thru 0x%04x%02x (%u,%u)" ^ xfd.c:126:40: note: in expansion of macro 'DEF_RANGE_FORMAT' Offset(range_format), XtRString, DEF_RANGE_FORMAT }, ^ xfd.c:127:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "startFormat", "StartFormat", XtRString, sizeof(char *), ^ xfd.c:127:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "startFormat", "StartFormat", XtRString, sizeof(char *), ^ In file included from xfd.c:34: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]) ^ xfd.c:127:35: note: in expansion of macro 'XtRString' { "startFormat", "StartFormat", 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]) ^ xfd.c:128:29: note: in expansion of macro 'XtRString' Offset(start_format), XtRString, DEF_START_FORMAT }, ^ xfd.c:107:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define DEF_START_FORMAT "upper left: 0x%06x (%d,%d)" ^ xfd.c:128:40: note: in expansion of macro 'DEF_START_FORMAT' Offset(start_format), XtRString, DEF_START_FORMAT }, ^ xfd.c:129:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "nocharFormat", "NocharFormat", XtRString, sizeof(char *), ^ xfd.c:129:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "nocharFormat", "NocharFormat", XtRString, sizeof(char *), ^ In file included from xfd.c:34: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]) ^ xfd.c:129:37: note: in expansion of macro 'XtRString' { "nocharFormat", "NocharFormat", 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]) ^ xfd.c:130:30: note: in expansion of macro 'XtRString' Offset(nochar_format), XtRString, DEF_NOCHAR_FORMAT }, ^ xfd.c:108:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define DEF_NOCHAR_FORMAT "no such character 0x%04x%02x (%u,%u) (%#o,%#o)" ^ xfd.c:130:41: note: in expansion of macro 'DEF_NOCHAR_FORMAT' Offset(nochar_format), XtRString, DEF_NOCHAR_FORMAT }, ^ xfd.c: In function 'main': xfd.c:207:31: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] Resources[0].default_addr = gettext(DEF_SELECT_FORMAT); ^ xfd.c:208:31: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] Resources[1].default_addr = gettext(DEF_METRICS_FORMAT); ^ xfd.c:209:31: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] Resources[2].default_addr = gettext(DEF_RANGE_FORMAT); ^ xfd.c:210:31: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] Resources[3].default_addr = gettext(DEF_START_FORMAT); ^ xfd.c:211:31: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] Resources[4].default_addr = gettext(DEF_NOCHAR_FORMAT); ^ In file included from xfd.c:33: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]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ xfd.c:261:22: note: in expansion of macro 'XtNtop' XtSetArg (av[i], XtNtop, XtChainTop); i++; ^ /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) )) ^ xfd.c:262:5: note: in expansion of macro 'XtSetArg' XtSetArg (av[i], XtNbottom, XtChainBottom); i++; ^ /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) )) ^ xfd.c:263:5: note: in expansion of macro 'XtSetArg' XtSetArg (av[i], XtNleft, XtChainLeft); i++; ^ /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) )) ^ xfd.c:264:5: note: in expansion of macro 'XtSetArg' XtSetArg (av[i], XtNright, XtChainRight); i++; ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ xfd.c:265:22: note: in expansion of macro 'XtNcallback' XtSetArg (av[i], XtNcallback, cb); i++; ^ /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) )) ^ xfd.c:278:5: note: in expansion of macro 'XtSetArg' XtSetArg (av[i], XtNface, &xft); i++; ^ xfd.c:286:11: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] family = (FcChar8 *) ""; ^ xfd.c:288:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] style = (FcChar8 *) ""; ^ In file included from xfd.c:33: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]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ xfd.c:304:19: note: in expansion of macro 'XtNfont' XtSetArg (av[i], XtNfont, &fs); i++; ^ xfd.c:311:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (!fontname) fontname = gettext("unknown font!"); ^ In file included from xfd.c:33:0: /usr/local/include/X11/StringDefs.h:435:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlabel ((char*)&XtStrings[429]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ xfd.c:314:22: note: in expansion of macro 'XtNlabel' XtSetArg (av[i], XtNlabel, fontname); i++; ^ xfd.c:323:8: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] maxn >> 8, maxn & 0xff); ^ xfd.c:323:8: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] In file included from xfd.c:33:0: /usr/local/include/X11/StringDefs.h:435:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlabel ((char*)&XtStrings[429]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ xfd.c:326:22: note: in expansion of macro 'XtNlabel' XtSetArg (av[i], XtNlabel, buf); i++; ^ xfd.c:186:17: warning: unused variable 'domaindir' [-Wunused-variable] const char *domaindir; ^ In file included from xfd.c:33:0: xfd.c: In function 'SelectChar': /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) )) ^ xfd.c:354:20: note: in expansion of macro 'XtNlabel' XtSetArg (arg, XtNlabel, buf); ^ xfd.c:371:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] xft->ascent, xft->descent); ^ xfd.c:371:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] xfd.c:394:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] metrics.ascent, metrics.descent, fontascent, fontdescent); ^ xfd.c:394:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] xfd.c:404:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] n >> 8, n & 0xff); ^ xfd.c:404:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] xfd.c:411:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] n >> 8, n & 0xff); ^ xfd.c:411:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] xfd.c: In function 'change_page': xfd.c:434:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] arg.name = XtNstartChar; ^ In file included from xfd.c:33:0: /usr/local/include/X11/StringDefs.h:435:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlabel ((char*)&XtStrings[429]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ xfd.c:454:17: note: in expansion of macro 'XtNlabel' XtSetArg (arg, XtNlabel, buf); ^ xfd.c:456:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] newstart, row, col); ^ xfd.c:456:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] In file included from xfd.c:34:0: xfd.c: In function 'set_button_state': /usr/local/include/X11/StringDefs.h:510:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNsensitive ((char*)&XtStrings[711]) ^ xfd.c:473:16: note: in expansion of macro 'XtNsensitive' arg.name = XtNsensitive; ^ /usr/local/include/X11/StringDefs.h:510:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNsensitive ((char*)&XtStrings[711]) ^ xfd.c:478:16: note: in expansion of macro 'XtNsensitive' arg.name = XtNsensitive; ^ mv -f .deps/xfd.Tpo .deps/xfd.Po --- grid.o --- In file included from grid.c:29: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]) ^ grid.c:67:7: 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]) ^ grid.c:67: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]) ^ grid.c:67: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]) ^ grid.c:68:21: note: in expansion of macro 'XtRString' Offset(text_font), XtRString, (XtPointer) NULL }, ^ In file included from gridP.h:32:0, from grid.c:33: grid.h:42:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNcellColumns "cellColumns" ^ grid.c:69:7: note: in expansion of macro 'XtNcellColumns' { XtNcellColumns, XtCCellColumns, XtRInt, sizeof(int), ^ grid.h:43:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCCellColumns "CellColumns" ^ grid.c:69:23: note: in expansion of macro 'XtCCellColumns' { XtNcellColumns, XtCCellColumns, XtRInt, sizeof(int), ^ In file included from grid.c:29:0: /usr/local/include/X11/StringDefs.h:843:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRInt ((char*)&XtStrings[1718]) ^ grid.c:69:39: note: in expansion of macro 'XtRInt' { XtNcellColumns, XtCCellColumns, 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]) ^ grid.c:70:21: note: in expansion of macro 'XtRImmediate' Offset(cell_cols), XtRImmediate, (XtPointer) 0 }, ^ In file included from gridP.h:32:0, from grid.c:33: grid.h:40:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNcellRows "cellRows" ^ grid.c:71:7: note: in expansion of macro 'XtNcellRows' { XtNcellRows, XtCCellRows, XtRInt, sizeof(int), ^ grid.h:41:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCCellRows "CellRows" ^ grid.c:71:20: note: in expansion of macro 'XtCCellRows' { XtNcellRows, XtCCellRows, XtRInt, sizeof(int), ^ In file included from grid.c:29:0: /usr/local/include/X11/StringDefs.h:843:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRInt ((char*)&XtStrings[1718]) ^ grid.c:71:33: note: in expansion of macro 'XtRInt' { XtNcellRows, XtCCellRows, 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]) ^ grid.c:72:21: note: in expansion of macro 'XtRImmediate' Offset(cell_rows), XtRImmediate, (XtPointer) 0 }, ^ In file included from gridP.h:32:0, from grid.c:33: grid.h:44:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNcellWidth "cellWidth" ^ grid.c:73:7: note: in expansion of macro 'XtNcellWidth' { XtNcellWidth, XtCCellWidth, XtRInt, sizeof(int), ^ grid.h:45:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCCellWidth "CellWidth" ^ grid.c:73:21: note: in expansion of macro 'XtCCellWidth' { XtNcellWidth, XtCCellWidth, XtRInt, sizeof(int), ^ In file included from grid.c:29:0: /usr/local/include/X11/StringDefs.h:843:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRInt ((char*)&XtStrings[1718]) ^ grid.c:73:35: note: in expansion of macro 'XtRInt' { XtNcellWidth, XtCCellWidth, 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]) ^ grid.c:74:22: note: in expansion of macro 'XtRImmediate' Offset(cell_width), XtRImmediate, (XtPointer) 0 }, ^ In file included from gridP.h:32:0, from grid.c:33: grid.h:46:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNcellHeight "cellHeight" ^ grid.c:75:7: note: in expansion of macro 'XtNcellHeight' { XtNcellHeight, XtCCellHeight, XtRInt, sizeof(int), ^ grid.h:47:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCCellHeight "CellHeight" ^ grid.c:75:22: note: in expansion of macro 'XtCCellHeight' { XtNcellHeight, XtCCellHeight, XtRInt, sizeof(int), ^ In file included from grid.c:29:0: /usr/local/include/X11/StringDefs.h:843:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRInt ((char*)&XtStrings[1718]) ^ grid.c:75:37: note: in expansion of macro 'XtRInt' { XtNcellHeight, XtCCellHeight, 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]) ^ grid.c:76:23: note: in expansion of macro 'XtRImmediate' Offset(cell_height), XtRImmediate, (XtPointer) 0 }, ^ In file included from gridP.h:32:0, from grid.c:33: grid.h:58:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNstartChar "startChar" ^ grid.c:77:7: note: in expansion of macro 'XtNstartChar' { XtNstartChar, XtCStartChar, XtRLong, sizeof(long), ^ grid.h:59:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCStartChar "StartChar" ^ grid.c:77:21: note: in expansion of macro 'XtCStartChar' { XtNstartChar, XtCStartChar, XtRLong, sizeof(long), ^ In file included from /usr/local/include/X11/Xaw/Simple.h:51:0, from /usr/local/include/X11/Xaw/SimpleP.h:53, from grid.c:30: /usr/local/include/X11/Xmu/Converters.h:160:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRLong "Long" ^ grid.c:77:35: note: in expansion of macro 'XtRLong' { XtNstartChar, XtCStartChar, XtRLong, sizeof(long), ^ In file included from grid.c:29: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]) ^ grid.c:78:22: note: in expansion of macro 'XtRImmediate' Offset(start_char), XtRImmediate, (XtPointer) 0xffffffff }, ^ In file included from gridP.h:32:0, from grid.c:33: grid.h:49:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNcenterChars "centerChars" ^ grid.c:83:7: note: in expansion of macro 'XtNcenterChars' { XtNcenterChars, XtCCenterChars, XtRBoolean, sizeof(Boolean), ^ grid.h:50:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCCenterChars "CenterChars" ^ grid.c:83:23: note: in expansion of macro 'XtCCenterChars' { XtNcenterChars, XtCCenterChars, XtRBoolean, sizeof(Boolean), ^ In file included from grid.c:29:0: /usr/local/include/X11/StringDefs.h:786:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((char*)&XtStrings[1561]) ^ grid.c:83:39: note: in expansion of macro 'XtRBoolean' { XtNcenterChars, XtCCenterChars, 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]) ^ grid.c:84:24: note: in expansion of macro 'XtRImmediate' Offset(center_chars), XtRImmediate, (XtPointer) FALSE }, ^ In file included from gridP.h:32:0, from grid.c:33: grid.h:52:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNboxChars "boxChars" ^ grid.c:85:7: note: in expansion of macro 'XtNboxChars' { XtNboxChars, XtCBoxChars, XtRBoolean, sizeof(Boolean), ^ grid.h:53:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCBoxChars "BoxChars" ^ grid.c:85:20: note: in expansion of macro 'XtCBoxChars' { XtNboxChars, XtCBoxChars, XtRBoolean, sizeof(Boolean), ^ In file included from grid.c:29:0: /usr/local/include/X11/StringDefs.h:786:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((char*)&XtStrings[1561]) ^ grid.c:85:33: note: in expansion of macro 'XtRBoolean' { XtNboxChars, XtCBoxChars, 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]) ^ grid.c:86:21: note: in expansion of macro 'XtRImmediate' Offset(box_chars), XtRImmediate, (XtPointer) FALSE }, ^ In file included from gridP.h:32:0, from grid.c:33: grid.h:55:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNboxColor "boxColor" ^ grid.c:87:7: note: in expansion of macro 'XtNboxColor' { XtNboxColor, XtCForeground, XtRPixel, sizeof(Pixel), ^ In file included from grid.c:29:0: /usr/local/include/X11/StringDefs.h:621:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCForeground ((char*)&XtStrings[1022]) ^ grid.c:87:20: note: in expansion of macro 'XtCForeground' { XtNboxColor, 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]) ^ grid.c:87:35: note: in expansion of macro 'XtRPixel' { XtNboxColor, 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]) ^ grid.c:88:21: note: in expansion of macro 'XtRString' Offset(box_pixel), XtRString, (XtPointer) XtDefaultForeground }, ^ grid.c:88:32: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] Offset(box_pixel), XtRString, (XtPointer) XtDefaultForeground }, ^ In file included from grid.c:29:0: /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ grid.c:89:7: 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]) ^ grid.c:89:20: 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]) ^ grid.c:89:33: 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]) ^ grid.c:90:21: note: in expansion of macro 'XtRCallback' Offset(callbacks), XtRCallback, (XtPointer) NULL }, ^ In file included from gridP.h:32:0, from grid.c:33: grid.h:61:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNinternalPad "internalPad" ^ grid.c:91:7: note: in expansion of macro 'XtNinternalPad' { XtNinternalPad, XtCInternalPad, XtRInt, sizeof(int), ^ grid.h:62:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCInternalPad "InternalPad" ^ grid.c:91:23: note: in expansion of macro 'XtCInternalPad' { XtNinternalPad, XtCInternalPad, XtRInt, sizeof(int), ^ In file included from grid.c:29:0: /usr/local/include/X11/StringDefs.h:843:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRInt ((char*)&XtStrings[1718]) ^ grid.c:91:39: note: in expansion of macro 'XtRInt' { XtNinternalPad, XtCInternalPad, 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]) ^ grid.c:92:24: note: in expansion of macro 'XtRImmediate' Offset(internal_pad), XtRImmediate, (XtPointer) 4 }, ^ In file included from gridP.h:32:0, from grid.c:33: grid.h:64:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNgridWidth "gridWidth" ^ grid.c:93:7: note: in expansion of macro 'XtNgridWidth' { XtNgridWidth, XtCGridWidth, XtRInt, sizeof(int), ^ grid.h:65:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCGridWidth "GridWidth" ^ grid.c:93:21: note: in expansion of macro 'XtCGridWidth' { XtNgridWidth, XtCGridWidth, XtRInt, sizeof(int), ^ In file included from grid.c:29:0: /usr/local/include/X11/StringDefs.h:843:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRInt ((char*)&XtStrings[1718]) ^ grid.c:93:35: note: in expansion of macro 'XtRInt' { XtNgridWidth, XtCGridWidth, 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]) ^ grid.c:94:22: note: in expansion of macro 'XtRImmediate' Offset(grid_width), 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]) ^ grid.c:96:6: note: in expansion of macro 'XtNforeground' {XtNforeground, XtCForeground, XtRXftColor, sizeof(XftColor), ^ /usr/local/include/X11/StringDefs.h:621:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCForeground ((char*)&XtStrings[1022]) ^ grid.c:96:21: note: in expansion of macro 'XtCForeground' {XtNforeground, XtCForeground, XtRXftColor, sizeof(XftColor), ^ In file included from gridP.h:32:0, from grid.c:33: grid.h:67:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRXftColor "XftColor" ^ grid.c:96:36: note: in expansion of macro 'XtRXftColor' {XtNforeground, XtCForeground, XtRXftColor, sizeof(XftColor), ^ In file included from grid.c:29:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ grid.c:97:27: note: in expansion of macro 'XtRString' Offset(fg_color), XtRString, XtDefaultForeground}, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from grid.c:28: /usr/local/include/X11/Intrinsic.h:1655:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtDefaultForeground "XtDefaultForeground" ^ grid.c:97:38: note: in expansion of macro 'XtDefaultForeground' Offset(fg_color), XtRString, XtDefaultForeground}, ^ In file included from gridP.h:32:0, from grid.c:33: grid.h:69:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNface "face" ^ grid.c:98:6: note: in expansion of macro 'XtNface' {XtNface, XtCFace, XtRXftFont, sizeof (XftFont *), ^ grid.h:70:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCFace "Face" ^ grid.c:98:15: note: in expansion of macro 'XtCFace' {XtNface, XtCFace, XtRXftFont, sizeof (XftFont *), ^ grid.h:71:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRXftFont "XftFont" ^ grid.c:98:24: note: in expansion of macro 'XtRXftFont' {XtNface, XtCFace, XtRXftFont, sizeof (XftFont *), ^ In file included from grid.c:29:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ grid.c:99:22: note: in expansion of macro 'XtRString' Offset (text_face), XtRString, NULL}, ^ grid.c:109:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "notify", Notify }, ^ grid.c:115:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "FontGrid", ^ In file included from grid.c:29:0: grid.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]) ^ grid.c:555:21: note: in expansion of macro 'XtRString' XtAddConverter (XtRString, XtRLong, XmuCvtStringToLong, NULL, 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]) ^ grid.c:557:25: note: in expansion of macro 'XtRString' XtSetTypeConverter (XtRString, XtRXftColor, ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ grid.c:561:25: note: in expansion of macro 'XtRString' XtSetTypeConverter (XtRString, XtRXftFont, ^ grid.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]) ^ grid.c:994:26: note: in expansion of macro 'XtNcallback' XtCallCallbacks (gw, XtNcallback, (XtPointer) &rec); ^ mv -f .deps/grid.Tpo .deps/grid.Po --- xfd --- cc -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/freetype2 -D_THREAD_SAFE -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 -pipe -O2 -fno-strict-aliasing -o xfd grid.o xfd.o -L/usr/local/lib -lXaw7 -lfontconfig -lfreetype -lXft -lXrender -lXmu -lXt -lX11 =========================================================================== =================================================== ===> xfd-1.1.2_1 depends on executable: fc-cache - found ===> xfd-1.1.2_1 depends on file: /usr/local/libdata/pkgconfig/xft.pc - found ===> xfd-1.1.2_1 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> xfd-1.1.2_1 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found =========================================================================== =================================================== ===> Staging for xfd-1.1.2_1 ===> Generating temporary packing list Making install in man /bin/mkdir -p '/wrkdirs/x11/xfd/stage/usr/local/man/man1' install -m 0644 xfd.1 '/wrkdirs/x11/xfd/stage/usr/local/man/man1' /bin/mkdir -p '/wrkdirs/x11/xfd/stage/usr/local/bin' install -s -m 555 xfd '/wrkdirs/x11/xfd/stage/usr/local/bin' /bin/mkdir -p '/wrkdirs/x11/xfd/stage/usr/local/share/X11/app-defaults' install -m 0644 app-defaults/Xfd '/wrkdirs/x11/xfd/stage/usr/local/share/X11/app-defaults' ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for xfd-1.1.2_1 file sizes/checksums [6]: . done packing files [6]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for xfd-1.1.2_1 build of x11/xfd ended at Sun Oct 9 16:37:58 PDT 2016 build time: 00:00:13