=>> Building games/nethack32 build started at Mon Apr 1 21:02:23 BST 2024 port directory: /usr/ports/games/nethack32 package name: nethack32-3.2.3_8 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: glewis@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 2425 Jan 25 05:29 /usr/ports/games/nethack32/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: d205f30e39 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 12 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/12/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for nethack32-3.2.3_8: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- glewis@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/nethack32/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/nethack32/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/nethack32/work/.cache HOME=/wrkdirs/usr/ports/games/nethack32/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/nethack32/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/nethack32/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/nethack32/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/nethack32/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/nethack32/work/.cache HOME=/wrkdirs/usr/ports/games/nethack32/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/nethack32/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/nethack32/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- HACKNAME="nethack32" HACKEXT="32" PORTDOCS="" HACKLINK="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/nethack32" EXAMPLESDIR="share/examples/nethack32" DATADIR="share/nethack32" WWWDIR="www/nethack32" ETCDIR="etc/nethack32" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/nethack32 DOCSDIR=/usr/local/share/doc/nethack32 EXAMPLESDIR=/usr/local/share/examples/nethack32 WWWDIR=/usr/local/www/nethack32 ETCDIR=/usr/local/etc/nethack32 --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> nethack32-3.2.3_8 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> nethack32-3.2.3_8 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of nethack32-3.2.3_8 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by nethack32-3.2.3_8 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by nethack32-3.2.3_8 for building => SHA256 Checksum OK for nethack-322.tgz. => SHA256 Checksum OK for nh-3.2.2-3.2.3.diff. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by nethack32-3.2.3_8 for building ===> Extracting for nethack32-3.2.3_8 => SHA256 Checksum OK for nethack-322.tgz. => SHA256 Checksum OK for nh-3.2.2-3.2.3.diff. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for nethack32-3.2.3_8 ===> Applying distribution patches for nethack32-3.2.3_8 ===> Applying FreeBSD patches for nethack32-3.2.3_8 from /usr/ports/games/nethack32/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> nethack32-3.2.3_8 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - not found ===> Installing existing package /packages/All/libXaw-1.0.14_1,2.pkg [pkg-builder.dan.net.uk] Installing libXaw-1.0.14_1,2... [pkg-builder.dan.net.uk] `-- Installing libX11-1.8.7_1,1... [pkg-builder.dan.net.uk] | `-- Installing libxcb-1.16.1... [pkg-builder.dan.net.uk] | | `-- Installing libXau-1.0.9_1... [pkg-builder.dan.net.uk] | | `-- Extracting libXau-1.0.9_1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libXdmcp-1.1.5... [pkg-builder.dan.net.uk] | | `-- Installing xorgproto-2023.2... [pkg-builder.dan.net.uk] | | `-- Extracting xorgproto-2023.2: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting libXdmcp-1.1.5: ...... done [pkg-builder.dan.net.uk] | `-- Extracting libxcb-1.16.1: .......... done [pkg-builder.dan.net.uk] `-- Extracting libX11-1.8.7_1,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libXext-1.3.6,1... [pkg-builder.dan.net.uk] `-- Extracting libXext-1.3.6,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libXmu-1.1.4,1... [pkg-builder.dan.net.uk] | `-- Installing libXt-1.3.0,1... [pkg-builder.dan.net.uk] | | `-- Installing libICE-1.1.0_2,1... [pkg-builder.dan.net.uk] | | `-- Extracting libICE-1.1.0_2,1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libSM-1.2.3_1,1... [pkg-builder.dan.net.uk] | | `-- Extracting libSM-1.2.3_1,1: ........ done [pkg-builder.dan.net.uk] | `-- Extracting libXt-1.3.0,1: .......... done [pkg-builder.dan.net.uk] `-- Extracting libXmu-1.1.4,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libXpm-3.5.17_1... [pkg-builder.dan.net.uk] | `-- Installing gettext-runtime-0.22.3_1... [pkg-builder.dan.net.uk] | | `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] | | `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] | `-- Extracting gettext-runtime-0.22.3_1: .......... done [pkg-builder.dan.net.uk] `-- Extracting libXpm-3.5.17_1: .......... done [pkg-builder.dan.net.uk] Extracting libXaw-1.0.14_1,2: .......... done ===> nethack32-3.2.3_8 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found ===> Returning to build of nethack32-3.2.3_8 ===> nethack32-3.2.3_8 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for nethack32-3.2.3_8 Copying Makefiles. =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for nethack32-3.2.3_8 ( cd src ; /usr/bin/make ) touch ../include/vmsconf.h touch ../include/os2conf.h touch ../include/pcconf.h touch ../include/tosconf.h touch ../include/amiconf.h touch ../include/macconf.h touch ../include/global.h touch ../include/config.h cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c monst.c In file included from monst.c:5: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from monst.c:5: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from monst.c:5: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from monst.c:5: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from monst.c:5: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ 48 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c objects.c In file included from objects.c:8: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from objects.c:8: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from objects.c:8: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from objects.c:8: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from objects.c:8: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from objects.c:9: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O -I../include -c makedefs.c -o makedefs.o makedefs.c:8:18: warning: '/*' within block comment [-Wcomment] /* #define DEBUG /* uncomment for debugging info */ ^ In file included from makedefs.c:10: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from makedefs.c:10: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from makedefs.c:10: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from makedefs.c:10: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from makedefs.c:10: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from makedefs.c:16: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ makedefs.c:353:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Fprintf(ofp,Dont_Edit_Data); ^~~~~~~~~~~~~~ makedefs.c:353:14: note: treat the string as an argument to avoid this Fprintf(ofp,Dont_Edit_Data); ^ "%s", makedefs.c:540:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Fprintf(ofp,Dont_Edit_Code); ^~~~~~~~~~~~~~ makedefs.c:540:14: note: treat the string as an argument to avoid this Fprintf(ofp,Dont_Edit_Code); ^ "%s", makedefs.c:1146:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Fprintf(ofp,Dont_Edit_Data); ^~~~~~~~~~~~~~ makedefs.c:1146:14: note: treat the string as an argument to avoid this Fprintf(ofp,Dont_Edit_Data); ^ "%s", makedefs.c:1268:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Fprintf(ofp,Dont_Edit_Code); ^~~~~~~~~~~~~~ makedefs.c:1268:17: note: treat the string as an argument to avoid this Fprintf(ofp,Dont_Edit_Code); ^ "%s", makedefs.c:1309:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Fprintf(ofp,Dont_Edit_Code); ^~~~~~~~~~~~~~ makedefs.c:1309:14: note: treat the string as an argument to avoid this Fprintf(ofp,Dont_Edit_Code); ^ "%s", makedefs.c:1630:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Fprintf(ofp,Dont_Edit_Code); ^~~~~~~~~~~~~~ makedefs.c:1630:14: note: treat the string as an argument to avoid this Fprintf(ofp,Dont_Edit_Code); ^ "%s", makedefs.c:1785:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Fprintf(ofp,Dont_Edit_Code); ^~~~~~~~~~~~~~ makedefs.c:1785:17: note: treat the string as an argument to avoid this Fprintf(ofp,Dont_Edit_Code); ^ "%s", makedefs.c:1810:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Fprintf(ofp,Dont_Edit_Code); ^~~~~~~~~~~~~~ makedefs.c:1810:17: note: treat the string as an argument to avoid this Fprintf(ofp,Dont_Edit_Code); ^ "%s", 59 warnings generated. cc -o makedefs makedefs.o ../src/monst.o ../src/objects.o ./makedefs -p touch ../include/youprop.h ./makedefs -o touch ../include/decl.h touch ../include/hack.h cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c allmain.c -o allmain.o In file included from allmain.c:7: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from allmain.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from allmain.c:7: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from allmain.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from allmain.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from allmain.c:7: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c alloc.c -o alloc.o In file included from alloc.c:11: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from alloc.c:11: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from alloc.c:11: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from alloc.c:11: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from alloc.c:11: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ 48 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c apply.c -o apply.o In file included from apply.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from apply.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from apply.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from apply.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from apply.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from apply.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ apply.c:747:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:282:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:747:13: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:282:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ apply.c:772:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] case 0: pline(nothing_happens); break; ^~~~~~~~~~~~~~~ ../include/decl.h:282:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:772:20: note: treat the string as an argument to avoid this case 0: pline(nothing_happens); break; ^ "%s", ../include/decl.h:282:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ apply.c:784:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] else pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:282:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:784:14: note: treat the string as an argument to avoid this else pline(nothing_happens); ^ "%s", ../include/decl.h:282:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ apply.c:862:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You(no_elbow_room); ^~~~~~~~~~~~~ apply.c:862:7: note: treat the string as an argument to avoid this You(no_elbow_room); ^ "%s", apply.c:1038:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You(no_elbow_room); ^~~~~~~~~~~~~ apply.c:1038:10: note: treat the string as an argument to avoid this You(no_elbow_room); ^ "%s", apply.c:1098:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] else pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:282:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:1098:17: note: treat the string as an argument to avoid this else pline(nothing_happens); ^ "%s", ../include/decl.h:282:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ apply.c:1103:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] } else pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:282:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:1103:15: note: treat the string as an argument to avoid this } else pline(nothing_happens); ^ "%s", ../include/decl.h:282:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ apply.c:1350:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:282:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:1350:12: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:282:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ apply.c:1630:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(msg_slipsfree); ^~~~~~~~~~~~~ apply.c:1630:11: note: treat the string as an argument to avoid this pline(msg_slipsfree); ^ "%s", apply.c:1675:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] else pline(msg_snap); ^~~~~~~~ apply.c:1675:16: note: treat the string as an argument to avoid this else pline(msg_snap); ^ "%s", apply.c:1675:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else pline(msg_snap); ^ apply.c:1696:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(msg_slipsfree); ^~~~~~~~~~~~~ apply.c:1696:11: note: treat the string as an argument to avoid this pline(msg_slipsfree); ^ "%s", apply.c:1697:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] } else pline(msg_snap); ^~~~~~~~ apply.c:1697:16: note: treat the string as an argument to avoid this } else pline(msg_snap); ^ "%s", apply.c:1765:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(msg_slipsfree); ^~~~~~~~~~~~~ apply.c:1765:11: note: treat the string as an argument to avoid this pline(msg_slipsfree); ^ "%s", apply.c:1772:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(msg_snap); ^~~~~~~~ apply.c:1772:11: note: treat the string as an argument to avoid this pline(msg_snap); ^ "%s", apply.c:1771:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ apply.c:1778:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(msg_snap); ^~~~~~~~ apply.c:1778:9: note: treat the string as an argument to avoid this pline(msg_snap); ^ "%s", apply.c:1948:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:282:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:1948:10: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:282:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ apply.c:2076:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:282:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:2076:13: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:282:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ 69 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c artifact.c -o artifact.o In file included from artifact.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from artifact.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from artifact.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from artifact.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from artifact.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from artifact.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c attrib.c -o attrib.o In file included from attrib.c:7: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from attrib.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from attrib.c:7: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from attrib.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from attrib.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from attrib.c:7: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ attrib.c:10:18: warning: '/*' within block comment [-Wcomment] /* #define DEBUG /* uncomment for debugging info */ ^ 51 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c ball.c -o ball.o In file included from ball.c:7: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from ball.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from ball.c:7: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from ball.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from ball.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from ball.c:7: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ ball.c:34:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else if (flags.verbose) ^ 51 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c bones.c -o bones.o In file included from bones.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from bones.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from bones.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from bones.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from bones.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from bones.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c botl.c -o botl.o In file included from botl.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from botl.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from botl.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from botl.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from botl.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from botl.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ botl.c:338:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Sprintf(nb = eos(nb), mbot); ^~~~ botl.c:338:25: note: treat the string as an argument to avoid this Sprintf(nb = eos(nb), mbot); ^ "%s", botl.c:340:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Sprintf(nb = eos(nb), rank()); ^~~~~~ botl.c:340:25: note: treat the string as an argument to avoid this Sprintf(nb = eos(nb), rank()); ^ "%s", 52 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c cmd.c -o cmd.o In file included from cmd.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from cmd.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from cmd.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from cmd.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from cmd.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from cmd.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ cmd.c:7:18: warning: '/*' within block comment [-Wcomment] /* #define DEBUG /* uncomment for debugging */ ^ cmd.c:1478:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(in_line); ^~~~~~~ cmd.c:1478:10: note: treat the string as an argument to avoid this pline(in_line); ^ "%s", 52 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c dbridge.c -o dbridge.o In file included from dbridge.c:13: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from dbridge.c:13: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from dbridge.c:13: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from dbridge.c:13: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from dbridge.c:13: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from dbridge.c:13: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c decl.c -o decl.o In file included from decl.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from decl.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from decl.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from decl.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from decl.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from decl.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c detect.c -o detect.o In file included from detect.c:10: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from detect.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from detect.c:10: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from detect.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from detect.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from detect.c:10: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ detect.c:531:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else found = TRUE; ^ detect.c:538:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else found = TRUE; ^ 52 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c dig.c -o dig.o In file included from dig.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from dig.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from dig.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from dig.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from dig.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from dig.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ dig.c:7:18: warning: '/*' within block comment [-Wcomment] /* #define DEBUG /* turn on for diagnostics */ ^ dig.c:318:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if(digtxt) pline(digtxt); /* after newsym */ ^~~~~~ dig.c:318:20: note: treat the string as an argument to avoid this if(digtxt) pline(digtxt); /* after newsym */ ^ "%s", 52 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c display.c -o display.o In file included from display.c:116: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from display.c:116: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from display.c:116: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from display.c:116: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from display.c:116: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from display.c:116: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ display.c:1301:22: warning: '/*' within block comment [-Wcomment] /*#define WA_VERBOSE /* give (x,y) locations for all "bad" spots */ ^ 51 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c dlb.c -o dlb.o In file included from dlb.c:5: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from dlb.c:5: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from dlb.c:5: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from dlb.c:5: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from dlb.c:5: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ 48 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c do.c -o do.o In file included from do.c:7: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from do.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from do.c:7: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from do.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from do.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from do.c:7: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ do.c:1068:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (mesg) pline(mesg); ^~~~ do.c:1068:22: note: treat the string as an argument to avoid this if (mesg) pline(mesg); ^ "%s", do.c:1216:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (dfr_pre_msg) pline(dfr_pre_msg); ^~~~~~~~~~~ do.c:1216:29: note: treat the string as an argument to avoid this if (dfr_pre_msg) pline(dfr_pre_msg); ^ "%s", do.c:1226:30: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (dfr_post_msg) pline(dfr_post_msg); ^~~~~~~~~~~~ do.c:1226:30: note: treat the string as an argument to avoid this if (dfr_post_msg) pline(dfr_post_msg); ^ "%s", 53 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c do_name.c -o do_name.o In file included from do_name.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from do_name.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from do_name.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from do_name.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from do_name.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from do_name.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ do_name.c:360:24: warning: '/*' within block comment [-Wcomment] /* obfree(obj, otmp); /* now unnecessary: no pointers on bill */ ^ 51 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c do_wear.c -o do_wear.o In file included from do_wear.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from do_wear.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from do_wear.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from do_wear.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from do_wear.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from do_wear.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c dog.c -o dog.o In file included from dog.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from dog.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from dog.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from dog.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from dog.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from dog.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c dogmove.c -o dogmove.o In file included from dogmove.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from dogmove.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from dogmove.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from dogmove.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from dogmove.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from dogmove.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ dogmove.c:711:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register ndist; ~~~~~~~~ ^ 51 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c dokick.c -o dokick.o In file included from dokick.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from dokick.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from dokick.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from dokick.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from dokick.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from dokick.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ dokick.c:1221:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(obuf); ^~~~ dokick.c:1221:12: note: treat the string as an argument to avoid this pline(obuf); ^ "%s", 51 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c dothrow.c -o dothrow.o In file included from dothrow.c:7: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from dothrow.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from dothrow.c:7: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from dothrow.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from dothrow.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from dothrow.c:7: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ dothrow.c:834:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if(!Blind) pline(buf); ^~~ dothrow.c:834:19: note: treat the string as an argument to avoid this if(!Blind) pline(buf); ^ "%s", dothrow.c:938:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 52 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c drawing.c -o drawing.o In file included from drawing.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from drawing.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from drawing.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from drawing.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from drawing.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from drawing.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c dungeon.c -o dungeon.o In file included from dungeon.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from dungeon.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from dungeon.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from dungeon.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from dungeon.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from dungeon.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c eat.c -o eat.o In file included from eat.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from eat.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from eat.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from eat.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from eat.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from eat.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ eat.c:6:18: warning: '/*' within block comment [-Wcomment] /* #define DEBUG /* uncomment to enable new eat code debugging */ ^ eat.c:384:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (message) pline(nomovemsg); ^~~~~~~~~ eat.c:384:22: note: treat the string as an argument to avoid this if (message) pline(nomovemsg); ^ "%s", eat.c:1570:6: warning: converting the result of '?:' with integer constants to a boolean always evaluates to 'true' [-Wtautological-constant-compare] (((monstermoves - otmp->age) > (int) otmp->blessed ? 50:30) && ^ eat.c:1706:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ 54 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c end.c -o end.o In file included from end.c:7: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from end.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from end.c:7: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from end.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from end.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from end.c:7: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c engrave.c -o engrave.o In file included from engrave.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from engrave.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from engrave.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from engrave.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from engrave.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from engrave.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ engrave.c:716:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ engrave.c:844:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ engrave.c:1017:31: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (post_engr_text[0]) pline(post_engr_text); ^~~~~~~~~~~~~~ engrave.c:1017:31: note: treat the string as an argument to avoid this if (post_engr_text[0]) pline(post_engr_text); ^ "%s", 53 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c exper.c -o exper.o In file included from exper.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from exper.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from exper.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from exper.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from exper.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from exper.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ exper.c:43:56: warning: operator '?:' has lower precedence than '*'; '*' will be evaluated first [-Wparentheses] if((i = find_mac(mtmp)) < 3) tmp += (7 - i) * (i < 0) ? 2 : 1; ~~~~~~~~~~~~~~~~~ ^ exper.c:43:56: note: place parentheses around the '*' expression to silence this warning if((i = find_mac(mtmp)) < 3) tmp += (7 - i) * (i < 0) ? 2 : 1; ^ ( ) exper.c:43:56: note: place parentheses around the '?:' expression to evaluate it first if((i = find_mac(mtmp)) < 3) tmp += (7 - i) * (i < 0) ? 2 : 1; ^ ( ) 51 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c explode.c -o explode.o In file included from explode.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from explode.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from explode.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from explode.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from explode.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from explode.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c extralev.c -o extralev.o In file included from extralev.c:9: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from extralev.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from extralev.c:9: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from extralev.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from extralev.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from extralev.c:9: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ extralev.c:344:25: warning: '/*' within block comment [-Wcomment] #endif /* REINCARNATION /**/ ^ 51 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c files.c -o files.o In file included from files.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from files.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from files.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from files.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from files.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from files.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ files.c:691:18: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] docompress_file(filename, FALSE); ^~~~~~~~ files.c:705:18: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] docompress_file(filename, TRUE); ^~~~~~~~ 52 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c fountain.c -o fountain.o In file included from fountain.c:7: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from fountain.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from fountain.c:7: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from fountain.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from fountain.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from fountain.c:7: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ fountain.c:97:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 51 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c hack.c -o hack.o In file included from hack.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from hack.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from hack.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from hack.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from hack.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from hack.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ hack.c:337:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (digtxt) You(digtxt); /* after newsym */ ^~~~~~ hack.c:337:21: note: treat the string as an argument to avoid this if (digtxt) You(digtxt); /* after newsym */ ^ "%s", hack.c:1466:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (*nomovemsg) pline(nomovemsg); ^~~~~~~~~ hack.c:1466:24: note: treat the string as an argument to avoid this if (*nomovemsg) pline(nomovemsg); ^ "%s", hack.c:1622:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(str); ^~~ hack.c:1622:12: note: treat the string as an argument to avoid this pline(str); ^ "%s", 53 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c hacklib.c -o hacklib.o In file included from hacklib.c:7: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from hacklib.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from hacklib.c:7: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from hacklib.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from hacklib.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from hacklib.c:7: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ hacklib.c:297:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register dx = x0 - x1, dy = y0 - y1; ~~~~~~~~ ^ hacklib.c:297:28: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register dx = x0 - x1, dy = y0 - y1; ~~~~~~~~ ^ 52 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c invent.c -o invent.o In file included from invent.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from invent.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from invent.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from invent.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from invent.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from invent.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ invent.c:1691:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (dfeature) pline(fbuf); ^~~~ invent.c:1691:23: note: treat the string as an argument to avoid this if (dfeature) pline(fbuf); ^ "%s", invent.c:1699:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (dfeature) pline(fbuf); ^~~~ invent.c:1699:26: note: treat the string as an argument to avoid this if (dfeature) pline(fbuf); ^ "%s", invent.c:2041:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else alphabet[(otmp->invlet) - 'a'] = ' '; ^ 53 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c light.c -o light.o In file included from light.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from light.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from light.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from light.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from light.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from light.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ light.c:111:30: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] case LS_OBJECT: tmp_id = (genericptr_t)(((struct obj *)id)->o_id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ light.c:113:31: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] case LS_MONSTER: tmp_id = (genericptr_t)(((struct monst *)id)->m_id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ light.c:317:30: warning: cast to smaller integer type 'unsigned int' from 'genericptr_t' (aka 'void *') [-Wvoid-pointer-to-int-cast] if (!lookup_id_mapping((unsigned)ls->id, &nid)) ^~~~~~~~~~~~~~~~ light.c:320:13: warning: cast to smaller integer type 'unsigned int' from 'genericptr_t' (aka 'void *') [-Wvoid-pointer-to-int-cast] nid = (unsigned) ls->id; ^~~~~~~~~~~~~~~~~ light.c:398:12: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] ls->id = (genericptr_t)otmp->o_id; ^~~~~~~~~~~~~~~~~~~~~~~~ light.c:405:12: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] ls->id = (genericptr_t)mtmp->m_id; ^~~~~~~~~~~~~~~~~~~~~~~~ 56 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c lock.c -o lock.o In file included from lock.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from lock.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from lock.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from lock.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from lock.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from lock.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ lock.c:835:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (msg && cansee(x,y)) pline(msg); ^~~ lock.c:835:32: note: treat the string as an argument to avoid this if (msg && cansee(x,y)) pline(msg); ^ "%s", 51 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c mail.c -o mail.o In file included from mail.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from mail.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from mail.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from mail.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from mail.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from mail.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c makemon.c -o makemon.o In file included from makemon.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from makemon.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from makemon.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from makemon.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from makemon.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from makemon.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c mcastu.c -o mcastu.o In file included from mcastu.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from mcastu.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from mcastu.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from mcastu.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from mcastu.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from mcastu.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c mhitm.c -o mhitm.o In file included from mhitm.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from mhitm.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from mhitm.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from mhitm.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from mhitm.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from mhitm.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c mhitu.c -o mhitu.o In file included from mhitu.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from mhitu.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from mhitu.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from mhitu.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from mhitu.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from mhitu.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ mhitu.c:1252:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else pline("%s chuckles.", Monnam(mtmp)); ^ 51 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c minion.c -o minion.o In file included from minion.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from minion.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from minion.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from minion.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from minion.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from minion.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c mklev.c -o mklev.o In file included from mklev.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from mklev.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from mklev.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from mklev.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from mklev.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from mklev.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ mklev.c:6:18: warning: '/*' within block comment [-Wcomment] /* #define DEBUG /* uncomment to enable code debugging */ ^ mklev.c:1318:17: warning: '/*' within block comment [-Wcomment] #endif /* SINKS /**/ ^ 52 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c mkmap.c -o mkmap.o In file included from mkmap.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from mkmap.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from mkmap.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from mkmap.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from mkmap.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from mkmap.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ mkmap.c:208:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ mkmap.c:225:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ 52 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c mkmaze.c -o mkmaze.o In file included from mkmaze.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from mkmaze.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from mkmaze.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from mkmaze.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from mkmaze.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from mkmaze.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c mkobj.c -o mkobj.o In file included from mkobj.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from mkobj.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from mkobj.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from mkobj.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from mkobj.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from mkobj.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ mkobj.c:19:26: warning: '/*' within block comment [-Wcomment] /*#define DEBUG_EFFECTS /* show some messages for debugging */ ^ mkobj.c:665:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ 52 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c mkroom.c -o mkroom.o In file included from mkroom.c:16: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from mkroom.c:16: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from mkroom.c:16: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from mkroom.c:16: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from mkroom.c:16: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from mkroom.c:16: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c mon.c -o mon.o In file included from mon.c:10: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from mon.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from mon.c:10: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from mon.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from mon.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from mon.c:10: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c mondata.c -o mondata.o In file included from mondata.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from mondata.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from mondata.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from mondata.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from mondata.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from mondata.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c monmove.c -o monmove.o In file included from monmove.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from monmove.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from monmove.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from monmove.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from monmove.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from monmove.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. ./makedefs -m cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c monstr.c -o monstr.o In file included from monstr.c:2: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from monstr.c:2: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from monstr.c:2: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from monstr.c:2: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from monstr.c:2: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ 48 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c mplayer.c -o mplayer.o In file included from mplayer.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from mplayer.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from mplayer.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from mplayer.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from mplayer.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from mplayer.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c mthrowu.c -o mthrowu.o In file included from mthrowu.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from mthrowu.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from mthrowu.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from mthrowu.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from mthrowu.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from mthrowu.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c muse.c -o muse.o In file included from muse.c:9: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from muse.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from muse.c:9: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from muse.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from muse.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from muse.c:9: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ muse.c:79:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (vis) pline(empty); ^~~~~ muse.c:79:22: note: treat the string as an argument to avoid this if (vis) pline(empty); ^ "%s", muse.c:101:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (vis) pline(empty); ^~~~~ muse.c:101:22: note: treat the string as an argument to avoid this if (vis) pline(empty); ^ "%s", 52 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c music.c -o music.o In file included from music.c:29: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from music.c:29: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from music.c:29: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from music.c:29: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from music.c:29: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from music.c:29: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c o_init.c -o o_init.o In file included from o_init.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from o_init.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from o_init.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from o_init.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from o_init.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from o_init.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c objnam.c -o objnam.o In file included from objnam.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from objnam.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from objnam.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from objnam.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from objnam.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from objnam.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ objnam.c:995:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (len >= 5 && !strncmp(spot-4, "staf", 4)) ^ 51 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c options.c -o options.o In file included from options.c:13: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from options.c:13: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from options.c:13: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from options.c:13: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from options.c:13: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from options.c:13: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c pager.c -o pager.o In file included from pager.c:8: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from pager.c:8: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from pager.c:8: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from pager.c:8: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from pager.c:8: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from pager.c:8: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c pickup.c -o pickup.o In file included from pickup.c:9: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from pickup.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from pickup.c:9: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from pickup.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from pickup.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from pickup.c:9: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c pline.c -o pline.o In file included from pline.c:6: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from pline.c:6: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from pline.c:6: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from pline.c:6: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from pline.c:6: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from pline.c:6: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c polyself.c -o polyself.o In file included from polyself.c:13: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from polyself.c:13: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from polyself.c:13: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from polyself.c:13: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from polyself.c:13: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from polyself.c:13: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ polyself.c:190:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You(shudder_for_moment); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:285:28: note: expanded from macro 'shudder_for_moment' #define shudder_for_moment c_common_strings.c_shudder_for_moment ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ polyself.c:190:7: note: treat the string as an argument to avoid this You(shudder_for_moment); ^ "%s", ../include/decl.h:285:28: note: expanded from macro 'shudder_for_moment' #define shudder_for_moment c_common_strings.c_shudder_for_moment ^ polyself.c:214:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (tries==5) pline(thats_enough_tries); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:283:28: note: expanded from macro 'thats_enough_tries' #define thats_enough_tries c_common_strings.c_thats_enough_tries ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ polyself.c:214:23: note: treat the string as an argument to avoid this if (tries==5) pline(thats_enough_tries); ^ "%s", ../include/decl.h:283:28: note: expanded from macro 'thats_enough_tries' #define thats_enough_tries c_common_strings.c_thats_enough_tries ^ 52 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c potion.c -o potion.o In file included from potion.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from potion.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from potion.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from potion.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from potion.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from potion.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ potion.c:230:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (!Blind && talk) pline(message); ^~~~~~~ potion.c:230:32: note: treat the string as an argument to avoid this if (!Blind && talk) pline(message); ^ "%s", potion.c:762:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(txt); ^~~ potion.c:762:9: note: treat the string as an argument to avoid this pline(txt); ^ "%s", potion.c:1041:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (!objects[obj->otyp].oc_name_known && ^ 53 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c pray.c -o pray.o In file included from pray.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from pray.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from pray.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from pray.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from pray.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from pray.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ pray.c:1104:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:282:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pray.c:1104:8: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:282:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ 51 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c priest.c -o priest.o In file included from priest.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from priest.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from priest.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from priest.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from priest.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from priest.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ priest.c:359:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] verbalize(msg1); ^~~~ priest.c:359:17: note: treat the string as an argument to avoid this verbalize(msg1); ^ "%s", priest.c:360:27: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (msg2) verbalize(msg2); ^~~~ priest.c:360:27: note: treat the string as an argument to avoid this if (msg2) verbalize(msg2); ^ "%s", priest.c:424:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] verbalize(cranky_msg[rn2(3)]); ^~~~~~~~~~~~~~~~~~ priest.c:424:16: note: treat the string as an argument to avoid this verbalize(cranky_msg[rn2(3)]); ^ "%s", 53 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c quest.c -o quest.o In file included from quest.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from quest.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from quest.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from quest.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from quest.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from quest.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c questpgr.c -o questpgr.o In file included from questpgr.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from questpgr.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from questpgr.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from questpgr.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from questpgr.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from questpgr.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ questpgr.c:14:18: warning: '/*' within block comment [-Wcomment] /* #define DEBUG /* uncomment for debugging */ ^ questpgr.c:496:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(out_line); ^~~~~~~~ questpgr.c:496:12: note: treat the string as an argument to avoid this pline(out_line); ^ "%s", 52 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c read.c -o read.o In file included from read.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from read.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from read.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from read.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from read.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from read.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ read.c:143:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (obj->blessed) pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:282:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:143:26: note: treat the string as an argument to avoid this if (obj->blessed) pline(nothing_happens); ^ "%s", ../include/decl.h:282:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ read.c:150:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] } else pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:282:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:150:16: note: treat the string as an argument to avoid this } else pline(nothing_happens); ^ "%s", ../include/decl.h:282:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ read.c:223:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] } else pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:282:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:223:20: note: treat the string as an argument to avoid this } else pline(nothing_happens); ^ "%s", ../include/decl.h:282:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ read.c:284:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:282:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:284:10: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:282:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ read.c:328:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] } else pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:282:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:328:20: note: treat the string as an argument to avoid this } else pline(nothing_happens); ^ "%s", ../include/decl.h:282:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ read.c:1134:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(thats_enough_tries); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:283:28: note: expanded from macro 'thats_enough_tries' #define thats_enough_tries c_common_strings.c_thats_enough_tries ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:1134:10: note: treat the string as an argument to avoid this pline(thats_enough_tries); ^ "%s", ../include/decl.h:283:28: note: expanded from macro 'thats_enough_tries' #define thats_enough_tries c_common_strings.c_thats_enough_tries ^ read.c:1261:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(thats_enough_tries); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:283:28: note: expanded from macro 'thats_enough_tries' #define thats_enough_tries c_common_strings.c_thats_enough_tries ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:1261:13: note: treat the string as an argument to avoid this pline(thats_enough_tries); ^ "%s", ../include/decl.h:283:28: note: expanded from macro 'thats_enough_tries' #define thats_enough_tries c_common_strings.c_thats_enough_tries ^ read.c:1352:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:282:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:1352:9: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:282:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ read.c:1433:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (tries == 5) pline(thats_enough_tries); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:283:28: note: expanded from macro 'thats_enough_tries' #define thats_enough_tries c_common_strings.c_thats_enough_tries ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:1433:24: note: treat the string as an argument to avoid this if (tries == 5) pline(thats_enough_tries); ^ "%s", ../include/decl.h:283:28: note: expanded from macro 'thats_enough_tries' #define thats_enough_tries c_common_strings.c_thats_enough_tries ^ 59 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c rect.c -o rect.o In file included from rect.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from rect.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from rect.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from rect.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from rect.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from rect.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c restore.c -o restore.o In file included from restore.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from restore.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from restore.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from restore.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from restore.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from restore.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c rip.c -o rip.o In file included from rip.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from rip.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from rip.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from rip.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from rip.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from rip.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c rnd.c -o rnd.o In file included from rnd.c:4: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from rnd.c:4: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from rnd.c:4: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from rnd.c:4: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from rnd.c:4: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from rnd.c:4: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c rumors.c -o rumors.o In file included from rumors.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from rumors.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from rumors.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from rumors.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from rumors.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from rumors.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c save.c -o save.o In file included from save.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from save.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from save.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from save.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from save.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from save.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c shk.c -o shk.o In file included from shk.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from shk.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from shk.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from shk.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from shk.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from shk.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ shk.c:1087:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(sbuf); ^~~~ shk.c:1087:9: note: treat the string as an argument to avoid this pline(sbuf); ^ "%s", 51 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c shknam.c -o shknam.o In file included from shknam.c:7: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from shknam.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from shknam.c:7: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from shknam.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from shknam.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from shknam.c:7: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c sit.c -o sit.o In file included from sit.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from sit.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from sit.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from sit.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from sit.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from sit.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c sounds.c -o sounds.o In file included from sounds.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from sounds.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from sounds.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from sounds.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from sounds.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from sounds.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ sounds.c:51:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You_hear(fountain_msg[rn2(3)+hallu]); ^~~~~~~~~~~~~~~~~~~~~~~~~~ sounds.c:51:11: note: treat the string as an argument to avoid this You_hear(fountain_msg[rn2(3)+hallu]); ^ "%s", sounds.c:60:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You_hear(sink_msg[rn2(2)+hallu]); ^~~~~~~~~~~~~~~~~~~~~~ sounds.c:60:11: note: treat the string as an argument to avoid this You_hear(sink_msg[rn2(2)+hallu]); ^ "%s", sounds.c:78:28: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (which != 2) You_hear(throne_msg[which]); ^~~~~~~~~~~~~~~~~ sounds.c:78:28: note: treat the string as an argument to avoid this if (which != 2) You_hear(throne_msg[which]); ^ "%s", sounds.c:89:6: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You(swamp_msg[rn2(2)+hallu]); ^~~~~~~~~~~~~~~~~~~~~~~ sounds.c:89:6: note: treat the string as an argument to avoid this You(swamp_msg[rn2(2)+hallu]); ^ "%s", sounds.c:192:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You_hear(barracks_msg[rn2(3)+hallu]); ^~~~~~~~~~~~~~~~~~~~~~~~~~ sounds.c:192:12: note: treat the string as an argument to avoid this You_hear(barracks_msg[rn2(3)+hallu]); ^ "%s", sounds.c:205:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You_hear(zoo_msg[rn2(2)+hallu]); ^~~~~~~~~~~~~~~~~~~~~ sounds.c:205:12: note: treat the string as an argument to avoid this You_hear(zoo_msg[rn2(2)+hallu]); ^ "%s", sounds.c:222:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You_hear(shop_msg[rn2(2)+hallu]); ^~~~~~~~~~~~~~~~~~~~~~ sounds.c:222:15: note: treat the string as an argument to avoid this You_hear(shop_msg[rn2(2)+hallu]); ^ "%s", sounds.c:240:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You_hear(ora_msg[rn2(3)+hallu*2]); ^~~~~~~~~~~~~~~~~~~~~~~ sounds.c:240:15: note: treat the string as an argument to avoid this You_hear(ora_msg[rn2(3)+hallu*2]); ^ "%s", sounds.c:698:35: warning: format string is not a string literal (potentially insecure) [-Wformat-security] else if (verbl_msg) verbalize(verbl_msg); ^~~~~~~~~ sounds.c:698:35: note: treat the string as an argument to avoid this else if (verbl_msg) verbalize(verbl_msg); ^ "%s", 59 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c sp_lev.c -o sp_lev.o In file included from sp_lev.c:12: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from sp_lev.c:12: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from sp_lev.c:12: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from sp_lev.c:12: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from sp_lev.c:12: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from sp_lev.c:12: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ sp_lev.c:14:18: warning: '/*' within block comment [-Wcomment] /* #define DEBUG /* uncomment to enable code debugging */ ^ sp_lev.c:948:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ sp_lev.c:1349:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register i; ~~~~~~~~ ^ sp_lev.c:2074:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ sp_lev.c:2522:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 55 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c spell.c -o spell.o In file included from spell.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from spell.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from spell.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from spell.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from spell.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from spell.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c steal.c -o steal.o In file included from steal.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from steal.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from steal.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from steal.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from steal.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from steal.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c teleport.c -o teleport.o In file included from teleport.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from teleport.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from teleport.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from teleport.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from teleport.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from teleport.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ teleport.c:426:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You(shudder_for_moment); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:285:28: note: expanded from macro 'shudder_for_moment' #define shudder_for_moment c_common_strings.c_shudder_for_moment ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ teleport.c:426:7: note: treat the string as an argument to avoid this You(shudder_for_moment); ^ "%s", ../include/decl.h:285:28: note: expanded from macro 'shudder_for_moment' #define shudder_for_moment c_common_strings.c_shudder_for_moment ^ teleport.c:487:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You(shudder_for_moment); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:285:28: note: expanded from macro 'shudder_for_moment' #define shudder_for_moment c_common_strings.c_shudder_for_moment ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ teleport.c:487:7: note: treat the string as an argument to avoid this You(shudder_for_moment); ^ "%s", ../include/decl.h:285:28: note: expanded from macro 'shudder_for_moment' #define shudder_for_moment c_common_strings.c_shudder_for_moment ^ teleport.c:504:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You(shudder_for_moment); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:285:28: note: expanded from macro 'shudder_for_moment' #define shudder_for_moment c_common_strings.c_shudder_for_moment ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ teleport.c:504:7: note: treat the string as an argument to avoid this You(shudder_for_moment); ^ "%s", ../include/decl.h:285:28: note: expanded from macro 'shudder_for_moment' #define shudder_for_moment c_common_strings.c_shudder_for_moment ^ teleport.c:510:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You(shudder_for_moment); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:285:28: note: expanded from macro 'shudder_for_moment' #define shudder_for_moment c_common_strings.c_shudder_for_moment ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ teleport.c:510:7: note: treat the string as an argument to avoid this You(shudder_for_moment); ^ "%s", ../include/decl.h:285:28: note: expanded from macro 'shudder_for_moment' #define shudder_for_moment c_common_strings.c_shudder_for_moment ^ teleport.c:604:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You(shudder_for_moment); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:285:28: note: expanded from macro 'shudder_for_moment' #define shudder_for_moment c_common_strings.c_shudder_for_moment ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ teleport.c:604:7: note: treat the string as an argument to avoid this You(shudder_for_moment); ^ "%s", ../include/decl.h:285:28: note: expanded from macro 'shudder_for_moment' #define shudder_for_moment c_common_strings.c_shudder_for_moment ^ teleport.c:638:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You(shudder_for_moment); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:285:28: note: expanded from macro 'shudder_for_moment' #define shudder_for_moment c_common_strings.c_shudder_for_moment ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ teleport.c:638:7: note: treat the string as an argument to avoid this You(shudder_for_moment); ^ "%s", ../include/decl.h:285:28: note: expanded from macro 'shudder_for_moment' #define shudder_for_moment c_common_strings.c_shudder_for_moment ^ 56 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c timeout.c -o timeout.o In file included from timeout.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from timeout.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from timeout.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from timeout.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from timeout.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from timeout.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ timeout.c:32:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(stoned_texts[SIZE(stoned_texts) - i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ timeout.c:32:9: note: treat the string as an argument to avoid this pline(stoned_texts[SIZE(stoned_texts) - i]); ^ "%s", timeout.c:56:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(vomiting_texts[SIZE(vomiting_texts) - i - 1]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ timeout.c:56:9: note: treat the string as an argument to avoid this pline(vomiting_texts[SIZE(vomiting_texts) - i - 1]); ^ "%s", timeout.c:1419:16: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] timer->arg = (genericptr_t)((struct obj *)timer->arg)->o_id; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ timeout.c:1433:16: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] timer->arg = (genericptr_t)((struct monst *)timer->arg)->m_id; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ timeout.c:1631:30: warning: cast to smaller integer type 'unsigned int' from 'genericptr_t' (aka 'void *') [-Wvoid-pointer-to-int-cast] if (!lookup_id_mapping((unsigned)curr->arg, &nid)) ^~~~~~~~~~~~~~~~~~~ timeout.c:1634:13: warning: cast to smaller integer type 'unsigned int' from 'genericptr_t' (aka 'void *') [-Wvoid-pointer-to-int-cast] nid = (unsigned) curr->arg; ^~~~~~~~~~~~~~~~~~~~ 56 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c topten.c -o topten.o In file included from topten.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from topten.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from topten.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from topten.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from topten.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from topten.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ topten.c:280:18: warning: implicit declaration of function 'yyyymmdd' is invalid in C99 [-Wimplicit-function-declaration] t0->birthdate = yyyymmdd(u.ubirthday); ^ 51 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c track.c -o track.o In file included from track.c:6: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from track.c:6: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from track.c:6: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from track.c:6: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from track.c:6: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from track.c:6: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c trap.c -o trap.o In file included from trap.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from trap.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from trap.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from trap.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from trap.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from trap.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ trap.c:277:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You(dont_fall); ^~~~~~~~~ trap.c:277:10: note: treat the string as an argument to avoid this You(dont_fall); ^ "%s", trap.c:1891:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 52 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c u_init.c -o u_init.o In file included from u_init.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from u_init.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from u_init.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from u_init.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from u_init.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from u_init.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c uhitm.c -o uhitm.o In file included from uhitm.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from uhitm.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from uhitm.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from uhitm.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from uhitm.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from uhitm.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ uhitm.c:199:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (!cantwield(uasmon)) ^ uhitm.c:523:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ uhitm.c:1323:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] } else pline(msgbuf); ^~~~~~ uhitm.c:1323:17: note: treat the string as an argument to avoid this } else pline(msgbuf); ^ "%s", uhitm.c:1524:10: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else if(i >= 2 && sum[i-1] && sum[i-2]) { ^ uhitm.c:1651:10: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ 55 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c vault.c -o vault.o In file included from vault.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from vault.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from vault.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from vault.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from vault.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from vault.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ vault.c:501:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ 51 warnings generated. ./makedefs -z cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c vision.c -o vision.o In file included from vision.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from vision.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from vision.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from vision.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from vision.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from vision.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ vision.c:351:25: warning: '/*' within block comment [-Wcomment] /*#define EXTEND_SPINE /* possibly better looking wall-angle */ ^ 51 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c vis_tab.c -o vis_tab.o In file included from vis_tab.c:2: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from vis_tab.c:2: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from vis_tab.c:2: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from vis_tab.c:2: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from vis_tab.c:2: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ 48 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c weapon.c -o weapon.o In file included from weapon.c:10: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from weapon.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from weapon.c:10: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from weapon.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from weapon.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from weapon.c:10: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c were.c -o were.o In file included from were.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from were.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from were.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from were.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from were.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from were.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c wield.c -o wield.o In file included from wield.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from wield.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from wield.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from wield.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from wield.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from wield.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c windows.c -o windows.o In file included from windows.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from windows.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from windows.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from windows.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from windows.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from windows.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c wizard.c -o wizard.o In file included from wizard.c:10: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from wizard.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from wizard.c:10: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from wizard.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from wizard.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from wizard.c:10: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c worm.c -o worm.o In file included from worm.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from worm.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from worm.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from worm.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from worm.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from worm.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ worm.c:118:24: warning: '/*' within block comment [-Wcomment] /* if (!wnum) return; /* bullet proofing */ ^ worm.c:203:24: warning: '/*' within block comment [-Wcomment] /* if (!wnum) return; /* bullet proofing */ ^ worm.c:268:24: warning: '/*' within block comment [-Wcomment] /* if (!wnum) return; /* bullet proofing */ ^ worm.c:294:24: warning: '/*' within block comment [-Wcomment] /* if (!wnum) return; /* bullet proofing */ ^ worm.c:445:32: warning: '/*' within block comment [-Wcomment] /* if (!mtmp->wormno) return; /* bullet proofing */ ^ worm.c:545:32: warning: '/*' within block comment [-Wcomment] /* if (!mtmp->wormno) return; /* bullet proofing */ ^ worm.c:567:32: warning: '/*' within block comment [-Wcomment] /* if (!mtmp->wormno) return; /* bullet proofing */ ^ worm.c:595:24: warning: '/*' within block comment [-Wcomment] /* if (!wnum) return; /* bullet proofing */ ^ worm.c:684:34: warning: '/*' within block comment [-Wcomment] /* if (!mtmp->wormno) return 0; /* bullet proofing */ ^ 59 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c worn.c -o worn.o In file included from worn.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from worn.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from worn.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from worn.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from worn.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from worn.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ worn.c:398:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ worn.c:409:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 52 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c write.c -o write.o In file included from write.c:4: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from write.c:4: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from write.c:4: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from write.c:4: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from write.c:4: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from write.c:4: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c zap.c -o zap.o In file included from zap.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from zap.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from zap.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from zap.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from zap.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from zap.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ zap.c:137:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else mtmp->mspeed = MFAST; ^ zap.c:561:27: warning: '/*' within block comment [-Wcomment] /* case RIN_PROTECTION: /* not needed */ ^ zap.c:678:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ zap.c:782:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ zap.c:1178:27: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if(!zappable(obj)) pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:282:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zap.c:1178:27: note: treat the string as an argument to avoid this if(!zappable(obj)) pline(nothing_happens); ^ "%s", ../include/decl.h:282:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ zap.c:2525:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Norep(msgtxt); ^~~~~~ zap.c:2525:9: note: treat the string as an argument to avoid this Norep(msgtxt); ^ "%s", zap.c:2648:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(see_txt); ^~~~~~~ zap.c:2648:10: note: treat the string as an argument to avoid this pline(see_txt); ^ "%s", zap.c:2651:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You(sense_txt); ^~~~~~~~~ zap.c:2651:8: note: treat the string as an argument to avoid this You(sense_txt); ^ "%s", zap.c:2653:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (flags.soundok) You_hear(hear_txt); ^~~~~~~~ zap.c:2653:32: note: treat the string as an argument to avoid this if (flags.soundok) You_hear(hear_txt); ^ "%s", zap.c:3003:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(thats_enough_tries); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:283:28: note: expanded from macro 'thats_enough_tries' #define thats_enough_tries c_common_strings.c_thats_enough_tries ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zap.c:3003:12: note: treat the string as an argument to avoid this pline(thats_enough_tries); ^ "%s", ../include/decl.h:283:28: note: expanded from macro 'thats_enough_tries' #define thats_enough_tries c_common_strings.c_thats_enough_tries ^ 60 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c ../sys/share/ioctl.c ../sys/share/ioctl.c:2:1: warning: '/*' within block comment [-Wcomment] /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ ^ In file included from ../sys/share/ioctl.c:9: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from ../sys/share/ioctl.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from ../sys/share/ioctl.c:9: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from ../sys/share/ioctl.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from ../sys/share/ioctl.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from ../sys/share/ioctl.c:9: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 51 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c ../sys/unix/unixmain.c In file included from ../sys/unix/unixmain.c:7: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from ../sys/unix/unixmain.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from ../sys/unix/unixmain.c:7: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from ../sys/unix/unixmain.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from ../sys/unix/unixmain.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from ../sys/unix/unixmain.c:7: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ ../sys/unix/unixmain.c:185:18: warning: '/*' within block comment [-Wcomment] #endif /* WIZARD /**/ ^ ../sys/unix/unixmain.c:383:17: warning: '/*' within block comment [-Wcomment] #endif /* CHDIR /**/ ^ 52 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c ../sys/share/unixtty.c ../sys/share/unixtty.c:2:1: warning: '/*' within block comment [-Wcomment] /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ ^ In file included from ../sys/share/unixtty.c:12: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from ../sys/share/unixtty.c:12: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from ../sys/share/unixtty.c:12: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from ../sys/share/unixtty.c:12: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from ../sys/share/unixtty.c:12: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from ../sys/share/unixtty.c:12: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 51 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c ../sys/unix/unixunix.c In file included from ../sys/unix/unixunix.c:7: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from ../sys/unix/unixunix.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from ../sys/unix/unixunix.c:7: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from ../sys/unix/unixunix.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from ../sys/unix/unixunix.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from ../sys/unix/unixunix.c:7: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ ../sys/unix/unixunix.c:29:1: warning: '/*' within block comment [-Wcomment] /* register char *np; ^ ../sys/unix/unixunix.c:30:1: warning: '/*' within block comment [-Wcomment] /* if(stat(name, &hbuf)) ^ ../sys/unix/unixunix.c:31:1: warning: '/*' within block comment [-Wcomment] /* error("Cannot get status of %s.", ^ ../sys/unix/unixunix.c:32:1: warning: '/*' within block comment [-Wcomment] /* (np = rindex(name, '/')) ? np+1 : name); ^ ../sys/unix/unixunix.c:33:1: warning: '/*' within block comment [-Wcomment] /* ^ ../sys/unix/unixunix.c:34:1: warning: '/*' within block comment [-Wcomment] /* version using PATH from: seismo!gregc@ucsf-cgl.ARPA (Greg Couch) */ ^ ../sys/unix/unixunix.c:127:3: warning: '/*' within block comment [-Wcomment] /* This will work on 4.1cbsd, 4.2bsd and system 3? & 5. ^ ../sys/unix/unixunix.c:128:3: warning: '/*' within block comment [-Wcomment] /* It will do nothing on V7 or 4.1bsd. */ ^ ../sys/unix/unixunix.c:306:17: warning: '/*' within block comment [-Wcomment] #endif /* SHELL /**/ ^ 59 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c ../win/tty/getline.c In file included from ../win/tty/getline.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from ../win/tty/getline.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from ../win/tty/getline.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from ../win/tty/getline.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from ../win/tty/getline.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from ../win/tty/getline.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ ../win/tty/getline.c:173:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else /* more than 1 match */ ^ 51 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c ../win/tty/termcap.c In file included from ../win/tty/termcap.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from ../win/tty/termcap.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from ../win/tty/termcap.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from ../win/tty/termcap.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from ../win/tty/termcap.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from ../win/tty/termcap.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c ../win/tty/topl.c In file included from ../win/tty/topl.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from ../win/tty/topl.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from ../win/tty/topl.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from ../win/tty/topl.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from ../win/tty/topl.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from ../win/tty/topl.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c ../win/tty/wintty.c In file included from ../win/tty/wintty.c:11: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from ../win/tty/wintty.c:11: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from ../win/tty/wintty.c:11: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from ../win/tty/wintty.c:11: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from ../win/tty/wintty.c:11: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from ../win/tty/wintty.c:11: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ ../win/tty/wintty.c:1917:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(mesg); ^~~~ ../win/tty/wintty.c:1917:8: note: treat the string as an argument to avoid this pline(mesg); ^ "%s", 51 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c ../win/X11/Window.c In file included from ../win/X11/Window.c:34: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from ../win/X11/Window.c:34: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from ../win/X11/Window.c:34: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from ../win/X11/Window.c:34: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from ../win/X11/Window.c:34: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ 48 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c ../win/X11/dialogs.c In file included from ../win/X11/dialogs.c:64: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from ../win/X11/dialogs.c:64: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from ../win/X11/dialogs.c:64: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from ../win/X11/dialogs.c:64: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from ../win/X11/dialogs.c:64: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ 48 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c ../win/X11/winX.c In file included from ../win/X11/winX.c:45: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from ../win/X11/winX.c:45: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from ../win/X11/winX.c:45: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from ../win/X11/winX.c:45: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from ../win/X11/winX.c:45: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from ../win/X11/winX.c:45: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ ../win/X11/winX.c:217:26: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'Cardinal' (aka 'unsigned int') [-Wint-to-void-pointer-cast] {XtWidgetBaseOffset, (XtPointer)XtOffset(Widget, core.screen), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../win/X11/winX.c:219:26: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'Cardinal' (aka 'unsigned int') [-Wint-to-void-pointer-cast] {XtWidgetBaseOffset, (XtPointer)XtOffset(Widget, core.colormap), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../win/X11/winX.c:264:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register i, j; ~~~~~~~~ ^ ../win/X11/winX.c:264:17: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register i, j; ~~~~~~~~ ^ ../win/X11/winX.c:1879:46: warning: incompatible function pointer types passing 'XtErrorHandler' (aka 'void (*)(char *)') to parameter of type 'void (*)(String) __attribute__((noreturn))' (aka 'void (*)(char *) __attribute__((noreturn))') [-Wincompatible-function-pointer-types] (void) XtAppSetErrorHandler(app_context, (XtErrorHandler) hangup); ^~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/X11/Intrinsic.h:1786:1: note: passing argument to parameter here ); ^ 55 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c ../win/X11/winmap.c In file included from ../win/X11/winmap.c:39: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from ../win/X11/winmap.c:39: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from ../win/X11/winmap.c:39: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from ../win/X11/winmap.c:39: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from ../win/X11/winmap.c:39: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from ../win/X11/winmap.c:39: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ ../win/X11/winmap.c:53:21: warning: '/*' within block comment [-Wcomment] /* #define VERBOSE /* print various info & events as they happen */ ^ ../win/X11/winmap.c:54:27: warning: '/*' within block comment [-Wcomment] /* #define VERBOSE_UPDATE /* print screen update bounds */ ^ ../win/X11/winmap.c:55:26: warning: '/*' within block comment [-Wcomment] /* #define VERBOSE_INPUT /* print input events */ ^ 53 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c ../win/X11/winmenu.c ../win/X11/winmenu.c:10:20: warning: '/*' within block comment [-Wcomment] /*#define USE_FWF /* use FWF's list widget */ ^ In file included from ../win/X11/winmenu.c:39: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from ../win/X11/winmenu.c:39: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from ../win/X11/winmenu.c:39: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from ../win/X11/winmenu.c:39: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from ../win/X11/winmenu.c:39: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from ../win/X11/winmenu.c:39: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ ../win/X11/winmenu.c:140:26: warning: passing 'String *' (aka 'char **') to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] XawListChange(wp->w, menu_info->curr_menu.list_pointer, 0, 0, True); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/X11/Xaw/List.h:170:18: note: passing argument to parameter 'list' here _Xconst char **list, ^ ../win/X11/winmenu.c:289:24: warning: passing 'String *' (aka 'char **') to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] XawListChange(wp->w, menu_info->curr_menu.list_pointer, 0, 0, True); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/X11/Xaw/List.h:170:18: note: passing argument to parameter 'list' here _Xconst char **list, ^ ../win/X11/winmenu.c:304:24: warning: passing 'String *' (aka 'char **') to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] XawListChange(wp->w, menu_info->curr_menu.list_pointer, 0, 0, True); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/X11/Xaw/List.h:170:18: note: passing argument to parameter 'list' here _Xconst char **list, ^ ../win/X11/winmenu.c:420:23: warning: passing 'String *' (aka 'char **') to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] XawListChange(wp->w, wp->menu_information->curr_menu.list_pointer, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/X11/Xaw/List.h:170:18: note: passing argument to parameter 'list' here _Xconst char **list, ^ ../win/X11/winmenu.c:444:23: warning: passing 'String *' (aka 'char **') to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] XawListChange(wp->w, wp->menu_information->curr_menu.list_pointer, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/X11/Xaw/List.h:170:18: note: passing argument to parameter 'list' here _Xconst char **list, ^ ../win/X11/winmenu.c:463:26: warning: passing 'String *' (aka 'char **') to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] XawListChange(wp->w, wp->menu_information->curr_menu.list_pointer, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/X11/Xaw/List.h:170:18: note: passing argument to parameter 'list' here _Xconst char **list, ^ ../win/X11/winmenu.c:487:23: warning: passing 'String *' (aka 'char **') to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] XawListChange(wp->w, wp->menu_information->curr_menu.list_pointer, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/X11/Xaw/List.h:170:18: note: passing argument to parameter 'list' here _Xconst char **list, ^ ../win/X11/winmenu.c:507:24: warning: passing 'String *' (aka 'char **') to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] XawListChange(wp->w, wp->menu_information->curr_menu.list_pointer, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/X11/Xaw/List.h:170:18: note: passing argument to parameter 'list' here _Xconst char **list, ^ ../win/X11/winmenu.c:969:23: warning: passing 'String *' (aka 'char **') to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] XawListChange(wp->w, menu_info->curr_menu.list_pointer, 0, 0, TRUE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/X11/Xaw/List.h:170:18: note: passing argument to parameter 'list' here _Xconst char **list, ^ 60 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c ../win/X11/winmesg.c In file included from ../win/X11/winmesg.c:35: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from ../win/X11/winmesg.c:35: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from ../win/X11/winmesg.c:35: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from ../win/X11/winmesg.c:35: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from ../win/X11/winmesg.c:35: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from ../win/X11/winmesg.c:35: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c ../win/X11/winmisc.c In file included from ../win/X11/winmisc.c:32: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from ../win/X11/winmisc.c:32: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from ../win/X11/winmisc.c:32: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from ../win/X11/winmisc.c:32: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from ../win/X11/winmisc.c:32: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from ../win/X11/winmisc.c:32: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ ../win/X11/winmisc.c:98:19: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] ps_selected = (int) client_data; ^~~~~~~~~~~~~~~~~ ../win/X11/winmisc.c:222:20: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] int selected = (int) client_data; ^~~~~~~~~~~~~~~~~ ../win/X11/winmisc.c:519:51: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] XtAddCallback(*curr, XtNcallback, name_callback, (XtPointer) i); ^~~~~~~~~~~~~ 53 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c ../win/X11/winstat.c In file included from ../win/X11/winstat.c:34: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from ../win/X11/winstat.c:34: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from ../win/X11/winstat.c:34: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from ../win/X11/winstat.c:34: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from ../win/X11/winstat.c:34: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from ../win/X11/winstat.c:34: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c ../win/X11/wintext.c In file included from ../win/X11/wintext.c:31: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from ../win/X11/wintext.c:31: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from ../win/X11/wintext.c:31: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from ../win/X11/wintext.c:31: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from ../win/X11/wintext.c:31: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from ../win/X11/wintext.c:31: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c ../win/X11/winval.c In file included from ../win/X11/winval.c:28: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from ../win/X11/winval.c:28: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from ../win/X11/winval.c:28: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from ../win/X11/winval.c:28: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from ../win/X11/winval.c:28: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from ../win/X11/winval.c:28: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -O -I../include -o tilemap ../win/share/tilemap.c In file included from ../win/share/tilemap.c:10: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from ../win/share/tilemap.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from ../win/share/tilemap.c:10: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from ../win/share/tilemap.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from ../win/share/tilemap.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from ../win/share/tilemap.c:10: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. ./tilemap cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c ../src/./tile.c In file included from ../src/./tile.c:3: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from ../src/./tile.c:3: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from ../src/./tile.c:3: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from ../src/./tile.c:3: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from ../src/./tile.c:3: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from ../src/./tile.c:3: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. ../util/makedefs -v cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O -I../include -I/usr/local/include -c version.c -o version.o In file included from version.c:5: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from version.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from version.c:5: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from version.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from version.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from version.c:5: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ version.c:30:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(getversionstring(buf)); ^~~~~~~~~~~~~~~~~~~~~ version.c:30:8: note: treat the string as an argument to avoid this pline(getversionstring(buf)); ^ "%s", 51 warnings generated. Loading ... `nethack' is up to date. ( cd util ; /usr/bin/make recover ) cc -O -I../include -c recover.c -o recover.o In file included from recover.c:10: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from recover.c:10: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from recover.c:10: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from recover.c:10: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from recover.c:10: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ 48 warnings generated. cc -o recover recover.o ( cd doc ; /usr/bin/make Guidebook ) tbl tmac.n Guidebook.mn | nroff | col -bx > Guidebook /bin/sh: tbl: not found /bin/sh: nroff: not found ( cd dat ; /usr/bin/make data ) ../util/makedefs -d ( cd dat ; /usr/bin/make oracles ) ../util/makedefs -h ( cd dat ; /usr/bin/make options ) `options' is up to date. ( cd dat ; /usr/bin/make quest.dat ) ../util/makedefs -q ( cd dat ; /usr/bin/make rumors ) ../util/makedefs -r ( cd util ; /usr/bin/make tile2x11 ) cp ../win/share/tile.h ../include/tile.h cc -O -I../include -c ../win/X11/tile2x11.c In file included from ../win/X11/tile2x11.c:9: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from ../win/X11/tile2x11.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from ../win/X11/tile2x11.c:9: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from ../win/X11/tile2x11.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from ../win/X11/tile2x11.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from ../win/X11/tile2x11.c:9: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ ../win/X11/tile2x11.c:14:26: warning: '/*' within block comment [-Wcomment] /*#define PRINT_COLORMAP /* define to print the colormap */ ^ 51 warnings generated. cc -O -I../include -c ../win/share/tiletext.c In file included from ../win/share/tiletext.c:1: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from ../win/share/tiletext.c:1: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from ../win/share/tiletext.c:1: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from ../win/share/tiletext.c:1: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from ../win/share/tiletext.c:1: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ 48 warnings generated. cc -O -I../include -c -DTILETEXT ../win/share/tilemap.c In file included from ../win/share/tilemap.c:10: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from ../win/share/tilemap.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from ../win/share/tilemap.c:10: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from ../win/share/tilemap.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from ../win/share/tilemap.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from ../win/share/tilemap.c:10: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ ../win/share/tilemap.c:154:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ 51 warnings generated. mv tilemap.o tiletxt.o cc -o tile2x11 tile2x11.o tiletext.o tiletxt.o ../src/drawing.o ../src/decl.o ../src/monst.o ../src/objects.o ( cd dat ; /usr/bin/make x11tiles ) ../util/tile2x11 ../win/share/monsters.txt ../win/share/objects.txt ../win/share/other.txt ../win/share/monsters.txt: 341 tiles ../win/share/objects.txt: 393 tiles ../win/share/other.txt: 154 tiles Total tiles: 888 ( cd dat ; /usr/bin/make pet_mark.xbm ) cp ../win/X11/pet_mark.xbm pet_mark.xbm ( cd dat ; /usr/bin/make rip.xpm ) cp ../win/X11/rip.xpm rip.xpm ( cd util ; /usr/bin/make dgn_comp ) `../include/date.h' is up to date. yacc -d dgn_comp.y mv y.tab.c dgn_yacc.c mv y.tab.h ../include/dgn_comp.h cc -O -I../include -c dgn_yacc.c -o dgn_yacc.o In file included from dgn_comp.y:25: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from dgn_comp.y:25: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from dgn_comp.y:25: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from dgn_comp.y:25: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from dgn_comp.y:25: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ 48 warnings generated. lex dgn_comp.l mv lex.yy.c dgn_lex.c cc -c -O -I../include dgn_lex.c In file included from dgn_comp.l:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from dgn_comp.l:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from dgn_comp.l:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from dgn_comp.l:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from dgn_comp.l:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ 48 warnings generated. cc -O -I../include -c dgn_main.c -o dgn_main.o In file included from dgn_main.c:11: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from dgn_main.c:11: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from dgn_main.c:11: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from dgn_main.c:11: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from dgn_main.c:11: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ 48 warnings generated. cc -O -I../include -c panic.c -o panic.o In file included from panic.c:11: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from panic.c:11: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from panic.c:11: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from panic.c:11: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from panic.c:11: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ 48 warnings generated. cc -o dgn_comp dgn_yacc.o dgn_lex.o dgn_main.o panic.o ../src/alloc.o ( cd dat ; /usr/bin/make dungeon ) ../util/makedefs -e ../util/dgn_comp dungeon.pdf ( cd util ; /usr/bin/make lev_comp ) yacc -d lev_comp.y mv y.tab.c lev_yacc.c mv y.tab.h ../include/lev_comp.h cc -O -I../include -c lev_yacc.c -o lev_yacc.o In file included from lev_comp.y:24: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from lev_comp.y:24: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from lev_comp.y:24: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from lev_comp.y:24: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from lev_comp.y:24: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from lev_comp.y:24: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. lex lev_comp.l mv lex.yy.c lev_lex.c cc -c -O -I../include lev_lex.c In file included from lev_comp.l:8: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from lev_comp.l:8: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from lev_comp.l:8: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from lev_comp.l:8: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from lev_comp.l:8: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from lev_comp.l:8: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. `../include/date.h' is up to date. cc -O -I../include -c lev_main.c -o lev_main.o In file included from lev_main.c:10: In file included from ../include/hack.h:9: ../include/config.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define MSDOS /* use if not defined by compiler or cases below */ ^ ../include/config.h:123:17: warning: '/*' within block comment [-Wcomment] /* #define OS2 /* define for OS/2 */ ^ ../include/config.h:125:17: warning: '/*' within block comment [-Wcomment] /* #define TOS /* define for Atari ST/TT */ ^ ../include/config.h:127:19: warning: '/*' within block comment [-Wcomment] /* #define STUPID /* avoid some complicated expressions if ^ ../include/config.h:129:21: warning: '/*' within block comment [-Wcomment] /* #define TERMINFO /* uses terminfo rather than termcap */ ^ ../include/config.h:135:25: warning: '/*' within block comment [-Wcomment] /* #define MINIMAL_TERM /* if a terminal handles highlighting or tabs poorly, ^ ../include/config.h:137:24: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_CC20 /* define only if using cc v2.0 on a DECstation */ ^ ../include/config.h:138:25: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX_PROTO /* define for Ultrix 4.0 (or higher) on a DECstation; ^ ../include/config.h:299:46: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:300:42: warning: '/*' within block comment [-Wcomment] /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ ../include/config.h:315:17: warning: '/*' within block comment [-Wcomment] /* #define DLB /* not supported on all platforms */ ^ ../include/config.h:344:19: warning: '/*' within block comment [-Wcomment] /* #define SECURE /* do setuid(getuid()) after chdir() */ ^ ../include/config.h:366:21: warning: '/*' within block comment [-Wcomment] /* #define NOVOID /* define if no "void" data type. */ ^ ../include/config.h:373:22: warning: '/*' within block comment [-Wcomment] /* #define NOTSTDC /* define for lying compilers */ ^ In file included from lev_main.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:375: ../include/tradstdc.h:55:25: warning: '/*' within block comment [-Wcomment] /* #define USE_VARARGS /* use instead of */ ^ ../include/tradstdc.h:56:25: warning: '/*' within block comment [-Wcomment] /* #define USE_OLDARGS /* don't use any variable argument facilites */ ^ In file included from lev_main.c:10: In file included from ../include/hack.h:9: ../include/config.h:415:21: warning: '/*' within block comment [-Wcomment] /* #define STRNCMPI /* compiler/library has the strncmpi function */ ^ ../include/config.h:430:25: warning: '/*' within block comment [-Wcomment] /*#define VISION_TABLES /* use vision tables generated at compile time */ ^ ../include/config.h:468:26: warning: '/*' within block comment [-Wcomment] /* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@ucivax) */ ^ In file included from lev_main.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: ../include/global.h:11:18: warning: '/*' within block comment [-Wcomment] /* #define BETA /* if a beta-test copy [MRS] */ ^ ../include/global.h:76:27: warning: '/*' within block comment [-Wcomment] /* #define SPECIALIZATION /* do "specialized" version of new topology */ ^ In file included from lev_main.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:470: In file included from ../include/global.h:148: ../include/unixconf.h:24:19: warning: '/*' within block comment [-Wcomment] /* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */ ^ ../include/unixconf.h:27:18: warning: '/*' within block comment [-Wcomment] /* #define SYSV /* define for System V */ ^ ../include/unixconf.h:28:18: warning: '/*' within block comment [-Wcomment] /* #define HPUX /* Hewlett-Packard's Unix, version 6.5 or higher */ ^ ../include/unixconf.h:33:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:34:21: warning: '/*' within block comment [-Wcomment] /* #define NETWORK /* if running on a networked system */ ^ ../include/unixconf.h:37:18: warning: '/*' within block comment [-Wcomment] /* #define LINUX /* Another Unix clone */ ^ ../include/unixconf.h:38:18: warning: '/*' within block comment [-Wcomment] /* #define GENIX /* Yet Another Unix Clone */ ^ ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define HISX /* Bull Unix for XPS Machines */ ^ ../include/unixconf.h:40:17: warning: '/*' within block comment [-Wcomment] /* #define BOS /* Bull Open Software - Unix for DPX/2 Machines */ ^ ../include/unixconf.h:41:19: warning: '/*' within block comment [-Wcomment] /* #define UNIXPC /* use in addition to SYSV for AT&T 7300/3B1 */ ^ ../include/unixconf.h:42:19: warning: '/*' within block comment [-Wcomment] /* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain ^ ../include/unixconf.h:57:23: warning: '/*' within block comment [-Wcomment] /* #define OPENWINBUG /* avoid a problem using OpenWindows 3.0 for X11 ^ ../include/unixconf.h:60:24: warning: '/*' within block comment [-Wcomment] /* #define PYRAMID_BUG /* avoid a bug on the Pyramid */ ^ ../include/unixconf.h:61:23: warning: '/*' within block comment [-Wcomment] /* #define BSD_43_BUG /* for real 4.3BSD cc's without schain botch fix */ ^ ../include/unixconf.h:62:26: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_BUG /* problems with large arrays in structs */ ^ ../include/unixconf.h:63:30: warning: '/*' within block comment [-Wcomment] /* #define MICROPORT_286_BUG /* Changes needed in termcap.c to get it to ^ ../include/unixconf.h:66:23: warning: '/*' within block comment [-Wcomment] /* #define AIXPS_2BUG /* avoid a problem with little_to_big() optimization */ ^ ../include/unixconf.h:68:19: warning: '/*' within block comment [-Wcomment] /* #define RANDOM /* if neither random/srandom nor lrand48/srand48 ^ ../include/unixconf.h:72:25: warning: '/*' within block comment [-Wcomment] /* #define UNIX386MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:74:23: warning: '/*' within block comment [-Wcomment] /* #define VPIX_MUSIC /* Play real music through speaker on systems with ^ ../include/unixconf.h:86:26: warning: '/*' within block comment [-Wcomment] /* #define NO_FILE_LINKS /* if no hard links */ ^ ../include/unixconf.h:87:48: warning: '/*' within block comment [-Wcomment] /* #define LOCKDIR "/usr/games/lib/nethackdir" /* where to put locks */ ^ ../include/unixconf.h:117:25: warning: '/*' within block comment [-Wcomment] /* #define TIMED_DELAY /* usleep() */ ^ ../include/unixconf.h:128:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ ../include/unixconf.h:140:18: warning: '/*' within block comment [-Wcomment] /* #define AMS /* use Andrew message system for mail */ ^ ../include/unixconf.h:149:26: warning: '/*' within block comment [-Wcomment] /* #define NO_MAILREADER /* have mail daemon just tell player of mail */ ^ ../include/unixconf.h:185:34: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_OPTIONS "-q" /* */ ^ In file included from lev_main.c:10: In file included from ../include/hack.h:73: In file included from ../include/decl.h:215: ../include/obj.h:8:23: warning: '/*' within block comment [-Wcomment] /* #define obj obj_nh /* uncomment for SCO UNIX, which has a conflicting ^ ../include/obj.h:25:21: warning: '/*' within block comment [-Wcomment] /* unsigned o_cwt; /* container weight capacity */ ^ 50 warnings generated. cc -o lev_comp lev_yacc.o lev_lex.o lev_main.o panic.o ../src/alloc.o ../src/drawing.o ../src/decl.o ../src/monst.o ../src/objects.o ( cd dat ; /usr/bin/make spec_levs ) ../util/lev_comp bigroom.des ../util/lev_comp castle.des ../util/lev_comp endgame.des ../util/lev_comp gehennom.des ../util/lev_comp knox.des ../util/lev_comp medusa.des ../util/lev_comp mines.des ../util/lev_comp oracle.des ../util/lev_comp tower.des ../util/lev_comp yendor.des touch spec_levs ( cd dat ; /usr/bin/make quest_levs ) ../util/lev_comp Arch.des ../util/lev_comp Barb.des ../util/lev_comp Caveman.des ../util/lev_comp Elf.des ../util/lev_comp Healer.des ../util/lev_comp Knight.des ../util/lev_comp Priest.des ../util/lev_comp Rogue.des ../util/lev_comp Samurai.des ../util/lev_comp Tourist.des ../util/lev_comp Valkyrie.des ../util/lev_comp Wizard.des touch quest_levs ( cd dat; /usr/bin/make options ) `options' is up to date. Done. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> nethack32-3.2.3_8 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found ===> nethack32-3.2.3_8 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for nethack32-3.2.3_8 ===> Generating temporary packing list ( cd src ; /usr/bin/make ) `nethack' is up to date. ( cd util ; /usr/bin/make recover ) `recover' is up to date. ( cd dat ; /usr/bin/make data ) `data' is up to date. ( cd dat ; /usr/bin/make oracles ) `oracles' is up to date. ( cd dat ; /usr/bin/make options ) `options' is up to date. ( cd dat ; /usr/bin/make quest.dat ) `quest.dat' is up to date. ( cd dat ; /usr/bin/make rumors ) `rumors' is up to date. ( cd util ; /usr/bin/make tile2x11 ) `tile2x11' is up to date. ( cd dat ; /usr/bin/make x11tiles ) `x11tiles' is up to date. ( cd dat ; /usr/bin/make pet_mark.xbm ) `pet_mark.xbm' is up to date. ( cd dat ; /usr/bin/make rip.xpm ) `rip.xpm' is up to date. ( cd util ; /usr/bin/make dgn_comp ) `../include/date.h' is up to date. `dgn_comp' is up to date. ( cd dat ; /usr/bin/make dungeon ) `dungeon' is up to date. ( cd util ; /usr/bin/make lev_comp ) `../include/date.h' is up to date. `lev_comp' is up to date. ( cd dat ; /usr/bin/make spec_levs ) `spec_levs' is up to date. ( cd dat ; /usr/bin/make quest_levs ) `quest_levs' is up to date. mkdir /wrkdirs/usr/ports/games/nethack32/work/stage/usr/local/bin mkdir: /wrkdirs/usr/ports/games/nethack32/work/stage/usr/local/bin: File exists *** Error code 1 (ignored) rmdir /wrkdirs/usr/ports/games/nethack32/work/stage/usr/local/share/nethack32 rmdir: /wrkdirs/usr/ports/games/nethack32/work/stage/usr/local/share/nethack32: No such file or directory *** Error code 1 (ignored) mkdir /wrkdirs/usr/ports/games/nethack32/work/stage/usr/local/share/nethack32 /wrkdirs/usr/ports/games/nethack32/work/stage/usr/local/share/nethack32 mkdir: /wrkdirs/usr/ports/games/nethack32/work/stage/usr/local/share/nethack32: File exists *** Error code 1 (ignored) ( /usr/bin/make dofiles ) target=`sed -n -e '/librarian/{' -e 's/.*/dlb/p' -e 'q' -e '}' -e '$s/.*/nodlb/p' < dat/options` ; /usr/bin/make dofiles-${target-nodlb} ( cd dat ; cp x11tiles pet_mark.xbm rip.xpm license help hh cmdhelp history opthelp wizhelp dungeon asmodeus.lev baalz.lev bigrm-?.lev castle.lev fakewiz?.lev juiblex.lev knox.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus.lev sanctum.lev tower?.lev valley.lev wizard?.lev astral.lev air.lev earth.lev fire.lev water.lev ?-goal.lev ?-fill?.lev ?-locate.lev ?-start.lev data oracles options quest.dat rumors /wrkdirs/usr/ports/games/nethack32/work/stage/usr/local/share/nethack32 ) cp src/nethack /wrkdirs/usr/ports/games/nethack32/work/stage/usr/local/share/nethack32/nethack32 cp util/recover /wrkdirs/usr/ports/games/nethack32/work/stage/usr/local/share/nethack32 rm -f /wrkdirs/usr/ports/games/nethack32/work/stage/usr/local/bin/nethack32 sed -e 's;/usr/games/lib/nethackdir;/usr/local/share/nethack32;' -e 's;HACKDIR/nethack;HACKDIR/nethack32;' < sys/unix/nethack.sh > /wrkdirs/usr/ports/games/nethack32/work/stage/usr/local/bin/nethack32 touch /wrkdirs/usr/ports/games/nethack32/work/stage/usr/local/share/nethack32/perm /wrkdirs/usr/ports/games/nethack32/work/stage/usr/local/share/nethack32/record /wrkdirs/usr/ports/games/nethack32/work/stage/usr/local/share/nethack32/logfile You may also want to reinstall the man pages via the doc Makefile. /usr/bin/env -i HOME=/wrkdirs/usr/ports/games/nethack32/work PWD="${PWD}" OSVERSION=1302001 PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/nethack32/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin TMPDIR=/tmp UNAME_r=13.2-RELEASE-p10 UNAME_v=FreeBSD\ 13.2-RELEASE-p10 XDG_DATA_HOME=/wrkdirs/usr/ports/games/nethack32/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/nethack32/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/nethack32/work/.cache HOME=/wrkdirs/usr/ports/games/nethack32/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/nethack32/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/nethack32/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" /usr/bin/make -f Makefile -C /wrkdirs/usr/ports/games/nethack32/work/nethack-3.2.2/doc DESTDIR=/wrkdirs/usr/ports/games/nethack32/work/stage manpages install -m 444 nethack.6 /wrkdirs/usr/ports/games/nethack32/work/stage/usr/local/share/man/man6/nethack32.6 install -m 444 lev_comp.6 /wrkdirs/usr/ports/games/nethack32/work/stage/usr/local/share/man/man6/lev_comp32.6 install -m 444 dgn_comp.6 /wrkdirs/usr/ports/games/nethack32/work/stage/usr/local/share/man/man6/dgn_comp32.6 install -m 444 recover.6 /wrkdirs/usr/ports/games/nethack32/work/stage/usr/local/share/man/man6/recover32.6 install -m 444 dlb.6 /wrkdirs/usr/ports/games/nethack32/work/stage/usr/local/share/man/man6/dlb32.6 install -m 0644 /wrkdirs/usr/ports/games/nethack32/work/nethack-3.2.2/doc/Guidebook.txt /wrkdirs/usr/ports/games/nethack32/work/stage/usr/local/share/doc/nethack32 ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-01T20:02:23+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=d205f30e39' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for nethack32-3.2.3_8 ===> Building nethack32-3.2.3_8 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for nethack32-3.2.3_8 build of games/nethack32 | nethack32-3.2.3_8 ended at Mon Apr 1 21:08:04 BST 2024 build time: 00:05:43