>>> Building on exopi-6 under x11/xscribble BDEPENDS = [devel/imake-cf;devel/imake] DIST = [x11/xscribble:xscribble.tgz] FULLPKGNAME = xscribble-20000616p4 (Junk lock obtained for exopi-6 at 1713771902.37) >>> Running depends in x11/xscribble at 1713771902.42 last junk was in net/silc-server /usr/sbin/pkg_add -aI -Drepair imake-1.0.9 imake-cf-1.0.7p0 was: /usr/sbin/pkg_add -aI -Drepair imake-1.0.9 imake-cf-1.0.7p0 /usr/sbin/pkg_add -aI -Drepair imake-1.0.9 imake-cf-1.0.7p0 >>> Running show-prepare-results in x11/xscribble at 1713771903.73 ===> x11/xscribble ===> Building from scratch xscribble-20000616p4 ===> xscribble-20000616p4 depends on: imake-* -> imake-1.0.9 ===> xscribble-20000616p4 depends on: imake-cf-* -> imake-cf-1.0.7p0 ===> Verifying specs: X11 Xau Xdmcp Xext ICE Xt Xtst Xmu c m SM Xpm Xaw ===> found X11.18.0 Xau.10.0 Xdmcp.11.0 Xext.13.0 ICE.11.0 Xt.11.1 Xtst.11.0 Xmu.11.0 c.100.0 m.10.1 SM.9.0 Xpm.10.0 Xaw.16.0 imake-1.0.9 imake-cf-1.0.7p0 (Junk lock released for exopi-6 at 1713771904.47) distfiles size=164379 >>> Running build in x11/xscribble at 1713771904.49 ===> x11/xscribble ===> Checking files for xscribble-20000616p4 `/exopi-cvs/ports/distfiles/xscribble.tgz' is up to date. >> (SHA256) xscribble.tgz: OK ===> Extracting for xscribble-20000616p4 ===> Patching for xscribble-20000616p4 ===> Applying OpenBSD patch patch-Imakefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Imakefile.orig |+++ Imakefile -------------------------- Patching file Imakefile using Plan A... Hunk #1 succeeded at 9. done ===> Applying OpenBSD patch patch-lirec_Imakefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- lirec/Imakefile.orig |+++ lirec/Imakefile -------------------------- Patching file lirec/Imakefile using Plan A... Hunk #1 succeeded at 8. done ===> Applying OpenBSD patch patch-lirec_li_recognizer_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- lirec/li_recognizer.c.orig |+++ lirec/li_recognizer.c -------------------------- Patching file lirec/li_recognizer.c using Plan A... Hunk #1 succeeded at 21. Hunk #2 succeeded at 53. Hunk #3 succeeded at 923. done ===> Applying OpenBSD patch patch-lirec_sc_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- lirec/sc.c.orig |+++ lirec/sc.c -------------------------- Patching file lirec/sc.c using Plan A... Hunk #1 succeeded at 30. Hunk #2 succeeded at 365. done ===> Applying OpenBSD patch patch-lirec_util_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- lirec/util.h.orig |+++ lirec/util.h -------------------------- Patching file lirec/util.h using Plan A... Hunk #1 succeeded at 53. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for xscribble-20000616p4 ===> Configuring for xscribble-20000616p4 mv -f Makefile Makefile.bak imake -DPorts -DUseInstalled -I/usr/local/lib/X11/config make Makefiles making Makefiles in recman... mv -f Makefile Makefile.bak In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/OpenBSD.cf:423:3: /usr/local/lib/X11/config/xorg.cf:116:13: Warning: value of undefined symbol PatheticCpp is 0 In file included from Imakefile.c:17:2: /usr/local/lib/X11/config/Imake.tmpl:1081:16: Warning: value of undefined symbol LinuxBinUtilsMajorVersion is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:382:13: Warning: value of undefined symbol XF86Server is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:3860:18: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4077:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4098:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4120:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4138:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4159:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4211:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4230:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4302:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4332:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4348:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4419:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2193:2: In file included from ./Imakefile:11:2: /usr/local/lib/X11/config/Library.tmpl:118:11: Warning: value of undefined symbol LargePICTable is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2193:2: In file included from ./Imakefile:11:2: /usr/local/lib/X11/config/Library.tmpl:407:11: Warning: value of undefined symbol LibTookitMakeStringsDependency is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2193:2: In file included from ./Imakefile:11:2: /usr/local/lib/X11/config/Library.tmpl:444:11: Warning: value of undefined symbol LibTookitMakeStringsDependency is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2193:2: In file included from ./Imakefile:11:2: /usr/local/lib/X11/config/Library.tmpl:461:12: Warning: value of undefined symbol LibBuild is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2193:2: In file included from ./Imakefile:11:2: /usr/local/lib/X11/config/Library.tmpl:465:12: Warning: value of undefined symbol LibCreate is 0 making Makefiles in lirec... mv -f Makefile Makefile.bak In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/OpenBSD.cf:423:3: /usr/local/lib/X11/config/xorg.cf:116:13: Warning: value of undefined symbol PatheticCpp is 0 In file included from Imakefile.c:17:2: /usr/local/lib/X11/config/Imake.tmpl:1081:16: Warning: value of undefined symbol LinuxBinUtilsMajorVersion is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:382:13: Warning: value of undefined symbol XF86Server is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:3860:18: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4077:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4098:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4120:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4138:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4159:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4211:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4230:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4302:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4332:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4348:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4419:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2193:2: In file included from ./Imakefile:13:2: /usr/local/lib/X11/config/Library.tmpl:118:11: Warning: value of undefined symbol LargePICTable is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2193:2: In file included from ./Imakefile:13:2: /usr/local/lib/X11/config/Library.tmpl:407:11: Warning: value of undefined symbol LibTookitMakeStringsDependency is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2193:2: In file included from ./Imakefile:13:2: /usr/local/lib/X11/config/Library.tmpl:444:11: Warning: value of undefined symbol LibTookitMakeStringsDependency is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2193:2: In file included from ./Imakefile:13:2: /usr/local/lib/X11/config/Library.tmpl:461:12: Warning: value of undefined symbol LibBuild is 0 In file included from Imakefile.c:17:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2193:2: In file included from ./Imakefile:13:2: /usr/local/lib/X11/config/Library.tmpl:465:12: Warning: value of undefined symbol LibCreate is 0 make includes including in ./recman... including in ./lirec... make depend depending in ./recman... rm -f .depend gccmakedep -f- -- -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -- hre_api.c > .depend depending in ./lirec... rm -f .depend gccmakedep -f- -- -I../recman -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -Dunix=1 -- li_recognizer.c sc.c util.c matrix.c bitvector.c > .depend rm -f .depend gccmakedep -f- -- -Ilirec -Irecman -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -Dunix=1 -- xscribble.c Scribble.c > .depend ===> Building for xscribble-20000616p4 making all in ./recman... rm -f hre_api.o cc -c -O2 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO hre_api.c hre_api.c:96:5: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] error("malloc failure"); ^ hre_api.c:212:5: warning: call to undeclared function '__recognizer_internal_finalize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] __recognizer_internal_finalize(rec); ^ hre_api.c:846:29: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] rec->recognizer_version = REC_VERSION; ^ ~~~~~~~~~~~ 3 warnings generated. rm -f librecman.a ar clq librecman.a hre_api.o ranlib librecman.a making all in ./lirec... rm -f li_recognizer.o cc -c -O2 -I../recman -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -Dunix=1 li_recognizer.c In file included from li_recognizer.c:32: ./sc.h:2:1: warning: '/*' within block comment [-Wcomment] /*********************************************************************** ^ li_recognizer.c:85:21: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] point_list *p = allocate(1, point_list); ^ ./util.h:31:19: note: expanded from macro 'allocate' ((type *) myalloc(n, sizeof(type), "type")) ^ li_recognizer.c:264:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error("Error in reading example points from classifier file"); ^ li_recognizer.c:278:20: warning: passing arguments to 'sRead' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if( (sc = sRead(fd)) == NULL ) { ^ li_recognizer.c:285:17: warning: passing arguments to 'sFreeClassifier' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sFreeClassifier(sc); ^ li_recognizer.c:322:11: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = allocate(nclasses, char*); ^ ./util.h:31:19: note: expanded from macro 'allocate' ((type *) myalloc(n, sizeof(type), "type")) ^ li_recognizer.c:328:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ li_recognizer.c:384:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ li_recognizer.c:429:16: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pathname = allocate(strlen(dir) + strlen(filename) + 2, char); ^ ./util.h:31:19: note: expanded from macro 'allocate' ((type *) myalloc(n, sizeof(type), "type")) ^ li_recognizer.c:819:11: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rec = allocate(1, li_recognizer); ^ ./util.h:31:19: note: expanded from macro 'allocate' ((type *) myalloc(n, sizeof(type), "type")) ^ li_recognizer.c:886:17: warning: passing arguments to 'sFreeClassifier' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sFreeClassifier(rc->sc); ^ li_recognizer.c:1195:39: warning: format specifies type 'int' but the argument has type 'Time' (aka 'unsigned long') [-Wformat] ipts->pts[j].x, ipts->pts[j].y, ipts->pts[j].chaincode); ^~~~~~~~~~~~~~~~~~~~~~ li_recognizer.c:1211:39: warning: format specifies type 'int' but the argument has type 'Time' (aka 'unsigned long') [-Wformat] dpts->pts[j].x, dpts->pts[j].y, dpts->pts[j].chaincode); ^~~~~~~~~~~~~~~~~~~~~~ li_recognizer.c:1248:14: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newpts = allocate(1, point_list); ^ ./util.h:31:19: note: expanded from macro 'allocate' ((type *) myalloc(n, sizeof(type), "type")) ^ li_recognizer.c:1398:12: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] junk = allocate((2 + LP_FILTER_ITERS) * pts->npts, int); ^ ./util.h:31:19: note: expanded from macro 'allocate' ((type *) myalloc(n, sizeof(type), "type")) ^ li_recognizer.c:1451:40: warning: format specifies type 'int' but the argument has type 'Time' (aka 'unsigned long') [-Wformat] i, pts->pts[i].x, pts->pts[i].y, pts->pts[i].chaincode); ^~~~~~~~~~~~~~~~~~~~~ li_recognizer.c:1471:12: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regions = allocate(1, region_list); ^ ./util.h:31:19: note: expanded from macro 'allocate' ((type *) myalloc(n, sizeof(type), "type")) ^ li_recognizer.c:1491:14: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] next_reg = allocate(1, region_list); ^ ./util.h:31:19: note: expanded from macro 'allocate' ((type *) myalloc(n, sizeof(type), "type")) ^ li_recognizer.c:1563:15: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] curr_reg = allocate(1, region_list); ^ ./util.h:31:19: note: expanded from macro 'allocate' ((type *) myalloc(n, sizeof(type), "type")) ^ li_recognizer.c:1572:15: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] curr_reg = allocate(1, region_list); ^ ./util.h:31:19: note: expanded from macro 'allocate' ((type *) myalloc(n, sizeof(type), "type")) ^ li_recognizer.c:1617:12: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dpts = allocate(1, point_list); ^ ./util.h:31:19: note: expanded from macro 'allocate' ((type *) myalloc(n, sizeof(type), "type")) ^ li_recognizer.c:1686:9: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] V = allocate(pts->npts, int); ^ ./util.h:31:19: note: expanded from macro 'allocate' ((type *) myalloc(n, sizeof(type), "type")) ^ li_recognizer.c:1802:13: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] G = allocate(M, int *); ^ ./util.h:31:19: note: expanded from macro 'allocate' ((type *) myalloc(n, sizeof(type), "type")) ^ li_recognizer.c:1804:9: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] junk = allocate(M * (N + 1), int); ^ ./util.h:31:19: note: expanded from macro 'allocate' ((type *) myalloc(n, sizeof(type), "type")) ^ li_recognizer.c:1887:7: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BE = allocate((N + 1), int); ^ ./util.h:31:19: note: expanded from macro 'allocate' ((type *) myalloc(n, sizeof(type), "type")) ^ li_recognizer.c:1889:7: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TE = allocate((N + 1), int); ^ ./util.h:31:19: note: expanded from macro 'allocate' ((type *) myalloc(n, sizeof(type), "type")) ^ li_recognizer.c:1910:6: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] C = allocate((M + 1), int *); ^ ./util.h:31:19: note: expanded from macro 'allocate' ((type *) myalloc(n, sizeof(type), "type")) ^ li_recognizer.c:1912:9: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] junk = allocate((M + 1) * (N + 1), int); ^ ./util.h:31:19: note: expanded from macro 'allocate' ((type *) myalloc(n, sizeof(type), "type")) ^ li_recognizer.c:1992:13: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clx_path = allocate(strlen(rec->file_name) + 5, char); ^ ./util.h:31:19: note: expanded from macro 'allocate' ((type *) myalloc(n, sizeof(type), "type")) ^ li_recognizer.c:2025:9: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dpts = allocate(1, point_list); ^ ./util.h:31:19: note: expanded from macro 'allocate' ((type *) myalloc(n, sizeof(type), "type")) ^ li_recognizer.c:2302:7: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error("can't allocate memory in lialg_compute_equipoints"); ^ li_recognizer.c:2421:7: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error("can't allocate memory in lialg_filter_points"); ^ 32 warnings generated. rm -f sc.o cc -c -O2 -I../recman -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -Dunix=1 sc.c In file included from sc.c:28: ./sc.h:2:1: warning: '/*' within block comment [-Wcomment] /*********************************************************************** ^ sc.c:39:28: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] register sClassifier sc = allocate(1, struct sclassifier); ^ ./util.h:31:19: note: expanded from macro 'allocate' ((type *) myalloc(n, sizeof(type), "type")) ^ sc.c:42:18: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sc->classdope = allocate(MAXSCLASSES, sClassDope); ^ ./util.h:31:19: note: expanded from macro 'allocate' ((type *) myalloc(n, sizeof(type), "type")) ^ sc.c:56:17: warning: call to undeclared function 'free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if(scd->name) free(scd->name); ^ sc.c:57:29: warning: passing arguments to 'FreeMatrix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if(scd->sumcov) FreeMatrix(scd->sumcov); ^ sc.c:58:30: warning: passing arguments to 'FreeVector' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if(scd->average) FreeVector(scd->average); ^ sc.c:60:35: warning: passing arguments to 'FreeVector' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if(sc->w && sc->w[i]) FreeVector(sc->w[i]); ^ sc.c:62:2: warning: call to undeclared function 'free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] free(sc->classdope); ^ sc.c:64:25: warning: passing arguments to 'FreeVector' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if(sc->cnst) FreeVector(sc->cnst); ^ sc.c:65:30: warning: passing arguments to 'FreeMatrix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if(sc->invavgcov) FreeMatrix(sc->invavgcov); ^ sc.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sFreeClassifier(sc) ^ In file included from sc.c:28: ./sc.h:61:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void sFreeClassifier(); /* sc */ ^ sc.c:80:40: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if(lastsc == sc && lastscd != NULL && STREQ(lastscd->name, classname)) ^ ./util.h:37:24: note: expanded from macro 'STREQ' #define STREQ(a,b) ( ! strcmp(a,b) ) ^ sc.c:80:40: note: include the header or explicitly provide a declaration for 'strcmp' ./util.h:37:24: note: expanded from macro 'STREQ' #define STREQ(a,b) ( ! strcmp(a,b) ) ^ sc.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sClassNameLookup(sc, classname) ^ In file included from sc.c:28: ./sc.h:67:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] sClassDope sClassNameLookup(); /* sc, classname */ ^ sc.c:101:38: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sc->classdope[sc->nclasses] = scd = allocate(1, struct sclassdope); ^ ./util.h:31:19: note: expanded from macro 'allocate' ((type *) myalloc(n, sizeof(type), "type")) ^ sc.c:102:19: warning: passing arguments to 'scopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scd->name = scopy(classname); ^ sc.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sAddClass(sc, classname) ^ sc.c:134:27: warning: passing arguments to 'NewVector' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scd->average = NewVector(sc->nfeatures); ^ sc.c:135:3: warning: call to undeclared function 'ZeroVector'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ZeroVector(scd->average); ^ sc.c:136:26: warning: passing arguments to 'NewMatrix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scd->sumcov = NewMatrix(sc->nfeatures, sc->nfeatures); ^ sc.c:137:13: warning: passing arguments to 'ZeroMatrix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ZeroMatrix(scd->sumcov); ^ sc.c:142:14: warning: passing arguments to 'PrintVector' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrintVector(y, "sAddExample: funny feature vector nrows!=%d", ^ sc.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sAddExample(sc, classname, y) ^ In file included from sc.c:28: ./sc.h:62:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void sAddExample(); /* sc, char *classname; Vector y */ ^ sc.c:180:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error("No classes for adding to classifier"); ^ sc.c:187:20: warning: passing arguments to 'NewMatrix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] avgcov = NewMatrix(sc->nfeatures, sc->nfeatures); ^ sc.c:188:12: warning: passing arguments to 'ZeroMatrix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ZeroMatrix(avgcov); ^ sc.c:201:11: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error("Number of classes must be less than number of examples"); ^ sc.c:210:20: warning: passing arguments to 'PrintMatrix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Z('a') PrintMatrix(avgcov, "Average Covariance Matrix\n"); ^ sc.c:213:27: warning: passing arguments to 'NewMatrix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sc->invavgcov = NewMatrix(sc->nfeatures, sc->nfeatures); ^ sc.c:214:20: warning: passing arguments to 'InvertMatrix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] det = InvertMatrix(avgcov, sc->invavgcov); ^ sc.c:219:10: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sc->w = allocate(sc->nclasses, Vector); ^ ./util.h:31:19: note: expanded from macro 'allocate' ((type *) myalloc(n, sizeof(type), "type")) ^ sc.c:220:22: warning: passing arguments to 'NewVector' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sc->cnst = NewVector(sc->nclasses); ^ sc.c:223:23: warning: passing arguments to 'NewVector' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sc->w[c] = NewVector(sc->nfeatures); ^ sc.c:224:20: warning: passing arguments to 'VectorTimesMatrix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VectorTimesMatrix(scd->average, sc->invavgcov, sc->w[c]); ^ sc.c:225:36: warning: passing arguments to 'InnerProduct' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sc->cnst[c] = -0.5 * InnerProduct(sc->w[c], scd->average); ^ sc.c:229:12: warning: passing arguments to 'FreeMatrix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeMatrix(avgcov); ^ sc.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sDoneAdding(sc) ^ In file included from sc.c:28: ./sc.h:64:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void sDoneAdding(); /* sc */ ^ sc.c:234:15: warning: parameter 'fv' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] sClassify(sc, fv) { ^ sc.c:234:11: warning: parameter 'sc' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] sClassify(sc, fv) { ^ sc.c:235:20: warning: passing arguments to 'sClassifyAD' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return sClassifyAD(sc, fv, NULL, NULL); ^ sc.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sClassify(sc, fv) { ^ In file included from sc.c:28: ./sc.h:65:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] sClassDope sClassify(); /* sc, y */ ^ sc.c:247:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] double denom, exp(); ^ sc.c:252:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error("%x not a trained classifier", sc); ^ sc.c:259:21: warning: passing arguments to 'InnerProduct' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IP = InnerProduct(sc->w[i], fv); ^ sc.c:310:14: warning: passing arguments to 'PrintVector' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrintVector(fv, "%10.10s ", scd->name); ^ sc.c:314:16: warning: passing arguments to 'PrintVector' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrintVector(scd->average, "%5.5s %5g ", ^ sc.c:340:28: warning: passing arguments to 'MahalanobisDistance' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *dp = MahalanobisDistance(fv, scd->average, sc->invavgcov); ^ sc.c:239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sClassifyAD(sc, fv, ap, dp) ^ In file included from sc.c:28: ./sc.h:66:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] sClassDope sClassifyAD(); /* sc, y, double *ap; double *dp */ ^ sc.c:354:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i; ~~~~~~~~ ^ int sc.c:359:23: warning: passing arguments to 'FreeVector' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if(space) FreeVector(space); ^ sc.c:360:20: warning: passing arguments to 'NewVector' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] space = NewVector(NROWS(v)); ^ sc.c:364:25: warning: passing arguments to 'QuadraticForm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] result = QuadraticForm(space, sigma); ^ sc.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MahalanobisDistance(v, u, sigma) ^ In file included from sc.c:28: ./sc.h:68:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] double MahalanobisDistance(); /* Vector v, u; Matrix sigma */ ^ sc.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FixClassifier(sc, avgcov) ^ sc.c:384:18: warning: passing arguments to 'SliceMatrix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] m = SliceMatrix(avgcov, bv, bv); ^ sc.c:385:16: warning: passing arguments to 'NewMatrix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] r = NewMatrix(NROWS(m), NCOLS(m)); ^ sc.c:386:21: warning: passing arguments to 'InvertMatrix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] det = InvertMatrix(m, r); ^ sc.c:389:13: warning: passing arguments to 'FreeMatrix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeMatrix(m); ^ sc.c:390:13: warning: passing arguments to 'FreeMatrix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeMatrix(r); ^ sc.c:393:17: warning: passing arguments to 'SliceMatrix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] m = SliceMatrix(avgcov, bv, bv); ^ sc.c:394:15: warning: passing arguments to 'NewMatrix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] r = NewMatrix(NROWS(m), NCOLS(m)); ^ sc.c:395:20: warning: passing arguments to 'InvertMatrix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] det = InvertMatrix(m, r); ^ sc.c:397:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error("Can't fix classifier!"); ^ sc.c:400:15: warning: passing arguments to 'DeSliceMatrix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeSliceMatrix(r, 0.0, bv, bv, sc->invavgcov); ^ sc.c:402:12: warning: passing arguments to 'FreeMatrix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeMatrix(m); ^ sc.c:403:12: warning: passing arguments to 'FreeMatrix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeMatrix(r); ^ sc.c:407:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] sDumpClassifier(sc) ^ int sc.c:412:53: warning: format specifies type 'unsigned int' but the argument has type 'sClassifier' (aka 'struct sclassifier *') [-Wformat] printf("\n----Classifier %x, %d features:-----\n", sc, sc->nfeatures); ~~ ^~ sc.c:418:14: warning: passing arguments to 'PrintVector' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrintVector(sc->w[c], "%s: %g + ", sc->classdope[c]->name, sc->cnst[c]); ^ sc.c:420:14: warning: passing arguments to 'PrintVector' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrintVector(sc->classdope[c]->average, "%s: ", sc->classdope[c]->name); ^ sc.c:423:17: warning: passing arguments to 'PrintMatrix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrintMatrix(sc->invavgcov, "Inverse average covariance matrix:\n"); ^ sc.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sDumpClassifier(sc) ^ sc.c:426:1: warning: non-void function does not return a value [-Wreturn-type] } ^ sc.c:443:3: warning: call to undeclared function 'OutputVector'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] OutputVector(outfile, scd->average); ^ sc.c:444:3: warning: call to undeclared function 'OutputMatrix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] OutputMatrix(outfile, scd->sumcov); ^ sc.c:447:2: warning: call to undeclared function 'OutputVector'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] OutputVector(outfile, sc->cnst); ^ sc.c:448:2: warning: call to undeclared function 'OutputMatrix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] OutputMatrix(outfile, sc->invavgcov); ^ sc.c:429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sWrite(outfile, sc) ^ In file included from sc.c:28: ./sc.h:60:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void sWrite(); /* FILE *f; sClassifier sc; */ ^ sc.c:465:11: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error("Input error in classifier file"); ^ sc.c:475:10: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sc->w = allocate(sc->nclasses, Vector); ^ ./util.h:31:19: note: expanded from macro 'allocate' ((type *) myalloc(n, sizeof(type), "type")) ^ sc.c:478:29: warning: passing arguments to 'InputVector' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scd->average = InputVector(infile); ^ sc.c:479:28: warning: passing arguments to 'InputMatrix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scd->sumcov = InputMatrix(infile); ^ sc.c:480:25: warning: passing arguments to 'InputVector' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sc->w[i] = InputVector(infile); ^ sc.c:482:24: warning: passing arguments to 'InputVector' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sc->cnst = InputVector(infile); ^ sc.c:483:29: warning: passing arguments to 'InputMatrix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sc->invavgcov = InputMatrix(infile); ^ sc.c:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sRead(infile) ^ In file included from sc.c:28: ./sc.h:59:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] sClassifier sRead(); /* FILE *f */ ^ sc.c:489:16: warning: parameter 'nclosest' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] sDistances(sc, nclosest) ^ sc.c:489:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] sDistances(sc, nclosest) ^ int sc.c:492:31: warning: passing arguments to 'NewMatrix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] register Matrix d = NewMatrix(sc->nclasses, sc->nclasses); ^ sc.c:531:12: warning: passing arguments to 'FreeMatrix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeMatrix(d); ^ sc.c:489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sDistances(sc, nclosest) ^ sc.c:532:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 100 warnings generated. rm -f util.o cc -c -O2 -I../recman -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -Dunix=1 util.c util.c:34:17: warning: parameter 'itemsize' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] myalloc(nitems, itemsize, typename) ^ util.c:34:9: warning: parameter 'nitems' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] myalloc(nitems, itemsize, typename) ^ util.c:39:27: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] register char *p = malloc(bytes); ^ util.c:41:12: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error("Can't get mem for %d %s's (each %d bytes, %d total bytes)", ^ util.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] myalloc(nitems, itemsize, typename) ^ In file included from util.c:19: ./util.h:39:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char *myalloc(); /* Do not call this function directly */ ^ util.c:55:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *strcpy(); ^ util.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scopy(s) ^ In file included from util.c:19: ./util.h:40:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char *scopy(); /* allocates memory for a string */ ^ util.c:66:34: warning: parameter 'j' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] error(a, b, c, d, e, f, g, h, i, j) ^ util.c:66:31: warning: parameter 'i' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] error(a, b, c, d, e, f, g, h, i, j) ^ util.c:66:28: warning: parameter 'h' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] error(a, b, c, d, e, f, g, h, i, j) ^ util.c:66:25: warning: parameter 'g' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] error(a, b, c, d, e, f, g, h, i, j) ^ util.c:66:22: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] error(a, b, c, d, e, f, g, h, i, j) ^ util.c:66:19: warning: parameter 'e' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] error(a, b, c, d, e, f, g, h, i, j) ^ util.c:66:16: warning: parameter 'd' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] error(a, b, c, d, e, f, g, h, i, j) ^ util.c:66:13: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] error(a, b, c, d, e, f, g, h, i, j) ^ util.c:66:10: warning: parameter 'b' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] error(a, b, c, d, e, f, g, h, i, j) ^ util.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error(a, b, c, d, e, f, g, h, i, j) ^ In file included from util.c:19: ./util.h:43:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void error(); /* printf on stderr, then dies */ ^ util.c:80:41: warning: parameter 'j' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] exit_error(a, b, c, d, e, f, g, h, i, j) ^ util.c:80:38: warning: parameter 'i' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] exit_error(a, b, c, d, e, f, g, h, i, j) ^ util.c:80:35: warning: parameter 'h' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] exit_error(a, b, c, d, e, f, g, h, i, j) ^ util.c:80:32: warning: parameter 'g' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] exit_error(a, b, c, d, e, f, g, h, i, j) ^ util.c:80:29: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] exit_error(a, b, c, d, e, f, g, h, i, j) ^ util.c:80:26: warning: parameter 'e' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] exit_error(a, b, c, d, e, f, g, h, i, j) ^ util.c:80:23: warning: parameter 'd' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] exit_error(a, b, c, d, e, f, g, h, i, j) ^ util.c:80:20: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] exit_error(a, b, c, d, e, f, g, h, i, j) ^ util.c:80:17: warning: parameter 'b' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] exit_error(a, b, c, d, e, f, g, h, i, j) ^ util.c:84:2: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] exit(1); ^ util.c:84:2: note: include the header or explicitly provide a declaration for 'exit' util.c:80:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] exit_error(a, b, c, d, e, f, g, h, i, j) ^ util.c:95:25: warning: parameter 'g' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] debug(a, b, c, d, e, f, g) ^ util.c:95:22: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] debug(a, b, c, d, e, f, g) ^ util.c:95:19: warning: parameter 'e' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] debug(a, b, c, d, e, f, g) ^ util.c:95:16: warning: parameter 'd' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] debug(a, b, c, d, e, f, g) ^ util.c:95:13: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] debug(a, b, c, d, e, f, g) ^ util.c:95:10: warning: parameter 'b' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] debug(a, b, c, d, e, f, g) ^ util.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] debug(a, b, c, d, e, f, g) ^ In file included from util.c:19: ./util.h:41:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void debug(); /* printf on stderr - ^ util.c:108:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i; ~~~~~~~~ ^ int util.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ucstrcmp(s1, s2) ^ In file included from util.c:19: ./util.h:44:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int ucstrcmp(); /* strcmp, upper case = lower case */ ^ 42 warnings generated. rm -f matrix.o cc -c -O2 -I../recman -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -Dunix=1 matrix.c matrix.c:43:6: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] allocate(sizeof(struct array_header) + r * sizeof(double), char); ^ ./util.h:31:19: note: expanded from macro 'allocate' ((type *) myalloc(n, sizeof(type), "type")) ^ matrix.c:53:7: warning: call to undeclared function 'exit_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] exit_error("NewVector error: v=%x H: %x,%x D:%d,%d R:%d,%d C:%d,%d\n", v, HEADER(v), a, NDIMS(v), 1, NROWS(v), r, NCOLS(v), 1); ^ matrix.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewVector(r) ^ In file included from matrix.c:23: ./matrix.h:58:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Vector NewVector(); /* int r; (number of rows) */ ^ matrix.c:65:5: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] allocate(sizeof(struct array_header) + r * sizeof(double *), char); ^ ./util.h:31:19: note: expanded from macro 'allocate' ((type *) myalloc(n, sizeof(type), "type")) ^ matrix.c:71:10: warning: passing arguments to 'myalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] m[i] = allocate(c, double); ^ ./util.h:31:19: note: expanded from macro 'allocate' ((type *) myalloc(n, sizeof(type), "type")) ^ matrix.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewMatrix(r, c) ^ In file included from matrix.c:23: ./matrix.h:59:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Matrix NewMatrix(); /* int r, c; (number of rows, number of columns) */ ^ matrix.c:82:2: warning: call to undeclared function 'free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] free(HEADER(v)); ^ matrix.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeVector(v) ^ In file included from matrix.c:23: ./matrix.h:60:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void FreeVector(); /* Vector v; */ ^ matrix.c:92:3: warning: call to undeclared function 'free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] free(m[i]); ^ matrix.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeMatrix(m) ^ In file included from matrix.c:23: ./matrix.h:61:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void FreeMatrix(); /* Matrix m; */ ^ matrix.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VectorCopy(v) ^ In file included from matrix.c:23: ./matrix.h:72:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Vector VectorCopy(); /* Vector v; */ ^ matrix.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MatrixCopy(m) ^ In file included from matrix.c:23: ./matrix.h:73:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Matrix MatrixCopy(); /* Matrix m; */ ^ matrix.c:128:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i; ~~~~~~~~ ^ int matrix.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ZeroVector(v) ^ matrix.c:137:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i, j; ~~~~~~~~ ^ int matrix.c:137:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i, j; ~~~~~~~~ ^ int matrix.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ZeroMatrix(m) ^ In file included from matrix.c:23: ./matrix.h:80:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void ZeroMatrix(); /* Matrix m; */ ^ matrix.c:148:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i, j; ~~~~~~~~ ^ int matrix.c:148:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i, j; ~~~~~~~~ ^ int matrix.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FillMatrix(m, fill) ^ In file included from matrix.c:23: ./matrix.h:81:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void FillMatrix(); /* Matrix m; double fill; */ ^ matrix.c:161:3: warning: call to undeclared function 'exit_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] exit_error("InnerProduct %d x %d ", n, NROWS(v2)); ^ matrix.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InnerProduct(v1, v2) ^ In file included from matrix.c:23: ./matrix.h:64:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] double InnerProduct(); /* Vector v1, v2 */ ^ matrix.c:172:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i, j, k; ~~~~~~~~ ^ int matrix.c:172:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i, j, k; ~~~~~~~~ ^ int matrix.c:172:17: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i, j, k; ~~~~~~~~ ^ int matrix.c:176:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error("MatrixMultiply: Can't multiply %dx%d and %dx%d matrices", ^ matrix.c:181:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error("MatrixMultiply: %dx%d times %dx%d does not give %dx%d product", ^ matrix.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MatrixMultiply(m1, m2, prod) ^ In file included from matrix.c:23: ./matrix.h:65:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void MatrixMultiply(); /* Matrix m1, m2, prod; */ ^ matrix.c:212:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error("VectorTimesMatrix: Can't multiply %d vector by %dx%d", ^ matrix.c:217:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error("VectorTimesMatrix: %d vector times %dx%d mat does not fit in %d product" , ^ matrix.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VectorTimesMatrix(v, m, prod) ^ In file included from matrix.c:23: ./matrix.h:66:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void VectorTimesMatrix(); /* Vector v; Matrix m; Vector prod; */ ^ matrix.c:237:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error("ScalarTimesVector: result wrong size (%d!=%d)", ^ matrix.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScalarTimesVector(s, v, product) ^ In file included from matrix.c:23: ./matrix.h:67:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void ScalarTimesVector(); /* double s; Vector v; Vector prod; */ ^ matrix.c:255:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error("ScalarTimesMatrix: result wrong size (%d!=%d)or(%d!=%d)", ^ matrix.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScalarTimesMatrix(s, m, product) ^ matrix.c:275:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i, j, n; ~~~~~~~~ ^ int matrix.c:275:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i, j, n; ~~~~~~~~ ^ int matrix.c:275:17: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i, j, n; ~~~~~~~~ ^ int matrix.c:281:3: warning: call to undeclared function 'exit_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] exit_error("QuadraticForm: bad matrix size (%dx%d not %dx%d)", ^ matrix.c:271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] QuadraticForm(v, m) ^ In file included from matrix.c:23: ./matrix.h:68:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] double QuadraticForm(); /* Vector v; Matrix m; (computes v'mv) */ ^ matrix.c:323:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i, j, k; ~~~~~~~~ ^ int matrix.c:323:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i, j, k; ~~~~~~~~ ^ int matrix.c:323:17: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i, j, k; ~~~~~~~~ ^ int matrix.c:329:3: warning: call to undeclared function 'exit_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] exit_error("InvertMatrix: not square"); ^ matrix.c:335:3: warning: call to undeclared function 'exit_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] exit_error("InvertMatrix: result wrong size"); ^ matrix.c:346:35: warning: passing arguments to 'PrintMatrix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if(DebugInvertMatrix) PrintMatrix(rm, "Inverting (det=%g)\n", det); ^ matrix.c:352:3: warning: call to undeclared function 'exit_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] exit_error("InvertMatrix: PERMBUFSIZE"); ^ matrix.c:371:16: warning: passing arguments to 'PrintMatrix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrintMatrix(m, "found zero biga = %g\n", biga); ^ matrix.c:320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InvertMatrix(ym, rm) ^ In file included from matrix.c:23: ./matrix.h:69:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] double InvertMatrix(); /* Matrix input_matrix, result_matrix (returns det) */ ^ matrix.c:454:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i, ri; ~~~~~~~~ ^ int matrix.c:454:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i, ri; ~~~~~~~~ ^ int matrix.c:456:31: warning: passing arguments to 'bitcount' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Vector r = NewVector(bitcount(NROWS(v), rowmask)); ^ matrix.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SliceVector(v, rowmask) ^ In file included from matrix.c:23: ./matrix.h:70:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Vector SliceVector(); /* Vector v; BitVector rowmask */ ^ matrix.c:468:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i, ri, j, rj; ~~~~~~~~ ^ int matrix.c:468:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i, ri, j, rj; ~~~~~~~~ ^ int matrix.c:468:18: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i, ri, j, rj; ~~~~~~~~ ^ int matrix.c:468:21: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i, ri, j, rj; ~~~~~~~~ ^ int matrix.c:472:24: warning: passing arguments to 'bitcount' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] r = NewMatrix(bitcount(NROWS(m), rowmask), ^ matrix.c:473:17: warning: passing arguments to 'bitcount' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bitcount(NCOLS(m), colmask)); ^ matrix.c:464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SliceMatrix(m, rowmask, colmask) ^ In file included from matrix.c:23: ./matrix.h:71:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Matrix SliceMatrix(); /* Matrix m; Bitvector rowmask, colmask; */ ^ matrix.c:492:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i, ri, j, rj; ~~~~~~~~ ^ int matrix.c:492:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i, ri, j, rj; ~~~~~~~~ ^ int matrix.c:492:18: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i, ri, j, rj; ~~~~~~~~ ^ int matrix.c:492:21: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i, ri, j, rj; ~~~~~~~~ ^ int matrix.c:486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeSliceMatrix(m, fill, rowmask, colmask, r) ^ In file included from matrix.c:23: ./matrix.h:78:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Matrix DeSliceMatrix(); /* Matrix m, double fill, BitVector rowmask, colmask; ^ matrix.c:509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OutputVector(f, v) ^ matrix.c:530:3: warning: call to undeclared function 'exit_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] exit_error("InputVector fscanf 1"); ^ matrix.c:533:3: warning: call to undeclared function 'exit_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] exit_error("InputVector check"); ^ matrix.c:538:4: warning: call to undeclared function 'exit_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] exit_error("InputVector fscanf 2"); ^ matrix.c:521:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InputVector(f) ^ In file included from matrix.c:23: ./matrix.h:74:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Vector InputVector(); /* FILE *f; */ ^ matrix.c:544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OutputMatrix(f, m) ^ matrix.c:567:3: warning: call to undeclared function 'exit_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] exit_error("InputMatrix fscanf 1"); ^ matrix.c:570:3: warning: call to undeclared function 'exit_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] exit_error("InputMatrix check"); ^ matrix.c:576:5: warning: call to undeclared function 'exit_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] exit_error("InputMatrix fscanf 2"); ^ matrix.c:558:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InputMatrix(f) ^ In file included from matrix.c:23: ./matrix.h:75:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Matrix InputMatrix(); /* FILE *f; */ ^ matrix.c:631:6: warning: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if(abs(det) > abs(maxdet)) ^ matrix.c:631:6: note: include the header or explicitly provide a declaration for 'abs' matrix.c:631:6: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if(abs(det) > abs(maxdet)) ^ matrix.c:631:6: note: use function 'fabs' instead if(abs(det) > abs(maxdet)) ^~~ fabs matrix.c:631:17: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if(abs(det) > abs(maxdet)) ^ matrix.c:631:17: note: use function 'fabs' instead if(abs(det) > abs(maxdet)) ^~~ fabs matrix.c:680:13: warning: passing arguments to 'PrintMatrix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrintMatrix(inv, "desliced:\n"); ^ matrix.c:583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InvertSingularMatrix(m, inv) ^ In file included from matrix.c:23: ./matrix.h:77:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] double InvertSingularMatrix(); /* Matrix input, result (returns det) */ ^ matrix.c:687:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrintVector(v, s,a1,a2,a3,a4,a5,a6,a7,a8) ^ In file included from matrix.c:23: ./matrix.h:62:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void PrintVector(); /* Vector v; char *fmt; any a1,a2,a3,a4,a5,a6,a7,a8 */ ^ matrix.c:699:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrintMatrix(m, s,a1,a2,a3,a4,a5,a6,a7,a8) ^ In file included from matrix.c:23: ./matrix.h:63:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void PrintMatrix(); /* Matrix m; char *fmt; any a1,a2,a3,a4,a5,a6,a7,a8 */ ^ matrix.c:712:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] PrintArray(a, s,a1,a2,a3,a4,a5,a6,a7,a8) ^ int matrix.c:719:16: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] default: error("PrintArray"); ^ matrix.c:712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrintArray(a, s,a1,a2,a3,a4,a5,a6,a7,a8) ^ matrix.c:721:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 108 warnings generated. rm -f bitvector.o cc -c -O2 -I../recman -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -Dunix=1 bitvector.c bitvector.c:28:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i, count; ~~~~~~~~ ^ int bitvector.c:28:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i, count; ~~~~~~~~ ^ int bitvector.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bitcount(max, bv) ^ In file included from bitvector.c:19: ./bitvector.h:213:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int bitcount(); /* max, bv */ ^ bitvector.c:37:19: warning: parameter 'max' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] BitVectorToString(max, bv) ^ bitvector.c:41:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i; ~~~~~~~~ ^ int bitvector.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BitVectorToString(max, bv) ^ In file included from bitvector.c:19: ./bitvector.h:214:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char *BitVectorToString(); /* max, bv */ ^ bitvector.c:56:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] register i; ~~~~~~~~ ^ int bitvector.c:60:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] error("StringToBitVector: strlen(%s)=%d != %d", ^ bitvector.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringToBitVector(string, max, bv) ^ In file included from bitvector.c:19: ./bitvector.h:215:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void StringToBitVector(); /* string, max, bv */ ^ bitvector.c:73:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] SetBitVector(v) ^ int bitvector.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bitvector.c:80:1: warning: non-void function does not return a value [-Wreturn-type] } ^ bitvector.c:83:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ClearBitVector(nints, v) ^ int bitvector.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bitvector.c:90:1: warning: non-void function does not return a value [-Wreturn-type] } ^ bitvector.c:93:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] AssignBitVector(nints, v1, v2) ^ int bitvector.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bitvector.c:100:1: warning: non-void function does not return a value [-Wreturn-type] } ^ bitvector.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BitVectorDeQ(max, v) ^ In file included from bitvector.c:19: ./bitvector.h:216:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int BitVectorDeQ(); /* element = BitVectorDeQ(max, bv); */ ^ bitvector.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BitVectorOr(v, v1, v2, ipv) ^ In file included from bitvector.c:19: ./bitvector.h:218:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int *BitVectorOr(); ^ bitvector.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BitVectorAnd(v, v1, v2, ipv) ^ In file included from bitvector.c:19: ./bitvector.h:219:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int *BitVectorAnd(); ^ bitvector.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BitVectorNoBitsSet(v, ipv) ^ In file included from bitvector.c:19: ./bitvector.h:220:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int BitVectorNoBitsSet(); ^ 29 warnings generated. rm -f libli_recog.a ar clq libli_recog.a li_recognizer.o sc.o util.o matrix.o bitvector.o ranlib libli_recog.a cc -O2 -Ilirec -Irecman -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -Dunix=1 -c xscribble.c xscribble.c:77:5: warning: call to undeclared function 'XTestFakeKeyEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] XTestFakeKeyEvent (dpy, keycode, press, 0); ^ xscribble.c:95:21: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] for (col = 0; (k = XKeycodeToKeysym (dpy, keycode, col)) != NoSymbol; col++) ^ /usr/X11R6/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /usr/X11R6/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ xscribble.c:147:5: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] exit (0); ^ xscribble.c:147:5: note: include the header or explicitly provide a declaration for 'exit' xscribble.c:162:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main (int argc, char **argv) ^ int 4 warnings generated. cc -O2 -Ilirec -Irecman -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -Dunix=1 -c Scribble.c Scribble.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Initialize (greq, gw) ^ Scribble.c:46:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy (), Redisplay (); ^ Scribble.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Destroy (gw) ^ Scribble.c:46:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy (), Redisplay (); ^ Scribble.c:243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Redisplay (gw, event, region) ^ Scribble.c:46:39: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy (), Redisplay (); ^ Scribble.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetValues (gcur, greq, gw) ^ Scribble.c:47:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues (); ^ Scribble.c:55:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ActionStart (); ^ Scribble.c:275:1: note: conflicting prototype is here ActionStart (Widget gw, XEvent *event, String *params, Cardinal *num_params) ^ Scribble.c:56:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ActionMove (); ^ Scribble.c:284:1: note: conflicting prototype is here ActionMove (Widget gw, XEvent *event, String *params, Cardinal *num_params) ^ Scribble.c:57:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ActionEnd (); ^ Scribble.c:292:1: note: conflicting prototype is here ActionEnd (Widget gw, XEvent *event, String *params, Cardinal *num_params) ^ 11 warnings generated. rm -f xscribble cc -o xscribble -O2 -L/usr/X11R6/lib -L/usr/local/lib xscribble.o Scribble.o -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -lXdmcp -lXau -lXtst recman/librecman.a lirec/libli_recog.a -lm -Wl,-rpath,/usr/local/lib xscribble.c(xscribble.o:(KeysymCB)): warning: strcat() is almost always misused, please use strlcat() Scribble.c(Scribble.o:(Initialize)): warning: strcpy() is almost always misused, please use strlcpy() util.c(util.o:(error) in archive lirec/libli_recog.a): warning: sprintf() is often misused, please use snprintf() >>> Running package in x11/xscribble at 1713771910.54 ===> x11/xscribble ===> Faking installation for xscribble-20000616p4 install -c xscribble /exopi-obj/pobj/xscribble-20000616/fake-amd64/usr/local/bin/xscribble installing in ./recman... install in recman done installing in ./lirec... install in lirec done installing man pages in ./recman... install.man in recman done installing man pages in ./lirec... install.man in lirec done /exopi-obj/pobj/xscribble-20000616/bin/install -d -m 755 /exopi-obj/pobj/xscribble-20000616/fake-amd64/usr/local/share/examples/xscribble /exopi-obj/pobj/xscribble-20000616/bin/install -c -m 644 /exopi-obj/pobj/xscribble-20000616/xscribble/classifiers/*.cl /exopi-obj/pobj/xscribble-20000616/fake-amd64/usr/local/share/examples/xscribble ===> Building package for xscribble-20000616p4 Create /exopi-cvs/ports/packages/amd64/all/xscribble-20000616p4.tgz Creating package xscribble-20000616p4 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|** | 4% checksumming|***** | 8% checksumming|******* | 12% checksumming|********* | 15% checksumming|************ | 19% checksumming|************** | 23% checksumming|**************** | 27% checksumming|******************* | 31% checksumming|********************* | 35% checksumming|*********************** | 38% checksumming|************************** | 42% checksumming|**************************** | 46% checksumming|******************************* | 50% checksumming|********************************* | 54% checksumming|*********************************** | 58% checksumming|************************************** | 62% checksumming|**************************************** | 65% checksumming|****************************************** | 69% checksumming|********************************************* | 73% checksumming|*********************************************** | 77% checksumming|************************************************* | 81% checksumming|**************************************************** | 85% checksumming|****************************************************** | 88% checksumming|******************************************************** | 92% checksumming|*********************************************************** | 96% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|******************* | 30% archiving|*************************** | 42% archiving|*************************************************** | 79% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/xscribble-20000616p4.tgz >>> Running clean in x11/xscribble at 1713771912.36 ===> x11/xscribble ===> Cleaning for xscribble-20000616p4 >>> Ended at 1713771912.61 max_stuck=0.00/depends=1.34/show-prepare-results=0.76/build=6.03/package=1.83/clean=0.28