=> Building x11/bitmap build started at Sun Mar 12 22:49:02 PDT 2017 port directory: /usr/ports/x11/bitmap building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.1380.gb4315f-DEVELOPMENT #0: Fri Mar 3 17:20:21 PST 2017 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/Release48-default/ref/../06//usr/ports/x11/bitmap/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400713 Jail OSVERSION: 400713 ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/Release48-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=bitmap-1.0.8 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/Release48-default/ref/.p/pool MASTERNAME=Release48-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/bitmap XDG_CONFIG_HOME=/wrkdirs/x11/bitmap HOME=/wrkdirs/x11/bitmap 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/bitmap XDG_CONFIG_HOME=/wrkdirs/x11/bitmap HOME=/wrkdirs/x11/bitmap TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=4.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/bitmap" EXAMPLESDIR="share/examples/bitmap" DATADIR="share/bitmap" WWWDIR="www/bitmap" ETCDIR="etc/bitmap" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/bitmap DOCSDIR=/usr/local/share/doc/bitmap EXAMPLESDIR=/usr/local/share/examples/bitmap WWWDIR=/usr/local/www/bitmap ETCDIR=/usr/local/etc/bitmap --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--- =================================================== =========================================================================== =================================================== ===> bitmap-1.0.8 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.9.4_1.txz Installing pkg-1.9.4_1... Extracting pkg-1.9.4_1: .......... done ===> bitmap-1.0.8 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of bitmap-1.0.8 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by bitmap-1.0.8 for building =========================================================================== =================================================== ===> Fetching all distfiles required by bitmap-1.0.8 for building => SHA256 Checksum OK for xorg/app/bitmap-1.0.8.tar.bz2. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by bitmap-1.0.8 for building ===> Extracting for bitmap-1.0.8 => SHA256 Checksum OK for xorg/app/bitmap-1.0.8.tar.bz2. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for bitmap-1.0.8 =========================================================================== =================================================== ===> bitmap-1.0.8 depends on package: pkgconf>=0.9.10 - not found ===> Installing existing package /packages/All/pkgconf-1.2.1_1.txz Installing pkgconf-1.2.1_1... Extracting pkgconf-1.2.1_1: .......... done ===> bitmap-1.0.8 depends on package: pkgconf>=0.9.10 - found ===> Returning to build of bitmap-1.0.8 ===> bitmap-1.0.8 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 ===> bitmap-1.0.8 depends on file: /usr/local/libdata/pkgconfig/xorg-macros.pc - found ===> Returning to build of bitmap-1.0.8 ===> bitmap-1.0.8 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.6.4,1.txz Installing libX11-1.6.4,1... `-- Installing xproto-7.0.31... `-- Extracting xproto-7.0.31: .......... done `-- Installing kbproto-1.0.7... `-- Extracting kbproto-1.0.7: .......... done `-- Installing libXdmcp-1.1.2... `-- Extracting libXdmcp-1.1.2: ......... done `-- Installing libxcb-1.12... | `-- 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.12: .......... done Extracting libX11-1.6.4,1: .......... done ===> bitmap-1.0.8 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of bitmap-1.0.8 ===> bitmap-1.0.8 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.12... | `-- 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 | `-- Installing gettext-runtime-0.19.8.1_1... | | `-- Installing indexinfo-0.2.6... | | `-- Extracting indexinfo-0.2.6: .... done | `-- Extracting gettext-runtime-0.19.8.1_1: .......... done `-- Extracting libXpm-3.5.12: .......... 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 ===> bitmap-1.0.8 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found ===> Returning to build of bitmap-1.0.8 ===> bitmap-1.0.8 depends on file: /usr/local/libdata/pkgconfig/xbitmaps.pc - not found ===> Installing existing package /packages/All/xbitmaps-1.1.1.txz Installing xbitmaps-1.1.1... Extracting xbitmaps-1.1.1: .......... done ===> bitmap-1.0.8 depends on file: /usr/local/libdata/pkgconfig/xbitmaps.pc - found ===> Returning to build of bitmap-1.0.8 ===> bitmap-1.0.8 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> bitmap-1.0.8 depends on file: /usr/local/libdata/pkgconfig/xproto.pc - found =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for bitmap-1.0.8 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 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.7 checking host system type... x86_64-portbld-dragonfly4.7 checking for a sed that does not truncate output... (cached) /usr/bin/sed checking if cc supports -Werror=unknown-warning-option... no checking if cc supports -Werror=unused-command-line-argument... no checking if cc supports -Wall... yes checking if cc supports -Wpointer-arith... yes checking if cc supports -Wmissing-declarations... yes checking if cc supports -Wformat=2... yes checking if cc supports -Wstrict-prototypes... yes checking if cc supports -Wmissing-prototypes... yes checking if cc supports -Wnested-externs... yes checking if cc supports -Wbad-function-cast... yes checking if cc supports -Wold-style-definition... yes checking if cc supports -Wdeclaration-after-statement... yes checking if cc supports -Wunused... yes checking if cc supports -Wuninitialized... yes checking if cc supports -Wshadow... yes checking if cc supports -Wmissing-noreturn... yes checking if cc supports -Wmissing-format-attribute... yes checking if cc supports -Wredundant-decls... yes checking if cc supports -Wlogical-op... 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 mkstemp... (cached) yes checking for library containing floor... -lm checking for library containing lrint... none required checking for lrint... yes checking for BMTOA... yes checking for ATOBM... yes checking for BITMAP... 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 bitmap-1.0.8 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in man --- bitmap.1 --- --- atobm.1 --- --- bmtoa.1 --- --- bitmap.1 --- /usr/bin/sed -e 's|__vendorversion__|"bitmap 1.0.8" "X Version 11"|' -e 's|__xorgversion__|"bitmap 1.0.8" "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' < bitmap.man > bitmap.1 --- atobm.1 --- /usr/bin/sed -e 's|__vendorversion__|"bitmap 1.0.8" "X Version 11"|' -e 's|__xorgversion__|"bitmap 1.0.8" "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' < atobm.man > atobm.1 --- bmtoa.1 --- /usr/bin/sed -e 's|__vendorversion__|"bitmap 1.0.8" "X Version 11"|' -e 's|__xorgversion__|"bitmap 1.0.8" "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' < bmtoa.man > bmtoa.1 --- bitmap-BitEdit.o --- --- bitmap-CutPaste.o --- --- bitmap-Graphics.o --- --- bitmap-ReqMach.o --- --- bitmap-Bitmap.o --- --- bitmap-BitEdit.o --- cc -DHAVE_CONFIG_H -I. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -pipe -O2 -fno-strict-aliasing -MT bitmap-BitEdit.o -MD -MP -MF .deps/bitmap-BitEdit.Tpo -c -o bitmap-BitEdit.o `test -f 'BitEdit.c' || echo './'`BitEdit.c --- bitmap-CutPaste.o --- cc -DHAVE_CONFIG_H -I. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -pipe -O2 -fno-strict-aliasing -MT bitmap-CutPaste.o -MD -MP -MF .deps/bitmap-CutPaste.Tpo -c -o bitmap-CutPaste.o `test -f 'CutPaste.c' || echo './'`CutPaste.c --- bitmap-Graphics.o --- cc -DHAVE_CONFIG_H -I. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -pipe -O2 -fno-strict-aliasing -MT bitmap-Graphics.o -MD -MP -MF .deps/bitmap-Graphics.Tpo -c -o bitmap-Graphics.o `test -f 'Graphics.c' || echo './'`Graphics.c --- bitmap-ReqMach.o --- cc -DHAVE_CONFIG_H -I. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -pipe -O2 -fno-strict-aliasing -MT bitmap-ReqMach.o -MD -MP -MF .deps/bitmap-ReqMach.Tpo -c -o bitmap-ReqMach.o `test -f 'ReqMach.c' || echo './'`ReqMach.c --- bitmap-Bitmap.o --- cc -DHAVE_CONFIG_H -I. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -pipe -O2 -fno-strict-aliasing -MT bitmap-Bitmap.o -MD -MP -MF .deps/bitmap-Bitmap.Tpo -c -o bitmap-Bitmap.o `test -f 'Bitmap.c' || echo './'`Bitmap.c --- bitmap-BitEdit.o --- BitEdit.c:74:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-axes", "*bitmap.axes", XrmoptionNoArg, "True"}, ^ BitEdit.c:74:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-axes", "*bitmap.axes", XrmoptionNoArg, "True"}, ^ BitEdit.c:74:54: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-axes", "*bitmap.axes", XrmoptionNoArg, "True"}, ^ BitEdit.c:75:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "+axes", "*bitmap.axes", XrmoptionNoArg, "False"}, ^ BitEdit.c:75:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "+axes", "*bitmap.axes", XrmoptionNoArg, "False"}, ^ BitEdit.c:75:54: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "+axes", "*bitmap.axes", XrmoptionNoArg, "False"}, ^ BitEdit.c:76:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-basename", "*bitmap.basename", XrmoptionSepArg, NULL}, ^ BitEdit.c:76:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-basename", "*bitmap.basename", XrmoptionSepArg, NULL}, ^ BitEdit.c:77:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-dashed", "*bitmap.dashed", XrmoptionNoArg, "True"}, ^ BitEdit.c:77:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-dashed", "*bitmap.dashed", XrmoptionNoArg, "True"}, ^ BitEdit.c:77:58: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-dashed", "*bitmap.dashed", XrmoptionNoArg, "True"}, ^ BitEdit.c:78:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "+dashed", "*bitmap.dashed", XrmoptionNoArg, "False"}, ^ BitEdit.c:78:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "+dashed", "*bitmap.dashed", XrmoptionNoArg, "False"}, ^ BitEdit.c:78:58: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "+dashed", "*bitmap.dashed", XrmoptionNoArg, "False"}, ^ BitEdit.c:79:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-dashes", "*bitmap.dashes", XrmoptionSepArg, NULL}, ^ BitEdit.c:79:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-dashes", "*bitmap.dashes", XrmoptionSepArg, NULL}, ^ BitEdit.c:80:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-fr", "*bitmap.frame", XrmoptionSepArg, NULL}, ^ BitEdit.c:80:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-fr", "*bitmap.frame", XrmoptionSepArg, NULL}, ^ BitEdit.c:81:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-gt", "*bitmap.gridTolerance",XrmoptionSepArg, NULL}, ^ BitEdit.c:81:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-gt", "*bitmap.gridTolerance",XrmoptionSepArg, NULL}, ^ BitEdit.c:82:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-grid", "*bitmap.grid", XrmoptionNoArg, "True"}, ^ BitEdit.c:82:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-grid", "*bitmap.grid", XrmoptionNoArg, "True"}, ^ BitEdit.c:82:54: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-grid", "*bitmap.grid", XrmoptionNoArg, "True"}, ^ BitEdit.c:83:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "+grid", "*bitmap.grid", XrmoptionNoArg, "False"}, ^ BitEdit.c:83:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "+grid", "*bitmap.grid", XrmoptionNoArg, "False"}, ^ BitEdit.c:83:54: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "+grid", "*bitmap.grid", XrmoptionNoArg, "False"}, ^ BitEdit.c:84:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-hl", "*bitmap.highlight", XrmoptionSepArg, NULL}, ^ BitEdit.c:84:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-hl", "*bitmap.highlight", XrmoptionSepArg, NULL}, ^ BitEdit.c:85:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-proportional","*bitmap.proportional", XrmoptionNoArg, "True"}, ^ BitEdit.c:85:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-proportional","*bitmap.proportional", XrmoptionNoArg, "True"}, ^ BitEdit.c:85:61: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-proportional","*bitmap.proportional", XrmoptionNoArg, "True"}, ^ BitEdit.c:86:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "+proportional","*bitmap.proportional", XrmoptionNoArg, "False"}, ^ BitEdit.c:86:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "+proportional","*bitmap.proportional", XrmoptionNoArg, "False"}, ^ BitEdit.c:86:61: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "+proportional","*bitmap.proportional", XrmoptionNoArg, "False"}, ^ BitEdit.c:87:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-size", "*bitmap.size", XrmoptionSepArg, NULL}, ^ BitEdit.c:87:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-size", "*bitmap.size", XrmoptionSepArg, NULL}, ^ BitEdit.c:88:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-sh", "*bitmap.squareHeight", XrmoptionSepArg, NULL}, ^ BitEdit.c:88:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-sh", "*bitmap.squareHeight", XrmoptionSepArg, NULL}, ^ BitEdit.c:89:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-sw", "*bitmap.squareWidth", XrmoptionSepArg, NULL}, ^ BitEdit.c:89:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-sw", "*bitmap.squareWidth", XrmoptionSepArg, NULL}, ^ BitEdit.c:90:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-stipple", "*bitmap.stipple", XrmoptionSepArg, NULL}, ^ BitEdit.c:90:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-stipple", "*bitmap.stipple", XrmoptionSepArg, NULL}, ^ BitEdit.c:91:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-stippled", "*bitmap.stippled", XrmoptionNoArg, "True"}, ^ BitEdit.c:91:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-stippled", "*bitmap.stippled", XrmoptionNoArg, "True"}, ^ BitEdit.c:91:61: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-stippled", "*bitmap.stippled", XrmoptionNoArg, "True"}, ^ BitEdit.c:92:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "+stippled", "*bitmap.stippled", XrmoptionNoArg, "False"}, ^ BitEdit.c:92:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "+stippled", "*bitmap.stippled", XrmoptionNoArg, "False"}, ^ BitEdit.c:92:61: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "+stippled", "*bitmap.stippled", XrmoptionNoArg, "False"}, ^ BitEdit.c:104:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {New, "new", True}, ^ BitEdit.c:106:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Load, "load", True}, ^ BitEdit.c:108:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Insert, "insert", True}, ^ BitEdit.c:110:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Save, "save", True}, ^ BitEdit.c:112:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {SaveAs, "saveAs", True}, ^ BitEdit.c:114:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Resize, "resize", True}, ^ BitEdit.c:116:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Rescale, "rescale", True}, ^ BitEdit.c:118:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Filename, "filename", True}, ^ BitEdit.c:120:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Basename, "basename", True}, ^ BitEdit.c:122:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Dummy, "line", False}, ^ BitEdit.c:124:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Quit, "quit", True}, ^ BitEdit.c:129:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Image, "image", True}, ^ BitEdit.c:131:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Grid, "grid", True}, ^ BitEdit.c:133:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Dashed, "dashed", True}, ^ BitEdit.c:135:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Axes, "axes", True}, ^ BitEdit.c:137:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Stippled, "stippled", True}, ^ BitEdit.c:139:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Proportional, "proportional", True}, ^ BitEdit.c:141:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Zoom, "zoom", True}, ^ BitEdit.c:143:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Dummy, "line", False}, ^ BitEdit.c:145:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Cut, "cut", True}, ^ BitEdit.c:147:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Copy, "copy", True}, ^ BitEdit.c:149:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Paste, "paste", True}, ^ BitEdit.c:154:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Clear, "clear", False}, ^ BitEdit.c:156:9: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Set, "set", False}, ^ BitEdit.c:158:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Invert, "invert", False}, ^ BitEdit.c:160:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Mark, "mark", True}, ^ BitEdit.c:162:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Unmark, "unmark", False}, ^ BitEdit.c:164:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {CopyImm, "copy", True}, ^ BitEdit.c:166:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {MoveImm, "move", True}, ^ BitEdit.c:168:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {FlipHoriz, "flipHoriz", False}, ^ BitEdit.c:170:8: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Up, "up", False}, ^ BitEdit.c:172:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {FlipVert, "flipVert", False}, ^ BitEdit.c:174:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Left, "left", False}, ^ BitEdit.c:176:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Fold, "fold", False}, ^ BitEdit.c:178:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Right, "right", False}, ^ BitEdit.c:180:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {RotateLeft, "rotateLeft", False}, ^ BitEdit.c:182:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Down, "down", False}, ^ BitEdit.c:184:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {RotateRight, "rotateRight", False}, ^ BitEdit.c:186:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Point, "point", True}, ^ BitEdit.c:188:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Curve, "curve", True}, ^ BitEdit.c:190:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Line, "line", True}, ^ BitEdit.c:192:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Rectangle, "rectangle", True}, ^ BitEdit.c:194:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {FilledRectangle, "filledRectangle", True}, ^ BitEdit.c:196:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Circle, "circle", True}, ^ BitEdit.c:198:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {FilledCircle, "filledCircle", True}, ^ BitEdit.c:200:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {FloodFill, "floodFill", True}, ^ BitEdit.c:202:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {SetHotSpot, "setHotSpot", True}, ^ BitEdit.c:204:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {ClearHotSpot, "clearHotSpot", False}, ^ BitEdit.c:206:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {Undo, "undo", False}, ^ BitEdit.c:256:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"fix-menu", FixMenu}, ^ BitEdit.c:257:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"switch-image", (XtActionProc)SwitchImage}, ^ BitEdit.c:258:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"switch-grid", (XtActionProc)SwitchGrid}, ^ BitEdit.c:259:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"switch-dashed", (XtActionProc)SwitchDashed}, ^ BitEdit.c:260:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"switch-axes", (XtActionProc)SwitchAxes}, ^ BitEdit.c:261:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"switch-stippled", (XtActionProc)SwitchStippled}, ^ BitEdit.c:262:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"switch-proportional", (XtActionProc)SwitchProportional}, ^ BitEdit.c:263:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"switch-zoom", (XtActionProc)SwitchZoom}, ^ BitEdit.c:264:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"do-cut", (XtActionProc)DoCut}, ^ BitEdit.c:265:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"do-copy", (XtActionProc)DoCopy}, ^ BitEdit.c:266:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"do-paste", (XtActionProc)DoPaste}, ^ BitEdit.c:267:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"do-new", (XtActionProc)DoNew}, ^ BitEdit.c:268:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"do-load", (XtActionProc)DoLoad}, ^ BitEdit.c:269:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"do-insert", (XtActionProc)DoInsert}, ^ BitEdit.c:270:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"do-save", (XtActionProc)DoSave}, ^ BitEdit.c:271:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"do-save-as", (XtActionProc)DoSaveAs}, ^ BitEdit.c:272:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"do-resize", (XtActionProc)DoResize}, ^ BitEdit.c:273:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"do-rescale", (XtActionProc)DoRescale}, ^ BitEdit.c:274:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"do-filename", (XtActionProc)DoFilename}, ^ BitEdit.c:275:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"do-basename", (XtActionProc)DoBasename}, ^ BitEdit.c:276:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"do-quit", DoQuit} ^ In file included from BitEdit.c:38:0: BitEdit.c: In function 'FixEntry': /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) )) ^ BitEdit.c:347:2: note: in expansion of macro 'XtSetArg' XtSetArg(wargs[n], XtNleftBitmap, ^ /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) )) ^ BitEdit.c:352:2: note: in expansion of macro 'XtSetArg' XtSetArg(wargs[n], XtNleftBitmap, ^ /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) )) ^ BitEdit.c:357:2: note: in expansion of macro 'XtSetArg' XtSetArg(wargs[n], XtNleftBitmap, ^ /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) )) ^ BitEdit.c:362:2: note: in expansion of macro 'XtSetArg' XtSetArg(wargs[n], XtNleftBitmap, ^ /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) )) ^ BitEdit.c:367:2: note: in expansion of macro 'XtSetArg' XtSetArg(wargs[n], XtNleftBitmap, ^ /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) )) ^ BitEdit.c:372:2: note: in expansion of macro 'XtSetArg' XtSetArg(wargs[n], XtNleftBitmap, ^ /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) )) ^ BitEdit.c:377:2: note: in expansion of macro 'XtSetArg' XtSetArg(wargs[n], XtNleftBitmap, ^ BitEdit.c: In function 'DoNew': BitEdit.c:777:33: warning: passing argument 2 of 'PopupDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (PopupDialog(input_dialog, "New file:", ^ In file included from BitEdit.c:209:0: Dialog.h:54:22: note: expected 'String {aka char *}' but argument is of type 'const char *' extern unsigned long PopupDialog(Dialog, String, String, String *, XtGrabKind); ^ BitEdit.c: In function 'DoLoad': BitEdit.c:796:39: warning: passing argument 2 of 'PopupDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] switch (PopupDialog(qsave_dialog, "Save file before loading?", ^ In file included from BitEdit.c:209:0: Dialog.h:54:22: note: expected 'String {aka char *}' but argument is of type 'const char *' extern unsigned long PopupDialog(Dialog, String, String, String *, XtGrabKind); ^ BitEdit.c:814:33: warning: passing argument 2 of 'PopupDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (PopupDialog(input_dialog, "Load file:", ^ In file included from BitEdit.c:209:0: Dialog.h:54:22: note: expected 'String {aka char *}' but argument is of type 'const char *' extern unsigned long PopupDialog(Dialog, String, String, String *, XtGrabKind); ^ BitEdit.c: In function 'DoInsert': BitEdit.c:834:33: warning: passing argument 2 of 'PopupDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (PopupDialog(input_dialog, "Insert file:", ^ In file included from BitEdit.c:209:0: Dialog.h:54:22: note: expected 'String {aka char *}' but argument is of type 'const char *' extern unsigned long PopupDialog(Dialog, String, String, String *, XtGrabKind); ^ BitEdit.c: In function 'DoSaveAs': BitEdit.c:868:33: warning: passing argument 2 of 'PopupDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (PopupDialog(input_dialog, "Save file:", ^ In file included from BitEdit.c:209:0: Dialog.h:54:22: note: expected 'String {aka char *}' but argument is of type 'const char *' extern unsigned long PopupDialog(Dialog, String, String, String *, XtGrabKind); ^ BitEdit.c: In function 'DoResize': BitEdit.c:886:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] format = ""; ^ BitEdit.c:888:33: warning: passing argument 2 of 'PopupDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (PopupDialog(input_dialog, "Resize to WIDTHxHEIGHT:", ^ In file included from BitEdit.c:209:0: Dialog.h:54:22: note: expected 'String {aka char *}' but argument is of type 'const char *' extern unsigned long PopupDialog(Dialog, String, String, String *, XtGrabKind); ^ BitEdit.c: In function 'DoRescale': BitEdit.c:909:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] format = ""; ^ BitEdit.c:911:33: warning: passing argument 2 of 'PopupDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (PopupDialog(input_dialog, "Rescale to WIDTHxHEIGHT:", ^ In file included from BitEdit.c:209:0: Dialog.h:54:22: note: expected 'String {aka char *}' but argument is of type 'const char *' extern unsigned long PopupDialog(Dialog, String, String, String *, XtGrabKind); ^ BitEdit.c: In function 'DoFilename': BitEdit.c:931:33: warning: passing argument 2 of 'PopupDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (PopupDialog(input_dialog, "Change filename:", ^ In file included from BitEdit.c:209:0: Dialog.h:54:22: note: expected 'String {aka char *}' but argument is of type 'const char *' extern unsigned long PopupDialog(Dialog, String, String, String *, XtGrabKind); ^ BitEdit.c: In function 'DoBasename': BitEdit.c:941:33: warning: passing argument 2 of 'PopupDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (PopupDialog(input_dialog, "Change basename:", ^ In file included from BitEdit.c:209:0: Dialog.h:54:22: note: expected 'String {aka char *}' but argument is of type 'const char *' extern unsigned long PopupDialog(Dialog, String, String, String *, XtGrabKind); ^ BitEdit.c: In function 'DoQuit': BitEdit.c:953:39: warning: passing argument 2 of 'PopupDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] switch (PopupDialog(qsave_dialog, "Save file before quitting?", ^ In file included from BitEdit.c:209:0: Dialog.h:54:22: note: expected 'String {aka char *}' but argument is of type 'const char *' extern unsigned long PopupDialog(Dialog, String, String, String *, XtGrabKind); ^ BitEdit.c: In function 'main': BitEdit.c:1112:45: warning: passing argument 2 of 'CreateDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] input_dialog = CreateDialog(top_widget, "input", Okay | Cancel); ^ In file included from BitEdit.c:209:0: Dialog.h:53:15: note: expected 'String {aka char *}' but argument is of type 'const char *' extern Dialog CreateDialog(Widget, String, unsigned long); ^ BitEdit.c:1113:45: warning: passing argument 2 of 'CreateDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] error_dialog = CreateDialog(top_widget, "error", Abort | Retry); ^ In file included from BitEdit.c:209:0: Dialog.h:53:15: note: expected 'String {aka char *}' but argument is of type 'const char *' extern Dialog CreateDialog(Widget, String, unsigned long); ^ BitEdit.c:1114:45: warning: passing argument 2 of 'CreateDialog' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] qsave_dialog = CreateDialog(top_widget, "qsave", Yes | No | Cancel); ^ In file included from BitEdit.c:209:0: Dialog.h:53:15: note: expected 'String {aka char *}' but argument is of type 'const char *' extern Dialog CreateDialog(Widget, String, unsigned long); ^ --- bitmap-ReqMach.o --- mv -f .deps/bitmap-ReqMach.Tpo .deps/bitmap-ReqMach.Po --- bitmap-Dialog.o --- cc -DHAVE_CONFIG_H -I. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -pipe -O2 -fno-strict-aliasing -MT bitmap-Dialog.o -MD -MP -MF .deps/bitmap-Dialog.Tpo -c -o bitmap-Dialog.o `test -f 'Dialog.c' || echo './'`Dialog.c Dialog.c:50:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"set-dialog-button", SetDialogButton}, ^ Dialog.c:54:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"yes", Yes}, ^ Dialog.c:55:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"no", No}, ^ Dialog.c:56:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"maybe", Maybe}, ^ Dialog.c:57:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"okay", Okay}, ^ Dialog.c:58:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"abort", Abort}, ^ Dialog.c:59:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"cancel", Cancel}, ^ Dialog.c:60:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"retry", Retry}, ^ --- bitmap-CutPaste.o --- mv -f .deps/bitmap-CutPaste.Tpo .deps/bitmap-CutPaste.Po --- bitmap-Handlers.o --- cc -DHAVE_CONFIG_H -I. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -pipe -O2 -fno-strict-aliasing -MT bitmap-Handlers.o -MD -MP -MF .deps/bitmap-Handlers.Tpo -c -o bitmap-Handlers.o `test -f 'Handlers.c' || echo './'`Handlers.c --- bitmap-Dialog.o --- mv -f .deps/bitmap-Dialog.Tpo .deps/bitmap-Dialog.Po --- bmtoa-bmtoa.o --- cc -DHAVE_CONFIG_H -I. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -pipe -O2 -fno-strict-aliasing -MT bmtoa-bmtoa.o -MD -MP -MF .deps/bmtoa-bmtoa.Tpo -c -o bmtoa-bmtoa.o `test -f 'bmtoa.c' || echo './'`bmtoa.c mv -f .deps/bmtoa-bmtoa.Tpo .deps/bmtoa-bmtoa.Po --- atobm-atobm.o --- cc -DHAVE_CONFIG_H -I. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -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 -pipe -O2 -fno-strict-aliasing -MT atobm-atobm.o -MD -MP -MF .deps/atobm-atobm.Tpo -c -o atobm-atobm.o `test -f 'atobm.c' || echo './'`atobm.c --- bitmap-Bitmap.o --- In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from Bitmap.c:33: /usr/local/include/X11/Intrinsic.h:1655:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtDefaultForeground "XtDefaultForeground" ^ Bitmap.c:71:43: note: in expansion of macro 'XtDefaultForeground' Offset(foreground_pixel), XtRString, XtDefaultForeground}, ^ In file included from BitmapP.h:40:0, from Bitmap.c:41: Bitmap.h:115:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCHighlight "Highlight" ^ Bitmap.c:72:16: note: in expansion of macro 'XtCHighlight' {XtNhighlight, XtCHighlight, XtRPixel, sizeof(Pixel), ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from Bitmap.c:33: /usr/local/include/X11/Intrinsic.h:1655:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtDefaultForeground "XtDefaultForeground" ^ Bitmap.c:73:42: note: in expansion of macro 'XtDefaultForeground' Offset(highlight_pixel), XtRString, XtDefaultForeground}, ^ In file included from BitmapP.h:40:0, from Bitmap.c:41: Bitmap.h:110:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNframe "frame" ^ Bitmap.c:74:2: note: in expansion of macro 'XtNframe' {XtNframe, XtCFrame, XtRPixel, sizeof(Pixel), ^ Bitmap.h:136:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCFrame "Frame" ^ Bitmap.c:74:12: note: in expansion of macro 'XtCFrame' {XtNframe, XtCFrame, XtRPixel, sizeof(Pixel), ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from Bitmap.c:33: /usr/local/include/X11/Intrinsic.h:1655:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtDefaultForeground "XtDefaultForeground" ^ Bitmap.c:75:38: note: in expansion of macro 'XtDefaultForeground' Offset(frame_pixel), XtRString, XtDefaultForeground}, ^ In file included from BitmapP.h:40:0, from Bitmap.c:41: Bitmap.h:93:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNgridTolerance "gridTolerance" ^ Bitmap.c:76:2: note: in expansion of macro 'XtNgridTolerance' {XtNgridTolerance, XtCGridTolerance, XtRDimension, sizeof(Dimension), ^ Bitmap.h:121:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCGridTolerance "GridTolerance" ^ Bitmap.c:76:20: note: in expansion of macro 'XtCGridTolerance' {XtNgridTolerance, XtCGridTolerance, XtRDimension, sizeof(Dimension), ^ Bitmap.h:96:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNsize "size" ^ Bitmap.c:78:2: note: in expansion of macro 'XtNsize' {XtNsize, XtCSize, XtRString, sizeof(String), ^ Bitmap.h:124:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCSize "Size" ^ Bitmap.c:78:11: note: in expansion of macro 'XtCSize' {XtNsize, XtCSize, XtRString, sizeof(String), ^ Bitmap.h:91:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNdashed "dashed" ^ Bitmap.c:80:2: note: in expansion of macro 'XtNdashed' {XtNdashed, XtCDashed, XtRBoolean, sizeof(Boolean), ^ Bitmap.h:119:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCDashed "Dashed" ^ Bitmap.c:80:13: note: in expansion of macro 'XtCDashed' {XtNdashed, XtCDashed, XtRBoolean, sizeof(Boolean), ^ Bitmap.h:92:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNgrid "grid" ^ Bitmap.c:82:2: note: in expansion of macro 'XtNgrid' {XtNgrid, XtCGrid, XtRBoolean, sizeof(Boolean), ^ Bitmap.h:120:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCGrid "Grid" ^ Bitmap.c:82:11: note: in expansion of macro 'XtCGrid' {XtNgrid, XtCGrid, XtRBoolean, sizeof(Boolean), ^ Bitmap.h:89:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNstippled "stippled" ^ Bitmap.c:84:2: note: in expansion of macro 'XtNstippled' {XtNstippled, XtCStippled, XtRBoolean, sizeof(Boolean), ^ Bitmap.h:117:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCStippled "Stippled" ^ Bitmap.c:84:15: note: in expansion of macro 'XtCStippled' {XtNstippled, XtCStippled, XtRBoolean, sizeof(Boolean), ^ Bitmap.h:112:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNproportional "proportional" ^ Bitmap.c:86:2: note: in expansion of macro 'XtNproportional' {XtNproportional, XtCProportional, XtRBoolean, sizeof(Boolean), ^ Bitmap.h:140:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCProportional "Proportional" ^ Bitmap.c:86:19: note: in expansion of macro 'XtCProportional' {XtNproportional, XtCProportional, XtRBoolean, sizeof(Boolean), ^ Bitmap.h:94:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNaxes "axes" ^ Bitmap.c:88:2: note: in expansion of macro 'XtNaxes' {XtNaxes, XtCAxes, XtRBoolean, sizeof(Boolean), ^ Bitmap.h:122:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCAxes "Axes" ^ Bitmap.c:88:11: note: in expansion of macro 'XtCAxes' {XtNaxes, XtCAxes, XtRBoolean, sizeof(Boolean), ^ Bitmap.h:97:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNsquareWidth "squareWidth" ^ Bitmap.c:90:2: note: in expansion of macro 'XtNsquareWidth' {XtNsquareWidth, XtCSquareWidth, XtRDimension, sizeof(Dimension), ^ Bitmap.h:125:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCSquareWidth "SquareWidth" ^ Bitmap.c:90:18: note: in expansion of macro 'XtCSquareWidth' {XtNsquareWidth, XtCSquareWidth, XtRDimension, sizeof(Dimension), ^ Bitmap.h:98:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNsquareHeight "squareHeight" ^ Bitmap.c:92:2: note: in expansion of macro 'XtNsquareHeight' {XtNsquareHeight, XtCSquareHeight, XtRDimension, sizeof(Dimension), ^ Bitmap.h:126:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCSquareHeight "SquareHeight" ^ Bitmap.c:92:19: note: in expansion of macro 'XtCSquareHeight' {XtNsquareHeight, XtCSquareHeight, XtRDimension, sizeof(Dimension), ^ Bitmap.h:111:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNmargin "margin" ^ Bitmap.c:94:2: note: in expansion of macro 'XtNmargin' {XtNmargin, XtCMargin, XtRDimension, sizeof(Dimension), ^ Bitmap.h:99:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNxHot "xHot" ^ Bitmap.c:96:2: note: in expansion of macro 'XtNxHot' {XtNxHot, XtCXHot, XtRPosition, sizeof(Position), ^ Bitmap.h:127:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCXHot "XHot" ^ Bitmap.c:96:11: note: in expansion of macro 'XtCXHot' {XtNxHot, XtCXHot, XtRPosition, sizeof(Position), ^ Bitmap.h:100:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNyHot "yHot" ^ Bitmap.c:98:2: note: in expansion of macro 'XtNyHot' {XtNyHot, XtCYHot, XtRPosition, sizeof(Position), ^ Bitmap.h:128:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCYHot "YHot" ^ Bitmap.c:98:11: note: in expansion of macro 'XtCYHot' {XtNyHot, XtCYHot, XtRPosition, sizeof(Position), ^ Bitmap.h:101:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbutton1Function "button1Function" ^ Bitmap.c:100:2: note: in expansion of macro 'XtNbutton1Function' {XtNbutton1Function, XtCButton1Function, XtRButtonFunction, sizeof(int), ^ Bitmap.h:129:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCButton1Function "Button1Function" ^ Bitmap.c:100:22: note: in expansion of macro 'XtCButton1Function' {XtNbutton1Function, XtCButton1Function, XtRButtonFunction, sizeof(int), ^ Bitmap.h:142:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRButtonFunction "ButtonFunction" ^ Bitmap.c:100:42: note: in expansion of macro 'XtRButtonFunction' {XtNbutton1Function, XtCButton1Function, XtRButtonFunction, sizeof(int), ^ Bitmap.h:102:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbutton2Function "button2Function" ^ Bitmap.c:102:2: note: in expansion of macro 'XtNbutton2Function' {XtNbutton2Function, XtCButton2Function, XtRButtonFunction, sizeof(int), ^ Bitmap.h:130:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCButton2Function "Button2Function" ^ Bitmap.c:102:22: note: in expansion of macro 'XtCButton2Function' {XtNbutton2Function, XtCButton2Function, XtRButtonFunction, sizeof(int), ^ Bitmap.h:142:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRButtonFunction "ButtonFunction" ^ Bitmap.c:102:42: note: in expansion of macro 'XtRButtonFunction' {XtNbutton2Function, XtCButton2Function, XtRButtonFunction, sizeof(int), ^ Bitmap.h:103:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbutton3Function "button3Function" ^ Bitmap.c:104:2: note: in expansion of macro 'XtNbutton3Function' {XtNbutton3Function, XtCButton3Function, XtRButtonFunction, sizeof(int), ^ Bitmap.h:131:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCButton3Function "Button3Function" ^ Bitmap.c:104:22: note: in expansion of macro 'XtCButton3Function' {XtNbutton3Function, XtCButton3Function, XtRButtonFunction, sizeof(int), ^ Bitmap.h:142:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRButtonFunction "ButtonFunction" ^ Bitmap.c:104:42: note: in expansion of macro 'XtRButtonFunction' {XtNbutton3Function, XtCButton3Function, XtRButtonFunction, sizeof(int), ^ Bitmap.h:104:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbutton4Function "button4Function" ^ Bitmap.c:106:2: note: in expansion of macro 'XtNbutton4Function' {XtNbutton4Function, XtCButton4Function, XtRButtonFunction, sizeof(int), ^ Bitmap.h:132:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCButton4Function "Button4Function" ^ Bitmap.c:106:22: note: in expansion of macro 'XtCButton4Function' {XtNbutton4Function, XtCButton4Function, XtRButtonFunction, sizeof(int), ^ Bitmap.h:142:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRButtonFunction "ButtonFunction" ^ Bitmap.c:106:42: note: in expansion of macro 'XtRButtonFunction' {XtNbutton4Function, XtCButton4Function, XtRButtonFunction, sizeof(int), ^ Bitmap.h:105:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbutton5Function "button5Function" ^ Bitmap.c:108:2: note: in expansion of macro 'XtNbutton5Function' {XtNbutton5Function, XtCButton5Function, XtRButtonFunction, sizeof(int), ^ Bitmap.h:133:28: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCButton5Function "Button5Function" ^ Bitmap.c:108:22: note: in expansion of macro 'XtCButton5Function' {XtNbutton5Function, XtCButton5Function, XtRButtonFunction, sizeof(int), ^ Bitmap.h:142:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRButtonFunction "ButtonFunction" ^ Bitmap.c:108:42: note: in expansion of macro 'XtRButtonFunction' {XtNbutton5Function, XtCButton5Function, XtRButtonFunction, sizeof(int), ^ Bitmap.h:106:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNfilename "filename" ^ Bitmap.c:110:2: note: in expansion of macro 'XtNfilename' {XtNfilename, XtCFilename, XtRString, sizeof(String), ^ Bitmap.h:134:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCFilename "Filename" ^ Bitmap.c:110:15: note: in expansion of macro 'XtCFilename' {XtNfilename, XtCFilename, XtRString, sizeof(String), ^ Bitmap.h:107:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbasename "basename" ^ Bitmap.c:112:2: note: in expansion of macro 'XtNbasename' {XtNbasename, XtCBasename, XtRString, sizeof(String), ^ Bitmap.h:135:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCBasename "Basename" ^ Bitmap.c:112:15: note: in expansion of macro 'XtCBasename' {XtNbasename, XtCBasename, XtRString, sizeof(String), ^ Bitmap.h:90:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNdashes "dashes" ^ Bitmap.c:114:2: note: in expansion of macro 'XtNdashes' {XtNdashes, XtCDashes, XtRBitmap, sizeof(Pixmap), ^ Bitmap.h:118:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCDashes "Dashes" ^ Bitmap.c:114:13: note: in expansion of macro 'XtCDashes' {XtNdashes, XtCDashes, XtRBitmap, sizeof(Pixmap), ^ Bitmap.h:88:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNstipple "stipple" ^ Bitmap.c:116:2: note: in expansion of macro 'XtNstipple' {XtNstipple, XtCStipple, XtRBitmap, sizeof(Pixmap), ^ Bitmap.h:116:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCStipple "Stipple" ^ Bitmap.c:116:14: note: in expansion of macro 'XtCStipple' {XtNstipple, XtCStipple, XtRBitmap, sizeof(Pixmap), ^ Bitmap.c:124:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"mark", (XtActionProc)BWTMark}, ^ Bitmap.c:125:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"mark-all", (XtActionProc)BWTMarkAll}, ^ Bitmap.c:126:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"unmark", (XtActionProc)BWTUnmark}, ^ Bitmap.c:127:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"paste", (XtActionProc)BWTPaste}, ^ Bitmap.c:128:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"bw-debug", (XtActionProc)BWDebug}, ^ Bitmap.c:129:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"abort", (XtActionProc)BWAbort}, ^ Bitmap.c:130:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"store-to-buffer", (XtActionProc)BWStoreToBuffer}, ^ Bitmap.c:131:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"change-notify", (XtActionProc)BWChangeNotify}, ^ Bitmap.c:132:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"set-changed", (XtActionProc)BWSetChanged}, ^ Bitmap.c:133:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"up", (XtActionProc)BWUp}, ^ Bitmap.c:134:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"down", (XtActionProc)BWDown}, ^ Bitmap.c:135:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"left", (XtActionProc)BWLeft}, ^ Bitmap.c:136:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"right", (XtActionProc)BWRight}, ^ Bitmap.c:137:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"fold", (XtActionProc)BWFold}, ^ Bitmap.c:138:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"flip-horiz", (XtActionProc)BWFlipHoriz}, ^ Bitmap.c:139:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"flip-vert", (XtActionProc)BWFlipVert}, ^ Bitmap.c:140:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"rotate-right", (XtActionProc)BWRotateRight}, ^ Bitmap.c:141:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"rotate-left", (XtActionProc)BWRotateLeft}, ^ Bitmap.c:142:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"set", (XtActionProc)BWSet}, ^ Bitmap.c:143:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"clear", (XtActionProc)BWClear}, ^ Bitmap.c:144:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"invert", (XtActionProc)BWInvert}, ^ Bitmap.c:145:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"undo", (XtActionProc)BWUndo}, ^ Bitmap.c:146:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"redraw", (XtActionProc)BWRedraw}, ^ In file included from BitmapP.h:40:0, from Bitmap.c:41: Bitmap.h:158:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define MarkRequest "MarkRequest" ^ Bitmap.c:240:2: note: in expansion of macro 'MarkRequest' {MarkRequest, sizeof(BWStatus), ^ Bitmap.h:160:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define RestoreRequest "RestoreRequest" ^ Bitmap.c:244:2: note: in expansion of macro 'RestoreRequest' {RestoreRequest, sizeof(BWStatus), ^ Bitmap.h:174:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define ImmediateCopyRequest "ImmediateCopyRequest" ^ Bitmap.c:248:2: note: in expansion of macro 'ImmediateCopyRequest' {ImmediateCopyRequest, sizeof(BWStatus), ^ Bitmap.h:175:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define ImmediateMoveRequest "ImmediateMoveRequest" ^ Bitmap.c:252:2: note: in expansion of macro 'ImmediateMoveRequest' {ImmediateMoveRequest, sizeof(BWStatus), ^ Bitmap.h:161:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define CopyRequest "CopyRequest" ^ Bitmap.c:256:2: note: in expansion of macro 'CopyRequest' {CopyRequest, sizeof(BWStatus), ^ Bitmap.h:162:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define MoveRequest "MoveRequest" ^ Bitmap.c:260:2: note: in expansion of macro 'MoveRequest' {MoveRequest, sizeof(BWStatus), ^ Bitmap.h:163:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define PointRequest "PointRequest" ^ Bitmap.c:264:2: note: in expansion of macro 'PointRequest' {PointRequest, sizeof(BWStatus), ^ Bitmap.h:165:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define CurveRequest "CurveRequest" ^ Bitmap.c:268:2: note: in expansion of macro 'CurveRequest' {CurveRequest, sizeof(BWStatus), ^ Bitmap.h:164:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define LineRequest "LineRequest" ^ Bitmap.c:272:2: note: in expansion of macro 'LineRequest' {LineRequest, sizeof(BWStatus), ^ Bitmap.h:166:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define RectangleRequest "RectangleRequest" ^ Bitmap.c:276:2: note: in expansion of macro 'RectangleRequest' {RectangleRequest, sizeof(BWStatus), ^ Bitmap.h:167:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define FilledRectangleRequest "FilledRectangleRequest" ^ Bitmap.c:280:2: note: in expansion of macro 'FilledRectangleRequest' {FilledRectangleRequest, sizeof(BWStatus), ^ Bitmap.h:168:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define CircleRequest "CircleRequest" ^ Bitmap.c:284:2: note: in expansion of macro 'CircleRequest' {CircleRequest, sizeof(BWStatus), ^ Bitmap.h:169:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define FilledCircleRequest "FilledCircleRequest" ^ Bitmap.c:288:2: note: in expansion of macro 'FilledCircleRequest' {FilledCircleRequest, sizeof(BWStatus), ^ Bitmap.h:170:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define FloodFillRequest "FloodFillRequest" ^ Bitmap.c:292:2: note: in expansion of macro 'FloodFillRequest' {FloodFillRequest, sizeof(BWStatus), ^ Bitmap.h:171:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define HotSpotRequest "HotSpotRequest" ^ Bitmap.c:296:2: note: in expansion of macro 'HotSpotRequest' {HotSpotRequest, sizeof(BWStatus), ^ Bitmap.h:172:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define ZoomInRequest "ZoomInRequest" ^ Bitmap.c:300:2: note: in expansion of macro 'ZoomInRequest' {ZoomInRequest, sizeof(BWStatus), ^ Bitmap.c:320:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "Bitmap", ^ --- bitmap-Handlers.o --- mv -f .deps/bitmap-Handlers.Tpo .deps/bitmap-Handlers.Po --- bmtoa --- 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 -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -pipe -O2 -fno-strict-aliasing -o bmtoa bmtoa-bmtoa.o -L/usr/local/lib -lXmu -lXt -lX11 --- bitmap-Graphics.o --- Graphics.c: In function 'BWDrawCircle': Graphics.c:430:28: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] BWDrawPoint(w, origin_x - (Position) floor(radius), origin_y, value); ^ Graphics.c:431:28: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] BWDrawPoint(w, origin_x + (Position) floor(radius), origin_y, value); ^ Graphics.c:432:38: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] BWDrawPoint(w, origin_x, origin_y - (Position) floor(radius), value); ^ Graphics.c:433:38: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] BWDrawPoint(w, origin_x, origin_y + (Position) floor(radius), value); ^ Graphics.c: In function 'BWDrawFilledCircle': Graphics.c:463:24: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] for(j = origin_x - (Position) floor(radius); ^ Graphics.c:464:18: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] j <= origin_x + (Position) floor(radius); j++) ^ Graphics.c:466:21: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] for(i = 1; i <= (Position) floor(radius); i++) { ^ --- atobm-atobm.o --- mv -f .deps/atobm-atobm.Tpo .deps/atobm-atobm.Po --- atobm --- 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 -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -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 -pipe -O2 -fno-strict-aliasing -o atobm atobm-atobm.o --- bitmap-BitEdit.o --- mv -f .deps/bitmap-BitEdit.Tpo .deps/bitmap-BitEdit.Po --- bitmap-Graphics.o --- mv -f .deps/bitmap-Graphics.Tpo .deps/bitmap-Graphics.Po --- bitmap-Bitmap.o --- mv -f .deps/bitmap-Bitmap.Tpo .deps/bitmap-Bitmap.Po --- bitmap --- 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 -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -pipe -O2 -fno-strict-aliasing -o bitmap bitmap-BitEdit.o bitmap-CutPaste.o bitmap-Graphics.o bitmap-ReqMach.o bitmap-Bitmap.o bitmap-Dialog.o bitmap-Handlers.o -L/usr/local/lib -lXaw7 -lXmu -lXt -lX11 -lm =========================================================================== =================================================== ===> bitmap-1.0.8 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> bitmap-1.0.8 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found ===> bitmap-1.0.8 depends on file: /usr/local/libdata/pkgconfig/xbitmaps.pc - found ===> bitmap-1.0.8 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> bitmap-1.0.8 depends on file: /usr/local/libdata/pkgconfig/xproto.pc - found =========================================================================== =================================================== ===> Staging for bitmap-1.0.8 ===> Generating temporary packing list Making install in man /bin/mkdir -p '/wrkdirs/x11/bitmap/stage/usr/local/man/man1' install -m 0644 bitmap.1 atobm.1 bmtoa.1 '/wrkdirs/x11/bitmap/stage/usr/local/man/man1' /bin/mkdir -p '/wrkdirs/x11/bitmap/stage/usr/local/bin' install -s -m 555 bitmap bmtoa atobm '/wrkdirs/x11/bitmap/stage/usr/local/bin' /bin/mkdir -p '/wrkdirs/x11/bitmap/stage/usr/local/share/X11/app-defaults' install -m 0644 app-defaults/Bitmap-color app-defaults/Bitmap-nocase app-defaults/Bitmap '/wrkdirs/x11/bitmap/stage/usr/local/share/X11/app-defaults' /bin/mkdir -p '/wrkdirs/x11/bitmap/stage/usr/local/include/X11/bitmaps' install -m 0644 Dashes Down Excl FlipHoriz FlipVert Fold Left Right RotateLeft RotateRight Stipple Term Up '/wrkdirs/x11/bitmap/stage/usr/local/include/X11/bitmaps' ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for bitmap-1.0.8 file sizes/checksums [22]: . done packing files [22]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for bitmap-1.0.8 build of x11/bitmap ended at Sun Mar 12 22:49:46 PDT 2017 build time: 00:00:44