=> Building japanese/plain2 build started at Wed Oct 5 15:18:51 PDT 2016 port directory: /usr/ports/japanese/plain2 building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: TsurutaniNaoki@gmail.com ident warning: no id keywords in /build/boomdata/data/.m/bleeding-edge-default/ref/../08//usr/ports/japanese/plain2/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400702 !!! Jail is newer than host. (Jail: 400702, Host: 400700) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/bleeding-edge-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=ja-plain2-2.54.1_2 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/bleeding-edge-default/ref/.p/pool MASTERNAME=bleeding-edge-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/japanese/plain2 XDG_CONFIG_HOME=/wrkdirs/japanese/plain2 HOME=/wrkdirs/japanese/plain2 TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/japanese/plain2 XDG_CONFIG_HOME=/wrkdirs/japanese/plain2 HOME=/wrkdirs/japanese/plain2 TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=4.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/plain2" EXAMPLESDIR="share/examples/plain2" DATADIR="share/plain2" WWWDIR="www/plain2" ETCDIR="etc/plain2" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/plain2 DOCSDIR=/usr/local/share/doc/plain2 EXAMPLESDIR=/usr/local/share/examples/plain2 WWWDIR=/usr/local/www/plain2 ETCDIR=/usr/local/etc/plain2 --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== =========================================================================== =================================================== ===> ja-plain2-2.54.1_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> ja-plain2-2.54.1_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ja-plain2-2.54.1_2 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by ja-plain2-2.54.1_2 for building =========================================================================== =================================================== ===> Fetching all distfiles required by ja-plain2-2.54.1_2 for building => SHA256 Checksum OK for plain2_2.54p1.orig.tar.gz. => SHA256 Checksum OK for plain2_2.54p1-4.2.diff.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by ja-plain2-2.54.1_2 for building ===> Extracting for ja-plain2-2.54.1_2 ===> Fetching all distfiles required by ja-plain2-2.54.1_2 for building => SHA256 Checksum OK for plain2_2.54p1.orig.tar.gz. => SHA256 Checksum OK for plain2_2.54p1-4.2.diff.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for ja-plain2-2.54.1_2 ===> Applying distribution patches for ja-plain2-2.54.1_2 ===> Applying ports patches for ja-plain2-2.54.1_2 =========================================================================== =================================================== =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for ja-plain2-2.54.1_2 =========================================================================== =================================================== ===> Building for ja-plain2-2.54.1_2 --- plain2.o --- --- readfile.o --- --- miscutil.o --- --- section.o --- --- example.o --- --- plain2.o --- cc -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -O2 -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c plain2.c --- readfile.o --- cc -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -O2 -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c readfile.c --- miscutil.o --- cc -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -O2 -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c miscutil.c --- example.o --- cc -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -O2 -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c example.c --- section.o --- cc -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -O2 -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c section.c --- example.o --- In file included from example.c:10:0: plain2.h:343:14: warning: conflicting types for built-in function 'malloc' extern char *malloc(); ^ example.c:15:1: warning: return type defaults to 'int' [-Wimplicit-int] markIfExample(begin, end) ^ example.c: In function 'markIfExample': example.c:24:14: warning: implicit declaration of function 'minIndent' [-Wimplicit-function-declaration] indent = minIndent(begin, end); ^ example.c:43:6: warning: implicit declaration of function 'ExampleCheck' [-Wimplicit-function-declaration] if (ExampleCheck(begin, end, aveLength, spacePercent, ^ --- readfile.o --- In file included from readfile.c:10:0: plain2.h:343:14: warning: conflicting types for built-in function 'malloc' extern char *malloc(); ^ --- example.o --- example.c: At top level: example.c:57:1: warning: return type defaults to 'int' [-Wimplicit-int] ExampleCheck(begin, end, length, spaces, jcode, lines) ^ --- readfile.o --- readfile.c: In function 'strsave': readfile.c:18:24: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] save = (char *)malloc(strlen(str) + 1); ^ readfile.c:18:24: warning: incompatible implicit declaration of built-in function 'strlen' readfile.c:18:24: note: include '' or provide a declaration of 'strlen' readfile.c:21:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit (2); ^ readfile.c:21:3: warning: incompatible implicit declaration of built-in function 'exit' readfile.c:21:3: note: include '' or provide a declaration of 'exit' readfile.c:23:9: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] return strcpy(save, str); ^ readfile.c:23:9: warning: incompatible implicit declaration of built-in function 'strcpy' readfile.c:23:9: note: include '' or provide a declaration of 'strcpy' readfile.c: At top level: readfile.c:153:1: warning: return type defaults to 'int' [-Wimplicit-int] storeLine(textp, str) ^ readfile.c:192:1: warning: return type defaults to 'int' [-Wimplicit-int] readAndStoreFile() ^ readfile.c: In function 'readAndStoreFile': readfile.c:206:4: warning: incompatible implicit declaration of built-in function 'exit' exit (2); ^ readfile.c:206:4: note: include '' or provide a declaration of 'exit' readfile.c:212:15: warning: incompatible implicit declaration of built-in function 'strlen' if (buf[len=strlen(buf)-1] == '\n') ^ readfile.c:212:15: note: include '' or provide a declaration of 'strlen' --- section.o --- In file included from section.c:11:0: plain2.h:343:14: warning: conflicting types for built-in function 'malloc' extern char *malloc(); ^ section.c:18:1: warning: return type defaults to 'int' [-Wimplicit-int] secNumMatch(s1, s2, d) ^ section.c:38:1: warning: return type defaults to 'int' [-Wimplicit-int] secNumCont(s1, s2, d) ^ section.c:54:1: warning: return type defaults to 'int' [-Wimplicit-int] secNumIsOne(s1, d) ^ section.c:72:1: warning: return type defaults to 'int' [-Wimplicit-int] secCnctable(cur, prev) ^ section.c:117:1: warning: return type defaults to 'int' [-Wimplicit-int] section(begin, end, phase) ^ section.c:159:1: warning: return type defaults to 'int' [-Wimplicit-int] setSnumFor(textp) ^ section.c: In function 'setSnumFor': section.c:171:8: warning: implicit declaration of function 'putMacro' [-Wimplicit-function-declaration] if (putMacro(M_SETSEC_1 + i - 1, num) < 0) ^ section.c: At top level: section.c:176:1: warning: return type defaults to 'int' [-Wimplicit-int] outputSetSnum(begin, end) ^ section.c: In function 'outputSetSnum': section.c:185:5: warning: 'return' with no value, in function returning non-void return; ^ section.c: At top level: section.c:196:1: warning: return type defaults to 'int' [-Wimplicit-int] appendix(begin, end) ^ section.c: In function 'appendix': section.c:216:8: warning: implicit declaration of function 'checkIfAppendix' [-Wimplicit-function-declaration] checkIfAppendix(textp->body + textp->indent, &apnum)) ^ --- plain2.o --- In file included from plain2.c:16:0: plain2.h:343:14: warning: conflicting types for built-in function 'malloc' extern char *malloc(); ^ plain2.c:133:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ plain2.c: In function 'main': plain2.c:147:2: warning: implicit declaration of function 'clearMacro' [-Wimplicit-function-declaration] clearMacro(); ^ plain2.c:150:2: warning: implicit declaration of function 'envOption' [-Wimplicit-function-declaration] envOption(); ^ plain2.c:151:6: warning: implicit declaration of function 'getOption' [-Wimplicit-function-declaration] if (getOption(argc, argv)) { ^ plain2.c:154:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit (2); ^ plain2.c:154:3: warning: incompatible implicit declaration of built-in function 'exit' plain2.c:154:3: note: include '' or provide a declaration of 'exit' plain2.c:158:3: warning: implicit declaration of function 'macroFile' [-Wimplicit-function-declaration] macroFile(macroName); ^ plain2.c:159:2: warning: implicit declaration of function 'saveParseDefaults' [-Wimplicit-function-declaration] saveParseDefaults(); ^ plain2.c:160:2: warning: implicit declaration of function 'tblParseInit' [-Wimplicit-function-declaration] tblParseInit(); ^ plain2.c:162:2: warning: implicit declaration of function 'picParseInit' [-Wimplicit-function-declaration] picParseInit(); ^ plain2.c:164:2: warning: implicit declaration of function 'ftitleInit' [-Wimplicit-function-declaration] ftitleInit(); ^ plain2.c:170:3: warning: implicit declaration of function 'doPlain2' [-Wimplicit-function-declaration] doPlain2(); ^ plain2.c:176:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ plain2.c:176:4: note: include '' or provide a declaration of 'exit' plain2.c:186:3: warning: implicit declaration of function 'putMacro' [-Wimplicit-function-declaration] putMacro(M_SECTION_END); ^ plain2.c:189:2: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ plain2.c:189:2: note: include '' or provide a declaration of 'exit' plain2.c: In function 'styleConv': plain2.c:200:31: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] if(NULL == (p = buf = malloc(strlen(s)*3/2+6+1))){ /* 6 for ",jverb" */ ^ plain2.c:200:31: warning: incompatible implicit declaration of built-in function 'strlen' plain2.c:200:31: note: include '' or provide a declaration of 'strlen' plain2.c:202:3: warning: incompatible implicit declaration of built-in function 'exit' exit(2); ^ plain2.c:202:3: note: include '' or provide a declaration of 'exit' plain2.c:210:6: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(p, s, 2), p += 2, s += 3; ^ plain2.c:210:6: warning: incompatible implicit declaration of built-in function 'strncpy' plain2.c:210:6: note: include '' or provide a declaration of 'strncpy' plain2.c:214:6: warning: incompatible implicit declaration of built-in function 'strncpy' strncpy(p, s, 2), p += 2, s += 2; ^ plain2.c:214:6: note: include '' or provide a declaration of 'strncpy' plain2.c:223:3: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(p, "jverb"), p += 5; ^ plain2.c:223:3: warning: incompatible implicit declaration of built-in function 'strcpy' plain2.c:223:3: note: include '' or provide a declaration of 'strcpy' plain2.c: At top level: plain2.c:234:1: warning: return type defaults to 'int' [-Wimplicit-int] doPlain2() ^ plain2.c: In function 'doPlain2': plain2.c:238:2: warning: implicit declaration of function 'restoreParseDefaults' [-Wimplicit-function-declaration] restoreParseDefaults(); ^ plain2.c:239:2: warning: implicit declaration of function 'readAndStoreFile' [-Wimplicit-function-declaration] readAndStoreFile(); ^ plain2.c:242:3: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ plain2.c:242:3: note: include '' or provide a declaration of 'exit' plain2.c:243:2: warning: implicit declaration of function 'analyzeLines' [-Wimplicit-function-declaration] analyzeLines(1, textLines); ^ plain2.c:244:14: warning: implicit declaration of function 'getTitleBlock' [-Wimplicit-function-declaration] textBegin = getTitleBlock(1, textLines); ^ plain2.c:250:4: warning: implicit declaration of function 'initMacroDefs' [-Wimplicit-function-declaration] initMacroDefs(htmlMacros); ^ plain2.c:253:5: warning: implicit declaration of function 'htmlSetTrans' [-Wimplicit-function-declaration] htmlSetTrans(0); ^ plain2.c:269:5: warning: implicit declaration of function 'texSetTrans' [-Wimplicit-function-declaration] texSetTrans(0); ^ plain2.c:280:4: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(p), free(q); ^ plain2.c:280:4: warning: incompatible implicit declaration of built-in function 'free' plain2.c:280:4: note: include '' or provide a declaration of 'free' plain2.c:286:4: warning: incompatible implicit declaration of built-in function 'free' free(p), free(q); ^ plain2.c:286:4: note: include '' or provide a declaration of 'free' plain2.c:291:2: warning: implicit declaration of function 'hint' [-Wimplicit-function-declaration] hint(textBegin, textLines); ^ plain2.c:293:2: warning: implicit declaration of function 'spacing' [-Wimplicit-function-declaration] spacing(textBegin, textLines); ^ plain2.c:296:3: warning: implicit declaration of function 'headerFooter' [-Wimplicit-function-declaration] headerFooter(textBegin, textLines); ^ plain2.c:299:2: warning: implicit declaration of function 'section' [-Wimplicit-function-declaration] section(textBegin, textLines, 0); ^ plain2.c:301:2: warning: implicit declaration of function 'appendix' [-Wimplicit-function-declaration] appendix(textBegin, textLines); ^ plain2.c:303:2: warning: implicit declaration of function 'quotedText' [-Wimplicit-function-declaration] quotedText(textBegin, textLines); ^ plain2.c:305:2: warning: implicit declaration of function 'list' [-Wimplicit-function-declaration] list(textBegin, textLines); ^ plain2.c:307:2: warning: implicit declaration of function 'figTitle' [-Wimplicit-function-declaration] figTitle(textBegin, textLines); ^ plain2.c:310:2: warning: implicit declaration of function 'applyOnRegion2' [-Wimplicit-function-declaration] applyOnRegion2(textBegin, textLines, 0, markIfPicture); ^ plain2.c:311:2: warning: implicit declaration of function 'applyOnSpaced' [-Wimplicit-function-declaration] applyOnSpaced(textBegin, textLines, markIfPicture); ^ plain2.c:315:3: warning: implicit declaration of function 'applyOnRegion' [-Wimplicit-function-declaration] applyOnRegion(textBegin, textLines, markIfTable); ^ plain2.c:318:2: warning: implicit declaration of function 'justified' [-Wimplicit-function-declaration] justified(textBegin, textLines); ^ plain2.c:324:2: warning: implicit declaration of function 'plainText' [-Wimplicit-function-declaration] plainText(textBegin, textLines); ^ plain2.c:325:2: warning: implicit declaration of function 'joinBlocks' [-Wimplicit-function-declaration] joinBlocks(textBegin, textLines, TB_EXAMPLE); ^ plain2.c:328:2: warning: implicit declaration of function 'makeTitledBlock' [-Wimplicit-function-declaration] makeTitledBlock(textBegin, textLines); ^ plain2.c:329:2: warning: implicit declaration of function 'fixListRegion' [-Wimplicit-function-declaration] fixListRegion(textBegin, textLines); ^ plain2.c:332:3: warning: implicit declaration of function 'renumDocument' [-Wimplicit-function-declaration] renumDocument(); ^ plain2.c:334:3: warning: implicit declaration of function 'outputDocument' [-Wimplicit-function-declaration] outputDocument(); ^ plain2.c:344:2: warning: implicit declaration of function 'freeAll' [-Wimplicit-function-declaration] freeAll(); ^ plain2.c: At top level: plain2.c:346:1: warning: return type defaults to 'int' [-Wimplicit-int] freeAll() ^ plain2.c: In function 'freeAll': plain2.c:354:5: warning: incompatible implicit declaration of built-in function 'free' free((char *)texts[i]->body); ^ plain2.c:354:5: note: include '' or provide a declaration of 'free' plain2.c:358:4: warning: incompatible implicit declaration of built-in function 'free' free((char *)tbp); ^ plain2.c:358:4: note: include '' or provide a declaration of 'free' plain2.c:363:2: warning: incompatible implicit declaration of built-in function 'free' free((char *)texts); ^ plain2.c:363:2: note: include '' or provide a declaration of 'free' plain2.c: At top level: plain2.c:372:1: warning: return type defaults to 'int' [-Wimplicit-int] getOption(xargc, xargv) ^ plain2.c: In function 'getOption': plain2.c:379:14: warning: implicit declaration of function 'getopt' [-Wimplicit-function-declaration] while ((c = getopt(xargc, xargv, ^ plain2.c:384:8: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(optarg, "is") == 0) { ^ plain2.c:400:8: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (strncmp(optarg, "istd", 4) == 0) { ^ --- list.o --- --- plain2.o --- plain2.c:434:19: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] examFactor = atoi(optarg+4); ^ plain2.c: At top level: plain2.c:607:1: warning: return type defaults to 'int' [-Wimplicit-int] optionLine(s) ^ plain2.c:640:1: warning: return type defaults to 'int' [-Wimplicit-int] envOption() ^ plain2.c: In function 'envOption': plain2.c:649:3: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(envOpt, plainEnv); ^ plain2.c:649:3: note: include '' or provide a declaration of 'strcpy' plain2.c:655:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ plain2.c:655:4: note: include '' or provide a declaration of 'exit' --- list.o --- cc -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -O2 -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c list.c --- plain2.o --- plain2.c:667:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ plain2.c:667:5: note: include '' or provide a declaration of 'exit' plain2.c: At top level: plain2.c:691:1: warning: return type defaults to 'int' [-Wimplicit-int] saveParseDefaults() ^ plain2.c:701:1: warning: return type defaults to 'int' [-Wimplicit-int] restoreParseDefaults() ^ --- miscutil.o --- In file included from miscutil.c:10:0: plain2.h:343:14: warning: conflicting types for built-in function 'malloc' extern char *malloc(); ^ --- list.o --- In file included from list.c:10:0: plain2.h:343:14: warning: conflicting types for built-in function 'malloc' extern char *malloc(); ^ list.c:17:1: warning: return type defaults to 'int' [-Wimplicit-int] findListHead(begin, end) ^ list.c: In function 'findListHead': list.c:120:6: warning: implicit declaration of function 'checkIfList' [-Wimplicit-function-declaration] if (checkIfList(listbp) ^ list.c: At top level: list.c:137:1: warning: return type defaults to 'int' [-Wimplicit-int] checkIfList(lbp) ^ list.c: In function 'checkIfList': list.c:165:4: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free((char *)lhbp); ^ list.c:165:4: warning: incompatible implicit declaration of built-in function 'free' list.c:165:4: note: include '' or provide a declaration of 'free' list.c: At top level: list.c:180:1: warning: return type defaults to 'int' [-Wimplicit-int] expandListHead(lhbp) ^ --- miscutil.o --- miscutil.c: In function 'euc2jisStr': --- list.o --- list.c: In function 'expandListHead': list.c:189:3: warning: 'return' with no value, in function returning non-void return; ^ --- miscutil.o --- miscutil.c:118:4: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(2); ^ miscutil.c:118:4: warning: incompatible implicit declaration of built-in function 'exit' miscutil.c:118:4: note: include '' or provide a declaration of 'exit' miscutil.c:121:10: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] (void)strncpy(t,"\033$B", 3); ^ miscutil.c:121:10: warning: incompatible implicit declaration of built-in function 'strncpy' miscutil.c:121:10: note: include '' or provide a declaration of 'strncpy' --- list.o --- list.c:205:4: warning: incompatible implicit declaration of built-in function 'free' free((char *)nextTbp); ^ list.c:205:4: note: include '' or provide a declaration of 'free' list.c: At top level: list.c:217:1: warning: return type defaults to 'int' [-Wimplicit-int] fixListEnd(lbp) ^ --- miscutil.o --- miscutil.c:126:10: warning: incompatible implicit declaration of built-in function 'strncpy' (void)strncpy(t,"\033(B", 3); ^ miscutil.c:126:10: note: include '' or provide a declaration of 'strncpy' --- list.o --- list.c: In function 'fixListEnd': list.c:229:3: warning: implicit declaration of function 'fixListRegion' [-Wimplicit-function-declaration] fixListRegion(lhbp->rend, lhbp->nextBlock->rbegin); ^ --- miscutil.o --- miscutil.c:133:4: warning: incompatible implicit declaration of built-in function 'exit' exit(2); ^ miscutil.c:133:4: note: include '' or provide a declaration of 'exit' miscutil.c:137:9: warning: incompatible implicit declaration of built-in function 'strncpy' (void)strncpy(t,"\033(B", 3); ^ miscutil.c:137:9: note: include '' or provide a declaration of 'strncpy' --- list.o --- list.c:239:10: warning: implicit declaration of function 'minIndentBlock' [-Wimplicit-function-declaration] && minIndentBlock(texts[lnum]->block) ^ list.c: At top level: list.c:252:1: warning: return type defaults to 'int' [-Wimplicit-int] fixListRegion(begin, end) ^ list.c:265:1: warning: return type defaults to 'int' [-Wimplicit-int] list(begin, end) ^ --- miscutil.o --- miscutil.c: At top level: miscutil.c:219:1: warning: return type defaults to 'int' [-Wimplicit-int] minIndentBlock(tbp) ^ miscutil.c: In function 'minIndentBlock': miscutil.c:225:9: warning: implicit declaration of function 'minIndent' [-Wimplicit-function-declaration] return minIndent(tbp->rbegin + tbp->hinted, tbp->rend - tbp->hinted); ^ miscutil.c: At top level: miscutil.c:227:1: warning: return type defaults to 'int' [-Wimplicit-int] minIndent(begin, end) ^ miscutil.c:242:1: warning: return type defaults to 'int' [-Wimplicit-int] maxLength(begin, end) ^ miscutil.c:255:1: warning: return type defaults to 'int' [-Wimplicit-int] isCenter(begin, end) ^ miscutil.c:271:1: warning: return type defaults to 'int' [-Wimplicit-int] blockIsCenter(tbp) ^ miscutil.c:289:1: warning: return type defaults to 'int' [-Wimplicit-int] textQuoteChar(top, s, trtp) ^ miscutil.c: In function 'textQuoteChar': miscutil.c:299:4: warning: 'return' with no value, in function returning non-void return; ^ miscutil.c: At top level: miscutil.c:386:1: warning: return type defaults to 'int' [-Wimplicit-int] isKanjiChar(textp, col) ^ miscutil.c: In function 'newTextBlock': miscutil.c:416:3: warning: incompatible implicit declaration of built-in function 'exit' exit (2); ^ miscutil.c:416:3: note: include '' or provide a declaration of 'exit' miscutil.c: At top level: miscutil.c:446:1: warning: return type defaults to 'int' [-Wimplicit-int] applyOnRegion2(begin, end, phase, func) ^ miscutil.c: In function 'applyOnRegion2': miscutil.c:504:6: warning: implicit declaration of function 'applyOnRegion' [-Wimplicit-function-declaration] applyOnRegion(ibegin, rend, func); ^ miscutil.c:512:5: warning: 'return' with no value, in function returning non-void return; ^ miscutil.c:516:4: warning: incompatible implicit declaration of built-in function 'exit' exit(2); ^ miscutil.c:516:4: note: include '' or provide a declaration of 'exit' miscutil.c: At top level: miscutil.c:520:1: warning: return type defaults to 'int' [-Wimplicit-int] applyOnRegion(begin, end, func) ^ miscutil.c:528:1: warning: return type defaults to 'int' [-Wimplicit-int] applyOnSpaced(begin, end, func) ^ miscutil.c: In function 'applyOnSpaced': miscutil.c:562:4: warning: incompatible implicit declaration of built-in function 'exit' exit(2); ^ miscutil.c:562:4: note: include '' or provide a declaration of 'exit' miscutil.c: At top level: miscutil.c:569:1: warning: return type defaults to 'int' [-Wimplicit-int] joinBlocks(begin, end, tbType) ^ miscutil.c: In function 'joinBlocks': miscutil.c:591:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free((char *)nextTbp); ^ miscutil.c:591:5: warning: incompatible implicit declaration of built-in function 'free' miscutil.c:591:5: note: include '' or provide a declaration of 'free' --- plaintxt.o --- cc -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -O2 -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c plaintxt.c --- spacing.o --- cc -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -O2 -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c spacing.c --- plaintxt.o --- In file included from plaintxt.c:10:0: plain2.h:343:14: warning: conflicting types for built-in function 'malloc' extern char *malloc(); ^ plaintxt.c:16:1: warning: return type defaults to 'int' [-Wimplicit-int] quotedText(begin, end) ^ plaintxt.c:63:1: warning: return type defaults to 'int' [-Wimplicit-int] markAsPlain(begin, end) ^ plaintxt.c: In function 'markAsPlain': plaintxt.c:76:4: warning: 'return' with no value, in function returning non-void return; ^ plaintxt.c:82:2: warning: 'return' with no value, in function returning non-void return; ^ plaintxt.c: At top level: plaintxt.c:84:1: warning: return type defaults to 'int' [-Wimplicit-int] plainText(begin, end) ^ --- spacing.o --- In file included from spacing.c:11:0: plain2.h:343:14: warning: conflicting types for built-in function 'malloc' extern char *malloc(); ^ spacing.c:15:1: warning: return type defaults to 'int' [-Wimplicit-int] spacing(begin, end) ^ --- headfoot.o --- cc -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -O2 -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c headfoot.c In file included from headfoot.c:11:0: plain2.h:343:14: warning: conflicting types for built-in function 'malloc' extern char *malloc(); ^ headfoot.c:32:1: warning: return type defaults to 'int' [-Wimplicit-int] pickUpLine(l, headerp, footerp, begin, end) ^ headfoot.c:57:1: warning: return type defaults to 'int' [-Wimplicit-int] sameFormat2(s1, s2) ^ headfoot.c: In function 'sameFormat2': headfoot.c:65:9: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] len1 = strlen(s1); ^ headfoot.c:65:9: warning: incompatible implicit declaration of built-in function 'strlen' headfoot.c:65:9: note: include '' or provide a declaration of 'strlen' headfoot.c: At top level: headfoot.c:89:1: warning: return type defaults to 'int' [-Wimplicit-int] sameFormat(hdr1, hdr2) ^ headfoot.c:100:1: warning: return type defaults to 'int' [-Wimplicit-int] headerFields(str, hdrp) ^ headfoot.c: In function 'headerFields': headfoot.c:112:11: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] && !strncmp(centerLeft - 3, " ", 3)) ^ headfoot.c:115:28: warning: incompatible implicit declaration of built-in function 'strlen' for (; centerLeft < str + strlen(str) ; centerLeft++) ^ headfoot.c:115:28: note: include '' or provide a declaration of 'strlen' headfoot.c:125:28: warning: incompatible implicit declaration of built-in function 'strlen' centerRight < str + strlen(str) ; centerRight++) { ^ headfoot.c:125:28: note: include '' or provide a declaration of 'strlen' headfoot.c:148:17: warning: incompatible implicit declaration of built-in function 'strlen' for (s = str + strlen(str) - 1; s > centerRight; s--) { ^ headfoot.c:148:17: note: include '' or provide a declaration of 'strlen' headfoot.c:153:20: warning: incompatible implicit declaration of built-in function 'strlen' && t < str + strlen(str); t++, save++) ^ headfoot.c:153:20: note: include '' or provide a declaration of 'strlen' headfoot.c: At top level: headfoot.c:157:1: warning: return type defaults to 'int' [-Wimplicit-int] build(str1, str2, fstr1, fstr2) ^ headfoot.c: In function 'build': headfoot.c:168:9: warning: incompatible implicit declaration of built-in function 'strlen' len1 = strlen(str1); ^ headfoot.c:168:9: note: include '' or provide a declaration of 'strlen' headfoot.c: At top level: headfoot.c:202:1: warning: return type defaults to 'int' [-Wimplicit-int] headerFooter(begin, end) ^ headfoot.c: In function 'headerFooter': headfoot.c:211:3: warning: 'return' with no value, in function returning non-void return; ^ headfoot.c:219:3: warning: implicit declaration of function 'overwritePaging' [-Wimplicit-function-declaration] overwritePaging(begin, end, 0, 0); ^ headfoot.c:220:3: warning: 'return' with no value, in function returning non-void return; ^ headfoot.c:237:5: warning: 'return' with no value, in function returning non-void return; ^ headfoot.c:244:5: warning: 'return' with no value, in function returning non-void return; ^ headfoot.c: At top level: headfoot.c:254:1: warning: return type defaults to 'int' [-Wimplicit-int] overwritePaging(begin, end, hpos, fpos) ^ headfoot.c: In function 'roffHdrStr': headfoot.c:297:9: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] (void)strcpy(ret, codeCvt(textQuote(left, roffTransQ))); ^ headfoot.c:297:9: warning: incompatible implicit declaration of built-in function 'strcpy' headfoot.c:297:9: note: include '' or provide a declaration of 'strcpy' headfoot.c:298:9: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] (void)strcat(ret, "\\\\\\\\nP"); ^ headfoot.c:298:9: warning: incompatible implicit declaration of built-in function 'strcat' headfoot.c:298:9: note: include '' or provide a declaration of 'strcat' headfoot.c: At top level: headfoot.c:305:1: warning: return type defaults to 'int' [-Wimplicit-int] roffPutHeader() ^ --- hint.o --- cc -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -O2 -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c hint.c In file included from hint.c:10:0: plain2.h:343:14: warning: conflicting types for built-in function 'malloc' extern char *malloc(); ^ --- justify.o --- cc -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -O2 -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c justify.c --- hint.o --- hint.c:29:1: warning: return type defaults to 'int' [-Wimplicit-int] checkIfHint(s, which) ^ hint.c: In function 'checkIfHint': hint.c:37:8: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (strncmp(s, hp->beginstr, ^ hint.c:38:9: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] strlen(hp->beginstr)) == 0) { ^ hint.c:38:9: warning: incompatible implicit declaration of built-in function 'strlen' hint.c:38:9: note: include '' or provide a declaration of 'strlen' hint.c:44:8: warning: incompatible implicit declaration of built-in function 'strlen' strlen(hp->endstr)) == 0) { ^ hint.c:44:8: note: include '' or provide a declaration of 'strlen' hint.c: At top level: hint.c:52:1: warning: return type defaults to 'int' [-Wimplicit-int] hint(begin, end) ^ --- texout.o --- cc -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -O2 -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c texout.c In file included from texout.c:10:0: plain2.h:343:14: warning: conflicting types for built-in function 'malloc' extern char *malloc(); ^ texout.c:150:1: warning: return type defaults to 'int' [-Wimplicit-int] texSetTrans(full) ^ texout.c: In function 'texTextQuote': texout.c:180:13: warning: implicit declaration of function 'alpha' [-Wimplicit-function-declaration] if (len = alpha(str)) { ^ texout.c:182:10: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] (void)strcpy(s, p); ^ texout.c:182:10: warning: incompatible implicit declaration of built-in function 'strcpy' texout.c:182:10: note: include '' or provide a declaration of 'strcpy' texout.c:183:9: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] s += strlen(p); ^ texout.c:183:9: warning: incompatible implicit declaration of built-in function 'strlen' texout.c:183:9: note: include '' or provide a declaration of 'strlen' texout.c:184:10: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] (void)strncpy(s, str, len); ^ texout.c:184:10: warning: incompatible implicit declaration of built-in function 'strncpy' texout.c:184:10: note: include '' or provide a declaration of 'strncpy' texout.c:191:4: warning: implicit declaration of function 'textQuoteChar' [-Wimplicit-function-declaration] textQuoteChar(&s, str, texTrans); ^ texout.c: At top level: texout.c:210:1: warning: return type defaults to 'int' [-Wimplicit-int] alpha(s) ^ texout.c:229:1: warning: return type defaults to 'int' [-Wimplicit-int] texPutLabel(str) ^ texout.c:235:1: warning: return type defaults to 'int' [-Wimplicit-int] texPlain(str, attr, newline) ^ texout.c:247:1: warning: return type defaults to 'int' [-Wimplicit-int] texExample(str) ^ texout.c:256:1: warning: return type defaults to 'int' [-Wimplicit-int] texListBlock(begin, level, ltype, hint) ^ texout.c:359:1: warning: return type defaults to 'int' [-Wimplicit-int] texDlistItem(level, dscr, cont) ^ texout.c: In function 'texDlistItem': texout.c:364:31: warning: incompatible implicit declaration of built-in function 'strlen' if (*dscr == '[' && *(dscr + strlen(dscr) -1 ) == ']') { ^ texout.c:364:31: note: include '' or provide a declaration of 'strlen' texout.c: At top level: texout.c:374:1: warning: return type defaults to 'int' [-Wimplicit-int] texListItem(level) ^ texout.c:379:1: warning: return type defaults to 'int' [-Wimplicit-int] texRawText(str) ^ texout.c:384:1: warning: return type defaults to 'int' [-Wimplicit-int] texSpace(length) ^ texout.c:390:1: warning: return type defaults to 'int' [-Wimplicit-int] texFTitle(ft, str, capsule) ^ texout.c:440:1: warning: return type defaults to 'int' [-Wimplicit-int] texPictureBlock(begin, lines, indent, maxLen) ^ texout.c:460:1: warning: return type defaults to 'int' [-Wimplicit-int] texLineWidth(style) ^ texout.c:470:1: warning: return type defaults to 'int' [-Wimplicit-int] texEllipse(x0, y0, x1, y1, style) ^ texout.c: In function 'texEllipse': texout.c:482:4: warning: implicit declaration of function 'texPicLine' [-Wimplicit-function-declaration] texPicLine(x0, y0, x1, y1, SY_THIN, 0); ^ texout.c: At top level: texout.c:501:1: warning: return type defaults to 'int' [-Wimplicit-int] texPicLine(x0, y0, x1, y1, style, vector) ^ texout.c: In function 'texPicLine': texout.c:511:3: warning: 'return' with no value, in function returning non-void return; ^ texout.c:517:3: warning: 'return' with no value, in function returning non-void return; ^ texout.c: At top level: texout.c:583:1: warning: return type defaults to 'int' [-Wimplicit-int] texPicArc(x, y, r, dir, style) ^ texout.c:607:1: warning: return type defaults to 'int' [-Wimplicit-int] texPicText(s, xpos, vpos, factor) ^ texout.c:628:1: warning: return type defaults to 'int' [-Wimplicit-int] texTitle(style, haifu, title, shozoku, number, date, name, renraku ^ texout.c: In function 'texTitle': texout.c:647:3: warning: implicit declaration of function 'putMacro' [-Wimplicit-function-declaration] putMacro(M_TITLE, ^ texout.c:653:3: warning: 'return' with no value, in function returning non-void return; ^ texout.c: At top level: texout.c:700:1: warning: return type defaults to 'int' [-Wimplicit-int] texTable(begin, end, tblp) ^ texout.c: In function 'texTable': texout.c:721:11: warning: implicit declaration of function 'lineAttr' [-Wimplicit-function-declaration] hattr = lineAttr(texts[l]->body, &atr); ^ texout.c:733:9: warning: implicit declaration of function 'attrOfStr' [-Wimplicit-function-declaration] if (attrOfStr(atr, texts[l]->length, fld, 0, tblp) ^ texout.c:736:15: warning: implicit declaration of function 'fieldEmpty' [-Wimplicit-function-declaration] else if (!fieldEmpty(atr, texts[l]->length, fld, 0, tblp)) ^ texout.c:742:12: warning: implicit declaration of function 'extraColumn' [-Wimplicit-function-declaration] exCol = extraColumn(atr, texts[l]->length, fld, tblp); ^ texout.c:745:13: warning: implicit declaration of function 'formatOf' [-Wimplicit-function-declaration] format = formatOf(atr, texts[l]->length, fld, exCol, tblp); ^ texout.c: At top level: texout.c:771:1: warning: return type defaults to 'int' [-Wimplicit-int] texCapsule(begin, type, center) ^ texout.c: In function 'texCapsule': texout.c:787:4: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(2); ^ texout.c:787:4: warning: incompatible implicit declaration of built-in function 'exit' texout.c:787:4: note: include '' or provide a declaration of 'exit' texout.c: At top level: texout.c:819:1: warning: return type defaults to 'int' [-Wimplicit-int] texComment(begin, end) ^ --- output.o --- cc -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -O2 -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c output.c In file included from output.c:13:0: plain2.h:343:14: warning: conflicting types for built-in function 'malloc' extern char *malloc(); ^ output.c:131:1: warning: return type defaults to 'int' [-Wimplicit-int] inlineBegin(s, type) ^ output.c:155:1: warning: return type defaults to 'int' [-Wimplicit-int] inlineEnd(s) ^ output.c:172:1: warning: return type defaults to 'int' [-Wimplicit-int] inlineEndRegion(begin, end) ^ output.c:182:1: warning: return type defaults to 'int' [-Wimplicit-int] outAttribute(attr, begin) ^ --- justify.o --- In file included from justify.c:10:0: plain2.h:343:14: warning: conflicting types for built-in function 'malloc' extern char *malloc(); ^ --- output.o --- output.c: In function 'outAttribute': output.c:191:4: warning: implicit declaration of function 'putMacro' [-Wimplicit-function-declaration] putMacro(M_FOOTN_BEGIN); ^ output.c:215:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(2); ^ output.c:215:3: warning: incompatible implicit declaration of built-in function 'exit' output.c:215:3: note: include '' or provide a declaration of 'exit' output.c: At top level: output.c:219:1: warning: return type defaults to 'int' [-Wimplicit-int] textOuput(begin, end, s) ^ --- justify.o --- justify.c:15:1: warning: return type defaults to 'int' [-Wimplicit-int] indType(begin, end) ^ --- output.o --- output.c: In function 'textOuput': output.c:239:11: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] (void)strncpy(buf, s, col1); ^ output.c:239:11: warning: incompatible implicit declaration of built-in function 'strncpy' output.c:239:11: note: include '' or provide a declaration of 'strncpy' output.c:246:10: warning: incompatible implicit declaration of built-in function 'strncpy' (void)strncpy(buf, s + col1 + INLINE_BEGIN_LEN, col2); ^ output.c:246:10: note: include '' or provide a declaration of 'strncpy' output.c:258:11: warning: incompatible implicit declaration of built-in function 'strncpy' (void)strncpy(buf, s, col1); ^ output.c:258:11: note: include '' or provide a declaration of 'strncpy' --- justify.o --- justify.c:60:1: warning: return type defaults to 'int' [-Wimplicit-int] markIfJustified(begin, end) ^ justify.c: In function 'markIfJustified': justify.c:69:3: warning: 'return' with no value, in function returning non-void return; ^ justify.c:77:3: warning: 'return' with no value, in function returning non-void return; ^ --- output.o --- output.c:275:10: warning: incompatible implicit declaration of built-in function 'strncpy' (void)strncpy(buf, s, col1); ^ output.c:275:10: note: include '' or provide a declaration of 'strncpy' --- justify.o --- justify.c: At top level: justify.c:82:1: warning: return type defaults to 'int' [-Wimplicit-int] justified(begin, end) ^ --- output.o --- output.c: At top level: output.c:295:1: warning: return type defaults to 'int' [-Wimplicit-int] listOutput(lbp) ^ output.c: In function 'listOutput': output.c:314:10: warning: incompatible implicit declaration of built-in function 'strncpy' (void)strncpy(dscr, bodyStr(texts[lnum]), ^ output.c:314:10: note: include '' or provide a declaration of 'strncpy' output.c:333:3: warning: implicit declaration of function 'outputRegion' [-Wimplicit-function-declaration] outputRegion(lhbp->rend, rend); ^ output.c: At top level: output.c:340:1: warning: return type defaults to 'int' [-Wimplicit-int] capsuleOutput(blockTbp) ^ output.c: In function 'capsuleOutput': output.c:358:11: warning: implicit declaration of function 'blockIsCenter' [-Wimplicit-function-declaration] center = blockIsCenter(blockTbp); ^ output.c:361:2: warning: implicit declaration of function 'outputBlock' [-Wimplicit-function-declaration] outputBlock(tbp1, 1); ^ output.c: At top level: output.c:370:1: warning: return type defaults to 'int' [-Wimplicit-int] outputBlock(tbp, capsule) ^ output.c: In function 'outputBlock': output.c:399:11: warning: type defaults to 'int' in declaration of 'firstTime' [-Wimplicit-int] static firstTime = 1; ^ output.c:407:5: warning: implicit declaration of function 'texPutLabel' [-Wimplicit-function-declaration] texPutLabel(title); ^ output.c:423:5: warning: implicit declaration of function 'setSnumFor' [-Wimplicit-function-declaration] setSnumFor(texts[begin]); ^ output.c:434:3: warning: implicit declaration of function 'putIndent' [-Wimplicit-function-declaration] putIndent(IND_RIGHT, 1); ^ output.c:439:17: warning: implicit declaration of function 'minIndent' [-Wimplicit-function-declaration] blockIndent = minIndent(begin, end); ^ output.c:509:14: warning: implicit declaration of function 'isCenter' [-Wimplicit-function-declaration] center = isCenter(begin, end); ^ output.c:527:4: warning: implicit declaration of function 'tblOutput' [-Wimplicit-function-declaration] tblOutput(begin, end); ^ output.c:553:4: warning: implicit declaration of function 'picOutput' [-Wimplicit-function-declaration] picOutput(begin, end); ^ output.c:568:3: warning: incompatible implicit declaration of built-in function 'exit' exit(2); ^ output.c:568:3: note: include '' or provide a declaration of 'exit' output.c: At top level: output.c:571:1: warning: return type defaults to 'int' [-Wimplicit-int] outputRegion(begin, end) ^ output.c: In function 'outputRegion': output.c:579:3: warning: 'return' with no value, in function returning non-void return; ^ output.c: At top level: output.c:598:1: warning: return type defaults to 'int' [-Wimplicit-int] putIndent2(type, d) ^ output.c:623:1: warning: return type defaults to 'int' [-Wimplicit-int] putIndent(type, d) ^ output.c: In function 'putIndent': output.c:643:3: warning: 'return' with no value, in function returning non-void return; ^ output.c: At top level: output.c:656:1: warning: return type defaults to 'int' [-Wimplicit-int] outputDocument() ^ output.c: In function 'outputDocument': output.c:659:3: warning: implicit declaration of function 'outputTitle' [-Wimplicit-function-declaration] outputTitle(); ^ output.c:661:3: warning: implicit declaration of function 'roffPutHeader' [-Wimplicit-function-declaration] roffPutHeader(); ^ output.c:663:3: warning: implicit declaration of function 'outputSetSnum' [-Wimplicit-function-declaration] outputSetSnum(textBegin, textLines); ^ --- renumout.o --- cc -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -O2 -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c renumout.c In file included from renumout.c:10:0: plain2.h:343:14: warning: conflicting types for built-in function 'malloc' extern char *malloc(); ^ renumout.c:41:8: warning: type defaults to 'int' in declaration of 'listLevel' [-Wimplicit-int] static listLevel = 0; ^ renumout.c:43:1: warning: return type defaults to 'int' [-Wimplicit-int] renumPrint(begin, end) ^ renumout.c: In function 'listNumStr': renumout.c:53:1: warning: type of 'num' defaults to 'int' [-Wimplicit-int] listNumStr(lbp, num) ^ renumout.c: At top level: renumout.c:108:1: warning: return type defaults to 'int' [-Wimplicit-int] renumList(lbp) ^ renumout.c: In function 'renumList': renumout.c:139:3: warning: implicit declaration of function 'renumRegion' [-Wimplicit-function-declaration] renumRegion(lhbp->rend, rend); ^ renumout.c: At top level: renumout.c:146:1: warning: return type defaults to 'int' [-Wimplicit-int] initSnum(textp) ^ renumout.c:162:1: warning: return type defaults to 'int' [-Wimplicit-int] renumSection(depth, body) ^ renumout.c:178:1: warning: return type defaults to 'int' [-Wimplicit-int] renumFtitle(ft, indent, str) ^ renumout.c:207:1: warning: return type defaults to 'int' [-Wimplicit-int] renumCapsule(blockTbp) ^ renumout.c: In function 'renumCapsule': renumout.c:215:2: warning: implicit declaration of function 'renumBlock' [-Wimplicit-function-declaration] renumBlock(tbp1); ^ renumout.c: At top level: renumout.c:222:1: warning: return type defaults to 'int' [-Wimplicit-int] renumBlock(tbp) ^ renumout.c: In function 'renumBlock': renumout.c:269:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(2); ^ renumout.c:269:3: warning: incompatible implicit declaration of built-in function 'exit' renumout.c:269:3: note: include '' or provide a declaration of 'exit' renumout.c: At top level: renumout.c:272:1: warning: return type defaults to 'int' [-Wimplicit-int] renumRegion(begin, end) ^ renumout.c: In function 'renumRegion': renumout.c:280:3: warning: 'return' with no value, in function returning non-void return; ^ renumout.c: At top level: renumout.c:298:1: warning: return type defaults to 'int' [-Wimplicit-int] renumDocument() ^ --- macro.o --- cc -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -O2 -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c macro.c --- htmlout.o --- cc -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -O2 -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c htmlout.c --- macro.o --- In file included from macro.c:12:0: plain2.h:343:14: warning: conflicting types for built-in function 'malloc' extern char *malloc(); ^ macro.c: In function 'macroParse': macro.c:94:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit (2); ^ macro.c:94:3: warning: incompatible implicit declaration of built-in function 'exit' macro.c:94:3: note: include '' or provide a declaration of 'exit' macro.c:108:8: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] strlen(macNames[macroNum].mname_argattr)) { ^ macro.c:108:8: warning: incompatible implicit declaration of built-in function 'strlen' macro.c:108:8: note: include '' or provide a declaration of 'strlen' macro.c:112:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ macro.c:112:5: note: include '' or provide a declaration of 'exit' macro.c:119:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ macro.c:119:5: note: include '' or provide a declaration of 'exit' macro.c: In function 'getMacroNum': macro.c:146:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(macNames[i].mname_name, buf) == 0) { ^ macro.c: At top level: macro.c:153:1: warning: return type defaults to 'int' [-Wimplicit-int] getMacroDef(buf, rstr) ^ macro.c:192:1: warning: return type defaults to 'int' [-Wimplicit-int] putMacro(int macroNum, char *fmt, ...) ^ macro.c: In function 'putMacro': macro.c:234:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] margs[i].ma_num = (int)va_arg(ap, int *); ^ macro.c: At top level: macro.c:281:1: warning: return type defaults to 'int' [-Wimplicit-int] clearMacro() ^ macro.c:287:1: warning: return type defaults to 'int' [-Wimplicit-int] initMacroDefs(mcp) ^ macro.c: In function 'macroFopen': macro.c:307:2: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(buf, fname); ^ macro.c:307:2: warning: incompatible implicit declaration of built-in function 'strcpy' macro.c:307:2: note: include '' or provide a declaration of 'strcpy' macro.c:308:2: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] strcat(buf, MACRO_SUFFIX); ^ macro.c:308:2: warning: incompatible implicit declaration of built-in function 'strcat' macro.c:308:2: note: include '' or provide a declaration of 'strcat' macro.c: At top level: macro.c:312:1: warning: return type defaults to 'int' [-Wimplicit-int] macroFile(fname) ^ macro.c: In function 'macroFile': macro.c:345:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ macro.c:345:4: note: include '' or provide a declaration of 'exit' macro.c:366:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ macro.c:366:4: note: include '' or provide a declaration of 'exit' --- htmlout.o --- In file included from htmlout.c:26:0: plain2.h:343:14: warning: conflicting types for built-in function 'malloc' extern char *malloc(); ^ htmlout.c:104:1: warning: return type defaults to 'int' [-Wimplicit-int] htmlSetTrans(full) ^ htmlout.c:149:1: warning: return type defaults to 'int' [-Wimplicit-int] htmlPutLabel(str) ^ htmlout.c:155:1: warning: return type defaults to 'int' [-Wimplicit-int] htmlPlain(str, attr, newline) ^ htmlout.c:168:1: warning: return type defaults to 'int' [-Wimplicit-int] htmlExample(str) ^ htmlout.c:175:1: warning: return type defaults to 'int' [-Wimplicit-int] htmlListBlock(begin, level, ltype, hint) ^ htmlout.c:226:1: warning: return type defaults to 'int' [-Wimplicit-int] htmlDlistItem(level, dscr, cont) ^ htmlout.c:234:1: warning: return type defaults to 'int' [-Wimplicit-int] htmlListItem(level) ^ htmlout.c:240:1: warning: return type defaults to 'int' [-Wimplicit-int] htmlRawText(str) ^ htmlout.c:246:1: warning: return type defaults to 'int' [-Wimplicit-int] htmlSpace(length) ^ htmlout.c:252:1: warning: return type defaults to 'int' [-Wimplicit-int] htmlFTitle(ft, str, capsule) ^ htmlout.c:296:1: warning: return type defaults to 'int' [-Wimplicit-int] htmlPictureBlock(begin, lines, indent, maxLen) ^ htmlout.c:313:1: warning: return type defaults to 'int' [-Wimplicit-int] htmlLineWidth(style) ^ htmlout.c:319:1: warning: return type defaults to 'int' [-Wimplicit-int] htmlEllipse(x0, y0, x1, y1, style) ^ htmlout.c:330:1: warning: return type defaults to 'int' [-Wimplicit-int] htmlPicLine(x0, y0, x1, y1, style, vector) ^ htmlout.c:338:1: warning: return type defaults to 'int' [-Wimplicit-int] htmlPicArc(x, y, r, dir, style) ^ htmlout.c:346:1: warning: return type defaults to 'int' [-Wimplicit-int] htmlPicText(s, xpos, vpos, factor) ^ htmlout.c:358:1: warning: return type defaults to 'int' [-Wimplicit-int] htmlTitle(style, haifu, title, shozoku, number, date, name, renraku ^ htmlout.c: In function 'htmlTitle': htmlout.c:377:3: warning: implicit declaration of function 'putMacro' [-Wimplicit-function-declaration] putMacro(M_TITLE, ^ htmlout.c:383:3: warning: 'return' with no value, in function returning non-void return; ^ htmlout.c: At top level: htmlout.c:387:1: warning: return type defaults to 'int' [-Wimplicit-int] htmlTable(begin, end, tblp) ^ htmlout.c:422:1: warning: return type defaults to 'int' [-Wimplicit-int] htmlCapsule(begin, type, center) ^ htmlout.c: In function 'htmlCapsule': htmlout.c:440:4: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(2); ^ htmlout.c:440:4: warning: incompatible implicit declaration of built-in function 'exit' htmlout.c:440:4: note: include '' or provide a declaration of 'exit' htmlout.c: At top level: htmlout.c:461:1: warning: return type defaults to 'int' [-Wimplicit-int] htmlComment(begin, end) ^ --- roffout.o --- cc -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -O2 -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c roffout.c In file included from roffout.c:10:0: plain2.h:343:14: warning: conflicting types for built-in function 'malloc' extern char *malloc(); ^ roffout.c:85:1: warning: return type defaults to 'int' [-Wimplicit-int] roffPlain(str, attr, newline) ^ roffout.c:99:1: warning: return type defaults to 'int' [-Wimplicit-int] roffExample(str) ^ roffout.c:123:1: warning: return type defaults to 'int' [-Wimplicit-int] roffListBlock(begin, level, ltype, hint) ^ roffout.c: In function 'roffListBlock': roffout.c:131:3: warning: implicit declaration of function 'mmListBlock' [-Wimplicit-function-declaration] mmListBlock(begin, level, ltype, hint); ^ roffout.c:134:3: warning: implicit declaration of function 'msListBlock' [-Wimplicit-function-declaration] msListBlock(begin, level, ltype, hint); ^ roffout.c: At top level: roffout.c:139:1: warning: return type defaults to 'int' [-Wimplicit-int] mmListBlock(begin, level, ltype, hint) ^ roffout.c:226:1: warning: return type defaults to 'int' [-Wimplicit-int] msListBlock(begin, level, ltype, hint) ^ roffout.c:300:1: warning: return type defaults to 'int' [-Wimplicit-int] roffDlistItem(level, dscr, cont) ^ roffout.c:321:1: warning: return type defaults to 'int' [-Wimplicit-int] roffListItem(level) ^ roffout.c:370:1: warning: return type defaults to 'int' [-Wimplicit-int] roffSpace(length) ^ roffout.c:379:1: warning: return type defaults to 'int' [-Wimplicit-int] roffRawText(str) ^ roffout.c:383:1: warning: return type defaults to 'int' [-Wimplicit-int] roffFTitle(ft, str, capsule) ^ roffout.c:421:1: warning: return type defaults to 'int' [-Wimplicit-int] roffPictureBlock(begin, lines, indent, maxLen) ^ roffout.c:439:1: warning: return type defaults to 'int' [-Wimplicit-int] roffLineWidth(style) ^ roffout.c:449:1: warning: return type defaults to 'int' [-Wimplicit-int] roffPicLine(x0, y0, x1, y1, style, vector) ^ roffout.c: In function 'roffPicLine': roffout.c:461:3: warning: 'return' with no value, in function returning non-void return; ^ roffout.c:467:3: warning: 'return' with no value, in function returning non-void return; ^ roffout.c: At top level: roffout.c:490:1: warning: return type defaults to 'int' [-Wimplicit-int] roffPicArc(x, y, r, dir, style) ^ roffout.c:527:1: warning: return type defaults to 'int' [-Wimplicit-int] roffPicText(s, xpos, vpos, factor) ^ roffout.c:541:1: warning: return type defaults to 'int' [-Wimplicit-int] roffTitle(style, haifu, title, shozoku, number, date, name, renraku ^ roffout.c: In function 'roffTitle': roffout.c:560:3: warning: implicit declaration of function 'putMacro' [-Wimplicit-function-declaration] putMacro(M_TITLE, ^ roffout.c:567:3: warning: 'return' with no value, in function returning non-void return; ^ roffout.c: At top level: roffout.c:608:1: warning: return type defaults to 'int' [-Wimplicit-int] roffTable(begin, end, tblp) ^ roffout.c: In function 'roffTable': roffout.c:620:16: warning: implicit declaration of function 'lineAttr' [-Wimplicit-function-declaration] if ((hattr = lineAttr(texts[l]->body, &atr)) ^ roffout.c:627:12: warning: implicit declaration of function 'extraColumn' [-Wimplicit-function-declaration] exCol = extraColumn(atr, texts[l]->length, fld, tblp); ^ In file included from roffout.c:9:0: roffout.c:628:12: warning: implicit declaration of function 'formatOf' [-Wimplicit-function-declaration] putchar(formatOf(atr, texts[l]->length, fld, exCol, tblp)); ^ roffout.c:632:14: warning: implicit declaration of function 'attrOfStr' [-Wimplicit-function-declaration] curAttr = attrOfStr(atr, texts[l]->length, fld, exCol, tblp); ^ roffout.c: At top level: roffout.c:663:1: warning: return type defaults to 'int' [-Wimplicit-int] roffCapsule(begin, type, center) ^ roffout.c: In function 'roffCapsule': roffout.c:663:1: warning: type of 'center' defaults to 'int' [-Wimplicit-int] roffout.c: At top level: roffout.c:677:1: warning: return type defaults to 'int' [-Wimplicit-int] roffComment(begin, end) ^ --- analyze.o --- cc -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -O2 -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c analyze.c --- table.o --- cc -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -O2 -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c table.c --- analyze.o --- In file included from analyze.c:11:0: plain2.h:343:14: warning: conflicting types for built-in function 'malloc' extern char *malloc(); ^ analyze.c:189:1: warning: return type defaults to 'int' [-Wimplicit-int] checkIfNumber(str, rval) ^ analyze.c:210:1: warning: return type defaults to 'int' [-Wimplicit-int] checkIfRoman(str, rval, typep) ^ analyze.c: In function 'checkIfRoman': analyze.c:223:9: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] return strlen(svp->pattern); ^ analyze.c:223:9: warning: incompatible implicit declaration of built-in function 'strlen' analyze.c:223:9: note: include '' or provide a declaration of 'strlen' analyze.c: At top level: analyze.c:225:1: warning: return type defaults to 'int' [-Wimplicit-int] checkIfAppendix(str, nump) ^ analyze.c: In function 'checkIfAppendix': analyze.c:235:8: warning: incompatible implicit declaration of built-in function 'strlen' len = strlen(svp->pattern); ^ analyze.c:235:8: note: include '' or provide a declaration of 'strlen' analyze.c:245:17: warning: implicit declaration of function 'checkIfNumStr' [-Wimplicit-function-declaration] || (len2 = checkIfNumStr(str, nump)) ^ analyze.c:246:17: warning: implicit declaration of function 'checkIfAlpha' [-Wimplicit-function-declaration] || (len2 = checkIfAlpha(str, nump, &ttt)) ^ analyze.c:247:17: warning: implicit declaration of function 'checkIfZenkakuAlpha' [-Wimplicit-function-declaration] || (len2 = checkIfZenkakuAlpha(str, nump, &ttt))) { ^ analyze.c: At top level: analyze.c:270:1: warning: return type defaults to 'int' [-Wimplicit-int] checkIfSecNumber(str, dots) ^ analyze.c: In function 'checkIfSecNumber': analyze.c:291:17: warning: incompatible implicit declaration of built-in function 'strlen' && (len = strlen(svp->pattern))) { ^ analyze.c:291:17: note: include '' or provide a declaration of 'strlen' --- table.o --- In file included from table.c:13:0: plain2.h:343:14: warning: conflicting types for built-in function 'malloc' extern char *malloc(); ^ table.c:64:1: warning: return type defaults to 'int' [-Wimplicit-int] tblParseInit() ^ table.c:76:1: warning: return type defaults to 'int' [-Wimplicit-int] tblKwakuAttr(s) ^ table.c:96:1: warning: return type defaults to 'int' [-Wimplicit-int] lineAttr(s, horiAtrp) ^ table.c:155:1: warning: return type defaults to 'int' [-Wimplicit-int] findFieldLeft(col) ^ table.c:178:1: warning: return type defaults to 'int' [-Wimplicit-int] findFieldEnd(col) ^ table.c:192:1: warning: return type defaults to 'int' [-Wimplicit-int] buildDefFormat(tblp) ^ table.c:242:1: warning: return type defaults to 'int' [-Wimplicit-int] buildField(begin, end, tblp) ^ table.c: In function 'buildField': table.c:252:11: warning: implicit declaration of function 'maxLength' [-Wimplicit-function-declaration] maxLen = maxLength(begin, end); ^ table.c: At top level: table.c:337:1: warning: return type defaults to 'int' [-Wimplicit-int] fieldOnlyHline(lnum, fld, tblp) ^ table.c:350:1: warning: return type defaults to 'int' [-Wimplicit-int] shrinkField(begin, end, tblp) ^ table.c: In function 'shrinkField': table.c:359:3: warning: 'return' with no value, in function returning non-void return; ^ table.c: At top level: table.c:390:1: warning: return type defaults to 'int' [-Wimplicit-int] spaceInField(l, fld, tblp) ^ table.c:413:1: warning: return type defaults to 'int' [-Wimplicit-int] tblCheck(begin, end, tblp) ^ table.c:483:1: warning: return type defaults to 'int' [-Wimplicit-int] markIfTable(begin, end) ^ table.c:506:1: warning: return type defaults to 'int' [-Wimplicit-int] extraColumn(atr, len, fld, tblp) ^ table.c:536:1: warning: return type defaults to 'int' [-Wimplicit-int] formatOf(atr, len, fld, exCol, tblp) ^ table.c:580:1: warning: return type defaults to 'int' [-Wimplicit-int] fieldEmpty(atr, len, fld, exCol, tblp) ^ table.c:614:1: warning: return type defaults to 'int' [-Wimplicit-int] attrOfStr(atr, len, f, exCol, tblp) ^ table.c:629:1: warning: return type defaults to 'int' [-Wimplicit-int] tblOutput(begin, end) ^ --- analyze.o --- analyze.c: At top level: analyze.c:317:1: warning: return type defaults to 'int' [-Wimplicit-int] checkIfNumStr(str, lnump) ^ analyze.c:337:1: warning: return type defaults to 'int' [-Wimplicit-int] checkIfZenkakuAlpha(str, lnump, typep) ^ analyze.c:361:1: warning: return type defaults to 'int' [-Wimplicit-int] checkIfAlpha(str, lnump, typep) ^ analyze.c:387:1: warning: return type defaults to 'int' [-Wimplicit-int] checkIfEnumList(str, textp) ^ analyze.c: In function 'checkIfEnumList': analyze.c:397:12: warning: incompatible implicit declaration of built-in function 'strlen' lparen = strlen(svp->pattern); ^ analyze.c:397:12: note: include '' or provide a declaration of 'strlen' analyze.c:423:9: warning: incompatible implicit declaration of built-in function 'strlen' len = strlen(svp->pattern); ^ analyze.c:423:9: note: include '' or provide a declaration of 'strlen' analyze.c:430:9: warning: incompatible implicit declaration of built-in function 'strlen' len = strlen(svp->pattern); ^ analyze.c:430:9: note: include '' or provide a declaration of 'strlen' analyze.c: At top level: analyze.c:456:1: warning: return type defaults to 'int' [-Wimplicit-int] checkIfDscrList(str) ^ analyze.c:484:1: warning: return type defaults to 'int' [-Wimplicit-int] lineAtrListSec(textp) ^ analyze.c: In function 'lineAtrListSec': analyze.c:493:9: warning: incompatible implicit declaration of built-in function 'strlen' len = strlen(svp->pattern); ^ analyze.c:493:9: note: include '' or provide a declaration of 'strlen' analyze.c:502:9: warning: incompatible implicit declaration of built-in function 'strlen' len = strlen(svp->pattern); ^ analyze.c:502:9: note: include '' or provide a declaration of 'strlen' analyze.c: At top level: analyze.c:544:1: warning: return type defaults to 'int' [-Wimplicit-int] lineAtrDlist(textp) ^ analyze.c: In function 'lineAtrDlist': analyze.c:549:3: warning: 'return' with no value, in function returning non-void return; ^ analyze.c:562:10: warning: incompatible implicit declaration of built-in function 'strlen' ret = strlen(svp->pattern); ^ analyze.c:562:10: note: include '' or provide a declaration of 'strlen' analyze.c: At top level: analyze.c:584:1: warning: return type defaults to 'int' [-Wimplicit-int] byteRegister(reg, kpat) ^ analyze.c:595:1: warning: return type defaults to 'int' [-Wimplicit-int] analyzeLines(begin, end) ^ analyze.c: In function 'analyzeLines': analyze.c:632:3: warning: implicit declaration of function 'lineAtrFtitle' [-Wimplicit-function-declaration] lineAtrFtitle(textp); ^ analyze.c:634:3: warning: implicit declaration of function 'picCharCount' [-Wimplicit-function-declaration] picCharCount(textp); ^ --- title.o --- cc -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -O2 -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c title.c --- picture.o --- cc -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -O2 -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c picture.c --- title.o --- In file included from title.c:10:0: plain2.h:343:14: warning: conflicting types for built-in function 'malloc' extern char *malloc(); ^ title.c:165:1: warning: return type defaults to 'int' [-Wimplicit-int] keyWordMatch(str, kind, outlooks, val) ^ title.c: In function 'keyWordMatch': title.c:176:8: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (strncmp(titleKeyTbl[i].pattern, s, ^ title.c:177:9: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] strlen(titleKeyTbl[i].pattern)) == 0) { ^ title.c:177:9: warning: incompatible implicit declaration of built-in function 'strlen' title.c:177:9: note: include '' or provide a declaration of 'strlen' title.c:183:5: warning: 'return' with no value, in function returning non-void return; ^ title.c: At top level: title.c:198:1: warning: return type defaults to 'int' [-Wimplicit-int] getTitleBlock(begin, end) ^ title.c: In function 'getTitleBlock': title.c:227:8: warning: implicit declaration of function 'optionLine' [-Wimplicit-function-declaration] if (optionLine(s)) { ^ title.c:231:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ title.c:231:5: warning: incompatible implicit declaration of built-in function 'exit' title.c:231:5: note: include '' or provide a declaration of 'exit' title.c:273:5: warning: incompatible implicit declaration of built-in function 'exit' exit(2); ^ title.c:273:5: note: include '' or provide a declaration of 'exit' title.c:278:2: warning: implicit declaration of function 'saveTitleBody' [-Wimplicit-function-declaration] saveTitleBody(begin, end, TENT_HAIFU); ^ title.c: At top level: title.c:323:1: warning: return type defaults to 'int' [-Wimplicit-int] saveTitleBody(begin, end, kind) ^ title.c:344:1: warning: return type defaults to 'int' [-Wimplicit-int] outputTitle() ^ --- picture.o --- In file included from picture.c:15:0: plain2.h:343:14: warning: conflicting types for built-in function 'malloc' extern char *malloc(); ^ picture.c:93:1: warning: return type defaults to 'int' [-Wimplicit-int] picParseInit() ^ picture.c:104:1: warning: return type defaults to 'int' [-Wimplicit-int] picOutText(s, length) ^ picture.c: In function 'picOutText': picture.c:111:8: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] (void)strncpy(buf, s, length); ^ picture.c:111:8: warning: incompatible implicit declaration of built-in function 'strncpy' picture.c:111:8: note: include '' or provide a declaration of 'strncpy' picture.c:113:10: warning: implicit declaration of function 'strWidth' [-Wimplicit-function-declaration] width = strWidth(buf); ^ picture.c:115:15: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] fieldWidth = strlen(buf); ^ picture.c:115:15: warning: incompatible implicit declaration of built-in function 'strlen' picture.c:115:15: note: include '' or provide a declaration of 'strlen' picture.c: At top level: picture.c:126:1: warning: return type defaults to 'int' [-Wimplicit-int] strWidth(s) ^ picture.c:181:1: warning: return type defaults to 'int' [-Wimplicit-int] picCharCount(textp) ^ picture.c:209:1: warning: return type defaults to 'int' [-Wimplicit-int] newLine(stp, half) ^ picture.c:223:1: warning: return type defaults to 'int' [-Wimplicit-int] terminateLine(stp) ^ picture.c: In function 'terminateLine': picture.c:228:3: warning: 'return' with no value, in function returning non-void return; ^ picture.c: At top level: picture.c:256:1: warning: return type defaults to 'int' [-Wimplicit-int] processLine(stp) ^ picture.c: In function 'subcIfKanji': picture.c:310:6: warning: implicit declaration of function 'isKanjiChar' [-Wimplicit-function-declaration] if (isKanjiChar(texts[lnum], col)) ^ picture.c: At top level: picture.c:315:1: warning: return type defaults to 'int' [-Wimplicit-int] picMiscLinePut(mlp) ^ picture.c:325:1: warning: return type defaults to 'int' [-Wimplicit-int] slantCnctOut(xdir, ydir, turnX, turnY, lnum) ^ picture.c:353:1: warning: return type defaults to 'int' [-Wimplicit-int] slantExtent(xdir, ydir, lnum) ^ picture.c: In function 'slantExtent': picture.c:364:4: warning: 'return' with no value, in function returning non-void return; ^ picture.c:370:4: warning: 'return' with no value, in function returning non-void return; ^ picture.c: At top level: picture.c:382:1: warning: return type defaults to 'int' [-Wimplicit-int] slantConnect(xdir, ydir, l, mlp) ^ picture.c: In function 'slantConnect': picture.c:397:3: warning: 'return' with no value, in function returning non-void return; ^ picture.c: At top level: picture.c:401:1: warning: return type defaults to 'int' [-Wimplicit-int] slantArrow(lnum) ^ picture.c: In function 'slantArrow': picture.c:408:9: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (!strncmp(subcIfKanji(colPos + xdir * 2, ^ picture.c: At top level: picture.c:421:1: warning: return type defaults to 'int' [-Wimplicit-int] picMisc(mlp, lnum) ^ picture.c:528:1: warning: return type defaults to 'int' [-Wimplicit-int] parseHoriLine(lnum) ^ picture.c:572:1: warning: return type defaults to 'int' [-Wimplicit-int] maybePicture(begin, end) ^ picture.c: In function 'maybePicture': picture.c:585:11: warning: implicit declaration of function 'minIndent' [-Wimplicit-function-declaration] indent = minIndent(begin, end); ^ picture.c: At top level: picture.c:612:1: warning: return type defaults to 'int' [-Wimplicit-int] markIfPicture(begin, end) ^ picture.c:627:1: warning: return type defaults to 'int' [-Wimplicit-int] picOutput(begin, end) ^ picture.c: In function 'picOutput': picture.c:642:4: warning: implicit declaration of function 'htmlRawText' [-Wimplicit-function-declaration] htmlRawText(texts[l]->body); ^ picture.c:649:3: warning: 'return' with no value, in function returning non-void return ; ^ picture.c:662:3: warning: 'return' with no value, in function returning non-void return ; ^ picture.c:668:11: warning: implicit declaration of function 'maxLength' [-Wimplicit-function-declaration] maxLen = maxLength(begin, end); ^ --- ftitle.o --- cc -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -O2 -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c ftitle.c In file included from ftitle.c:10:0: plain2.h:343:14: warning: conflicting types for built-in function 'malloc' extern char *malloc(); ^ ftitle.c:31:1: warning: return type defaults to 'int' [-Wimplicit-int] ftitleInit() ^ ftitle.c: In function 'ftitleInit': ftitle.c:34:2: warning: implicit declaration of function 'byteRegister' [-Wimplicit-function-declaration] byteRegister(firstByteFtitle, figTblMark); ^ ftitle.c: At top level: ftitle.c:36:1: warning: return type defaults to 'int' [-Wimplicit-int] lineAtrFtitle(textp) ^ ftitle.c: In function 'lineAtrFtitle': ftitle.c:44:3: warning: 'return' with no value, in function returning non-void return; ^ ftitle.c:47:3: warning: 'return' with no value, in function returning non-void return; ^ ftitle.c:52:7: warning: 'return' with no value, in function returning non-void else return ; ^ ftitle.c:54:8: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] len = strlen(svp->pattern); ^ ftitle.c:54:8: warning: incompatible implicit declaration of built-in function 'strlen' ftitle.c:54:8: note: include '' or provide a declaration of 'strlen' ftitle.c:62:16: warning: implicit declaration of function 'checkIfNumber' [-Wimplicit-function-declaration] while (len2 = checkIfNumber(str + ofst, &num)){ ^ ftitle.c:76:2: warning: 'return' with no value, in function returning non-void return; ^ ftitle.c:79:2: warning: 'return' with no value, in function returning non-void return; ^ ftitle.c: At top level: ftitle.c:81:1: warning: return type defaults to 'int' [-Wimplicit-int] figTitle(begin, end) ^ ftitle.c:96:1: warning: return type defaults to 'int' [-Wimplicit-int] titledBlock(tbp1, tbp2) ^ ftitle.c:111:1: warning: return type defaults to 'int' [-Wimplicit-int] joinIfTitled(titlep, begin, end) ^ ftitle.c:148:1: warning: return type defaults to 'int' [-Wimplicit-int] makeTitledBlock(begin, end) ^ --- plain2 --- cc -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -O2 -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -o plain2 plain2.o readfile.o miscutil.o section.o example.o list.o plaintxt.o spacing.o headfoot.o hint.o justify.o texout.o output.o renumout.o macro.o htmlout.o roffout.o analyze.o table.o title.o picture.o ftitle.o =========================================================================== =================================================== =========================================================================== =================================================== ===> Staging for ja-plain2-2.54.1_2 ===> Generating temporary packing list install -s -m 555 /wrkdirs/japanese/plain2/plain2-2.54p1.orig/src/plain2 /wrkdirs/japanese/plain2/stage/usr/local/bin install -m 0644 /wrkdirs/japanese/plain2/plain2-2.54p1.orig/lib/*.p2 /wrkdirs/japanese/plain2/stage/usr/local/share/plain2 ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for ja-plain2-2.54.1_2 file sizes/checksums [7]: . done packing files [7]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for ja-plain2-2.54.1_2 build of japanese/plain2 ended at Wed Oct 5 15:18:57 PDT 2016 build time: 00:00:06