=>> Building japanese/plain2 build started at Thu Mar 12 19:05:49 EDT 2026 port directory: /usr/ports/japanese/plain2 package name: ja-plain2-2.54.1_2 building for: FreeBSD pkg.DaveG.ca 14.4-RELEASE FreeBSD 14.4-RELEASE 1404000 amd64 maintained by: TsurutaniNaoki@gmail.com Makefile datestamp: -rw-r--r-- 1 root wheel 999 Aug 27 2024 /usr/ports/japanese/plain2/Makefile Ports top last git commit: 26b198eb3ee3 Ports top unclean checkout: no Port dir last git commit: 8d9b67bc44ee Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1404000 Job Id: 03 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1404000 UNAME_v=FreeBSD 14.4-RELEASE 1404000 UNAME_r=14.4-RELEASE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/03/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_14_4_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- TsurutaniNaoki@gmail.com --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/japanese/plain2/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/japanese/plain2/work XDG_CACHE_HOME=/wrkdirs/usr/ports/japanese/plain2/work/.cache HOME=/wrkdirs/usr/ports/japanese/plain2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/japanese/plain2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/japanese/plain2/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/japanese/plain2/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/japanese/plain2/work XDG_CACHE_HOME=/wrkdirs/usr/ports/japanese/plain2/work/.cache HOME=/wrkdirs/usr/ports/japanese/plain2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/japanese/plain2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/japanese/plain2/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -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=14.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/plain2" EXAMPLESDIR="share/examples/plain2" DATADIR="share/plain2" WWWDIR="www/plain2" ETCDIR="etc/plain2" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/plain2 DOCSDIR=/usr/local/share/doc/plain2 EXAMPLESDIR=/usr/local/share/examples/plain2 WWWDIR=/usr/local/www/plain2 ETCDIR=/usr/local/etc/plain2 --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ja-plain2-2.54.1_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.6.2.pkg [pkg.DaveG.ca] Installing pkg-2.6.2... [pkg.DaveG.ca] Extracting pkg-2.6.2: .......... done ===> ja-plain2-2.54.1_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ja-plain2-2.54.1_2 =========================================================================== =================================================== ===== 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 ja-plain2-2.54.1_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ja-plain2-2.54.1_2 for building => SHA256 Checksum OK for plain2_2.54p1.orig.tar.gz. => SHA256 Checksum OK for plain2_2.54p1-4.2.diff.gz. =========================================================================== =================================================== ===== 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 ja-plain2-2.54.1_2 for building ===> Extracting for ja-plain2-2.54.1_2 ===> Fetching all distfiles required by ja-plain2-2.54.1_2 for building => SHA256 Checksum OK for plain2_2.54p1.orig.tar.gz. => SHA256 Checksum OK for plain2_2.54p1-4.2.diff.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for ja-plain2-2.54.1_2 ===> Applying distribution patches for ja-plain2-2.54.1_2 ===> Applying FreeBSD patches for ja-plain2-2.54.1_2 from /usr/ports/japanese/plain2/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ja-plain2-2.54.1_2 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> ja-plain2-2.54.1_2 depends on file: /usr/local/bin/ccache - found ===> Returning to build of ja-plain2-2.54.1_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for ja-plain2-2.54.1_2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for ja-plain2-2.54.1_2 --- plain2.o --- --- readfile.o --- --- miscutil.o --- --- section.o --- --- example.o --- --- list.o --- --- plaintxt.o --- --- spacing.o --- --- headfoot.o --- --- hint.o --- --- justify.o --- --- texout.o --- --- output.o --- --- renumout.o --- --- macro.o --- --- htmlout.o --- --- roffout.o --- --- analyze.o --- --- table.o --- --- title.o --- --- picture.o --- --- ftitle.o --- --- plain2.o --- cc -O2 -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c plain2.c -o plain2.o --- readfile.o --- cc -O2 -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c readfile.c -o readfile.o --- miscutil.o --- cc -O2 -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c miscutil.c -o miscutil.o --- section.o --- cc -O2 -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c section.c -o section.o --- example.o --- cc -O2 -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c example.c -o example.o --- list.o --- cc -O2 -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c list.c -o list.o --- plaintxt.o --- cc -O2 -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c plaintxt.c -o plaintxt.o --- spacing.o --- cc -O2 -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c spacing.c -o spacing.o --- headfoot.o --- cc -O2 -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c headfoot.c -o headfoot.o --- hint.o --- cc -O2 -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c hint.c -o hint.o --- justify.o --- cc -O2 -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c justify.c -o justify.o --- texout.o --- cc -O2 -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c texout.c -o texout.o --- output.o --- cc -O2 -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c output.c -o output.o --- renumout.o --- cc -O2 -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c renumout.c -o renumout.o --- macro.o --- cc -O2 -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c macro.c -o macro.o --- htmlout.o --- cc -O2 -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c htmlout.c -o htmlout.o --- roffout.o --- cc -O2 -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c roffout.c -o roffout.o --- analyze.o --- cc -O2 -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c analyze.c -o analyze.o --- table.o --- cc -O2 -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c table.c -o table.o --- title.o --- cc -O2 -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c title.c -o title.o --- ftitle.o --- cc -O2 -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c ftitle.c -o ftitle.o --- picture.o --- cc -O2 -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -c picture.c -o picture.o --- readfile.o --- In file included from readfile.c:10: ./plain2.h:26:22: warning: '/*' within block comment [-Wcomment] 26 | /* #define NEC_CCS /* NEC C&C Common Software Lab. dependent */ | ^ ./plain2.h:28:21: warning: '/*' within block comment [-Wcomment] 28 | /* #undef NTT_TEX /* NTT jlatex */ /* no longer needed */ | ^ ./plain2.h:343:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 343 | extern char *malloc(); | ^ ./plain2.h:343:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' readfile.c:18:24: 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] 18 | save = (char *)malloc(strlen(str) + 1); | ^ readfile.c:18:24: note: include the header or explicitly provide a declaration for 'strlen' readfile.c:18:23: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | save = (char *)malloc(strlen(str) + 1); | ^ readfile.c:21:3: 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] 21 | exit (2); | ^ readfile.c:21:3: note: include the header or explicitly provide a declaration for 'exit' readfile.c:23:9: 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] 23 | return strcpy(save, str); | ^ readfile.c:23:9: note: include the header or explicitly provide a declaration for 'strcpy' readfile.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 | strsave(str) | ^ In file included from readfile.c:10: ./plain2.h:266:7: 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] 266 | char *strsave(); | ^ readfile.c:43:20: warning: passing arguments to 'sftj2eucStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | str = sftj2eucStr(str, cvtBuf); | ^ readfile.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | expand(expanded, str) | ^ readfile.c:153:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 153 | storeLine(textp, str) | ^ | int readfile.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] readfile.c:192:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 192 | readAndStoreFile() | ^ | int readfile.c:202:40: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | textp->next = (struct text *)malloc(sizeof(struct text)); | ^ readfile.c:225:9: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | malloc(sizeof(struct text *) * (textLines + 1)); | ^ readfile.c:229:42: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | texts[textLines] = (struct text *)malloc(sizeof(struct text)); | ^ 17 warnings generated. --- example.o --- In file included from example.c:10: ./plain2.h:26:22: warning: '/*' within block comment [-Wcomment] 26 | /* #define NEC_CCS /* NEC C&C Common Software Lab. dependent */ | ^ ./plain2.h:28:21: warning: '/*' within block comment [-Wcomment] 28 | /* #undef NTT_TEX /* NTT jlatex */ /* no longer needed */ | ^ ./plain2.h:343:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 343 | extern char *malloc(); | ^ ./plain2.h:343:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' example.c:15:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 15 | markIfExample(begin, end) | ^ | int --- spacing.o --- In file included from spacing.c:11: ./plain2.h:26:22: warning: '/*' within block comment [-Wcomment] 26 | /* #define NEC_CCS /* NEC C&C Common Software Lab. dependent */ | ^ ./plain2.h:28:21: warning: '/*' within block comment [-Wcomment] 28 | /* #undef NTT_TEX /* NTT jlatex */ /* no longer needed */ | ^ ./plain2.h:343:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 343 | extern char *malloc(); | ^ ./plain2.h:343:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' spacing.c:15:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 15 | spacing(begin, end) | ^ | int --- hint.o --- In file included from hint.c:10: ./plain2.h:26:22: warning: '/*' within block comment [-Wcomment] 26 | /* #define NEC_CCS /* NEC C&C Common Software Lab. dependent */ | ^ ./plain2.h:28:21: warning: '/*' within block comment [-Wcomment] 28 | /* #undef NTT_TEX /* NTT jlatex */ /* no longer needed */ | ^ ./plain2.h:343:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 343 | extern char *malloc(); | ^ ./plain2.h:343:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' hint.c:29:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 29 | checkIfHint(s, which) | ^ | int --- example.o --- example.c:24:14: warning: call to undeclared function 'minIndent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | indent = minIndent(begin, end); | ^ example.c:43:6: warning: call to undeclared function 'ExampleCheck'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | if (ExampleCheck(begin, end, aveLength, spacePercent, | ^ example.c:47:21: warning: passing arguments to 'newTextBlock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | tbp = newTextBlock(begin, end, TB_EXAMPLE); | ^ example.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | markIfExample(begin, end) | ^ --- spacing.o --- spacing.c:31:23: warning: passing arguments to 'newTextBlock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | tbp = newTextBlock(l, l+1, TB_PAGE); | ^ spacing.c:46:23: warning: passing arguments to 'newTextBlock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | tbp = newTextBlock(l - blanks, l, TB_SPACE); | ^ spacing.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | spacing(begin, end) | ^ 7 warnings generated. --- hint.o --- hint.c:37:8: warning: call to undeclared library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 37 | if (strncmp(s, hp->beginstr, | ^ hint.c:37:8: note: include the header or explicitly provide a declaration for 'strncmp' hint.c:38:9: 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] 38 | strlen(hp->beginstr)) == 0) { | ^ hint.c:38:9: note: include the header or explicitly provide a declaration for 'strlen' hint.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- example.o --- In file included from example.c:10: ./plain2.h:279:5: 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] 279 | int markIfExample(); | ^ example.c:57:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 57 | ExampleCheck(begin, end, length, spaces, jcode, lines) | ^ | int example.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 warnings generated. --- hint.o --- 29 | checkIfHint(s, which) | ^ hint.c:52:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 52 | hint(begin, end) | ^ | int hint.c:61:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 61 | if (tbType = checkIfHint(texts[l]->body, 0)) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hint.c:61:14: note: place parentheses around the assignment to silence this warning 61 | if (tbType = checkIfHint(texts[l]->body, 0)) { | ^ | ( ) hint.c:61:14: note: use '==' to turn this assignment into an equality comparison 61 | if (tbType = checkIfHint(texts[l]->body, 0)) { | ^ | == hint.c:67:24: warning: passing arguments to 'newTextBlock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | tbp = newTextBlock(rbegin, l, tbType); | ^ hint.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | hint(begin, end) | ^ 11 warnings generated. --- plaintxt.o --- In file included from plaintxt.c:10: ./plain2.h:26:22: warning: '/*' within block comment [-Wcomment] 26 | /* #define NEC_CCS /* NEC C&C Common Software Lab. dependent */ | ^ ./plain2.h:28:21: warning: '/*' within block comment [-Wcomment] 28 | /* #undef NTT_TEX /* NTT jlatex */ /* no longer needed */ | ^ ./plain2.h:343:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 343 | extern char *malloc(); | ^ ./plain2.h:343:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' plaintxt.c:16:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 16 | quotedText(begin, end) | ^ | int plaintxt.c:40:16: warning: passing arguments to 'prevLine' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | (prevLine(l1)->blank && texts[l2]->blank && | ^ plaintxt.c:42:22: warning: passing arguments to 'newTextBlock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | tbp = newTextBlock(l1, l2, TB_QUOTE); | ^ plaintxt.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | quotedText(begin, end) | ^ plaintxt.c:63:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 63 | markAsPlain(begin, end) | ^ | int plaintxt.c:71:20: warning: passing arguments to 'newTextBlock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | tbp = newTextBlock(begin, -1, TB_PLAIN); | ^ plaintxt.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | markAsPlain(begin, end) | ^ In file included from plaintxt.c:10: ./plain2.h:280:5: 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] 280 | int markAsPlain(); | ^ plaintxt.c:84:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 84 | plainText(begin, end) | ^ | int plaintxt.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 warnings generated. --- example.o --- --- hint.o --- --- section.o --- In file included from section.c:11: ./plain2.h:26:22: warning: '/*' within block comment [-Wcomment] 26 | /* #define NEC_CCS /* NEC C&C Common Software Lab. dependent */ | ^ ./plain2.h:28:21: warning: '/*' within block comment [-Wcomment] 28 | /* #undef NTT_TEX /* NTT jlatex */ /* no longer needed */ | ^ ./plain2.h:343:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 343 | extern char *malloc(); | ^ ./plain2.h:343:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' section.c:18:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 18 | secNumMatch(s1, s2, d) | ^ | int section.c:26:13: warning: passing arguments to 'strNum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | s1 = strNum(s1, &n1); | ^ section.c:27:13: warning: passing arguments to 'strNum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | s2 = strNum(s2, &n2); | ^ section.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | secNumMatch(s1, s2, d) | ^ section.c:38:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 38 | secNumCont(s1, s2, d) | ^ | int section.c:44:13: warning: passing arguments to 'strNum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | s1 = strNum(s1, &n1); | ^ section.c:45:13: warning: passing arguments to 'strNum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | s2 = strNum(s2, &n2); | ^ section.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | secNumCont(s1, s2, d) | ^ section.c:54:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 54 | secNumIsOne(s1, d) | ^ | int section.c:59:13: warning: passing arguments to 'strNum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | s1 = strNum(s1, &n1); | ^ section.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | secNumIsOne(s1, d) | ^ section.c:72:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 72 | secCnctable(cur, prev) | ^ | int section.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] section.c:117:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 117 | section(begin, end, phase) | ^ | int section.c:134:46: warning: passing arguments to 'prevLine' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | if (texts[l]->pSecNum == NEVER || !prevLine(l)->blank) | ^ section.c:136:15: warning: passing arguments to 'nextLine' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | if (nextLine(l)->blank) | ^ section.c:148:27: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | MSG1("\t%s\n", codeCvt(prevSectxt->body)); | ^ section.c:149:26: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | MSG1("\t%s\n", codeCvt(texts[l]->body)); | ^ section.c:151:21: warning: passing arguments to 'newTextBlock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | tbp = newTextBlock(l, l + 1, TB_SECNUM); | ^ section.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | section(begin, end, phase) | ^ section.c:159:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 159 | setSnumFor(textp) | ^ | int section.c:166:19: warning: passing arguments to 'strNum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | snumStr = strNum(snumStr, &num); | ^ section.c:171:8: warning: call to undeclared function 'putMacro'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 171 | if (putMacro(M_SETSEC_1 + i - 1, num) < 0) | ^ section.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | setSnumFor(textp) | ^ section.c:176:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 176 | outputSetSnum(begin, end) | ^ | int section.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] section.c:196:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 196 | appendix(begin, end) | ^ | int section.c:212:19: warning: passing arguments to 'prevLine' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | || !prevLine(l)->blank | ^ section.c:213:19: warning: passing arguments to 'nextLine' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | || !nextLine(l)->blank) | ^ section.c:216:8: warning: call to undeclared function 'checkIfAppendix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 216 | checkIfAppendix(textp->body + textp->indent, &apnum)) | ^ section.c:217:18: warning: passing arguments to 'prevLine' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | && prevLine(l)->blank) { | ^ section.c:219:31: warning: passing arguments to 'newTextBlock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | textp->block = newTextBlock(l, l + 1, TB_APPENDIX); | ^ section.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | appendix(begin, end) | ^ 36 warnings generated. --- justify.o --- In file included from justify.c:10: ./plain2.h:26:22: warning: '/*' within block comment [-Wcomment] 26 | /* #define NEC_CCS /* NEC C&C Common Software Lab. dependent */ | ^ ./plain2.h:28:21: warning: '/*' within block comment [-Wcomment] 28 | /* #undef NTT_TEX /* NTT jlatex */ /* no longer needed */ | ^ ./plain2.h:343:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 343 | extern char *malloc(); | ^ ./plain2.h:343:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' justify.c:15:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 15 | indType(begin, end) | ^ | int justify.c:30:15: warning: passing arguments to 'prevLine' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | if (!prevLine(begin)->blank || !nextLine(end - 1)->blank) | ^ justify.c:30:42: warning: passing arguments to 'nextLine' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | if (!prevLine(begin)->blank || !nextLine(end - 1)->blank) | ^ justify.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | indType(begin, end) | ^ justify.c:60:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 60 | markIfJustified(begin, end) | ^ | int justify.c:71:21: warning: passing arguments to 'newTextBlock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | tbp = newTextBlock(begin, end, TB_RIGHT); | ^ justify.c:74:21: warning: passing arguments to 'newTextBlock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | tbp = newTextBlock(begin, end, TB_CENTER); | ^ justify.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | markIfJustified(begin, end) | ^ justify.c:82:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 82 | justified(begin, end) | ^ | int justify.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 warnings generated. --- ftitle.o --- In file included from ftitle.c:10: ./plain2.h:26:22: warning: '/*' within block comment [-Wcomment] 26 | /* #define NEC_CCS /* NEC C&C Common Software Lab. dependent */ | ^ ./plain2.h:28:21: warning: '/*' within block comment [-Wcomment] 28 | /* #undef NTT_TEX /* NTT jlatex */ /* no longer needed */ | ^ ./plain2.h:343:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 343 | extern char *malloc(); | ^ ./plain2.h:343:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' ftitle.c:21:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 21 | {"", FT_FIGURE }, | ^~~~~~~~ ftitle.c:31:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 31 | ftitleInit() | ^ | int ftitle.c:34:2: warning: call to undeclared function 'byteRegister'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 34 | byteRegister(firstByteFtitle, figTblMark); | ^ ftitle.c:36:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 36 | lineAtrFtitle(textp) | ^ | int ftitle.c:49:21: warning: passing arguments to 'kstrMatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | if (svp = kstrMatch(str, figTblMark)) { | ^ ftitle.c:49:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 49 | if (svp = kstrMatch(str, figTblMark)) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftitle.c:49:10: note: place parentheses around the assignment to silence this warning 49 | if (svp = kstrMatch(str, figTblMark)) { | ^ | ( ) ftitle.c:49:10: note: use '==' to turn this assignment into an equality comparison 49 | if (svp = kstrMatch(str, figTblMark)) { | ^ | == ftitle.c:54:8: 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] 54 | len = strlen(svp->pattern); | ^ ftitle.c:54:8: note: include the header or explicitly provide a declaration for 'strlen' ftitle.c:62:16: warning: call to undeclared function 'checkIfNumber'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | while (len2 = checkIfNumber(str + ofst, &num)){ | ^ ftitle.c:62:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 62 | while (len2 = checkIfNumber(str + ofst, &num)){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftitle.c:62:14: note: place parentheses around the assignment to silence this warning 62 | while (len2 = checkIfNumber(str + ofst, &num)){ | ^ | ( ) ftitle.c:62:14: note: use '==' to turn this assignment into an equality comparison 62 | while (len2 = checkIfNumber(str + ofst, &num)){ | ^ | == ftitle.c:69:15: warning: passing arguments to 'kstrMatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | if (kstrMatch(str + ofst, kdot)) | ^ ftitle.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | lineAtrFtitle(textp) | ^ ftitle.c:81:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 81 | figTitle(begin, end) | ^ | int ftitle.c:89:34: warning: passing arguments to 'newTextBlock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | texts[i]->block = newTextBlock(i, i + 1, TB_FTITLE); | ^ ftitle.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | figTitle(begin, end) | ^ ftitle.c:96:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 96 | titledBlock(tbp1, tbp2) | ^ | int ftitle.c:102:23: warning: passing arguments to 'newTextBlock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | newTbp = newTextBlock(tbp1->rbegin, tbp2->rend, TB_CAPSULE); | ^ ftitle.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | titledBlock(tbp1, tbp2) | ^ ftitle.c:111:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 111 | joinIfTitled(titlep, begin, end) | ^ | int ftitle.c:121:23: warning: passing arguments to 'prevBlock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | tbpPrev = prevBlock(titleTbp->rbegin, begin); | ^ ftitle.c:122:23: warning: passing arguments to 'nextBlock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | tbpFollow = nextBlock(titleTbp->rend, end); | ^ ftitle.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | joinIfTitled(titlep, begin, end) | ^ ftitle.c:148:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 148 | makeTitledBlock(begin, end) | ^ | int ftitle.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 warnings generated. --- justify.o --- --- renumout.o --- In file included from renumout.c:10: ./plain2.h:26:22: warning: '/*' within block comment [-Wcomment] 26 | /* #define NEC_CCS /* NEC C&C Common Software Lab. dependent */ | ^ ./plain2.h:28:21: warning: '/*' within block comment [-Wcomment] 28 | /* #undef NTT_TEX /* NTT jlatex */ /* no longer needed */ | ^ ./plain2.h:343:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 343 | extern char *malloc(); | ^ ./plain2.h:343:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' renumout.c:20:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 20 | char *list_sroman[] = {"", "ɣ", "ɣɣ", "ɣ", | ^~~~~~~~ renumout.c:20:31: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 20 | char *list_sroman[] = {"", "ɣ", "ɣɣ", "ɣ", | ^~~~ ~~~~ renumout.c:20:39: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 20 | char *list_sroman[] = {"", "ɣ", "ɣɣ", "ɣ", | ^~~~ ~~~~ renumout.c:20:49: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 20 | char *list_sroman[] = {"", "ɣ", "ɣɣ", "ɣ", | ^~~~ ~~~~ renumout.c:21:8: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 21 | "","֣","֣ɣ","֣ɣɣ","ɣ",""}; | ^~~~~~~~ renumout.c:21:13: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 21 | "","֣","֣ɣ","֣ɣɣ","ɣ",""}; | ^~~~~~~~ renumout.c:21:20: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 21 | "","֣","֣ɣ","֣ɣɣ","ɣ",""}; | ^~~~ ~~~~ renumout.c:21:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 21 | "","֣","֣ɣ","֣ɣɣ","ɣ",""}; | ^~~~ ~~~~ renumout.c:21:40: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 21 | "","֣","֣ɣ","֣ɣɣ","ɣ",""}; | ^~~~ ~~~~ renumout.c:21:47: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 21 | "","֣","֣ɣ","֣ɣɣ","ɣ",""}; | ^~~~~~~~ renumout.c:22:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 22 | char *list_lroman[] = {"", "", "", "", | ^~~~~~~~ renumout.c:22:31: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 22 | char *list_lroman[] = {"", "", "", "", | ^~~~~~~~~~~~~~~~ renumout.c:22:39: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 22 | char *list_lroman[] = {"", "", "", "", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ renumout.c:22:51: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 22 | char *list_lroman[] = {"", "", "", "", | ^~~~~~~~~~~~~~~~ renumout.c:23:8: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 23 | "","","","","i",""}; | ^~~~~~~~ renumout.c:23:13: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 23 | "","","","","i",""}; | ^~~~~~~~~~~~~~~~ renumout.c:23:20: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 23 | "","","","","i",""}; | ^~~~~~~~~~~~~~~~~~~~~~~~ renumout.c:23:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 23 | "","","","","i",""}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ renumout.c:23:41: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 23 | "","","","","i",""}; | ^~~~~~~~ renumout.c:23:46: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 23 | "","","","","i",""}; | ^~~~~~~~ renumout.c:41:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 41 | static listLevel = 0; | ~~~~~~ ^ | int renumout.c:43:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 43 | renumPrint(begin, end) | ^ | int renumout.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] renumout.c:53:17: warning: parameter 'num' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 53 | listNumStr(lbp, num) | ^ 54 | struct textBlock *lbp; 55 | { renumout.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | listNumStr(lbp, num) | ^ renumout.c:108:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 108 | renumList(lbp) | ^ | int renumout.c:129:16: warning: passing arguments to 'listSecBody' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | listSecBody(texts[lnum])); | ^ renumout.c:139:3: warning: call to undeclared function 'renumRegion'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 139 | renumRegion(lhbp->rend, rend); | ^ renumout.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | renumList(lbp) | ^ renumout.c:146:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 146 | initSnum(textp) | ^ | int renumout.c:153:19: warning: passing arguments to 'strNum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | snumStr = strNum(snumStr, &num); | ^ renumout.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | initSnum(textp) | ^ renumout.c:162:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 162 | renumSection(depth, body) | ^ | int renumout.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] renumout.c:178:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 178 | renumFtitle(ft, indent, str) | ^ | int renumout.c:191:31: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 191 | printf ("%s %d.", codeCvt(""), figNumber++); | ^~~~~~~~ renumout.c:191:29: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | printf ("%s %d.", codeCvt(""), figNumber++); | ^ renumout.c:193:29: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | printf ("%s %d.", codeCvt("ɽ"), tblNumber++); | ^ renumout.c:178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | renumFtitle(ft, indent, str) | ^ renumout.c:207:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 207 | renumCapsule(blockTbp) | ^ | int renumout.c:215:2: warning: call to undeclared function 'renumBlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 215 | renumBlock(tbp1); | ^ renumout.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | renumCapsule(blockTbp) | ^ renumout.c:222:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 222 | renumBlock(tbp) | ^ | int renumout.c:229:47: warning: passing arguments to 'listSecBody' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | renumSection(texts[l]->secDepth, listSecBody(texts[l])); | ^ renumout.c:269:3: 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] 269 | exit(2); | ^ renumout.c:269:3: note: include the header or explicitly provide a declaration for 'exit' renumout.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | renumBlock(tbp) | ^ renumout.c:272:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 272 | renumRegion(begin, end) | ^ | int renumout.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] renumout.c:298:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 298 | renumDocument() | ^ | int 52 warnings generated. --- plain2.o --- In file included from plain2.c:16: ./plain2.h:26:22: warning: '/*' within block comment [-Wcomment] 26 | /* #define NEC_CCS /* NEC C&C Common Software Lab. dependent */ | ^ ./plain2.h:28:21: warning: '/*' within block comment [-Wcomment] 28 | /* #undef NTT_TEX /* NTT jlatex */ /* no longer needed */ | ^ ./plain2.h:343:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 343 | extern char *malloc(); | ^ ./plain2.h:343:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' plain2.c:133:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 133 | main(argc, argv) | ^ | int plain2.c:147:2: warning: call to undeclared function 'clearMacro'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 147 | clearMacro(); | ^ plain2.c:148:20: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | plain2Lib = getenv(PLAIN2_LIB); | ^ plain2.c:150:2: warning: call to undeclared function 'envOption'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 150 | envOption(); | ^ plain2.c:151:6: warning: call to undeclared function 'getOption'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 151 | if (getOption(argc, argv)) { | ^ plain2.c:154:3: 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] 154 | exit (2); | ^ plain2.c:154:3: note: include the header or explicitly provide a declaration for 'exit' plain2.c:158:3: warning: call to undeclared function 'macroFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 158 | macroFile(macroName); | ^ plain2.c:159:2: warning: call to undeclared function 'saveParseDefaults'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 159 | saveParseDefaults(); | ^ plain2.c:160:2: warning: call to undeclared function 'tblParseInit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 160 | tblParseInit(); | ^ plain2.c:162:2: warning: call to undeclared function 'picParseInit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 162 | picParseInit(); | ^ plain2.c:164:2: warning: call to undeclared function 'ftitleInit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 164 | ftitleInit(); | ^ plain2.c:170:3: warning: call to undeclared function 'doPlain2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 170 | doPlain2(); | ^ plain2.c:179:19: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | fname = strsave(argv[argind]); | ^ plain2.c:181:3: warning: call to undeclared function 'doPlain2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 181 | doPlain2(); | ^ plain2.c:186:3: warning: call to undeclared function 'putMacro'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 186 | putMacro(M_SECTION_END); | ^ plain2.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | main(argc, argv) | ^ plain2.c:200:31: 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] 200 | if(NULL == (p = buf = malloc(strlen(s)*3/2+6+1))){ /* 6 for ",jverb" */ | ^ plain2.c:200:31: note: include the header or explicitly provide a declaration for 'strlen' plain2.c:200:30: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | if(NULL == (p = buf = malloc(strlen(s)*3/2+6+1))){ /* 6 for ",jverb" */ | ^ plain2.c:210:6: warning: call to undeclared library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 210 | strncpy(p, s, 2), p += 2, s += 3; | ^ plain2.c:210:6: note: include the header or explicitly provide a declaration for 'strncpy' plain2.c:223: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] 223 | strcpy(p, "jverb"), p += 5; | ^ plain2.c:223:3: note: include the header or explicitly provide a declaration for 'strcpy' plain2.c:193:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | char *styleConv(s, nttflag) | ^ plain2.c:234:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 234 | doPlain2() | ^ | int plain2.c:238:2: warning: call to undeclared function 'restoreParseDefaults'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 238 | restoreParseDefaults(); | ^ plain2.c:239:2: warning: call to undeclared function 'readAndStoreFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 239 | readAndStoreFile(); | ^ plain2.c:243:2: warning: call to undeclared function 'analyzeLines'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 243 | analyzeLines(1, textLines); | ^ plain2.c:244:14: warning: call to undeclared function 'getTitleBlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 244 | textBegin = getTitleBlock(1, textLines); | ^ plain2.c:250:4: warning: call to undeclared function 'initMacroDefs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 250 | initMacroDefs(htmlMacros); | ^ plain2.c:253:5: warning: call to undeclared function 'htmlSetTrans'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 253 | htmlSetTrans(0); | ^ plain2.c:256:5: warning: call to undeclared function 'htmlSetTrans'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 256 | htmlSetTrans(1); | ^ plain2.c:263:5: warning: call to undeclared function 'initMacroDefs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 263 | initMacroDefs(roffMsMacros); | ^ plain2.c:267:4: warning: call to undeclared function 'initMacroDefs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 267 | initMacroDefs(texMacros); | ^ plain2.c:269:5: warning: call to undeclared function 'texSetTrans'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 269 | texSetTrans(0); | ^ plain2.c:272:5: warning: call to undeclared function 'texSetTrans'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 272 | texSetTrans(1); | ^ plain2.c:279:4: warning: call to undeclared function 'putMacro'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 279 | putMacro(M_DOC_BEGIN, (long)fontSize, p, q); | ^ plain2.c:280:4: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 280 | free(p), free(q); | ^ plain2.c:280:4: note: include the header or explicitly provide a declaration for 'free' plain2.c:285:4: warning: call to undeclared function 'putMacro'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 285 | putMacro(M_DOC_BEGIN, (long)fontSize, p, q); | ^ plain2.c:291:2: warning: call to undeclared function 'hint'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 291 | hint(textBegin, textLines); | ^ plain2.c:293:2: warning: call to undeclared function 'spacing'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 293 | spacing(textBegin, textLines); | ^ plain2.c:296:3: warning: call to undeclared function 'headerFooter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 296 | headerFooter(textBegin, textLines); | ^ plain2.c:299:2: warning: call to undeclared function 'section'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 299 | section(textBegin, textLines, 0); | ^ plain2.c:301:2: warning: call to undeclared function 'appendix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 301 | appendix(textBegin, textLines); | ^ plain2.c:303:2: warning: call to undeclared function 'quotedText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 303 | quotedText(textBegin, textLines); | ^ plain2.c:305:2: warning: call to undeclared function 'list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 305 | list(textBegin, textLines); | ^ plain2.c:307:2: warning: call to undeclared function 'figTitle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 307 | figTitle(textBegin, textLines); | ^ plain2.c:310:2: warning: call to undeclared function 'applyOnRegion2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 310 | applyOnRegion2(textBegin, textLines, 0, markIfPicture); | ^ plain2.c:311:2: warning: call to undeclared function 'applyOnSpaced'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 311 | applyOnSpaced(textBegin, textLines, markIfPicture); | ^ plain2.c:315:3: warning: call to undeclared function 'applyOnRegion'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 315 | applyOnRegion(textBegin, textLines, markIfTable); | ^ plain2.c:318:2: warning: call to undeclared function 'justified'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 318 | justified(textBegin, textLines); | ^ plain2.c:320:2: warning: call to undeclared function 'applyOnRegion'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 320 | applyOnRegion(textBegin, textLines, markIfExample); | ^ plain2.c:324:2: warning: call to undeclared function 'plainText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 324 | plainText(textBegin, textLines); | ^ plain2.c:325:2: warning: call to undeclared function 'joinBlocks'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 325 | joinBlocks(textBegin, textLines, TB_EXAMPLE); | ^ plain2.c:328:2: warning: call to undeclared function 'makeTitledBlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 328 | makeTitledBlock(textBegin, textLines); | ^ plain2.c:329:2: warning: call to undeclared function 'fixListRegion'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 329 | fixListRegion(textBegin, textLines); | ^ plain2.c:332:3: warning: call to undeclared function 'renumDocument'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 332 | renumDocument(); | ^ plain2.c:334:3: warning: call to undeclared function 'outputDocument'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 334 | outputDocument(); | ^ plain2.c:344:2: warning: call to undeclared function 'freeAll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 344 | freeAll(); | ^ plain2.c:346:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 346 | freeAll() | ^ | int plain2.c:352:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 352 | if (tbp = texts[l]->block) { | ~~~~^~~~~~~~~~~~~~~~~ plain2.c:352:11: note: place parentheses around the assignment to silence this warning 352 | if (tbp = texts[l]->block) { | ^ | ( ) plain2.c:352:11: note: use '==' to turn this assignment into an equality comparison 352 | if (tbp = texts[l]->block) { | ^ | == plain2.c:372:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 372 | getOption(xargc, xargv) | ^ | int plain2.c:379:14: warning: call to undeclared function 'getopt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 379 | while ((c = getopt(xargc, xargv, | ^ plain2.c:384:8: 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] 384 | if (strcmp(optarg, "is") == 0) { | ^ plain2.c:384:8: note: include the header or explicitly provide a declaration for 'strcmp' plain2.c:400:8: warning: call to undeclared library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 400 | if (strncmp(optarg, "istd", 4) == 0) { | ^ plain2.c:400:8: note: include the header or explicitly provide a declaration for 'strncmp' plain2.c:434:19: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 434 | examFactor = atoi(optarg+4); | ^ plain2.c:451:21: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 451 | if ((fontSize = atoi(optarg + 2)) == 0) | ^ plain2.c:544:24: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 544 | if ((tableFactor = atoi(optarg+5)) == 0) | ^ plain2.c:561:23: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | texStyle = strsave(optarg + 6); | ^ plain2.c:372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | getOption(xargc, xargv) | ^ plain2.c:607:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 607 | optionLine(s) | ^ | int plain2.c:607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] plain2.c:640:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 640 | envOption() | ^ | int plain2.c:645:24: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | if ((plainEnv = getenv(PLAIN2_ENV)) == NULL) | ^ plain2.c:691:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 691 | saveParseDefaults() | ^ | int plain2.c:701:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 701 | restoreParseDefaults() | ^ | int 76 warnings generated. --- macro.o --- In file included from macro.c:12: ./plain2.h:26:22: warning: '/*' within block comment [-Wcomment] 26 | /* #define NEC_CCS /* NEC C&C Common Software Lab. dependent */ | ^ ./plain2.h:28:21: warning: '/*' within block comment [-Wcomment] 28 | /* #undef NTT_TEX /* NTT jlatex */ /* no longer needed */ | ^ ./plain2.h:343:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 343 | extern char *malloc(); | ^ ./plain2.h:343:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' macro.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | atype(c) | ^ macro.c:90:31: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | mip = (struct cmpMac *)malloc(sizeof(struct cmpMac)); | ^ macro.c:94:3: 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] 94 | exit (2); | ^ macro.c:94:3: note: include the header or explicitly provide a declaration for 'exit' macro.c:101:35: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | new_mip=(struct cmpMac *)malloc(sizeof(struct cmpMac)); | ^ macro.c:108:8: 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] 108 | strlen(macNames[macroNum].mname_argattr)) { | ^ macro.c:108:8: note: include the header or explicitly provide a declaration for 'strlen' macro.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | macroParse(s, macroNum, orig) | ^ macro.c:146: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] 146 | if (strcmp(macNames[i].mname_name, buf) == 0) { | ^ macro.c:146:7: note: include the header or explicitly provide a declaration for 'strcmp' macro.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | getMacroNum(buf, macroNump) | ^ macro.c:153:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 153 | getMacroDef(buf, rstr) | ^ | int macro.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] macro.c:192:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 192 | putMacro(int macroNum, char *fmt, ...) | ^ | int macro.c:234:22: warning: cast to smaller integer type 'int' from 'int *' [-Wpointer-to-int-cast] 234 | margs[i].ma_num = (int)va_arg(ap, int *); | ^~~~~~~~~~~~~~~~~~~~~~ macro.c:252:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | printf ("%s", codeCvt((*put->quote1)(margs[mip->cmac_argnum].ma_str))); | ^ macro.c:252:26: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | printf ("%s", codeCvt((*put->quote1)(margs[mip->cmac_argnum].ma_str))); | ^ macro.c:255:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | printf ("%s", codeCvt((*put->quote2)(margs[mip->cmac_argnum].ma_str))); | ^ macro.c:255:26: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | printf ("%s", codeCvt((*put->quote2)(margs[mip->cmac_argnum].ma_str))); | ^ macro.c:262:42: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | printf("%s", codeCvt((*put->quote1)(*argp))); | ^ macro.c:262:27: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | printf("%s", codeCvt((*put->quote1)(*argp))); | ^ macro.c:275:25: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | printf ("%s", codeCvt(mip->cmac_str)); | ^ macro.c:281:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 281 | clearMacro() | ^ | int macro.c:287:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 287 | initMacroDefs(mcp) | ^ | int macro.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] macro.c:307:2: 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] 307 | strcpy(buf, fname); | ^ macro.c:307:2: note: include the header or explicitly provide a declaration for 'strcpy' macro.c:308:2: warning: call to undeclared library function 'strcat' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 308 | strcat(buf, MACRO_SUFFIX); | ^ macro.c:308:2: note: include the header or explicitly provide a declaration for 'strcat' macro.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | macroFopen(fname) | ^ macro.c:312:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 312 | macroFile(fname) | ^ | int macro.c:378:14: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | s = strsave(defstr); /* Changed Nide (but don't we need free?)*/ | ^ macro.c:312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | macroFile(fname) | ^ 31 warnings generated. --- texout.o --- In file included from texout.c:10: ./plain2.h:26:22: warning: '/*' within block comment [-Wcomment] 26 | /* #define NEC_CCS /* NEC C&C Common Software Lab. dependent */ | ^ ./plain2.h:28:21: warning: '/*' within block comment [-Wcomment] 28 | /* #undef NTT_TEX /* NTT jlatex */ /* no longer needed */ | ^ ./plain2.h:343:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 343 | extern char *malloc(); | ^ ./plain2.h:343:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' texout.c:150:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 150 | texSetTrans(full) | ^ | int texout.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] texout.c:175:19: warning: passing arguments to 'textQuote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | return textQuote(str, texTransM); | ^ texout.c:177:19: warning: passing arguments to 'textQuote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | return textQuote(str, texTrans); | ^ texout.c:180:13: warning: call to undeclared function 'alpha'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 180 | if (len = alpha(str)) { | ^ texout.c:180:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 180 | if (len = alpha(str)) { | ~~~~^~~~~~~~~~~~ texout.c:180:11: note: place parentheses around the assignment to silence this warning 180 | if (len = alpha(str)) { | ^ | ( ) texout.c:180:11: note: use '==' to turn this assignment into an equality comparison 180 | if (len = alpha(str)) { | ^ | == texout.c:182:10: 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] 182 | (void)strcpy(s, p); | ^ texout.c:182:10: note: include the header or explicitly provide a declaration for 'strcpy' texout.c:183:9: 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] 183 | s += strlen(p); | ^ texout.c:183:9: note: include the header or explicitly provide a declaration for 'strlen' texout.c:184:10: warning: call to undeclared library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 184 | (void)strncpy(s, str, len); | ^ texout.c:184:10: note: include the header or explicitly provide a declaration for 'strncpy' texout.c:191:4: warning: call to undeclared function 'textQuoteChar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 191 | textQuoteChar(&s, str, texTrans); | ^ texout.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | texTextQuote(str, quotable) | ^ texout.c:198:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | char *texQuote1(str) | ^ texout.c:203:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | char *texQuote2(str) | ^ texout.c:210:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 210 | alpha(s) | ^ | int texout.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] texout.c:229:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 229 | texPutLabel(str) | ^ | int texout.c:232:33: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | printf("\\label{%s}\n", codeCvt(str)); | ^ texout.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | texPutLabel(str) | ^ texout.c:235:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 235 | texPlain(str, attr, newline) | ^ | int texout.c:241:23: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | printf("%s", codeCvt(str)); | ^ texout.c:243:23: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | printf("%s", codeCvt(texTextQuote(str, 1))); | ^ texout.c:235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | texPlain(str, attr, newline) | ^ texout.c:247:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 247 | texExample(str) | ^ | int texout.c:250:23: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | printf("%s\n",codeCvt(str)); | ^ texout.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | texExample(str) | ^ texout.c:256:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 256 | texListBlock(begin, level, ltype, hint) | ^ | int texout.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] texout.c:359:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 359 | texDlistItem(level, dscr, cont) | ^ | int texout.c:367:37: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | printf("\\item[{[}%s{]}]", codeCvt(texTextQuote(dscr, 1))); | ^ texout.c:370:31: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | printf("\\item[%s]", codeCvt(texTextQuote(dscr, 1))); | ^ texout.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | texDlistItem(level, dscr, cont) | ^ texout.c:374:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 374 | texListItem(level) | ^ | int texout.c:374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] texout.c:379:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 379 | texRawText(str) | ^ | int texout.c:382:23: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | printf("%s\n",codeCvt(str)); | ^ texout.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 | texRawText(str) | ^ texout.c:384:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 384 | texSpace(length) | ^ | int texout.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] texout.c:390:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 390 | texFTitle(ft, str, capsule) | ^ | int texout.c:398:42: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | printf("\\center\\caption{%s}", codeCvt(texTextQuote(str, 1))); | ^ texout.c:406:39: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 406 | printf ("{\\bf %s %d.}", codeCvt(""), figNumber++); | ^~~~~~~~ texout.c:406:37: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | printf ("{\\bf %s %d.}", codeCvt(""), figNumber++); | ^ texout.c:409:38: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | printf ("{\\bf %s %d.}", codeCvt("ɽ"), tblNumber++); | ^ texout.c:420:31: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | printf (" %s\\\\\n", codeCvt(texTextQuote(str, 1))); | ^ texout.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | texFTitle(ft, str, capsule) | ^ texout.c:440:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 440 | texPictureBlock(begin, lines, indent, maxLen) | ^ | int texout.c:440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] texout.c:460:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 460 | texLineWidth(style) | ^ | int texout.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] texout.c:470:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 470 | texEllipse(x0, y0, x1, y1, style) | ^ | int texout.c:482:4: warning: call to undeclared function 'texPicLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 482 | texPicLine(x0, y0, x1, y1, SY_THIN, 0); | ^ texout.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | texEllipse(x0, y0, x1, y1, style) | ^ texout.c:501:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 501 | texPicLine(x0, y0, x1, y1, style, vector) | ^ | int texout.c:501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] texout.c:583:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 583 | texPicArc(x, y, r, dir, style) | ^ | int texout.c:583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] texout.c:607:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 607 | texPicText(s, xpos, vpos, factor) | ^ | int texout.c:625:24: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | printf("%s}\n",codeCvt(texTextQuote(s, 1))); | ^ texout.c:607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | texPicText(s, xpos, vpos, factor) | ^ texout.c:628:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 628 | texTitle(style, haifu, title, shozoku, number, date, name, renraku | ^ | int texout.c:647:3: warning: call to undeclared function 'putMacro'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 647 | putMacro(M_TITLE, | ^ texout.c:628:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | texTitle(style, haifu, title, shozoku, number, date, name, renraku | ^ texout.c:700:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 700 | texTable(begin, end, tblp) | ^ | int texout.c:721:11: warning: call to undeclared function 'lineAttr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 721 | hattr = lineAttr(texts[l]->body, &atr); | ^ texout.c:733:9: warning: call to undeclared function 'attrOfStr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 733 | if (attrOfStr(atr, texts[l]->length, fld, 0, tblp) | ^ texout.c:736:15: warning: call to undeclared function 'fieldEmpty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 736 | else if (!fieldEmpty(atr, texts[l]->length, fld, 0, tblp)) | ^ texout.c:742:12: warning: call to undeclared function 'extraColumn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 742 | exCol = extraColumn(atr, texts[l]->length, fld, tblp); | ^ texout.c:743:42: warning: passing arguments to 'tblSubstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 743 | fstr = codeCvt(texTextQuote(tblSubstr(l, fld, exCol, tblp) | ^ texout.c:743:19: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 743 | fstr = codeCvt(texTextQuote(tblSubstr(l, fld, exCol, tblp) | ^ texout.c:745:13: warning: call to undeclared function 'formatOf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 745 | format = formatOf(atr, texts[l]->length, fld, exCol, tblp); | ^ texout.c:747:8: warning: call to undeclared function 'attrOfStr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 747 | if (attrOfStr(atr, texts[l]->length, fld, exCol, tblp) | ^ texout.c:752:10: warning: call to undeclared function 'fieldEmpty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 752 | && !fieldEmpty(atr, texts[l]->length, fld, exCol, tblp))) { | ^ texout.c:700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | texTable(begin, end, tblp) | ^ texout.c:771:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 771 | texCapsule(begin, type, center) | ^ | int texout.c:787:4: 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] 787 | exit(2); | ^ texout.c:787:4: note: include the header or explicitly provide a declaration for 'exit' texout.c:771:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | texCapsule(begin, type, center) | ^ texout.c:819:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 819 | texComment(begin, end) | ^ | int texout.c:825:31: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 825 | printf ("%%%% %s\n", codeCvt(texts[l]->body)); | ^ texout.c:819:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | texComment(begin, end) | ^ 82 warnings generated. --- roffout.o --- In file included from roffout.c:10: ./plain2.h:26:22: warning: '/*' within block comment [-Wcomment] 26 | /* #define NEC_CCS /* NEC C&C Common Software Lab. dependent */ | ^ ./plain2.h:28:21: warning: '/*' within block comment [-Wcomment] 28 | /* #undef NTT_TEX /* NTT jlatex */ /* no longer needed */ | ^ ./plain2.h:343:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 343 | extern char *malloc(); | ^ ./plain2.h:343:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' roffout.c:77:26: warning: passing arguments to 'textQuote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | return codeCvt(textQuote(str, roffTrans)); | ^ roffout.c:77:16: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | return codeCvt(textQuote(str, roffTrans)); | ^ roffout.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | roffQuote1(str) | ^ roffout.c:83:26: warning: passing arguments to 'textQuote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | return codeCvt(textQuote(str, roffTransQ)); | ^ roffout.c:83:16: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | return codeCvt(textQuote(str, roffTransQ)); | ^ roffout.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | roffQuote2(str) | ^ roffout.c:85:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 85 | roffPlain(str, attr, newline) | ^ | int roffout.c:93:16: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | fputs(codeCvt(str), stdout); | ^ roffout.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | roffPlain(str, attr, newline) | ^ roffout.c:99:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 99 | roffExample(str) | ^ | int roffout.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] roffout.c:108:36: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 108 | static char *bmarks[] = {"\\(bu", "", "" }; | ^~~~~~~~ roffout.c:108:42: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 108 | static char *bmarks[] = {"\\(bu", "", "" }; | ^~~~~~~~ roffout.c:109:32: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 109 | static char *dmarks[] = {"-", "
" }; | ^~~~~~~~ roffout.c:123:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 123 | roffListBlock(begin, level, ltype, hint) | ^ | int roffout.c:131:3: warning: call to undeclared function 'mmListBlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 131 | mmListBlock(begin, level, ltype, hint); | ^ roffout.c:134:3: warning: call to undeclared function 'msListBlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 134 | msListBlock(begin, level, ltype, hint); | ^ roffout.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | roffListBlock(begin, level, ltype, hint) | ^ roffout.c:139:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 139 | mmListBlock(begin, level, ltype, hint) | ^ | int roffout.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] roffout.c:226:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 226 | msListBlock(begin, level, ltype, hint) | ^ | int roffout.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] roffout.c:300:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 300 | roffDlistItem(level, dscr, cont) | ^ | int roffout.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] roffout.c:321:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 321 | roffListItem(level) | ^ | int roffout.c:321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] roffout.c:370:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 370 | roffSpace(length) | ^ | int roffout.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] roffout.c:379:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 379 | roffRawText(str) | ^ | int roffout.c:381:24: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | printf("%s\n", codeCvt(str)); | ^ roffout.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 | roffRawText(str) | ^ roffout.c:383:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 383 | roffFTitle(ft, str, capsule) | ^ | int roffout.c:394:17: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 394 | printf ("\\fB %d.\\fP", figNumber++); | ^~~~~~~~ roffout.c:383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | roffFTitle(ft, str, capsule) | ^ roffout.c:421:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 421 | roffPictureBlock(begin, lines, indent, maxLen) | ^ | int roffout.c:421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] roffout.c:439:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 439 | roffLineWidth(style) | ^ | int roffout.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] roffout.c:449:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 449 | roffPicLine(x0, y0, x1, y1, style, vector) | ^ | int roffout.c:466:10: warning: format specifies type 'int' but the argument has type 'double' [-Wformat] 464 | printf("circle radius %f at %d, %d\n", | ~~ | %f 465 | ROFF_LEN(abs(x1 - x0) / 2.), 466 | ROFF_X((x1 + x0) / 2), ROFF_Y(y0 + (x1 - x0) / 2)); | ^~~~~~~~~~~~~~~~~~~~~ roffout.c:419:19: note: expanded from macro 'ROFF_X' 419 | #define ROFF_X(x) ((x - picMinInd) * picFontSize / ROFF_SCALE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roffout.c:466:33: warning: format specifies type 'int' but the argument has type 'double' [-Wformat] 464 | printf("circle radius %f at %d, %d\n", | ~~ | %f 465 | ROFF_LEN(abs(x1 - x0) / 2.), 466 | ROFF_X((x1 + x0) / 2), ROFF_Y(y0 + (x1 - x0) / 2)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ roffout.c:418:19: note: expanded from macro 'ROFF_Y' 418 | #define ROFF_Y(y) ((roffVsize - (y)) * picFontSize / ROFF_SCALE) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roffout.c:449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | roffPicLine(x0, y0, x1, y1, style, vector) | ^ roffout.c:490:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 490 | roffPicArc(x, y, r, dir, style) | ^ | int roffout.c:490:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] roffout.c:527:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 527 | roffPicText(s, xpos, vpos, factor) | ^ | int roffout.c:527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] roffout.c:541:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 541 | roffTitle(style, haifu, title, shozoku, number, date, name, renraku | ^ | int roffout.c:560:3: warning: call to undeclared function 'putMacro'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 560 | putMacro(M_TITLE, | ^ roffout.c:541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | roffTitle(style, haifu, title, shozoku, number, date, name, renraku | ^ roffout.c:608:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 608 | roffTable(begin, end, tblp) | ^ | int roffout.c:620:16: warning: call to undeclared function 'lineAttr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 620 | if ((hattr = lineAttr(texts[l]->body, &atr)) | ^ roffout.c:627:12: warning: call to undeclared function 'extraColumn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 627 | exCol = extraColumn(atr, texts[l]->length, fld, tblp); | ^ roffout.c:628:12: warning: call to undeclared function 'formatOf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 628 | putchar(formatOf(atr, texts[l]->length, fld, exCol, tblp)); | ^ roffout.c:632:14: warning: call to undeclared function 'attrOfStr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 632 | curAttr = attrOfStr(atr, texts[l]->length, fld, exCol, tblp); | ^ roffout.c:642:16: warning: call to undeclared function 'lineAttr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 642 | if ((hattr = lineAttr(texts[l]->body, &atr)) == HORI_SNGL_ALL){ | ^ roffout.c:651:12: warning: call to undeclared function 'extraColumn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 651 | exCol = extraColumn(atr, texts[l]->length, fld, tblp); | ^ roffout.c:652:8: warning: call to undeclared function 'attrOfStr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 652 | if (attrOfStr(atr, texts[l]->length, fld, exCol, tblp) | ^ roffout.c:656:40: warning: passing arguments to 'tblSubstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | printf("%s\t", roffQuote1(tblSubstr(l, fld, exCol, tblp))); | ^ roffout.c:608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | roffTable(begin, end, tblp) | ^ roffout.c:663:26: warning: parameter 'center' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 663 | roffCapsule(begin, type, center) | ^ 664 | int begin; 665 | int type; 666 | { roffout.c:663:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 663 | roffCapsule(begin, type, center) | ^ | int roffout.c:663:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] roffout.c:677:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 677 | roffComment(begin, end) | ^ | int roffout.c:683:28: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | printf ("' %s\n", codeCvt(texts[l]->body)); | ^ roffout.c:677:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | roffComment(begin, end) | ^ 68 warnings generated. --- list.o --- In file included from list.c:10: ./plain2.h:26:22: warning: '/*' within block comment [-Wcomment] 26 | /* #define NEC_CCS /* NEC C&C Common Software Lab. dependent */ | ^ ./plain2.h:28:21: warning: '/*' within block comment [-Wcomment] 28 | /* #undef NTT_TEX /* NTT jlatex */ /* no longer needed */ | ^ ./plain2.h:343:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 343 | extern char *malloc(); | ^ ./plain2.h:343:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' list.c:17:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 17 | findListHead(begin, end) | ^ | int list.c:37:23: warning: passing arguments to 'newTextBlock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | listbp = newTextBlock(begin, begin+1, TB_LIST); | ^ list.c:38:23: warning: passing arguments to 'newTextBlock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | lhbp = newTextBlock(begin, begin+1, TB_LISTHD); | ^ list.c:67:27: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | MSG1("\t%s\n",codeCvt(texts[l]->body)); | ^ list.c:74:24: warning: passing arguments to 'newTextBlock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | lhbp = newTextBlock(l, l + 1 ,TB_LISTHD); | ^ list.c:120:6: warning: call to undeclared function 'checkIfList'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 120 | if (checkIfList(listbp) | ^ list.c:127:24: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | MSG1("\t%s\n",codeCvt(texts[begin]->body)); | ^ list.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | findListHead(begin, end) | ^ list.c:137:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 137 | checkIfList(lbp) | ^ | int list.c:156:20: warning: passing arguments to 'prevLine' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | else if (prevLine(lhbp->rbegin)->blank) | ^ list.c:165:4: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 165 | free((char *)lhbp); | ^ list.c:165:4: note: include the header or explicitly provide a declaration for 'free' list.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | checkIfList(lbp) | ^ list.c:180:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 180 | expandListHead(lhbp) | ^ | int list.c:193:25: warning: passing arguments to 'listSecBody' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | indent2 = listSecBody(texts[lhbp->rbegin]) | ^ list.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | expandListHead(lhbp) | ^ list.c:217:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 217 | fixListEnd(lbp) | ^ | int list.c:229:3: warning: call to undeclared function 'fixListRegion'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 229 | fixListRegion(lhbp->rend, lhbp->nextBlock->rbegin); | ^ list.c:239:10: warning: call to undeclared function 'minIndentBlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 239 | && minIndentBlock(texts[lnum]->block) | ^ list.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | fixListEnd(lbp) | ^ list.c:252:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 252 | fixListRegion(begin, end) | ^ | int list.c:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] list.c:265:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 265 | list(begin, end) | ^ | int list.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 warnings generated. --- htmlout.o --- In file included from htmlout.c:26: ./plain2.h:26:22: warning: '/*' within block comment [-Wcomment] 26 | /* #define NEC_CCS /* NEC C&C Common Software Lab. dependent */ | ^ ./plain2.h:28:21: warning: '/*' within block comment [-Wcomment] 28 | /* #undef NTT_TEX /* NTT jlatex */ /* no longer needed */ | ^ ./plain2.h:343:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 343 | extern char *malloc(); | ^ ./plain2.h:343:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' htmlout.c:104:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 104 | htmlSetTrans(full) | ^ | int htmlout.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] htmlout.c:131:26: warning: passing arguments to 'textQuote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | return textQuote(str, htmlTransM); | ^ htmlout.c:133:25: warning: passing arguments to 'textQuote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | return textQuote(str, htmlTrans); | ^ htmlout.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | htmlTextQuote(str, quotable) | ^ htmlout.c:136:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | char *htmlQuote1(str) | ^ htmlout.c:142:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | char *htmlQuote2(str) | ^ htmlout.c:149:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 149 | htmlPutLabel(str) | ^ | int htmlout.c:152:56: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | printf(" (here) ", codeCvt(str)); | ^ htmlout.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | htmlPutLabel(str) | ^ htmlout.c:155:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 155 | htmlPlain(str, attr, newline) | ^ | int htmlout.c:161:23: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | printf("%s", codeCvt(str)); | ^ htmlout.c:163:23: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | printf("%s", codeCvt(htmlTextQuote(str, 1))); | ^ htmlout.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | htmlPlain(str, attr, newline) | ^ htmlout.c:168:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 168 | htmlExample(str) | ^ | int htmlout.c:171:25: warning: passing arguments to 'textQuote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | printf("%s\n",textQuote(str, htmlTrans)); | ^ htmlout.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | htmlExample(str) | ^ htmlout.c:175:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 175 | htmlListBlock(begin, level, ltype, hint) | ^ | int htmlout.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] htmlout.c:226:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 226 | htmlDlistItem(level, dscr, cont) | ^ | int htmlout.c:231:35: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | printf("
%s\n", codeCvt(htmlTextQuote(dscr, 1))); | ^ htmlout.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | htmlDlistItem(level, dscr, cont) | ^ htmlout.c:234:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 234 | htmlListItem(level) | ^ | int htmlout.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] htmlout.c:240:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 240 | htmlRawText(str) | ^ | int htmlout.c:243:23: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | printf("%s\n",codeCvt(str)); | ^ htmlout.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | htmlRawText(str) | ^ htmlout.c:246:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 246 | htmlSpace(length) | ^ | int htmlout.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] htmlout.c:252:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 252 | htmlFTitle(ft, str, capsule) | ^ | int htmlout.c:260:32: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | printf("%s\n", codeCvt(htmlTextQuote(str, 1))); | ^ htmlout.c:268:38: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | printf (" %s %d.", codeCvt("$B?^(B"), figNumber++); | ^ htmlout.c:271:39: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | printf (" %s %d.", codeCvt("$BI=(B"), tblNumber++); | ^ htmlout.c:282:26: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | printf ("%s\n", codeCvt(htmlTextQuote(str, 1))); | ^ htmlout.c:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | htmlFTitle(ft, str, capsule) | ^ htmlout.c:296:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 296 | htmlPictureBlock(begin, lines, indent, maxLen) | ^ | int htmlout.c:296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] htmlout.c:313:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 313 | htmlLineWidth(style) | ^ | int htmlout.c:313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] htmlout.c:319:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 319 | htmlEllipse(x0, y0, x1, y1, style) | ^ | int htmlout.c:319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] htmlout.c:330:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 330 | htmlPicLine(x0, y0, x1, y1, style, vector) | ^ | int htmlout.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] htmlout.c:338:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 338 | htmlPicArc(x, y, r, dir, style) | ^ | int htmlout.c:338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] htmlout.c:346:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 346 | htmlPicText(s, xpos, vpos, factor) | ^ | int htmlout.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] htmlout.c:358:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 358 | htmlTitle(style, haifu, title, shozoku, number, date, name, renraku | ^ | int htmlout.c:377:3: warning: call to undeclared function 'putMacro'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 377 | putMacro(M_TITLE, | ^ htmlout.c:358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | htmlTitle(style, haifu, title, shozoku, number, date, name, renraku | ^ htmlout.c:387:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 387 | htmlTable(begin, end, tblp) | ^ | int htmlout.c:387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] htmlout.c:422:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 422 | htmlCapsule(begin, type, center) | ^ | int htmlout.c:440:4: 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] 440 | exit(2); | ^ htmlout.c:440:4: note: include the header or explicitly provide a declaration for 'exit' htmlout.c:422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | htmlCapsule(begin, type, center) | ^ htmlout.c:461:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 461 | htmlComment(begin, end) | ^ | int htmlout.c:467:35: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | printf ("\n", codeCvt(texts[l]->body)); | ^ htmlout.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | htmlComment(begin, end) | ^ 61 warnings generated. --- title.o --- In file included from title.c:10: ./plain2.h:26:22: warning: '/*' within block comment [-Wcomment] 26 | /* #define NEC_CCS /* NEC C&C Common Software Lab. dependent */ | ^ ./plain2.h:28:21: warning: '/*' within block comment [-Wcomment] 28 | /* #undef NTT_TEX /* NTT jlatex */ /* no longer needed */ | ^ ./plain2.h:343:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 343 | extern char *malloc(); | ^ ./plain2.h:343:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' title.c:77:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 77 | "1", TENT_SPECIAL1, S_FROMRIGHT, 0, W_ANYWHERE, | ^~~~~~~~~~~~~~~~ title.c:78:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 78 | "2", TENT_SPECIAL2, S_FROMRIGHT, 0, W_ANYWHERE, | ^~~~~~~~~~~~~~~~ title.c:79:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 79 | "3", TENT_SPECIAL3, S_FROMRIGHT, 0, W_ANYWHERE, | ^~~~~~~~~~~~~~~~ title.c:80:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 80 | "4", TENT_SPECIAL4, S_FROMRIGHT, 0, W_ANYWHERE, | ^~~~~~~~~~~~~~~~ title.c:81:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 81 | "5", TENT_SPECIAL5, S_FROMRIGHT, 0, W_ANYWHERE, | ^~~~~~~~~~~~~~~~ title.c:82:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 82 | "6", TENT_SPECIAL6, S_FROMRIGHT, 0, W_ANYWHERE, | ^~~~~~~~~~~~~~~~ title.c:83:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 83 | "7", TENT_SPECIAL7, S_FROMRIGHT, 0, W_ANYWHERE, | ^~~~~~~~~~~~~~~~ title.c:84:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 84 | "8", TENT_SPECIAL8, S_FROMRIGHT, 0, W_ANYWHERE, | ^~~~~~~~~~~~~~~~ title.c:85:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 85 | "9", TENT_SPECIAL9, S_FROMRIGHT, 0, W_ANYWHERE, | ^~~~~~~~~~~~~~~~ title.c:89:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 89 | "̾", TENT_TITLE, S_FROMRIGHT, 0, W_ANYWHERE, | ^~~~~~~~ title.c:90:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 90 | "", TENT_TITLE, S_ALL, 0, W_ANYWHERE, | ^~~~~~~~ title.c:91:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 91 | "", TENT_TITLE, S_ALL, 0, W_ANYWHERE, | ^~~~~~~~ title.c:92:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 92 | "", TENT_HAIFU, S_FROMRIGHT, 0, W_ANYWHERE, | ^~~~~~~~~~~~~~~~~~~~~~~~ title.c:93:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 93 | "", TENT_HAIFU, S_FROMRIGHT, 0, W_ANYWHERE, | ^~~~~~~~~~~~~~~~~~~~~~~~ title.c:94:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 94 | "ư", TENT_HAIFU, S_ALL, 0, W_ANYWHERE, | ^~~~ ~~~~ title.c:95:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 95 | "ô", TENT_NAME, S_FROMRIGHT, 0, W_ANYWHERE, | ^~~~~~~~ title.c:96:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 96 | "", TENT_NAME, S_FROMRIGHT, 0, W_ANYWHERE, | ^~~~~~~~~~~~~~~~ title.c:98:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 98 | "°", TENT_SHOZOKU, S_FROMRIGHT, 0, W_ANYWHERE, | ^~~~~~~~ title.c:99:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 99 | "", TENT_SHOZOKU, S_ALL, 0, W_ANYWHERE, | ^~~~~~~~~~~~~~~~ title.c:100:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 100 | "ȯ", TENT_SHOZOKU, S_ALL, 0, W_ANYWHERE, | ^~~~~~~~ ~~~~~~~~ title.c:101:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 101 | "", TENT_SHOZOKU, S_ALL, 0, W_ANYWHERE, | ^~~~~~~~~~~~~~~~~~~~~~~~ title.c:102:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 102 | "", TENT_SHOZOKU, S_ALL, 0, W_ANYWHERE, | ^~~~~~~~~~~~~~~~~~~~~~~~ title.c:103:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 103 | "", TENT_SHOZOKU, S_ALL, 0, W_ANYWHERE, | ^~~~~~~~~~~~~~~~~~~~~~~~ title.c:105:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 105 | "", TENT_SHOZOKU, S_ALL, 0, W_ANYWHERE, | ^~~~~~~~~~~~~~~~ title.c:106:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 106 | "", TENT_SHOZOKU, S_ALL, 0, W_ANYWHERE, | ^~~~~~~~~~~~~~~~ title.c:107:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 107 | "ز", TENT_SHOZOKU, S_ALL, 0, W_ANYWHERE, | ^~~~ ~~~~ title.c:108:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 108 | "漼", TENT_SHOZOKU, S_ALL, 0, W_ANYWHERE, | ^~~~~~~~~~~~ title.c:110:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 110 | "ʸֹ", TENT_NUMBER, S_FROMRIGHT, 0, W_ANYWHERE, | ^~~~~~~~~~~~~~~~ title.c:111:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 111 | "", TENT_DATE, S_FROMRIGHT, 0, W_ANYWHERE, | ^~~~~~~~~~~~~~~~ title.c:112:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 112 | "", TENT_DATE, S_ALL, 0, W_ANYWHERE, | ^~~~~~~~ title.c:113:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 113 | "", TENT_DATE, S_ALL, 0, W_ANYWHERE, | ^~~~~~~~ title.c:114:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 114 | "Ϣ", TENT_RENRAKU, S_FROMRIGHT, 0, W_ANYWHERE, | ^~~~~~~~~~~~~~~~ title.c:116:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 116 | "", TENT_HAIFU, S_ALL, 0, W_ANYWHERE, | ^~~~~~~~ title.c:117:3: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 117 | "", TENT_HAIFU, S_ALL, 0, W_ANYWHERE, | ^~~~~~~~ title.c:165:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 165 | keyWordMatch(str, kind, outlooks, val) | ^ | int title.c:176:8: warning: call to undeclared library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 176 | if (strncmp(titleKeyTbl[i].pattern, s, | ^ title.c:176:8: note: include the header or explicitly provide a declaration for 'strncmp' title.c:177:9: 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] 177 | strlen(titleKeyTbl[i].pattern)) == 0) { | ^ title.c:177:9: note: include the header or explicitly provide a declaration for 'strlen' title.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | keyWordMatch(str, kind, outlooks, val) | ^ title.c:198:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 198 | getTitleBlock(begin, end) | ^ | int title.c:227:8: warning: call to undeclared function 'optionLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 227 | if (optionLine(s)) { | ^ title.c:231: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] 231 | exit(1); | ^ title.c:231:5: note: include the header or explicitly provide a declaration for 'exit' title.c:278:2: warning: call to undeclared function 'saveTitleBody'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 278 | saveTitleBody(begin, end, TENT_HAIFU); | ^ title.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | getTitleBlock(begin, end) | ^ title.c:304:19: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 304 | if (strncmp(str,"", 2) == 0) { | ^~~~~~~~ title.c:306:19: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 306 | if (strncmp(s,"", 2) == 0) { | ^~~~~~~~ title.c:311:19: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 311 | if (strncmp(str,"", 2) == 0) { | ^~~~~~~~ title.c:313:19: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 313 | if (strncmp(s,"", 2) == 0) { | ^~~~~~~~ title.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | deleteParen(str) | ^ title.c:323:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 323 | saveTitleBody(begin, end, kind) | ^ | int title.c:332:36: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | titleElements[kind][n] = strsave(htext[l].body); | ^ title.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 | saveTitleBody(begin, end, kind) | ^ title.c:344:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 344 | outputTitle() | ^ | int title.c:346:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | (*put->title)(titleStyle, | ^ 56 warnings generated. --- miscutil.o --- In file included from miscutil.c:10: ./plain2.h:26:22: warning: '/*' within block comment [-Wcomment] 26 | /* #define NEC_CCS /* NEC C&C Common Software Lab. dependent */ | ^ ./plain2.h:28:21: warning: '/*' within block comment [-Wcomment] 28 | /* #undef NTT_TEX /* NTT jlatex */ /* no longer needed */ | ^ ./plain2.h:343:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 343 | extern char *malloc(); | ^ ./plain2.h:343:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' miscutil.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | strNum(str, rval) | ^ In file included from miscutil.c:10: ./plain2.h:267:7: 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] 267 | char *strNum(); | ^ miscutil.c:118:4: 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] 118 | exit(2); | ^ miscutil.c:118:4: note: include the header or explicitly provide a declaration for 'exit' miscutil.c:121:10: warning: call to undeclared library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 121 | (void)strncpy(t,"\033$B", 3); | ^ miscutil.c:121:10: note: include the header or explicitly provide a declaration for 'strncpy' miscutil.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | euc2jisStr(str, jstr) | ^ In file included from miscutil.c:10: ./plain2.h:265:7: 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] 265 | char *euc2jisStr(); | ^ miscutil.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | euc2sftjStr(str, sjstr) | ^ In file included from miscutil.c:10: ./plain2.h:264:7: 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] 264 | char *euc2sftjStr(); | ^ miscutil.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | sftj2eucStr(str, estr) | ^ In file included from miscutil.c:10: ./plain2.h:263:7: 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] 263 | char *sftj2eucStr(); | ^ miscutil.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | codeCvt(str) | ^ In file included from miscutil.c:10: ./plain2.h:262:7: 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] 262 | char *codeCvt(); | ^ miscutil.c:219:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 219 | minIndentBlock(tbp) | ^ | int miscutil.c:225:9: warning: call to undeclared function 'minIndent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 225 | return minIndent(tbp->rbegin + tbp->hinted, tbp->rend - tbp->hinted); | ^ miscutil.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | minIndentBlock(tbp) | ^ miscutil.c:227:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 227 | minIndent(begin, end) | ^ | int miscutil.c:227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] miscutil.c:242:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 242 | maxLength(begin, end) | ^ | int miscutil.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] miscutil.c:255:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 255 | isCenter(begin, end) | ^ | int miscutil.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] miscutil.c:271:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 271 | blockIsCenter(tbp) | ^ | int miscutil.c:271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] miscutil.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | listSecBody(textp) | ^ In file included from miscutil.c:10: ./plain2.h:275:7: 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] 275 | char *listSecBody(); | ^ miscutil.c:289:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 289 | textQuoteChar(top, s, trtp) | ^ | int miscutil.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] miscutil.c:305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | textQuote(str, tr_table) | ^ In file included from miscutil.c:10: ./plain2.h:268:8: 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] 268 | char *textQuote(); | ^ miscutil.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | prevLine(lnum) | ^ In file included from miscutil.c:10: ./plain2.h:270:14: 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] 270 | struct text *prevLine(); | ^ miscutil.c:345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | nextLine(lnum) | ^ In file included from miscutil.c:10: ./plain2.h:271:14: 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] 271 | struct text *nextLine(); | ^ miscutil.c:353:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | prevBlock(lnum, bound) | ^ In file included from miscutil.c:10: ./plain2.h:272:19: 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] 272 | struct textBlock *prevBlock(); | ^ miscutil.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | nextBlock(lnum, bound) | ^ In file included from miscutil.c:10: ./plain2.h:273:19: 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] 273 | struct textBlock *nextBlock(); | ^ miscutil.c:386:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 386 | isKanjiChar(textp, col) | ^ | int miscutil.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] miscutil.c:413: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] 413 | tbp = (struct textBlock *)malloc(sizeof(struct textBlock)); | ^ miscutil.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | newTextBlock(begin, end, type) | ^ In file included from miscutil.c:10: ./plain2.h:274:19: 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] 274 | struct textBlock *newTextBlock(); | ^ miscutil.c:446:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 446 | applyOnRegion2(begin, end, phase, func) | ^ | int miscutil.c:486:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | (*func)(rbegin, l or explicitly provide a declaration for 'free' miscutil.c:569:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | joinBlocks(begin, end, tbType) | ^ 59 warnings generated. --- headfoot.o --- In file included from headfoot.c:11: ./plain2.h:26:22: warning: '/*' within block comment [-Wcomment] 26 | /* #define NEC_CCS /* NEC C&C Common Software Lab. dependent */ | ^ ./plain2.h:28:21: warning: '/*' within block comment [-Wcomment] 28 | /* #undef NTT_TEX /* NTT jlatex */ /* no longer needed */ | ^ ./plain2.h:343:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 343 | extern char *malloc(); | ^ ./plain2.h:343:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' headfoot.c:32:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 32 | pickUpLine(l, headerp, footerp, begin, end) | ^ | int headfoot.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] headfoot.c:57:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 57 | sameFormat2(s1, s2) | ^ | int headfoot.c:65:9: 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] 65 | len1 = strlen(s1); | ^ headfoot.c:65:9: note: include the header or explicitly provide a declaration for 'strlen' headfoot.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | sameFormat2(s1, s2) | ^ headfoot.c:89:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 89 | sameFormat(hdr1, hdr2) | ^ | int headfoot.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] headfoot.c:100:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 100 | headerFields(str, hdrp) | ^ | int headfoot.c:112:11: warning: call to undeclared library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 112 | && !strncmp(centerLeft - 3, " ", 3)) | ^ headfoot.c:112:11: note: include the header or explicitly provide a declaration for 'strncmp' headfoot.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | headerFields(str, hdrp) | ^ headfoot.c:157:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 157 | build(str1, str2, fstr1, fstr2) | ^ | int headfoot.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] headfoot.c:202:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 202 | headerFooter(begin, end) | ^ | int headfoot.c:219:3: warning: call to undeclared function 'overwritePaging'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 219 | overwritePaging(begin, end, 0, 0); | ^ headfoot.c:236:5: warning: call to undeclared function 'overwritePaging'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 236 | overwritePaging(begin, end, 0, 0); | ^ headfoot.c:243:5: warning: call to undeclared function 'overwritePaging'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 243 | overwritePaging(begin, end, 0, 0); | ^ headfoot.c:248:2: warning: call to undeclared function 'overwritePaging'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 248 | overwritePaging(begin, end, headerPos, footerPos); | ^ headfoot.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | headerFooter(begin, end) | ^ headfoot.c:254:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 254 | overwritePaging(begin, end, hpos, fpos) | ^ | int headfoot.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] headfoot.c:297:9: 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] 297 | (void)strcpy(ret, codeCvt(textQuote(left, roffTransQ))); | ^ headfoot.c:297:9: note: include the header or explicitly provide a declaration for 'strcpy' headfoot.c:297:38: warning: passing arguments to 'textQuote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | (void)strcpy(ret, codeCvt(textQuote(left, roffTransQ))); | ^ headfoot.c:297:28: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | (void)strcpy(ret, codeCvt(textQuote(left, roffTransQ))); | ^ headfoot.c:298:9: warning: call to undeclared library function 'strcat' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 298 | (void)strcat(ret, "\\\\\\\\nP"); | ^ headfoot.c:298:9: note: include the header or explicitly provide a declaration for 'strcat' headfoot.c:299:38: warning: passing arguments to 'textQuote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | (void)strcat(ret, codeCvt(textQuote(right, roffTransQ))); | ^ headfoot.c:299:28: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | (void)strcat(ret, codeCvt(textQuote(right, roffTransQ))); | ^ headfoot.c:303:27: warning: passing arguments to 'textQuote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | return codeCvt(textQuote(left, roffTransQ)); | ^ headfoot.c:303:17: warning: passing arguments to 'codeCvt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | return codeCvt(textQuote(left, roffTransQ)); | ^ headfoot.c:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | roffHdrStr(pat1, pat2) | ^ headfoot.c:305:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 305 | roffPutHeader() | ^ | int 33 warnings generated. --- table.o --- In file included from table.c:13: ./plain2.h:26:22: warning: '/*' within block comment [-Wcomment] 26 | /* #define NEC_CCS /* NEC C&C Common Software Lab. dependent */ | ^ ./plain2.h:28:21: warning: '/*' within block comment [-Wcomment] 28 | /* #undef NTT_TEX /* NTT jlatex */ /* no longer needed */ | ^ ./plain2.h:343:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 343 | extern char *malloc(); | ^ ./plain2.h:343:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' table.c:38:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 38 | {"", ATR_HLINE}, | ^~~~~~~~ table.c:39:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 39 | {"", ATR_VLINE}, | ^~~~~~~~ table.c:40:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 40 | {"", ATR_HLINE | ATR_VLINE}, | ^~~~~~~~ table.c:41:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 41 | {"", ATR_HLINE | ATR_VLINE}, | ^~~~~~~~ table.c:42:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 42 | {"", ATR_HLINE | ATR_VLINE}, | ^~~~~~~~ table.c:43:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 43 | {"", ATR_HLINE | ATR_VLINE}, | ^~~~~~~~ table.c:44:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 44 | {"", ATR_HLINE | ATR_VLINE}, | ^~~~~~~~ table.c:45:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 45 | {"", ATR_HLINE | ATR_VLINE}, | ^~~~~~~~ table.c:46:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 46 | {"", ATR_HLINE | ATR_VLINE}, | ^~~~~~~~ table.c:47:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 47 | {"", ATR_HLINE | ATR_VLINE}, | ^~~~~~~~ table.c:48:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 48 | {"", ATR_HLINE | ATR_VLINE}, | ^~~~~~~~ table.c:64:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 64 | tblParseInit() | ^ | int table.c:76:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 76 | tblKwakuAttr(s) | ^ | int table.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] table.c:96:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 96 | lineAttr(s, horiAtrp) | ^ | int table.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] table.c:155:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 155 | findFieldLeft(col) | ^ | int table.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] table.c:178:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 178 | findFieldEnd(col) | ^ | int table.c:178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] table.c:192:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 192 | buildDefFormat(tblp) | ^ | int table.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] table.c:242:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 242 | buildField(begin, end, tblp) | ^ | int table.c:252:11: warning: call to undeclared function 'maxLength'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 252 | maxLen = maxLength(begin, end); | ^ table.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | buildField(begin, end, tblp) | ^ table.c:337:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 337 | fieldOnlyHline(lnum, fld, tblp) | ^ | int table.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] table.c:350:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 350 | shrinkField(begin, end, tblp) | ^ | int table.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] table.c:390:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 390 | spaceInField(l, fld, tblp) | ^ | int table.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] table.c:413:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 413 | tblCheck(begin, end, tblp) | ^ | int table.c:413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] table.c:483:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 483 | markIfTable(begin, end) | ^ | int table.c:500:20: warning: passing arguments to 'newTextBlock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | tbp = newTextBlock(begin, end, TB_TABLE); | ^ table.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | markIfTable(begin, end) | ^ In file included from table.c:13: ./plain2.h:282:5: 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] 282 | int markIfTable(); | ^ table.c:506:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 506 | extraColumn(atr, len, fld, tblp) | ^ | int table.c:506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] table.c:536:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 536 | formatOf(atr, len, fld, exCol, tblp) | ^ | int table.c:536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] table.c:580:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 580 | fieldEmpty(atr, len, fld, exCol, tblp) | ^ | int table.c:580:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] table.c:595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | tblSubstr(l, fld, exCol, tblp) | ^ In file included from table.c:14: ./table.h:37:7: 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] 37 | char *tblSubstr(); | ^ table.c:614:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 614 | attrOfStr(atr, len, f, exCol, tblp) | ^ | int table.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] table.c:629:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 629 | tblOutput(begin, end) | ^ | int table.c:651:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | (put->table)(ttop, tbtm, &table); | ^ table.c:629:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | tblOutput(begin, end) | ^ 53 warnings generated. --- output.o --- In file included from output.c:13: ./plain2.h:26:22: warning: '/*' within block comment [-Wcomment] 26 | /* #define NEC_CCS /* NEC C&C Common Software Lab. dependent */ | ^ ./plain2.h:28:21: warning: '/*' within block comment [-Wcomment] 28 | /* #undef NTT_TEX /* NTT jlatex */ /* no longer needed */ | ^ ./plain2.h:343:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 343 | extern char *malloc(); | ^ ./plain2.h:343:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' output.c:131:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 131 | inlineBegin(s, type) | ^ | int output.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] output.c:155:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 155 | inlineEnd(s) | ^ | int output.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] output.c:172:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 172 | inlineEndRegion(begin, end) | ^ | int output.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] output.c:182:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 182 | outAttribute(attr, begin) | ^ | int output.c:191:4: warning: call to undeclared function 'putMacro'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 191 | putMacro(M_FOOTN_BEGIN); | ^ output.c:215:3: 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] 215 | exit(2); | ^ output.c:215:3: note: include the header or explicitly provide a declaration for 'exit' output.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | outAttribute(attr, begin) | ^ output.c:219:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 219 | textOuput(begin, end, s) | ^ | int output.c:239:11: warning: call to undeclared library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 239 | (void)strncpy(buf, s, col1); | ^ output.c:239:11: note: include the header or explicitly provide a declaration for 'strncpy' output.c:241:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | (*put->plain)(buf, IL_PLAIN, 1); | ^ output.c:248:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | (*put->plain)(buf, inline_attr, 1); | ^ output.c:260:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | (*put->plain)(buf, IL_PLAIN, 1); | ^ output.c:263:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | (*put->plain)(s + col1 + INLINE_BEGIN_LEN, | ^ output.c:268:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | (*put->plain)(bodyStr(texts[begin]), | ^ output.c:277:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | (*put->plain)(buf, inline_attr, 1); | ^ output.c:282:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | (*put->plain)(s, IL_PLAIN, 1); | ^ output.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | textOuput(begin, end, s) | ^ output.c:295:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 295 | listOutput(lbp) | ^ | int output.c:307:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | (*put->listBlock)(BEGIN, listLevel, texts[lbp->rbegin]->listType, | ^ output.c:318:20: warning: passing arguments to 'listSecBody' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | *listSecBody(texts[lnum]) != '\0'); | ^ output.c:317:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | (*put->dlistItem)(listLevel, dscr, | ^ output.c:319:20: warning: passing arguments to 'listSecBody' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | if (*listSecBody(texts[lnum]) != '\0') | ^ output.c:320:28: warning: passing arguments to 'listSecBody' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | firstLine = listSecBody(texts[lnum]); | ^ output.c:323:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | (*put->listItem)(listLevel); | ^ output.c:324:27: warning: passing arguments to 'listSecBody' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | firstLine = listSecBody(texts[lnum]); | ^ output.c:333:3: warning: call to undeclared function 'outputRegion'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 333 | outputRegion(lhbp->rend, rend); | ^ output.c:335:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | (*put->listBlock)(END, listLevel, texts[lbp->rbegin]->listType, | ^ output.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | listOutput(lbp) | ^ output.c:340:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 340 | capsuleOutput(blockTbp) | ^ | int output.c:358:11: warning: call to undeclared function 'blockIsCenter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 358 | center = blockIsCenter(blockTbp); | ^ output.c:359:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | (*put->capsule)(BEGIN, ftType, center); | ^ output.c:361:2: warning: call to undeclared function 'outputBlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 361 | outputBlock(tbp1, 1); | ^ output.c:368:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | (*put->capsule)(END, ftType, center); | ^ output.c:340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | capsuleOutput(blockTbp) | ^ output.c:370:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 370 | outputBlock(tbp, capsule) | ^ | int output.c:387:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | (*put->comment)(begin, end); | ^ output.c:390:3: warning: call to undeclared function 'putMacro'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 390 | putMacro(M_PAGE); | ^ output.c:394:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | (*put->space)(tbp->rend - tbp->rbegin); | ^ output.c:399:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 399 | static firstTime = 1; | ~~~~~~ ^ | int output.c:400:29: warning: passing arguments to 'listSecBody' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | char *title = listSecBody(texts[begin]); | ^ output.c:407:5: warning: call to undeclared function 'texPutLabel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 407 | texPutLabel(title); | ^ output.c:415:29: warning: passing arguments to 'listSecBody' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | char *title = listSecBody(texts[begin]); | ^ output.c:423:5: warning: call to undeclared function 'setSnumFor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 423 | setSnumFor(texts[begin]); | ^ output.c:428:5: warning: call to undeclared function 'texPutLabel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 428 | texPutLabel(title); | ^ output.c:434:3: warning: call to undeclared function 'putIndent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 434 | putIndent(IND_RIGHT, 1); | ^ output.c:439:17: warning: call to undeclared function 'minIndent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 439 | blockIndent = minIndent(begin, end); | ^ output.c:442:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | (*put->plain)(bodyStr(texts[i]), IL_PLAIN, 1); | ^ output.c:450:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | (*put->fTitle)(texts[begin]->fTitle, | ^ output.c:471:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | (*put->example)(texts[i]->body); | ^ output.c:473:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | (*put->example)(texts[i]->body + listIndent); | ^ output.c:509:14: warning: call to undeclared function 'isCenter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 509 | center = isCenter(begin, end); | ^ output.c:510:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | (*put->capsule)(BEGIN, FT_TABLE, center); | ^ output.c:527:4: warning: call to undeclared function 'tblOutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 527 | tblOutput(begin, end); | ^ output.c:540:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | (*put->capsule)(END, FT_TABLE, center); | ^ output.c:550:14: warning: call to undeclared function 'isCenter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 550 | center = isCenter(begin, end); | ^ output.c:551:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | (*put->capsule)(BEGIN, FT_FIGURE, center); | ^ output.c:553:4: warning: call to undeclared function 'picOutput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 553 | picOutput(begin, end); | ^ output.c:556:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | (*put->capsule)(END, FT_FIGURE, center); | ^ output.c:562:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 562 | (*put->rawText)(texts[i]->body); | ^ output.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | outputBlock(tbp, capsule) | ^ output.c:571:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 571 | outputRegion(begin, end) | ^ | int output.c:592:6: warning: call to undeclared function 'putMacro'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 592 | putMacro(M_BLANK); | ^ output.c:571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | outputRegion(begin, end) | ^ output.c:598:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 598 | putIndent2(type, d) | ^ | int output.c:605:4: warning: call to undeclared function 'putMacro'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 605 | putMacro(M_CENTER_BEGIN); | ^ output.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 | putIndent2(type, d) | ^ output.c:623:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 623 | putIndent(type, d) | ^ | int output.c:650:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 650 | if (lastDepth = d) | ~~~~~~~~~~^~~ output.c:650:17: note: place parentheses around the assignment to silence this warning 650 | if (lastDepth = d) | ^ | ( ) output.c:650:17: note: use '==' to turn this assignment into an equality comparison 650 | if (lastDepth = d) | ^ | == output.c:623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | putIndent(type, d) | ^ output.c:656:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 656 | outputDocument() | ^ | int output.c:659:3: warning: call to undeclared function 'outputTitle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 659 | outputTitle(); | ^ output.c:661:3: warning: call to undeclared function 'roffPutHeader'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 661 | roffPutHeader(); | ^ output.c:663:3: warning: call to undeclared function 'outputSetSnum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 663 | outputSetSnum(textBegin, textLines); | ^ 79 warnings generated. --- analyze.o --- In file included from analyze.c:11: ./plain2.h:26:22: warning: '/*' within block comment [-Wcomment] 26 | /* #define NEC_CCS /* NEC C&C Common Software Lab. dependent */ | ^ ./plain2.h:28:21: warning: '/*' within block comment [-Wcomment] 28 | /* #undef NTT_TEX /* NTT jlatex */ /* no longer needed */ | ^ ./plain2.h:343:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 343 | extern char *malloc(); | ^ ./plain2.h:343:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' analyze.c:25:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 25 | {"Ͽ", 0}, | ^~~~~~~~ analyze.c:28:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 28 | {"", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:29:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 29 | {"УУţΣģɣ", 0}, | ^~~~~~~~~~~~ ~~~~ analyze.c:32:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 32 | {"", 0}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:33:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 33 | {"УУţΣģɣ", 0}, | ^~~~~~~~~~~~ ~~~~ analyze.c:37:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 37 | {"", 0}, {"", 1}, {"", 2}, {"", 3}, | ^~~~~~~~ analyze.c:37:15: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 37 | {"", 0}, {"", 1}, {"", 2}, {"", 3}, | ^~~~~~~~ analyze.c:37:26: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 37 | {"", 0}, {"", 1}, {"", 2}, {"", 3}, | ^~~~~~~~ analyze.c:37:37: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 37 | {"", 0}, {"", 1}, {"", 2}, {"", 3}, | ^~~~~~~~ analyze.c:38:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 38 | {"", 4}, {"", 5}, {"", 6}, {"", 7}, | ^~~~~~~~ analyze.c:38:15: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 38 | {"", 4}, {"", 5}, {"", 6}, {"", 7}, | ^~~~~~~~ analyze.c:38:26: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 38 | {"", 4}, {"", 5}, {"", 6}, {"", 7}, | ^~~~~~~~ analyze.c:38:37: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 38 | {"", 4}, {"", 5}, {"", 6}, {"", 7}, | ^~~~~~~~ analyze.c:39:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 39 | {"", 8}, {"", 9}, {"", 10}, {"", 11}, | ^~~~~~~~ analyze.c:39:15: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 39 | {"", 8}, {"", 9}, {"", 10}, {"", 11}, | ^~~~~~~~ analyze.c:39:26: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 39 | {"", 8}, {"", 9}, {"", 10}, {"", 11}, | ^~~~~~~~ analyze.c:39:38: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 39 | {"", 8}, {"", 9}, {"", 10}, {"", 11}, | ^~~~~~~~ analyze.c:40:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 40 | {"", 12}, {"", 13}, {"", 14}, {"", 15}, | ^~~~~~~~ analyze.c:40:16: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 40 | {"", 12}, {"", 13}, {"", 14}, {"", 15}, | ^~~~~~~~ analyze.c:40:28: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 40 | {"", 12}, {"", 13}, {"", 14}, {"", 15}, | ^~~~~~~~ analyze.c:40:40: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 40 | {"", 12}, {"", 13}, {"", 14}, {"", 15}, | ^~~~~~~~ analyze.c:41:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 41 | {"", 16}, {"", 17}, {"", 18}, {"", 19}, | ^~~~~~~~ analyze.c:41:16: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 41 | {"", 16}, {"", 17}, {"", 18}, {"", 19}, | ^~~~~~~~ analyze.c:41:28: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 41 | {"", 16}, {"", 17}, {"", 18}, {"", 19}, | ^~~~~~~~ analyze.c:41:40: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 41 | {"", 16}, {"", 17}, {"", 18}, {"", 19}, | ^~~~~~~~ analyze.c:42:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 42 | {"", 20}, {"", 21}, {"", 22}, {"", 23}, | ^~~~~~~~ analyze.c:42:16: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 42 | {"", 20}, {"", 21}, {"", 22}, {"", 23}, | ^~~~~~~~ analyze.c:42:28: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 42 | {"", 20}, {"", 21}, {"", 22}, {"", 23}, | ^~~~~~~~ analyze.c:42:40: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 42 | {"", 20}, {"", 21}, {"", 22}, {"", 23}, | ^~~~~~~~ analyze.c:43:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 43 | {"", 24}, {"", 25}, { "", -1}}; | ^~~~~~~~ analyze.c:43:16: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 43 | {"", 24}, {"", 25}, { "", -1}}; | ^~~~~~~~ analyze.c:45:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 45 | {"", 0}, {"", 1}, {"", 2}, {"", 3}, | ^~~~~~~~ analyze.c:45:15: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 45 | {"", 0}, {"", 1}, {"", 2}, {"", 3}, | ^~~~~~~~ analyze.c:45:26: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 45 | {"", 0}, {"", 1}, {"", 2}, {"", 3}, | ^~~~~~~~ analyze.c:45:37: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 45 | {"", 0}, {"", 1}, {"", 2}, {"", 3}, | ^~~~~~~~ analyze.c:46:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 46 | {"", 4}, {"", 5}, {"", 6}, {"", 7}, | ^~~~~~~~ analyze.c:46:15: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 46 | {"", 4}, {"", 5}, {"", 6}, {"", 7}, | ^~~~~~~~ analyze.c:46:26: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 46 | {"", 4}, {"", 5}, {"", 6}, {"", 7}, | ^~~~~~~~ analyze.c:46:37: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 46 | {"", 4}, {"", 5}, {"", 6}, {"", 7}, | ^~~~~~~~ analyze.c:47:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 47 | {"", 8}, {"", 9}, {"", 10}, {"", 11}, | ^~~~~~~~ analyze.c:47:15: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 47 | {"", 8}, {"", 9}, {"", 10}, {"", 11}, | ^~~~~~~~ analyze.c:47:26: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 47 | {"", 8}, {"", 9}, {"", 10}, {"", 11}, | ^~~~~~~~ analyze.c:47:38: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 47 | {"", 8}, {"", 9}, {"", 10}, {"", 11}, | ^~~~~~~~ analyze.c:48:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 48 | {"", 12}, {"", 13}, {"", 14}, {"", 15}, | ^~~~~~~~ analyze.c:48:16: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 48 | {"", 12}, {"", 13}, {"", 14}, {"", 15}, | ^~~~~~~~ analyze.c:48:28: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 48 | {"", 12}, {"", 13}, {"", 14}, {"", 15}, | ^~~~~~~~ analyze.c:48:40: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 48 | {"", 12}, {"", 13}, {"", 14}, {"", 15}, | ^~~~~~~~ analyze.c:49:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 49 | {"", 16}, {"", 17}, {"", 18}, {"", 19}, | ^~~~~~~~ analyze.c:49:16: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 49 | {"", 16}, {"", 17}, {"", 18}, {"", 19}, | ^~~~~~~~ analyze.c:49:28: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 49 | {"", 16}, {"", 17}, {"", 18}, {"", 19}, | ^~~~~~~~ analyze.c:49:40: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 49 | {"", 16}, {"", 17}, {"", 18}, {"", 19}, | ^~~~~~~~ analyze.c:50:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 50 | {"", 20}, {"", 21}, {"", 22}, {"", 23}, | ^~~~~~~~ analyze.c:50:16: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 50 | {"", 20}, {"", 21}, {"", 22}, {"", 23}, | ^~~~~~~~ analyze.c:50:28: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 50 | {"", 20}, {"", 21}, {"", 22}, {"", 23}, | ^~~~~~~~ analyze.c:50:40: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 50 | {"", 20}, {"", 21}, {"", 22}, {"", 23}, | ^~~~~~~~ analyze.c:51:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 51 | {"", 24}, {"", 25}, { "", -1}}; | ^~~~~~~~ analyze.c:51:16: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 51 | {"", 24}, {"", 25}, { "", -1}}; | ^~~~~~~~ analyze.c:56:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 56 | { "", 0}, { "", 0}, | ^~~~~~~~ analyze.c:56:17: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 56 | { "", 0}, { "", 0}, | ^~~~~~~~ analyze.c:65:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 65 | { "
", 0}, | ^~~~~~~~ analyze.c:74:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 74 | { "", 0}, { "", 0}, | ^~~~~~~~ analyze.c:74:16: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 74 | { "", 0}, { "", 0}, | ^~~~~~~~ analyze.c:75:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 75 | { "", 0}, { "", 0}, | ^~~~~~~~ analyze.c:75:17: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 75 | { "", 0}, { "", 0}, | ^~~~~~~~ analyze.c:76:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 76 | { "", 0}, { "", 0}, | ^~~~~~~~ analyze.c:76:17: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 76 | { "", 0}, { "", 0}, | ^~~~~~~~ analyze.c:77:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 77 | { "", 0}, { "", 0}, | ^~~~~~~~ analyze.c:77:17: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 77 | { "", 0}, { "", 0}, | ^~~~~~~~ analyze.c:78:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 78 | { "", 0}, { "", 0}, | ^~~~~~~~ analyze.c:78:17: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 78 | { "", 0}, { "", 0}, | ^~~~~~~~ analyze.c:79:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 79 | { "", 0}, { "", 0}, | ^~~~~~~~ analyze.c:79:17: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 79 | { "", 0}, { "", 0}, | ^~~~~~~~ analyze.c:80:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 80 | { "", 0}, { "", 0}, | ^~~~~~~~ analyze.c:80:17: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 80 | { "", 0}, { "", 0}, | ^~~~~~~~ analyze.c:81:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 81 | { "", 0}, { "", 0}, | ^~~~~~~~ analyze.c:81:17: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 81 | { "", 0}, { "", 0}, | ^~~~~~~~ analyze.c:82:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 82 | { "", 0}, | ^~~~~~~~ analyze.c:89:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 89 | { "", 0}, { "", 1}, | ^~~~~~~~ analyze.c:89:17: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 89 | { "", 0}, { "", 1}, | ^~~~~~~~ analyze.c:90:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 90 | { "", 2}, { "", 3}, | ^~~~~~~~ analyze.c:90:17: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 90 | { "", 2}, { "", 3}, | ^~~~~~~~ analyze.c:91:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 91 | { "", 4}, { "", 5}, | ^~~~~~~~ analyze.c:91:17: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 91 | { "", 4}, { "", 5}, | ^~~~~~~~ analyze.c:92:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 92 | { "", 6}, { "", 7}, | ^~~~~~~~ analyze.c:92:17: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 92 | { "", 6}, { "", 7}, | ^~~~~~~~ analyze.c:93:5: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 93 | { "", 8}, { "", 9}, | ^~~~~~~~ analyze.c:93:17: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 93 | { "", 8}, { "", 9}, | ^~~~~~~~ analyze.c:100:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 100 | {"", 10 }, {"ɣ", 9 }, | ^~~~~~~~ analyze.c:100:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 100 | {"", 10 }, {"ɣ", 9 }, | ^~~~ ~~~~ analyze.c:101:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 101 | {"֣ɣɣ", 8 }, {"֣ɣ", 7 }, | ^~~~ ~~~~ analyze.c:101:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 101 | {"֣ɣɣ", 8 }, {"֣ɣ", 7 }, | ^~~~ ~~~~ analyze.c:102:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 102 | {"֣", 6 }, {"", 5 }, | ^~~~~~~~ analyze.c:102:18: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 102 | {"֣", 6 }, {"", 5 }, | ^~~~~~~~ analyze.c:103:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 103 | {"ɣ", 4 }, {"ɣɣ", 3 }, | ^~~~ ~~~~ analyze.c:103:18: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 103 | {"ɣ", 4 }, {"ɣɣ", 3 }, | ^~~~ ~~~~ analyze.c:104:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 104 | {"ɣ", 2 }, {"", 1 }, | ^~~~ ~~~~ analyze.c:104:18: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 104 | {"ɣ", 2 }, {"", 1 }, | ^~~~~~~~ analyze.c:113:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 113 | {"", 10 }, {"", 9 }, | ^~~~~~~~ analyze.c:113:24: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 113 | {"", 10 }, {"", 9 }, | ^~~~~~~~~~~~~~~~ analyze.c:114:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 114 | {"", 8 }, {"", 7 }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:114:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 114 | {"", 8 }, {"", 7 }, | ^~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:115:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 115 | {"", 6 }, {"", 5 }, | ^~~~~~~~~~~~~~~~ analyze.c:115:18: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 115 | {"", 6 }, {"", 5 }, | ^~~~~~~~ analyze.c:116:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 116 | {"", 4 }, {"", 3 }, | ^~~~~~~~~~~~~~~~ analyze.c:116:18: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 116 | {"", 4 }, {"", 3 }, | ^~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:117:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 117 | {"", 2 }, {"", 1 }, | ^~~~~~~~~~~~~~~~ analyze.c:117:18: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 117 | {"", 2 }, {"", 1 }, | ^~~~~~~~ analyze.c:129:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 129 | {"", 0}, | ^~~~~~~~ analyze.c:130:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 130 | {"", 0}, | ^~~~~~~~ analyze.c:139:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 139 | {"", 0}, | ^~~~~~~~ analyze.c:147:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 147 | {"", 0}, | ^~~~~~~~ analyze.c:155:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 155 | {"", 0}, | ^~~~~~~~ analyze.c:156:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 156 | {"", 0}, | ^~~~~~~~ analyze.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | kstrMatch(str, kpat) | ^ analyze.c:189:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 189 | checkIfNumber(str, rval) | ^ | int analyze.c:200:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 200 | if (svp = kstrMatch(str, zenkakuNum)) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:200:10: note: place parentheses around the assignment to silence this warning 200 | if (svp = kstrMatch(str, zenkakuNum)) { | ^ | ( ) analyze.c:200:10: note: use '==' to turn this assignment into an equality comparison 200 | if (svp = kstrMatch(str, zenkakuNum)) { | ^ | == analyze.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | checkIfNumber(str, rval) | ^ analyze.c:210:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 210 | checkIfRoman(str, rval, typep) | ^ | int analyze.c:216:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 216 | if (svp = kstrMatch(str, lroman)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:216:10: note: place parentheses around the assignment to silence this warning 216 | if (svp = kstrMatch(str, lroman)) | ^ | ( ) analyze.c:216:10: note: use '==' to turn this assignment into an equality comparison 216 | if (svp = kstrMatch(str, lroman)) | ^ | == analyze.c:218:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 218 | else if (svp = kstrMatch(str, sroman)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:218:15: note: place parentheses around the assignment to silence this warning 218 | else if (svp = kstrMatch(str, sroman)) | ^ | ( ) analyze.c:218:15: note: use '==' to turn this assignment into an equality comparison 218 | else if (svp = kstrMatch(str, sroman)) | ^ | == analyze.c:223:9: 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] 223 | return strlen(svp->pattern); | ^ analyze.c:223:9: note: include the header or explicitly provide a declaration for 'strlen' analyze.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | checkIfRoman(str, rval, typep) | ^ analyze.c:225:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 225 | checkIfAppendix(str, nump) | ^ | int analyze.c:238:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 238 | while (svp = kstrMatch(str, appendixPat)) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:238:13: note: place parentheses around the assignment to silence this warning 238 | while (svp = kstrMatch(str, appendixPat)) { | ^ | ( ) analyze.c:238:13: note: use '==' to turn this assignment into an equality comparison 238 | while (svp = kstrMatch(str, appendixPat)) { | ^ | == analyze.c:245:17: warning: call to undeclared function 'checkIfNumStr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 245 | || (len2 = checkIfNumStr(str, nump)) | ^ analyze.c:246:17: warning: call to undeclared function 'checkIfAlpha'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 246 | || (len2 = checkIfAlpha(str, nump, &ttt)) | ^ analyze.c:247:17: warning: call to undeclared function 'checkIfZenkakuAlpha'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 247 | || (len2 = checkIfZenkakuAlpha(str, nump, &ttt))) { | ^ analyze.c:254:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 254 | if (svp = kstrMatch(str, kdot)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~ analyze.c:254:10: note: place parentheses around the assignment to silence this warning 254 | if (svp = kstrMatch(str, kdot)) | ^ | ( ) analyze.c:254:10: note: use '==' to turn this assignment into an equality comparison 254 | if (svp = kstrMatch(str, kdot)) | ^ | == analyze.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | checkIfAppendix(str, nump) | ^ analyze.c:270:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 270 | checkIfSecNumber(str, dots) | ^ | int analyze.c:282:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 282 | while (len = checkIfNumber(str+ofst+tofst, &dummy)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:282:14: note: place parentheses around the assignment to silence this warning 282 | while (len = checkIfNumber(str+ofst+tofst, &dummy)) | ^ | ( ) analyze.c:282:14: note: use '==' to turn this assignment into an equality comparison 282 | while (len = checkIfNumber(str+ofst+tofst, &dummy)) | ^ | == analyze.c:270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | checkIfSecNumber(str, dots) | ^ analyze.c:317:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 317 | checkIfNumStr(str, lnump) | ^ | int analyze.c:325:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 325 | while (len = checkIfNumber(str + ofst, &num)){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:325:13: note: place parentheses around the assignment to silence this warning 325 | while (len = checkIfNumber(str + ofst, &num)){ | ^ | ( ) analyze.c:325:13: note: use '==' to turn this assignment into an equality comparison 325 | while (len = checkIfNumber(str + ofst, &num)){ | ^ | == analyze.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | checkIfNumStr(str, lnump) | ^ analyze.c:337:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 337 | checkIfZenkakuAlpha(str, lnump, typep) | ^ | int analyze.c:343:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 343 | if (svp = kstrMatch(str, zenkakuAlpUp)) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:343:10: note: place parentheses around the assignment to silence this warning 343 | if (svp = kstrMatch(str, zenkakuAlpUp)) { | ^ | ( ) analyze.c:343:10: note: use '==' to turn this assignment into an equality comparison 343 | if (svp = kstrMatch(str, zenkakuAlpUp)) { | ^ | == analyze.c:348:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 348 | else if (svp = kstrMatch(str, zenkakuAlpLow)) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:348:15: note: place parentheses around the assignment to silence this warning 348 | else if (svp = kstrMatch(str, zenkakuAlpLow)) { | ^ | ( ) analyze.c:348:15: note: use '==' to turn this assignment into an equality comparison 348 | else if (svp = kstrMatch(str, zenkakuAlpLow)) { | ^ | == analyze.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | checkIfZenkakuAlpha(str, lnump, typep) | ^ analyze.c:361:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 361 | checkIfAlpha(str, lnump, typep) | ^ | int analyze.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] analyze.c:387:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 387 | checkIfEnumList(str, textp) | ^ | int analyze.c:396:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 396 | if (svp = kstrMatch(str, lparenpat)) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:396:10: note: place parentheses around the assignment to silence this warning 396 | if (svp = kstrMatch(str, lparenpat)) { | ^ | ( ) analyze.c:396:10: note: use '==' to turn this assignment into an equality comparison 396 | if (svp = kstrMatch(str, lparenpat)) { | ^ | == analyze.c:400:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 400 | if (len = checkIfRoman(str + lparen, &num, &type)) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:400:10: note: place parentheses around the assignment to silence this warning 400 | if (len = checkIfRoman(str + lparen, &num, &type)) { | ^ | ( ) analyze.c:400:10: note: use '==' to turn this assignment into an equality comparison 400 | if (len = checkIfRoman(str + lparen, &num, &type)) { | ^ | == analyze.c:404:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 404 | else if (len = checkIfNumStr(str + lparen, &num)) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:404:15: note: place parentheses around the assignment to silence this warning 404 | else if (len = checkIfNumStr(str + lparen, &num)) { | ^ | ( ) analyze.c:404:15: note: use '==' to turn this assignment into an equality comparison 404 | else if (len = checkIfNumStr(str + lparen, &num)) { | ^ | == analyze.c:408:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 408 | else if (len = checkIfAlpha(str + lparen, &num, &type)) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:408:15: note: place parentheses around the assignment to silence this warning 408 | else if (len = checkIfAlpha(str + lparen, &num, &type)) { | ^ | ( ) analyze.c:408:15: note: use '==' to turn this assignment into an equality comparison 408 | else if (len = checkIfAlpha(str + lparen, &num, &type)) { | ^ | == analyze.c:422:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 422 | else if (svp = kstrMatch(str+ofst, rparenpat)) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:422:15: note: place parentheses around the assignment to silence this warning 422 | else if (svp = kstrMatch(str+ofst, rparenpat)) { | ^ | ( ) analyze.c:422:15: note: use '==' to turn this assignment into an equality comparison 422 | else if (svp = kstrMatch(str+ofst, rparenpat)) { | ^ | == analyze.c:429:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 429 | else if (svp = kstrMatch(str+ofst, rbracketpat)) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:429:15: note: place parentheses around the assignment to silence this warning 429 | else if (svp = kstrMatch(str+ofst, rbracketpat)) { | ^ | ( ) analyze.c:429:15: note: use '==' to turn this assignment into an equality comparison 429 | else if (svp = kstrMatch(str+ofst, rbracketpat)) { | ^ | == analyze.c:387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | checkIfEnumList(str, textp) | ^ analyze.c:456:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 456 | checkIfDscrList(str) | ^ | int analyze.c:456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] analyze.c:484:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 484 | lineAtrListSec(textp) | ^ | int analyze.c:492:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 492 | if (svp = kstrMatch(str, bullet)) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:492:10: note: place parentheses around the assignment to silence this warning 492 | if (svp = kstrMatch(str, bullet)) { | ^ | ( ) analyze.c:492:10: note: use '==' to turn this assignment into an equality comparison 492 | if (svp = kstrMatch(str, bullet)) { | ^ | == analyze.c:501:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 501 | else if (svp = kstrMatch(str, dash)) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~ analyze.c:501:15: note: place parentheses around the assignment to silence this warning 501 | else if (svp = kstrMatch(str, dash)) { | ^ | ( ) analyze.c:501:15: note: use '==' to turn this assignment into an equality comparison 501 | else if (svp = kstrMatch(str, dash)) { | ^ | == analyze.c:516:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 516 | else if (len = checkIfEnumList(str, textp)) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:516:15: note: place parentheses around the assignment to silence this warning 516 | else if (len = checkIfEnumList(str, textp)) { | ^ | ( ) analyze.c:516:15: note: use '==' to turn this assignment into an equality comparison 516 | else if (len = checkIfEnumList(str, textp)) { | ^ | == analyze.c:522:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 522 | if (len = checkIfSecNumber(str, &dots)) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:522:11: note: place parentheses around the assignment to silence this warning 522 | if (len = checkIfSecNumber(str, &dots)) { | ^ | ( ) analyze.c:522:11: note: use '==' to turn this assignment into an equality comparison 522 | if (len = checkIfSecNumber(str, &dots)) { | ^ | == analyze.c:484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | lineAtrListSec(textp) | ^ analyze.c:544:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 544 | lineAtrDlist(textp) | ^ | int analyze.c:550:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 550 | if (ret = checkIfDscrList(textp->body + textp->indent)) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:550:10: note: place parentheses around the assignment to silence this warning 550 | if (ret = checkIfDscrList(textp->body + textp->indent)) { | ^ | ( ) analyze.c:550:10: note: use '==' to turn this assignment into an equality comparison 550 | if (ret = checkIfDscrList(textp->body + textp->indent)) { | ^ | == analyze.c:560:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 560 | if (svp = kstrMatch(textp->body + textp->indent, listSpecial)){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analyze.c:560:11: note: place parentheses around the assignment to silence this warning 560 | if (svp = kstrMatch(textp->body + textp->indent, listSpecial)){ | ^ | ( ) analyze.c:560:11: note: use '==' to turn this assignment into an equality comparison 560 | if (svp = kstrMatch(textp->body + textp->indent, listSpecial)){ | ^ | == analyze.c:567:23: warning: passing arguments to 'picLineMatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | && picLineMatch(s) == NULL | ^ analyze.c:568:23: warning: passing arguments to 'picMiscMatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | && picMiscMatch(s) == NULL | ^ analyze.c:544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | lineAtrDlist(textp) | ^ analyze.c:584:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 584 | byteRegister(reg, kpat) | ^ | int analyze.c:584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] analyze.c:595:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 595 | analyzeLines(begin, end) | ^ | int analyze.c:632:3: warning: call to undeclared function 'lineAtrFtitle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 632 | lineAtrFtitle(textp); | ^ analyze.c:634:3: warning: call to undeclared function 'picCharCount'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 634 | picCharCount(textp); | ^ analyze.c:595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | analyzeLines(begin, end) | ^ 172 warnings generated. --- picture.o --- In file included from picture.c:15: ./plain2.h:26:22: warning: '/*' within block comment [-Wcomment] 26 | /* #define NEC_CCS /* NEC C&C Common Software Lab. dependent */ | ^ ./plain2.h:28:21: warning: '/*' within block comment [-Wcomment] 28 | /* #undef NTT_TEX /* NTT jlatex */ /* no longer needed */ | ^ ./plain2.h:343:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 343 | extern char *malloc(); | ^ ./plain2.h:343:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' picture.c:33:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 33 | {"", {LINE_FULL,SY_ELPS}, {LINE_NULL,SY_NULL}}, | ^~~~~~~~ picture.c:34:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 34 | {"", {LINE_FULL,SY_HELPS}, {LINE_NULL,SY_NULL}}, | ^~~~~~~~ picture.c:35:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 35 | {"", {VECT_BGN, SY_NULL}, {LINE_NULL,SY_NULL}}, | ^~~~~~~~ picture.c:36:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 36 | {"", {VECT_END, SY_NULL}, {LINE_NULL,SY_NULL}}, | ^~~~~~~~ picture.c:37:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 37 | {"", {LINE_NULL,SY_NULL}, {VECT_BGN, SY_NULL}}, | ^~~~~~~~ picture.c:38:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 38 | {"", {LINE_NULL,SY_NULL}, {VECT_END, SY_NULL}}, | ^~~~~~~~ picture.c:39:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 39 | {"", {LINE_NULL,SY_NULL}, {LINE_FULL,SY_DASH}}, | ^~~~~~~~ picture.c:40:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 40 | {"", {LINE_FULL,SY_DASH}, {LINE_NULL,SY_NULL}}, | ^~~~~~~~ picture.c:41:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 41 | {"", {LINE_NULL,SY_NULL}, {LINE_FULL,SY_DBL }}, | ^~~~~~~~ picture.c:42:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 42 | {"", {LINE_FULL,SY_DBL}, {LINE_NULL,SY_NULL}}, | ^~~~~~~~ picture.c:43:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 43 | {"", {LINE_FULL,SY_THIN}, {LINE_NULL,SY_NULL}}, | ^~~~~~~~ picture.c:44:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 44 | {"", {LINE_FULL,SY_THICK}, {LINE_NULL,SY_NULL}}, | ^~~~~~~~ picture.c:45:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 45 | {"", {LINE_NULL,SY_NULL}, {LINE_FULL,SY_THIN}}, | ^~~~~~~~ picture.c:46:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 46 | {"", {LINE_NULL,SY_NULL}, {LINE_FULL,SY_THICK}}, | ^~~~~~~~ picture.c:47:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 47 | {"", {LINE_BGN, SY_NULL}, {LINE_BGN, SY_NULL}}, | ^~~~~~~~ picture.c:48:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 48 | {"", {LINE_BGN, SY_THICK}, {LINE_BGN, SY_THICK}}, | ^~~~~~~~ picture.c:49:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 49 | {"", {LINE_END, SY_NULL}, {LINE_BGN, SY_NULL}}, | ^~~~~~~~ picture.c:50:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 50 | {"", {LINE_END, SY_THICK}, {LINE_BGN, SY_THICK}}, | ^~~~~~~~ picture.c:51:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 51 | {"", {LINE_BGN, SY_NULL}, {LINE_END, SY_NULL}}, | ^~~~~~~~ picture.c:52:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 52 | {"", {LINE_BGN, SY_THICK}, {LINE_END, SY_THICK}}, | ^~~~~~~~ picture.c:53:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 53 | {"", {LINE_END, SY_NULL}, {LINE_END, SY_NULL}}, | ^~~~~~~~ picture.c:54:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 54 | {"", {LINE_END, SY_THICK}, {LINE_END, SY_THICK}}, | ^~~~~~~~ picture.c:55:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 55 | {"", {LINE_BGN, SY_NULL}, {LINE_SEP, SY_NULL}}, | ^~~~~~~~ picture.c:56:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 56 | {"", {LINE_BGN, SY_THICK}, {LINE_SEP, SY_NULL}}, | ^~~~~~~~ picture.c:57:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 57 | {"", {LINE_BGN, SY_NULL}, {LINE_FULL,SY_THICK}}, | ^~~~~~~~ picture.c:58:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 58 | {"", {LINE_BGN, SY_THICK}, {LINE_FULL,SY_THICK}}, | ^~~~~~~~ picture.c:59:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 59 | {"", {LINE_END, SY_NULL}, {LINE_SEP, SY_NULL}}, | ^~~~~~~~ picture.c:60:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 60 | {"", {LINE_END, SY_THICK}, {LINE_SEP, SY_NULL}}, | ^~~~~~~~ picture.c:61:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 61 | {"", {LINE_END, SY_NULL}, {LINE_FULL,SY_THICK}}, | ^~~~~~~~ picture.c:62:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 62 | {"", {LINE_END, SY_THICK}, {LINE_FULL,SY_THICK}}, | ^~~~~~~~ picture.c:63:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 63 | {"", {LINE_SEP, SY_NULL}, {LINE_BGN, SY_NULL}}, | ^~~~~~~~ picture.c:64:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 64 | {"", {LINE_FULL,SY_THICK}, {LINE_BGN, SY_THICK}}, | ^~~~~~~~ picture.c:65:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 65 | {"", {LINE_FULL,SY_THICK}, {LINE_BGN, SY_NULL}}, | ^~~~~~~~ picture.c:66:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 66 | {"", {LINE_SEP, SY_NULL}, {LINE_BGN, SY_THICK}}, | ^~~~~~~~ picture.c:67:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 67 | {"", {LINE_SEP, SY_NULL}, {LINE_END, SY_NULL}}, | ^~~~~~~~ picture.c:68:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 68 | {"", {LINE_FULL,SY_THICK}, {LINE_END, SY_THICK}}, | ^~~~~~~~ picture.c:69:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 69 | {"", {LINE_FULL,SY_THICK}, {LINE_END, SY_NULL}}, | ^~~~~~~~ picture.c:70:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 70 | {"", {LINE_SEP, SY_NULL}, {LINE_END, SY_THICK}}, | ^~~~~~~~ picture.c:71:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 71 | {"", {LINE_SEP, SY_NULL}, {LINE_SEP, SY_NULL}}, | ^~~~~~~~ picture.c:72:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 72 | {"", {LINE_FULL,SY_THICK}, {LINE_SEP, SY_NULL}}, | ^~~~~~~~ picture.c:73:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 73 | {"", {LINE_SEP, SY_NULL}, {LINE_FULL,SY_THICK}}, | ^~~~~~~~ picture.c:74:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 74 | {"", {LINE_FULL,SY_THICK}, {LINE_FULL,SY_THICK}}, | ^~~~~~~~ picture.c:81:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 81 | {"", 0,2, 2,0}, {"", 0,0, 2,2}, | ^~~~~~~~ picture.c:81:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 81 | {"", 0,2, 2,0}, {"", 0,0, 2,2}, | ^~~~~~~~ picture.c:82:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 82 | {"", 0,0, 2,0}, {"", 0,2, 2,2}, | ^~~~~~~~ picture.c:82:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 82 | {"", 0,0, 2,0}, {"", 0,2, 2,2}, | ^~~~~~~~ picture.c:83:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 83 | {"", 0,0, 0,0}, | ^~~~~~~~ picture.c:93:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 93 | picParseInit() | ^ | int picture.c:104:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 104 | picOutText(s, length) | ^ | int picture.c:111:8: warning: call to undeclared library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 111 | (void)strncpy(buf, s, length); | ^ picture.c:111:8: note: include the header or explicitly provide a declaration for 'strncpy' picture.c:113:10: warning: call to undeclared function 'strWidth'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 113 | width = strWidth(buf); | ^ picture.c:115:15: 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] 115 | fieldWidth = strlen(buf); | ^ picture.c:115:15: note: include the header or explicitly provide a declaration for 'strlen' picture.c:120:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | (put->picText)(buf, colPos - length, vpos, width / fieldWidth); | ^ picture.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | picOutText(s, length) | ^ picture.c:126:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 126 | strWidth(s) | ^ | int picture.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] picture.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | picLineMatch(s) | ^ In file included from picture.c:15: ./plain2.h:283:20: 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] 283 | struct picLineElm *picLineMatch(); | ^ picture.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | picMiscMatch(s) | ^ In file included from picture.c:15: ./plain2.h:284:22: 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] 284 | struct picMiscLines *picMiscMatch(); | ^ picture.c:181:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 181 | picCharCount(textp) | ^ | int picture.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] picture.c:209:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 209 | newLine(stp, half) | ^ | int picture.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] picture.c:223:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 223 | terminateLine(stp) | ^ | int picture.c:254:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | (put->picLine)(xorg, yorg, xend, yend, lineStyle, vectAtr); | ^ picture.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | terminateLine(stp) | ^ picture.c:256:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 256 | processLine(stp) | ^ | int picture.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] picture.c:310:6: warning: call to undeclared function 'isKanjiChar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 310 | if (isKanjiChar(texts[lnum], col)) | ^ picture.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | subcIfKanji(col, lnum) | ^ picture.c:315:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 315 | picMiscLinePut(mlp) | ^ | int picture.c:318:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | (put->picLine)(colPos + mlp->x0,vpos + mlp->y0, | ^ picture.c:315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | picMiscLinePut(mlp) | ^ picture.c:325:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 325 | slantCnctOut(xdir, ydir, turnX, turnY, lnum) | ^ | int picture.c:340:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | (put->picLine)(colPos + 1, vpos + 1, | ^ picture.c:343:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | (put->picLine)(colPos + 1, vpos + 1, | ^ picture.c:325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | slantCnctOut(xdir, ydir, turnX, turnY, lnum) | ^ picture.c:353:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 353 | slantExtent(xdir, ydir, lnum) | ^ | int picture.c:374:4: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | (colPos + 1, vpos + 1, | ^ picture.c:353:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | slantExtent(xdir, ydir, lnum) | ^ picture.c:382:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 382 | slantConnect(xdir, ydir, l, mlp) | ^ | int picture.c:382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] picture.c:401:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 401 | slantArrow(lnum) | ^ | int picture.c:408:9: warning: call to undeclared library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 408 | if (!strncmp(subcIfKanji(colPos + xdir * 2, | ^ picture.c:408:9: note: include the header or explicitly provide a declaration for 'strncmp' picture.c:410:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 410 | (xdir * ydir > 0)?"":"", 2)) { | ^~~~~~~~ picture.c:410:34: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 410 | (xdir * ydir > 0)?"":"", 2)) { | ^~~~~~~~ picture.c:412:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | (put->picLine)(colPos + 1 - xdir, | ^ picture.c:401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | slantArrow(lnum) | ^ picture.c:421:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 421 | picMisc(mlp, lnum) | ^ | int picture.c:431:31: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 431 | if (str2match(mlp->pattern, "")) { | ^~~~~~~~ ./plain2.h:175:40: note: expanded from macro 'str2match' 175 | #define str2match(s1, s2) ((*(s1) == *(s2)) && (*((s1) + 1) == *((s2) + 1))) | ^~ picture.c:431:31: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 431 | if (str2match(mlp->pattern, "")) { | ^~~~~~~~ ./plain2.h:175:67: note: expanded from macro 'str2match' 175 | #define str2match(s1, s2) ((*(s1) == *(s2)) && (*((s1) + 1) == *((s2) + 1))) | ^~ picture.c:437:36: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 437 | else if (str2match(mlp->pattern, "")) { | ^~~~~~~~ ./plain2.h:175:40: note: expanded from macro 'str2match' 175 | #define str2match(s1, s2) ((*(s1) == *(s2)) && (*((s1) + 1) == *((s2) + 1))) | ^~ picture.c:437:36: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 437 | else if (str2match(mlp->pattern, "")) { | ^~~~~~~~ ./plain2.h:175:67: note: expanded from macro 'str2match' 175 | #define str2match(s1, s2) ((*(s1) == *(s2)) && (*((s1) + 1) == *((s2) + 1))) | ^~ picture.c:438:52: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 438 | if (!strncmp(subcIfKanji(colPos + 2, lnum - 1), "", 2)) { | ^~~~~~~~ picture.c:440:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 440 | if (str2match(s, "") || str2match(s, "")){ | ^~~~~~~~ ./plain2.h:175:40: note: expanded from macro 'str2match' 175 | #define str2match(s1, s2) ((*(s1) == *(s2)) && (*((s1) + 1) == *((s2) + 1))) | ^~ picture.c:440:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 440 | if (str2match(s, "") || str2match(s, "")){ | ^~~~~~~~ ./plain2.h:175:67: note: expanded from macro 'str2match' 175 | #define str2match(s1, s2) ((*(s1) == *(s2)) && (*((s1) + 1) == *((s2) + 1))) | ^~ picture.c:440:44: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 440 | if (str2match(s, "") || str2match(s, "")){ | ^~~~~~~~ ./plain2.h:175:40: note: expanded from macro 'str2match' 175 | #define str2match(s1, s2) ((*(s1) == *(s2)) && (*((s1) + 1) == *((s2) + 1))) | ^~ picture.c:440:44: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 440 | if (str2match(s, "") || str2match(s, "")){ | ^~~~~~~~ ./plain2.h:175:67: note: expanded from macro 'str2match' 175 | #define str2match(s1, s2) ((*(s1) == *(s2)) && (*((s1) + 1) == *((s2) + 1))) | ^~ picture.c:451:57: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 451 | else if (!strncmp(subcIfKanji(colPos - 2, lnum + 1), "", 2)){ | ^~~~~~~~ picture.c:457:36: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 457 | else if (str2match(mlp->pattern, "")) { | ^~~~~~~~ ./plain2.h:175:40: note: expanded from macro 'str2match' 175 | #define str2match(s1, s2) ((*(s1) == *(s2)) && (*((s1) + 1) == *((s2) + 1))) | ^~ picture.c:457:36: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 457 | else if (str2match(mlp->pattern, "")) { | ^~~~~~~~ ./plain2.h:175:67: note: expanded from macro 'str2match' 175 | #define str2match(s1, s2) ((*(s1) == *(s2)) && (*((s1) + 1) == *((s2) + 1))) | ^~ picture.c:458:52: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 458 | if (!strncmp(subcIfKanji(colPos - 2, lnum - 1), "", 2)) { | ^~~~~~~~ picture.c:460:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 460 | if (str2match(s, "") || str2match(s, "")){ | ^~~~~~~~ ./plain2.h:175:40: note: expanded from macro 'str2match' 175 | #define str2match(s1, s2) ((*(s1) == *(s2)) && (*((s1) + 1) == *((s2) + 1))) | ^~ picture.c:460:22: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 460 | if (str2match(s, "") || str2match(s, "")){ | ^~~~~~~~ ./plain2.h:175:67: note: expanded from macro 'str2match' 175 | #define str2match(s1, s2) ((*(s1) == *(s2)) && (*((s1) + 1) == *((s2) + 1))) | ^~ picture.c:460:44: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 460 | if (str2match(s, "") || str2match(s, "")){ | ^~~~~~~~ ./plain2.h:175:40: note: expanded from macro 'str2match' 175 | #define str2match(s1, s2) ((*(s1) == *(s2)) && (*((s1) + 1) == *((s2) + 1))) | ^~ picture.c:460:44: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 460 | if (str2match(s, "") || str2match(s, "")){ | ^~~~~~~~ ./plain2.h:175:67: note: expanded from macro 'str2match' 175 | #define str2match(s1, s2) ((*(s1) == *(s2)) && (*((s1) + 1) == *((s2) + 1))) | ^~ picture.c:471:57: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 471 | else if (!strncmp(subcIfKanji(colPos + 2, lnum + 1), "", 2)) { | ^~~~~~~~ picture.c:477:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 477 | if (lelp = picLineMatch(subcIfKanji(colPos , lnum - 1))) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ picture.c:477:11: note: place parentheses around the assignment to silence this warning 477 | if (lelp = picLineMatch(subcIfKanji(colPos , lnum - 1))) { | ^ | ( ) picture.c:477:11: note: use '==' to turn this assignment into an equality comparison 477 | if (lelp = picLineMatch(subcIfKanji(colPos , lnum - 1))) { | ^ | == picture.c:481:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 481 | if (lelp = picLineMatch(subcIfKanji(colPos , lnum + 1))) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ picture.c:481:11: note: place parentheses around the assignment to silence this warning 481 | if (lelp = picLineMatch(subcIfKanji(colPos , lnum + 1))) { | ^ | ( ) picture.c:481:11: note: use '==' to turn this assignment into an equality comparison 481 | if (lelp = picLineMatch(subcIfKanji(colPos , lnum + 1))) { | ^ | == picture.c:485:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 485 | if (lelp = picLineMatch(subcIfKanji(colPos + 2 , lnum))) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ picture.c:485:11: note: place parentheses around the assignment to silence this warning 485 | if (lelp = picLineMatch(subcIfKanji(colPos + 2 , lnum))) { | ^ | ( ) picture.c:485:11: note: use '==' to turn this assignment into an equality comparison 485 | if (lelp = picLineMatch(subcIfKanji(colPos + 2 , lnum))) { | ^ | == picture.c:489:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 489 | if (lelp = picLineMatch(subcIfKanji(colPos - 2, lnum))) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ picture.c:489:11: note: place parentheses around the assignment to silence this warning 489 | if (lelp = picLineMatch(subcIfKanji(colPos - 2, lnum))) { | ^ | ( ) picture.c:489:11: note: use '==' to turn this assignment into an equality comparison 489 | if (lelp = picLineMatch(subcIfKanji(colPos - 2, lnum))) { | ^ | == picture.c:494:31: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 494 | if (str2match(mlp->pattern, "")) { | ^~~~~~~~ ./plain2.h:175:40: note: expanded from macro 'str2match' 175 | #define str2match(s1, s2) ((*(s1) == *(s2)) && (*((s1) + 1) == *((s2) + 1))) | ^~ picture.c:494:31: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 494 | if (str2match(mlp->pattern, "")) { | ^~~~~~~~ ./plain2.h:175:67: note: expanded from macro 'str2match' 175 | #define str2match(s1, s2) ((*(s1) == *(s2)) && (*((s1) + 1) == *((s2) + 1))) | ^~ picture.c:498:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | (*put->picArc)(colPos, vpos, 1, dir_br, | ^ picture.c:503:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | (*put->picArc)(colPos + 2 , vpos + 2, 1,dir_tl, | ^ picture.c:510:31: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 510 | if (str2match(mlp->pattern, "")) { | ^~~~~~~~ ./plain2.h:175:40: note: expanded from macro 'str2match' 175 | #define str2match(s1, s2) ((*(s1) == *(s2)) && (*((s1) + 1) == *((s2) + 1))) | ^~ picture.c:510:31: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 510 | if (str2match(mlp->pattern, "")) { | ^~~~~~~~ ./plain2.h:175:67: note: expanded from macro 'str2match' 175 | #define str2match(s1, s2) ((*(s1) == *(s2)) && (*((s1) + 1) == *((s2) + 1))) | ^~ picture.c:514:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | (*put->picArc)(colPos + 2 , vpos, 1, dir_bl, | ^ picture.c:519:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | (*put->picArc)(colPos , vpos + 2, 1, dir_tr, | ^ picture.c:421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | picMisc(mlp, lnum) | ^ picture.c:528:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 528 | parseHoriLine(lnum) | ^ | int picture.c:539:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 539 | if (lelp = picLineMatch(s)) { | ~~~~~^~~~~~~~~~~~~~~~~ picture.c:539:12: note: place parentheses around the assignment to silence this warning 539 | if (lelp = picLineMatch(s)) { | ^ | ( ) picture.c:539:12: note: use '==' to turn this assignment into an equality comparison 539 | if (lelp = picLineMatch(s)) { | ^ | == picture.c:528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | parseHoriLine(lnum) | ^ picture.c:572:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 572 | maybePicture(begin, end) | ^ | int picture.c:581:17: warning: passing arguments to 'prevLine' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | !((prevLine(begin)->block && | ^ picture.c:582:17: warning: passing arguments to 'prevLine' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | prevLine(begin)->block->type == TB_PICTURE))) | ^ picture.c:585:11: warning: call to undeclared function 'minIndent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 585 | indent = minIndent(begin, end); | ^ picture.c:572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | maybePicture(begin, end) | ^ picture.c:612:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 612 | markIfPicture(begin, end) | ^ | int picture.c:619:21: warning: passing arguments to 'newTextBlock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | tbp = newTextBlock(begin, end, TB_PICTURE); | ^ picture.c:612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | markIfPicture(begin, end) | ^ In file included from picture.c:15: ./plain2.h:278:5: 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] 278 | int markIfPicture(); | ^ picture.c:627:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 627 | picOutput(begin, end) | ^ | int picture.c:642:4: warning: call to undeclared function 'htmlRawText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 642 | htmlRawText(texts[l]->body); | ^ picture.c:667:11: warning: call to undeclared function 'minIndent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 667 | minInd = minIndent(begin, end); | ^ picture.c:668:11: warning: call to undeclared function 'maxLength'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 668 | maxLen = maxLength(begin, end); | ^ picture.c:673:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | (put->pictureBlock)(BEGIN, end - begin, minInd, maxLen); | ^ picture.c:694:8: warning: call to undeclared function 'isKanjiChar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 694 | if (isKanjiChar(texts[l], colPos) | ^ picture.c:702:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 702 | (put->pictureBlock)(END, 0); | ^ picture.c:627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | picOutput(begin, end) | ^ 144 warnings generated. --- plain2 --- cc -O2 -pipe -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DKANJI -DPICTURE -DHTML -o plain2 plain2.o readfile.o miscutil.o section.o example.o list.o plaintxt.o spacing.o headfoot.o hint.o justify.o texout.o output.o renumout.o macro.o htmlout.o roffout.o analyze.o table.o title.o picture.o ftitle.o =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for ja-plain2-2.54.1_2 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/japanese/plain2/work/plain2-2.54p1.orig/src/plain2 /wrkdirs/usr/ports/japanese/plain2/work/stage/usr/local/bin install -m 0644 /wrkdirs/usr/ports/japanese/plain2/work/plain2-2.54p1.orig/lib/*.p2 /wrkdirs/usr/ports/japanese/plain2/work/stage/usr/local/share/plain2 ====> 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=2026-03-12T23:05:49+0000' 'PKG_NOTE_ports_top_git_hash=26b198eb3ee3' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=8d9b67bc44ee' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for ja-plain2-2.54.1_2 ===> Building ja-plain2-2.54.1_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for ja-plain2-2.54.1_2 build of japanese/plain2 | ja-plain2-2.54.1_2 ended at Thu Mar 12 19:05:56 EDT 2026 build time: 00:00:08