=>> Building devel/heirloom-devtools build started at Wed Dec 10 23:27:18 EST 2025 port directory: /usr/ports/devel/heirloom-devtools package name: heirloom-devtools-070527 building for: FreeBSD pkg.DaveG.ca 13.5-RELEASE-p7 FreeBSD 13.5-RELEASE-p7 1305000 amd64 maintained by: hrs@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1229 Aug 27 2024 /usr/ports/devel/heirloom-devtools/Makefile Ports top last git commit: 62d8b1999233 Ports top unclean checkout: no Port dir last git commit: b25a6c32cfec Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1305000 Job Id: 02 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1305000 UNAME_v=FreeBSD 13.5-RELEASE-p7 1305000 UNAME_r=13.5-RELEASE-p7 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.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/02/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_13_5_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 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=/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 --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=/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=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fcommon -fstack-protector-strong -fno-strict-aliasing -std=c++14 " CXXSTD=c++14 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.5 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--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 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 #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---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-2.4.2_1.pkg [pkg.DaveG.ca] Installing pkg-2.4.2_1... [pkg.DaveG.ca] Extracting pkg-2.4.2_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 ===> heirloom-devtools-070527 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> heirloom-devtools-070527 depends on file: /usr/local/bin/ccache - 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 ===> 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] 295 | while (*p = *q++) | ~~~^~~~~~ y1.c:295:12: note: place parentheses around the assignment to silence this warning 295 | while (*p = *q++) | ^ | ( ) y1.c:295:12: note: use '==' to turn this assignment into an equality comparison 295 | while (*p = *q++) | ^ | == y1.c:387:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 386 | "memory: states,etc. %d/%d, parser %d/%d\n", | ~~ | %ld 387 | mem-tracemem, new_memsize, memp-amem, new_actsize); | ^~~~~~~~~~~~ y1.c:387:31: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 386 | "memory: states,etc. %d/%d, parser %d/%d\n", | ~~ | %ld 387 | 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:740:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | cstash(s) | ^ y2.c:1448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1448 | lhsfill(s) /* new rule, dump old (if exists), restart strings */ | ^ y2.c:1499:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1499 | while (*loc = *p++) | ~~~~~^~~~~~ y2.c:1499:14: note: place parentheses around the assignment to silence this warning 1499 | while (*loc = *p++) | ^ | ( ) y2.c:1499:14: note: use '==' to turn this assignment into an equality comparison 1499 | while (*loc = *p++) | ^ | == 3 warnings 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] 178 | 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] 183 | fprintf(ftable, "%4d ", p-amem); | ~~~ ^~~~~~ | %4ld y4.c:403:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 402 | fprintf(foutput, "Optimizer space used: input %d/%d, output %d/%d\n", | ~~ | %ld 403 | 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] 402 | fprintf(foutput, "Optimizer space used: input %d/%d, output %d/%d\n", | ~~ | %ld 403 | 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] 404 | 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] 416 | 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 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] 112 | fprintf(errorf, !no_input ? "" : "\"%s\":", sargv[optind]); | ^~ sub1.c:150:30: warning: format string is empty [-Wformat-zero-length] 150 | fprintf(errorf, !no_input?"":"\"%s\":", sargv[optind]); | ^~ sub1.c:149:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 149 | else { | ^ sub1.c:215:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 215 | while (*i++ = *s++); | ~~~~~^~~~~~ sub1.c:215:14: note: place parentheses around the assignment to silence this warning 215 | while (*i++ = *s++); | ^ | ( ) sub1.c:215:14: note: use '==' to turn this assignment into an equality comparison 215 | while (*i++ = *s++); | ^ | == sub1.c:499:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 499 | while (c = gch()) { | ~~^~~~~~~ sub1.c:499:11: note: place parentheses around the assignment to silence this warning 499 | while (c = gch()) { | ^ | ( ) sub1.c:499:11: note: use '==' to turn this assignment into an equality comparison 499 | while (c = gch()) { | ^ | == sub1.c:573:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 573 | while (c = gch()) { | ~~^~~~~~~ sub1.c:573:13: note: place parentheses around the assignment to silence this warning 573 | while (c = gch()) { | ^ | ( ) sub1.c:573:13: note: use '==' to turn this assignment into an equality comparison 573 | while (c = gch()) { | ^ | == sub1.c:594:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 594 | while (c = gch()) { | ~~^~~~~~~ sub1.c:594:13: note: place parentheses around the assignment to silence this warning 594 | while (c = gch()) { | ^ | ( ) sub1.c:594:13: note: use '==' to turn this assignment into an equality comparison 594 | 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] 153 | else warning( | ^ sub3.c:307:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 307 | while (cc = *s++) { | ~~~^~~~~~ sub3.c:307:14: note: place parentheses around the assignment to silence this warning 307 | while (cc = *s++) { | ^ | ( ) sub3.c:307:14: note: use '==' to turn this assignment into an equality comparison 307 | 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] 400 | "%d/%d nodes(%%e), %d/%d positions(%%p), %d/%d (%%n), %ld transitions,\n", | ~~ | %ld 401 | 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] 403 | "%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 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] 134 | } else | ^ m4.c:511:25: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 511 | "Trace(%d): %ls", Cp-callst, a1[0]); | ~~ ^~~~~~~~~ | %ld m4.c:739:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 739 | putbak('-'); | ^ ./m4.h:186:2: note: expanded from macro 'putbak' 186 | 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 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 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] 99 | if (efd=fopen(errorlog,"a")) | ~~~^~~~~~~~~~~~~~~~~~~~ deltack.c:99:11: note: place parentheses around the assignment to silence this warning 99 | if (efd=fopen(errorlog,"a")) | ^ | ( ) deltack.c:99:11: note: use '==' to turn this assignment into an equality comparison 99 | if (efd=fopen(errorlog,"a")) | ^ | == deltack.c:114:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 114 | while(h=strtok(0,",\0 ")) | ~^~~~~~~~~~~~~~~~~ deltack.c:114:9: note: place parentheses around the assignment to silence this warning 114 | while(h=strtok(0,",\0 ")) | ^ | ( ) deltack.c:114:9: note: use '==' to turn this assignment into an equality comparison 114 | while(h=strtok(0,",\0 ")) | ^ | == deltack.c:178:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 178 | if (efd=fopen(errorlog,"a")) | ~~~^~~~~~~~~~~~~~~~~~~~ deltack.c:178:11: note: place parentheses around the assignment to silence this warning 178 | if (efd=fopen(errorlog,"a")) | ^ | ( ) deltack.c:178:11: note: use '==' to turn this assignment into an equality comparison 178 | if (efd=fopen(errorlog,"a")) | ^ | == deltack.c:232:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 232 | else | ^ deltack.c:375:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 375 | if (efd=fopen(errorlog,"a")) | ~~~^~~~~~~~~~~~~~~~~~~~ deltack.c:375:11: note: place parentheses around the assignment to silence this warning 375 | if (efd=fopen(errorlog,"a")) | ^ | ( ) deltack.c:375:11: note: use '==' to turn this assignment into an equality comparison 375 | if (efd=fopen(errorlog,"a")) | ^ | == deltack.c:392:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 392 | if (efd=fopen(errorlog,"a")) | ~~~^~~~~~~~~~~~~~~~~~~~ deltack.c:392:11: note: place parentheses around the assignment to silence this warning 392 | if (efd=fopen(errorlog,"a")) | ^ | ( ) deltack.c:392:11: note: use '==' to turn this assignment into an equality comparison 392 | 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] 98 | while(lp=strchr(lp,*p)) | ~~^~~~~~~~~~~~~~ chkid.c:98:12: note: place parentheses around the assignment to silence this warning 98 | while(lp=strchr(lp,*p)) | ^ | ( ) chkid.c:98:12: note: use '==' to turn this assignment into an equality comparison 98 | while(lp=strchr(lp,*p)) | ^ | == chkid.c:72:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 72 | 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] 73 | while(dir[0] = readdir(dirf)) { | ~~~~~~~^~~~~~~~~~~~~~~ dofile.c:73:18: note: place parentheses around the assignment to silence this warning 73 | while(dir[0] = readdir(dirf)) { | ^ | ( ) dofile.c:73:18: note: use '==' to turn this assignment into an equality comparison 73 | while(dir[0] = readdir(dirf)) { | ^ | == dofile.c:109:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 109 | while(dir[0] = readdir(dirf)){ | ~~~~~~~^~~~~~~~~~~~~~~ dofile.c:109:16: note: place parentheses around the assignment to silence this warning 109 | while(dir[0] = readdir(dirf)){ | ^ | ( ) dofile.c:109:16: note: use '==' to turn this assignment into an equality comparison 109 | 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] 69 | for (; n = sidtoser(&sid,pkt); | ~~^~~~~~~~~~~~~~~~~~~~ dolist.c:69:20: note: place parentheses around the assignment to silence this warning 69 | for (; n = sidtoser(&sid,pkt); | ^ | ( ) dolist.c:69:20: note: use '==' to turn this assignment into an equality comparison 69 | for (; n = sidtoser(&sid,pkt); | ^ | == dolist.c:95:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 95 | if (n = sidtoser(&lowsid,pkt)) | ~~^~~~~~~~~~~~~~~~~~~~~~~ dolist.c:95:10: note: place parentheses around the assignment to silence this warning 95 | if (n = sidtoser(&lowsid,pkt)) | ^ | ( ) dolist.c:95:10: note: use '==' to turn this assignment into an equality comparison 95 | 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] 59 | while (*d++ = *s++) ; | ~~~~~^~~~~~ cat.c:59:15: note: place parentheses around the assignment to silence this warning 59 | while (*d++ = *s++) ; | ^ | ( ) cat.c:59:15: note: use '==' to turn this assignment into an equality comparison 59 | 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] 167 | while (c = *p++) { | ~~^~~~~~ fatal.c:167:26: note: place parentheses around the assignment to silence this warning 167 | while (c = *p++) { | ^ | ( ) fatal.c:167:26: note: use '==' to turn this assignment into an equality comparison 167 | 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] 92 | if (n=signal(j,setsig1)) | ~^~~~~~~~~~~~~~~~~~ setsig.c:92:9: note: place parentheses around the assignment to silence this warning 92 | if (n=signal(j,setsig1)) | ^ | ( ) setsig.c:92:9: note: use '==' to turn this assignment into an equality comparison 92 | 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] 50 | for (r = result; *r = *str++; r++) | ~~~^~~~~~~~ trnslat.c:50:22: note: place parentheses around the assignment to silence this warning 50 | for (r = result; *r = *str++; r++) | ^ | ( ) trnslat.c:50:22: note: use '==' to turn this assignment into an equality comparison 50 | 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] 194 | if((c == EOF)) { | ~~^~~~~~ admin.c:194:10: note: remove extraneous parentheses around the comparison to silence this warning 194 | if((c == EOF)) { | ~ ^ ~ admin.c:194:10: note: use '=' to turn this equality comparison into an assignment 194 | 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] 862 | copy(cp,q); | ^ ../hdr/defines.h:353:30: note: expanded from macro 'copy' 353 | # define copy(srce,dest) cat(dest,srce,0) | ^~~~ ../hdr/defines.h:312:34: note: passing argument to parameter here 312 | extern char * cat(register char *, ...); | ^ admin.c:879:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 879 | 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 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] 93 | if((c == EOF)) { | ~~^~~~~~ comb.c:93:10: note: remove extraneous parentheses around the comparison to silence this warning 93 | if((c == EOF)) { | ~ ^ ~ comb.c:93:10: note: use '=' to turn this equality comparison into an assignment 93 | if((c == EOF)) { | ^~ | = 1 warning generated. cc 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] 444 | while (n = getdiff(&type,&linenum)) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ delta.c:444:12: note: place parentheses around the assignment to silence this warning 444 | while (n = getdiff(&type,&linenum)) { | ^ | ( ) delta.c:444:12: note: use '==' to turn this assignment into an equality comparison 444 | while (n = getdiff(&type,&linenum)) { | ^ | == 1 warning generated. cc 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] 905 | while(*tp++ = *str++) | ~~~~~~^~~~~~~~ get.c:905:14: note: place parentheses around the assignment to silence this warning 905 | while(*tp++ = *str++) | ^ | ( ) get.c:905:14: note: use '==' to turn this assignment into an equality comparison 905 | while(*tp++ = *str++) | ^ | == get.c:1028:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1028 | else | ^ get.c:1085:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1085 | while (p=strrchr(tcmr,',')) { | ~^~~~~~~~~~~~~~~~~~ get.c:1085:10: note: place parentheses around the assignment to silence this warning 1085 | while (p=strrchr(tcmr,',')) { | ^ | ( ) get.c:1085:10: note: use '==' to turn this assignment into an equality comparison 1085 | while (p=strrchr(tcmr,',')) { | ^ | == get.c:1099:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1099 | } else { | ^ 4 warnings generated. cc 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 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] 185 | if((c == EOF)) { | ~~^~~~~~ prs.c:185:10: note: remove extraneous parentheses around the comparison to silence this warning 185 | if((c == EOF)) { | ~ ^ ~ prs.c:185:10: note: use '=' to turn this equality comparison into an assignment 185 | if((c == EOF)) { | ^~ | = 1 warning generated. cc 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] 176 | if((c == EOF)) { | ~~^~~~~~ prt.c:176:10: note: remove extraneous parentheses around the comparison to silence this warning 176 | if((c == EOF)) { | ~ ^ ~ prt.c:176:10: note: use '=' to turn this equality comparison into an assignment 176 | if((c == EOF)) { | ^~ | = prt.c:503:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 503 | while (p = lineread(EOF)) | ~~^~~~~~~~~~~~~~~ prt.c:503:12: note: place parentheses around the assignment to silence this warning 503 | while (p = lineread(EOF)) | ^ | ( ) prt.c:503:12: note: use '==' to turn this assignment into an equality comparison 503 | while (p = lineread(EOF)) | ^ | == 2 warnings generated. cc 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] 152 | if((c == EOF)) { | ~~^~~~~~ rmchg.c:152:10: note: remove extraneous parentheses around the comparison to silence this warning 152 | if((c == EOF)) { | ~ ^ ~ rmchg.c:152:10: note: use '=' to turn this equality comparison into an assignment 152 | if((c == EOF)) { | ^~ | = rmchg.c:617:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 617 | while(holdptr[++i] = strtok(0,",\n")); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ rmchg.c:617:23: note: place parentheses around the assignment to silence this warning 617 | while(holdptr[++i] = strtok(0,",\n")); | ^ | ( ) rmchg.c:617:23: note: use '==' to turn this assignment into an equality comparison 617 | while(holdptr[++i] = strtok(0,",\n")); | ^ | == rmchg.c:686:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 686 | while(mrhold[++i] = strtok(0,"\n,")); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ rmchg.c:686:20: note: place parentheses around the assignment to silence this warning 686 | while(mrhold[++i] = strtok(0,"\n,")); | ^ | ( ) rmchg.c:686:20: note: use '==' to turn this assignment into an equality comparison 686 | while(mrhold[++i] = strtok(0,"\n,")); | ^ | == rmchg.c:751:7: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] 751 | *ptr=(char)NULL; | ^~~~~~~~~~ 4 warnings generated. cc 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] 794 | while(dir = readdir(dirf)) { | ~~~~^~~~~~~~~~~~~~~ sccs.c:794:18: note: place parentheses around the assignment to silence this warning 794 | while(dir = readdir(dirf)) { | ^ | ( ) sccs.c:794:18: note: use '==' to turn this assignment into an equality comparison 794 | while(dir = readdir(dirf)) { | ^ | == sccs.c:1414:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 1414 | rval = clean((int) cmd->sccspath, ap); | ^~~~~~~~~~~~~~~~~~~ sccs.c:2160:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2160 | while (dir = readdir(dirfd)) { | ~~~~^~~~~~~~~~~~~~~~ sccs.c:2160:13: note: place parentheses around the assignment to silence this warning 2160 | while (dir = readdir(dirfd)) { | ^ | ( ) sccs.c:2160:13: note: use '==' to turn this assignment into an equality comparison 2160 | while (dir = readdir(dirfd)) { | ^ | == 3 warnings generated. cc 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] 116 | if((c == EOF)) { | ~~^~~~~~ unget.c:116:10: note: remove extraneous parentheses around the comparison to silence this warning 116 | if((c == EOF)) { | ~ ^ ~ unget.c:116:10: note: use '=' to turn this equality comparison into an assignment 116 | if((c == EOF)) { | ^~ | = unget.c:316:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 316 | else fatal("specified SID not in p-file (un3)"); | ^ 2 warnings generated. cc 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] 223 | if((c == EOF)) { | ~~^~~~~~ val.c:223:10: note: remove extraneous parentheses around the comparison to silence this warning 223 | if((c == EOF)) { | ~ ^ ~ val.c:223:10: note: use '=' to turn this equality comparison into an assignment 223 | if((c == EOF)) { | ^~ | = 1 warning generated. cc 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] 187 | for (p = &lineptr[1]; *lineptr++ = *p++; ) | ~~~~~~~~~~~^~~~~~ vc.c:187:38: note: place parentheses around the assignment to silence this warning 187 | for (p = &lineptr[1]; *lineptr++ = *p++; ) | ^ | ( ) vc.c:187:38: note: use '==' to turn this assignment into an equality comparison 187 | for (p = &lineptr[1]; *lineptr++ = *p++; ) | ^ | == vc.c:711:33: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 711 | for (t = (temp=s) + 1; *s++ = *t++;); | ~~~~~^~~~~~ vc.c:711:33: note: place parentheses around the assignment to silence this warning 711 | for (t = (temp=s) + 1; *s++ = *t++;); | ^ | ( ) vc.c:711:33: note: use '==' to turn this assignment into an equality comparison 711 | for (t = (temp=s) + 1; *s++ = *t++;); | ^ | == vc.c:732:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 732 | while (*r2++ = *r1++); | ~~~~~~^~~~~~~ vc.c:732:15: note: place parentheses around the assignment to silence this warning 732 | while (*r2++ = *r1++); | ^ | ( ) vc.c:732:15: note: use '==' to turn this assignment into an equality comparison 732 | while (*r2++ = *r1++); | ^ | == vc.c:750:33: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 750 | for (t = (temp=s) + 1; *s++ = *t++;); | ~~~~~^~~~~~ vc.c:750:33: note: place parentheses around the assignment to silence this warning 750 | for (t = (temp=s) + 1; *s++ = *t++;); | ^ | ( ) vc.c:750:33: note: use '==' to turn this assignment into an equality comparison 750 | for (t = (temp=s) + 1; *s++ = *t++;); | ^ | == 4 warnings generated. cc 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] 87 | if((c == EOF)) { | ~~^~~~~~ what.c:87:10: note: remove extraneous parentheses around the comparison to silence this warning 87 | if((c == EOF)) { | ~ ^ ~ what.c:87:10: note: use '=' to turn this equality comparison into an assignment 87 | if((c == EOF)) { | ^~ | = 1 warning generated. cc 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 48 | 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] 48 | 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] 50 | 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] 50 | 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] 51 | 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] 52 | 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] 52 | 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] 52 | 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] 54 | 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] 54 | 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] 41 | 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] 41 | 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] 42 | 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] 43 | 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] 45 | 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] 45 | 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] 41 | 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] 42 | 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] 42 | 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] 43 | 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] 43 | 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] 43 | 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] 44 | 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] 49 | 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] 49 | 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] 50 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 59 | 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] 62 | 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] 62 | 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] 62 | 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] 113 | 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] 113 | 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] 113 | 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] 172 | 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] 177 | fatal_mksh(NOCATGETS("*** Error: dup2(3, 1) failed: %s"), | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #define NOCATGETS(str) (str) | ^ dosys.cc:185:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 185 | fatal_mksh(NOCATGETS("*** Error: dup2(1, 2) failed: %s"), | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #define NOCATGETS(str) (str) | ^ dosys.cc:191:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 191 | 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] 196 | fatal_mksh(NOCATGETS("*** Error: dup2(3, 2) failed: %s"), | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #define NOCATGETS(str) (str) | ^ dosys.cc:224:12: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 224 | 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] 224 | 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] 224 | 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] 226 | register int length = command->hash.length; | ^~~~~~~~ dosys.cc:227:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 227 | register wchar_t *p; | ^~~~~~~~ dosys.cc:228:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 228 | register wchar_t *q; | ^~~~~~~~ dosys.cc:229:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 229 | register wchar_t *cmd_string; | ^~~~~~~~ dosys.cc:336:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 336 | 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] 343 | register Name shell = getvar(shell_name); | ^~~~~~~~ dosys.cc:344:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 344 | register char *shellname; | ^~~~~~~~ dosys.cc:363:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 363 | argv[argv_index++] = NOCATGETS("nice"); | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #define NOCATGETS(str) (str) | ^ dosys.cc:403:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 403 | 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] 408 | 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] 412 | 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] 416 | fatal_mksh("fork failed: %s", | ^ dosys.cc:443:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 443 | 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] 443 | 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] 443 | 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] 445 | register Name shell = getvar(shell_name); | ^~~~~~~~ dosys.cc:446:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 446 | register char *shellname; | ^~~~~~~~ dosys.cc:516:8: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 516 | 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] 516 | 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] 522 | register char **p; | ^~~~~~~~ dosys.cc:524:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 524 | register wchar_t *t; | ^~~~~~~~ dosys.cc:567:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 567 | 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] 604 | 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] 607 | 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] 610 | fatal_mksh("fork failed: %s", | ^ dosys.cc:647:7: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 647 | 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] 647 | 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] 669 | register pid_t pid; | ^~~~~~~~ dosys.cc:678:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 678 | 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] 808 | 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] 808 | 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] 810 | register FILE *fd; | ^~~~~~~~ dosys.cc:811:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 811 | register int chr; | ^~~~~~~~ dosys.cc:819:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 819 | 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] 852 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 41 | 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] 42 | 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] 42 | 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] 43 | 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] 43 | 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] 43 | 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] 44 | 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] 49 | 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] 49 | 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] 50 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 59 | 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] 62 | 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] 62 | 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] 62 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 48 | 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] 48 | 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] 50 | 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] 50 | 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] 51 | 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] 52 | 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] 52 | 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] 52 | 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] 54 | 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] 54 | 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] 41 | 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] 41 | 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] 42 | 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] 43 | 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] 45 | 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] 45 | 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] 41 | 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] 42 | 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] 42 | 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] 43 | 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] 43 | 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] 43 | 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] 44 | 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] 49 | 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] 49 | 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] 50 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 59 | 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] 62 | 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] 62 | 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] 62 | 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] 41 | 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] 61 | 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] 61 | 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] 88 | getvar(register Name name) | ^~~~~~~~ macro.cc:92:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 92 | register Name result; | ^~~~~~~~ macro.cc:133:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 133 | 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] 136 | register Source source = &sourceb; | ^~~~~~~~ macro.cc:137:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 137 | register wchar_t *source_p = NULL; | ^~~~~~~~ macro.cc:138:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 138 | 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] 167 | 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] 170 | 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] 234 | fatal_reader_mksh(NOCATGETS("Internal error: Invalid byte sequence in expand_value()")); | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #define NOCATGETS(str) (str) | ^ macro.cc:277:14: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 277 | 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] 277 | 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] 284 | 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] 285 | 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] 286 | register int closer = 0; | ^~~~~~~~ macro.cc:289:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 289 | register int closer_level = 1; | ^~~~~~~~ macro.cc:337:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 337 | 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] 341 | fatal_reader_mksh(NOCATGETS("Internal error: Invalid byte sequence in expand_macro()")); | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #define NOCATGETS(str) (str) | ^ macro.cc:353:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 353 | 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] 374 | 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] 381 | fatal_reader_mksh("Premature EOF"); | ^ macro.cc:385:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 385 | fatal_reader_mksh(NOCATGETS("Internal error: Invalid byte sequence in expand_macro()")); | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #define NOCATGETS(str) (str) | ^ macro.cc:391:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 391 | 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] 474 | 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] 501 | 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] 536 | 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] 540 | 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] 543 | 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] 594 | 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] 676 | 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] 898 | value_to_add = ""; | ^ macro.cc:965:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 965 | 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] 972 | 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] 1027 | 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] 1034 | 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] 1066 | 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] 1066 | 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] 1069 | register Chain chain; | ^~~~~~~~ macro.cc:1155:15: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1155 | 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] 1155 | 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] 1157 | 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] 1158 | 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] 1162 | register Chain chain; | ^~~~~~~~ macro.cc:1480:10: warning: ISO C++11 does not allow conversion from string literal to 'wchar_t *' [-Wwritable-strings] 1480 | args = L"./"; | ^ macro.cc:1501:9: warning: ISO C++11 does not allow conversion from string literal to 'wchar_t *' [-Wwritable-strings] 1501 | args = L""; | ^ macro.cc:1551:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1551 | 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] 1572 | 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] 1592 | 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] 1620 | 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] 1638 | 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] 1657 | *right = L""; | ^ macro.cc:1690:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1690 | 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] 1750 | 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] 1767 | 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] 1880 | 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] 1883 | 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] 1895 | 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] 1898 | 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] 1901 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 41 | 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] 42 | 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] 42 | 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] 43 | 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] 43 | 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] 43 | 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] 44 | 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] 49 | 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] 49 | 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] 50 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 59 | 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] 62 | 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] 62 | 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] 62 | 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] 105 | 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] 105 | 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] 123 | getmem(register int size) | ^~~~~~~~ misc.cc:125:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 125 | 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] 179 | 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] 179 | 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] 179 | 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] 181 | register int length; | ^~~~~~~~ misc.cc:182:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 182 | register wchar_t *cap = name; | ^~~~~~~~ misc.cc:183:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 183 | register Name np; | ^~~~~~~~ misc.cc:291:18: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 291 | 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] 341 | s = "@-"; | ^ misc.cc:343:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 343 | s = "=@-?!+"; | ^ misc.cc:350:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 350 | 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] 355 | 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] 359 | 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] 427 | 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] 428 | 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] 601 | 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] 601 | 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] 603 | register Property *insert = &target->prop; | ^~~~~~~~ misc.cc:604:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 604 | register Property prop = *insert; | ^~~~~~~~ misc.cc:605:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 605 | register int size = 0; | ^~~~~~~~ misc.cc:651:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 651 | 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] 678 | 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] 678 | 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] 680 | register Property prop; | ^~~~~~~~ misc.cc:704:10: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 704 | 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] 704 | 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] 727 | 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] 727 | 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] 727 | 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] 758 | 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] 758 | 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] 758 | 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] 790 | 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] 790 | 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] 792 | register wchar_t *p; | ^~~~~~~~ misc.cc:839:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 839 | 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] 886 | 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] 907 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 48 | 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] 48 | 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] 50 | 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] 50 | 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] 51 | 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] 52 | 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] 52 | 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] 52 | 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] 54 | 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] 54 | 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] 41 | 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] 42 | 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] 42 | 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] 43 | 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] 43 | 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] 43 | 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] 44 | 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] 49 | 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] 49 | 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] 50 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 59 | 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] 62 | 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] 62 | 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] 62 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 41 | 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] 42 | 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] 42 | 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] 43 | 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] 43 | 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] 43 | 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] 44 | 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] 49 | 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] 49 | 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] 50 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 59 | 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] 62 | 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] 62 | 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] 62 | 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] 41 | 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] 72 | 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] 74 | register off_t to_read; | ^~~~~~~~ read.cc:75:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 75 | register int length; | ^~~~~~~~ read.cc:76:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 76 | 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] 123 | 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] 126 | 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] 166 | warning_mksh("newline is not last character in file %s", | ^ read.cc:170:4: warning: expression result unused [-Wunused-value] 170 | *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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 54 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 54 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 54 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 54 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 54 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 54 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 54 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 54 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 125 | file_lock_error(msg, name, NOCATGETS("symlink(%s, %s)"), | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 54 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 54 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 54 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 54 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 54 | 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] 44 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 373 | 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] 373 | 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] 373 | 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] 373 | 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] 374 | 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] 374 | 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] 374 | 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] 374 | 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] 376 | 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] 376 | 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] 376 | 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] 379 | 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] 379 | 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] 380 | 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] 380 | 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] 380 | 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] 380 | 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] 381 | 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] 382 | 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] 383 | 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] 383 | 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] 384 | 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] 385 | 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] 385 | 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] 386 | 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] 386 | 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] 386 | 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] 389 | 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] 392 | 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] 393 | 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] 394 | 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] 397 | 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] 397 | 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] 416 | 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] 431 | 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] 431 | 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] 435 | 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] 436 | 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] 438 | 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] 440 | 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] 440 | 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] 440 | 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] 446 | 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] 446 | 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] 446 | 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] 446 | 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] 447 | 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] 447 | 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] 448 | 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] 448 | 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] 454 | 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] 456 | 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] 461 | 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] 129 | (*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] 238 | fprintf(command_output_fp, iflag); | ^~~~~ report.cc:238:29: note: treat the string as an argument to avoid this 238 | fprintf(command_output_fp, iflag); | ^ | "%s", report.cc:296:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 296 | report_dependency(register char *name) | ^~~~~~~~ report.cc:298:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 298 | register char *filename; | ^~~~~~~~ report.cc:300:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 300 | register char *p; | ^~~~~~~~ report.cc:301:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 301 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 54 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 54 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 54 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 54 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 54 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 54 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 54 | 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] 67 | { 0, NULL, NOCATGETS("VIRTUAL_ROOT")}, | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #define NOCATGETS(str) (str) | ^ vroot.cc:68:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 68 | { 0, NULL, NOCATGETS("PATH")}, | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #define NOCATGETS(str) (str) | ^ vroot.cc:72:17: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 72 | 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] 72 | 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] 72 | 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] 74 | register int size= 0; | ^~~~~~~~ vroot.cc:75:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 75 | register int length; | ^~~~~~~~ vroot.cc:76:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 76 | register char *name; | ^~~~~~~~ vroot.cc:77:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 77 | register pathcellpt p; | ^~~~~~~~ vroot.cc:103:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 103 | 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] 103 | 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] 105 | register char *p; | ^~~~~~~~ vroot.cc:110:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 110 | if (p= strchr(string, ':')) *p= 0; | ~^~~~~~~~~~~~~~~~~~~~~ vroot.cc:110:9: note: place parentheses around the assignment to silence this warning 110 | if (p= strchr(string, ':')) *p= 0; | ^ | ( ) vroot.cc:110:9: note: use '==' to turn this assignment into an equality comparison 110 | 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] 112 | add_dir_to_path("", &result, -1); | ^ vroot.cc:163:16: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 163 | 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] 163 | 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] 163 | 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] 178 | 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] 180 | register pathcellt *vp; | ^~~~~~~~ vroot.cc:182:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 182 | register pathcellt *pp1; | ^~~~~~~~ vroot.cc:183:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 183 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 373 | 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] 373 | 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] 373 | 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] 373 | 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] 374 | 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] 374 | 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] 374 | 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] 374 | 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] 376 | 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] 376 | 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] 376 | 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] 379 | 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] 379 | 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] 380 | 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] 380 | 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] 380 | 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] 380 | 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] 381 | 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] 382 | 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] 383 | 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] 383 | 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] 384 | 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] 385 | 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] 385 | 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] 386 | 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] 386 | 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] 386 | 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] 389 | 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] 392 | 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] 393 | 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] 394 | 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] 397 | 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] 397 | 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] 416 | 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] 431 | 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] 431 | 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] 435 | 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] 436 | 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] 438 | 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] 440 | 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] 440 | 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] 440 | 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] 446 | 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] 446 | 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] 446 | 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] 446 | 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] 447 | 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] 447 | 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] 448 | 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] 448 | 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] 454 | 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] 456 | 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] 461 | 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] 41 | 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] 42 | 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] 42 | 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] 43 | 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] 43 | 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] 43 | 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] 44 | 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] 49 | 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] 49 | 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] 50 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 59 | 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] 62 | 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] 62 | 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] 62 | 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] 174 | 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] 175 | 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] 176 | 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] 177 | 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] 178 | 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] 178 | 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] 197 | 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] 200 | read_archive(register Name target) | ^~~~~~~~ ar.cc:202:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 202 | register Property member; | ^~~~~~~~ ar.cc:206:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 206 | register Name true_member = NULL; | ^~~~~~~~ ar.cc:287:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 287 | 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] 407 | close_archive(register Ar *arp) | ^~~~~~~~ ar.cc:432:18: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 432 | 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] 439 | register long len; | ^~~~~~~~ ar.cc:440:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 440 | register wchar_t *p; | ^~~~~~~~ ar.cc:441:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 441 | register char *q; | ^~~~~~~~ ar.cc:442:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 442 | register Name name; | ^~~~~~~~ ar.cc:631:27: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 631 | 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] 683 | 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] 683 | 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] 685 | register int len; | ^~~~~~~~ ar.cc:686:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 686 | register int i; | ^~~~~~~~ ar.cc:693:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 693 | register wchar_t *ap; | ^~~~~~~~ ar.cc:694:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 694 | register char *hp; | ^~~~~~~~ ar.cc:866:7: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 866 | sgetl(register char *buffer) | ^~~~~~~~ ar.cc:868:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 868 | register long w = 0; | ^~~~~~~~ ar.cc:869:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 869 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 373 | 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] 373 | 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] 373 | 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] 373 | 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] 374 | 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] 374 | 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] 374 | 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] 374 | 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] 376 | 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] 376 | 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] 376 | 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] 379 | 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] 379 | 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] 380 | 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] 380 | 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] 380 | 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] 380 | 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] 381 | 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] 382 | 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] 383 | 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] 383 | 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] 384 | 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] 385 | 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] 385 | 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] 386 | 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] 386 | 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] 386 | 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] 389 | 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] 392 | 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] 393 | 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] 394 | 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] 397 | 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] 397 | 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] 416 | 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] 431 | 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] 431 | 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] 435 | 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] 436 | 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] 438 | 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] 440 | 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] 440 | 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] 440 | 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] 446 | 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] 446 | 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] 446 | 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] 446 | 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] 447 | 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] 447 | 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] 448 | 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] 448 | 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] 454 | 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] 456 | 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] 461 | 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] 41 | 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] 42 | 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] 42 | 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] 43 | 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] 43 | 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] 43 | 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] 44 | 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] 49 | 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] 49 | 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] 50 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 59 | 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] 62 | 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] 62 | 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] 62 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 373 | 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] 373 | 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] 373 | 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] 373 | 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] 374 | 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] 374 | 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] 374 | 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] 374 | 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] 376 | 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] 376 | 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] 376 | 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] 379 | 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] 379 | 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] 380 | 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] 380 | 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] 380 | 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] 380 | 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] 381 | 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] 382 | 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] 383 | 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] 383 | 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] 384 | 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] 385 | 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] 385 | 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] 386 | 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] 386 | 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] 386 | 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] 389 | 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] 392 | 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] 393 | 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] 394 | 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] 397 | 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] 397 | 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] 416 | 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] 431 | 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] 431 | 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] 435 | 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] 436 | 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] 438 | 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] 440 | 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] 440 | 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] 440 | 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] 446 | 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] 446 | 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] 446 | 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] 446 | 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] 447 | 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] 447 | 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] 448 | 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] 448 | 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] 454 | 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] 456 | 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] 461 | 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] 41 | 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] 41 | 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] 42 | 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] 43 | 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] 45 | 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] 45 | 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] 41 | 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] 42 | 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] 42 | 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] 43 | 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] 43 | 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] 43 | 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] 44 | 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] 49 | 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] 49 | 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] 50 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 59 | 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] 62 | 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] 62 | 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] 62 | 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] 128 | 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] 128 | 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] 128 | 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] 128 | 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] 129 | 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] 129 | 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] 129 | 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] 129 | 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] 132 | 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] 134 | 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] 136 | 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] 138 | 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] 138 | 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] 139 | 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] 140 | 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] 140 | 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] 142 | 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] 142 | 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] 143 | 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] 144 | 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] 145 | 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] 145 | 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] 146 | 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] 146 | 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] 146 | 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] 146 | 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] 151 | 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] 151 | 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] 185 | 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] 185 | 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] 185 | 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] 185 | 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] 190 | 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] 340 | 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] 340 | 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] 340 | 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] 340 | 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] 348 | register Property line; | ^~~~~~~~ doname.cc:350:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 350 | register Dependency dependency; | ^~~~~~~~ doname.cc:354:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 354 | 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] 598 | switch (find_percent_rule( | ^~~~~~~~~~~~~~~~~~ 599 | target, | ~~~~~~~ 600 | &command, | ~~~~~~~~~ 601 | recheck_conditionals)) { | ~~~~~~~~~~~~~~~~~~~~~ doname.cc:668:13: warning: 6 enumeration values not handled in switch: 'build_dont_know', 'build_ok', 'build_in_progress'... [-Wswitch] 668 | switch (find_double_suffix_rule(target, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 669 | &command, | ~~~~~~~~~ 670 | recheck_conditionals)) { | ~~~~~~~~~~~~~~~~~~~~~ doname.cc:714:12: warning: 6 enumeration values not handled in switch: 'build_dont_know', 'build_ok', 'build_in_progress'... [-Wswitch] 714 | switch (find_suffix_rule(target, | ^~~~~~~~~~~~~~~~~~~~~~~~ 715 | target, | ~~~~~~~ 716 | empty_name, | ~~~~~~~~~~~ 717 | &command, | ~~~~~~~~~ 718 | recheck_conditionals)) { | ~~~~~~~~~~~~~~~~~~~~~ doname.cc:813:11: warning: 5 enumeration values not handled in switch: 'build_dont_know', 'build_failed', 'build_in_progress'... [-Wswitch] 813 | switch (result) { | ^~~~~~ doname.cc:1016:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1016 | register Dependency dependency; | ^~~~~~~~ doname.cc:1100:12: warning: 5 enumeration values not handled in switch: 'build_ok', 'build_in_progress', 'build_pending'... [-Wswitch] 1100 | switch (dep_result) { | ^~~~~~~~~~ doname.cc:1331:4: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1331 | register wchar_t *target_end; | ^~~~~~~~ doname.cc:1332:4: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1332 | register Dependency suffix; | ^~~~~~~~ doname.cc:1333:4: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1333 | register int suffix_length; | ^~~~~~~~ doname.cc:1409:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1409 | register wchar_t *p; | ^~~~~~~~ doname.cc:1411:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1411 | register Dependency dependency; | ^~~~~~~~ doname.cc:1412:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1412 | register Dependency *remove; | ^~~~~~~~ doname.cc:1415:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1415 | register Boolean set_at = false; | ^~~~~~~~ doname.cc:1416:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1416 | register wchar_t *start; | ^~~~~~~~ doname.cc:1418:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1418 | register Boolean reuse_cell; | ^~~~~~~~ doname.cc:1478:12: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 1478 | if ((*p == (int) parenleft_char)) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~ doname.cc:1478:12: note: remove extraneous parentheses around the comparison to silence this warning 1478 | if ((*p == (int) parenleft_char)) { | ~ ^ ~ doname.cc:1478:12: note: use '=' to turn this equality comparison into an assignment 1478 | if ((*p == (int) parenleft_char)) { | ^~ | = doname.cc:1668:13: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1668 | run_command(register Property line, Boolean) | ^~~~~~~~ doname.cc:1670:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1670 | register Doname result = build_ok; | ^~~~~~~~ doname.cc:1671:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1671 | register Boolean remember_only = false; | ^~~~~~~~ doname.cc:1672:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1672 | 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] 1808 | switch (result) { | ^~~~~~ doname.cc:2204:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 2204 | vpath_translation(register Name cmd) | ^~~~~~~~ doname.cc:2293:22: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 2293 | read_dependency_file(register Name filename) | ^~~~~~~~ doname.cc:2295:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 2295 | register Makefile_type save_makefile_type; | ^~~~~~~~ doname.cc:2338:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 2338 | register Makefile_type save_makefile_type; | ^~~~~~~~ doname.cc:2339:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 2339 | register Property makefile; | ^~~~~~~~ doname.cc:2382:11: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 2382 | 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] 2382 | 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] 2385 | 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] 2386 | register wchar_t *equal; | ^~~~~~~~ doname.cc:2387:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 2387 | register Name name; | ^~~~~~~~ doname.cc:2388:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 2388 | register Boolean append = false; | ^~~~~~~~ doname.cc:2465:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 2465 | 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] 2468 | 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] 2469 | 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] 2470 | register Cmd_line used = *insert; | ^~~~~~~~ doname.cc:2474:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 2474 | register Boolean new_command_longer = false; | ^~~~~~~~ doname.cc:2475:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 2475 | 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] 2810 | 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] 2810 | 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] 2813 | register Chain target_group; | ^~~~~~~~ doname.cc:3046:10: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 3046 | 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] 3046 | 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] 3048 | register int result; | ^~~~~~~~ doname.cc:3052:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 3052 | register wchar_t *p; | ^~~~~~~~ doname.cc:3054:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 3054 | register Property line; | ^~~~~~~~ doname.cc:3189:24: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 3189 | 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] 3197 | register Name directory = dot; | ^~~~~~~~ doname.cc:3198:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 3198 | 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] 3200 | register int length = p - wcb; | ^~~~~~~~ doname.cc:3253:26: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 3253 | add_pattern_conditionals(register Name target) | ^~~~~~~~ doname.cc:3255:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 3255 | register Property conditional; | ^~~~~~~~ doname.cc:3315:12: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 3315 | 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] 3315 | 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] 3317 | register Property conditional; | ^~~~~~~~ doname.cc:3318:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 3318 | register int i; | ^~~~~~~~ doname.cc:3319:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 3319 | register Boolean saved_conditional_macro_used; | ^~~~~~~~ doname.cc:3379:14: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 3379 | 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] 3379 | 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] 3379 | 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] 3379 | 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] 3381 | register Property this_conditional; | ^~~~~~~~ doname.cc:3674:21: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 3674 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 373 | 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] 373 | 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] 373 | 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] 373 | 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] 374 | 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] 374 | 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] 374 | 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] 374 | 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] 376 | 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] 376 | 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] 376 | 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] 379 | 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] 379 | 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] 380 | 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] 380 | 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] 380 | 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] 380 | 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] 381 | 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] 382 | 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] 383 | 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] 383 | 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] 384 | 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] 385 | 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] 385 | 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] 386 | 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] 386 | 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] 386 | 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] 389 | 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] 392 | 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] 393 | 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] 394 | 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] 397 | 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] 397 | 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] 416 | 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] 431 | 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] 431 | 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] 435 | 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] 436 | 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] 438 | 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] 440 | 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] 440 | 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] 440 | 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] 446 | 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] 446 | 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] 446 | 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] 446 | 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] 447 | 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] 447 | 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] 448 | 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] 448 | 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] 454 | 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] 456 | 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] 461 | 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] 48 | 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] 48 | 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] 50 | 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] 50 | 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] 51 | 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] 52 | 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] 52 | 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] 52 | 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] 54 | 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] 54 | 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] 41 | 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] 42 | 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] 42 | 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] 43 | 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] 43 | 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] 43 | 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] 44 | 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] 49 | 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] 49 | 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] 50 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 59 | 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] 62 | 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] 62 | 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] 62 | 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] 82 | 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] 82 | 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] 82 | 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] 85 | register int length = command->hash.length; | ^~~~~~~~ dosys.cc:87:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 87 | 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] 88 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 373 | 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] 373 | 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] 373 | 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] 373 | 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] 374 | 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] 374 | 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] 374 | 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] 374 | 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] 376 | 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] 376 | 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] 376 | 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] 379 | 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] 379 | 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] 380 | 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] 380 | 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] 380 | 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] 380 | 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] 381 | 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] 382 | 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] 383 | 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] 383 | 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] 384 | 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] 385 | 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] 385 | 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] 386 | 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] 386 | 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] 386 | 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] 389 | 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] 392 | 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] 393 | 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] 394 | 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] 397 | 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] 397 | 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] 416 | 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] 431 | 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] 431 | 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] 435 | 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] 436 | 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] 438 | 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] 440 | 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] 440 | 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] 440 | 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] 446 | 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] 446 | 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] 446 | 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] 446 | 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] 447 | 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] 447 | 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] 448 | 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] 448 | 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] 454 | 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] 456 | 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] 461 | 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] 41 | 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] 41 | 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] 42 | 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] 43 | 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] 45 | 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] 45 | 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] 41 | 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] 42 | 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] 42 | 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] 43 | 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] 43 | 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] 43 | 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] 44 | 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] 49 | 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] 49 | 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] 50 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 59 | 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] 62 | 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] 62 | 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] 62 | 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] 72 | 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] 73 | 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] 74 | 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] 76 | 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] 76 | 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] 77 | 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] 77 | 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] 96 | exists(register Name target) | ^~~~~~~~ files.cc:99:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 99 | register int result; | ^~~~~~~~ files.cc:190:17: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 190 | 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] 230 | vpath_exists(register Name target) | ^~~~~~~~ files.cc:316:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 316 | register struct dirent *dp; | ^~~~~~~~ files.cc:633:12: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 633 | 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] 633 | 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] 635 | register int pattern_ch; | ^~~~~~~~ files.cc:677:8: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 677 | 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] 677 | 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] 679 | register long lower_bound; | ^~~~~~~~ files.cc:680:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 680 | register long string_ch; | ^~~~~~~~ files.cc:681:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 681 | register long pattern_ch; | ^~~~~~~~ files.cc:682:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 682 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 373 | 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] 373 | 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] 373 | 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] 373 | 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] 374 | 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] 374 | 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] 374 | 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] 374 | 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] 376 | 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] 376 | 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] 376 | 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] 379 | 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] 379 | 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] 380 | 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] 380 | 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] 380 | 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] 380 | 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] 381 | 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] 382 | 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] 383 | 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] 383 | 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] 384 | 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] 385 | 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] 385 | 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] 386 | 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] 386 | 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] 386 | 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] 389 | 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] 392 | 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] 393 | 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] 394 | 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] 397 | 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] 397 | 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] 416 | 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] 431 | 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] 431 | 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] 435 | 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] 436 | 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] 438 | 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] 440 | 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] 440 | 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] 440 | 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] 446 | 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] 446 | 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] 446 | 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] 446 | 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] 447 | 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] 447 | 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] 448 | 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] 448 | 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] 454 | 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] 456 | 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] 461 | 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] 204 | char *tmpdir = NOCATGETS("/tmp"); | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #define NOCATGETS(str) (str) | ^ globals.cc:205:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 205 | char *temp_file_directory = NOCATGETS("."); | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 373 | 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] 373 | 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] 373 | 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] 373 | 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] 374 | 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] 374 | 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] 374 | 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] 374 | 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] 376 | 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] 376 | 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] 376 | 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] 379 | 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] 379 | 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] 380 | 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] 380 | 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] 380 | 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] 380 | 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] 381 | 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] 382 | 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] 383 | 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] 383 | 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] 384 | 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] 385 | 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] 385 | 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] 386 | 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] 386 | 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] 386 | 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] 389 | 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] 392 | 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] 393 | 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] 394 | 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] 397 | 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] 397 | 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] 416 | 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] 431 | 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] 431 | 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] 435 | 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] 436 | 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] 438 | 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] 440 | 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] 440 | 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] 440 | 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] 446 | 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] 446 | 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] 446 | 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] 446 | 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] 447 | 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] 447 | 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] 448 | 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] 448 | 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] 454 | 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] 456 | 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] 461 | 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] 41 | 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] 41 | 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] 42 | 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] 43 | 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] 45 | 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] 45 | 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] 41 | 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] 42 | 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] 42 | 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] 43 | 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] 43 | 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] 43 | 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] 44 | 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] 49 | 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] 49 | 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] 50 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 59 | 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] 62 | 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] 62 | 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] 62 | 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] 62 | 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] 63 | 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] 64 | 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] 65 | 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] 121 | register wchar_t *put_suffix; | ^~~~~~~~ implicit.cc:122:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 122 | register Property source_suffix; | ^~~~~~~~ implicit.cc:123:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 123 | register Name source; | ^~~~~~~~ implicit.cc:125:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 125 | register Property line; | ^~~~~~~~ implicit.cc:239:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 239 | 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 239 | 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 239 | 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] 242 | 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 242 | 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 242 | 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] 323 | switch (result) { | ^~~~~~ implicit.cc:504:21: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 504 | 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] 507 | register Dependency suffix; | ^~~~~~~~ implicit.cc:508:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 508 | 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] 554 | switch (find_suffix_rule(target, | ^~~~~~~~~~~~~~~~~~~~~~~~ 555 | body, | ~~~~~ 556 | dot_a, | ~~~~~~ 557 | command, | ~~~~~~~~ 558 | rechecking)) { | ~~~~~~~~~~~ implicit.cc:599:25: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 599 | 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] 603 | register wchar_t *target_end; | ^~~~~~~~ implicit.cc:604:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 604 | register Dependency suffix; | ^~~~~~~~ implicit.cc:605:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 605 | 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] 659 | switch (find_suffix_rule(target, | ^~~~~~~~~~~~~~~~~~~~~~~~ 660 | target_body, | ~~~~~~~~~~~~ 661 | suffix->name, | ~~~~~~~~~~~~~ 662 | command, | ~~~~~~~~ 663 | rechecking)) { | ~~~~~~~~~~~ implicit.cc:705:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 705 | 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] 707 | register Dependency source_suffix; | ^~~~~~~~ implicit.cc:709:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 709 | register Property line; | ^~~~~~~~ implicit.cc:710:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 710 | register Property suffix; | ^~~~~~~~ implicit.cc:803:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 803 | 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] 805 | register Percent pat_rule, pat_depe; | ^~~~~~~~ implicit.cc:805:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 805 | register Percent pat_rule, pat_depe; | ^~~~~~~~ implicit.cc:806:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 806 | register Name depe_to_check; | ^~~~~~~~ implicit.cc:807:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 807 | register Dependency depe; | ^~~~~~~~ implicit.cc:808:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 808 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 373 | 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] 373 | 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] 373 | 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] 373 | 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] 374 | 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] 374 | 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] 374 | 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] 374 | 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] 376 | 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] 376 | 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] 376 | 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] 379 | 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] 379 | 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] 380 | 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] 380 | 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] 380 | 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] 380 | 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] 381 | 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] 382 | 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] 383 | 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] 383 | 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] 384 | 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] 385 | 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] 385 | 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] 386 | 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] 386 | 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] 386 | 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] 389 | 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] 392 | 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] 393 | 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] 394 | 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] 397 | 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] 397 | 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] 416 | 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] 431 | 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] 431 | 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] 435 | 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] 436 | 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] 438 | 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] 440 | 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] 440 | 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] 440 | 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] 446 | 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] 446 | 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] 446 | 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] 446 | 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] 447 | 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] 447 | 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] 448 | 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] 448 | 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] 454 | 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] 456 | 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] 461 | 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] 41 | 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] 41 | 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] 42 | 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] 43 | 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] 45 | 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] 45 | 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] 41 | 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] 42 | 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] 42 | 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] 43 | 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] 43 | 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] 43 | 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] 44 | 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] 49 | 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] 49 | 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] 50 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 59 | 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] 62 | 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] 62 | 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] 62 | 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] 71 | 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] 71 | 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] 73 | 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] 74 | 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] 136 | 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] 136 | 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] 137 | 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] 137 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 373 | 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] 373 | 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] 373 | 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] 373 | 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] 374 | 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] 374 | 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] 374 | 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] 374 | 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] 376 | 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] 376 | 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] 376 | 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] 379 | 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] 379 | 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] 380 | 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] 380 | 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] 380 | 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] 380 | 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] 381 | 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] 382 | 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] 383 | 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] 383 | 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] 384 | 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] 385 | 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] 385 | 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] 386 | 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] 386 | 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] 386 | 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] 389 | 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] 392 | 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] 393 | 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] 394 | 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] 397 | 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] 397 | 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] 416 | 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] 431 | 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] 431 | 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] 435 | 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] 436 | 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] 438 | 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] 440 | 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] 440 | 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] 440 | 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] 446 | 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] 446 | 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] 446 | 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] 446 | 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] 447 | 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] 447 | 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] 448 | 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] 448 | 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] 454 | 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] 456 | 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] 461 | 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] 41 | 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] 41 | 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] 42 | 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] 43 | 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] 45 | 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] 45 | 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] 41 | 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] 42 | 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] 42 | 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] 43 | 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] 43 | 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] 43 | 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] 44 | 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] 49 | 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] 49 | 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] 50 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 59 | 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] 62 | 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] 62 | 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] 62 | 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] 44 | 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] 109 | 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] 109 | 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] 188 | 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] 188 | 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] 207 | 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] 254 | register char *cp; | ^~~~~~~~ main.cc:718:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 718 | report_dependency(""); | ^ main.cc:1216:22: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1216 | 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] 1216 | 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] 1218 | register int ch; | ^~~~~~~~ main.cc:1223:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1223 | register int i; | ^~~~~~~~ main.cc:1224:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1224 | register int j; | ^~~~~~~~ main.cc:1225:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1225 | register int k; | ^~~~~~~~ main.cc:1226:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1226 | register int makefile_next = 0; /* | ^~~~~~~~ main.cc:1428:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1428 | argv[i] = NOCATGETS("-c"); | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #define NOCATGETS(str) (str) | ^ main.cc:1434:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1434 | argv[i] = NOCATGETS("-g"); | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #define NOCATGETS(str) (str) | ^ main.cc:1445:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1445 | argv[i] = NOCATGETS("-M"); | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #define NOCATGETS(str) (str) | ^ main.cc:1451:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1451 | argv[i] = NOCATGETS("-m"); | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #define NOCATGETS(str) (str) | ^ main.cc:1458:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1458 | argv[i] = NOCATGETS("-O"); | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #define NOCATGETS(str) (str) | ^ main.cc:1462:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1462 | argv[i] = NOCATGETS("-K"); | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #define NOCATGETS(str) (str) | ^ main.cc:1465:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1465 | argv[i] = NOCATGETS("-o"); | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #define NOCATGETS(str) (str) | ^ main.cc:1471:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1471 | argv[i] = NOCATGETS("-x"); | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #define NOCATGETS(str) (str) | ^ main.cc:1624:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1624 | mf_argv[0] = NOCATGETS("MAKEFLAGS"); | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #define NOCATGETS(str) (str) | ^ main.cc:1703:22: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1703 | parse_command_option(register char ch) | ^~~~~~~~ main.cc:2145:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 2145 | register char *cp; | ^~~~~~~~ main.cc:2151:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 2151 | register int i; | ^~~~~~~~ main.cc:2154:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 2154 | register Property macro; | ^~~~~~~~ main.cc:2157:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 2157 | register Boolean makefile_read = false; | ^~~~~~~~ main.cc:2162:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 2162 | register Name name; | ^~~~~~~~ main.cc:2171:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 2171 | register Name value; | ^~~~~~~~ main.cc:2487:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2487 | } while ( tmp_char = *cp++ ); | ~~~~~~~~~^~~~~~~ main.cc:2487:22: note: place parentheses around the assignment to silence this warning 2487 | } while ( tmp_char = *cp++ ); | ^ | ( ) main.cc:2487:22: note: use '==' to turn this assignment into an equality comparison 2487 | } while ( tmp_char = *cp++ ); | ^ | == main.cc:2540:24: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 2540 | if ((argv[i][2] == (int) nul_char)) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ main.cc:2540:24: note: remove extraneous parentheses around the comparison to silence this warning 2540 | if ((argv[i][2] == (int) nul_char)) { | ~ ^ ~ main.cc:2540:24: note: use '=' to turn this equality comparison into an assignment 2540 | if ((argv[i][2] == (int) nul_char)) { | ^~ | = main.cc:2793:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2793 | if (slashp = strrchr(make_state->string_mb, '/')) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cc:2793:17: note: place parentheses around the assignment to silence this warning 2793 | if (slashp = strrchr(make_state->string_mb, '/')) { | ^ | ( ) main.cc:2793:17: note: use '==' to turn this assignment into an equality comparison 2793 | 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] 2832 | register char *cp; | ^~~~~~~~ main.cc:2833:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 2833 | register int i; | ^~~~~~~~ main.cc:2835:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 2835 | register Name name; | ^~~~~~~~ main.cc:2839:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 2839 | register Name value; | ^~~~~~~~ main.cc:3042:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 3042 | 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] 3047 | option = NOCATGETS(" -g "); | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #define NOCATGETS(str) (str) | ^ main.cc:3049:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3049 | option = NOCATGETS(" -j "); | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #define NOCATGETS(str) (str) | ^ main.cc:3051:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3051 | option = NOCATGETS(" -m "); | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #define NOCATGETS(str) (str) | ^ main.cc:3053:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3053 | option = NOCATGETS(" -o "); | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #define NOCATGETS(str) (str) | ^ main.cc:3055:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3055 | option = NOCATGETS(" -c "); | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #define NOCATGETS(str) (str) | ^ main.cc:3057:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3057 | option = NOCATGETS(" -M "); | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #define NOCATGETS(str) (str) | ^ main.cc:3059:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3059 | option = NOCATGETS(" -x DMAKE_OUTPUT_MODE="); | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #define NOCATGETS(str) (str) | ^ main.cc:3061:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 3061 | option = NOCATGETS(" -x SUN_MAKE_COMPAT_MODE="); | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #define NOCATGETS(str) (str) | ^ main.cc:3092:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 3092 | register char **environment; | ^~~~~~~~ main.cc:3096:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 3096 | register wchar_t *name; | ^~~~~~~~ main.cc:3097:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 3097 | register wchar_t *value; | ^~~~~~~~ main.cc:3098:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 3098 | register Name macro; | ^~~~~~~~ main.cc:3211:15: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 3211 | 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] 3253 | 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] 3498 | report_recursion(register Name target) | ^~~~~~~~ main.cc:3500:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 3500 | 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] 3530 | 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] 3531 | 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] 3532 | 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] 3533 | 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] 3534 | register char *name; /* macro name */ | ^~~~~~~~ main.cc:3535:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 3535 | register char *value; /* macro value */ | ^~~~~~~~ main.cc:3536:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 3536 | register int len_array; | ^~~~~~~~ main.cc:3537:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 3537 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 373 | 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] 373 | 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] 373 | 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] 373 | 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] 374 | 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] 374 | 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] 374 | 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] 374 | 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] 376 | 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] 376 | 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] 376 | 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] 379 | 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] 379 | 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] 380 | 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] 380 | 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] 380 | 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] 380 | 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] 381 | 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] 382 | 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] 383 | 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] 383 | 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] 384 | 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] 385 | 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] 385 | 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] 386 | 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] 386 | 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] 386 | 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] 389 | 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] 392 | 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] 393 | 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] 394 | 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] 397 | 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] 397 | 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] 416 | 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] 431 | 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] 431 | 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] 435 | 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] 436 | 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] 438 | 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] 440 | 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] 440 | 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] 440 | 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] 446 | 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] 446 | 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] 446 | 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] 446 | 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] 447 | 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] 447 | 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] 448 | 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] 448 | 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] 454 | 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] 456 | 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] 461 | 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] 41 | 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] 41 | 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] 42 | 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] 43 | 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] 45 | 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] 45 | 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] 41 | 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] 42 | 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] 42 | 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] 43 | 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] 43 | 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] 43 | 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] 44 | 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] 49 | 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] 49 | 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] 50 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 59 | 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] 62 | 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] 62 | 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] 62 | 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] 44 | 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] 89 | 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] 90 | 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] 304 | return "File does not exist"; | ^ misc.cc:307:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 307 | return "Younger than any file"; | ^ misc.cc:395:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 395 | register Property prop; | ^~~~~~~~ misc.cc:396:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 396 | register Dependency dep; | ^~~~~~~~ misc.cc:397:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 397 | register Cmd_line rule; | ^~~~~~~~ misc.cc:541:12: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 541 | print_rule(register Name target) | ^~~~~~~~ misc.cc:543:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 543 | register Cmd_line rule; | ^~~~~~~~ misc.cc:544:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 544 | register Property line; | ^~~~~~~~ misc.cc:545:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 545 | register Dependency dependency; | ^~~~~~~~ misc.cc:591:21: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 591 | 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] 593 | register Property line; | ^~~~~~~~ misc.cc:594:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 594 | register Dependency dependency; | ^~~~~~~~ misc.cc:795:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 795 | add_dir_to_path(NOCATGETS("."), &vroot_path, -1); | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #define NOCATGETS(str) (str) | ^ misc.cc:796:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 796 | add_dir_to_path(NOCATGETS("/bin"), &vroot_path, -1); | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #define NOCATGETS(str) (str) | ^ misc.cc:797:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 797 | add_dir_to_path(NOCATGETS("/usr/bin"), &vroot_path, -1); | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #define NOCATGETS(str) (str) | ^ misc.cc:992:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 992 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 373 | 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] 373 | 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] 373 | 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] 373 | 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] 374 | 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] 374 | 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] 374 | 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] 374 | 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] 376 | 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] 376 | 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] 376 | 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] 379 | 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] 379 | 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] 380 | 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] 380 | 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] 380 | 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] 380 | 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] 381 | 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] 382 | 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] 383 | 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] 383 | 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] 384 | 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] 385 | 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] 385 | 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] 386 | 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] 386 | 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] 386 | 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] 389 | 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] 392 | 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] 393 | 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] 394 | 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] 397 | 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] 397 | 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] 416 | 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] 431 | 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] 431 | 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] 435 | 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] 436 | 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] 438 | 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] 440 | 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] 440 | 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] 440 | 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] 446 | 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] 446 | 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] 446 | 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] 446 | 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] 447 | 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] 447 | 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] 448 | 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] 448 | 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] 454 | 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] 456 | 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] 461 | 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] 41 | 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] 42 | 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] 42 | 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] 43 | 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] 43 | 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] 43 | 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] 44 | 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] 49 | 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] 49 | 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] 50 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 59 | 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] 62 | 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] 62 | 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] 62 | 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] 46 | 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] 46 | 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] 47 | 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] 47 | 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] 55 | 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] 82 | 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] 82 | 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] 183 | 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] 183 | 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] 185 | register Dependency dep; | ^~~~~~~~ nse_printdep.cc:465:13: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 465 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 373 | 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] 373 | 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] 373 | 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] 373 | 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] 374 | 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] 374 | 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] 374 | 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] 374 | 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] 376 | 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] 376 | 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] 376 | 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] 379 | 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] 379 | 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] 380 | 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] 380 | 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] 380 | 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] 380 | 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] 381 | 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] 382 | 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] 383 | 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] 383 | 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] 384 | 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] 385 | 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] 385 | 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] 386 | 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] 386 | 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] 386 | 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] 389 | 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] 392 | 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] 393 | 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] 394 | 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] 397 | 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] 397 | 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] 416 | 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] 431 | 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] 431 | 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] 435 | 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] 436 | 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] 438 | 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] 440 | 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] 440 | 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] 440 | 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] 446 | 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] 446 | 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] 446 | 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] 446 | 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] 447 | 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] 447 | 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] 448 | 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] 448 | 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] 454 | 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] 456 | 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] 461 | 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] 48 | 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] 48 | 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] 50 | 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] 50 | 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] 51 | 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] 52 | 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] 52 | 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] 52 | 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] 54 | 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] 54 | 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] 41 | 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] 41 | 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] 42 | 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] 43 | 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] 45 | 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] 45 | 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] 41 | 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] 42 | 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] 42 | 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] 43 | 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] 43 | 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] 43 | 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] 44 | 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] 49 | 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] 49 | 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] 50 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 59 | 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] 62 | 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] 62 | 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] 62 | 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] 936 | process_running = run_rule_commands(local_host, commands); | ^ parallel.cc:96:20: note: expanded from macro 'local_host' 96 | #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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 373 | 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] 373 | 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] 373 | 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] 373 | 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] 374 | 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] 374 | 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] 374 | 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] 374 | 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] 376 | 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] 376 | 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] 376 | 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] 379 | 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] 379 | 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] 380 | 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] 380 | 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] 380 | 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] 380 | 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] 381 | 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] 382 | 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] 383 | 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] 383 | 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] 384 | 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] 385 | 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] 385 | 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] 386 | 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] 386 | 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] 386 | 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] 389 | 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] 392 | 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] 393 | 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] 394 | 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] 397 | 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] 397 | 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] 416 | 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] 431 | 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] 431 | 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] 435 | 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] 436 | 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] 438 | 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] 440 | 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] 440 | 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] 440 | 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] 446 | 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] 446 | 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] 446 | 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] 446 | 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] 447 | 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] 447 | 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] 448 | 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] 448 | 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] 454 | 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] 456 | 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] 461 | 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] 41 | 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] 42 | 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] 42 | 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] 43 | 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] 43 | 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] 43 | 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] 44 | 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] 49 | 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] 49 | 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] 50 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 59 | 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] 62 | 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] 62 | 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] 62 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 373 | 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] 373 | 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] 373 | 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] 373 | 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] 374 | 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] 374 | 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] 374 | 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] 374 | 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] 376 | 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] 376 | 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] 376 | 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] 379 | 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] 379 | 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] 380 | 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] 380 | 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] 380 | 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] 380 | 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] 381 | 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] 382 | 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] 383 | 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] 383 | 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] 384 | 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] 385 | 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] 385 | 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] 386 | 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] 386 | 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] 386 | 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] 389 | 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] 392 | 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] 393 | 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] 394 | 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] 397 | 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] 397 | 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] 416 | 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] 431 | 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] 431 | 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] 435 | 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] 436 | 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] 438 | 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] 440 | 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] 440 | 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] 440 | 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] 446 | 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] 446 | 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] 446 | 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] 446 | 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] 447 | 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] 447 | 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] 448 | 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] 448 | 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] 454 | 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] 456 | 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] 461 | 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] 41 | 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] 41 | 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] 42 | 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] 43 | 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] 45 | 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] 45 | 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] 41 | 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] 42 | 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] 42 | 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] 43 | 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] 43 | 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] 43 | 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] 44 | 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] 49 | 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] 49 | 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] 50 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 59 | 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] 62 | 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] 62 | 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] 62 | 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] 41 | 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] 74 | 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] 76 | 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] 76 | 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] 76 | 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] 78 | 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] 78 | 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] 112 | 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] 112 | 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] 112 | 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] 114 | 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] 118 | register int n; | ^~~~~~~~ read.cc:120:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 120 | register Source source = ALLOC(Source); | ^~~~~~~~ read.cc:124:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 124 | register int length; | ^~~~~~~~ read.cc:132:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 132 | register wchar_t *string_start; | ^~~~~~~~ read.cc:133:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 133 | register wchar_t *string_end; | ^~~~~~~~ read.cc:166:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 166 | add_dir_to_path(".", | ^ read.cc:169:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 169 | add_dir_to_path(NOCATGETS(HDRSDIR), | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #define NOCATGETS(str) (str) | ^ read.cc:213:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 213 | add_dir_to_path(NOCATGETS("/usr/include/make"), | ^ ../include/avo/intl.h:59:24: note: expanded from macro 'NOCATGETS' 59 | #define NOCATGETS(str) (str) | ^ read.cc:529:16: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 529 | 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] 536 | register wchar_t *string_start; | ^~~~~~~~ read.cc:538:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 538 | register Boolean macro_seen_in_string; | ^~~~~~~~ read.cc:542:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 542 | register int distance; | ^~~~~~~~ read.cc:543:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 543 | register int paren_count; | ^~~~~~~~ read.cc:558:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 558 | register Reader_state state; | ^~~~~~~~ read.cc:559:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 559 | register Reader_state on_eoln_state; | ^~~~~~~~ read.cc:560:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 560 | register Separator separator = none_seen; | ^~~~~~~~ read.cc:2272:18: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 2272 | 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] 2272 | 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] 2272 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 373 | 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] 373 | 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] 373 | 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] 373 | 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] 374 | 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] 374 | 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] 374 | 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] 374 | 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] 376 | 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] 376 | 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] 376 | 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] 379 | 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] 379 | 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] 380 | 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] 380 | 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] 380 | 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] 380 | 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] 381 | 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] 382 | 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] 383 | 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] 383 | 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] 384 | 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] 385 | 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] 385 | 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] 386 | 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] 386 | 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] 386 | 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] 389 | 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] 392 | 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] 393 | 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] 394 | 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] 397 | 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] 397 | 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] 416 | 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] 431 | 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] 431 | 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] 435 | 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] 436 | 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] 438 | 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] 440 | 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] 440 | 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] 440 | 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] 446 | 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] 446 | 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] 446 | 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] 446 | 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] 447 | 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] 447 | 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] 448 | 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] 448 | 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] 454 | 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] 456 | 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] 461 | 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] 48 | 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] 48 | 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] 50 | 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] 50 | 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] 51 | 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] 52 | 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] 52 | 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] 52 | 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] 54 | 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] 54 | 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] 41 | 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] 41 | 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] 42 | 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] 43 | 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] 45 | 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] 45 | 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] 41 | 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] 42 | 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] 42 | 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] 43 | 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] 43 | 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] 43 | 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] 44 | 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] 49 | 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] 49 | 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] 50 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 59 | 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] 62 | 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] 62 | 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] 62 | 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] 68 | 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] 68 | 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] 68 | 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] 69 | 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] 69 | 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] 70 | 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] 72 | 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] 105 | 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] 105 | 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] 108 | register wchar_t *cp; | ^~~~~~~~ read2.cc:203:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 203 | 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] 203 | 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] 203 | 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] 205 | register Boolean entry = false; | ^~~~~~~~ read2.cc:213:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 213 | register int paren_count; | ^~~~~~~~ read2.cc:214:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 214 | register Boolean has_dollar; | ^~~~~~~~ read2.cc:215:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 215 | register wchar_t *cq; | ^~~~~~~~ read2.cc:345:16: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 345 | 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] 345 | 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] 348 | 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] 349 | register wchar_t *string2; | ^~~~~~~~ read2.cc:350:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 350 | register wchar_t *cdp; | ^~~~~~~~ read2.cc:353:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 353 | register int count; | ^~~~~~~~ read2.cc:475:20: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 475 | 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] 475 | 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] 579 | 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] 579 | 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] 579 | 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] 579 | 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] 581 | register int i; | ^~~~~~~~ read2.cc:582:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 582 | register Property line; | ^~~~~~~~ read2.cc:591:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 591 | register int recursive_state; | ^~~~~~~~ read2.cc:884:33: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 884 | 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] 886 | register Dependency dp; | ^~~~~~~~ read2.cc:887:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 887 | register Dependency *insert; | ^~~~~~~~ read2.cc:952:15: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 952 | 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] 952 | 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] 954 | register Percent result = ALLOC(Percent); | ^~~~~~~~ read2.cc:955:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 955 | register Percent depe; | ^~~~~~~~ read2.cc:956:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 956 | register Percent *depe_tail = &result->dependencies; | ^~~~~~~~ read2.cc:957:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 957 | register Percent *insert; | ^~~~~~~~ read2.cc:958:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 958 | register wchar_t *cp, *cp1; | ^~~~~~~~ read2.cc:958:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 958 | register wchar_t *cp, *cp1; | ^~~~~~~~ read2.cc:1090:17: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1090 | enter_dyntarget(register Name target) | ^~~~~~~~ read2.cc:1092:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1092 | register Dyntarget result = ALLOC(Dyntarget); | ^~~~~~~~ read2.cc:1154:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1154 | 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] 1156 | register int k, n; | ^~~~~~~~ read2.cc:1156:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1156 | register int k, n; | ^~~~~~~~ read2.cc:1543:20: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1543 | 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] 1545 | register int n; | ^~~~~~~~ read2.cc:1546:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1546 | register Dependency dp; | ^~~~~~~~ read2.cc:1547:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1547 | register Dependency *insert_dep; | ^~~~~~~~ read2.cc:1548:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1548 | register Name np; | ^~~~~~~~ read2.cc:1550:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1550 | register Boolean first = true; | ^~~~~~~~ read2.cc:1724:12: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1724 | print_rule(register Cmd_line command) | ^~~~~~~~ read2.cc:1748:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1748 | 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] 1748 | 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] 1750 | register Property conditional; | ^~~~~~~~ read2.cc:1813:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1813 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 373 | 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] 373 | 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] 373 | 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] 373 | 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] 374 | 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] 374 | 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] 374 | 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] 374 | 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] 376 | 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] 376 | 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] 376 | 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] 379 | 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] 379 | 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] 380 | 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] 380 | 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] 380 | 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] 380 | 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] 381 | 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] 382 | 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] 383 | 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] 383 | 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] 384 | 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] 385 | 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] 385 | 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] 386 | 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] 386 | 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] 386 | 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] 389 | 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] 392 | 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] 393 | 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] 394 | 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] 397 | 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] 397 | 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] 416 | 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] 431 | 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] 431 | 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] 435 | 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] 436 | 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] 438 | 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] 440 | 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] 440 | 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] 440 | 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] 446 | 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] 446 | 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] 446 | 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] 446 | 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] 447 | 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] 447 | 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] 448 | 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] 448 | 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] 454 | 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] 456 | 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] 461 | 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] 41 | 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] 42 | 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] 42 | 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] 43 | 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] 43 | 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] 43 | 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] 44 | 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] 49 | 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] 49 | 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] 50 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 59 | 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] 62 | 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] 62 | 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] 62 | 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] 44 | 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] 467 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 55 | 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] 58 | 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] 58 | 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] 373 | 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] 373 | 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] 373 | 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] 373 | 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] 374 | 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] 374 | 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] 374 | 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] 374 | 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] 376 | 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] 376 | 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] 376 | 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] 379 | 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] 379 | 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] 380 | 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] 380 | 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] 380 | 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] 380 | 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] 381 | 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] 382 | 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] 383 | 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] 383 | 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] 384 | 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] 385 | 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] 385 | 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] 386 | 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] 386 | 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] 386 | 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] 389 | 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] 392 | 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] 393 | 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] 394 | 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] 397 | 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] 397 | 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] 416 | 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] 431 | 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] 431 | 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] 435 | 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] 436 | 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] 438 | 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] 440 | 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] 440 | 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] 440 | 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] 446 | 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] 446 | 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] 446 | 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] 446 | 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] 447 | 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] 447 | 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] 448 | 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] 448 | 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] 454 | 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] 456 | 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] 461 | 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] 41 | 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] 42 | 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] 42 | 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] 43 | 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] 43 | 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] 43 | 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] 44 | 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] 49 | 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] 49 | 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] 50 | 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] 51 | 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] 51 | 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] 51 | 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] 55 | 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] 55 | 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] 59 | 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] 62 | 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] 62 | 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] 62 | 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] 107 | 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] 107 | 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] 107 | 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] 107 | 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] 107 | 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] 138 | register FILE *fd; | ^~~~~~~~ state.cc:143:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 143 | register int attempts = 0; | ^~~~~~~~ state.cc:145:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 145 | register Property lines; | ^~~~~~~~ state.cc:146:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 146 | register int m; | ^~~~~~~~ state.cc:148:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 148 | register Boolean name_printed; | ^~~~~~~~ state.cc:152:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 152 | register Cmd_line cp; | ^~~~~~~~ state.cc:169:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 169 | if (lock_err = file_lock(make_state->string_mb, | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 170 | make_state_lockfile, | ~~~~~~~~~~~~~~~~~~~~ 171 | (int *) &make_state_locked, 0)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state.cc:169:15: note: place parentheses around the assignment to silence this warning 169 | if (lock_err = file_lock(make_state->string_mb, | ^ | ( 170 | make_state_lockfile, 171 | (int *) &make_state_locked, 0)) { | | ) state.cc:169:15: note: use '==' to turn this assignment into an equality comparison 169 | 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] 281 | if (m = !dependency->stale | ~~^~~~~~~~~~~~~~~~~~~~ 282 | && (dependency->name != force) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | #ifndef PRINT_EXPLICIT_DEPEN | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | && dependency->automatic | ~~~~~~~~~~~~~~~~~~~~~~~~ state.cc:281:10: note: place parentheses around the assignment to silence this warning 281 | if (m = !dependency->stale | ^ | ( 282 | && (dependency->name != force) 283 | #ifndef PRINT_EXPLICIT_DEPEN 284 | && dependency->automatic | | ) state.cc:281:10: note: use '==' to turn this assignment into an equality comparison 281 | if (m = !dependency->stale | ^ | == state.cc:440:18: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 440 | 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] 440 | 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] 440 | 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] 440 | 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] 440 | 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++ 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++ 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=2025-12-11T04:27:18+0000' 'PKG_NOTE_ports_top_git_hash=62d8b1999233' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=b25a6c32cfec' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' 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 Wed Dec 10 23:28:29 EST 2025 build time: 00:01:14