=> Building x11/xsm build started at Sun Oct 9 16:23:07 PDT 2016 port directory: /usr/ports/x11/xsm 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/../03//usr/ports/x11/xsm/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=xsm-1.0.3 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/xsm XDG_CONFIG_HOME=/wrkdirs/x11/xsm HOME=/wrkdirs/x11/xsm 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/xsm XDG_CONFIG_HOME=/wrkdirs/x11/xsm HOME=/wrkdirs/x11/xsm 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/xsm" EXAMPLESDIR="share/examples/xsm" DATADIR="share/xsm" WWWDIR="www/xsm" ETCDIR="etc/xsm" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/xsm DOCSDIR=/usr/local/share/doc/xsm EXAMPLESDIR=/usr/local/share/examples/xsm WWWDIR=/usr/local/www/xsm ETCDIR=/usr/local/etc/xsm --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--- =================================================== =========================================================================== =================================================== ===> xsm-1.0.3 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 ===> xsm-1.0.3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of xsm-1.0.3 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by xsm-1.0.3 for building =========================================================================== =================================================== ===> Fetching all distfiles required by xsm-1.0.3 for building => SHA256 Checksum OK for xorg/app/xsm-1.0.3.tar.bz2. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by xsm-1.0.3 for building ===> Extracting for xsm-1.0.3 => SHA256 Checksum OK for xorg/app/xsm-1.0.3.tar.bz2. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for xsm-1.0.3 =========================================================================== =================================================== ===> xsm-1.0.3 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 ===> xsm-1.0.3 depends on package: pkgconf>=0.9.10 - found ===> Returning to build of xsm-1.0.3 ===> xsm-1.0.3 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 ===> xsm-1.0.3 depends on file: /usr/local/libdata/pkgconfig/xorg-macros.pc - found ===> Returning to build of xsm-1.0.3 ===> xsm-1.0.3 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 xproto-7.0.28... `-- Extracting xproto-7.0.28: .......... done `-- 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 `-- 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 libXt-1.1.5,1: .......... done ===> xsm-1.0.3 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> Returning to build of xsm-1.0.3 ===> xsm-1.0.3 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 ===> xsm-1.0.3 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found ===> Returning to build of xsm-1.0.3 =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for xsm-1.0.3 configure: loading site script /usr/ports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking dependency style of cc... gcc3 checking for cc option to accept ISO C99... none needed checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking whether __clang__ is declared... no checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... no checking pkg-config is at least version 0.9.0... yes checking build system type... x86_64-portbld-dragonfly4.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 for mkstemp... (cached) yes checking for putenv... (cached) yes checking for XSM... yes configure: creating ./config.status config.status: creating Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands =========================================================================== =================================================== ===> Building for xsm-1.0.3 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in man --- xsm.1 --- /usr/bin/sed -e 's|__vendorversion__|"xsm 1.0.3" "X Version 11"|' -e 's|__xorgversion__|"xsm 1.0.3" "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' < xsm.man > xsm.1 --- auth.o --- --- choose.o --- --- info.o --- --- list.o --- --- lock.o --- --- auth.o --- cc -DHAVE_CONFIG_H -I. -I/usr/local/include -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 -DRSHCMD=\"/usr/local/bin/ssh\" -DSYSTEM_INIT_FILE=\"/usr/local/etc/X11/xsm/system.xsm\" -pipe -O2 -fno-strict-aliasing -MT auth.o -MD -MP -MF .deps/auth.Tpo -c -o auth.o auth.c --- choose.o --- cc -DHAVE_CONFIG_H -I. -I/usr/local/include -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 -DRSHCMD=\"/usr/local/bin/ssh\" -DSYSTEM_INIT_FILE=\"/usr/local/etc/X11/xsm/system.xsm\" -pipe -O2 -fno-strict-aliasing -MT choose.o -MD -MP -MF .deps/choose.Tpo -c -o choose.o choose.c --- list.o --- cc -DHAVE_CONFIG_H -I. -I/usr/local/include -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 -DRSHCMD=\"/usr/local/bin/ssh\" -DSYSTEM_INIT_FILE=\"/usr/local/etc/X11/xsm/system.xsm\" -pipe -O2 -fno-strict-aliasing -MT list.o -MD -MP -MF .deps/list.Tpo -c -o list.o list.c --- lock.o --- cc -DHAVE_CONFIG_H -I. -I/usr/local/include -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 -DRSHCMD=\"/usr/local/bin/ssh\" -DSYSTEM_INIT_FILE=\"/usr/local/etc/X11/xsm/system.xsm\" -pipe -O2 -fno-strict-aliasing -MT lock.o -MD -MP -MF .deps/lock.Tpo -c -o lock.o lock.c --- info.o --- cc -DHAVE_CONFIG_H -I. -I/usr/local/include -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 -DRSHCMD=\"/usr/local/bin/ssh\" -DSYSTEM_INIT_FILE=\"/usr/local/etc/X11/xsm/system.xsm\" -pipe -O2 -fno-strict-aliasing -MT info.o -MD -MP -MF .deps/info.Tpo -c -o info.o info.c --- choose.o --- In file included from xsm.h:70:0, from choose.c:28: choose.c: In function 'ChooseSession': /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ choose.c:290:2: note: in expansion of macro 'XtNwidth' XtNwidth, &width, ^ /usr/local/include/X11/StringDefs.h:384:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNheight ((char*)&XtStrings[234]) ^ choose.c:291:2: note: in expansion of macro 'XtNheight' XtNheight, &height, ^ /usr/local/include/X11/StringDefs.h:570:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNx ((char*)&XtStrings[885]) ^ choose.c:298:2: note: in expansion of macro 'XtNx' XtNx, x, ^ /usr/local/include/X11/StringDefs.h:573:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNy ((char*)&XtStrings[887]) ^ choose.c:299:2: note: in expansion of macro 'XtNy' XtNy, y, ^ /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ choose.c:307:2: note: in expansion of macro 'XtNwidth' XtNwidth, width, ^ /usr/local/include/X11/StringDefs.h:378:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNforeground ((char*)&XtStrings[214]) ^ choose.c:311:2: note: in expansion of macro 'XtNforeground' XtNforeground, &save_message_foreground, ^ /usr/local/include/X11/StringDefs.h:330:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNbackground ((char*)&XtStrings[52]) ^ choose.c:312:2: note: in expansion of macro 'XtNbackground' XtNbackground, &save_message_background, ^ /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ choose.c:316:2: note: in expansion of macro 'XtNwidth' XtNwidth, width, ^ /usr/local/include/X11/StringDefs.h:378:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNforeground ((char*)&XtStrings[214]) ^ choose.c:317:2: note: in expansion of macro 'XtNforeground' XtNforeground, save_message_background, ^ choose.c: In function 'CheckDeleteCancel': /usr/local/include/X11/StringDefs.h:378:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNforeground ((char*)&XtStrings[214]) ^ choose.c:338:6: note: in expansion of macro 'XtNforeground' XtNforeground, save_message_background, ^ choose.c: In function 'CheckBreakLockCancel': /usr/local/include/X11/StringDefs.h:378:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNforeground ((char*)&XtStrings[214]) ^ choose.c:352:6: note: in expansion of macro 'XtNforeground' XtNforeground, save_message_background, ^ choose.c: In function 'ChooseSessionDeleteXtProc': /usr/local/include/X11/StringDefs.h:378:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNforeground ((char*)&XtStrings[214]) ^ choose.c:485:6: note: in expansion of macro 'XtNforeground' XtNforeground, save_message_foreground, ^ /usr/local/include/X11/StringDefs.h:378:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNforeground ((char*)&XtStrings[214]) ^ choose.c:497:6: note: in expansion of macro 'XtNforeground' XtNforeground, save_message_background, ^ choose.c: In function 'ChooseSessionBreakLockXtProc': /usr/local/include/X11/StringDefs.h:378:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNforeground ((char*)&XtStrings[214]) ^ choose.c:579:6: note: in expansion of macro 'XtNforeground' XtNforeground, save_message_foreground, ^ /usr/local/include/X11/StringDefs.h:378:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNforeground ((char*)&XtStrings[214]) ^ choose.c:593:6: note: in expansion of macro 'XtNforeground' XtNforeground, save_message_background, ^ choose.c: In function 'ChooseSessionCancelXtProc': /usr/local/include/X11/StringDefs.h:378:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNforeground ((char*)&XtStrings[214]) ^ choose.c:665:6: note: in expansion of macro 'XtNforeground' XtNforeground, save_message_background, ^ choose.c: In function 'create_choose_session_popup': choose.c:682:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"ChooseSessionUp", ChooseSessionUp}, ^ choose.c:683:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"ChooseSessionDown", ChooseSessionDown}, ^ choose.c:684:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"ChooseSessionBtn1Down", ChooseSessionBtn1Down} ^ In file included from choose.c:34:0: /usr/local/include/X11/Shell.h:263:30: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNallowShellResize ((char*)&XtShellStrings[280]) ^ choose.c:693:2: note: in expansion of macro 'XtNallowShellResize' XtNallowShellResize, True, ^ In file included from xsm.h:70:0, from choose.c:28: /usr/local/include/X11/StringDefs.h:348:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNborderWidth ((char*)&XtStrings[124]) ^ choose.c:706:9: note: in expansion of macro 'XtNborderWidth' XtNborderWidth, 0, ^ /usr/local/include/X11/StringDefs.h:420:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNjustify ((char*)&XtStrings[379]) ^ choose.c:708:2: note: in expansion of macro 'XtNjustify' XtNjustify, XtJustifyCenter, ^ /usr/local/include/X11/StringDefs.h:348:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNborderWidth ((char*)&XtStrings[124]) ^ choose.c:725:9: note: in expansion of macro 'XtNborderWidth' XtNborderWidth, 0, ^ /usr/local/include/X11/StringDefs.h:420:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNjustify ((char*)&XtStrings[379]) ^ choose.c:727:2: note: in expansion of macro 'XtNjustify' XtNjustify, XtJustifyCenter, ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ choose.c:736:45: note: in expansion of macro 'XtNcallback' XtAddCallback (chooseSessionLoadButton, XtNcallback, ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ choose.c:745:47: note: in expansion of macro 'XtNcallback' XtAddCallback (chooseSessionDeleteButton, XtNcallback, ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ choose.c:755:50: note: in expansion of macro 'XtNcallback' XtAddCallback (chooseSessionBreakLockButton, XtNcallback, ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ choose.c:764:49: note: in expansion of macro 'XtNcallback' XtAddCallback (chooseSessionFailSafeButton, XtNcallback, ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ choose.c:774:47: note: in expansion of macro 'XtNcallback' XtAddCallback (chooseSessionCancelButton, XtNcallback, ^ --- auth.o --- auth.c: In function 'SetAuthentication': auth.c:132:24: warning: declaration of 'authDataEntries' shadows a global declaration [-Wshadow] IceAuthDataEntry **authDataEntries) ^ In file included from auth.c:28:0: xsm.h:147:26: note: shadowed declaration is here extern IceAuthDataEntry *authDataEntries; ^ auth.c:187:38: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] (*authDataEntries)[i].protocol_name = "ICE"; ^ auth.c:188:34: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] (*authDataEntries)[i].auth_name = "MIT-MAGIC-COOKIE-1"; ^ auth.c:196:40: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] (*authDataEntries)[i+1].protocol_name = "XSMP"; ^ auth.c:197:36: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] (*authDataEntries)[i+1].auth_name = "MIT-MAGIC-COOKIE-1"; ^ auth.c: In function 'FreeAuthenticationData': auth.c:252:53: warning: declaration of 'authDataEntries' shadows a global declaration [-Wshadow] FreeAuthenticationData(int count, IceAuthDataEntry *authDataEntries) ^ In file included from auth.c:28:0: xsm.h:147:26: note: shadowed declaration is here extern IceAuthDataEntry *authDataEntries; ^ --- info.o --- In file included from xsm.h:70:0, from info.c:28: info.c: In function 'DisplayProps': /usr/local/include/X11/StringDefs.h:519:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNstring ((char*)&XtStrings[733]) ^ info.c:226:6: note: in expansion of macro 'XtNstring' XtNstring, buffer.bufStart, ^ In file included from info.c:34:0: /usr/local/include/X11/Shell.h:275:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNtitle ((char*)&XtShellStrings[356]) ^ info.c:236:6: note: in expansion of macro 'XtNtitle' XtNtitle, buffer.bufStart, ^ /usr/local/include/X11/Shell.h:191:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNiconName ((char*)&XtShellStrings[0]) ^ info.c:237:6: note: in expansion of macro 'XtNiconName' XtNiconName, buffer.bufStart, ^ info.c: In function 'UpdateClientList': info.c:507:13: warning: declaration of 'client' shadows a previous local [-Wshadow] ClientRec *client = (ClientRec *) cl->thing; ^ info.c:383:16: note: shadowed declaration is here ClientRec *client; ^ info.c: In function 'RestartHintXtProc': info.c:643:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] prop.name = SmRestartStyleHint; ^ info.c:644:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] prop.type = SmCARD8; ^ In file included from xsm.h:70:0, from info.c:28: info.c: In function 'DelClientInfoWinAction': /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ info.c:754:44: note: in expansion of macro 'XtNcallback' XtCallCallbacks (clientInfoDoneButton, XtNcallback, NULL); ^ info.c: In function 'DelPropWinAction': /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ info.c:762:44: note: in expansion of macro 'XtNcallback' XtCallCallbacks (clientPropDoneButton, XtNcallback, NULL); ^ info.c: In function 'create_client_info_popup': info.c:776:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"DelClientInfoWinAction", DelClientInfoWinAction}, ^ info.c:777:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"DelPropWinAction", DelPropWinAction} ^ In file included from info.c:34:0: /usr/local/include/X11/Shell.h:263:30: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNallowShellResize ((char*)&XtShellStrings[280]) ^ info.c:798:2: note: in expansion of macro 'XtNallowShellResize' XtNallowShellResize, True, ^ In file included from xsm.h:70:0, from info.c:28: /usr/local/include/X11/StringDefs.h:540:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNtop ((char*)&XtStrings[798]) ^ info.c:810:2: note: in expansion of macro 'XtNtop' XtNtop, XawChainTop, ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ info.c:816:36: note: in expansion of macro 'XtNcallback' XtAddCallback (viewPropButton, XtNcallback, ViewPropXtProc, NULL); ^ /usr/local/include/X11/StringDefs.h:540:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNtop ((char*)&XtStrings[798]) ^ info.c:823:2: note: in expansion of macro 'XtNtop' XtNtop, XawChainTop, ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ info.c:829:33: note: in expansion of macro 'XtNcallback' XtAddCallback (cloneButton, XtNcallback, CloneXtProc, NULL); ^ /usr/local/include/X11/StringDefs.h:540:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNtop ((char*)&XtStrings[798]) ^ info.c:836:2: note: in expansion of macro 'XtNtop' XtNtop, XawChainTop, ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ info.c:842:38: note: in expansion of macro 'XtNcallback' XtAddCallback (killClientButton, XtNcallback, KillClientXtProc, NULL); ^ /usr/local/include/X11/StringDefs.h:540:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNtop ((char*)&XtStrings[798]) ^ info.c:850:2: note: in expansion of macro 'XtNtop' XtNtop, XawChainTop, ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ info.c:880:38: note: in expansion of macro 'XtNcallback' XtAddCallback (restartIfRunning, XtNcallback, RestartHintXtProc, NULL); ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ info.c:881:35: note: in expansion of macro 'XtNcallback' XtAddCallback (restartAnyway, XtNcallback, RestartHintXtProc, NULL); ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ info.c:882:40: note: in expansion of macro 'XtNcallback' XtAddCallback (restartImmediately, XtNcallback, RestartHintXtProc, NULL); ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ info.c:883:34: note: in expansion of macro 'XtNcallback' XtAddCallback (restartNever, XtNcallback, RestartHintXtProc, NULL); ^ /usr/local/include/X11/StringDefs.h:540:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNtop ((char*)&XtStrings[798]) ^ info.c:890:2: note: in expansion of macro 'XtNtop' XtNtop, XawChainTop, ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ info.c:896:42: note: in expansion of macro 'XtNcallback' XtAddCallback (clientInfoDoneButton, XtNcallback, listDoneXtProc, NULL); ^ /usr/local/include/X11/StringDefs.h:540:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNtop ((char*)&XtStrings[798]) ^ info.c:906:2: note: in expansion of macro 'XtNtop' XtNtop, XawChainTop, ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ info.c:910:38: note: in expansion of macro 'XtNcallback' XtAddCallback (clientListWidget, XtNcallback, ClientListXtProc, NULL); ^ /usr/local/include/X11/StringDefs.h:348:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNborderWidth ((char*)&XtStrings[124]) ^ info.c:916:9: note: in expansion of macro 'XtNborderWidth' XtNborderWidth, 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]) ^ info.c:917:2: note: in expansion of macro 'XtNtop' XtNtop, XawChainTop, ^ /usr/local/include/X11/StringDefs.h:348:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNborderWidth ((char*)&XtStrings[124]) ^ info.c:925:9: note: in expansion of macro 'XtNborderWidth' XtNborderWidth, 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]) ^ info.c:927:2: note: in expansion of macro 'XtNtop' XtNtop, XawChainBottom, ^ /usr/local/include/X11/StringDefs.h:366:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNeditType ((char*)&XtStrings[185]) ^ info.c:937:2: note: in expansion of macro 'XtNeditType' XtNeditType, XawtextEdit, ^ /usr/local/include/X11/StringDefs.h:474:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNresize ((char*)&XtStrings[564]) ^ info.c:939:2: note: in expansion of macro 'XtNresize' XtNresize, XawtextResizeWidth, ^ /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ info.c:941:2: note: in expansion of macro 'XtNwidth' XtNwidth, 350, ^ /usr/local/include/X11/StringDefs.h:384:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNheight ((char*)&XtStrings[234]) ^ info.c:942:2: note: in expansion of macro 'XtNheight' XtNheight, 100, ^ /usr/local/include/X11/StringDefs.h:540:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNtop ((char*)&XtStrings[798]) ^ info.c:943:2: note: in expansion of macro 'XtNtop' XtNtop, XawChainBottom, ^ In file included from info.c:34:0: /usr/local/include/X11/Shell.h:263:30: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNallowShellResize ((char*)&XtShellStrings[280]) ^ info.c:953:2: note: in expansion of macro 'XtNallowShellResize' XtNallowShellResize, True, ^ In file included from xsm.h:70:0, from info.c:28: /usr/local/include/X11/StringDefs.h:540:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNtop ((char*)&XtStrings[798]) ^ info.c:965:2: note: in expansion of macro 'XtNtop' XtNtop, XawChainTop, ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ info.c:971:42: note: in expansion of macro 'XtNcallback' XtAddCallback (clientPropDoneButton, XtNcallback, clientPropDoneXtProc, NULL); ^ /usr/local/include/X11/StringDefs.h:366:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNeditType ((char*)&XtStrings[185]) ^ info.c:978:2: note: in expansion of macro 'XtNeditType' XtNeditType, XawtextRead, ^ /usr/local/include/X11/StringDefs.h:540:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNtop ((char*)&XtStrings[798]) ^ info.c:983:2: note: in expansion of macro 'XtNtop' XtNtop, XawChainTop, ^ --- lock.o --- lock.c: In function 'LockSession': lock.c:51:25: warning: declaration of 'session_name' shadows a global declaration [-Wshadow] LockSession(const char *session_name, Bool write_id) ^ In file included from lock.c:28:0: xsm.h:145:15: note: shadowed declaration is here extern char *session_name; ^ lock.c: In function 'UnlockSession': lock.c:92:27: warning: declaration of 'session_name' shadows a global declaration [-Wshadow] UnlockSession(const char *session_name) ^ In file included from lock.c:28:0: xsm.h:145:15: note: shadowed declaration is here extern char *session_name; ^ lock.c: In function 'GetLockId': lock.c:107:23: warning: declaration of 'session_name' shadows a global declaration [-Wshadow] GetLockId(const char *session_name) ^ In file included from lock.c:28:0: xsm.h:145:15: note: shadowed declaration is here extern char *session_name; ^ lock.c: In function 'CheckSessionLocked': lock.c:136:32: warning: declaration of 'session_name' shadows a global declaration [-Wshadow] CheckSessionLocked(const char *session_name, Bool get_id, char **id_ret) ^ In file included from lock.c:28:0: xsm.h:145:15: note: shadowed declaration is here extern char *session_name; ^ lock.c: In function 'UnableToLockSession': lock.c:150:33: warning: declaration of 'session_name' shadows a global declaration [-Wshadow] UnableToLockSession(const char *session_name) ^ In file included from lock.c:28:0: xsm.h:145:15: note: shadowed declaration is here extern char *session_name; ^ --- list.o --- mv -f .deps/list.Tpo .deps/list.Po --- log.o --- cc -DHAVE_CONFIG_H -I. -I/usr/local/include -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 -DRSHCMD=\"/usr/local/bin/ssh\" -DSYSTEM_INIT_FILE=\"/usr/local/etc/X11/xsm/system.xsm\" -pipe -O2 -fno-strict-aliasing -MT log.o -MD -MP -MF .deps/log.Tpo -c -o log.o log.c --- auth.o --- mv -f .deps/auth.Tpo .deps/auth.Po --- mainwin.o --- cc -DHAVE_CONFIG_H -I. -I/usr/local/include -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 -DRSHCMD=\"/usr/local/bin/ssh\" -DSYSTEM_INIT_FILE=\"/usr/local/etc/X11/xsm/system.xsm\" -pipe -O2 -fno-strict-aliasing -MT mainwin.o -MD -MP -MF .deps/mainwin.Tpo -c -o mainwin.o mainwin.c --- lock.o --- mv -f .deps/lock.Tpo .deps/lock.Po --- misc.o --- cc -DHAVE_CONFIG_H -I. -I/usr/local/include -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 -DRSHCMD=\"/usr/local/bin/ssh\" -DSYSTEM_INIT_FILE=\"/usr/local/etc/X11/xsm/system.xsm\" -pipe -O2 -fno-strict-aliasing -MT misc.o -MD -MP -MF .deps/misc.Tpo -c -o misc.o misc.c --- mainwin.o --- In file included from xsm.h:70:0, from mainwin.c:28: mainwin.c: In function 'DelMainWinAction': /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ mainwin.c:55:36: note: in expansion of macro 'XtNcallback' XtCallCallbacks (shutdownSave, XtNcallback, NULL); ^ mainwin.c: In function 'create_main_window': mainwin.c:68:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"DelMainWinAction", DelMainWinAction} ^ In file included from xsm.h:70:0, from mainwin.c:28: /usr/local/include/X11/StringDefs.h:420:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNjustify ((char*)&XtStrings[379]) ^ mainwin.c:80:2: note: in expansion of macro 'XtNjustify' XtNjustify, XtJustifyLeft, ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ mainwin.c:83:38: note: in expansion of macro 'XtNcallback' XtAddCallback (clientInfoButton, XtNcallback, ClientInfoXtProc, NULL); ^ /usr/local/include/X11/StringDefs.h:420:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNjustify ((char*)&XtStrings[379]) ^ mainwin.c:90:2: note: in expansion of macro 'XtNjustify' XtNjustify, XtJustifyLeft, ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ mainwin.c:93:31: note: in expansion of macro 'XtNcallback' XtAddCallback (logButton, XtNcallback, DisplayLogXtProc, NULL); ^ /usr/local/include/X11/StringDefs.h:420:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNjustify ((char*)&XtStrings[379]) ^ mainwin.c:100:2: note: in expansion of macro 'XtNjustify' XtNjustify, XtJustifyLeft, ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ mainwin.c:103:38: note: in expansion of macro 'XtNcallback' XtAddCallback (checkPointButton, XtNcallback, CheckPointXtProc, NULL); ^ /usr/local/include/X11/StringDefs.h:420:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNjustify ((char*)&XtStrings[379]) ^ mainwin.c:111:2: note: in expansion of macro 'XtNjustify' XtNjustify, XtJustifyLeft, ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ mainwin.c:126:34: note: in expansion of macro 'XtNcallback' XtAddCallback (shutdownSave, XtNcallback, ShutdownSaveXtProc, NULL); ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ mainwin.c:127:38: note: in expansion of macro 'XtNcallback' XtAddCallback (shutdownDontSave, XtNcallback, ShutdownDontSaveXtProc, NULL); ^ --- log.o --- In file included from xsm.h:70:0, from log.c:28: log.c: In function 'DelLogWinAction': /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ log.c:98:35: note: in expansion of macro 'XtNcallback' XtCallCallbacks (logOkButton, XtNcallback, NULL); ^ log.c: In function 'create_log_popup': log.c:112:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"DelLogWinAction", DelLogWinAction} ^ In file included from log.c:33:0: /usr/local/include/X11/Shell.h:263:30: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNallowShellResize ((char*)&XtShellStrings[280]) ^ log.c:119:2: note: in expansion of macro 'XtNallowShellResize' XtNallowShellResize, True, ^ In file included from xsm.h:70:0, from log.c:28: /usr/local/include/X11/StringDefs.h:366:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNeditType ((char*)&XtStrings[185]) ^ log.c:130:2: note: in expansion of macro 'XtNeditType' XtNeditType, XawtextAppend, ^ /usr/local/include/X11/StringDefs.h:540:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNtop ((char*)&XtStrings[798]) ^ log.c:135:2: note: in expansion of macro 'XtNtop' XtNtop, XawChainTop, ^ /usr/local/include/X11/StringDefs.h:540:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNtop ((char*)&XtStrings[798]) ^ log.c:143:2: note: in expansion of macro 'XtNtop' XtNtop, XawChainBottom, ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] --- misc.o --- misc.c: In function 'nomem': misc.c:124:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] nomem(void) ^ --- log.o --- #define XtNcallback ((char*)&XtStrings[136]) ^ log.c:149:33: note: in expansion of macro 'XtNcallback' XtAddCallback (logOkButton, XtNcallback, logOkXtProc, NULL); ^ --- mainwin.o --- mv -f .deps/mainwin.Tpo .deps/mainwin.Po --- popup.o --- cc -DHAVE_CONFIG_H -I. -I/usr/local/include -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 -DRSHCMD=\"/usr/local/bin/ssh\" -DSYSTEM_INIT_FILE=\"/usr/local/etc/X11/xsm/system.xsm\" -pipe -O2 -fno-strict-aliasing -MT popup.o -MD -MP -MF .deps/popup.Tpo -c -o popup.o popup.c --- misc.o --- mv -f .deps/misc.Tpo .deps/misc.Po --- log.o --- mv -f .deps/log.Tpo .deps/log.Po --- printhex.o --- cc -DHAVE_CONFIG_H -I. -I/usr/local/include -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 -DRSHCMD=\"/usr/local/bin/ssh\" -DSYSTEM_INIT_FILE=\"/usr/local/etc/X11/xsm/system.xsm\" -pipe -O2 -fno-strict-aliasing -MT printhex.o -MD -MP -MF .deps/printhex.Tpo -c -o printhex.o printhex.c --- prop.o --- cc -DHAVE_CONFIG_H -I. -I/usr/local/include -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 -DRSHCMD=\"/usr/local/bin/ssh\" -DSYSTEM_INIT_FILE=\"/usr/local/etc/X11/xsm/system.xsm\" -pipe -O2 -fno-strict-aliasing -MT prop.o -MD -MP -MF .deps/prop.Tpo -c -o prop.o prop.c --- popup.o --- In file included from xsm.h:70:0, from popup.c:32: popup.c: In function 'PopupPopup': /usr/local/include/X11/StringDefs.h:570:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNx ((char*)&XtStrings[885]) ^ popup.c:70:6: note: in expansion of macro 'XtNx' XtNx, &parent_x, ^ /usr/local/include/X11/StringDefs.h:573:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNy ((char*)&XtStrings[887]) ^ popup.c:71:6: note: in expansion of macro 'XtNy' XtNy, &parent_y, ^ /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ popup.c:72:6: note: in expansion of macro 'XtNwidth' XtNwidth, &parent_width, ^ /usr/local/include/X11/StringDefs.h:384:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNheight ((char*)&XtStrings[234]) ^ popup.c:73:6: note: in expansion of macro 'XtNheight' XtNheight, &parent_height, ^ /usr/local/include/X11/StringDefs.h:348:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNborderWidth ((char*)&XtStrings[124]) ^ popup.c:74:6: note: in expansion of macro 'XtNborderWidth' XtNborderWidth, &parent_border, ^ /usr/local/include/X11/StringDefs.h:570:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNx ((char*)&XtStrings[885]) ^ popup.c:85:10: note: in expansion of macro 'XtNx' XtNx, popup_x, ^ /usr/local/include/X11/StringDefs.h:573:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNy ((char*)&XtStrings[887]) ^ popup.c:86:10: note: in expansion of macro 'XtNy' XtNy, popup_y, ^ In file included from popup.c:33:0: /usr/local/include/X11/Shell.h:326:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNgeometry ((char*)&XtShellStrings[469]) ^ popup.c:94:10: note: in expansion of macro 'XtNgeometry' XtNgeometry, geom, ^ In file included from xsm.h:70:0, from popup.c:32: /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ popup.c:119:6: note: in expansion of macro 'XtNwidth' XtNwidth, &popup_width, ^ /usr/local/include/X11/StringDefs.h:384:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNheight ((char*)&XtStrings[234]) ^ popup.c:120:6: note: in expansion of macro 'XtNheight' XtNheight, &popup_height, ^ /usr/local/include/X11/StringDefs.h:348:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNborderWidth ((char*)&XtStrings[124]) ^ popup.c:121:6: note: in expansion of macro 'XtNborderWidth' XtNborderWidth, &popup_border, ^ /usr/local/include/X11/StringDefs.h:570:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNx ((char*)&XtStrings[885]) ^ popup.c:149:14: note: in expansion of macro 'XtNx' XtNx, popup_x, ^ /usr/local/include/X11/StringDefs.h:573:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNy ((char*)&XtStrings[887]) ^ popup.c:150:14: note: in expansion of macro 'XtNy' XtNy, popup_y, ^ In file included from popup.c:33:0: /usr/local/include/X11/Shell.h:326:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNgeometry ((char*)&XtShellStrings[469]) ^ popup.c:166:14: note: in expansion of macro 'XtNgeometry' XtNgeometry, geom, ^ mv -f .deps/popup.Tpo .deps/popup.Po --- remote.o --- cc -DHAVE_CONFIG_H -I. -I/usr/local/include -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 -DRSHCMD=\"/usr/local/bin/ssh\" -DSYSTEM_INIT_FILE=\"/usr/local/etc/X11/xsm/system.xsm\" -pipe -O2 -fno-strict-aliasing -MT remote.o -MD -MP -MF .deps/remote.Tpo -c -o remote.o remote.c --- choose.o --- mv -f .deps/choose.Tpo .deps/choose.Po --- restart.o --- --- printhex.o --- mv -f .deps/printhex.Tpo .deps/printhex.Po --- save.o --- --- restart.o --- cc -DHAVE_CONFIG_H -I. -I/usr/local/include -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 -DRSHCMD=\"/usr/local/bin/ssh\" -DSYSTEM_INIT_FILE=\"/usr/local/etc/X11/xsm/system.xsm\" -pipe -O2 -fno-strict-aliasing -MT restart.o -MD -MP -MF .deps/restart.Tpo -c -o restart.o restart.c --- save.o --- cc -DHAVE_CONFIG_H -I. -I/usr/local/include -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 -DRSHCMD=\"/usr/local/bin/ssh\" -DSYSTEM_INIT_FILE=\"/usr/local/etc/X11/xsm/system.xsm\" -pipe -O2 -fno-strict-aliasing -MT save.o -MD -MP -MF .deps/save.Tpo -c -o save.o save.c --- remote.o --- remote.c: In function 'remote_start': remote.c:41:31: warning: declaration of 'non_local_display_env' shadows a global declaration [-Wshadow] char **env, const char *non_local_display_env, ^ In file included from remote.c:32:0: xsm.h:132:29: note: shadowed declaration is here extern char *display_env, *non_local_display_env; ^ remote.c:42:19: warning: declaration of 'non_local_session_env' shadows a global declaration [-Wshadow] const char *non_local_session_env) ^ In file included from remote.c:32:0: xsm.h:133:29: note: shadowed declaration is here extern char *session_env, *non_local_session_env; ^ --- prop.o --- mv -f .deps/prop.Tpo .deps/prop.Po --- save.o --- In file included from save.c:36:0: save.c: In function 'MakeCurrentSession': /usr/local/include/X11/Shell.h:275:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNtitle ((char*)&XtShellStrings[356]) ^ save.c:147:2: note: in expansion of macro 'XtNtitle' XtNtitle, title, ^ In file included from xsm.h:70:0, from save.c:28: save.c: In function 'GetSaveName': /usr/local/include/X11/StringDefs.h:519:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNstring ((char*)&XtStrings[733]) ^ save.c:196:2: note: in expansion of macro 'XtNstring' XtNstring, &new_name, ^ --- saveutil.o --- --- save.o --- save.c: In function 'SaveOkAction': /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ save.c:340:36: note: in expansion of macro 'XtNcallback' XtCallCallbacks (saveOkButton, XtNcallback, NULL); ^ save.c: In function 'DelSaveWinAction': /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ save.c:348:40: note: in expansion of macro 'XtNcallback' XtCallCallbacks (saveCancelButton, XtNcallback, NULL); ^ save.c: In function 'DelNameInUseWinAction': /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ save.c:357:45: note: in expansion of macro 'XtNcallback' XtCallCallbacks (nameInUseCancelButton, XtNcallback, NULL); ^ save.c: In function 'DelBadSaveWinAction': /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ save.c:367:40: note: in expansion of macro 'XtNcallback' XtCallCallbacks (badSaveCancelButton, XtNcallback, NULL); ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ save.c:369:36: note: in expansion of macro 'XtNcallback' XtCallCallbacks (badSaveOkButton, XtNcallback, NULL); ^ save.c: In function 'DelSaveHelpWinAction': /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ save.c:378:40: note: in expansion of macro 'XtNcallback' XtCallCallbacks (helpSaveOkButton, XtNcallback, NULL); ^ --- saveutil.o --- cc -DHAVE_CONFIG_H -I. -I/usr/local/include -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 -DRSHCMD=\"/usr/local/bin/ssh\" -DSYSTEM_INIT_FILE=\"/usr/local/etc/X11/xsm/system.xsm\" -pipe -O2 -fno-strict-aliasing -MT saveutil.o -MD -MP -MF .deps/saveutil.Tpo -c -o saveutil.o saveutil.c --- save.o --- save.c: In function 'SaveOkXtProc': /usr/local/include/X11/StringDefs.h:435:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlabel ((char*)&XtStrings[429]) ^ save.c:415:7: note: in expansion of macro 'XtNlabel' XtNlabel, "OK", ^ /usr/local/include/X11/StringDefs.h:435:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlabel ((char*)&XtStrings[429]) ^ save.c:428:7: note: in expansion of macro 'XtNlabel' XtNlabel, "Cancel", ^ /usr/local/include/X11/StringDefs.h:435:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlabel ((char*)&XtStrings[429]) ^ save.c:434:3: note: in expansion of macro 'XtNlabel' XtNlabel, label, ^ save.c: In function 'create_save_popup': save.c:832:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"SaveOkAction", SaveOkAction}, ^ save.c:833:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"DelSaveWinAction", DelSaveWinAction}, ^ save.c:834:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"DelNameInUseWinAction", DelNameInUseWinAction}, ^ save.c:835:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"DelBadSaveWinAction", DelBadSaveWinAction}, ^ save.c:836:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"DelSaveHelpWinAction", DelSaveHelpWinAction} ^ In file included from save.c:36:0: /usr/local/include/X11/Shell.h:263:30: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNallowShellResize ((char*)&XtShellStrings[280]) ^ save.c:846:2: note: in expansion of macro 'XtNallowShellResize' XtNallowShellResize, True, ^ In file included from xsm.h:70:0, from save.c:28: /usr/local/include/X11/StringDefs.h:348:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNborderWidth ((char*)&XtStrings[124]) ^ save.c:856:9: note: in expansion of macro 'XtNborderWidth' XtNborderWidth, 0, ^ /usr/local/include/X11/StringDefs.h:366:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNeditType ((char*)&XtStrings[185]) ^ save.c:862:2: note: in expansion of macro 'XtNeditType' XtNeditType, XawtextEdit, ^ /usr/local/include/X11/StringDefs.h:474:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNresize ((char*)&XtStrings[564]) ^ save.c:864:2: note: in expansion of macro 'XtNresize' XtNresize, XawtextResizeWidth, ^ /usr/local/include/X11/StringDefs.h:348:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNborderWidth ((char*)&XtStrings[124]) ^ save.c:871:9: note: in expansion of macro 'XtNborderWidth' XtNborderWidth, 0, ^ save.c:876:2: warning: passing argument 1 of 'AddToggle' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "saveTypeLocal", /* widgetName */ ^ save.c:623:1: note: expected 'char *' but argument is of type 'const char *' AddToggle(char *widgetName, Widget parent, int state, Widget radioGroup, ^ save.c:886:2: warning: passing argument 1 of 'AddToggle' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "saveTypeGlobal", /* widgetName */ ^ save.c:623:1: note: expected 'char *' but argument is of type 'const char *' AddToggle(char *widgetName, Widget parent, int state, Widget radioGroup, ^ save.c:896:2: warning: passing argument 1 of 'AddToggle' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "saveTypeBoth", /* widgetName */ ^ save.c:623:1: note: expected 'char *' but argument is of type 'const char *' AddToggle(char *widgetName, Widget parent, int state, Widget radioGroup, ^ In file included from xsm.h:70:0, from save.c:28: /usr/local/include/X11/StringDefs.h:348:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNborderWidth ((char*)&XtStrings[124]) ^ save.c:915:9: note: in expansion of macro 'XtNborderWidth' XtNborderWidth, 0, ^ save.c:919:2: warning: passing argument 1 of 'AddToggle' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "interactStyleNone", /* widgetName */ ^ save.c:623:1: note: expected 'char *' but argument is of type 'const char *' AddToggle(char *widgetName, Widget parent, int state, Widget radioGroup, ^ save.c:929:2: warning: passing argument 1 of 'AddToggle' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "interactStyleErrors", /* widgetName */ ^ save.c:623:1: note: expected 'char *' but argument is of type 'const char *' AddToggle(char *widgetName, Widget parent, int state, Widget radioGroup, ^ save.c:939:2: warning: passing argument 1 of 'AddToggle' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "interactStyleAny", /* widgetName */ ^ save.c:623:1: note: expected 'char *' but argument is of type 'const char *' AddToggle(char *widgetName, Widget parent, int state, Widget radioGroup, ^ In file included from xsm.h:70:0, from save.c:28: /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ save.c:957:34: note: in expansion of macro 'XtNcallback' XtAddCallback (saveOkButton, XtNcallback, SaveOkXtProc, NULL); ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ save.c:967:36: note: in expansion of macro 'XtNcallback' XtAddCallback (helpSaveButton, XtNcallback, HelpSaveXtProc, NULL); ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ save.c:977:38: note: in expansion of macro 'XtNcallback' XtAddCallback (saveCancelButton, XtNcallback, SaveCancelXtProc, NULL); ^ In file included from save.c:36:0: /usr/local/include/X11/Shell.h:263:30: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNallowShellResize ((char*)&XtShellStrings[280]) ^ save.c:997:2: note: in expansion of macro 'XtNallowShellResize' XtNallowShellResize, True, ^ In file included from xsm.h:70:0, from save.c:28: /usr/local/include/X11/StringDefs.h:348:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNborderWidth ((char*)&XtStrings[124]) ^ save.c:1010:9: note: in expansion of macro 'XtNborderWidth' XtNborderWidth, 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]) ^ save.c:1011:2: note: in expansion of macro 'XtNtop' XtNtop, XawChainTop, ^ /usr/local/include/X11/StringDefs.h:540:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNtop ((char*)&XtStrings[798]) ^ save.c:1019:2: note: in expansion of macro 'XtNtop' XtNtop, XawChainBottom, ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ save.c:1023:46: note: in expansion of macro 'XtNcallback' XtAddCallback (nameInUseOverwriteButton, XtNcallback, ^ /usr/local/include/X11/StringDefs.h:540:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNtop ((char*)&XtStrings[798]) ^ save.c:1032:2: note: in expansion of macro 'XtNtop' XtNtop, XawChainBottom, ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ save.c:1036:43: note: in expansion of macro 'XtNcallback' XtAddCallback (nameInUseCancelButton, XtNcallback, ^ /usr/local/include/X11/StringDefs.h:540:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNtop ((char*)&XtStrings[798]) ^ save.c:1057:2: note: in expansion of macro 'XtNtop' XtNtop, XawChainTop, ^ /usr/local/include/X11/StringDefs.h:540:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNtop ((char*)&XtStrings[798]) ^ save.c:1065:2: note: in expansion of macro 'XtNtop' XtNtop, XawChainBottom, ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ save.c:1070:38: note: in expansion of macro 'XtNcallback' XtAddCallback (helpSaveOkButton, XtNcallback, ^ In file included from save.c:36:0: /usr/local/include/X11/Shell.h:263:30: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNallowShellResize ((char*)&XtShellStrings[280]) ^ save.c:1080:2: note: in expansion of macro 'XtNallowShellResize' XtNallowShellResize, True, ^ In file included from xsm.h:70:0, from save.c:28: /usr/local/include/X11/StringDefs.h:348:25: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNborderWidth ((char*)&XtStrings[124]) ^ save.c:1092:9: note: in expansion of macro 'XtNborderWidth' XtNborderWidth, 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]) ^ save.c:1093:2: note: in expansion of macro 'XtNtop' XtNtop, XawChainTop, ^ /usr/local/include/X11/StringDefs.h:540:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNtop ((char*)&XtStrings[798]) ^ save.c:1104:2: note: in expansion of macro 'XtNtop' XtNtop, XawChainTop, ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ save.c:1108:39: note: in expansion of macro 'XtNcallback' XtAddCallback (badSaveListWidget, XtNcallback, BadSaveListXtProc, NULL); ^ /usr/local/include/X11/StringDefs.h:540:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNtop ((char*)&XtStrings[798]) ^ save.c:1114:2: note: in expansion of macro 'XtNtop' XtNtop, XawChainBottom, ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ save.c:1118:37: note: in expansion of macro 'XtNcallback' XtAddCallback (badSaveOkButton, XtNcallback, BadSaveOkXtProc, NULL); ^ /usr/local/include/X11/StringDefs.h:540:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNtop ((char*)&XtStrings[798]) ^ save.c:1125:2: note: in expansion of macro 'XtNtop' XtNtop, XawChainBottom, ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ save.c:1129:41: note: in expansion of macro 'XtNcallback' XtAddCallback (badSaveCancelButton, XtNcallback, BadSaveCancelXtProc, NULL); ^ In file included from save.c:36:0: save.c: In function 'PopupSaveDialog': /usr/local/include/X11/Shell.h:275:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNtitle ((char*)&XtShellStrings[356]) ^ save.c:1152:2: note: in expansion of macro 'XtNtitle' XtNtitle, wantShutdown ? "Shutdown" : "Checkpoint", ^ In file included from xsm.h:70:0, from save.c:28: /usr/local/include/X11/StringDefs.h:519:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNstring ((char*)&XtStrings[733]) ^ save.c:1156:2: note: in expansion of macro 'XtNstring' XtNstring, need_to_name_session ? "" : session_name, ^ /usr/local/include/X11/StringDefs.h:435:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlabel ((char*)&XtStrings[429]) ^ save.c:1160:2: note: in expansion of macro 'XtNlabel' XtNlabel, wantShutdown ? "Shutdown" : "Checkpoint", ^ save.c: In function 'PopupBadSave': save.c:1277:13: warning: declaration of 'client' shadows a previous local [-Wshadow] ClientRec *client = (ClientRec *) cl->thing; ^ save.c:1196:16: note: shadowed declaration is here ClientRec *client; ^ --- saveutil.o --- saveutil.c: In function 'set_session_save_file_name': saveutil.c:37:40: warning: declaration of 'session_name' shadows a global declaration [-Wshadow] set_session_save_file_name(const char *session_name) ^ In file included from saveutil.c:28:0: xsm.h:145:15: note: shadowed declaration is here extern char *session_name; ^ saveutil.c: In function 'ReadSave': saveutil.c:56:22: warning: declaration of 'session_name' shadows a global declaration [-Wshadow] ReadSave(const char *session_name, char **sm_id) ^ In file included from saveutil.c:28:0: xsm.h:145:15: note: shadowed declaration is here extern char *session_name; ^ saveutil.c:56:43: warning: declaration of 'sm_id' shadows a global declaration [-Wshadow] ReadSave(const char *session_name, char **sm_id) ^ In file included from saveutil.c:28:0: xsm.h:142:15: note: shadowed declaration is here extern char *sm_id; ^ --- remote.o --- mv -f .deps/remote.Tpo .deps/remote.Po --- saveutil.o --- In file included from xsm.h:70:0, from saveutil.c:28: /usr/local/include/X11/StringDefs.h:519:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNstring ((char*)&XtStrings[733]) ^ saveutil.c:238:10: note: in expansion of macro 'XtNstring' XtNstring, strbuf, ^ saveutil.c: In function 'WriteSave': saveutil.c:300:23: warning: declaration of 'sm_id' shadows a global declaration [-Wshadow] WriteSave(const char *sm_id) ^ In file included from saveutil.c:28:0: xsm.h:142:15: note: shadowed declaration is here extern char *sm_id; ^ In file included from xsm.h:70:0, from saveutil.c:28: /usr/local/include/X11/StringDefs.h:519:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNstring ((char*)&XtStrings[733]) ^ saveutil.c:360:6: note: in expansion of macro 'XtNstring' XtNstring, &commands, ^ saveutil.c: In function 'DeleteSession': saveutil.c:408:27: warning: declaration of 'session_name' shadows a global declaration [-Wshadow] DeleteSession(const char *session_name) ^ In file included from saveutil.c:28:0: xsm.h:145:15: note: shadowed declaration is here extern char *session_name; ^ --- signals.o --- cc -DHAVE_CONFIG_H -I. -I/usr/local/include -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 -DRSHCMD=\"/usr/local/bin/ssh\" -DSYSTEM_INIT_FILE=\"/usr/local/etc/X11/xsm/system.xsm\" -pipe -O2 -fno-strict-aliasing -MT signals.o -MD -MP -MF .deps/signals.Tpo -c -o signals.o signals.c signals.c: In function 'register_signals': signals.c:201:32: warning: declaration of 'appContext' shadows a global declaration [-Wshadow] register_signals (XtAppContext appContext) ^ In file included from signals.c:101:0: xsm.h:184:21: note: shadowed declaration is here extern XtAppContext appContext; ^ --- info.o --- mv -f .deps/info.Tpo .deps/info.Po --- xsm.o --- --- signals.o --- mv -f .deps/signals.Tpo .deps/signals.Po --- xsm.o --- cc -DHAVE_CONFIG_H -I. -I/usr/local/include -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 -DRSHCMD=\"/usr/local/bin/ssh\" -DSYSTEM_INIT_FILE=\"/usr/local/etc/X11/xsm/system.xsm\" -pipe -O2 -fno-strict-aliasing -MT xsm.o -MD -MP -MF .deps/xsm.Tpo -c -o xsm.o xsm.c --- xtwatch.o --- cc -DHAVE_CONFIG_H -I. -I/usr/local/include -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 -DRSHCMD=\"/usr/local/bin/ssh\" -DSYSTEM_INIT_FILE=\"/usr/local/etc/X11/xsm/system.xsm\" -pipe -O2 -fno-strict-aliasing -MT xtwatch.o -MD -MP -MF .deps/xtwatch.Tpo -c -o xtwatch.o xtwatch.c --- xsm.o --- In file included from xsm.h:70:0, from xsm.c:36: xsm.c: In function 'main': /usr/local/include/X11/StringDefs.h:444:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNmappedWhenManaged ((char*)&XtStrings[453]) ^ xsm.c:201:2: note: in expansion of macro 'XtNmappedWhenManaged' XtNmappedWhenManaged, False, ^ In file included from xsm.c:49:0: /usr/local/include/X11/Shell.h:434:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwindowRole ((char*)&XtShellStrings[839]) ^ xsm.c:202:2: note: in expansion of macro 'XtNwindowRole' XtNwindowRole, "xsm main window", ^ xsm.c: In function 'StartSession': /usr/local/include/X11/Shell.h:275:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNtitle ((char*)&XtShellStrings[356]) ^ xsm.c:536:2: note: in expansion of macro 'XtNtitle' XtNtitle, title, /* session name */ ^ In file included from xsm.h:70:0, from xsm.c:36: /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ xsm.c:582:2: note: in expansion of macro 'XtNwidth' XtNwidth, &width, ^ /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ xsm.c:586:2: note: in expansion of macro 'XtNwidth' XtNwidth, width, ^ /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ xsm.c:590:2: note: in expansion of macro 'XtNwidth' XtNwidth, &width, ^ /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ xsm.c:594:2: note: in expansion of macro 'XtNwidth' XtNwidth, width, ^ --- xtwatch.o --- xtwatch.c: In function 'InitWatchProcs': xtwatch.c:40:29: warning: declaration of 'appContext' shadows a global declaration [-Wshadow] InitWatchProcs(XtAppContext appContext) ^ In file included from xtwatch.c:30:0: xsm.h:184:21: note: shadowed declaration is here extern XtAppContext appContext; ^ xtwatch.c: In function '_XtIceWatchProc': xtwatch.c:53:15: warning: declaration of 'appContext' shadows a global declaration [-Wshadow] XtAppContext appContext = (XtAppContext) client_data; ^ In file included from xtwatch.c:30:0: xsm.h:184:21: note: shadowed declaration is here extern XtAppContext appContext; ^ xtwatch.c:55:16: warning: cast from function call of type 'XtInputId {aka long unsigned int}' to non-matching type 'void *' [-Wbad-function-cast] *watch_data = (IcePointer) XtAppAddInput ( ^ --- xsm.o --- xsm.c: In function 'EndSession': xsm.c:647:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] EndSession(int status) ^ --- xtwatch.o --- mv -f .deps/xtwatch.Tpo .deps/xtwatch.Po --- saveutil.o --- mv -f .deps/saveutil.Tpo .deps/saveutil.Po --- save.o --- mv -f .deps/save.Tpo .deps/save.Po --- xsm.o --- mv -f .deps/xsm.Tpo .deps/xsm.Po --- restart.o --- mv -f .deps/restart.Tpo .deps/restart.Po --- xsm --- cc -I/usr/local/include -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 -DRSHCMD=\"/usr/local/bin/ssh\" -DSYSTEM_INIT_FILE=\"/usr/local/etc/X11/xsm/system.xsm\" -pipe -O2 -fno-strict-aliasing -o xsm auth.o choose.o info.o list.o lock.o log.o mainwin.o misc.o popup.o printhex.o prop.o remote.o restart.o save.o saveutil.o signals.o xsm.o xtwatch.o -L/usr/local/lib -lICE -lSM -lXaw7 -lXt -lX11 =========================================================================== =================================================== ===> xsm-1.0.3 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> xsm-1.0.3 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found =========================================================================== =================================================== ===> Staging for xsm-1.0.3 ===> Generating temporary packing list Making install in man test -z "/usr/local/man/man1" || /bin/mkdir -p "/wrkdirs/x11/xsm/stage/usr/local/man/man1" install -m 0644 xsm.1 '/wrkdirs/x11/xsm/stage/usr/local/man/man1' test -z "/usr/local/bin" || /bin/mkdir -p "/wrkdirs/x11/xsm/stage/usr/local/bin" install -s -m 555 xsm '/wrkdirs/x11/xsm/stage/usr/local/bin' test -z "/usr/local/share/X11/app-defaults" || /bin/mkdir -p "/wrkdirs/x11/xsm/stage/usr/local/share/X11/app-defaults" install -m 0644 app-defaults/XSm '/wrkdirs/x11/xsm/stage/usr/local/share/X11/app-defaults' test -z "/usr/local/etc/X11/xsm" || /bin/mkdir -p "/wrkdirs/x11/xsm/stage/usr/local/etc/X11/xsm" install -m 0644 system.xsm '/wrkdirs/x11/xsm/stage/usr/local/etc/X11/xsm' ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for xsm-1.0.3 file sizes/checksums [4]: . done packing files [4]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for xsm-1.0.3 build of x11/xsm ended at Sun Oct 9 16:23:21 PDT 2016 build time: 00:00:14