=>> Building lang/ratfor build started at Sun May 4 02:36:41 EDT 2025 port directory: /usr/ports/lang/ratfor package name: ratfor-1985.06_17 building for: FreeBSD 13amd64-weekly-desktop-job-01 13.4-RELEASE-p4 FreeBSD 13.4-RELEASE-p4 amd64 maintained by: bofh@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 802 Mar 1 07:51 /usr/ports/lang/ratfor/Makefile Ports top last git commit: 57a50b106b87 Ports top unclean checkout: yes Port dir last git commit: 147aeb1ee48f Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1402000 Jail OSVERSION: 1304000 Job Id: 01 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1304000 UNAME_v=FreeBSD 13.4-RELEASE-p4 UNAME_r=13.4-RELEASE-p4 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/mnt/data/.m/13amd64-weekly-desktop/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen GID=0 OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 UID=0 PWD=/mnt/data/.m/13amd64-weekly-desktop/01/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13amd64-weekly-desktop SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/mnt/data/.m/13amd64-weekly-desktop/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- bofh@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- F77="gfortran13" F90="gfortran13" FC="gfortran13" FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc13" F90FLAGS="-O -Wl,-rpath=/usr/local/lib/gcc13" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc13" XDG_DATA_HOME=/wrkdirs/usr/ports/lang/ratfor/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/ratfor/work XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/ratfor/work/.cache HOME=/wrkdirs/usr/ports/lang/ratfor/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/ratfor/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/ratfor/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- F77="gfortran13" F90="gfortran13" FC="gfortran13" FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc13" F90FLAGS="-O -Wl,-rpath=/usr/local/lib/gcc13" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc13" XDG_DATA_HOME=/wrkdirs/usr/ports/lang/ratfor/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/ratfor/work XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/ratfor/work/.cache HOME=/wrkdirs/usr/ports/lang/ratfor/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/ratfor/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/ratfor/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -Wl,-rpath=/usr/local/lib/gcc13 -L/usr/local/lib/gcc13 -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=13.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/ratfor" EXAMPLESDIR="share/examples/ratfor" DATADIR="share/ratfor" WWWDIR="www/ratfor" ETCDIR="etc/ratfor" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/ratfor DOCSDIR=/usr/local/share/doc/ratfor EXAMPLESDIR=/usr/local/share/examples/ratfor WWWDIR=/usr/local/www/ratfor ETCDIR=/usr/local/etc/ratfor --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### # Work around some weirdness when fetching golang modules GO_TAGS+=netcgo .if ${.CURDIR:M*/www/chromium*} MAKE_JOBS_NUMBER=24 .endif .if ${.CURDIR:M*/www/ungoogled-chromium*} MAKE_JOBS_NUMBER=24 .endif .if ${.CURDIR:M*/lang/rust*} MAKE_JOBS_NUMBER=10 .endif .if ${.CURDIR:M*/lang/gcc*} MAKE_JOBS_NUMBER=10 .endif .if ${.CURDIR:M*/www/iridium*} MAKE_JOBS_NUMBER=16 .endif .if ${.CURDIR:M*/devel/electron*} MAKE_JOBS_NUMBER=20 .endif .if ${.CURDIR:M*/databases/mongodb*} MAKE_JOBS_NUMBER=12 .endif .if ${.CURDIR:M*/devel/llvm*} MAKE_JOBS_NUMBER=16 .endif # Speed things up a bit MAKE_JOBS_NUMBER?=8 #### #### #MAKE_JOBS_NUMBER?=4 # Alows us to build ports non-interactivly DISABLE_LICENSES=yes LICENSES_ACCEPTED+= DCC # Enable SNDIO on anything that supports it #OPTIONS_SET+=PULSEAUDIO OPTIONS_SET+=SNDIO # Yes we have MS Windows x11-fonts_webfonts_SET+=EXTRAFONTS CLEARTYPE # Desktop Specific Options sysutils_gksu_UNSET+=NAUTILUS x11-wm_compiz-fusion_UNSET+=EMERALD accessibility_redshift_SET+=GUI VIDMODE # These ports default to other audio servers, audio_espeak_UNSET+=PORTAUDIO www_qt5-webengine_UNSET+=ALSA www_qt6-webengine_UNSET+=ALSA audio_rhvoice_UNSET+=AO comms_morse_UNSET+=OSS audio_harp_UNSET+=OSS # Somehow these options are being set and result in ports being rebuilt needlessly becuase they are actually turned off audio_alsa-plugins_SET+=FFMPEG JACK PULSEAUDIO SAMPLERATE SPEEX #### Misc Poudriere #### .include "/etc/make.conf.ports_env" ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ratfor-1985.06_17 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.0.6.pkg [13amd64-weekly-desktop-job-01] Installing pkg-2.0.6... [13amd64-weekly-desktop-job-01] Extracting pkg-2.0.6: .......... done ===> ratfor-1985.06_17 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ratfor-1985.06_17 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ratfor-1985.06_17 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ratfor-1985.06_17 for building => SHA256 Checksum OK for ratfor.shar.2. => SHA256 Checksum OK for local.ratfor77.shar. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Fetching all distfiles required by ratfor-1985.06_17 for building ===> Extracting for ratfor-1985.06_17 => SHA256 Checksum OK for ratfor.shar.2. => SHA256 Checksum OK for local.ratfor77.shar. x - extracting BUGS (text) x - extracting GNUmakefile (text) x - extracting README (text) x - extracting getopt.c (text) x - extracting lookup.c (text) x - extracting lookup.h (text) x - extracting rat4.c (text) x - extracting ratcom.h (text) x - extracting ratdef.h (text) x - extracting ratfor.man (text) x - extracting test.r (text) x - extracting testw.r (binary) x - Makefile x - ratfor.1 x - testw.patch =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Patching for ratfor-1985.06_17 ===> Applying FreeBSD patches for ratfor-1985.06_17 from /usr/ports/lang/ratfor/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ratfor-1985.06_17 depends on executable: gfortran13 - not found ===> Installing existing package /packages/All/gcc13-13.3.0_2.pkg [13amd64-weekly-desktop-job-01] Installing gcc13-13.3.0_2... [13amd64-weekly-desktop-job-01] `-- Installing binutils-2.44,1... [13amd64-weekly-desktop-job-01] | `-- Installing indexinfo-0.3.1_1... [13amd64-weekly-desktop-job-01] | `-- Extracting indexinfo-0.3.1_1: . done [13amd64-weekly-desktop-job-01] | `-- Installing zstd-1.5.7... [13amd64-weekly-desktop-job-01] | | `-- Installing liblz4-1.10.0,1... [13amd64-weekly-desktop-job-01] | | `-- Extracting liblz4-1.10.0,1: .......... done [13amd64-weekly-desktop-job-01] | `-- Extracting zstd-1.5.7: .......... done [13amd64-weekly-desktop-job-01] `-- Extracting binutils-2.44,1: .......... done [13amd64-weekly-desktop-job-01] `-- Installing gmp-6.3.0... [13amd64-weekly-desktop-job-01] `-- Extracting gmp-6.3.0: .......... done [13amd64-weekly-desktop-job-01] `-- Installing mpc-1.3.1_1... [13amd64-weekly-desktop-job-01] | `-- Installing mpfr-4.2.1,1... [13amd64-weekly-desktop-job-01] | `-- Extracting mpfr-4.2.1,1: .......... done [13amd64-weekly-desktop-job-01] `-- Extracting mpc-1.3.1_1: ...... done [13amd64-weekly-desktop-job-01] Extracting gcc13-13.3.0_2: .......... done ===== Message from gcc13-13.3.0_2: -- To ensure binaries built with this toolchain find appropriate versions of the necessary run-time libraries, you may want to link using -Wl,-rpath=/usr/local/lib/gcc13 For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens transparently. ===> ratfor-1985.06_17 depends on executable: gfortran13 - found ===> Returning to build of ratfor-1985.06_17 ===> ratfor-1985.06_17 depends on file: /usr/local/bin/as - found =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Configuring for ratfor-1985.06_17 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Building for ratfor-1985.06_17 --- objwarn --- --- rat4.o --- --- lookup.o --- --- getopt.o --- --- objwarn --- Warning: Object directory not changed from original /wrkdirs/usr/ports/lang/ratfor/work/ratfor-1985.06_17 --- rat4.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DF77 -DS_CHAR="signed char" -Wno-error=return-type -fPIE -MD -MF.depend.rat4.o -MTrat4.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/18/include -fstack-protector-strong -Qunused-arguments -c rat4.c -o rat4.o --- lookup.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DF77 -DS_CHAR="signed char" -Wno-error=return-type -fPIE -MD -MF.depend.lookup.o -MTlookup.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/18/include -fstack-protector-strong -Qunused-arguments -c lookup.c -o lookup.o --- getopt.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DF77 -DS_CHAR="signed char" -Wno-error=return-type -fPIE -MD -MF.depend.getopt.o -MTgetopt.o -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/18/include -fstack-protector-strong -Qunused-arguments -c getopt.c -o getopt.o --- lookup.o --- lookup.c:14:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 14 | hash(s) | ^ | int lookup.c:14:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] lookup.c:35:7: 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] 35 | if (strcmp(s, np->name) == 0) | ^ lookup.c:35:7: note: include the header or explicitly provide a declaration for 'strcmp' lookup.c:35:14: warning: passing 'signed char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 35 | if (strcmp(s, np->name) == 0) | ^ lookup.c:35:17: warning: passing 'signed char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 35 | if (strcmp(s, np->name) == 0) | ^~~~~~~~ lookup.c:29:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | *lookup(s) | ^ lookup.c:51:22: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 51 | S_CHAR *strsave(), *malloc(); | ^ lookup.c:51:22: note: 'malloc' is a builtin with type 'void *(unsigned long)' lookup.c:54:34: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | np = (struct hashlist *) malloc(sizeof(*np)); | ^ lookup.c:57:26: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | if ((np->name = strsave(name)) == NULL) | ^ --- getopt.o --- getopt.c:14:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | our_getopt(argc, argv, optstring) | ^ --- lookup.o --- lookup.c:63:3: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 63 | free(np->def); /* free prev. */ | ^ lookup.c:63:3: note: include the header or explicitly provide a declaration for 'free' lookup.c:64:24: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | if ((np->def = strsave(def)) == NULL) | ^ lookup.c:45:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | *install(name,def) | ^ lookup.c:77:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 77 | S_CHAR *p, *malloc(); | ^ lookup.c:51:22: note: 'malloc' is a builtin with type 'void *(unsigned long)' 51 | S_CHAR *strsave(), *malloc(); | ^ lookup.c:79:18: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | if ((p = malloc(strlen(s)+1)) != NULL) | ^ lookup.c:79:18: note: include the header or explicitly provide a declaration for 'strlen' lookup.c:79:25: warning: passing 'signed char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 79 | if ((p = malloc(strlen(s)+1)) != NULL) | ^ lookup.c:79:17: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | if ((p = malloc(strlen(s)+1)) != NULL) | ^ lookup.c:80:3: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | strcpy(p, s); | ^ lookup.c:80:3: note: include the header or explicitly provide a declaration for 'strcpy' lookup.c:80:10: warning: passing 'signed char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 80 | strcpy(p, s); | ^ lookup.c:80:13: warning: passing 'signed char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 80 | strcpy(p, s); | ^ lookup.c:74:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | *strsave(s) | ^ --- getopt.o --- 1 warning generated. --- rat4.o --- rat4.c:154:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 154 | main(argc,argv) | ^ | int rat4.c:177:5: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 177 | error("can't write %s\n", optarg); | ^ rat4.c:198:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 198 | error("cannot read %s\n", argv[optind]); | ^ rat4.c:200:2: warning: call to undeclared function 'initvars'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 200 | initvars(); | ^ rat4.c:202:2: warning: call to undeclared function 'parse'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 202 | parse(); /* call parser.. */ | ^ rat4.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | main(argc,argv) | ^ rat4.c:210:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 210 | initvars() | ^ | int rat4.c:225:2: warning: call to undeclared function 'install'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 225 | install(def, deftyp); /* default definitions */ | ^ rat4.c:230:1: warning: non-void function does not return a value [-Wreturn-type] 230 | } | ^ rat4.c:236:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 236 | parse() | ^ | int rat4.c:243:15: warning: call to undeclared function 'lex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 243 | for (token = lex(lexstr); token != EOF; token = lex(lexstr)) { | ^ rat4.c:245:4: warning: call to undeclared function 'ifcode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 245 | ifcode(&lab); | ^ rat4.c:247:4: warning: call to undeclared function 'docode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 247 | docode(&lab); | ^ rat4.c:249:4: warning: call to undeclared function 'whilec'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 249 | whilec(&lab); | ^ rat4.c:251:4: warning: call to undeclared function 'forcod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 251 | forcod(&lab); | ^ rat4.c:253:4: warning: call to undeclared function 'repcod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 253 | repcod(&lab); | ^ rat4.c:255:4: warning: call to undeclared function 'swcode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 255 | swcode(&lab); | ^ rat4.c:261:5: warning: call to undeclared function 'synerr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 261 | synerr("illegal case of default."); | ^ rat4.c:263:5: warning: call to undeclared function 'cascod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 263 | cascod(labval[i], token); | ^ rat4.c:266:4: warning: call to undeclared function 'labelc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 266 | labelc(lexstr); | ^ rat4.c:269:5: warning: call to undeclared function 'elseif'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 269 | elseif(labval[sp]); | ^ rat4.c:271:5: warning: call to undeclared function 'synerr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 271 | synerr("illegal else."); | ^ rat4.c:279:5: warning: call to undeclared function 'baderr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 279 | baderr("stack overflow in parser."); | ^ rat4.c:291:6: warning: call to undeclared function 'swend'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 291 | swend(labval[sp]); | ^ rat4.c:295:6: warning: call to undeclared function 'synerr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 295 | synerr("illegal right brace."); | ^ rat4.c:298:5: warning: call to undeclared function 'otherc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 298 | otherc(lexstr); | ^ rat4.c:300:5: warning: call to undeclared function 'brknxt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 300 | brknxt(sp, lextyp, labval, token); | ^ rat4.c:302:5: warning: call to undeclared function 'retcod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 302 | retcod(); | ^ rat4.c:304:5: warning: call to undeclared function 'strdcl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 304 | strdcl(); | ^ rat4.c:306:4: warning: call to undeclared function 'pbstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 306 | pbstr(lexstr); | ^ rat4.c:307:4: warning: call to undeclared function 'unstak'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 307 | unstak(&sp, lextyp, labval, token); | ^ rat4.c:311:3: warning: call to undeclared function 'synerr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 311 | synerr("unexpected EOF."); | ^ rat4.c:312:1: warning: non-void function does not return a value [-Wreturn-type] 312 | } | ^ rat4.c:332:7: warning: call to undeclared function 'type'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 332 | if (type(str[i]) != DIGIT) | ^ rat4.c:323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | alldig(str) | ^ rat4.c:343:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 343 | balpar() | ^ | int rat4.c:348:6: warning: call to undeclared function 'gnbtok'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 348 | if (gnbtok(token, MAXTOK) != LPAREN) { | ^ rat4.c:349:3: warning: call to undeclared function 'synerr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 349 | synerr("missing left paren."); | ^ rat4.c:350:3: warning: non-void function 'balpar' should return a value [-Wreturn-type] 350 | return; | ^ rat4.c:352:2: warning: call to undeclared function 'outstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 352 | outstr(token); | ^ rat4.c:355:7: warning: call to undeclared function 'gettok'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 355 | t = gettok(token, MAXTOK); | ^ rat4.c:357:4: warning: call to undeclared function 'pbstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 357 | pbstr(token); | ^ rat4.c:371:3: warning: call to undeclared function 'synerr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 371 | synerr("missing parenthesis in condition."); | ^ rat4.c:372:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 372 | } | ^ rat4.c:387:9: warning: call to undeclared function 'gtok'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 387 | for (t=gtok(token, toksiz, fd); t!=EOF; t=gtok(token, toksiz, fd)) { | ^ rat4.c:390:7: warning: call to undeclared function 'look'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 390 | if (look(token, defn) == NO) /* undefined */ | ^ rat4.c:393:4: warning: call to undeclared function 'getdef'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 393 | getdef(token, toksiz, defn, MAXDEF, fd); | ^ rat4.c:394:4: warning: call to undeclared function 'install'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 394 | install(token, defn); | ^ rat4.c:397:4: warning: call to undeclared function 'pbstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 397 | pbstr(defn); /* push replacement onto input */ | ^ rat4.c:400:3: warning: call to undeclared function 'fold'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 400 | fold(token); | ^ rat4.c:379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | deftok(token, toksiz, fd) | ^ rat4.c:409:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 409 | eatup() | ^ | int rat4.c:417:7: warning: call to undeclared function 'gettok'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 417 | t = gettok(token, MAXTOK); | ^ rat4.c:421:4: warning: call to undeclared function 'pbstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 421 | pbstr(token); | ^ rat4.c:425:4: warning: call to undeclared function 'synerr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 425 | synerr("unexpected EOF."); | ^ rat4.c:426:4: warning: call to undeclared function 'pbstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 426 | pbstr(token); | ^ rat4.c:435:4: warning: call to undeclared function 'pbstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 435 | pbstr(ptoken); | ^ rat4.c:443:3: warning: call to undeclared function 'outstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 443 | outstr(token); | ^ rat4.c:448:3: warning: call to undeclared function 'synerr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 448 | synerr("unbalanced parentheses."); | ^ rat4.c:449:1: warning: non-void function does not return a value [-Wreturn-type] 449 | } | ^ rat4.c:455:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 455 | getdef(token, toksiz, defn, defsiz, fd) | ^ | int rat4.c:465:2: warning: call to undeclared function 'skpblk'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 465 | skpblk(fd); | ^ rat4.c:471:11: warning: call to undeclared function 'gtok'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 471 | if ((t = gtok(ptoken, MAXTOK, fd)) != LPAREN) {; | ^ rat4.c:473:3: warning: call to undeclared function 'pbstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 473 | pbstr(ptoken); | ^ rat4.c:477:3: warning: call to undeclared function 'baderr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 477 | baderr("non-alphanumeric name."); | ^ rat4.c:481:3: warning: call to undeclared function 'pbstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 481 | pbstr(ptoken); | ^ rat4.c:484:14: warning: passing arguments to 'ngetch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | c = ngetch(&c, fd); | ^ rat4.c:491:4: warning: call to undeclared function 'putbak'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 491 | putbak(c); | ^ rat4.c:501:19: warning: passing arguments to 'ngetch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | else if (ngetch(&defn[i], fd) == (S_CHAR)EOF) | ^ rat4.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | getdef(token, toksiz, defn, defsiz, fd) | ^ rat4.c:512:1: warning: non-void function does not return a value [-Wreturn-type] 512 | } | ^ rat4.c:530:12: warning: call to undeclared function 'equal'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 530 | if (equal(token, fncn) == YES) { | ^ rat4.c:531:5: warning: call to undeclared function 'skpblk'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 531 | skpblk(infile[level]); | ^ rat4.c:533:5: warning: call to undeclared function 'pbstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 533 | pbstr(fcname); | ^ rat4.c:535:6: warning: call to undeclared function 'synerr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 535 | synerr("missing function name."); | ^ rat4.c:536:5: warning: call to undeclared function 'putbak'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 536 | putbak(BLANK); | ^ rat4.c:544:6: warning: call to undeclared function 'pbstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 544 | pbstr(&name[i]); | ^ rat4.c:560:5: warning: call to undeclared function 'synerr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 560 | synerr("includes nested too deeply."); | ^ rat4.c:574:7: warning: call to undeclared function 'scopy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 574 | scopy(name, 0, fnames, fnamp); | ^ rat4.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | gettok(token, toksiz) | ^ rat4.c:604:2: warning: call to undeclared function 'skpblk'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 604 | skpblk(infile[level]); | ^ rat4.c:598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | gnbtok(token, toksiz) | ^ rat4.c:620:12: warning: passing arguments to 'ngetch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | c = ngetch(&lexstr[0], fd); | ^ rat4.c:624:14: warning: passing arguments to 'ngetch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | c = ngetch(&c, fd); | ^ rat4.c:627:6: warning: call to undeclared function 'outasis'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 627 | outasis(fd); /* copy direct to output if % */ | ^ rat4.c:633:6: warning: call to undeclared function 'outcmnt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 633 | outcmnt(fd); /* copy comments to output */ | ^ rat4.c:637:19: warning: passing arguments to 'ngetch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | while (ngetch(&c, fd) != NEWLINE) /* strip comments */ | ^ rat4.c:652:4: warning: call to undeclared function 'putbak'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 652 | putbak(c); | ^ rat4.c:659:8: warning: call to undeclared function 'type'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 659 | tok = type(c); | ^ rat4.c:662:21: warning: passing arguments to 'ngetch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | tok = type(ngetch(&lexstr[i+1], fd)); | ^ rat4.c:669:3: warning: call to undeclared function 'putbak'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 669 | putbak(lexstr[i+1]); | ^ rat4.c:675:19: warning: passing arguments to 'ngetch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | if (type(ngetch(&lexstr[i+1], fd)) != DIGIT) | ^ rat4.c:682:15: warning: passing arguments to 'ngetch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 682 | c = ngetch(&lexstr[0], fd); | ^ --- lookup.o --- 20 warnings generated. --- rat4.o --- rat4.c:690:4: warning: call to undeclared function 'putbak'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 690 | putbak(lexstr[0]); | ^ rat4.c:691:8: warning: call to undeclared function 'itoc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 691 | i = itoc(n, lexstr, toksiz); | ^ rat4.c:694:4: warning: call to undeclared function 'putbak'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 694 | putbak(lexstr[i+1]); | ^ rat4.c:708:21: warning: passing arguments to 'ngetch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | for (i = 1; ngetch(&lexstr[i], fd) != lexstr[0]; i++) { | ^ rat4.c:710:15: warning: passing arguments to 'ngetch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 710 | if (ngetch(&c, fd) == NEWLINE) { | ^ rat4.c:712:17: warning: passing arguments to 'ngetch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | c = ngetch(&c, fd); | ^ rat4.c:716:6: warning: call to undeclared function 'putbak'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 716 | putbak(c); | ^ rat4.c:715:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 715 | else | ^ rat4.c:718:5: warning: call to undeclared function 'synerr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 718 | synerr("missing quote."); | ^ rat4.c:726:3: warning: call to undeclared function 'outasis'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 726 | outasis(fd); /* direct copy of protected */ | ^ rat4.c:731:5: warning: call to undeclared function 'outcmnt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 731 | outcmnt(fd); /* copy comments to output */ | ^ rat4.c:733:18: warning: passing arguments to 'ngetch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 733 | while (ngetch(&lexstr[0], fd) != NEWLINE) /* strip comments */ | ^ rat4.c:740:7: warning: call to undeclared function 'relate'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 740 | i = relate(lexstr, fd); | ^ rat4.c:742:3: warning: call to undeclared function 'synerr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 742 | synerr("token too long."); | ^ rat4.c:614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | gtok(lexstr, toksiz, fd) | ^ rat4.c:773:11: warning: call to undeclared function 'equal'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 773 | else if (equal(lexstr, sif) == YES) | ^ rat4.c:760:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 760 | lex(lexstr) | ^ rat4.c:839:4: warning: call to undeclared function 'putbak'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 839 | putbak(*c); | ^ rat4.c:811:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 811 | ngetch(c, fd) | ^ rat4.c:145:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 145 | extern S_CHAR ngetch(); | ^ rat4.c:863:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 863 | pbstr(in) | ^ | int rat4.c:869:3: warning: call to undeclared function 'putbak'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 869 | putbak(in[i]); | ^ rat4.c:863:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 863 | pbstr(in) | ^ rat4.c:870:1: warning: non-void function does not return a value [-Wreturn-type] 870 | } | ^ rat4.c:876:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 876 | putbak(c) | ^ | int rat4.c:882:3: warning: call to undeclared function 'baderr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 882 | baderr("too many characters pushed back."); | ^ rat4.c:876:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 876 | putbak(c) | ^ rat4.c:884:1: warning: non-void function does not return a value [-Wreturn-type] 884 | } | ^ rat4.c:892:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | relate(token, fd) | ^ rat4.c:950:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 950 | skpblk(fd) | ^ | int rat4.c:950:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] rat4.c:958:1: warning: non-void function does not return a value [-Wreturn-type] 958 | } | ^ rat4.c:966:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 966 | type(c) | ^ rat4.c:989:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 989 | brknxt(sp, lextyp, labval, token) | ^ | int rat4.c:1002:7: warning: call to undeclared function 'ctoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1002 | n = ctoi(ptoken, &i) - 1; | ^ rat4.c:1014:5: warning: call to undeclared function 'outgo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1014 | outgo(labval[i]+1); | ^ rat4.c:1021:4: warning: non-void function 'brknxt' should return a value [-Wreturn-type] 1021 | return; | ^ rat4.c:1024:3: warning: call to undeclared function 'synerr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1024 | synerr("illegal break."); | ^ rat4.c:1027:2: warning: non-void function 'brknxt' should return a value [-Wreturn-type] 1027 | return; | ^ rat4.c:989:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 989 | brknxt(sp, lextyp, labval, token) | ^ rat4.c:1034:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1034 | docode(lab) | ^ | int rat4.c:1038:2: warning: call to undeclared function 'outtab'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1038 | outtab(); | ^ rat4.c:1039:2: warning: call to undeclared function 'outstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1039 | outstr(sdo); | ^ rat4.c:1040:9: warning: call to undeclared function 'labgen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1040 | *lab = labgen(2); | ^ rat4.c:1041:2: warning: call to undeclared function 'outnum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1041 | outnum(*lab); | ^ rat4.c:1043:2: warning: call to undeclared function 'outdon'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1043 | outdon(); | ^ rat4.c:1034:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1034 | docode(lab) | ^ rat4.c:1044:1: warning: non-void function does not return a value [-Wreturn-type] 1044 | } | ^ rat4.c:1050:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1050 | dostat(lab) | ^ | int rat4.c:1053:2: warning: call to undeclared function 'outcon'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1053 | outcon(lab); | ^ rat4.c:1050:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1050 | dostat(lab) | ^ rat4.c:1055:1: warning: non-void function does not return a value [-Wreturn-type] 1055 | } | ^ rat4.c:1061:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1061 | elseif(lab) | ^ | int rat4.c:1066:2: warning: call to undeclared function 'outtab'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1066 | outtab(); | ^ rat4.c:1067:2: warning: call to undeclared function 'outstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1067 | outstr(selse); | ^ rat4.c:1068:2: warning: call to undeclared function 'outdon'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1068 | outdon(); | ^ rat4.c:1061:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1061 | elseif(lab) | ^ rat4.c:1073:1: warning: non-void function does not return a value [-Wreturn-type] 1073 | } | ^ rat4.c:1079:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1079 | forcod(lab) | ^ | int rat4.c:1086:9: warning: call to undeclared function 'labgen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1086 | tlab = labgen(3); | ^ rat4.c:1087:2: warning: call to undeclared function 'outcon'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1087 | outcon(0); | ^ rat4.c:1089:3: warning: call to undeclared function 'synerr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1089 | synerr("missing left paren."); | ^ rat4.c:1090:3: warning: non-void function 'forcod' should return a value [-Wreturn-type] 1090 | return; | ^ rat4.c:1094:3: warning: call to undeclared function 'outtab'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1094 | outtab(); | ^ rat4.c:1096:3: warning: call to undeclared function 'outdon'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1096 | outdon(); | ^ rat4.c:1102:3: warning: call to undeclared function 'outnum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1102 | outnum(tlab); | ^ rat4.c:1103:3: warning: call to undeclared function 'outtab'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1103 | outtab(); | ^ rat4.c:1104:3: warning: call to undeclared function 'outstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1104 | outstr(ifnot); | ^ rat4.c:1105:3: warning: call to undeclared function 'outch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1105 | outch(LPAREN); | ^ rat4.c:1117:5: warning: non-void function 'forcod' should return a value [-Wreturn-type] 1117 | return; | ^ rat4.c:1124:3: warning: call to undeclared function 'outgo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1124 | outgo((tlab)+2); | ^ rat4.c:1126:4: warning: call to undeclared function 'synerr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1126 | synerr("invalid for clause."); | ^ rat4.c:1149:5: warning: call to undeclared function 'baderr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1149 | baderr("for clause too long."); | ^ rat4.c:1150:4: warning: call to undeclared function 'scopy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1150 | scopy(token, 0, forstk, j); | ^ rat4.c:1079:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1079 | forcod(lab) | ^ rat4.c:1156:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1156 | } | ^ rat4.c:1162:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1162 | fors(lab) | ^ | int rat4.c:1168:2: warning: call to undeclared function 'outnum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1168 | outnum(lab); | ^ rat4.c:1173:3: warning: call to undeclared function 'outtab'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1173 | outtab(); | ^ rat4.c:1174:3: warning: call to undeclared function 'outstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1174 | outstr(&forstk[j]); | ^ rat4.c:1175:3: warning: call to undeclared function 'outdon'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1175 | outdon(); | ^ rat4.c:1177:2: warning: call to undeclared function 'outgo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1177 | outgo(lab-1); | ^ rat4.c:1178:2: warning: call to undeclared function 'outcon'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1178 | outcon(lab+1); | ^ rat4.c:1162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1162 | fors(lab) | ^ rat4.c:1180:1: warning: non-void function does not return a value [-Wreturn-type] 1180 | } | ^ rat4.c:1186:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1186 | ifcode(lab) | ^ | int rat4.c:1191:9: warning: call to undeclared function 'labgen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1191 | *lab = labgen(2); | ^ rat4.c:1193:2: warning: call to undeclared function 'ifthen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1193 | ifthen(); | ^ rat4.c:1186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1186 | ifcode(lab) | ^ rat4.c:1197:1: warning: non-void function does not return a value [-Wreturn-type] 1197 | } | ^ rat4.c:1204:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1204 | ifend() | ^ | int rat4.c:1206:2: warning: call to undeclared function 'outtab'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1206 | outtab(); | ^ rat4.c:1207:2: warning: call to undeclared function 'outstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1207 | outstr(sendif); | ^ rat4.c:1208:2: warning: call to undeclared function 'outdon'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1208 | outdon(); | ^ rat4.c:1209:1: warning: non-void function does not return a value [-Wreturn-type] 1209 | } | ^ rat4.c:1216:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1216 | ifgo(lab) | ^ | int rat4.c:1220:2: warning: call to undeclared function 'outtab'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1220 | outtab(); /* get to column 7 */ | ^ rat4.c:1221:2: warning: call to undeclared function 'outstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1221 | outstr(ifnot); /* " if(.not. " */ | ^ rat4.c:1223:2: warning: call to undeclared function 'outch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1223 | outch(RPAREN); /* " ) " */ | ^ rat4.c:1224:2: warning: call to undeclared function 'outgo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1224 | outgo(lab); /* " goto lab " */ | ^ rat4.c:1216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1216 | ifgo(lab) | ^ rat4.c:1225:1: warning: non-void function does not return a value [-Wreturn-type] 1225 | } | ^ rat4.c:1232:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1232 | ifthen() | ^ | int rat4.c:1234:2: warning: call to undeclared function 'outtab'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1234 | outtab(); | ^ rat4.c:1235:2: warning: call to undeclared function 'outstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1235 | outstr(sif); | ^ rat4.c:1238:2: warning: call to undeclared function 'outdon'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1238 | outdon(); | ^ rat4.c:1239:1: warning: non-void function does not return a value [-Wreturn-type] 1239 | } | ^ rat4.c:1246:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1246 | labelc(lexstr) | ^ | int rat4.c:1253:4: warning: call to undeclared function 'synerr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1253 | synerr("warning: possible label conflict."); | ^ rat4.c:1254:2: warning: call to undeclared function 'outstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1254 | outstr(lexstr); | ^ rat4.c:1255:2: warning: call to undeclared function 'outtab'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1255 | outtab(); | ^ rat4.c:1246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1246 | labelc(lexstr) | ^ rat4.c:1256:1: warning: non-void function does not return a value [-Wreturn-type] 1256 | } | ^ rat4.c:1263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1263 | labgen(n) | ^ rat4.c:1277:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1277 | otherc(lexstr) | ^ | int rat4.c:1281:2: warning: call to undeclared function 'outtab'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1281 | outtab(); | ^ rat4.c:1282:2: warning: call to undeclared function 'outstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1282 | outstr(lexstr); | ^ rat4.c:1284:2: warning: call to undeclared function 'outdon'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1284 | outdon(); | ^ rat4.c:1277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1277 | otherc(lexstr) | ^ rat4.c:1285:1: warning: non-void function does not return a value [-Wreturn-type] 1285 | } | ^ rat4.c:1291:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1291 | outch(c) | ^ | int rat4.c:1297:3: warning: call to undeclared function 'outdon'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1297 | outdon(); | ^ rat4.c:1291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1291 | outch(c) | ^ rat4.c:1305:1: warning: non-void function does not return a value [-Wreturn-type] 1305 | } | ^ rat4.c:1311:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1311 | outcon(n) | ^ | int rat4.c:1316:3: warning: non-void function 'outcon' should return a value [-Wreturn-type] 1316 | return; /* don't need unlabeled continues */ | ^ rat4.c:1318:3: warning: call to undeclared function 'outnum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1318 | outnum(n); | ^ rat4.c:1319:2: warning: call to undeclared function 'outtab'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1319 | outtab(); | ^ rat4.c:1320:2: warning: call to undeclared function 'outstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1320 | outstr(contin); | ^ rat4.c:1321:2: warning: call to undeclared function 'outdon'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1321 | outdon(); | ^ rat4.c:1311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1311 | outcon(n) | ^ rat4.c:1322:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1322 | } | ^ rat4.c:1328:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1328 | outdon() | ^ | int rat4.c:1335:1: warning: non-void function does not return a value [-Wreturn-type] 1335 | } | ^ rat4.c:1341:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1341 | outcmnt(fd) | ^ | int rat4.c:1341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] rat4.c:1353:15: warning: array index 81 is past the end of the array (that has type 'signed char[81]') [-Warray-bounds] 1353 | comout[81]=EOS; | ^ ~~ rat4.c:1345:9: note: array 'comout' declared here 1345 | S_CHAR comout[81]; | ^ :2:16: note: expanded from macro 'S_CHAR' 2 | #define S_CHAR signed char | ^ rat4.c:1365:1: warning: non-void function does not return a value [-Wreturn-type] 1365 | } | ^ rat4.c:1371:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1371 | outasis(fd) | ^ | int rat4.c:1371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] rat4.c:1378:1: warning: non-void function does not return a value [-Wreturn-type] 1378 | } | ^ rat4.c:1384:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1384 | outgo(n) | ^ | int rat4.c:1388:3: warning: non-void function 'outgo' should return a value [-Wreturn-type] 1388 | return; | ^ rat4.c:1389:2: warning: call to undeclared function 'outtab'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1389 | outtab(); | ^ rat4.c:1390:2: warning: call to undeclared function 'outstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1390 | outstr(rgoto); | ^ rat4.c:1391:2: warning: call to undeclared function 'outnum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1391 | outnum(n); | ^ rat4.c:1384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1384 | outgo(n) | ^ rat4.c:1393:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1393 | } | ^ rat4.c:1399:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1399 | outnum(n) | ^ | int rat4.c:1399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] rat4.c:1418:1: warning: non-void function does not return a value [-Wreturn-type] 1418 | } | ^ rat4.c:1426:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1426 | outstr(str) | ^ | int rat4.c:1426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] rat4.c:1433:1: warning: non-void function does not return a value [-Wreturn-type] 1433 | } | ^ rat4.c:1439:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1439 | outtab() | ^ | int rat4.c:1443:1: warning: non-void function does not return a value [-Wreturn-type] 1443 | } | ^ rat4.c:1450:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1450 | repcod(lab) | ^ | int rat4.c:1450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] rat4.c:1461:1: warning: non-void function does not return a value [-Wreturn-type] 1461 | } | ^ rat4.c:1467:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1467 | retcod() | ^ | int rat4.c:1483:9: warning: passing 'char[7]' to parameter of type 'signed char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1483 | outstr(sret); | ^~~~ rat4.c:1486:1: warning: non-void function does not return a value [-Wreturn-type] 1486 | } | ^ rat4.c:1490:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1490 | strdcl() | ^ | int rat4.c:1497:3: warning: call to undeclared function 'synerr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1497 | synerr("missing string name."); | ^ rat4.c:1506:9: warning: call to undeclared function 'ctoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1506 | len = ctoi(init, &i); | ^ rat4.c:1524:9: warning: passing 'char *' to parameter of type 'signed char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1524 | outstr(dat); | ^~~ rat4.c:1528:3: warning: call to undeclared function 'scopy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1528 | scopy(init, 1, init, 0); | ^ rat4.c:1546:8: warning: passing 'char *' to parameter of type 'signed char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1546 | pbstr(eoss); /* push back EOS for subsequent substitution */ | ^~~~ rat4.c:1547:1: warning: non-void function does not return a value [-Wreturn-type] 1547 | } | ^ rat4.c:1554:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1554 | unstak(sp, lextyp, labval, token) | ^ | int rat4.c:1588:4: warning: call to undeclared function 'whiles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1588 | whiles(labval[tp]); | ^ rat4.c:1592:4: warning: call to undeclared function 'untils'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1592 | untils(labval[tp], token); | ^ rat4.c:1554:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1554 | unstak(sp, lextyp, labval, token) | ^ rat4.c:1595:1: warning: non-void function does not return a value [-Wreturn-type] 1595 | } | ^ rat4.c:1601:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1601 | untils(lab, token) | ^ | int rat4.c:1601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] rat4.c:1616:1: warning: non-void function does not return a value [-Wreturn-type] 1616 | } | ^ rat4.c:1622:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1622 | whilec(lab) | ^ | int rat4.c:1622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] rat4.c:1637:1: warning: non-void function does not return a value [-Wreturn-type] 1637 | } | ^ rat4.c:1643:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1643 | whiles(lab) | ^ | int rat4.c:1643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] rat4.c:1652:1: warning: non-void function does not return a value [-Wreturn-type] 1652 | } | ^ rat4.c:1661:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1661 | baderr(msg) | ^ | int rat4.c:1664:2: warning: call to undeclared function 'synerr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1664 | synerr(msg); | ^ rat4.c:1661:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1661 | baderr(msg) | ^ rat4.c:1671:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1671 | error(msg, s) | ^ | int rat4.c:1671:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] rat4.c:1682:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1682 | synerr(msg) | ^ | int rat4.c:1688:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1688 | fprintf(stderr,errmsg); | ^~~~~~ rat4.c:1688:17: note: treat the string as an argument to avoid this 1688 | fprintf(stderr,errmsg); | ^ | "%s", rat4.c:1693:2: warning: call to undeclared function 'itoc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1693 | itoc(linect[i], lc, MAXCHARS); | ^ rat4.c:1694:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1694 | fprintf(stderr,(char*)lc); | ^ ~~ rat4.c:1694:17: note: treat the string as an argument to avoid this 1694 | fprintf(stderr,(char*)lc); | ^ | "%s", rat4.c:1697:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1697 | fprintf(stderr,in); | ^~ rat4.c:1697:19: note: treat the string as an argument to avoid this 1697 | fprintf(stderr,in); | ^ | "%s", rat4.c:1698:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1698 | fprintf(stderr,(char*)&fnames[i]); | ^ ~~~~~~~~~~ rat4.c:1698:19: note: treat the string as an argument to avoid this 1698 | fprintf(stderr,(char*)&fnames[i]); | ^ | "%s", rat4.c:1682:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1682 | synerr(msg) | ^ rat4.c:1702:1: warning: non-void function does not return a value [-Wreturn-type] 1702 | } | ^ rat4.c:1713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1713 | ctoi(in, i) | ^ rat4.c:1735:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1735 | fold(token) | ^ | int rat4.c:1735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] rat4.c:1749:1: warning: non-void function does not return a value [-Wreturn-type] 1749 | } | ^ rat4.c:1756:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1756 | equal(str1, str2) | ^ rat4.c:1772:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1772 | scopy(from, i, to, j) | ^ | int rat4.c:1772:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] rat4.c:1786:1: warning: non-void function does not return a value [-Wreturn-type] 1786 | } | ^ rat4.c:1801:17: warning: passing arguments to 'lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1801 | if ((p = lookup(name)) == NULL) | ^ rat4.c:1794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1794 | look(name,defn) | ^ rat4.c:1811:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1811 | itoc(n,str,size) | ^ rat4.c:1844:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1844 | cascod (lab, token) | ^ | int rat4.c:1852:11: warning: passing 'char[25]' to parameter of type 'signed char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1852 | synerr ("illegal case or default."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ rat4.c:1853:3: warning: non-void function 'cascod' should return a value [-Wreturn-type] 1853 | return; | ^ rat4.c:1859:10: warning: call to undeclared function 'caslab'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1859 | while (caslab (&lb, &t) != EOF) { | ^ rat4.c:1864:13: warning: passing 'char[29]' to parameter of type 'signed char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1864 | synerr ("illegal range in case label."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rat4.c:1868:13: warning: passing 'char[23]' to parameter of type 'signed char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1868 | baderr ("switch table overflow."); | ^~~~~~~~~~~~~~~~~~~~~~~~ rat4.c:1873:14: warning: passing 'char[22]' to parameter of type 'signed char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1873 | synerr ("duplicate case label."); | ^~~~~~~~~~~~~~~~~~~~~~~ rat4.c:1875:13: warning: passing 'char[22]' to parameter of type 'signed char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1875 | synerr ("duplicate case label."); | ^~~~~~~~~~~~~~~~~~~~~~~ rat4.c:1886:13: warning: passing 'char[21]' to parameter of type 'signed char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1886 | synerr ("illegal case syntax."); | ^~~~~~~~~~~~~~~~~~~~~~ rat4.c:1892:12: warning: passing 'char[39]' to parameter of type 'signed char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1892 | baderr ("multiple defaults in switch statement."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rat4.c:1898:11: warning: passing 'char[16]' to parameter of type 'signed char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1898 | synerr ("unexpected EOF."); | ^~~~~~~~~~~~~~~~~ rat4.c:1900:11: warning: passing 'char[40]' to parameter of type 'signed char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1900 | baderr ("missing colon in case or default label."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rat4.c:1844:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1844 | cascod (lab, token) | ^ rat4.c:1904:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1904 | } | ^ rat4.c:1930:11: warning: passing 'char[20]' to parameter of type 'signed char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1930 | synerr ("invalid case label."); | ^~~~~~~~~~~~~~~~~~~~~ rat4.c:1911:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1911 | caslab (n, t) | ^ rat4.c:1940:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1940 | } | ^ rat4.c:1946:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1946 | swcode (lab) | ^ | int rat4.c:1953:11: warning: passing 'char[23]' to parameter of type 'signed char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1953 | baderr ("switch table overflow."); | ^~~~~~~~~~~~~~~~~~~~~~~~ rat4.c:1961:2: warning: call to undeclared function 'swvar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1961 | swvar(*lab); | ^ rat4.c:1970:11: warning: passing 'char[40]' to parameter of type 'signed char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1970 | synerr ("missing left brace in switch statement."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rat4.c:1946:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1946 | swcode (lab) | ^ rat4.c:1973:1: warning: non-void function does not return a value [-Wreturn-type] 1973 | } | ^ rat4.c:1979:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1979 | swend(lab) | ^ | int rat4.c:2048:12: warning: passing 'char *' to parameter of type 'signed char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2048 | outstr (sif); | ^~~ rat4.c:2049:4: warning: call to undeclared function 'swvar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2049 | swvar (lab); | ^ rat4.c:2051:13: warning: passing 'char *' to parameter of type 'signed char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2051 | outstr (seq); /* # .eq....*/ | ^~~ rat4.c:2055:13: warning: passing 'char *' to parameter of type 'signed char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2055 | outstr (sge); /* # .ge.lb.and.Innn.le.ub */ | ^~~ rat4.c:2057:13: warning: passing 'char *' to parameter of type 'signed char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2057 | outstr (sand); | ^~~~ rat4.c:2059:13: warning: passing 'char *' to parameter of type 'signed char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2059 | outstr (sle); | ^~~ rat4.c:1979:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1979 | swend(lab) | ^ rat4.c:2071:1: warning: non-void function does not return a value [-Wreturn-type] 2071 | } | ^ rat4.c:2076:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2076 | swvar (lab) | ^ | int rat4.c:2076:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] rat4.c:2082:1: warning: non-void function does not return a value [-Wreturn-type] 2082 | } | ^ 335 warnings generated. --- ratfor77 --- cc -o ratfor77 rat4.o lookup.o getopt.o --- ratfor --- ln ratfor77 ratfor --- test.f --- --- testw.f --- --- test.f --- ./ratfor -o test.f test.r --- testw.f --- ./ratfor -o testw.f testw.r --- test --- --- testw --- --- test --- gfortran13 -o test test.f --- testw --- gfortran13 -o testw testw.f --- tests --- ./test Ok! x = 1 x = 2 x = 3 x = 4 x = 5 x = 6 x = 7 x = 8 x = 9 x = 0 x = 1 x = 2 x = 3 x = 4 x = 5 x = 6 x = 7 x = 8 x = 9 ./testw Ok! x = 1 x = 2 x = 3 x = 4 x = 5 x = 6 x = 7 x = 8 x = 9 x = 0 x = 1 x = 2 x = 3 x = 4 x = 5 x = 6 x = 7 x = 8 x = 9 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ratfor-1985.06_17 depends on executable: gfortran13 - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Staging for ratfor-1985.06_17 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/lang/ratfor/work/ratfor-1985.06_17/ratfor77 /wrkdirs/usr/ports/lang/ratfor/work/stage/usr/local/bin install -l rs /wrkdirs/usr/ports/lang/ratfor/work/stage/usr/local/bin/ratfor77 /wrkdirs/usr/ports/lang/ratfor/work/stage/usr/local/bin/ratfor install -m 444 /wrkdirs/usr/ports/lang/ratfor/work/ratfor-1985.06_17/ratfor.1 /wrkdirs/usr/ports/lang/ratfor/work/stage/usr/local/share/man/man1 ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-05-04T06:36:41+0000' 'PKG_NOTE_ports_top_git_hash=57a50b106b87' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=147aeb1ee48f' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Building packages for ratfor-1985.06_17 ===> Building ratfor-1985.06_17 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for ratfor-1985.06_17 build of lang/ratfor | ratfor-1985.06_17 ended at Sun May 4 02:36:54 EDT 2025 build time: 00:00:13