=>> Building devel/heirloom-devtools build started at Mon Apr 1 02:08:50 BST 2024 port directory: /usr/ports/devel/heirloom-devtools package name: heirloom-devtools-070527 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: hrs@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1229 Jan 25 05:29 /usr/ports/devel/heirloom-devtools/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: b25a6c32cf Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 20 ---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/20/.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 heirloom-devtools-070527: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- hrs@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/devel/heirloom-devtools/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/heirloom-devtools/work XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/heirloom-devtools/work/.cache HOME=/wrkdirs/usr/ports/devel/heirloom-devtools/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/devel/heirloom-devtools/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/heirloom-devtools/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/devel/heirloom-devtools/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/heirloom-devtools/work XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/heirloom-devtools/work/.cache HOME=/wrkdirs/usr/ports/devel/heirloom-devtools/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/devel/heirloom-devtools/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/heirloom-devtools/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 -fcommon -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 " 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-- LIBEXECDIR=heirloom/libexec PORTDOCS="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/heirloom-devtools" EXAMPLESDIR="share/examples/heirloom-devtools" DATADIR="heirloom/share" WWWDIR="www/heirloom-devtools" ETCDIR="etc/heirloom-devtools" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/heirloom/share DOCSDIR=/usr/local/share/doc/heirloom-devtools EXAMPLESDIR=/usr/local/share/examples/heirloom-devtools WWWDIR=/usr/local/www/heirloom-devtools ETCDIR=/usr/local/etc/heirloom-devtools --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 ===> heirloom-devtools-070527 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 ===> heirloom-devtools-070527 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of heirloom-devtools-070527 =========================================================================== =================================================== ===== 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 heirloom-devtools-070527 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by heirloom-devtools-070527 for building => SHA256 Checksum OK for heirloom-devtools-070527.tar.bz2. =========================================================================== =================================================== ===== 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 heirloom-devtools-070527 for building ===> Extracting for heirloom-devtools-070527 => SHA256 Checksum OK for heirloom-devtools-070527.tar.bz2. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for heirloom-devtools-070527 ===> Applying FreeBSD patches for heirloom-devtools-070527 from /usr/ports/devel/heirloom-devtools/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for heirloom-devtools-070527 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for heirloom-devtools-070527 cat mk.config yacc/Makefile.mk >yacc/Makefile cat mk.config lex/Makefile.mk >lex/Makefile cat mk.config m4/Makefile.mk >m4/Makefile cat mk.config sccs/cassi/Makefile.mk >sccs/cassi/Makefile cat mk.config sccs/comobj/Makefile.mk >sccs/comobj/Makefile cat mk.config sccs/mpwlib/Makefile.mk >sccs/mpwlib/Makefile cat mk.config sccs/src/Makefile.mk >sccs/src/Makefile cat mk.config sccs/help.d/Makefile.mk >sccs/help.d/Makefile cat mk.config sccs/man/Makefile.mk >sccs/man/Makefile cat mk.config make/bsd/Makefile.mk >make/bsd/Makefile cat mk.config make/makestate/Makefile.mk >make/makestate/Makefile cat mk.config make/mksdmsi18n/Makefile.mk >make/mksdmsi18n/Makefile cat mk.config make/mksh/Makefile.mk >make/mksh/Makefile cat mk.config make/vroot/Makefile.mk >make/vroot/Makefile cat mk.config make/src/Makefile.mk >make/src/Makefile for i in yacc lex m4 sccs/cassi sccs/comobj sccs/mpwlib sccs/src sccs/help.d sccs/man make/bsd make/makestate make/mksdmsi18n make/mksh make/vroot make/src; do (cd "$i" && /usr/bin/make all) || exit; done cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -DPARSER='"/usr/local/heirloom/libexec/yaccpar"' y1.c y1.c:295:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*p = *q++) ~~~^~~~~~ y1.c:295:12: note: place parentheses around the assignment to silence this warning while (*p = *q++) ^ ( ) y1.c:295:12: note: use '==' to turn this assignment into an equality comparison while (*p = *q++) ^ == y1.c:387:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] mem-tracemem, new_memsize, memp-amem, new_actsize); ^~~~~~~~~~~~ y1.c:387:31: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] mem-tracemem, new_memsize, memp-amem, new_actsize); ^~~~~~~~~ 3 warnings generated. cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -DPARSER='"/usr/local/heirloom/libexec/yaccpar"' y2.c y2.c:1499:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*loc = *p++) ~~~~~^~~~~~ y2.c:1499:14: note: place parentheses around the assignment to silence this warning while (*loc = *p++) ^ ( ) y2.c:1499:14: note: use '==' to turn this assignment into an equality comparison while (*loc = *p++) ^ == 1 warning generated. cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -DPARSER='"/usr/local/heirloom/libexec/yaccpar"' y3.c y3.c:178:48: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(foutput, "off = %d, k = %d\n", off, rr-amem); ~~ ^~~~~~~ %ld 1 warning generated. cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -DPARSER='"/usr/local/heirloom/libexec/yaccpar"' y4.c y4.c:183:29: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(ftable, "%4d ", p-amem); ~~~ ^~~~~~ %4ld y4.c:403:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] optimmem-tracemem + 1, new_memsize, maxa-amem + 1, new_actsize); ^~~~~~~~~~~~~~~~~~~~~ y4.c:403:39: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] optimmem-tracemem + 1, new_memsize, maxa-amem + 1, new_actsize); ^~~~~~~~~~~~~ y4.c:404:50: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(foutput, "%d table entries, %d zero\n", (maxa-amem) + 1, i); ~~ ^~~~~~~~~~~~~~~ %ld y4.c:416:42: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(ftable, "# define YYLAST %d\n", maxa-amem + 1); ~~ ^~~~~~~~~~~~~ %ld 5 warnings generated. cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -DPARSER='"/usr/local/heirloom/libexec/yaccpar"' y5.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -DPARSER='"/usr/local/heirloom/libexec/yaccpar"' getopt.c cc -fstack-protector-strong y1.o y2.o y3.o y4.o y5.o getopt.o -o yacc cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -DPARSER='"/usr/local/heirloom/libexec/yaccpar"' libmai.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -DPARSER='"/usr/local/heirloom/libexec/yaccpar"' libzer.c ar -rv liby.a libmai.o libzer.o ar: warning: creating liby.a a - libmai.o a - libzer.o (hash ranlib) >/dev/null 2>&1 || exit 0; ranlib liby.a cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -DFORMPATH='"/usr/local/heirloom/libexec/lex"' main.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -DFORMPATH='"/usr/local/heirloom/libexec/lex"' sub1.c sub1.c:112:31: warning: format string is empty [-Wformat-zero-length] fprintf(errorf, !no_input ? "" : "\"%s\":", sargv[optind]); ^~ sub1.c:150:30: warning: format string is empty [-Wformat-zero-length] fprintf(errorf, !no_input?"":"\"%s\":", sargv[optind]); ^~ sub1.c:149:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ sub1.c:215:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*i++ = *s++); ~~~~~^~~~~~ sub1.c:215:14: note: place parentheses around the assignment to silence this warning while (*i++ = *s++); ^ ( ) sub1.c:215:14: note: use '==' to turn this assignment into an equality comparison while (*i++ = *s++); ^ == sub1.c:499:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = gch()) { ~~^~~~~~~ sub1.c:499:11: note: place parentheses around the assignment to silence this warning while (c = gch()) { ^ ( ) sub1.c:499:11: note: use '==' to turn this assignment into an equality comparison while (c = gch()) { ^ == sub1.c:573:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = gch()) { ~~^~~~~~~ sub1.c:573:13: note: place parentheses around the assignment to silence this warning while (c = gch()) { ^ ( ) sub1.c:573:13: note: use '==' to turn this assignment into an equality comparison while (c = gch()) { ^ == sub1.c:594:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = gch()) { ~~^~~~~~~ sub1.c:594:13: note: place parentheses around the assignment to silence this warning while (c = gch()) { ^ ( ) sub1.c:594:13: note: use '==' to turn this assignment into an equality comparison while (c = gch()) { ^ == 7 warnings generated. cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -DFORMPATH='"/usr/local/heirloom/libexec/lex"' sub2.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -DFORMPATH='"/usr/local/heirloom/libexec/lex"' sub3.c sub3.c:153:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else warning( ^ sub3.c:307:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cc = *s++) { ~~~^~~~~~ sub3.c:307:14: note: place parentheses around the assignment to silence this warning while (cc = *s++) { ^ ( ) sub3.c:307:14: note: use '==' to turn this assignment into an equality comparison while (cc = *s++) { ^ == 2 warnings generated. cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -DFORMPATH='"/usr/local/heirloom/libexec/lex"' header.c header.c:401:18: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] tptr, treesize, nxtpos-positions, maxpos, stnum + 1, nstates, rcount); ^~~~~~~~~~~~~~~~ header.c:403:38: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] "%d/%d packed char classes(%%k), ", pcptr-pchar, pchlen); ~~ ^~~~~~~~~~~ %ld 2 warnings generated. cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -DFORMPATH='"/usr/local/heirloom/libexec/lex"' wcio.c `test -x ../yacc/yacc && echo ../yacc/yacc -P../yacc/yaccpar || echo yacc` -d parser.y cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -c y.tab.c -o parser.o rm -f y.tab.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -DFORMPATH='"/usr/local/heirloom/libexec/lex"' getopt.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -DFORMPATH='"/usr/local/heirloom/libexec/lex"' lsearch.c cc -fstack-protector-strong main.o sub1.o sub2.o sub3.o header.o wcio.o parser.o getopt.o lsearch.o -o lex cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -DFORMPATH='"/usr/local/heirloom/libexec/lex"' allprint.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -DFORMPATH='"/usr/local/heirloom/libexec/lex"' libmain.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -DFORMPATH='"/usr/local/heirloom/libexec/lex"' reject.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -DFORMPATH='"/usr/local/heirloom/libexec/lex"' yyless.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -DFORMPATH='"/usr/local/heirloom/libexec/lex"' yywrap.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -DEUC -DJLSLEX -DWOPTION allprint.c -o allprint_w.o cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -DEUC -DJLSLEX -DWOPTION reject.c -o reject_w.o cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -DEUC -DJLSLEX -DWOPTION yyless.c -o yyless_w.o cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -DEUC -DJLSLEX -DEOPTION reject.c -o reject_e.o cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -DEUC -DJLSLEX -DEOPTION yyless.c -o yyless_e.o ar -rv libl.a allprint.o libmain.o reject.o yyless.o yywrap.o allprint_w.o reject_w.o yyless_w.o reject_e.o yyless_e.o ar: warning: creating libl.a a - allprint.o a - libmain.o a - reject.o a - yyless.o a - yywrap.o a - allprint_w.o a - reject_w.o a - yyless_w.o a - reject_e.o a - yyless_e.o (hash ranlib) >/dev/null 2>&1 || exit 0; ranlib libl.a cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE m4.c m4.c:134:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ m4.c:511:25: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] "Trace(%d): %ls", Cp-callst, a1[0]); ~~ ^~~~~~~~~ %ld m4.c:739:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] putbak('-'); ^ ./m4.h:186:2: note: expanded from macro 'putbak' else \ ^ 3 warnings generated. cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE m4ext.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE m4macs.c `test -x ../yacc/yacc && echo ../yacc/yacc -P../yacc/yaccpar || echo yacc` -d m4y.y mv y.tab.c m4y.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE m4y.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE version.c cc -fstack-protector-strong m4.o m4ext.o m4macs.o m4y.o version.o -o m4 `test -x ../yacc/yacc && echo ../yacc/yacc -P../yacc/yaccpar || echo yacc` -d m4y_xpg4.y mv y.tab.c m4y_xpg4.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE m4y_xpg4.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -DXPG4 version.c -o version_xpg4.o cc -fstack-protector-strong m4.o m4ext.o m4macs.o m4y_xpg4.o version_xpg4.o -o m4_xpg4 cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr cmrcheck.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr deltack.c deltack.c:99:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (efd=fopen(errorlog,"a")) ~~~^~~~~~~~~~~~~~~~~~~~ deltack.c:99:11: note: place parentheses around the assignment to silence this warning if (efd=fopen(errorlog,"a")) ^ ( ) deltack.c:99:11: note: use '==' to turn this assignment into an equality comparison if (efd=fopen(errorlog,"a")) ^ == deltack.c:114:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(h=strtok(0,",\0 ")) ~^~~~~~~~~~~~~~~~~ deltack.c:114:9: note: place parentheses around the assignment to silence this warning while(h=strtok(0,",\0 ")) ^ ( ) deltack.c:114:9: note: use '==' to turn this assignment into an equality comparison while(h=strtok(0,",\0 ")) ^ == deltack.c:178:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (efd=fopen(errorlog,"a")) ~~~^~~~~~~~~~~~~~~~~~~~ deltack.c:178:11: note: place parentheses around the assignment to silence this warning if (efd=fopen(errorlog,"a")) ^ ( ) deltack.c:178:11: note: use '==' to turn this assignment into an equality comparison if (efd=fopen(errorlog,"a")) ^ == deltack.c:232:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ deltack.c:375:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (efd=fopen(errorlog,"a")) ~~~^~~~~~~~~~~~~~~~~~~~ deltack.c:375:11: note: place parentheses around the assignment to silence this warning if (efd=fopen(errorlog,"a")) ^ ( ) deltack.c:375:11: note: use '==' to turn this assignment into an equality comparison if (efd=fopen(errorlog,"a")) ^ == deltack.c:392:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (efd=fopen(errorlog,"a")) ~~~^~~~~~~~~~~~~~~~~~~~ deltack.c:392:11: note: place parentheses around the assignment to silence this warning if (efd=fopen(errorlog,"a")) ^ ( ) deltack.c:392:11: note: use '==' to turn this assignment into an equality comparison if (efd=fopen(errorlog,"a")) ^ == 6 warnings generated. cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr error.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr filehand.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr gf.c ar -rv libcassi.a cmrcheck.o deltack.o error.o filehand.o gf.o ar: warning: creating libcassi.a a - cmrcheck.o a - deltack.o a - error.o a - filehand.o a - gf.o (hash ranlib) >/dev/null 2>&1 || exit 0; ranlib libcassi.a cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr auxf.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr chkid.c chkid.c:98:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(lp=strchr(lp,*p)) ~~^~~~~~~~~~~~~~ chkid.c:98:12: note: place parentheses around the assignment to silence this warning while(lp=strchr(lp,*p)) ^ ( ) chkid.c:98:12: note: use '==' to turn this assignment into an equality comparison while(lp=strchr(lp,*p)) ^ == chkid.c:72:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ 2 warnings generated. cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr chksid.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr cmpdate.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr date_ab.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr date_ba.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr del_ab.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr del_ba.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr dodelt.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr dofile.c dofile.c:73:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(dir[0] = readdir(dirf)) { ~~~~~~~^~~~~~~~~~~~~~~ dofile.c:73:18: note: place parentheses around the assignment to silence this warning while(dir[0] = readdir(dirf)) { ^ ( ) dofile.c:73:18: note: use '==' to turn this assignment into an equality comparison while(dir[0] = readdir(dirf)) { ^ == dofile.c:109:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(dir[0] = readdir(dirf)){ ~~~~~~~^~~~~~~~~~~~~~~ dofile.c:109:16: note: place parentheses around the assignment to silence this warning while(dir[0] = readdir(dirf)){ ^ ( ) dofile.c:109:16: note: use '==' to turn this assignment into an equality comparison while(dir[0] = readdir(dirf)){ ^ == 2 warnings generated. cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr dohist.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr doie.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr dolist.c dolist.c:69:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (; n = sidtoser(&sid,pkt); ~~^~~~~~~~~~~~~~~~~~~~ dolist.c:69:20: note: place parentheses around the assignment to silence this warning for (; n = sidtoser(&sid,pkt); ^ ( ) dolist.c:69:20: note: use '==' to turn this assignment into an equality comparison for (; n = sidtoser(&sid,pkt); ^ == dolist.c:95:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n = sidtoser(&lowsid,pkt)) ~~^~~~~~~~~~~~~~~~~~~~~~~ dolist.c:95:10: note: place parentheses around the assignment to silence this warning if (n = sidtoser(&lowsid,pkt)) ^ ( ) dolist.c:95:10: note: use '==' to turn this assignment into an equality comparison if (n = sidtoser(&lowsid,pkt)) ^ == 2 warnings generated. cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr encode.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr eqsid.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr flushto.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr fmterr.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr getline.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr getser.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr logname.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr newsid.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr newstats.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr permiss.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr pf_ab.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr putline.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr rdmod.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr setup.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr sid_ab.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr sid_ba.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr sidtoser.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr sinit.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr stats_ab.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr strptim.c ar -rv libcomobj.a auxf.o chkid.o chksid.o cmpdate.o date_ab.o date_ba.o del_ab.o del_ba.o dodelt.o dofile.o dohist.o doie.o dolist.o encode.o eqsid.o flushto.o fmterr.o getline.o getser.o logname.o newsid.o newstats.o permiss.o pf_ab.o putline.o rdmod.o setup.o sid_ab.o sid_ba.o sidtoser.o sinit.o stats_ab.o strptim.o ar: warning: creating libcomobj.a a - auxf.o a - chkid.o a - chksid.o a - cmpdate.o a - date_ab.o a - date_ba.o a - del_ab.o a - del_ba.o a - dodelt.o a - dofile.o a - dohist.o a - doie.o a - dolist.o a - encode.o a - eqsid.o a - flushto.o a - fmterr.o a - getline.o a - getser.o a - logname.o a - newsid.o a - newstats.o a - permiss.o a - pf_ab.o a - putline.o a - rdmod.o a - setup.o a - sid_ab.o a - sid_ba.o a - sidtoser.o a - sinit.o a - stats_ab.o a - strptim.o (hash ranlib) >/dev/null 2>&1 || exit 0; ranlib libcomobj.a cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr abspath.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr any.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr cat.c cat.c:59:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*d++ = *s++) ; ~~~~~^~~~~~ cat.c:59:15: note: place parentheses around the assignment to silence this warning while (*d++ = *s++) ; ^ ( ) cat.c:59:15: note: use '==' to turn this assignment into an equality comparison while (*d++ = *s++) ; ^ == 1 warning generated. cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr dname.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr fatal.c fatal.c:167:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *p++) { ~~^~~~~~ fatal.c:167:26: note: place parentheses around the assignment to silence this warning while (c = *p++) { ^ ( ) fatal.c:167:26: note: use '==' to turn this assignment into an equality comparison while (c = *p++) { ^ == 1 warning generated. cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr fdfopen.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr fmalloc.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr had.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr imatch.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr index.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr lockit.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr patoi.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr repl.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr satoi.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr setsig.c setsig.c:92:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (n=signal(j,setsig1)) ~^~~~~~~~~~~~~~~~~~ setsig.c:92:9: note: place parentheses around the assignment to silence this warning if (n=signal(j,setsig1)) ^ ( ) setsig.c:92:9: note: use '==' to turn this assignment into an equality comparison if (n=signal(j,setsig1)) ^ == 1 warning generated. cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr sname.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr strend.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr trnslat.c trnslat.c:50:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (r = result; *r = *str++; r++) ~~~^~~~~~~~ trnslat.c:50:22: note: place parentheses around the assignment to silence this warning for (r = result; *r = *str++; r++) ^ ( ) trnslat.c:50:22: note: use '==' to turn this assignment into an equality comparison for (r = result; *r = *str++; r++) ^ == 1 warning generated. cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr userexit.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr xcreat.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr xlink.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr xmsg.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr xopen.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr xpipe.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr xunlink.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr zero.c cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr getopt.c ar -rv libmpw.a abspath.o any.o cat.o dname.o fatal.o fdfopen.o fmalloc.o had.o imatch.o index.o lockit.o patoi.o repl.o satoi.o setsig.o sname.o strend.o trnslat.o userexit.o xcreat.o xlink.o xmsg.o xopen.o xpipe.o xunlink.o zero.o getopt.o ar: warning: creating libmpw.a a - abspath.o a - any.o a - cat.o a - dname.o a - fatal.o a - fdfopen.o a - fmalloc.o a - had.o a - imatch.o a - index.o a - lockit.o a - patoi.o a - repl.o a - satoi.o a - setsig.o a - sname.o a - strend.o a - trnslat.o a - userexit.o a - xcreat.o a - xlink.o a - xmsg.o a - xopen.o a - xpipe.o a - xunlink.o a - zero.o a - getopt.o (hash ranlib) >/dev/null 2>&1 || exit 0; ranlib libmpw.a cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr -DBINDIR='"/usr/local/heirloom/bin"' -DSUSBIN='"/usr/local/heirloom/bin/posix"' -DLIBDIR='"/usr/local/heirloom/libexec"' admin.c admin.c:194:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((c == EOF)) { ~~^~~~~~ admin.c:194:10: note: remove extraneous parentheses around the comparison to silence this warning if((c == EOF)) { ~ ^ ~ admin.c:194:10: note: use '=' to turn this equality comparison into an assignment if((c == EOF)) { ^~ = admin.c:862:14: warning: passing 'signed char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] copy(cp,q); ^ ../hdr/defines.h:353:30: note: expanded from macro 'copy' # define copy(srce,dest) cat(dest,srce,0) ^~~~ ../hdr/defines.h:312:34: note: passing argument to parameter here extern char * cat(register char *, ...); ^ admin.c:879:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else had_flag[k] = 0; ^ 3 warnings generated. cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr -DBINDIR='"/usr/local/heirloom/bin"' -DSUSBIN='"/usr/local/heirloom/bin/posix"' -DLIBDIR='"/usr/local/heirloom/libexec"' version.c cc -fstack-protector-strong admin.o version.o -L../cassi -lcassi -L../comobj -lcomobj -L../mpwlib -lmpw -o admin cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr -DBINDIR='"/usr/local/heirloom/bin"' -DSUSBIN='"/usr/local/heirloom/bin/posix"' -DLIBDIR='"/usr/local/heirloom/libexec"' comb.c comb.c:93:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((c == EOF)) { ~~^~~~~~ comb.c:93:10: note: remove extraneous parentheses around the comparison to silence this warning if((c == EOF)) { ~ ^ ~ comb.c:93:10: note: use '=' to turn this equality comparison into an assignment if((c == EOF)) { ^~ = 1 warning generated. cc -fstack-protector-strong comb.o version.o -L../cassi -lcassi -L../comobj -lcomobj -L../mpwlib -lmpw -o comb cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr -DBINDIR='"/usr/local/heirloom/bin"' -DSUSBIN='"/usr/local/heirloom/bin/posix"' -DLIBDIR='"/usr/local/heirloom/libexec"' delta.c delta.c:444:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (n = getdiff(&type,&linenum)) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~ delta.c:444:12: note: place parentheses around the assignment to silence this warning while (n = getdiff(&type,&linenum)) { ^ ( ) delta.c:444:12: note: use '==' to turn this assignment into an equality comparison while (n = getdiff(&type,&linenum)) { ^ == 1 warning generated. cc -fstack-protector-strong delta.o version.o -L../cassi -lcassi -L../comobj -lcomobj -L../mpwlib -lmpw -o delta cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr -DBINDIR='"/usr/local/heirloom/bin"' -DSUSBIN='"/usr/local/heirloom/bin/posix"' -DLIBDIR='"/usr/local/heirloom/libexec"' get.c get.c:905:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(*tp++ = *str++) ~~~~~~^~~~~~~~ get.c:905:14: note: place parentheses around the assignment to silence this warning while(*tp++ = *str++) ^ ( ) get.c:905:14: note: use '==' to turn this assignment into an equality comparison while(*tp++ = *str++) ^ == get.c:1028:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ get.c:1085:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (p=strrchr(tcmr,',')) { ~^~~~~~~~~~~~~~~~~~ get.c:1085:10: note: place parentheses around the assignment to silence this warning while (p=strrchr(tcmr,',')) { ^ ( ) get.c:1085:10: note: use '==' to turn this assignment into an equality comparison while (p=strrchr(tcmr,',')) { ^ == get.c:1099:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ 4 warnings generated. cc -fstack-protector-strong get.o version.o -L../cassi -lcassi -L../comobj -lcomobj -L../mpwlib -lmpw -o get cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr -DBINDIR='"/usr/local/heirloom/bin"' -DSUSBIN='"/usr/local/heirloom/bin/posix"' -DLIBDIR='"/usr/local/heirloom/libexec"' help.c cc -fstack-protector-strong help.o version.o -L../cassi -lcassi -L../comobj -lcomobj -L../mpwlib -lmpw -o help cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr -DBINDIR='"/usr/local/heirloom/bin"' -DSUSBIN='"/usr/local/heirloom/bin/posix"' -DLIBDIR='"/usr/local/heirloom/libexec"' prs.c prs.c:185:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((c == EOF)) { ~~^~~~~~ prs.c:185:10: note: remove extraneous parentheses around the comparison to silence this warning if((c == EOF)) { ~ ^ ~ prs.c:185:10: note: use '=' to turn this equality comparison into an assignment if((c == EOF)) { ^~ = 1 warning generated. cc -fstack-protector-strong prs.o version.o -L../cassi -lcassi -L../comobj -lcomobj -L../mpwlib -lmpw -o prs cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr -DBINDIR='"/usr/local/heirloom/bin"' -DSUSBIN='"/usr/local/heirloom/bin/posix"' -DLIBDIR='"/usr/local/heirloom/libexec"' prt.c prt.c:176:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((c == EOF)) { ~~^~~~~~ prt.c:176:10: note: remove extraneous parentheses around the comparison to silence this warning if((c == EOF)) { ~ ^ ~ prt.c:176:10: note: use '=' to turn this equality comparison into an assignment if((c == EOF)) { ^~ = prt.c:503:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (p = lineread(EOF)) ~~^~~~~~~~~~~~~~~ prt.c:503:12: note: place parentheses around the assignment to silence this warning while (p = lineread(EOF)) ^ ( ) prt.c:503:12: note: use '==' to turn this assignment into an equality comparison while (p = lineread(EOF)) ^ == 2 warnings generated. cc -fstack-protector-strong prt.o version.o -L../cassi -lcassi -L../comobj -lcomobj -L../mpwlib -lmpw -o prt cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr -DBINDIR='"/usr/local/heirloom/bin"' -DSUSBIN='"/usr/local/heirloom/bin/posix"' -DLIBDIR='"/usr/local/heirloom/libexec"' rmchg.c rmchg.c:152:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((c == EOF)) { ~~^~~~~~ rmchg.c:152:10: note: remove extraneous parentheses around the comparison to silence this warning if((c == EOF)) { ~ ^ ~ rmchg.c:152:10: note: use '=' to turn this equality comparison into an assignment if((c == EOF)) { ^~ = rmchg.c:617:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(holdptr[++i] = strtok(0,",\n")); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ rmchg.c:617:23: note: place parentheses around the assignment to silence this warning while(holdptr[++i] = strtok(0,",\n")); ^ ( ) rmchg.c:617:23: note: use '==' to turn this assignment into an equality comparison while(holdptr[++i] = strtok(0,",\n")); ^ == rmchg.c:686:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(mrhold[++i] = strtok(0,"\n,")); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ rmchg.c:686:20: note: place parentheses around the assignment to silence this warning while(mrhold[++i] = strtok(0,"\n,")); ^ ( ) rmchg.c:686:20: note: use '==' to turn this assignment into an equality comparison while(mrhold[++i] = strtok(0,"\n,")); ^ == rmchg.c:751:7: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] *ptr=(char)NULL; ^~~~~~~~~~ 4 warnings generated. cc -fstack-protector-strong rmchg.o version.o -L../cassi -lcassi -L../comobj -lcomobj -L../mpwlib -lmpw -o rmchg cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr -DBINDIR='"/usr/local/heirloom/bin"' -DSUSBIN='"/usr/local/heirloom/bin/posix"' -DLIBDIR='"/usr/local/heirloom/libexec"' sccs.c sccs.c:794:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(dir = readdir(dirf)) { ~~~~^~~~~~~~~~~~~~~ sccs.c:794:18: note: place parentheses around the assignment to silence this warning while(dir = readdir(dirf)) { ^ ( ) sccs.c:794:18: note: use '==' to turn this assignment into an equality comparison while(dir = readdir(dirf)) { ^ == sccs.c:1414:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] rval = clean((int) cmd->sccspath, ap); ^~~~~~~~~~~~~~~~~~~ sccs.c:2160:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (dir = readdir(dirfd)) { ~~~~^~~~~~~~~~~~~~~~ sccs.c:2160:13: note: place parentheses around the assignment to silence this warning while (dir = readdir(dirfd)) { ^ ( ) sccs.c:2160:13: note: use '==' to turn this assignment into an equality comparison while (dir = readdir(dirfd)) { ^ == 3 warnings generated. cc -fstack-protector-strong sccs.o version.o -L../cassi -lcassi -L../comobj -lcomobj -L../mpwlib -lmpw -o sccs cp -f sccsdiff.sh sccsdiff chmod a+x sccsdiff cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr -DBINDIR='"/usr/local/heirloom/bin"' -DSUSBIN='"/usr/local/heirloom/bin/posix"' -DLIBDIR='"/usr/local/heirloom/libexec"' unget.c unget.c:116:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((c == EOF)) { ~~^~~~~~ unget.c:116:10: note: remove extraneous parentheses around the comparison to silence this warning if((c == EOF)) { ~ ^ ~ unget.c:116:10: note: use '=' to turn this equality comparison into an assignment if((c == EOF)) { ^~ = unget.c:316:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else fatal("specified SID not in p-file (un3)"); ^ 2 warnings generated. cc -fstack-protector-strong unget.o version.o -L../cassi -lcassi -L../comobj -lcomobj -L../mpwlib -lmpw -o unget cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr -DBINDIR='"/usr/local/heirloom/bin"' -DSUSBIN='"/usr/local/heirloom/bin/posix"' -DLIBDIR='"/usr/local/heirloom/libexec"' val.c val.c:223:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((c == EOF)) { ~~^~~~~~ val.c:223:10: note: remove extraneous parentheses around the comparison to silence this warning if((c == EOF)) { ~ ^ ~ val.c:223:10: note: use '=' to turn this equality comparison into an assignment if((c == EOF)) { ^~ = 1 warning generated. cc -fstack-protector-strong val.o version.o -L../cassi -lcassi -L../comobj -lcomobj -L../mpwlib -lmpw -o val cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr -DBINDIR='"/usr/local/heirloom/bin"' -DSUSBIN='"/usr/local/heirloom/bin/posix"' -DLIBDIR='"/usr/local/heirloom/libexec"' vc.c vc.c:187:38: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (p = &lineptr[1]; *lineptr++ = *p++; ) ~~~~~~~~~~~^~~~~~ vc.c:187:38: note: place parentheses around the assignment to silence this warning for (p = &lineptr[1]; *lineptr++ = *p++; ) ^ ( ) vc.c:187:38: note: use '==' to turn this assignment into an equality comparison for (p = &lineptr[1]; *lineptr++ = *p++; ) ^ == vc.c:711:33: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (t = (temp=s) + 1; *s++ = *t++;); ~~~~~^~~~~~ vc.c:711:33: note: place parentheses around the assignment to silence this warning for (t = (temp=s) + 1; *s++ = *t++;); ^ ( ) vc.c:711:33: note: use '==' to turn this assignment into an equality comparison for (t = (temp=s) + 1; *s++ = *t++;); ^ == vc.c:732:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*r2++ = *r1++); ~~~~~~^~~~~~~ vc.c:732:15: note: place parentheses around the assignment to silence this warning while (*r2++ = *r1++); ^ ( ) vc.c:732:15: note: use '==' to turn this assignment into an equality comparison while (*r2++ = *r1++); ^ == vc.c:750:33: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (t = (temp=s) + 1; *s++ = *t++;); ~~~~~^~~~~~ vc.c:750:33: note: place parentheses around the assignment to silence this warning for (t = (temp=s) + 1; *s++ = *t++;); ^ ( ) vc.c:750:33: note: use '==' to turn this assignment into an equality comparison for (t = (temp=s) + 1; *s++ = *t++;); ^ == 4 warnings generated. cc -fstack-protector-strong vc.o version.o -L../cassi -lcassi -L../comobj -lcomobj -L../mpwlib -lmpw -o vc cc -c -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../hdr -DBINDIR='"/usr/local/heirloom/bin"' -DSUSBIN='"/usr/local/heirloom/bin/posix"' -DLIBDIR='"/usr/local/heirloom/libexec"' what.c what.c:87:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((c == EOF)) { ~~^~~~~~ what.c:87:10: note: remove extraneous parentheses around the comparison to silence this warning if((c == EOF)) { ~ ^ ~ what.c:87:10: note: use '=' to turn this equality comparison into an assignment if((c == EOF)) { ^~ = 1 warning generated. cc -fstack-protector-strong what.o version.o -L../cassi -lcassi -L../comobj -lcomobj -L../mpwlib -lmpw -o what c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c bsd.cc ar -rv libbsd.a bsd.o ar: warning: creating libbsd.a a - bsd.o (hash ranlib) >/dev/null 2>&1 || exit 0; ranlib libbsd.a cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../include -c ld_file.c cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../include -c lock.c ar -rv libmakestate.a ld_file.o lock.o ar: warning: creating libmakestate.a a - ld_file.o a - lock.o (hash ranlib) >/dev/null 2>&1 || exit 0; ranlib libmakestate.a c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c libmksdmsi18n_init.cc ar -rv libmksdmsi18n.a libmksdmsi18n_init.o ar: warning: creating libmksdmsi18n.a a - libmksdmsi18n_init.o (hash ranlib) >/dev/null 2>&1 || exit 0; ranlib libmksdmsi18n.a c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c dosys.cc In file included from dosys.cc:60: In file included from ../include/mksh/dosys.h:39: In file included from ../include/mksh/defs.h:52: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from dosys.cc:60: ../include/mksh/dosys.h:48:22: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean await(register Boolean ignore_error, register Boolean silent_error, Name target, wchar_t *command, pid_t running_pid, Boolean send_mtool_msgs, void *xdrs, int job_msg_id); ^~~~~~~~~ ../include/mksh/dosys.h:48:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean await(register Boolean ignore_error, register Boolean silent_error, Name target, wchar_t *command, pid_t running_pid, Boolean send_mtool_msgs, void *xdrs, int job_msg_id); ^~~~~~~~~ ../include/mksh/dosys.h:50:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern int doexec(register wchar_t *command, register Boolean ignore_error, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:50:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern int doexec(register wchar_t *command, register Boolean ignore_error, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:51:38: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern int doshell(wchar_t *command, register Boolean ignore_error, Boolean redirect_out_err, char *stdout_file, char *stderr_file, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:52:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys_mksh(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:52:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys_mksh(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:52:80: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys_mksh(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:54:31: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void sh_command2string(register String command, register String destination); ^~~~~~~~~ ../include/mksh/dosys.h:54:56: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void sh_command2string(register String command, register String destination); ^~~~~~~~~ In file included from dosys.cc:61: ../include/mksh/macro.h:41:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_macro(register Source source, register String destination, wchar_t *current_string, Boolean cmd); ^~~~~~~~~ ../include/mksh/macro.h:41:50: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_macro(register Source source, register String destination, wchar_t *current_string, Boolean cmd); ^~~~~~~~~ ../include/mksh/macro.h:42:38: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_value(Name value, register String destination, Boolean cmd); ^~~~~~~~~ ../include/mksh/macro.h:43:20: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getvar(register Name name); ^~~~~~~~~ ../include/mksh/macro.h:45:31: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property setvar_daemon(register Name name, register Name value, Boolean append, Daemon daemon, Boolean strip_trailing_spaces, short debug_level); ^~~~~~~~~ ../include/mksh/macro.h:45:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property setvar_daemon(register Name name, register Name value, Boolean append, Daemon daemon, Boolean strip_trailing_spaces, short debug_level); ^~~~~~~~~ In file included from dosys.cc:62: ../include/mksh/misc.h:41:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_char(wchar_t from, register String to); ^~~~~~~~~ ../include/mksh/misc.h:42:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:42:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:43:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:71: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:44:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enable_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:49:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:49:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:50:21: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *getmem(register int size); ^~~~~~~~~ ../include/mksh/misc.h:51:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:86: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:55:35: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:55:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:59:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setup_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:62:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ dosys.cc:113:24: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error, pathpt vroot_path); ^~~~~~~~~ dosys.cc:113:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error, pathpt vroot_path); ^~~~~~~~~ dosys.cc:113:80: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error, pathpt vroot_path); ^~~~~~~~~ dosys.cc:172:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_mksh("Couldn't open standard out temp file `%s': %s", ^ dosys.cc:177:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_mksh(NOCATGETS("*** Error: dup2(3, 1) failed: %s"), ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ dosys.cc:185:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_mksh(NOCATGETS("*** Error: dup2(1, 2) failed: %s"), ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ dosys.cc:191:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_mksh("Couldn't open standard error temp file `%s': %s", ^ dosys.cc:196:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_mksh(NOCATGETS("*** Error: dup2(3, 2) failed: %s"), ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ dosys.cc:224:12: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] dosys_mksh(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio) ^~~~~~~~~ dosys.cc:224:35: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] dosys_mksh(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio) ^~~~~~~~~ dosys.cc:224:66: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] dosys_mksh(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio) ^~~~~~~~~ dosys.cc:226:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int length = command->hash.length; ^~~~~~~~~ dosys.cc:227:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *p; ^~~~~~~~~ dosys.cc:228:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *q; ^~~~~~~~~ dosys.cc:229:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *cmd_string; ^~~~~~~~~ dosys.cc:336:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] doshell(wchar_t *command, register Boolean ignore_error, Boolean redirect_out_err, char *stdout_file, char *stderr_file, int nice_prio) ^~~~~~~~~ dosys.cc:343:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Name shell = getvar(shell_name); ^~~~~~~~~ dosys.cc:344:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char *shellname; ^~~~~~~~~ dosys.cc:363:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] argv[argv_index++] = NOCATGETS("nice"); ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ dosys.cc:403:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_mksh("Could not load `/usr/bin/nice': %s", ^ dosys.cc:408:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_mksh("Could not load Shell from `%s': %s", ^ dosys.cc:412:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_mksh("couldn't load shell (bu22)"); ^ dosys.cc:416:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_mksh("fork failed: %s", ^ dosys.cc:443:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error, pathpt vroot_path) ^~~~~~~~~ dosys.cc:443:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error, pathpt vroot_path) ^~~~~~~~~ dosys.cc:443:65: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error, pathpt vroot_path) ^~~~~~~~~ dosys.cc:445:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Name shell = getvar(shell_name); ^~~~~~~~~ dosys.cc:446:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char *shellname; ^~~~~~~~~ dosys.cc:516:8: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] doexec(register wchar_t *command, register Boolean ignore_error, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio) ^~~~~~~~~ dosys.cc:516:35: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] doexec(register wchar_t *command, register Boolean ignore_error, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio) ^~~~~~~~~ dosys.cc:522:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char **p; ^~~~~~~~~ dosys.cc:524:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *t; ^~~~~~~~~ dosys.cc:567:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_mksh("Command `%s' has more than %d arguments", ^ dosys.cc:604:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_mksh("Cannot load command `%s': %s", ^ dosys.cc:607:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_mksh("cannot load %s (bu24)."); ^ dosys.cc:610:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_mksh("fork failed: %s", ^ dosys.cc:647:7: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] await(register Boolean ignore_error, register Boolean silent_error, Name target, wchar_t *command, pid_t running_pid, Boolean send_mtool_msgs, void *xdrs_p, int job_msg_id) ^~~~~~~~~ dosys.cc:647:38: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] await(register Boolean ignore_error, register Boolean silent_error, Name target, wchar_t *command, pid_t running_pid, Boolean send_mtool_msgs, void *xdrs_p, int job_msg_id) ^~~~~~~~~ dosys.cc:669:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register pid_t pid; ^~~~~~~~~ dosys.cc:678:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_mksh("wait() failed: %s", errmsg(errno)); ^ dosys.cc:808:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] sh_command2string(register String command, register String destination) ^~~~~~~~~ dosys.cc:808:44: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] sh_command2string(register String command, register String destination) ^~~~~~~~~ dosys.cc:810:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register FILE *fd; ^~~~~~~~~ dosys.cc:811:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int chr; ^~~~~~~~~ dosys.cc:819:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_mksh("Could not run command `%s' for :sh transformation", ^ dosys.cc:852:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_mksh("The command `%s' returned status `%d'", ^ 89 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c globals.cc In file included from globals.cc:46: In file included from ../include/mksh/globals.h:39: In file included from ../include/mksh/defs.h:52: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ 8 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c i18n.cc In file included from i18n.cc:46: In file included from ../include/mksh/i18n.h:39: In file included from ../include/mksh/defs.h:52: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from i18n.cc:47: ../include/mksh/misc.h:41:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_char(wchar_t from, register String to); ^~~~~~~~~ ../include/mksh/misc.h:42:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:42:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:43:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:71: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:44:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enable_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:49:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:49:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:50:21: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *getmem(register int size); ^~~~~~~~~ ../include/mksh/misc.h:51:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:86: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:55:35: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:55:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:59:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setup_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:62:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ 27 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c macro.cc In file included from macro.cc:47: In file included from ../include/mksh/dosys.h:39: In file included from ../include/mksh/defs.h:52: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from macro.cc:47: ../include/mksh/dosys.h:48:22: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean await(register Boolean ignore_error, register Boolean silent_error, Name target, wchar_t *command, pid_t running_pid, Boolean send_mtool_msgs, void *xdrs, int job_msg_id); ^~~~~~~~~ ../include/mksh/dosys.h:48:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean await(register Boolean ignore_error, register Boolean silent_error, Name target, wchar_t *command, pid_t running_pid, Boolean send_mtool_msgs, void *xdrs, int job_msg_id); ^~~~~~~~~ ../include/mksh/dosys.h:50:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern int doexec(register wchar_t *command, register Boolean ignore_error, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:50:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern int doexec(register wchar_t *command, register Boolean ignore_error, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:51:38: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern int doshell(wchar_t *command, register Boolean ignore_error, Boolean redirect_out_err, char *stdout_file, char *stderr_file, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:52:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys_mksh(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:52:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys_mksh(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:52:80: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys_mksh(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:54:31: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void sh_command2string(register String command, register String destination); ^~~~~~~~~ ../include/mksh/dosys.h:54:56: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void sh_command2string(register String command, register String destination); ^~~~~~~~~ In file included from macro.cc:49: ../include/mksh/macro.h:41:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_macro(register Source source, register String destination, wchar_t *current_string, Boolean cmd); ^~~~~~~~~ ../include/mksh/macro.h:41:50: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_macro(register Source source, register String destination, wchar_t *current_string, Boolean cmd); ^~~~~~~~~ ../include/mksh/macro.h:42:38: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_value(Name value, register String destination, Boolean cmd); ^~~~~~~~~ ../include/mksh/macro.h:43:20: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getvar(register Name name); ^~~~~~~~~ ../include/mksh/macro.h:45:31: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property setvar_daemon(register Name name, register Name value, Boolean append, Daemon daemon, Boolean strip_trailing_spaces, short debug_level); ^~~~~~~~~ ../include/mksh/macro.h:45:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property setvar_daemon(register Name name, register Name value, Boolean append, Daemon daemon, Boolean strip_trailing_spaces, short debug_level); ^~~~~~~~~ In file included from macro.cc:50: ../include/mksh/misc.h:41:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_char(wchar_t from, register String to); ^~~~~~~~~ ../include/mksh/misc.h:42:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:42:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:43:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:71: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:44:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enable_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:49:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:49:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:50:21: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *getmem(register int size); ^~~~~~~~~ ../include/mksh/misc.h:51:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:86: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:55:35: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:55:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:59:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setup_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:62:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ In file included from macro.cc:51: ../include/mksh/read.h:41:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Source get_next_block_fn(register Source source); ^~~~~~~~~ macro.cc:61:44: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static void expand_value_with_daemon(Name, register Property macro, register String destination, Boolean cmd); ^~~~~~~~~ macro.cc:61:69: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static void expand_value_with_daemon(Name, register Property macro, register String destination, Boolean cmd); ^~~~~~~~~ macro.cc:88:8: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] getvar(register Name name) ^~~~~~~~~ macro.cc:92:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Name result; ^~~~~~~~~ macro.cc:133:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] expand_value(Name value, register String destination, Boolean cmd) ^~~~~~~~~ macro.cc:136:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Source source = &sourceb; ^~~~~~~~~ macro.cc:137:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *source_p = NULL; ^~~~~~~~~ macro.cc:138:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *source_end = NULL; ^~~~~~~~~ macro.cc:167:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_reader_mksh("Loop detected when expanding macro value `%s'", ^ macro.cc:170:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_reader_mksh("infinitely recursive macro?."); ^ macro.cc:234:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_reader_mksh(NOCATGETS("Internal error: Invalid byte sequence in expand_value()")); ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ macro.cc:277:14: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] expand_macro(register Source source, register String destination, wchar_t *current_string, Boolean cmd) ^~~~~~~~~ macro.cc:277:38: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] expand_macro(register Source source, register String destination, wchar_t *current_string, Boolean cmd) ^~~~~~~~~ macro.cc:284:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *source_p = source->string.text.p; ^~~~~~~~~ macro.cc:285:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *source_end = source->string.text.end; ^~~~~~~~~ macro.cc:286:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int closer = 0; ^~~~~~~~~ macro.cc:289:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int closer_level = 1; ^~~~~~~~~ macro.cc:337:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_reader_mksh("'$' at end of string `%s'", ^ macro.cc:341:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_reader_mksh(NOCATGETS("Internal error: Invalid byte sequence in expand_macro()")); ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ macro.cc:353:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_reader_mksh("'$' at end of line"); ^ macro.cc:374:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_reader_mksh("Unmatched `%c' in string `%s'", ^ macro.cc:381:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_reader_mksh("Premature EOF"); ^ macro.cc:385:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_reader_mksh(NOCATGETS("Internal error: Invalid byte sequence in expand_macro()")); ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ macro.cc:391:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_reader_mksh("Unmatched `%c' on line", ^ macro.cc:474:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_reader_mksh("Illegal macro reference `%s'", ^ macro.cc:501:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_reader_mksh("= missing from replacement macro reference"); ^ macro.cc:536:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_reader_mksh("= missing from replacement macro reference"); ^ macro.cc:540:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_reader_mksh("%% missing from replacement macro reference"); ^ macro.cc:543:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_reader_mksh("%% missing from replacement macro reference"); ^ macro.cc:594:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_mksh("Too many %% in pattern"); ^ macro.cc:676:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] warning_mksh("Conditional macro `%s' referenced in file `%ls', line %d", ^ macro.cc:898:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] value_to_add = ""; ^ macro.cc:965:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_mksh("Execute of %s failed", mach_command); ^ macro.cc:972:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_mksh("Execute of %s failed", mach_command); ^ macro.cc:1027:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_mksh("Execute of %s failed", arch_command); ^ macro.cc:1034:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_mksh("Execute of %s failed", arch_command); ^ macro.cc:1066:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] expand_value_with_daemon(Name, register Property macro, register String destination, Boolean cmd) ^~~~~~~~~ macro.cc:1066:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] expand_value_with_daemon(Name, register Property macro, register String destination, Boolean cmd) ^~~~~~~~~ macro.cc:1069:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Chain chain; ^~~~~~~~~ macro.cc:1155:15: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] setvar_daemon(register Name name, register Name value, Boolean append, Daemon daemon, Boolean strip_trailing_spaces, short debug_level) ^~~~~~~~~ macro.cc:1155:35: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] setvar_daemon(register Name name, register Name value, Boolean append, Daemon daemon, Boolean strip_trailing_spaces, short debug_level) ^~~~~~~~~ macro.cc:1157:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Property macro = maybe_append_prop(name, macro_prop); ^~~~~~~~~ macro.cc:1158:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Property macro_apx = get_prop(name->prop, macro_append_prop); ^~~~~~~~~ macro.cc:1162:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Chain chain; ^~~~~~~~~ macro.cc:1480:10: warning: ISO C++11 does not allow conversion from string literal to 'wchar_t *' [-Wwritable-strings] args = L"./"; ^ macro.cc:1501:9: warning: ISO C++11 does not allow conversion from string literal to 'wchar_t *' [-Wwritable-strings] args = L""; ^ macro.cc:1551:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_reader_mksh("addsuffix: no suffix specified"); ^ macro.cc:1572:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_reader_mksh("addprefix: no prefix specified"); ^ macro.cc:1592:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_reader_mksh("join: nothing to join"); ^ macro.cc:1620:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_reader_mksh("wildcard: syntax error"); ^ macro.cc:1638:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_reader_mksh("subst: missing argument"); ^ macro.cc:1657:11: warning: ISO C++11 does not allow conversion from string literal to 'wchar_t *' [-Wwritable-strings] *right = L""; ^ macro.cc:1690:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_reader_mksh("patsubst: missing argument"); ^ macro.cc:1750:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_reader_mksh("findstring: missing argument"); ^ macro.cc:1767:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_reader_mksh("%s: missing argument", ^ macro.cc:1880:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_reader_mksh("word: missing argument"); ^ macro.cc:1883:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_reader_mksh("word: \"%s\" is not a number", args); ^ macro.cc:1895:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_reader_mksh("word: missing argument"); ^ macro.cc:1898:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_reader_mksh("word: \"%s\" is not a number", args); ^ macro.cc:1901:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_reader_mksh("word: \"%s\" is not a number", end); ^ 104 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c misc.cc In file included from misc.cc:54: In file included from ../include/mksh/i18n.h:39: In file included from ../include/mksh/defs.h:52: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from misc.cc:55: ../include/mksh/misc.h:41:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_char(wchar_t from, register String to); ^~~~~~~~~ ../include/mksh/misc.h:42:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:42:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:43:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:71: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:44:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enable_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:49:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:49:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:50:21: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *getmem(register int size); ^~~~~~~~~ ../include/mksh/misc.h:51:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:86: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:55:35: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:55:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:59:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setup_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:62:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ misc.cc:105:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static void expand_string(register String string, register int length); ^~~~~~~~~ misc.cc:105:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static void expand_string(register String string, register int length); ^~~~~~~~~ misc.cc:123:8: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] getmem(register int size) ^~~~~~~~~ misc.cc:125:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char *result = (char *) malloc((unsigned) size); ^~~~~~~~~ misc.cc:179:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp) ^~~~~~~~~ misc.cc:179:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp) ^~~~~~~~~ misc.cc:179:74: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp) ^~~~~~~~~ misc.cc:181:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int length; ^~~~~~~~~ misc.cc:182:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *cap = name; ^~~~~~~~~ misc.cc:183:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Name np; ^~~~~~~~~ misc.cc:291:18: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] enable_interrupt(register void (*handler) (int)) ^~~~~~~~~ misc.cc:341:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] s = "@-"; ^ misc.cc:343:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] s = "=@-?!+"; ^ misc.cc:350:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] for (s = "#|=^();&<>*?[]:$`'\"\\\n"; MBTOWC(wc_buffer, s); s++) { ^ misc.cc:355:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] for (s = "@*<%?^"; MBTOWC(wc_buffer, s); s++) { ^ misc.cc:359:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] for (s = "?[*"; MBTOWC(wc_buffer, s); s++) { ^ misc.cc:427:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *mksh_fat_err = "mksh: Fatal error: "; ^ misc.cc:428:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *cur_wrk_dir = "Current working directory: "; ^ misc.cc:601:13: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] append_prop(register Name target, register Property_id type) ^~~~~~~~~ misc.cc:601:35: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] append_prop(register Name target, register Property_id type) ^~~~~~~~~ misc.cc:603:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Property *insert = &target->prop; ^~~~~~~~~ misc.cc:604:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Property prop = *insert; ^~~~~~~~~ misc.cc:605:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int size = 0; ^~~~~~~~~ misc.cc:651:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_mksh("Internal error. Unknown prop type %d", type); ^ misc.cc:678:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] maybe_append_prop(register Name target, register Property_id type) ^~~~~~~~~ misc.cc:678:41: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] maybe_append_prop(register Name target, register Property_id type) ^~~~~~~~~ misc.cc:680:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Property prop; ^~~~~~~~~ misc.cc:704:10: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] get_prop(register Property start, register Property_id type) ^~~~~~~~~ misc.cc:704:35: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] get_prop(register Property start, register Property_id type) ^~~~~~~~~ misc.cc:727:15: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] append_string(register wchar_t *from, register String to, register int length) ^~~~~~~~~ misc.cc:727:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] append_string(register wchar_t *from, register String to, register int length) ^~~~~~~~~ misc.cc:727:59: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] append_string(register wchar_t *from, register String to, register int length) ^~~~~~~~~ misc.cc:758:15: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] append_string(register char *from, register String to, register int length) ^~~~~~~~~ misc.cc:758:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] append_string(register char *from, register String to, register int length) ^~~~~~~~~ misc.cc:758:56: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] append_string(register char *from, register String to, register int length) ^~~~~~~~~ misc.cc:790:15: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] expand_string(register String string, register int length) ^~~~~~~~~ misc.cc:790:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] expand_string(register String string, register int length) ^~~~~~~~~ misc.cc:792:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *p; ^~~~~~~~~ misc.cc:839:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] append_char(wchar_t from, register String to) ^~~~~~~~~ misc.cc:886:17: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] setup_interrupt(register void (*handler) (int)) ^~~~~~~~~ misc.cc:907:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_mksh("The string `%s' is not valid in current locale", s); ^ 68 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c mksh.cc In file included from mksh.cc:50: In file included from ../include/mksh/dosys.h:39: In file included from ../include/mksh/defs.h:52: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from mksh.cc:50: ../include/mksh/dosys.h:48:22: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean await(register Boolean ignore_error, register Boolean silent_error, Name target, wchar_t *command, pid_t running_pid, Boolean send_mtool_msgs, void *xdrs, int job_msg_id); ^~~~~~~~~ ../include/mksh/dosys.h:48:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean await(register Boolean ignore_error, register Boolean silent_error, Name target, wchar_t *command, pid_t running_pid, Boolean send_mtool_msgs, void *xdrs, int job_msg_id); ^~~~~~~~~ ../include/mksh/dosys.h:50:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern int doexec(register wchar_t *command, register Boolean ignore_error, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:50:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern int doexec(register wchar_t *command, register Boolean ignore_error, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:51:38: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern int doshell(wchar_t *command, register Boolean ignore_error, Boolean redirect_out_err, char *stdout_file, char *stderr_file, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:52:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys_mksh(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:52:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys_mksh(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:52:80: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys_mksh(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:54:31: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void sh_command2string(register String command, register String destination); ^~~~~~~~~ ../include/mksh/dosys.h:54:56: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void sh_command2string(register String command, register String destination); ^~~~~~~~~ In file included from mksh.cc:51: ../include/mksh/misc.h:41:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_char(wchar_t from, register String to); ^~~~~~~~~ ../include/mksh/misc.h:42:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:42:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:43:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:71: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:44:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enable_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:49:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:49:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:50:21: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *getmem(register int size); ^~~~~~~~~ ../include/mksh/misc.h:51:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:86: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:55:35: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:55:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:59:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setup_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:62:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ 37 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c read.cc In file included from read.cc:46: In file included from ../include/mksh/misc.h:39: In file included from ../include/mksh/defs.h:52: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from read.cc:46: ../include/mksh/misc.h:41:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_char(wchar_t from, register String to); ^~~~~~~~~ ../include/mksh/misc.h:42:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:42:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:43:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:71: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:44:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enable_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:49:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:49:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:50:21: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *getmem(register int size); ^~~~~~~~~ ../include/mksh/misc.h:51:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:86: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:55:35: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:55:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:59:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setup_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:62:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ In file included from read.cc:47: ../include/mksh/read.h:41:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Source get_next_block_fn(register Source source); ^~~~~~~~~ read.cc:72:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] get_next_block_fn(register Source source) ^~~~~~~~~ read.cc:74:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register off_t to_read; ^~~~~~~~~ read.cc:75:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int length; ^~~~~~~~~ read.cc:76:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register size_t num_wc_chars; ^~~~~~~~~ read.cc:123:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_mksh("Error reading `%s': Premature EOF", ^ read.cc:126:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fatal_mksh("Error reading `%s': %s", ^ read.cc:166:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] warning_mksh("newline is not last character in file %s", ^ read.cc:170:4: warning: expression result unused [-Wunused-value] *source->string.buffer.end++; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 36 warnings generated. cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../include -c wcslen.c c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c posix.cc ar -rv libmksh.a dosys.o globals.o i18n.o macro.o misc.o mksh.o read.o wcslen.o posix.o ar: warning: creating libmksh.a a - dosys.o a - globals.o a - i18n.o a - macro.o a - misc.o a - mksh.o a - read.o a - wcslen.o a - posix.o (hash ranlib) >/dev/null 2>&1 || exit 0; ranlib libmksh.a c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c access.cc In file included from access.cc:38: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from access.cc:39: ../include/vroot/args.h:54:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void translate_with_thunk(register char *filename, int (*thunk) (char *), pathpt path_vector, pathpt vroot_vector, rwt rw); ^~~~~~~~~ 9 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c args.cc In file included from args.cc:37: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from args.cc:38: ../include/vroot/args.h:54:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void translate_with_thunk(register char *filename, int (*thunk) (char *), pathpt path_vector, pathpt vroot_vector, rwt rw); ^~~~~~~~~ 9 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c chdir.cc In file included from chdir.cc:38: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from chdir.cc:39: ../include/vroot/args.h:54:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void translate_with_thunk(register char *filename, int (*thunk) (char *), pathpt path_vector, pathpt vroot_vector, rwt rw); ^~~~~~~~~ 9 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c chmod.cc In file included from chmod.cc:42: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from chmod.cc:43: ../include/vroot/args.h:54:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void translate_with_thunk(register char *filename, int (*thunk) (char *), pathpt path_vector, pathpt vroot_vector, rwt rw); ^~~~~~~~~ 9 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c chown.cc In file included from chown.cc:42: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from chown.cc:43: ../include/vroot/args.h:54:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void translate_with_thunk(register char *filename, int (*thunk) (char *), pathpt path_vector, pathpt vroot_vector, rwt rw); ^~~~~~~~~ 9 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c chroot.cc In file included from chroot.cc:41: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from chroot.cc:42: ../include/vroot/args.h:54:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void translate_with_thunk(register char *filename, int (*thunk) (char *), pathpt path_vector, pathpt vroot_vector, rwt rw); ^~~~~~~~~ 9 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c creat.cc In file included from creat.cc:43: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from creat.cc:44: ../include/vroot/args.h:54:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void translate_with_thunk(register char *filename, int (*thunk) (char *), pathpt path_vector, pathpt vroot_vector, rwt rw); ^~~~~~~~~ 9 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c execve.cc In file included from execve.cc:41: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from execve.cc:42: ../include/vroot/args.h:54:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void translate_with_thunk(register char *filename, int (*thunk) (char *), pathpt path_vector, pathpt vroot_vector, rwt rw); ^~~~~~~~~ 9 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c lock.cc In file included from lock.cc:46: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ lock.cc:125:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] file_lock_error(msg, name, NOCATGETS("symlink(%s, %s)"), ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ 9 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c lstat.cc In file included from lstat.cc:42: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from lstat.cc:43: ../include/vroot/args.h:54:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void translate_with_thunk(register char *filename, int (*thunk) (char *), pathpt path_vector, pathpt vroot_vector, rwt rw); ^~~~~~~~~ 9 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c mkdir.cc In file included from mkdir.cc:42: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from mkdir.cc:43: ../include/vroot/args.h:54:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void translate_with_thunk(register char *filename, int (*thunk) (char *), pathpt path_vector, pathpt vroot_vector, rwt rw); ^~~~~~~~~ 9 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c mount.cc In file included from mount.cc:48: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from mount.cc:49: ../include/vroot/args.h:54:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void translate_with_thunk(register char *filename, int (*thunk) (char *), pathpt path_vector, pathpt vroot_vector, rwt rw); ^~~~~~~~~ 9 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c open.cc In file included from open.cc:43: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from open.cc:44: ../include/vroot/args.h:54:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void translate_with_thunk(register char *filename, int (*thunk) (char *), pathpt path_vector, pathpt vroot_vector, rwt rw); ^~~~~~~~~ 9 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c readlink.cc In file included from readlink.cc:41: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from readlink.cc:42: ../include/vroot/args.h:54:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void translate_with_thunk(register char *filename, int (*thunk) (char *), pathpt path_vector, pathpt vroot_vector, rwt rw); ^~~~~~~~~ 9 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c report.cc In file included from report.cc:44: ../include/vroot/report.h:44:31: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void report_dependency(register char *name); ^~~~~~~~~ In file included from report.cc:45: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from report.cc:48: ../include/mk/defs.h:373:23: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:70: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:97: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:374:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:376:22: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:379:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:379:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:380:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:130: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:381:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependency(Property line, register Name depe, Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:382:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_equal(Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:383:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:383:74: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:384:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Dyntarget enter_dyntarget(register Name target); ^~~~~~~~~ ../include/mk/defs.h:385:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:385:100: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:386:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:81: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:389:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& exists(register Name target); ^~~~~~~~~ ../include/mk/defs.h:392:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_ar_suffix_rule(register Name target, Name true_target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:393:40: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_double_suffix_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:394:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_percent_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:397:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:397:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:416:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern wchar_t *getmem_wc(register int size); ^~~~~~~~~ ../include/mk/defs.h:431:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:431:55: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:435:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_value(register Name value, Daemon daemon); ^~~~~~~~~ ../include/mk/defs.h:436:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& read_archive(register Name target); ^~~~~~~~~ ../include/mk/defs.h:438:37: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void read_directory_of_file(register Name file); ^~~~~~~~~ ../include/mk/defs.h:440:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:63: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:92: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:446:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:79: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:110: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:447:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:447:47: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:448:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:448:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:454:42: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void special_reader(Name target, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:456:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname target_can_be_built(register Name target); ^~~~~~~~~ ../include/mk/defs.h:461:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name vpath_translation(register Name cmd); ^~~~~~~~~ report.cc:129:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] (*warning_ptr)("Couldn't write to %s", nse_depinfo_file); ^ report.cc:238:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(command_output_fp, iflag); ^~~~~ report.cc:238:29: note: treat the string as an argument to avoid this fprintf(command_output_fp, iflag); ^ "%s", report.cc:296:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] report_dependency(register char *name) ^~~~~~~~~ report.cc:298:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char *filename; ^~~~~~~~~ report.cc:300:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char *p; ^~~~~~~~~ report.cc:301:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char *p2; ^~~~~~~~~ 68 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c rmdir.cc In file included from rmdir.cc:41: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from rmdir.cc:42: ../include/vroot/args.h:54:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void translate_with_thunk(register char *filename, int (*thunk) (char *), pathpt path_vector, pathpt vroot_vector, rwt rw); ^~~~~~~~~ 9 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c setenv.cc c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c stat.cc In file included from stat.cc:42: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from stat.cc:43: ../include/vroot/args.h:54:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void translate_with_thunk(register char *filename, int (*thunk) (char *), pathpt path_vector, pathpt vroot_vector, rwt rw); ^~~~~~~~~ 9 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c statfs.cc c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c truncate.cc In file included from truncate.cc:41: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from truncate.cc:42: ../include/vroot/args.h:54:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void translate_with_thunk(register char *filename, int (*thunk) (char *), pathpt path_vector, pathpt vroot_vector, rwt rw); ^~~~~~~~~ 9 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c unlink.cc In file included from unlink.cc:41: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from unlink.cc:42: ../include/vroot/args.h:54:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void translate_with_thunk(register char *filename, int (*thunk) (char *), pathpt path_vector, pathpt vroot_vector, rwt rw); ^~~~~~~~~ 9 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c unmount.cc In file included from unmount.cc:38: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from unmount.cc:39: ../include/vroot/args.h:54:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void translate_with_thunk(register char *filename, int (*thunk) (char *), pathpt path_vector, pathpt vroot_vector, rwt rw); ^~~~~~~~~ 9 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c utimes.cc In file included from utimes.cc:42: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from utimes.cc:43: ../include/vroot/args.h:54:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void translate_with_thunk(register char *filename, int (*thunk) (char *), pathpt path_vector, pathpt vroot_vector, rwt rw); ^~~~~~~~~ 9 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -c vroot.cc In file included from vroot.cc:40: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from vroot.cc:41: ../include/vroot/args.h:54:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void translate_with_thunk(register char *filename, int (*thunk) (char *), pathpt path_vector, pathpt vroot_vector, rwt rw); ^~~~~~~~~ vroot.cc:67:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { 0, NULL, NOCATGETS("VIRTUAL_ROOT")}, ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ vroot.cc:68:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { 0, NULL, NOCATGETS("PATH")}, ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ vroot.cc:72:17: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] add_dir_to_path(register char *path, register pathpt *pointer, register int position) ^~~~~~~~~ vroot.cc:72:38: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] add_dir_to_path(register char *path, register pathpt *pointer, register int position) ^~~~~~~~~ vroot.cc:72:64: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] add_dir_to_path(register char *path, register pathpt *pointer, register int position) ^~~~~~~~~ vroot.cc:74:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int size= 0; ^~~~~~~~~ vroot.cc:75:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int length; ^~~~~~~~~ vroot.cc:76:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char *name; ^~~~~~~~~ vroot.cc:77:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register pathcellpt p; ^~~~~~~~~ vroot.cc:103:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] parse_path_string(register char *string, register int remove_slash) ^~~~~~~~~ vroot.cc:103:42: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] parse_path_string(register char *string, register int remove_slash) ^~~~~~~~~ vroot.cc:105:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char *p; ^~~~~~~~~ vroot.cc:110:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p= strchr(string, ':')) *p= 0; ~^~~~~~~~~~~~~~~~~~~~~ vroot.cc:110:9: note: place parentheses around the assignment to silence this warning if (p= strchr(string, ':')) *p= 0; ^ ( ) vroot.cc:110:9: note: use '==' to turn this assignment into an equality comparison if (p= strchr(string, ':')) *p= 0; ^ == vroot.cc:112:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] add_dir_to_path("", &result, -1); ^ vroot.cc:163:16: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] get_vroot_path(register char **vroot, register char **path, register char **filename) ^~~~~~~~~ vroot.cc:163:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] get_vroot_path(register char **vroot, register char **path, register char **filename) ^~~~~~~~~ vroot.cc:163:61: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] get_vroot_path(register char **vroot, register char **path, register char **filename) ^~~~~~~~~ vroot.cc:178:22: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] translate_with_thunk(register char *filename, int (*thunk) (char *), pathpt path_vector, pathpt vroot_vector, rwt rw) ^~~~~~~~~ vroot.cc:180:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register pathcellt *vp; ^~~~~~~~~ vroot.cc:182:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register pathcellt *pp1; ^~~~~~~~~ vroot.cc:183:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char *p; ^~~~~~~~~ 30 warnings generated. ar -rv libvroot.a access.o args.o chdir.o chmod.o chown.o chroot.o creat.o execve.o lock.o lstat.o mkdir.o mount.o open.o readlink.o report.o rmdir.o setenv.o stat.o statfs.o truncate.o unlink.o unmount.o utimes.o vroot.o ar: warning: creating libvroot.a a - access.o a - args.o a - chdir.o a - chmod.o a - chown.o a - chroot.o a - creat.o a - execve.o a - lock.o a - lstat.o a - mkdir.o a - mount.o a - open.o a - readlink.o a - report.o a - rmdir.o a - setenv.o a - stat.o a - statfs.o a - truncate.o a - unlink.o a - unmount.o a - utimes.o a - vroot.o (hash ranlib) >/dev/null 2>&1 || exit 0; ranlib libvroot.a c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -D_GNU_SOURCE -DSUNOS4_AND_AFTER -DHDRSDIR='"/usr/local/heirloom/share/lib/make"' -DSHELL='"/bin/sh"' -DPOSIX_SHELL='"/bin/sh"' -c ar.cc In file included from ar.cc:57: In file included from ../include/mk/defs.h:48: In file included from ../include/mksh/defs.h:52: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from ar.cc:57: ../include/mk/defs.h:373:23: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:70: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:97: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:374:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:376:22: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:379:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:379:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:380:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:130: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:381:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependency(Property line, register Name depe, Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:382:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_equal(Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:383:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:383:74: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:384:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Dyntarget enter_dyntarget(register Name target); ^~~~~~~~~ ../include/mk/defs.h:385:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:385:100: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:386:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:81: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:389:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& exists(register Name target); ^~~~~~~~~ ../include/mk/defs.h:392:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_ar_suffix_rule(register Name target, Name true_target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:393:40: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_double_suffix_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:394:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_percent_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:397:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:397:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:416:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern wchar_t *getmem_wc(register int size); ^~~~~~~~~ ../include/mk/defs.h:431:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:431:55: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:435:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_value(register Name value, Daemon daemon); ^~~~~~~~~ ../include/mk/defs.h:436:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& read_archive(register Name target); ^~~~~~~~~ ../include/mk/defs.h:438:37: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void read_directory_of_file(register Name file); ^~~~~~~~~ ../include/mk/defs.h:440:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:63: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:92: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:446:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:79: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:110: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:447:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:447:47: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:448:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:448:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:454:42: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void special_reader(Name target, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:456:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname target_can_be_built(register Name target); ^~~~~~~~~ ../include/mk/defs.h:461:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name vpath_translation(register Name cmd); ^~~~~~~~~ In file included from ar.cc:58: ../include/mksh/misc.h:41:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_char(wchar_t from, register String to); ^~~~~~~~~ ../include/mksh/misc.h:42:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:42:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:43:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:71: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:44:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enable_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:49:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:49:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:50:21: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *getmem(register int size); ^~~~~~~~~ ../include/mksh/misc.h:51:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:86: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:55:35: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:55:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:59:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setup_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:62:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ar.cc:174:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& read_archive(register Name target); ^~~~~~~~~ ar.cc:175:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static Boolean open_archive(char *filename, register Ar *arp); ^~~~~~~~~ ar.cc:176:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static void close_archive(register Ar *arp); ^~~~~~~~~ ar.cc:177:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static Boolean read_archive_dir(register Ar *arp, Name library, char **long_names_table); ^~~~~~~~~ ar.cc:178:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static void translate_entry(register Ar *arp, Name target, register Property member, char **long_names_table); ^~~~~~~~~ ar.cc:178:61: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static void translate_entry(register Ar *arp, Name target, register Property member, char **long_names_table); ^~~~~~~~~ ar.cc:197:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] int process_long_names_member (register Ar *arp, char **long_names_table, char *filename); ^~~~~~~~~ ar.cc:200:14: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] read_archive(register Name target) ^~~~~~~~~ ar.cc:202:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Property member; ^~~~~~~~~ ar.cc:206:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Name true_member = NULL; ^~~~~~~~~ ar.cc:287:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] open_archive(char *filename, register Ar *arp) ^~~~~~~~~ ar.cc:407:15: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] close_archive(register Ar *arp) ^~~~~~~~~ ar.cc:432:18: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] read_archive_dir(register Ar *arp, Name library, char **long_names_table) ^~~~~~~~~ ar.cc:439:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register long len; ^~~~~~~~~ ar.cc:440:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *p; ^~~~~~~~~ ar.cc:441:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char *q; ^~~~~~~~~ ar.cc:442:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Name name; ^~~~~~~~~ ar.cc:631:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] process_long_names_member(register Ar *arp, char **long_names_table, char *filename) ^~~~~~~~~ ar.cc:683:17: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] translate_entry(register Ar *arp, Name target, register Property member, char **long_names_table) ^~~~~~~~~ ar.cc:683:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] translate_entry(register Ar *arp, Name target, register Property member, char **long_names_table) ^~~~~~~~~ ar.cc:685:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int len; ^~~~~~~~~ ar.cc:686:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int i; ^~~~~~~~~ ar.cc:693:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *ap; ^~~~~~~~~ ar.cc:694:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char *hp; ^~~~~~~~~ ar.cc:866:7: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] sgetl(register char *buffer) ^~~~~~~~~ ar.cc:868:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register long w = 0; ^~~~~~~~~ ar.cc:869:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int i = BITSPERBYTE * AR_PORT_WORD; ^~~~~~~~~ 107 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -D_GNU_SOURCE -DSUNOS4_AND_AFTER -DHDRSDIR='"/usr/local/heirloom/share/lib/make"' -DSHELL='"/bin/sh"' -DPOSIX_SHELL='"/bin/sh"' -c depvar.cc In file included from depvar.cc:40: In file included from ../include/mk/defs.h:48: In file included from ../include/mksh/defs.h:52: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from depvar.cc:40: ../include/mk/defs.h:373:23: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:70: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:97: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:374:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:376:22: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:379:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:379:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:380:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:130: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:381:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependency(Property line, register Name depe, Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:382:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_equal(Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:383:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:383:74: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:384:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Dyntarget enter_dyntarget(register Name target); ^~~~~~~~~ ../include/mk/defs.h:385:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:385:100: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:386:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:81: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:389:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& exists(register Name target); ^~~~~~~~~ ../include/mk/defs.h:392:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_ar_suffix_rule(register Name target, Name true_target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:393:40: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_double_suffix_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:394:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_percent_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:397:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:397:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:416:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern wchar_t *getmem_wc(register int size); ^~~~~~~~~ ../include/mk/defs.h:431:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:431:55: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:435:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_value(register Name value, Daemon daemon); ^~~~~~~~~ ../include/mk/defs.h:436:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& read_archive(register Name target); ^~~~~~~~~ ../include/mk/defs.h:438:37: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void read_directory_of_file(register Name file); ^~~~~~~~~ ../include/mk/defs.h:440:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:63: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:92: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:446:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:79: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:110: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:447:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:447:47: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:448:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:448:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:454:42: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void special_reader(Name target, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:456:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname target_can_be_built(register Name target); ^~~~~~~~~ ../include/mk/defs.h:461:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name vpath_translation(register Name cmd); ^~~~~~~~~ In file included from depvar.cc:41: ../include/mksh/misc.h:41:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_char(wchar_t from, register String to); ^~~~~~~~~ ../include/mksh/misc.h:42:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:42:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:43:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:71: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:44:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enable_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:49:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:49:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:50:21: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *getmem(register int size); ^~~~~~~~~ ../include/mksh/misc.h:51:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:86: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:55:35: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:55:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:59:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setup_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:62:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ 80 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -D_GNU_SOURCE -DSUNOS4_AND_AFTER -DHDRSDIR='"/usr/local/heirloom/share/lib/make"' -DSHELL='"/bin/sh"' -DPOSIX_SHELL='"/bin/sh"' -c dist.cc c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -D_GNU_SOURCE -DSUNOS4_AND_AFTER -DHDRSDIR='"/usr/local/heirloom/share/lib/make"' -DSHELL='"/bin/sh"' -DPOSIX_SHELL='"/bin/sh"' -c dmake.cc c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -D_GNU_SOURCE -DSUNOS4_AND_AFTER -DHDRSDIR='"/usr/local/heirloom/share/lib/make"' -DSHELL='"/bin/sh"' -DPOSIX_SHELL='"/bin/sh"' -c doname.cc In file included from doname.cc:63: In file included from ../include/mk/defs.h:48: In file included from ../include/mksh/defs.h:52: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from doname.cc:63: ../include/mk/defs.h:373:23: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:70: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:97: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:374:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:376:22: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:379:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:379:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:380:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:130: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:381:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependency(Property line, register Name depe, Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:382:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_equal(Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:383:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:383:74: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:384:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Dyntarget enter_dyntarget(register Name target); ^~~~~~~~~ ../include/mk/defs.h:385:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:385:100: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:386:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:81: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:389:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& exists(register Name target); ^~~~~~~~~ ../include/mk/defs.h:392:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_ar_suffix_rule(register Name target, Name true_target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:393:40: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_double_suffix_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:394:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_percent_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:397:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:397:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:416:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern wchar_t *getmem_wc(register int size); ^~~~~~~~~ ../include/mk/defs.h:431:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:431:55: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:435:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_value(register Name value, Daemon daemon); ^~~~~~~~~ ../include/mk/defs.h:436:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& read_archive(register Name target); ^~~~~~~~~ ../include/mk/defs.h:438:37: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void read_directory_of_file(register Name file); ^~~~~~~~~ ../include/mk/defs.h:440:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:63: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:92: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:446:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:79: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:110: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:447:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:447:47: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:448:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:448:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:454:42: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void special_reader(Name target, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:456:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname target_can_be_built(register Name target); ^~~~~~~~~ ../include/mk/defs.h:461:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name vpath_translation(register Name cmd); ^~~~~~~~~ In file included from doname.cc:65: ../include/mksh/macro.h:41:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_macro(register Source source, register String destination, wchar_t *current_string, Boolean cmd); ^~~~~~~~~ ../include/mksh/macro.h:41:50: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_macro(register Source source, register String destination, wchar_t *current_string, Boolean cmd); ^~~~~~~~~ ../include/mksh/macro.h:42:38: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_value(Name value, register String destination, Boolean cmd); ^~~~~~~~~ ../include/mksh/macro.h:43:20: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getvar(register Name name); ^~~~~~~~~ ../include/mksh/macro.h:45:31: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property setvar_daemon(register Name name, register Name value, Boolean append, Daemon daemon, Boolean strip_trailing_spaces, short debug_level); ^~~~~~~~~ ../include/mksh/macro.h:45:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property setvar_daemon(register Name name, register Name value, Boolean append, Daemon daemon, Boolean strip_trailing_spaces, short debug_level); ^~~~~~~~~ In file included from doname.cc:66: ../include/mksh/misc.h:41:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_char(wchar_t from, register String to); ^~~~~~~~~ ../include/mksh/misc.h:42:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:42:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:43:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:71: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:44:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enable_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:49:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:49:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:50:21: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *getmem(register int size); ^~~~~~~~~ ../include/mksh/misc.h:51:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:86: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:55:35: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:55:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:59:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setup_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:62:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ doname.cc:128:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ doname.cc:128:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ doname.cc:128:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ doname.cc:128:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ doname.cc:129:23: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ doname.cc:129:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ doname.cc:129:70: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ doname.cc:129:97: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ doname.cc:132:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static Doname run_command(register Property line, Boolean print_machine); ^~~~~~~~~ doname.cc:134:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name vpath_translation(register Name cmd); ^~~~~~~~~ doname.cc:136:35: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static void read_dependency_file(register Name filename); ^~~~~~~~~ doname.cc:138:24: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static void do_assign(register Name line, register Name target); ^~~~~~~~~ doname.cc:138:44: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static void do_assign(register Name line, register Name target); ^~~~~~~~~ doname.cc:139:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static void build_command_strings(Name target, register Property line); ^~~~~~~~~ doname.cc:140:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static Doname touch_command(register Property line, register Name target, Doname result); ^~~~~~~~~ doname.cc:140:54: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static Doname touch_command(register Property line, register Name target, Doname result); ^~~~~~~~~ doname.cc:142:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static Doname sccs_get(register Name target, register Property *command); ^~~~~~~~~ doname.cc:142:47: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static Doname sccs_get(register Name target, register Property *command); ^~~~~~~~~ doname.cc:143:37: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void read_directory_of_file(register Name file); ^~~~~~~~~ doname.cc:144:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static void add_pattern_conditionals(register Name target); ^~~~~~~~~ doname.cc:145:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ doname.cc:145:47: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ doname.cc:146:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ doname.cc:146:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ doname.cc:146:79: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ doname.cc:146:110: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ doname.cc:151:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name normalize_name(register wchar_t *name_string, register int length); ^~~~~~~~~ doname.cc:151:60: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name normalize_name(register wchar_t *name_string, register int length); ^~~~~~~~~ doname.cc:185:14: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic) ^~~~~~~~~ doname.cc:185:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic) ^~~~~~~~~ doname.cc:185:61: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic) ^~~~~~~~~ doname.cc:185:88: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic) ^~~~~~~~~ doname.cc:190:10: warning: 4 enumeration values not handled in switch: 'build_in_progress', 'build_pending', 'build_serial'... [-Wswitch] switch (doname(target, do_get, implicit, automatic)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ doname.cc:340:8: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic) ^~~~~~~~~ doname.cc:340:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic) ^~~~~~~~~ doname.cc:340:55: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic) ^~~~~~~~~ doname.cc:340:82: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic) ^~~~~~~~~ doname.cc:348:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Property line; ^~~~~~~~~ doname.cc:350:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Dependency dependency; ^~~~~~~~~ doname.cc:354:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int auto_count; ^~~~~~~~~ doname.cc:598:12: warning: 5 enumeration values not handled in switch: 'build_dont_know', 'build_in_progress', 'build_pending'... [-Wswitch] switch (find_percent_rule( ^~~~~~~~~~~~~~~~~~ doname.cc:668:13: warning: 6 enumeration values not handled in switch: 'build_dont_know', 'build_ok', 'build_in_progress'... [-Wswitch] switch (find_double_suffix_rule(target, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ doname.cc:714:12: warning: 6 enumeration values not handled in switch: 'build_dont_know', 'build_ok', 'build_in_progress'... [-Wswitch] switch (find_suffix_rule(target, ^~~~~~~~~~~~~~~~~~~~~~~~ doname.cc:813:11: warning: 5 enumeration values not handled in switch: 'build_dont_know', 'build_failed', 'build_in_progress'... [-Wswitch] switch (result) { ^~~~~~ doname.cc:1016:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Dependency dependency; ^~~~~~~~~ doname.cc:1100:12: warning: 5 enumeration values not handled in switch: 'build_ok', 'build_in_progress', 'build_pending'... [-Wswitch] switch (dep_result) { ^~~~~~~~~~ doname.cc:1331:4: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *target_end; ^~~~~~~~~ doname.cc:1332:4: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Dependency suffix; ^~~~~~~~~ doname.cc:1333:4: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int suffix_length; ^~~~~~~~~ doname.cc:1409:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *p; ^~~~~~~~~ doname.cc:1411:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Dependency dependency; ^~~~~~~~~ doname.cc:1412:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Dependency *remove; ^~~~~~~~~ doname.cc:1415:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Boolean set_at = false; ^~~~~~~~~ doname.cc:1416:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *start; ^~~~~~~~~ doname.cc:1418:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Boolean reuse_cell; ^~~~~~~~~ doname.cc:1478:12: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((*p == (int) parenleft_char)) { ~~~^~~~~~~~~~~~~~~~~~~~~~~ doname.cc:1478:12: note: remove extraneous parentheses around the comparison to silence this warning if ((*p == (int) parenleft_char)) { ~ ^ ~ doname.cc:1478:12: note: use '=' to turn this equality comparison into an assignment if ((*p == (int) parenleft_char)) { ^~ = doname.cc:1668:13: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] run_command(register Property line, Boolean) ^~~~~~~~~ doname.cc:1670:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Doname result = build_ok; ^~~~~~~~~ doname.cc:1671:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Boolean remember_only = false; ^~~~~~~~~ doname.cc:1672:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Name target = line->body.line.target; ^~~~~~~~~ doname.cc:1808:13: warning: 6 enumeration values not handled in switch: 'build_dont_know', 'build_failed', 'build_ok'... [-Wswitch] switch (result) { ^~~~~~ doname.cc:2204:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] vpath_translation(register Name cmd) ^~~~~~~~~ doname.cc:2293:22: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] read_dependency_file(register Name filename) ^~~~~~~~~ doname.cc:2295:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Makefile_type save_makefile_type; ^~~~~~~~~ doname.cc:2338:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Makefile_type save_makefile_type; ^~~~~~~~~ doname.cc:2339:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Property makefile; ^~~~~~~~~ doname.cc:2382:11: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] do_assign(register Name line, register Name target) ^~~~~~~~~ doname.cc:2382:31: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] do_assign(register Name line, register Name target) ^~~~~~~~~ doname.cc:2385:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *string = wcb.get_string(); ^~~~~~~~~ doname.cc:2386:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *equal; ^~~~~~~~~ doname.cc:2387:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Name name; ^~~~~~~~~ doname.cc:2388:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Boolean append = false; ^~~~~~~~~ doname.cc:2465:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] build_command_strings(Name target, register Property line) ^~~~~~~~~ doname.cc:2468:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Cmd_line command_template = line->body.line.command_template; ^~~~~~~~~ doname.cc:2469:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Cmd_line *insert = &line->body.line.command_used; ^~~~~~~~~ doname.cc:2470:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Cmd_line used = *insert; ^~~~~~~~~ doname.cc:2474:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Boolean new_command_longer = false; ^~~~~~~~~ doname.cc:2475:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Boolean ignore_all_command_dependency = true; ^~~~~~~~~ doname.cc:2810:15: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] touch_command(register Property line, register Name target, Doname result) ^~~~~~~~~ doname.cc:2810:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] touch_command(register Property line, register Name target, Doname result) ^~~~~~~~~ doname.cc:2813:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Chain target_group; ^~~~~~~~~ doname.cc:3046:10: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] sccs_get(register Name target, register Property *command) ^~~~~~~~~ doname.cc:3046:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] sccs_get(register Name target, register Property *command) ^~~~~~~~~ doname.cc:3048:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int result; ^~~~~~~~~ doname.cc:3052:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *p; ^~~~~~~~~ doname.cc:3054:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Property line; ^~~~~~~~~ doname.cc:3189:24: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] read_directory_of_file(register Name file) ^~~~~~~~~ doname.cc:3197:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Name directory = dot; ^~~~~~~~~ doname.cc:3198:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *p = (wchar_t *) wsrchr(wcb, ^~~~~~~~~ doname.cc:3200:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int length = p - wcb; ^~~~~~~~~ doname.cc:3253:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] add_pattern_conditionals(register Name target) ^~~~~~~~~ doname.cc:3255:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Property conditional; ^~~~~~~~~ doname.cc:3315:12: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] set_locals(register Name target, register Property old_locals) ^~~~~~~~~ doname.cc:3315:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] set_locals(register Name target, register Property old_locals) ^~~~~~~~~ doname.cc:3317:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Property conditional; ^~~~~~~~~ doname.cc:3318:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int i; ^~~~~~~~~ doname.cc:3319:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Boolean saved_conditional_macro_used; ^~~~~~~~~ doname.cc:3379:14: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] reset_locals(register Name target, register Property old_locals, register Property conditional, register int index) ^~~~~~~~~ doname.cc:3379:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] reset_locals(register Name target, register Property old_locals, register Property conditional, register int index) ^~~~~~~~~ doname.cc:3379:66: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] reset_locals(register Name target, register Property old_locals, register Property conditional, register int index) ^~~~~~~~~ doname.cc:3379:97: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] reset_locals(register Name target, register Property old_locals, register Property conditional, register int index) ^~~~~~~~~ doname.cc:3381:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Property this_conditional; ^~~~~~~~~ doname.cc:3674:21: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] target_can_be_built(register Name target) { ^~~~~~~~~ 189 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -D_GNU_SOURCE -DSUNOS4_AND_AFTER -DHDRSDIR='"/usr/local/heirloom/share/lib/make"' -DSHELL='"/bin/sh"' -DPOSIX_SHELL='"/bin/sh"' -c dosys.cc In file included from dosys.cc:47: In file included from ../include/mk/defs.h:48: In file included from ../include/mksh/defs.h:52: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from dosys.cc:47: ../include/mk/defs.h:373:23: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:70: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:97: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:374:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:376:22: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:379:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:379:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:380:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:130: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:381:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependency(Property line, register Name depe, Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:382:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_equal(Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:383:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:383:74: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:384:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Dyntarget enter_dyntarget(register Name target); ^~~~~~~~~ ../include/mk/defs.h:385:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:385:100: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:386:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:81: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:389:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& exists(register Name target); ^~~~~~~~~ ../include/mk/defs.h:392:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_ar_suffix_rule(register Name target, Name true_target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:393:40: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_double_suffix_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:394:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_percent_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:397:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:397:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:416:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern wchar_t *getmem_wc(register int size); ^~~~~~~~~ ../include/mk/defs.h:431:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:431:55: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:435:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_value(register Name value, Daemon daemon); ^~~~~~~~~ ../include/mk/defs.h:436:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& read_archive(register Name target); ^~~~~~~~~ ../include/mk/defs.h:438:37: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void read_directory_of_file(register Name file); ^~~~~~~~~ ../include/mk/defs.h:440:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:63: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:92: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:446:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:79: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:110: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:447:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:447:47: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:448:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:448:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:454:42: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void special_reader(Name target, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:456:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname target_can_be_built(register Name target); ^~~~~~~~~ ../include/mk/defs.h:461:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name vpath_translation(register Name cmd); ^~~~~~~~~ In file included from dosys.cc:48: ../include/mksh/dosys.h:48:22: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean await(register Boolean ignore_error, register Boolean silent_error, Name target, wchar_t *command, pid_t running_pid, Boolean send_mtool_msgs, void *xdrs, int job_msg_id); ^~~~~~~~~ ../include/mksh/dosys.h:48:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean await(register Boolean ignore_error, register Boolean silent_error, Name target, wchar_t *command, pid_t running_pid, Boolean send_mtool_msgs, void *xdrs, int job_msg_id); ^~~~~~~~~ ../include/mksh/dosys.h:50:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern int doexec(register wchar_t *command, register Boolean ignore_error, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:50:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern int doexec(register wchar_t *command, register Boolean ignore_error, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:51:38: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern int doshell(wchar_t *command, register Boolean ignore_error, Boolean redirect_out_err, char *stdout_file, char *stderr_file, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:52:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys_mksh(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:52:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys_mksh(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:52:80: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys_mksh(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:54:31: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void sh_command2string(register String command, register String destination); ^~~~~~~~~ ../include/mksh/dosys.h:54:56: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void sh_command2string(register String command, register String destination); ^~~~~~~~~ In file included from dosys.cc:49: ../include/mksh/misc.h:41:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_char(wchar_t from, register String to); ^~~~~~~~~ ../include/mksh/misc.h:42:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:42:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:43:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:71: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:44:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enable_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:49:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:49:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:50:21: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *getmem(register int size); ^~~~~~~~~ ../include/mksh/misc.h:51:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:86: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:55:35: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:55:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:59:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setup_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:62:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ dosys.cc:82:7: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err) ^~~~~~~~~ dosys.cc:82:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err) ^~~~~~~~~ dosys.cc:82:61: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err) ^~~~~~~~~ dosys.cc:85:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int length = command->hash.length; ^~~~~~~~~ dosys.cc:87:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *p = wcb.get_string(); ^~~~~~~~~ dosys.cc:88:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *q; ^~~~~~~~~ 96 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -D_GNU_SOURCE -DSUNOS4_AND_AFTER -DHDRSDIR='"/usr/local/heirloom/share/lib/make"' -DSHELL='"/bin/sh"' -DPOSIX_SHELL='"/bin/sh"' -c files.cc In file included from files.cc:52: In file included from ../include/mk/defs.h:48: In file included from ../include/mksh/defs.h:52: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from files.cc:52: ../include/mk/defs.h:373:23: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:70: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:97: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:374:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:376:22: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:379:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:379:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:380:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:130: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:381:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependency(Property line, register Name depe, Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:382:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_equal(Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:383:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:383:74: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:384:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Dyntarget enter_dyntarget(register Name target); ^~~~~~~~~ ../include/mk/defs.h:385:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:385:100: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:386:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:81: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:389:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& exists(register Name target); ^~~~~~~~~ ../include/mk/defs.h:392:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_ar_suffix_rule(register Name target, Name true_target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:393:40: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_double_suffix_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:394:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_percent_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:397:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:397:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:416:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern wchar_t *getmem_wc(register int size); ^~~~~~~~~ ../include/mk/defs.h:431:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:431:55: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:435:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_value(register Name value, Daemon daemon); ^~~~~~~~~ ../include/mk/defs.h:436:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& read_archive(register Name target); ^~~~~~~~~ ../include/mk/defs.h:438:37: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void read_directory_of_file(register Name file); ^~~~~~~~~ ../include/mk/defs.h:440:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:63: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:92: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:446:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:79: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:110: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:447:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:447:47: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:448:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:448:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:454:42: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void special_reader(Name target, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:456:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname target_can_be_built(register Name target); ^~~~~~~~~ ../include/mk/defs.h:461:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name vpath_translation(register Name cmd); ^~~~~~~~~ In file included from files.cc:53: ../include/mksh/macro.h:41:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_macro(register Source source, register String destination, wchar_t *current_string, Boolean cmd); ^~~~~~~~~ ../include/mksh/macro.h:41:50: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_macro(register Source source, register String destination, wchar_t *current_string, Boolean cmd); ^~~~~~~~~ ../include/mksh/macro.h:42:38: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_value(Name value, register String destination, Boolean cmd); ^~~~~~~~~ ../include/mksh/macro.h:43:20: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getvar(register Name name); ^~~~~~~~~ ../include/mksh/macro.h:45:31: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property setvar_daemon(register Name name, register Name value, Boolean append, Daemon daemon, Boolean strip_trailing_spaces, short debug_level); ^~~~~~~~~ ../include/mksh/macro.h:45:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property setvar_daemon(register Name name, register Name value, Boolean append, Daemon daemon, Boolean strip_trailing_spaces, short debug_level); ^~~~~~~~~ In file included from files.cc:54: ../include/mksh/misc.h:41:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_char(wchar_t from, register String to); ^~~~~~~~~ ../include/mksh/misc.h:42:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:42:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:43:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:71: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:44:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enable_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:49:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:49:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:50:21: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *getmem(register int size); ^~~~~~~~~ ../include/mksh/misc.h:51:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:86: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:55:35: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:55:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:59:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setup_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:62:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ files.cc:72:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& exists(register Name target); ^~~~~~~~~ files.cc:73:31: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_target_stat(register Name target, struct stat buf); ^~~~~~~~~ files.cc:74:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static timestruc_t& vpath_exists(register Name target); ^~~~~~~~~ files.cc:76:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static Boolean star_match(register wchar_t *string, register wchar_t *pattern); ^~~~~~~~~ files.cc:76:54: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static Boolean star_match(register wchar_t *string, register wchar_t *pattern); ^~~~~~~~~ files.cc:77:24: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static Boolean amatch(register wchar_t *string, register wchar_t *pattern); ^~~~~~~~~ files.cc:77:50: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static Boolean amatch(register wchar_t *string, register wchar_t *pattern); ^~~~~~~~~ files.cc:96:8: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] exists(register Name target) ^~~~~~~~~ files.cc:99:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int result; ^~~~~~~~~ files.cc:190:17: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] set_target_stat(register Name target, struct stat buf) ^~~~~~~~~ files.cc:230:14: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] vpath_exists(register Name target) ^~~~~~~~~ files.cc:316:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register struct dirent *dp; ^~~~~~~~~ files.cc:633:12: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] star_match(register wchar_t *string, register wchar_t *pattern) ^~~~~~~~~ files.cc:633:38: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] star_match(register wchar_t *string, register wchar_t *pattern) ^~~~~~~~~ files.cc:635:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int pattern_ch; ^~~~~~~~~ files.cc:677:8: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] amatch(register wchar_t *string, register wchar_t *pattern) ^~~~~~~~~ files.cc:677:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] amatch(register wchar_t *string, register wchar_t *pattern) ^~~~~~~~~ files.cc:679:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register long lower_bound; ^~~~~~~~~ files.cc:680:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register long string_ch; ^~~~~~~~~ files.cc:681:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register long pattern_ch; ^~~~~~~~~ files.cc:682:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int k; ^~~~~~~~~ 107 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -D_GNU_SOURCE -DSUNOS4_AND_AFTER -DHDRSDIR='"/usr/local/heirloom/share/lib/make"' -DSHELL='"/bin/sh"' -DPOSIX_SHELL='"/bin/sh"' -c globals.cc In file included from globals.cc:47: In file included from ../include/mk/defs.h:48: In file included from ../include/mksh/defs.h:52: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from globals.cc:47: ../include/mk/defs.h:373:23: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:70: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:97: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:374:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:376:22: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:379:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:379:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:380:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:130: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:381:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependency(Property line, register Name depe, Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:382:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_equal(Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:383:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:383:74: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:384:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Dyntarget enter_dyntarget(register Name target); ^~~~~~~~~ ../include/mk/defs.h:385:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:385:100: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:386:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:81: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:389:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& exists(register Name target); ^~~~~~~~~ ../include/mk/defs.h:392:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_ar_suffix_rule(register Name target, Name true_target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:393:40: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_double_suffix_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:394:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_percent_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:397:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:397:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:416:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern wchar_t *getmem_wc(register int size); ^~~~~~~~~ ../include/mk/defs.h:431:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:431:55: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:435:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_value(register Name value, Daemon daemon); ^~~~~~~~~ ../include/mk/defs.h:436:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& read_archive(register Name target); ^~~~~~~~~ ../include/mk/defs.h:438:37: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void read_directory_of_file(register Name file); ^~~~~~~~~ ../include/mk/defs.h:440:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:63: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:92: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:446:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:79: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:110: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:447:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:447:47: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:448:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:448:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:454:42: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void special_reader(Name target, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:456:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname target_can_be_built(register Name target); ^~~~~~~~~ ../include/mk/defs.h:461:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name vpath_translation(register Name cmd); ^~~~~~~~~ globals.cc:204:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *tmpdir = NOCATGETS("/tmp"); ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ globals.cc:205:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *temp_file_directory = NOCATGETS("."); ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ 63 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -D_GNU_SOURCE -DSUNOS4_AND_AFTER -DHDRSDIR='"/usr/local/heirloom/share/lib/make"' -DSHELL='"/bin/sh"' -DPOSIX_SHELL='"/bin/sh"' -c implicit.cc In file included from implicit.cc:46: In file included from ../include/mk/defs.h:48: In file included from ../include/mksh/defs.h:52: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from implicit.cc:46: ../include/mk/defs.h:373:23: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:70: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:97: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:374:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:376:22: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:379:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:379:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:380:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:130: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:381:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependency(Property line, register Name depe, Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:382:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_equal(Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:383:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:383:74: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:384:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Dyntarget enter_dyntarget(register Name target); ^~~~~~~~~ ../include/mk/defs.h:385:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:385:100: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:386:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:81: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:389:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& exists(register Name target); ^~~~~~~~~ ../include/mk/defs.h:392:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_ar_suffix_rule(register Name target, Name true_target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:393:40: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_double_suffix_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:394:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_percent_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:397:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:397:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:416:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern wchar_t *getmem_wc(register int size); ^~~~~~~~~ ../include/mk/defs.h:431:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:431:55: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:435:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_value(register Name value, Daemon daemon); ^~~~~~~~~ ../include/mk/defs.h:436:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& read_archive(register Name target); ^~~~~~~~~ ../include/mk/defs.h:438:37: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void read_directory_of_file(register Name file); ^~~~~~~~~ ../include/mk/defs.h:440:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:63: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:92: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:446:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:79: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:110: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:447:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:447:47: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:448:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:448:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:454:42: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void special_reader(Name target, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:456:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname target_can_be_built(register Name target); ^~~~~~~~~ ../include/mk/defs.h:461:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name vpath_translation(register Name cmd); ^~~~~~~~~ In file included from implicit.cc:47: ../include/mksh/macro.h:41:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_macro(register Source source, register String destination, wchar_t *current_string, Boolean cmd); ^~~~~~~~~ ../include/mksh/macro.h:41:50: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_macro(register Source source, register String destination, wchar_t *current_string, Boolean cmd); ^~~~~~~~~ ../include/mksh/macro.h:42:38: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_value(Name value, register String destination, Boolean cmd); ^~~~~~~~~ ../include/mksh/macro.h:43:20: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getvar(register Name name); ^~~~~~~~~ ../include/mksh/macro.h:45:31: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property setvar_daemon(register Name name, register Name value, Boolean append, Daemon daemon, Boolean strip_trailing_spaces, short debug_level); ^~~~~~~~~ ../include/mksh/macro.h:45:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property setvar_daemon(register Name name, register Name value, Boolean append, Daemon daemon, Boolean strip_trailing_spaces, short debug_level); ^~~~~~~~~ In file included from implicit.cc:48: ../include/mksh/misc.h:41:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_char(wchar_t from, register String to); ^~~~~~~~~ ../include/mksh/misc.h:42:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:42:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:43:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:71: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:44:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enable_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:49:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:49:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:50:21: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *getmem(register int size); ^~~~~~~~~ ../include/mksh/misc.h:51:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:86: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:55:35: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:55:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:59:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setup_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:62:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ implicit.cc:62:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_ar_suffix_rule(register Name target, Name true_target, Property *command, Boolean rechecking); ^~~~~~~~~ implicit.cc:63:40: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_double_suffix_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ implicit.cc:64:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void build_suffix_list(register Name target_suffix); ^~~~~~~~~ implicit.cc:65:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_percent_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ implicit.cc:121:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *put_suffix; ^~~~~~~~~ implicit.cc:122:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Property source_suffix; ^~~~~~~~~ implicit.cc:123:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Name source; ^~~~~~~~~ implicit.cc:125:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Property line; ^~~~~~~~~ implicit.cc:239:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(p = (char *) memchr((char *)source->string_mb,'/',source->hash.length)) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ implicit.cc:239:17: note: place parentheses around the assignment to silence this warning if(p = (char *) memchr((char *)source->string_mb,'/',source->hash.length)) ^ ( ) implicit.cc:239:17: note: use '==' to turn this assignment into an equality comparison if(p = (char *) memchr((char *)source->string_mb,'/',source->hash.length)) ^ == implicit.cc:242:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(np = (char *) memchr((char *)p+1,'/',source->hash.length - (p - source->string_mb))) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ implicit.cc:242:15: note: place parentheses around the assignment to silence this warning if(np = (char *) memchr((char *)p+1,'/',source->hash.length - (p - source->string_mb))) { ^ ( ) implicit.cc:242:15: note: use '==' to turn this assignment into an equality comparison if(np = (char *) memchr((char *)p+1,'/',source->hash.length - (p - source->string_mb))) { ^ == implicit.cc:323:12: warning: 4 enumeration values not handled in switch: 'build_in_progress', 'build_pending', 'build_serial'... [-Wswitch] switch (result) { ^~~~~~ implicit.cc:504:21: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] find_ar_suffix_rule(register Name target, Name true_target, Property *command, Boolean rechecking) ^~~~~~~~~ implicit.cc:507:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Dependency suffix; ^~~~~~~~~ implicit.cc:508:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int suffix_length; ^~~~~~~~~ implicit.cc:554:11: warning: 6 enumeration values not handled in switch: 'build_dont_know', 'build_failed', 'build_in_progress'... [-Wswitch] switch (find_suffix_rule(target, ^~~~~~~~~~~~~~~~~~~~~~~~ implicit.cc:599:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] find_double_suffix_rule(register Name target, Property *command, Boolean rechecking) ^~~~~~~~~ implicit.cc:603:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *target_end; ^~~~~~~~~ implicit.cc:604:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Dependency suffix; ^~~~~~~~~ implicit.cc:605:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int suffix_length; ^~~~~~~~~ implicit.cc:659:11: warning: 6 enumeration values not handled in switch: 'build_dont_know', 'build_failed', 'build_in_progress'... [-Wswitch] switch (find_suffix_rule(target, ^~~~~~~~~~~~~~~~~~~~~~~~ implicit.cc:705:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] build_suffix_list(register Name target_suffix) ^~~~~~~~~ implicit.cc:707:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Dependency source_suffix; ^~~~~~~~~ implicit.cc:709:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Property line; ^~~~~~~~~ implicit.cc:710:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Property suffix; ^~~~~~~~~ implicit.cc:803:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] find_percent_rule(register Name target, Property *command, Boolean rechecking) ^~~~~~~~~ implicit.cc:805:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Percent pat_rule, pat_depe; ^~~~~~~~~ implicit.cc:805:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Percent pat_rule, pat_depe; ^~~~~~~~~ implicit.cc:806:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Name depe_to_check; ^~~~~~~~~ implicit.cc:807:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Dependency depe; ^~~~~~~~~ implicit.cc:808:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Property line; ^~~~~~~~~ 116 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -D_GNU_SOURCE -DSUNOS4_AND_AFTER -DHDRSDIR='"/usr/local/heirloom/share/lib/make"' -DSHELL='"/bin/sh"' -DPOSIX_SHELL='"/bin/sh"' -c macro.cc In file included from macro.cc:50: In file included from ../include/mk/defs.h:48: In file included from ../include/mksh/defs.h:52: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from macro.cc:50: ../include/mk/defs.h:373:23: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:70: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:97: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:374:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:376:22: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:379:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:379:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:380:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:130: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:381:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependency(Property line, register Name depe, Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:382:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_equal(Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:383:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:383:74: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:384:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Dyntarget enter_dyntarget(register Name target); ^~~~~~~~~ ../include/mk/defs.h:385:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:385:100: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:386:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:81: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:389:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& exists(register Name target); ^~~~~~~~~ ../include/mk/defs.h:392:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_ar_suffix_rule(register Name target, Name true_target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:393:40: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_double_suffix_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:394:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_percent_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:397:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:397:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:416:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern wchar_t *getmem_wc(register int size); ^~~~~~~~~ ../include/mk/defs.h:431:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:431:55: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:435:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_value(register Name value, Daemon daemon); ^~~~~~~~~ ../include/mk/defs.h:436:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& read_archive(register Name target); ^~~~~~~~~ ../include/mk/defs.h:438:37: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void read_directory_of_file(register Name file); ^~~~~~~~~ ../include/mk/defs.h:440:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:63: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:92: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:446:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:79: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:110: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:447:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:447:47: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:448:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:448:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:454:42: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void special_reader(Name target, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:456:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname target_can_be_built(register Name target); ^~~~~~~~~ ../include/mk/defs.h:461:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name vpath_translation(register Name cmd); ^~~~~~~~~ In file included from macro.cc:51: ../include/mksh/macro.h:41:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_macro(register Source source, register String destination, wchar_t *current_string, Boolean cmd); ^~~~~~~~~ ../include/mksh/macro.h:41:50: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_macro(register Source source, register String destination, wchar_t *current_string, Boolean cmd); ^~~~~~~~~ ../include/mksh/macro.h:42:38: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_value(Name value, register String destination, Boolean cmd); ^~~~~~~~~ ../include/mksh/macro.h:43:20: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getvar(register Name name); ^~~~~~~~~ ../include/mksh/macro.h:45:31: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property setvar_daemon(register Name name, register Name value, Boolean append, Daemon daemon, Boolean strip_trailing_spaces, short debug_level); ^~~~~~~~~ ../include/mksh/macro.h:45:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property setvar_daemon(register Name name, register Name value, Boolean append, Daemon daemon, Boolean strip_trailing_spaces, short debug_level); ^~~~~~~~~ In file included from macro.cc:52: ../include/mksh/misc.h:41:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_char(wchar_t from, register String to); ^~~~~~~~~ ../include/mksh/misc.h:42:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:42:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:43:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:71: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:44:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enable_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:49:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:49:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:50:21: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *getmem(register int size); ^~~~~~~~~ ../include/mksh/misc.h:51:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:86: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:55:35: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:55:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:59:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setup_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:62:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ macro.cc:71:15: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] setvar_append(register Name name, register Name value) ^~~~~~~~~ macro.cc:71:35: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] setvar_append(register Name name, register Name value) ^~~~~~~~~ macro.cc:73:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Property macro_apx = get_prop(name->prop, macro_append_prop); ^~~~~~~~~ macro.cc:74:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Property macro = get_prop(name->prop, macro_prop); ^~~~~~~~~ macro.cc:136:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char *mbs, *tmp_mbs_buffer = NULL; ^~~~~~~~ macro.cc:136:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char *mbs, *tmp_mbs_buffer = NULL; ^~~~~~~~ macro.cc:137:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char *env, *tmp_mbs_buffer2 = NULL; ^~~~~~~~ macro.cc:137:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char *env, *tmp_mbs_buffer2 = NULL; ^~~~~~~~ 94 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -D_GNU_SOURCE -DSUNOS4_AND_AFTER -DHDRSDIR='"/usr/local/heirloom/share/lib/make"' -DSHELL='"/bin/sh"' -DPOSIX_SHELL='"/bin/sh"' -c main.cc In file included from main.cc:79: In file included from ../include/mk/defs.h:48: In file included from ../include/mksh/defs.h:52: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from main.cc:79: ../include/mk/defs.h:373:23: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:70: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:97: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:374:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:376:22: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:379:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:379:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:380:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:130: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:381:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependency(Property line, register Name depe, Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:382:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_equal(Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:383:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:383:74: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:384:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Dyntarget enter_dyntarget(register Name target); ^~~~~~~~~ ../include/mk/defs.h:385:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:385:100: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:386:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:81: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:389:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& exists(register Name target); ^~~~~~~~~ ../include/mk/defs.h:392:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_ar_suffix_rule(register Name target, Name true_target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:393:40: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_double_suffix_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:394:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_percent_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:397:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:397:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:416:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern wchar_t *getmem_wc(register int size); ^~~~~~~~~ ../include/mk/defs.h:431:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:431:55: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:435:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_value(register Name value, Daemon daemon); ^~~~~~~~~ ../include/mk/defs.h:436:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& read_archive(register Name target); ^~~~~~~~~ ../include/mk/defs.h:438:37: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void read_directory_of_file(register Name file); ^~~~~~~~~ ../include/mk/defs.h:440:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:63: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:92: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:446:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:79: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:110: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:447:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:447:47: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:448:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:448:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:454:42: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void special_reader(Name target, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:456:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname target_can_be_built(register Name target); ^~~~~~~~~ ../include/mk/defs.h:461:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name vpath_translation(register Name cmd); ^~~~~~~~~ In file included from main.cc:81: ../include/mksh/macro.h:41:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_macro(register Source source, register String destination, wchar_t *current_string, Boolean cmd); ^~~~~~~~~ ../include/mksh/macro.h:41:50: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_macro(register Source source, register String destination, wchar_t *current_string, Boolean cmd); ^~~~~~~~~ ../include/mksh/macro.h:42:38: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_value(Name value, register String destination, Boolean cmd); ^~~~~~~~~ ../include/mksh/macro.h:43:20: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getvar(register Name name); ^~~~~~~~~ ../include/mksh/macro.h:45:31: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property setvar_daemon(register Name name, register Name value, Boolean append, Daemon daemon, Boolean strip_trailing_spaces, short debug_level); ^~~~~~~~~ ../include/mksh/macro.h:45:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property setvar_daemon(register Name name, register Name value, Boolean append, Daemon daemon, Boolean strip_trailing_spaces, short debug_level); ^~~~~~~~~ In file included from main.cc:82: ../include/mksh/misc.h:41:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_char(wchar_t from, register String to); ^~~~~~~~~ ../include/mksh/misc.h:42:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:42:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:43:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:71: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:44:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enable_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:49:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:49:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:50:21: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *getmem(register int size); ^~~~~~~~~ ../include/mksh/misc.h:51:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:86: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:55:35: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:55:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:59:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setup_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:62:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ In file included from main.cc:106: ../include/vroot/report.h:44:31: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void report_dependency(register char *name); ^~~~~~~~~ main.cc:109:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name normalize_name(register wchar_t *name_string, register int length); ^~~~~~~~~ main.cc:109:60: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name normalize_name(register wchar_t *name_string, register int length); ^~~~~~~~~ main.cc:188:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name normalize_name(register wchar_t *name_string, register int length); ^~~~~~~~~ main.cc:188:60: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name normalize_name(register wchar_t *name_string, register int length); ^~~~~~~~~ main.cc:207:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_value(Name, register String , Boolean); ^~~~~~~~~ main.cc:254:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char *cp; ^~~~~~~~~ main.cc:718:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] report_dependency(""); ^ main.cc:1216:22: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] read_command_options(register int argc, register char **argv) ^~~~~~~~~ main.cc:1216:41: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] read_command_options(register int argc, register char **argv) ^~~~~~~~~ main.cc:1218:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int ch; ^~~~~~~~~ main.cc:1223:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int i; ^~~~~~~~~ main.cc:1224:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int j; ^~~~~~~~~ main.cc:1225:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int k; ^~~~~~~~~ main.cc:1226:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int makefile_next = 0; /* ^~~~~~~~~ main.cc:1428:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] argv[i] = NOCATGETS("-c"); ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ main.cc:1434:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] argv[i] = NOCATGETS("-g"); ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ main.cc:1445:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] argv[i] = NOCATGETS("-M"); ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ main.cc:1451:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] argv[i] = NOCATGETS("-m"); ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ main.cc:1458:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] argv[i] = NOCATGETS("-O"); ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ main.cc:1462:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] argv[i] = NOCATGETS("-K"); ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ main.cc:1465:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] argv[i] = NOCATGETS("-o"); ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ main.cc:1471:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] argv[i] = NOCATGETS("-x"); ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ main.cc:1624:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] mf_argv[0] = NOCATGETS("MAKEFLAGS"); ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ main.cc:1703:22: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] parse_command_option(register char ch) ^~~~~~~~~ main.cc:2145:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char *cp; ^~~~~~~~~ main.cc:2151:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int i; ^~~~~~~~~ main.cc:2154:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Property macro; ^~~~~~~~~ main.cc:2157:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Boolean makefile_read = false; ^~~~~~~~~ main.cc:2162:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Name name; ^~~~~~~~~ main.cc:2171:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Name value; ^~~~~~~~~ main.cc:2487:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while ( tmp_char = *cp++ ); ~~~~~~~~~^~~~~~~ main.cc:2487:22: note: place parentheses around the assignment to silence this warning } while ( tmp_char = *cp++ ); ^ ( ) main.cc:2487:22: note: use '==' to turn this assignment into an equality comparison } while ( tmp_char = *cp++ ); ^ == main.cc:2540:24: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((argv[i][2] == (int) nul_char)) { ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ main.cc:2540:24: note: remove extraneous parentheses around the comparison to silence this warning if ((argv[i][2] == (int) nul_char)) { ~ ^ ~ main.cc:2540:24: note: use '=' to turn this equality comparison into an assignment if ((argv[i][2] == (int) nul_char)) { ^~ = main.cc:2793:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (slashp = strrchr(make_state->string_mb, '/')) { ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cc:2793:17: note: place parentheses around the assignment to silence this warning if (slashp = strrchr(make_state->string_mb, '/')) { ^ ( ) main.cc:2793:17: note: use '==' to turn this assignment into an equality comparison if (slashp = strrchr(make_state->string_mb, '/')) { ^ == main.cc:2832:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char *cp; ^~~~~~~~~ main.cc:2833:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int i; ^~~~~~~~~ main.cc:2835:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Name name; ^~~~~~~~~ main.cc:2839:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Name value; ^~~~~~~~~ main.cc:3042:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] append_makeflags_string(Name name, register String makeflags_string) ^~~~~~~~~ main.cc:3047:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] option = NOCATGETS(" -g "); ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ main.cc:3049:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] option = NOCATGETS(" -j "); ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ main.cc:3051:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] option = NOCATGETS(" -m "); ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ main.cc:3053:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] option = NOCATGETS(" -o "); ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ main.cc:3055:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] option = NOCATGETS(" -c "); ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ main.cc:3057:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] option = NOCATGETS(" -M "); ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ main.cc:3059:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] option = NOCATGETS(" -x DMAKE_OUTPUT_MODE="); ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ main.cc:3061:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] option = NOCATGETS(" -x SUN_MAKE_COMPAT_MODE="); ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ main.cc:3092:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char **environment; ^~~~~~~~~ main.cc:3096:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *name; ^~~~~~~~~ main.cc:3097:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *value; ^~~~~~~~~ main.cc:3098:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Name macro; ^~~~~~~~~ main.cc:3211:15: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] read_makefile(register Name makefile, Boolean complain, Boolean must_exist, Boolean report_file) ^~~~~~~~~ main.cc:3253:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Boolean target_to_make_found = false; ^~~~~~~~~ main.cc:3498:18: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] report_recursion(register Name target) ^~~~~~~~~ main.cc:3500:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register FILE *report_file = get_report_file(); ^~~~~~~~~ main.cc:3530:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char *cp0; /* work pointer in macro */ ^~~~~~~~~ main.cc:3531:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char *cp1; /* work pointer in array */ ^~~~~~~~~ main.cc:3532:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char *cp2; /* work pointer in array */ ^~~~~~~~~ main.cc:3533:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char *cp3; /* work pointer in array */ ^~~~~~~~~ main.cc:3534:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char *name; /* macro name */ ^~~~~~~~~ main.cc:3535:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register char *value; /* macro value */ ^~~~~~~~~ main.cc:3536:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int len_array; ^~~~~~~~~ main.cc:3537:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int len_macro; ^~~~~~~~~ 149 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -D_GNU_SOURCE -DSUNOS4_AND_AFTER -DHDRSDIR='"/usr/local/heirloom/share/lib/make"' -DSHELL='"/bin/sh"' -DPOSIX_SHELL='"/bin/sh"' -c make.cc c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -D_GNU_SOURCE -DSUNOS4_AND_AFTER -DHDRSDIR='"/usr/local/heirloom/share/lib/make"' -DSHELL='"/bin/sh"' -DPOSIX_SHELL='"/bin/sh"' -c misc.cc In file included from misc.cc:54: In file included from ../include/mk/defs.h:48: In file included from ../include/mksh/defs.h:52: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from misc.cc:54: ../include/mk/defs.h:373:23: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:70: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:97: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:374:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:376:22: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:379:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:379:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:380:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:130: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:381:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependency(Property line, register Name depe, Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:382:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_equal(Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:383:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:383:74: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:384:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Dyntarget enter_dyntarget(register Name target); ^~~~~~~~~ ../include/mk/defs.h:385:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:385:100: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:386:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:81: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:389:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& exists(register Name target); ^~~~~~~~~ ../include/mk/defs.h:392:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_ar_suffix_rule(register Name target, Name true_target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:393:40: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_double_suffix_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:394:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_percent_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:397:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:397:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:416:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern wchar_t *getmem_wc(register int size); ^~~~~~~~~ ../include/mk/defs.h:431:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:431:55: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:435:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_value(register Name value, Daemon daemon); ^~~~~~~~~ ../include/mk/defs.h:436:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& read_archive(register Name target); ^~~~~~~~~ ../include/mk/defs.h:438:37: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void read_directory_of_file(register Name file); ^~~~~~~~~ ../include/mk/defs.h:440:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:63: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:92: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:446:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:79: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:110: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:447:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:447:47: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:448:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:448:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:454:42: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void special_reader(Name target, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:456:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname target_can_be_built(register Name target); ^~~~~~~~~ ../include/mk/defs.h:461:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name vpath_translation(register Name cmd); ^~~~~~~~~ In file included from misc.cc:55: ../include/mksh/macro.h:41:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_macro(register Source source, register String destination, wchar_t *current_string, Boolean cmd); ^~~~~~~~~ ../include/mksh/macro.h:41:50: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_macro(register Source source, register String destination, wchar_t *current_string, Boolean cmd); ^~~~~~~~~ ../include/mksh/macro.h:42:38: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_value(Name value, register String destination, Boolean cmd); ^~~~~~~~~ ../include/mksh/macro.h:43:20: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getvar(register Name name); ^~~~~~~~~ ../include/mksh/macro.h:45:31: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property setvar_daemon(register Name name, register Name value, Boolean append, Daemon daemon, Boolean strip_trailing_spaces, short debug_level); ^~~~~~~~~ ../include/mksh/macro.h:45:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property setvar_daemon(register Name name, register Name value, Boolean append, Daemon daemon, Boolean strip_trailing_spaces, short debug_level); ^~~~~~~~~ In file included from misc.cc:56: ../include/mksh/misc.h:41:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_char(wchar_t from, register String to); ^~~~~~~~~ ../include/mksh/misc.h:42:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:42:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:43:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:71: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:44:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enable_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:49:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:49:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:50:21: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *getmem(register int size); ^~~~~~~~~ ../include/mksh/misc.h:51:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:86: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:55:35: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:55:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:59:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setup_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:62:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ In file included from misc.cc:58: ../include/vroot/report.h:44:31: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void report_dependency(register char *name); ^~~~~~~~~ misc.cc:89:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static void print_rule(register Name target); ^~~~~~~~~ misc.cc:90:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static void print_target_n_deps(register Name target); ^~~~~~~~~ misc.cc:304:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "File does not exist"; ^ misc.cc:307:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return "Younger than any file"; ^ misc.cc:395:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Property prop; ^~~~~~~~~ misc.cc:396:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Dependency dep; ^~~~~~~~~ misc.cc:397:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Cmd_line rule; ^~~~~~~~~ misc.cc:541:12: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] print_rule(register Name target) ^~~~~~~~~ misc.cc:543:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Cmd_line rule; ^~~~~~~~~ misc.cc:544:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Property line; ^~~~~~~~~ misc.cc:545:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Dependency dependency; ^~~~~~~~~ misc.cc:591:21: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] print_target_n_deps(register Name target) ^~~~~~~~~ misc.cc:593:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Property line; ^~~~~~~~~ misc.cc:594:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Dependency dependency; ^~~~~~~~~ misc.cc:795:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] add_dir_to_path(NOCATGETS("."), &vroot_path, -1); ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ misc.cc:796:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] add_dir_to_path(NOCATGETS("/bin"), &vroot_path, -1); ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ misc.cc:797:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] add_dir_to_path(NOCATGETS("/usr/bin"), &vroot_path, -1); ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ misc.cc:992:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] rv = resolve ("", cmd + 1, dir, run); ^ 105 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -D_GNU_SOURCE -DSUNOS4_AND_AFTER -DHDRSDIR='"/usr/local/heirloom/share/lib/make"' -DSHELL='"/bin/sh"' -DPOSIX_SHELL='"/bin/sh"' -c nse.cc c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -D_GNU_SOURCE -DSUNOS4_AND_AFTER -DHDRSDIR='"/usr/local/heirloom/share/lib/make"' -DSHELL='"/bin/sh"' -DPOSIX_SHELL='"/bin/sh"' -c nse_printdep.cc In file included from nse_printdep.cc:40: In file included from ../include/mk/defs.h:48: In file included from ../include/mksh/defs.h:52: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from nse_printdep.cc:40: ../include/mk/defs.h:373:23: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:70: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:97: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:374:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:376:22: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:379:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:379:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:380:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:130: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:381:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependency(Property line, register Name depe, Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:382:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_equal(Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:383:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:383:74: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:384:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Dyntarget enter_dyntarget(register Name target); ^~~~~~~~~ ../include/mk/defs.h:385:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:385:100: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:386:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:81: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:389:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& exists(register Name target); ^~~~~~~~~ ../include/mk/defs.h:392:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_ar_suffix_rule(register Name target, Name true_target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:393:40: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_double_suffix_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:394:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_percent_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:397:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:397:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:416:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern wchar_t *getmem_wc(register int size); ^~~~~~~~~ ../include/mk/defs.h:431:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:431:55: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:435:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_value(register Name value, Daemon daemon); ^~~~~~~~~ ../include/mk/defs.h:436:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& read_archive(register Name target); ^~~~~~~~~ ../include/mk/defs.h:438:37: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void read_directory_of_file(register Name file); ^~~~~~~~~ ../include/mk/defs.h:440:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:63: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:92: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:446:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:79: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:110: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:447:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:447:47: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:448:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:448:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:454:42: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void special_reader(Name target, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:456:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname target_can_be_built(register Name target); ^~~~~~~~~ ../include/mk/defs.h:461:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name vpath_translation(register Name cmd); ^~~~~~~~~ In file included from nse_printdep.cc:41: ../include/mksh/misc.h:41:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_char(wchar_t from, register String to); ^~~~~~~~~ ../include/mksh/misc.h:42:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:42:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:43:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:71: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:44:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enable_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:49:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:49:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:50:21: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *getmem(register int size); ^~~~~~~~~ ../include/mksh/misc.h:51:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:86: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:55:35: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:55:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:59:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setup_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:62:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ nse_printdep.cc:46:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] void print_dependencies(register Name target, register Property line); ^~~~~~~~~ nse_printdep.cc:46:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] void print_dependencies(register Name target, register Property line); ^~~~~~~~~ nse_printdep.cc:47:24: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static void print_deps(register Name target, register Property line); ^~~~~~~~~ nse_printdep.cc:47:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static void print_deps(register Name target, register Property line); ^~~~~~~~~ nse_printdep.cc:55:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] void print_value(register Name value, Daemon daemon); ^~~~~~~~~ nse_printdep.cc:82:20: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] print_dependencies(register Name target, register Property line) ^~~~~~~~~ nse_printdep.cc:82:42: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] print_dependencies(register Name target, register Property line) ^~~~~~~~~ nse_printdep.cc:183:12: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] print_deps(register Name target, register Property line) ^~~~~~~~~ nse_printdep.cc:183:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] print_deps(register Name target, register Property line) ^~~~~~~~~ nse_printdep.cc:185:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Dependency dep; ^~~~~~~~~ nse_printdep.cc:465:13: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] print_value(register Name value, Daemon daemon) ^~~~~~~~~ 91 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -D_GNU_SOURCE -DSUNOS4_AND_AFTER -DHDRSDIR='"/usr/local/heirloom/share/lib/make"' -DSHELL='"/bin/sh"' -DPOSIX_SHELL='"/bin/sh"' -c parallel.cc In file included from parallel.cc:56: In file included from ../include/mk/defs.h:48: In file included from ../include/mksh/defs.h:52: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from parallel.cc:56: ../include/mk/defs.h:373:23: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:70: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:97: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:374:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:376:22: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:379:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:379:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:380:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:130: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:381:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependency(Property line, register Name depe, Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:382:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_equal(Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:383:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:383:74: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:384:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Dyntarget enter_dyntarget(register Name target); ^~~~~~~~~ ../include/mk/defs.h:385:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:385:100: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:386:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:81: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:389:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& exists(register Name target); ^~~~~~~~~ ../include/mk/defs.h:392:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_ar_suffix_rule(register Name target, Name true_target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:393:40: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_double_suffix_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:394:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_percent_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:397:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:397:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:416:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern wchar_t *getmem_wc(register int size); ^~~~~~~~~ ../include/mk/defs.h:431:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:431:55: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:435:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_value(register Name value, Daemon daemon); ^~~~~~~~~ ../include/mk/defs.h:436:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& read_archive(register Name target); ^~~~~~~~~ ../include/mk/defs.h:438:37: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void read_directory_of_file(register Name file); ^~~~~~~~~ ../include/mk/defs.h:440:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:63: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:92: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:446:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:79: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:110: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:447:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:447:47: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:448:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:448:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:454:42: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void special_reader(Name target, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:456:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname target_can_be_built(register Name target); ^~~~~~~~~ ../include/mk/defs.h:461:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name vpath_translation(register Name cmd); ^~~~~~~~~ In file included from parallel.cc:57: ../include/mksh/dosys.h:48:22: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean await(register Boolean ignore_error, register Boolean silent_error, Name target, wchar_t *command, pid_t running_pid, Boolean send_mtool_msgs, void *xdrs, int job_msg_id); ^~~~~~~~~ ../include/mksh/dosys.h:48:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean await(register Boolean ignore_error, register Boolean silent_error, Name target, wchar_t *command, pid_t running_pid, Boolean send_mtool_msgs, void *xdrs, int job_msg_id); ^~~~~~~~~ ../include/mksh/dosys.h:50:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern int doexec(register wchar_t *command, register Boolean ignore_error, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:50:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern int doexec(register wchar_t *command, register Boolean ignore_error, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:51:38: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern int doshell(wchar_t *command, register Boolean ignore_error, Boolean redirect_out_err, char *stdout_file, char *stderr_file, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:52:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys_mksh(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:52:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys_mksh(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:52:80: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys_mksh(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:54:31: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void sh_command2string(register String command, register String destination); ^~~~~~~~~ ../include/mksh/dosys.h:54:56: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void sh_command2string(register String command, register String destination); ^~~~~~~~~ In file included from parallel.cc:58: ../include/mksh/macro.h:41:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_macro(register Source source, register String destination, wchar_t *current_string, Boolean cmd); ^~~~~~~~~ ../include/mksh/macro.h:41:50: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_macro(register Source source, register String destination, wchar_t *current_string, Boolean cmd); ^~~~~~~~~ ../include/mksh/macro.h:42:38: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_value(Name value, register String destination, Boolean cmd); ^~~~~~~~~ ../include/mksh/macro.h:43:20: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getvar(register Name name); ^~~~~~~~~ ../include/mksh/macro.h:45:31: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property setvar_daemon(register Name name, register Name value, Boolean append, Daemon daemon, Boolean strip_trailing_spaces, short debug_level); ^~~~~~~~~ ../include/mksh/macro.h:45:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property setvar_daemon(register Name name, register Name value, Boolean append, Daemon daemon, Boolean strip_trailing_spaces, short debug_level); ^~~~~~~~~ In file included from parallel.cc:59: ../include/mksh/misc.h:41:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_char(wchar_t from, register String to); ^~~~~~~~~ ../include/mksh/misc.h:42:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:42:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:43:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:71: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:44:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enable_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:49:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:49:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:50:21: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *getmem(register int size); ^~~~~~~~~ ../include/mksh/misc.h:51:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:86: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:55:35: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:55:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:59:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setup_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:62:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ parallel.cc:936:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] process_running = run_rule_commands(local_host, commands); ^ parallel.cc:96:20: note: expanded from macro 'local_host' #define local_host "localhost" ^ 97 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -D_GNU_SOURCE -DSUNOS4_AND_AFTER -DHDRSDIR='"/usr/local/heirloom/share/lib/make"' -DSHELL='"/bin/sh"' -DPOSIX_SHELL='"/bin/sh"' -c pmake.cc In file included from pmake.cc:41: In file included from ../include/mk/defs.h:48: In file included from ../include/mksh/defs.h:52: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from pmake.cc:41: ../include/mk/defs.h:373:23: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:70: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:97: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:374:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:376:22: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:379:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:379:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:380:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:130: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:381:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependency(Property line, register Name depe, Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:382:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_equal(Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:383:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:383:74: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:384:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Dyntarget enter_dyntarget(register Name target); ^~~~~~~~~ ../include/mk/defs.h:385:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:385:100: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:386:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:81: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:389:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& exists(register Name target); ^~~~~~~~~ ../include/mk/defs.h:392:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_ar_suffix_rule(register Name target, Name true_target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:393:40: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_double_suffix_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:394:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_percent_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:397:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:397:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:416:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern wchar_t *getmem_wc(register int size); ^~~~~~~~~ ../include/mk/defs.h:431:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:431:55: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:435:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_value(register Name value, Daemon daemon); ^~~~~~~~~ ../include/mk/defs.h:436:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& read_archive(register Name target); ^~~~~~~~~ ../include/mk/defs.h:438:37: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void read_directory_of_file(register Name file); ^~~~~~~~~ ../include/mk/defs.h:440:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:63: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:92: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:446:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:79: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:110: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:447:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:447:47: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:448:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:448:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:454:42: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void special_reader(Name target, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:456:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname target_can_be_built(register Name target); ^~~~~~~~~ ../include/mk/defs.h:461:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name vpath_translation(register Name cmd); ^~~~~~~~~ In file included from pmake.cc:42: ../include/mksh/misc.h:41:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_char(wchar_t from, register String to); ^~~~~~~~~ ../include/mksh/misc.h:42:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:42:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:43:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:71: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:44:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enable_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:49:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:49:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:50:21: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *getmem(register int size); ^~~~~~~~~ ../include/mksh/misc.h:51:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:86: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:55:35: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:55:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:59:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setup_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:62:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ 80 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -D_GNU_SOURCE -DSUNOS4_AND_AFTER -DHDRSDIR='"/usr/local/heirloom/share/lib/make"' -DSHELL='"/bin/sh"' -DPOSIX_SHELL='"/bin/sh"' -c read.cc In file included from read.cc:49: In file included from ../include/mk/defs.h:48: In file included from ../include/mksh/defs.h:52: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from read.cc:49: ../include/mk/defs.h:373:23: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:70: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:97: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:374:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:376:22: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:379:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:379:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:380:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:130: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:381:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependency(Property line, register Name depe, Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:382:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_equal(Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:383:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:383:74: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:384:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Dyntarget enter_dyntarget(register Name target); ^~~~~~~~~ ../include/mk/defs.h:385:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:385:100: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:386:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:81: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:389:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& exists(register Name target); ^~~~~~~~~ ../include/mk/defs.h:392:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_ar_suffix_rule(register Name target, Name true_target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:393:40: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_double_suffix_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:394:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_percent_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:397:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:397:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:416:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern wchar_t *getmem_wc(register int size); ^~~~~~~~~ ../include/mk/defs.h:431:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:431:55: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:435:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_value(register Name value, Daemon daemon); ^~~~~~~~~ ../include/mk/defs.h:436:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& read_archive(register Name target); ^~~~~~~~~ ../include/mk/defs.h:438:37: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void read_directory_of_file(register Name file); ^~~~~~~~~ ../include/mk/defs.h:440:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:63: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:92: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:446:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:79: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:110: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:447:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:447:47: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:448:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:448:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:454:42: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void special_reader(Name target, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:456:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname target_can_be_built(register Name target); ^~~~~~~~~ ../include/mk/defs.h:461:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name vpath_translation(register Name cmd); ^~~~~~~~~ In file included from read.cc:50: ../include/mksh/macro.h:41:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_macro(register Source source, register String destination, wchar_t *current_string, Boolean cmd); ^~~~~~~~~ ../include/mksh/macro.h:41:50: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_macro(register Source source, register String destination, wchar_t *current_string, Boolean cmd); ^~~~~~~~~ ../include/mksh/macro.h:42:38: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_value(Name value, register String destination, Boolean cmd); ^~~~~~~~~ ../include/mksh/macro.h:43:20: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getvar(register Name name); ^~~~~~~~~ ../include/mksh/macro.h:45:31: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property setvar_daemon(register Name name, register Name value, Boolean append, Daemon daemon, Boolean strip_trailing_spaces, short debug_level); ^~~~~~~~~ ../include/mksh/macro.h:45:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property setvar_daemon(register Name name, register Name value, Boolean append, Daemon daemon, Boolean strip_trailing_spaces, short debug_level); ^~~~~~~~~ In file included from read.cc:51: ../include/mksh/misc.h:41:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_char(wchar_t from, register String to); ^~~~~~~~~ ../include/mksh/misc.h:42:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:42:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:43:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:71: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:44:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enable_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:49:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:49:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:50:21: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *getmem(register int size); ^~~~~~~~~ ../include/mksh/misc.h:51:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:86: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:55:35: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:55:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:59:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setup_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:62:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ In file included from read.cc:52: ../include/mksh/read.h:41:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Source get_next_block_fn(register Source source); ^~~~~~~~~ read.cc:74:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static void parse_makefile(register Name true_makefile_name, Source source); ^~~~~~~~~ read.cc:76:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static Source push_macro_value(register Source bp, register wchar_t *buffer, int size, register Source source); ^~~~~~~~~ read.cc:76:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static Source push_macro_value(register Source bp, register wchar_t *buffer, int size, register Source source); ^~~~~~~~~ read.cc:76:89: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static Source push_macro_value(register Source bp, register wchar_t *buffer, int size, register Source source); ^~~~~~~~~ read.cc:78:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name normalize_name(register wchar_t *name_string, register int length); ^~~~~~~~~ read.cc:78:60: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name normalize_name(register wchar_t *name_string, register int length); ^~~~~~~~~ read.cc:112:18: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile) ^~~~~~~~~ read.cc:112:47: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile) ^~~~~~~~~ read.cc:112:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile) ^~~~~~~~~ read.cc:114:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Property makefile = maybe_append_prop(makefile_name, ^~~~~~~~~ read.cc:118:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int n; ^~~~~~~~~ read.cc:120:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Source source = ALLOC(Source); ^~~~~~~~~ read.cc:124:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int length; ^~~~~~~~~ read.cc:132:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *string_start; ^~~~~~~~~ read.cc:133:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *string_end; ^~~~~~~~~ read.cc:166:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] add_dir_to_path(".", ^ read.cc:169:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] add_dir_to_path(NOCATGETS(HDRSDIR), ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ read.cc:213:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] add_dir_to_path(NOCATGETS("/usr/include/make"), ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' #define NOCATGETS(str) (str) ^ read.cc:529:16: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] parse_makefile(register Name true_makefile_name, Source source) ^~~~~~~~~ read.cc:536:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *string_start; ^~~~~~~~~ read.cc:538:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Boolean macro_seen_in_string; ^~~~~~~~~ read.cc:542:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int distance; ^~~~~~~~~ read.cc:543:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int paren_count; ^~~~~~~~~ read.cc:558:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Reader_state state; ^~~~~~~~~ read.cc:559:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Reader_state on_eoln_state; ^~~~~~~~~ read.cc:560:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Separator separator = none_seen; ^~~~~~~~~ read.cc:2272:18: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] push_macro_value(register Source bp, register wchar_t *buffer, int size, register Source source) ^~~~~~~~~ read.cc:2272:38: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] push_macro_value(register Source bp, register wchar_t *buffer, int size, register Source source) ^~~~~~~~~ read.cc:2272:74: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] push_macro_value(register Source bp, register wchar_t *buffer, int size, register Source source) ^~~~~~~~~ 116 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -D_GNU_SOURCE -DSUNOS4_AND_AFTER -DHDRSDIR='"/usr/local/heirloom/share/lib/make"' -DSHELL='"/bin/sh"' -DPOSIX_SHELL='"/bin/sh"' -c read2.cc In file included from read2.cc:46: In file included from ../include/mk/defs.h:48: In file included from ../include/mksh/defs.h:52: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from read2.cc:46: ../include/mk/defs.h:373:23: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:70: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:97: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:374:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:376:22: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:379:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:379:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:380:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:130: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:381:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependency(Property line, register Name depe, Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:382:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_equal(Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:383:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:383:74: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:384:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Dyntarget enter_dyntarget(register Name target); ^~~~~~~~~ ../include/mk/defs.h:385:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:385:100: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:386:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:81: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:389:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& exists(register Name target); ^~~~~~~~~ ../include/mk/defs.h:392:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_ar_suffix_rule(register Name target, Name true_target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:393:40: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_double_suffix_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:394:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_percent_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:397:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:397:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:416:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern wchar_t *getmem_wc(register int size); ^~~~~~~~~ ../include/mk/defs.h:431:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:431:55: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:435:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_value(register Name value, Daemon daemon); ^~~~~~~~~ ../include/mk/defs.h:436:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& read_archive(register Name target); ^~~~~~~~~ ../include/mk/defs.h:438:37: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void read_directory_of_file(register Name file); ^~~~~~~~~ ../include/mk/defs.h:440:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:63: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:92: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:446:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:79: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:110: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:447:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:447:47: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:448:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:448:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:454:42: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void special_reader(Name target, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:456:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname target_can_be_built(register Name target); ^~~~~~~~~ ../include/mk/defs.h:461:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name vpath_translation(register Name cmd); ^~~~~~~~~ In file included from read2.cc:47: ../include/mksh/dosys.h:48:22: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean await(register Boolean ignore_error, register Boolean silent_error, Name target, wchar_t *command, pid_t running_pid, Boolean send_mtool_msgs, void *xdrs, int job_msg_id); ^~~~~~~~~ ../include/mksh/dosys.h:48:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean await(register Boolean ignore_error, register Boolean silent_error, Name target, wchar_t *command, pid_t running_pid, Boolean send_mtool_msgs, void *xdrs, int job_msg_id); ^~~~~~~~~ ../include/mksh/dosys.h:50:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern int doexec(register wchar_t *command, register Boolean ignore_error, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:50:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern int doexec(register wchar_t *command, register Boolean ignore_error, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:51:38: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern int doshell(wchar_t *command, register Boolean ignore_error, Boolean redirect_out_err, char *stdout_file, char *stderr_file, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:52:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys_mksh(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:52:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys_mksh(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:52:80: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys_mksh(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio); ^~~~~~~~~ ../include/mksh/dosys.h:54:31: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void sh_command2string(register String command, register String destination); ^~~~~~~~~ ../include/mksh/dosys.h:54:56: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void sh_command2string(register String command, register String destination); ^~~~~~~~~ In file included from read2.cc:48: ../include/mksh/macro.h:41:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_macro(register Source source, register String destination, wchar_t *current_string, Boolean cmd); ^~~~~~~~~ ../include/mksh/macro.h:41:50: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_macro(register Source source, register String destination, wchar_t *current_string, Boolean cmd); ^~~~~~~~~ ../include/mksh/macro.h:42:38: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void expand_value(Name value, register String destination, Boolean cmd); ^~~~~~~~~ ../include/mksh/macro.h:43:20: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getvar(register Name name); ^~~~~~~~~ ../include/mksh/macro.h:45:31: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property setvar_daemon(register Name name, register Name value, Boolean append, Daemon daemon, Boolean strip_trailing_spaces, short debug_level); ^~~~~~~~~ ../include/mksh/macro.h:45:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property setvar_daemon(register Name name, register Name value, Boolean append, Daemon daemon, Boolean strip_trailing_spaces, short debug_level); ^~~~~~~~~ In file included from read2.cc:49: ../include/mksh/misc.h:41:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_char(wchar_t from, register String to); ^~~~~~~~~ ../include/mksh/misc.h:42:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:42:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:43:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:71: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:44:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enable_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:49:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:49:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:50:21: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *getmem(register int size); ^~~~~~~~~ ../include/mksh/misc.h:51:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:86: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:55:35: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:55:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:59:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setup_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:62:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ read2.cc:68:38: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static Name_vector enter_member_name(register wchar_t *lib_start, register wchar_t *member_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names); ^~~~~~~~~ read2.cc:68:67: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static Name_vector enter_member_name(register wchar_t *lib_start, register wchar_t *member_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names); ^~~~~~~~~ read2.cc:68:99: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static Name_vector enter_member_name(register wchar_t *lib_start, register wchar_t *member_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names); ^~~~~~~~~ read2.cc:69:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name normalize_name(register wchar_t *name_string, register int length); ^~~~~~~~~ read2.cc:69:60: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name normalize_name(register wchar_t *name_string, register int length); ^~~~~~~~~ read2.cc:70:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static void read_suffixes_list(register Name_vector depes); ^~~~~~~~~ read2.cc:72:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static void print_rule(register Cmd_line command); ^~~~~~~~~ read2.cc:105:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen) ^~~~~~~~~ read2.cc:105:81: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen) ^~~~~~~~~ read2.cc:108:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *cp; ^~~~~~~~~ read2.cc:203:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] enter_member_name(register wchar_t *lib_start, register wchar_t *member_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names) ^~~~~~~~~ read2.cc:203:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] enter_member_name(register wchar_t *lib_start, register wchar_t *member_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names) ^~~~~~~~~ read2.cc:203:80: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] enter_member_name(register wchar_t *lib_start, register wchar_t *member_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names) ^~~~~~~~~ read2.cc:205:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Boolean entry = false; ^~~~~~~~~ read2.cc:213:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int paren_count; ^~~~~~~~~ read2.cc:214:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Boolean has_dollar; ^~~~~~~~~ read2.cc:215:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *cq; ^~~~~~~~~ read2.cc:345:16: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] normalize_name(register wchar_t *name_string, register int length) ^~~~~~~~~ read2.cc:345:47: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] normalize_name(register wchar_t *name_string, register int length) ^~~~~~~~~ read2.cc:348:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *string = ALLOC_WC(length + 1); ^~~~~~~~~ read2.cc:349:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *string2; ^~~~~~~~~ read2.cc:350:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *cdp; ^~~~~~~~~ read2.cc:353:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int count; ^~~~~~~~~ read2.cc:475:20: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] find_target_groups(register Name_vector target_list, register int i, Boolean reset) ^~~~~~~~~ read2.cc:475:54: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] find_target_groups(register Name_vector target_list, register int i, Boolean reset) ^~~~~~~~~ read2.cc:579:20: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator) ^~~~~~~~~ read2.cc:579:62: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator) ^~~~~~~~~ read2.cc:579:90: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator) ^~~~~~~~~ read2.cc:579:117: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator) ^~~~~~~~~ read2.cc:581:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int i; ^~~~~~~~~ read2.cc:582:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Property line; ^~~~~~~~~ read2.cc:591:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int recursive_state; ^~~~~~~~~ read2.cc:884:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] enter_dependency(Property line, register Name depe, Boolean automatic) ^~~~~~~~~ read2.cc:886:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Dependency dp; ^~~~~~~~~ read2.cc:887:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Dependency *insert; ^~~~~~~~~ read2.cc:952:15: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command) ^~~~~~~~~ read2.cc:952:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command) ^~~~~~~~~ read2.cc:954:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Percent result = ALLOC(Percent); ^~~~~~~~~ read2.cc:955:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Percent depe; ^~~~~~~~~ read2.cc:956:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Percent *depe_tail = &result->dependencies; ^~~~~~~~~ read2.cc:957:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Percent *insert; ^~~~~~~~~ read2.cc:958:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *cp, *cp1; ^~~~~~~~~ read2.cc:958:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register wchar_t *cp, *cp1; ^~~~~~~~~ read2.cc:1090:17: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] enter_dyntarget(register Name target) ^~~~~~~~~ read2.cc:1092:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Dyntarget result = ALLOC(Dyntarget); ^~~~~~~~~ read2.cc:1154:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] special_reader(Name target, register Name_vector depes, Cmd_line command) ^~~~~~~~~ read2.cc:1156:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int k, n; ^~~~~~~~~ read2.cc:1156:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int k, n; ^~~~~~~~~ read2.cc:1543:20: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] read_suffixes_list(register Name_vector depes) ^~~~~~~~~ read2.cc:1545:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int n; ^~~~~~~~~ read2.cc:1546:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Dependency dp; ^~~~~~~~~ read2.cc:1547:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Dependency *insert_dep; ^~~~~~~~~ read2.cc:1548:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Name np; ^~~~~~~~~ read2.cc:1550:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Boolean first = true; ^~~~~~~~~ read2.cc:1724:12: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] print_rule(register Cmd_line command) ^~~~~~~~~ read2.cc:1748:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] enter_conditional(register Name target, Name name, Name value, register Boolean append) ^~~~~~~~~ read2.cc:1748:64: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] enter_conditional(register Name target, Name name, Name value, register Boolean append) ^~~~~~~~~ read2.cc:1750:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Property conditional; ^~~~~~~~~ read2.cc:1813:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] enter_equal(Name name, Name value, register Boolean append) ^~~~~~~~~ 155 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -D_GNU_SOURCE -DSUNOS4_AND_AFTER -DHDRSDIR='"/usr/local/heirloom/share/lib/make"' -DSHELL='"/bin/sh"' -DPOSIX_SHELL='"/bin/sh"' -c rep.cc In file included from rep.cc:46: In file included from ../include/mk/defs.h:48: In file included from ../include/mksh/defs.h:52: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from rep.cc:46: ../include/mk/defs.h:373:23: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:70: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:97: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:374:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:376:22: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:379:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:379:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:380:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:130: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:381:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependency(Property line, register Name depe, Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:382:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_equal(Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:383:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:383:74: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:384:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Dyntarget enter_dyntarget(register Name target); ^~~~~~~~~ ../include/mk/defs.h:385:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:385:100: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:386:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:81: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:389:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& exists(register Name target); ^~~~~~~~~ ../include/mk/defs.h:392:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_ar_suffix_rule(register Name target, Name true_target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:393:40: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_double_suffix_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:394:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_percent_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:397:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:397:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:416:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern wchar_t *getmem_wc(register int size); ^~~~~~~~~ ../include/mk/defs.h:431:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:431:55: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:435:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_value(register Name value, Daemon daemon); ^~~~~~~~~ ../include/mk/defs.h:436:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& read_archive(register Name target); ^~~~~~~~~ ../include/mk/defs.h:438:37: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void read_directory_of_file(register Name file); ^~~~~~~~~ ../include/mk/defs.h:440:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:63: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:92: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:446:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:79: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:110: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:447:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:447:47: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:448:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:448:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:454:42: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void special_reader(Name target, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:456:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname target_can_be_built(register Name target); ^~~~~~~~~ ../include/mk/defs.h:461:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name vpath_translation(register Name cmd); ^~~~~~~~~ In file included from rep.cc:47: ../include/mksh/misc.h:41:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_char(wchar_t from, register String to); ^~~~~~~~~ ../include/mksh/misc.h:42:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:42:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:43:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:71: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:44:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enable_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:49:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:49:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:50:21: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *getmem(register int size); ^~~~~~~~~ ../include/mksh/misc.h:51:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:86: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:55:35: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:55:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:59:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setup_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:62:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ In file included from rep.cc:48: ../include/vroot/report.h:44:31: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void report_dependency(register char *name); ^~~~~~~~~ rep.cc:467:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Property lines; ^~~~~~~~~ 82 warnings generated. c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -D_GNU_SOURCE -DSUNOS4_AND_AFTER -DHDRSDIR='"/usr/local/heirloom/share/lib/make"' -DSHELL='"/bin/sh"' -DPOSIX_SHELL='"/bin/sh"' -c state.cc In file included from state.cc:46: In file included from ../include/mk/defs.h:48: In file included from ../include/mksh/defs.h:52: ../include/vroot/vroot.h:51:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:51:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void add_dir_to_path(register char *path, register pathpt *pointer, register int position); ^~~~~~~~~ ../include/vroot/vroot.h:55:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:53: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:55:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *get_vroot_path(register char **vroot, register char **path, register char **filename); ^~~~~~~~~ ../include/vroot/vroot.h:58:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ ../include/vroot/vroot.h:58:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern pathpt parse_path_string(register char *string, register int remove_slash); ^~~~~~~~~ In file included from state.cc:46: ../include/mk/defs.h:373:23: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:70: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:373:97: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic = false); ^~~~~~~~~ ../include/mk/defs.h:374:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:374:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname doname_check(register Name target, register Boolean do_get, register Boolean implicit, register Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:376:22: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:45: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:376:76: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname dosys(register Name command, register Boolean ignore_error, register Boolean call_make, Boolean silent_error, Boolean always_exec, Name target, Boolean redirect_out_err); ^~~~~~~~~ ../include/mk/defs.h:379:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:379:77: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_conditional(register Name target, Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:380:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:75: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:103: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:380:130: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependencies(register Name target, Chain target_group, register Name_vector depes, register Cmd_line command, register Separator separator); ^~~~~~~~~ ../include/mk/defs.h:381:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_dependency(Property line, register Name depe, Boolean automatic); ^~~~~~~~~ ../include/mk/defs.h:382:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enter_equal(Name name, Name value, register Boolean append); ^~~~~~~~~ ../include/mk/defs.h:383:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:383:74: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Percent enter_percent(register Name target, Chain target_group, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:384:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Dyntarget enter_dyntarget(register Name target); ^~~~~~~~~ ../include/mk/defs.h:385:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:385:100: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name_vector enter_name(String string, Boolean tail_present, register wchar_t *string_start, register wchar_t *string_end, Name_vector current_names, Name_vector *extra_names, Boolean *target_group_seen); ^~~~~~~~~ ../include/mk/defs.h:386:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:46: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:386:81: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean exec_vp(register char *name, register char **argv, char **envp, register Boolean ignore_error); ^~~~~~~~~ ../include/mk/defs.h:389:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& exists(register Name target); ^~~~~~~~~ ../include/mk/defs.h:392:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_ar_suffix_rule(register Name target, Name true_target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:393:40: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_double_suffix_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:394:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname find_percent_rule(register Name target, Property *command, Boolean rechecking); ^~~~~~~~~ ../include/mk/defs.h:397:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:397:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Chain find_target_groups(register Name_vector target_list, register int i, Boolean reset); ^~~~~~~~~ ../include/mk/defs.h:416:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern wchar_t *getmem_wc(register int size); ^~~~~~~~~ ../include/mk/defs.h:431:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:431:55: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_dependencies(register Name target, register Property line); ^~~~~~~~~ ../include/mk/defs.h:435:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void print_value(register Name value, Daemon daemon); ^~~~~~~~~ ../include/mk/defs.h:436:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern timestruc_t& read_archive(register Name target); ^~~~~~~~~ ../include/mk/defs.h:438:37: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void read_directory_of_file(register Name file); ^~~~~~~~~ ../include/mk/defs.h:440:34: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:63: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:440:92: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Boolean read_simple_file(register Name makefile_name, register Boolean chase_path, register Boolean doname_it, Boolean complain, Boolean must_exist, Boolean report_file, Boolean lock_makefile); ^~~~~~~~~ ../include/mk/defs.h:446:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:49: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:79: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:446:110: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void reset_locals(register Name target, register Property old_locals, register Property conditional, register int index); ^~~~~~~~~ ../include/mk/defs.h:447:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:447:47: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void set_locals(register Name target, register Property old_locals); ^~~~~~~~~ ../include/mk/defs.h:448:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:448:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setvar_append(register Name name, register Name value); ^~~~~~~~~ ../include/mk/defs.h:454:42: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void special_reader(Name target, register Name_vector depes, Cmd_line command); ^~~~~~~~~ ../include/mk/defs.h:456:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Doname target_can_be_built(register Name target); ^~~~~~~~~ ../include/mk/defs.h:461:32: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name vpath_translation(register Name cmd); ^~~~~~~~~ In file included from state.cc:47: ../include/mksh/misc.h:41:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_char(wchar_t from, register String to); ^~~~~~~~~ ../include/mksh/misc.h:42:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:42:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:43:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:43:71: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register wchar_t *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:44:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void enable_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:49:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:49:51: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property get_prop(register Property start, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:50:21: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern char *getmem(register int size); ^~~~~~~~~ ../include/mksh/misc.h:51:39: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:51:86: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Name getname_fn(wchar_t *name, register int len, register Boolean dont_enter, register Boolean * foundp = NULL); ^~~~~~~~~ ../include/mksh/misc.h:55:35: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:55:57: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern Property maybe_append_prop(register Name target, register Property_id type); ^~~~~~~~~ ../include/mksh/misc.h:59:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void setup_interrupt(register void (*handler) (int)); ^~~~~~~~~ ../include/mksh/misc.h:62:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:48: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ ../include/mksh/misc.h:62:68: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] extern void append_string(register char *from, register String to, register int length); ^~~~~~~~~ state.cc:107:31: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static void print_auto_depes(register Dependency dependency, register FILE *fd, register Boolean built_this_run, register int *line_length, register char *target_name, jmp_buf long_jump); ^~~~~~~~~ state.cc:107:63: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static void print_auto_depes(register Dependency dependency, register FILE *fd, register Boolean built_this_run, register int *line_length, register char *target_name, jmp_buf long_jump); ^~~~~~~~~ state.cc:107:82: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static void print_auto_depes(register Dependency dependency, register FILE *fd, register Boolean built_this_run, register int *line_length, register char *target_name, jmp_buf long_jump); ^~~~~~~~~ state.cc:107:115: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static void print_auto_depes(register Dependency dependency, register FILE *fd, register Boolean built_this_run, register int *line_length, register char *target_name, jmp_buf long_jump); ^~~~~~~~~ state.cc:107:142: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] static void print_auto_depes(register Dependency dependency, register FILE *fd, register Boolean built_this_run, register int *line_length, register char *target_name, jmp_buf long_jump); ^~~~~~~~~ state.cc:138:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register FILE *fd; ^~~~~~~~~ state.cc:143:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int attempts = 0; ^~~~~~~~~ state.cc:145:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Property lines; ^~~~~~~~~ state.cc:146:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int m; ^~~~~~~~~ state.cc:148:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Boolean name_printed; ^~~~~~~~~ state.cc:152:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register Cmd_line cp; ^~~~~~~~~ state.cc:169:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (lock_err = file_lock(make_state->string_mb, ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.cc:169:15: note: place parentheses around the assignment to silence this warning if (lock_err = file_lock(make_state->string_mb, ^ ( state.cc:169:15: note: use '==' to turn this assignment into an equality comparison if (lock_err = file_lock(make_state->string_mb, ^ == state.cc:281:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (m = !dependency->stale ~~^~~~~~~~~~~~~~~~~~~~ state.cc:281:10: note: place parentheses around the assignment to silence this warning if (m = !dependency->stale ^ ( state.cc:281:10: note: use '==' to turn this assignment into an equality comparison if (m = !dependency->stale ^ == state.cc:440:18: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] print_auto_depes(register Dependency dependency, register FILE *fd, register Boolean built_this_run, register int *line_length, register char *target_name, jmp_buf long_jump) ^~~~~~~~~ state.cc:440:50: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] print_auto_depes(register Dependency dependency, register FILE *fd, register Boolean built_this_run, register int *line_length, register char *target_name, jmp_buf long_jump) ^~~~~~~~~ state.cc:440:69: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] print_auto_depes(register Dependency dependency, register FILE *fd, register Boolean built_this_run, register int *line_length, register char *target_name, jmp_buf long_jump) ^~~~~~~~~ state.cc:440:102: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] print_auto_depes(register Dependency dependency, register FILE *fd, register Boolean built_this_run, register int *line_length, register char *target_name, jmp_buf long_jump) ^~~~~~~~~ state.cc:440:129: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] print_auto_depes(register Dependency dependency, register FILE *fd, register Boolean built_this_run, register int *line_length, register char *target_name, jmp_buf long_jump) ^~~~~~~~~ 98 warnings generated. cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../include -D_GNU_SOURCE -DSUNOS4_AND_AFTER -DHDRSDIR='"/usr/local/heirloom/share/lib/make"' -DSHELL='"/bin/sh"' -DPOSIX_SHELL='"/bin/sh"' -c getopt.c cc -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -I../include -D_GNU_SOURCE -DSUNOS4_AND_AFTER -DHDRSDIR='"/usr/local/heirloom/share/lib/make"' -DSHELL='"/bin/sh"' -DPOSIX_SHELL='"/bin/sh"' -c version.c c++ -fstack-protector-strong ar.o depvar.o dist.o dmake.o doname.o dosys.o files.o globals.o implicit.o macro.o main.o make.o misc.o nse.o nse_printdep.o parallel.o pmake.o read.o read2.o rep.o state.o getopt.o version.o -L../bsd -lbsd -L../makestate -lmakestate -L../mksh -lmksh -L../vroot -lvroot -L../mksdmsi18n -lmksdmsi18n -o make c++ -O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 -D_GNU_SOURCE -I../include -D_GNU_SOURCE -DSUNOS4_AND_AFTER -DHDRSDIR='"/usr/local/heirloom/share/lib/make"' -DSHELL='"/bin/sh"' -DPOSIX_SHELL='"/bin/sh"' -c posix.cc c++ -fstack-protector-strong ar.o depvar.o dist.o dmake.o doname.o dosys.o files.o globals.o implicit.o macro.o main.o make.o misc.o nse.o nse_printdep.o parallel.o pmake.o read.o read2.o rep.o state.o getopt.o version.o posix.o -L../bsd -lbsd -L../makestate -lmakestate -L../mksh -lmksh -L../vroot -lvroot -L../mksdmsi18n -lmksdmsi18n -o make_sus =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for heirloom-devtools-070527 ===> Generating temporary packing list for i in yacc lex m4 sccs/cassi sccs/comobj sccs/mpwlib sccs/src sccs/help.d sccs/man make/bsd make/makestate make/mksdmsi18n make/mksh make/vroot make/src; do (cd "$i" && /usr/bin/make install) || exit; done test -d /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin || mkdir -p /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin test -d /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/libexec || mkdir -p /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/libexec install -c -m 755 yacc /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/yacc strip /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/yacc install -c -m 644 yaccpar /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/libexec/yaccpar install -c -m 644 liby.a /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/libexec/liby.a test -d /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/man/man1 || mkdir -p /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/man/man1 install -c -m 644 yacc.1 /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/man/man1/yacc.1 test -d /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin || mkdir -p /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin test -d /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/libexec/lex || mkdir -p /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/libexec/lex install -c -m 755 lex /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/lex strip /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/lex install -c -m 644 ncform /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/libexec/lex/ncform install -c -m 644 nceucform /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/libexec/lex/nceucform install -c -m 644 nrform /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/libexec/lex/nrform install -c -m 644 libl.a /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/libexec/libl.a test -d /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/man/man1 || mkdir -p /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/man/man1 install -c -m 644 lex.1 /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/man/man1/lex.1 test -d /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin || mkdir -p /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin install -c -m 755 m4 /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/m4 strip /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/m4 test -d /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/posix || mkdir -p /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/posix install -c -m 755 m4_xpg4 /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/posix/m4 strip /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/posix/m4 mkdir -p /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin install -c -m 755 admin /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/admin strip /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/admin install -c -m 755 comb /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/comb strip /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/comb install -c -m 755 delta /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/delta strip /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/delta install -c -m 755 get /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/get strip /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/get install -c -m 755 help /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/help strip /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/help install -c -m 755 prs /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/prs strip /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/prs install -c -m 755 prt /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/prt strip /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/prt install -c -m 755 rmchg /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/rmdel strip /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/rmdel rm -f /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/cdc cd /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin && ln -s rmdel cdc install -c -m 755 sccs /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/sccs strip /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/sccs install -c -m 755 sccsdiff /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/sccsdiff install -c -m 755 unget /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/unget strip /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/unget rm -f /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/sact cd /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin && ln -s unget sact install -c -m 755 val /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/val strip /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/val install -c -m 755 vc /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/vc strip /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/vc install -c -m 755 what /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/what strip /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/what mkdir -p /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/libexec/help for i in ad bd bu cb cm cmds co de default ge he prs rc un ut vc; do install -c -m 644 $i /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/libexec/help/$i || exit; done test -d /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/man/man1 || mkdir -p /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/man/man1 install -c -m 644 admin.1 /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/man/man1/admin.1 install -c -m 644 cdc.1 /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/man/man1/cdc.1 install -c -m 644 comb.1 /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/man/man1/comb.1 install -c -m 644 delta.1 /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/man/man1/delta.1 install -c -m 644 get.1 /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/man/man1/get.1 install -c -m 644 help.1 /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/man/man1/help.1 install -c -m 644 prs.1 /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/man/man1/prs.1 install -c -m 644 rmdel.1 /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/man/man1/rmdel.1 install -c -m 644 sact.1 /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/man/man1/sact.1 install -c -m 644 sccsdiff.1 /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/man/man1/sccsdiff.1 install -c -m 644 unget.1 /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/man/man1/unget.1 install -c -m 644 val.1 /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/man/man1/val.1 install -c -m 644 vc.1 /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/man/man1/vc.1 install -c -m 644 what.1 /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/man/man1/what.1 test -d /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/man/man1b || mkdir -p /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/man/man1b install -c -m 644 prt.1b /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/man/man1b/prt.1b install -c -m 644 sccs.1b /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/man/man1b/sccs.1b test -d /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/man/man5 || mkdir -p /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/man/man5 install -c -m 644 sccsfile.5 /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/man/man5/sccsfile.5 mkdir -p /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/lib/make install -c make /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/make strip /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/make rm -f /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/libexec/svr4.make ln -s ../bin/make /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/libexec/svr4.make install -c make_sus /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/posix/make strip /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/bin/posix/make install -c -m 644 make.rules.file /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/lib/make/make.rules install -c -m 644 svr4.make.rules.file /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/lib/make/svr4.make.rules test -d /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/man/man1 || mkdir -p /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/man/man1 install -c -m 644 make.1 /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/heirloom/share/man/man1/make.1 install -m 0644 /wrkdirs/usr/ports/devel/heirloom-devtools/work/heirloom-devtools.conf /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/etc/man.d cd /wrkdirs/usr/ports/devel/heirloom-devtools/work/heirloom-devtools-070527 && install -m 0644 CHANGES README /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/share/doc/heirloom-devtools cd /wrkdirs/usr/ports/devel/heirloom-devtools/work/heirloom-devtools-070527 && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE LICENSE /wrkdirs/usr/ports/devel/heirloom-devtools/work/stage/usr/local/share/doc/heirloom-devtools ====> 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-01T01:08:50+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=b25a6c32cf' '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 heirloom-devtools-070527 ===> Building heirloom-devtools-070527 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for heirloom-devtools-070527 build of devel/heirloom-devtools | heirloom-devtools-070527 ended at Mon Apr 1 02:09:33 BST 2024 build time: 00:00:44