=>> Building mail/elm build started at Sun May 4 19:08:43 EDT 2025 port directory: /usr/ports/mail/elm package name: elm-2.5.8_7 building for: FreeBSD 13amd64-weekly-desktop-job-03 13.4-RELEASE-p4 FreeBSD 13.4-RELEASE-p4 amd64 maintained by: ports@virtual-estates.net Makefile datestamp: -rw-r--r-- 1 root wheel 1040 Aug 3 2024 /usr/ports/mail/elm/Makefile Ports top last git commit: 57a50b106b87 Ports top unclean checkout: yes Port dir last git commit: 2b92bd705775 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1402000 Jail OSVERSION: 1304000 Job Id: 03 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1304000 UNAME_v=FreeBSD 13.4-RELEASE-p4 UNAME_r=13.4-RELEASE-p4 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/mnt/data/.m/13amd64-weekly-desktop/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen GID=0 OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 UID=0 PWD=/mnt/data/.m/13amd64-weekly-desktop/03/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13amd64-weekly-desktop SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/mnt/data/.m/13amd64-weekly-desktop/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- ports@virtual-estates.net --End MAINTAINER-- --CONFIGURE_ARGS-- -d --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- PREFIX="/usr/local" XDG_DATA_HOME=/wrkdirs/usr/ports/mail/elm/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/elm/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/elm/work/.cache HOME=/wrkdirs/usr/ports/mail/elm/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/elm/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/elm/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/mail/elm/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/elm/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/elm/work/.cache HOME=/wrkdirs/usr/ports/mail/elm/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/elm/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/elm/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 -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=13.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/elm" EXAMPLESDIR="share/examples/elm" DATADIR="share/elm" WWWDIR="www/elm" ETCDIR="etc/elm" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/elm DOCSDIR=/usr/local/share/doc/elm EXAMPLESDIR=/usr/local/share/examples/elm WWWDIR=/usr/local/www/elm ETCDIR=/usr/local/etc/elm --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### # Work around some weirdness when fetching golang modules GO_TAGS+=netcgo .if ${.CURDIR:M*/www/chromium*} MAKE_JOBS_NUMBER=24 .endif .if ${.CURDIR:M*/www/ungoogled-chromium*} MAKE_JOBS_NUMBER=24 .endif .if ${.CURDIR:M*/lang/rust*} MAKE_JOBS_NUMBER=10 .endif .if ${.CURDIR:M*/lang/gcc*} MAKE_JOBS_NUMBER=10 .endif .if ${.CURDIR:M*/www/iridium*} MAKE_JOBS_NUMBER=16 .endif .if ${.CURDIR:M*/devel/electron*} MAKE_JOBS_NUMBER=20 .endif .if ${.CURDIR:M*/databases/mongodb*} MAKE_JOBS_NUMBER=12 .endif .if ${.CURDIR:M*/devel/llvm*} MAKE_JOBS_NUMBER=16 .endif # Speed things up a bit MAKE_JOBS_NUMBER?=8 #### #### #MAKE_JOBS_NUMBER?=4 # Alows us to build ports non-interactivly DISABLE_LICENSES=yes LICENSES_ACCEPTED+= DCC # Enable SNDIO on anything that supports it #OPTIONS_SET+=PULSEAUDIO OPTIONS_SET+=SNDIO # Yes we have MS Windows x11-fonts_webfonts_SET+=EXTRAFONTS CLEARTYPE # Desktop Specific Options sysutils_gksu_UNSET+=NAUTILUS x11-wm_compiz-fusion_UNSET+=EMERALD accessibility_redshift_SET+=GUI VIDMODE # These ports default to other audio servers, audio_espeak_UNSET+=PORTAUDIO www_qt5-webengine_UNSET+=ALSA www_qt6-webengine_UNSET+=ALSA audio_rhvoice_UNSET+=AO comms_morse_UNSET+=OSS audio_harp_UNSET+=OSS # Somehow these options are being set and result in ports being rebuilt needlessly becuase they are actually turned off audio_alsa-plugins_SET+=FFMPEG JACK PULSEAUDIO SAMPLERATE SPEEX #### Misc Poudriere #### .include "/etc/make.conf.ports_env" ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> elm-2.5.8_7 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.0.6.pkg [13amd64-weekly-desktop-job-03] Installing pkg-2.0.6... [13amd64-weekly-desktop-job-03] Extracting pkg-2.0.6: .......... done ===> elm-2.5.8_7 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of elm-2.5.8_7 =========================================================================== =================================================== ===== 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 elm-2.5.8_7 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by elm-2.5.8_7 for building => SHA256 Checksum OK for elm2.5.8.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Fetching all distfiles required by elm-2.5.8_7 for building ===> Extracting for elm-2.5.8_7 => SHA256 Checksum OK for elm2.5.8.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Patching for elm-2.5.8_7 ===> Applying FreeBSD patches for elm-2.5.8_7 from /usr/ports/mail/elm/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> elm-2.5.8_7 depends on executable: ispell - not found ===> Installing existing package /packages/All/aspell-ispell-0.60.8.1.pkg [13amd64-weekly-desktop-job-03] Installing aspell-ispell-0.60.8.1... [13amd64-weekly-desktop-job-03] `-- Installing aspell-0.60.8.1_1,1... [13amd64-weekly-desktop-job-03] | `-- Installing gettext-runtime-0.23.1... [13amd64-weekly-desktop-job-03] | | `-- Installing indexinfo-0.3.1_1... [13amd64-weekly-desktop-job-03] | | `-- Extracting indexinfo-0.3.1_1: . done [13amd64-weekly-desktop-job-03] | `-- Extracting gettext-runtime-0.23.1: .......... done [13amd64-weekly-desktop-job-03] | `-- Installing perl5-5.36.3_2... [13amd64-weekly-desktop-job-03] | `-- Extracting perl5-5.36.3_2: .......... done [13amd64-weekly-desktop-job-03] `-- Extracting aspell-0.60.8.1_1,1: .......... done [13amd64-weekly-desktop-job-03] Extracting aspell-ispell-0.60.8.1: .. done ===> elm-2.5.8_7 depends on executable: ispell - found ===> Returning to build of elm-2.5.8_7 ===> elm-2.5.8_7 depends on package: gettext-runtime>=0.22_1 - found ===> elm-2.5.8_7 depends on executable: msgfmt - not found ===> Installing existing package /packages/All/gettext-tools-0.23.1.pkg [13amd64-weekly-desktop-job-03] Installing gettext-tools-0.23.1... [13amd64-weekly-desktop-job-03] `-- Installing libtextstyle-0.23.1... [13amd64-weekly-desktop-job-03] `-- Extracting libtextstyle-0.23.1: .......... done [13amd64-weekly-desktop-job-03] Extracting gettext-tools-0.23.1: .......... done ===> elm-2.5.8_7 depends on executable: msgfmt - found ===> Returning to build of elm-2.5.8_7 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> elm-2.5.8_7 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Configuring for elm-2.5.8_7 ===> Note: This configure script is interactive, but the supplied defaults will work for FreeBSD. Just press Enter to accept each default. (I see you are using the Korn shell. Some ksh's blow up on Configure, especially on exotic machines. If yours does, try the Bourne shell instead.) Beginning of configuration questions for elm2.5 kit. First let's make sure your kit is complete. Checking... Looks good... Making bin directory Checking your sh to see if it knows about # comments... Your sh handles # comments correctly. Okay, let's see if #! works on this system... It does. Checking out how to guarantee sh startup... Let's see if '#!/bin/sh' works... Yup, it does. Checking echo to see how to suppress newlines... ...using -n. Type carriage return to continue. Your cursor should be here--> This installation shell script will examine your system and ask you questions to determine how the elm2.5 package should be installed. If you get stuck on a question, you may use a ! shell escape to start a subshell or execute a command. Many of the questions will have default answers in square brackets--typing carriage return will give you the default. On some of the questions which ask for file or directory names you are allowed to use the ~name construct to specify the login directory belonging to "name", even if you don't have a shell which knows about that. Questions where this is allowed will be marked "(~name ok)". [Type carriage return to continue] Much effort has been expended to ensure that this shell script will run on any Unix system. If despite that it blows up on you, your best bet is to edit Configure and run it again. Also, let the Elm Development Group (elm@dsi.com) know how they blew it. If you can't run Configure for some reason, you'll have to generate a config.sh file by hand. This installation script affects things in two ways: 1) it may do direct variable substitutions on some of the files included in this kit, and 2) it builds a config.h file for inclusion in C programs. You may edit any of these files as the need arises after running this script. If you make a mistake on a question, there is no easy way to back up to it currently. The easiest thing to do is to edit config.sh and rerun all the SH files. Configure will offer to let you do this before it runs the SH files. [Type carriage return to continue] I see a config.sh file. Did Configure make it on THIS system? [y] Fetching default answers from your old config.sh file... Locating common programs... cat is in /bin/cat. chgrp is in /usr/bin/chgrp. chmod is in /bin/chmod. cp is in /bin/cp. echo is in /bin/echo. expr is in /bin/expr. grep is in /usr/bin/grep. ln is in /bin/ln. ls is in /bin/ls. mv is in /bin/mv. rm is in /bin/rm. sed is in /usr/bin/sed. sleep is in /bin/sleep. touch is in /usr/bin/touch. tr is in /usr/bin/tr. Don't worry if any of the following aren't found... I don't see Mcc out there, offhand. compress is in /usr/bin/compress. cpp is in /usr/bin/cpp. date is in /bin/date. I don't see emacs out there, either. I don't see execmail out there, either. ispell is in /usr/local/bin/ispell. I don't see line out there, either. I don't see lint out there, either. lp is in /usr/bin/lp. lpr is in /usr/bin/lpr. I don't see mips out there, either. more is in /usr/bin/more. I don't see nroff out there, either. I don't see pack out there, either. I don't see pg out there, either. pr is in /usr/bin/pr. rmail is in /bin/rmail. sendmail is in /usr/sbin/sendmail. shar is in /usr/bin/shar. I don't see smail out there, either. I don't see submit out there, either. tar is in /usr/bin/tar. I don't see tbl out there, either. test is in /bin/test. I don't see troff out there, either. uname is in /usr/bin/uname. I don't see uuname out there, either. vi is in /usr/bin/vi. Using the test built into your sh. Checking compatibility between /bin/echo and builtin echo (if any)... They are compatible. In fact, they may be identical. There is a neat feature that enables scanning of the message body for entries to add to the users ".calendar" (or whatever) file. These entries are then processed by the system program calendar. To use this feature it needs to be enabled. The name of the per user calendar file used by your system's calendar program is also required. Enable calendar feature [y] Default calendar file: [calendar] Not all environments are restricted to the ASCII 7-bit character set. For example, the ISO 8859/1 (Latin alphabet no. 1) character set, consisting of 8 bits and 191 printable characters, is becoming more and more common, especially in non-English speaking countries. Unfortunately, not all isprint() functions or macros, which ELM uses to determine whether a character is printable or not, will handle non-ASCII (8-bit) characters properly. It is suggested that you start with this value configured to handle 8-bit characters correctly and if there are problems with Elm aborting while displaying messages that use extended character sets to reconfigure Elm to only display 7-bit characters. Should Elm assume that isprint() won't break on non-ASCII characters? [y] Hmm... Looks kind of like a BSD system, but we'll see... Congratulations. You aren't running Eunice. It's not Xenix... Nor is it Venix... Does your /etc/passwd file keep full names in Berkeley/V7 format (name first thing after ':' in GCOS field)? [y] The Elm documentation (Reference Guide, Configuration Guide, etc.) is set up for troff. If you only have nroff, it can be used, but the documentation will not be as readable. If you use an alternate processor for troff/nroff documents it can be specified here. Elm expects the text processor to write to standard out. You will be given a chance to provide command line options to this command in the next question. Give the name of the program used to format the Elm documentation on your system: [/usr/bin/troff] Text processor /usr/bin/troff doesn't exist. Use that name anyway? [y] If this text processor requires any options for proper formatting, specify them here. To specify no options, enter the word "none". Some versions of troff require the -t option to write to standard out. This is the proper place to specify that option. What options should Elm use with /usr/bin/troff: [] elm2 has manual pages that can be installed in unformatted or formatted form. Either or both (or neither) of these may be installed. Please give the location in which to store each type of man page. To specify that a particular type is not to be installed, answer "none" to the question. Where do the unformatted manual pages go? [/usr/local/man/man1] Directory /usr/local/man/man1 doesn't exist. Use that name anyway? [y] The installed unformatted manual pages can have various extensions to suit the conventions of the host operating system, for example "page.1". Note that the period '.' must be included as part of the extension. To specify no extension, enter the word "none". What extension should be used on installed unformatted man pages: [.1] Where do the formatted manual pages go? [/usr/local/man/cat1] Directory /usr/local/man/cat1 doesn't exist. Use that name anyway? [y] Online manual pages are generally formatted with nroff. If you use an alternate text processor for on-line manual pages it can be specified here. Elm expects the text processor to write to standard out. Note: This does not effect the formatter previously chosen for the Elm Elm documentation (Reference Guide, Configuration Guide, etc.). Give the name of the program used to format on-line manual pages on your system: [/usr/bin/nroff] Text processor /usr/bin/nroff doesn't exist. Use that name anyway? [y] If this text processor requires any options for proper formatting, specify then here. To specify no options, enter the word "none". What options should Elm use with /usr/bin/nroff: [] The installed formatted manual pages can have various extensions to suit the conventions of the host operating system, for example "page.1". Note that the period '.' must be included as part of the extension. To specify no extension, enter the word "none". What extension should be used on installed formatted man pages: [.1] Should the formatted manual pages be compressed? [n] Some systems have different model sizes. On most systems they are called small, medium, large, and huge. On the PDP11 they are called unsplit and split. If your system doesn't support different memory models, say "none". If you wish to force everything to one memory model, say "none" here and put the appropriate flags later when it asks you for other cc and ld flags. Xenix and Venix systems may wish to put "none" and let the compiler figure things out. (In the following question multiple model names should be space separated.) Which models are supported? [none] On some systems the default C compiler will not resolve multiple global references that happen to have the same name. On some such systems the "Mcc" command may be used to force these to be resolved. On other systems a "cc -M" command is required. (Note that the -M flag on other systems indicates a memory model to use!) If you have the Gnu C compiler, you might wish to use that instead. What command will force resolution on this system? [cc] Some C compilers have problems with their optimizers, by default, elm2 compiles with the -O flag to use the optimizer. Alternately, you might want to use the symbolic debugger, which uses the -g flag (on traditional UNIX systems). Either flag can be specified here. To use neither flag, specify the word "none". What optimizer/debugger flag should be used? [-O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing ] Your C compiler may want other flags. For this question you should include -I/whatever and -DWHATEVER flags and any other flags used by the C compiler, but you should NOT include libraries or ld flags like -lwhatever. If you want elm to honor its debug flag, add -DDEBUG. To use no flags, specify the word "none". Any additional cc flags? [none] Your linker/loader may want other flags. For example, you might want to enable support for the symbolic debugger (-g on traditional UNIX systems). For this question you should specify those flags. Do NOT specify libraries (-lwhatever) here. Most systems will not need any special flags, in which case specify "none". Any additional ld flags (NOT including libraries)? [-s -L${PREFIX}/lib] Checking for optional libraries... No -lsun. Found -lintl. No -lnls. No -lc_s. Some versions of UNIX support shared libraries, which make executables smaller but make load time slightly longer. On some systems, mostly newer UNIX System V's, the shared library is included by putting the option "-lc_s" as the last thing on the cc command line when linking. Other systems use shared libraries by default. There may be other libraries needed to compile elm2 on your machine as well. If your system needs the "-lc_s" option, include it here. Include any other special libraries here as well. Say "none" for none. Any additional libraries? [-lintl] Your shared C library is in /usr/lib/libc.a. Extracting names from /usr/lib/libc.a /usr/local/lib/libintl.a for later perusal...done Now, how can we feed standard input to your C preprocessor... Maybe "cc -E" will work... Nope, maybe "/usr/bin/cpp" will work... Yup, it does. Your C preprocessor defines the following symbols: unix __STDC__ Using standard system "ctype" conversions. Testing your "fflush" routine... Looks good. Does your system allow chown(-1, group) and chown(user, -1) to not change the user or group respectively. This is usually documented in the chown manual page (man 2 chown). (Most POSIX and BSD systems can, Xenix cannot) Does this system allow -1 as chown argument? [y] Some modern Mail Transport Agents (mailers) support the Content-Length: header. In doing so, they do not wish to have messages escaped to protect 'From ' lines in the body of the message, among other strings. Does the Mail Transport Agent in use on this system honor the Content-Length: header? Honors Content-Length: header? [n] crypt() found. cuserid() not found Elm can either display the hostname on the index page, or just the folder name. If the hostname is displayed, the folder name will read hostname:folder. If not it will just read folder. Should Elm display the hostname as part of the folder name? [n] flock() found. flock locking available. F_SETLK found, fcntl locking available Mail Transport Agents (sendmail, etc.) and Mail User Agents (Elm) can use a variety of file locking protocols. Based on your system type, usage of a network, and MTA/MUAs in use, you may want to configure more than one of the following Mail Locking Protocols. It is recommended that you use as many as are possible on your system to avoid problems. All systems can support the dot locking method (.lock files). Available locking protocols: dot locking (.lock) flock style locking fcntl style locking On some systems, flock style locking and fcntl style locking use the same underlying calls so both are not only not necessary, but may interfere with each other. On other systems they are distinct and both should be used. You will have to consult the documentation for your operating system to determine in which class your system resides. Would you like to use dot lock style mail spool locking? [n] Would you like to use flock style mail spool locking? [y] Would you like to use fcntl style mail spool locking? [n] Non-mailbox locks will use the /var/spool/lock directory Figuring out host name... Maybe "hostname" will work... Your host name appears to be "13amd64-weekly-desktop-job-03". Is this correct? [y] What is your domain name? [.UUCP] gethostname() found. Every now and then someone has a gethostname() that lies about the hostname but can't be fixed for political or economic reasons. Would you like to pretend gethostname() isn't there and maybe compile in the hostname? [n] Elm would like to use the systems definitions of the error messages for system errors. These are usually contained in the global variables sys_errlist[] and sys_nerr. If these do not exist, there is a standard list built into Elm. Does the system support the sys_errlist[] global variable? [y] fsync() found ftruncate() found getopt() found Using string.h instead of strings.h strchr() found. Some systems run MMDF as their Mail Transport Agent. MMDF uses a different way of delimiting messages in the mailbox files. Other systems don't run MMDF but use the MMDF separator in their mailbox files. The MMDF separator is usually a series of four Control A's. elm2 needs to know if this system uses the MMDF style message separator in its mailbox files. Does this system use MMDF style message separator? [n] Give the full path name of the program used to deliver mail on your system: [/usr/sbin/sendmail] Some newer mailers can deliver mail to addresses of the INTERNET persuasion, such as user@host.domain. Other older mailers require the complete uucp ! path to the destination to be specified in the address. Does your mailer understand INTERNET addresses? [y] Elm has the ability to place a call to the GNU ispell spelling checker on its post-message-entry/pre-message-send menu. Configure has found ispell as /usr/local/bin/ispell Should Elm add the ispell option to the pre-send menu? [y] Give the name of the ispell program on your system: [/usr/local/bin/ispell] What options should Elm use with /usr/local/bin/ispell: [] locale.h found, elm2 will call setlocale nl_types.h found, elm2 will include the systems version catgets() found Message catalog routines found The system has the message catalog routines in its library. These routines are new, and on some systems do not function properly. Also, elm2 expects that these routines are X/Open compliant. Should elm2 use its own routines instead of the systems NLS routines? [n] A lot of sites that install the Elm Mail System find that the function E)dit mailbox from within Elm is dangerous and confusing. If you choose, you can instead disable that function, with the program being slightly smaller and presenting an appropriate error message to the user if they try to E)dit their mailbox. Would you like to enable the E)dit Mailbox function? [y] memcpy() found Elm supports the RFC-1521 Multipurpose Internet Mail Extensions (MIME). MIME allows you to use international character sets (not just US-ASCII) in mail messages. MIME also allows multiple objects (binaries, graphics, audio, video, PostScript, spreadsheets -- whatever!) to be attached to mail messages. MIME does not require a graphic display, but some of its neatest capabilities demand one. Elm generates MIME messages on its own. To handle incoming MIME messages, however, you need to install Nathaniel Borenstein's "metamail" package on your system. The most recent version of "metamail" is distributed from thumper.bellcore.com [128.96.41.1]. Additional distribution points are available; consult an "archie" server. You may choose to have Elm pass received MIME messages to "metamail". Otherwise, if you do not have "metamail" (or you elect not to use it), Elm can ignore the MIME attributes and display the message as-is. I do not see "metamail" on this system. Should Elm pass incoming MIME messages to "metamail"? [n] When composing outbound mail messages, Elm checks whether there are any 8-bit "international" characters in the message. If not, the message is labelled as "us-ascii". If there are, Elm needs to specify the character set for the message. What international character set do people on your system most commonly use? "iso-8859-1" is a common selection, and is appropriate for many European languages. (The choice you make here becomes the system default. Users that want a different choice may set an "elmrc" value.) Default for sending messages sent with int'l chars? [DISPLAY] mkdir() found Newmail (Elm's utility to check for incoming mail) can be configured to either run as a foreground process or as a process that automatically forks and runs in the background. Should newmail automatically run in the background? [y] You're running sendmail. Setting noaddfrom, usedomain Some sites do not like to see the mail header "X-mailer:" in outgoing messages. If you choose, you may disable these headers. However, it is strongly urged to leave these headers in the mail to assist in tracking down problems. Would you like to disable the X-mailer: headers? [n] Checking to see if your system has sys/ptem.h... putenv() found The next pair of questions have to do with what to do when another program has locked a mailbox... First, how many times should the Elm check for the removal of the lock file before giving up? Number of lock attempts: [6] Should it REMOVE the lock file after 6 checks? [n] rename() found setegid() found sigset() found sigaction() found. sigprocmask() found. Some sites that install the Elm Mail System may not wish to enable the S)tatus Change function, which permits users to change the status of their messages arbitrarily from within Elm. If you choose, you can instead disable that function, with the program being slightly smaller and presenting an appropriate error message to users if they try to invoke S)tatus Change to alter the status of their messages. Would you like to enable the S)tatus Change function? [n] strspn() found strcspn() found strpbrk() found strerror() found strftime() found strstr() found strtok() found Some sites wish to disable the usage of the shell escape from Elm. If you choose, you can disallow subshells from within Elm. WARNING: This only controls Elm's usage of the ! command. Any pager or editor could still allow subshells. It is also trivial to get a subshell through manipulation of the pipe command or various option settings. DO NOT rely on this as a security measure. Would you like to allow the ! command (subshells)? [y] symlink() found tempnam() found tcsetattr() found You have POSIX termios.h... good! One of the more annoying quirks of the UUCP network and various other systems that interact with it are that everyone seems to have different ideas about how to do routing, etc. Therefore, a lot of times e-mail will arrive from off site with corrupt, unusable "Reply-To:" and "From:" fields. This next question relates to whether your site is liable to get mangled fields or not... Does your site receive e-mail with valid "Reply-To:" and "From:" fields? Use Reply-To: and From: addresses? [y] getdomainname() found The getdomainname system call was found. When running NIS, this usually returns the NIS domain and not the mail domain. If this is the case, it should not be used to obtain the domain name, and the domain name should be compiled into the code, and the global elm.rc file should be used to override the compiled in value. If the getdomainname call does return the correct mail domain, it can be used. Should getdomainname() be used to obtain the mail domain? [n] Testing to see if we should include , or both. I'm now running the test program... Trying -DI_TIME -DI_SYSTIME -DS_TIMEVAL Succeeded with -DI_TIME -DI_SYSTIME -DS_TIMEVAL Found vfork() found Found Found Found Found You have void (*signal())() instead of int. Elm will provide a default subject for mail messages that are sent in batch mode (redirected from a file.) Default batch subject: [no subject (file transmission)] Elm must be configured with a default editor. On most systems this may be 'vi'. If you prefer to use some other, easier editor enter it here. You will be given a change to provide command line options to this command in the next question. What is the default editor on your system? [/usr/bin/vi] If this editor requires any options for proper use, specify them here. To specify no options, enter the word "none". For example, 'pico' users will want to use the -t option. This is the proper place to specify that option. What options should Elm use with /usr/bin/vi: [] Where do you want to put the public executables? [/usr/local/bin] What path do you want to use to install the public executables? [/usr/local/bin] Elm needs a place to store its support files. This includes things such as configuration and help information. They are all readable text files, that may be shared across machines. Where do you want to put the support files? [/usr/local/lib] What path do you want to use to install the public files? [/usr/local/lib] Elm has an option to send messages to the printer. This question asks for the default spooler name. You can also specify options to the command by separating them from the command by at least one space. What print spooler do you prefer to use with Elm? [/usr/bin/lp] Where is yet-to-be-read mail spooled? [/var/mail] Mail group is mail Elm needs to be installed and run as a setgid program only if the mail spool directory permissions do not allow world write access. If your mail spool directory has the permissions: drwxrwxr-x 3 root mail 512 Dec 24 17:20 /usr/mail then Elm must be setgid to the same group as the mail spool directory (in this case group mail). However, if the spool permissions look like: drwxrwsrwt 2 root staff 512 Dec 21 20:14 /usr/spool/mail then Elm should not be installed or run as a setgid program. Am I going to be running as a setgid program? [n] What pager do you prefer to use with elm2? [builtin] Give the full path name of the shell most people like to use on your system: [/bin/csh] Checking how to generate random libraries on your machine... ar: warning: null is not an ordinary file ar appears to generate random libraries itself. remote tape drive is unknown-remote-tape-unit Enter the name of the library that contains your termlib routines. Either "-lfoo" or "/lib/foo.a" format is OK. Enter "none" if no special library needs to be loaded. Where is the library with your termlib routines? [-lncurses] Temporary files will be put in the /tmp directory Figuring out how to get timezone names. Trying -DTZNAME_USE_TM_ZONE Alright! That seems to have worked. End of configuration questions. Creating config.sh... If you didn't make any mistakes, then just type a carriage return here. If you need to edit config.sh, do it as a shell escape here: eval: -lncurses: not found Doing variable substitutions on .SH files... Extracting Make.defs (with variable substitutions) Extracting Makefile (with variable substitutions) Extracting config.h (with variable substitutions) Extracting doc/Makefile (with variable substitutions) Extracting sysdefs.h (with variable substitutions) Extracting lib/Makefile (with variable substitutions) Extracting src/Makefile (with variable substitutions) Extracting utils/Makefile (with variable substitutions) Extracting utils/checkalias (with variable substitutions) Extracting utils/listalias (with variable substitutions) Extracting utils/messages (with variable substitutions) Extracting utils/printmail (with variable substitutions) Now you must run a make. =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Building for elm-2.5.8_7 cd lib && /usr/bin/make -j 8 -B all cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c add_site.c -o add_site.o In file included from add_site.c:29: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ add_site.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 | add_site(buffer, site, lastsite) | ^ add_site.c:42: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 previous declaration [-Wdeprecated-non-prototype] 42 | char *strip_parens(); | ^ ../hdrs/elm_lib.h:364:7: note: conflicting prototype is here 364 | char *strip_parens P_((const char *)); | ^ 37 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c addrmchusr.c -o addrmchusr.o In file included from addrmchusr.c:29: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ addrmchusr.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 | addr_matches_user(addr,user) | ^ 36 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c aliasdb.c -o aliasdb.o In file included from aliasdb.c:37: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ aliasdb.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | bytemap(ino, map1, map2) | ^ aliasdb.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | read_one_alias(db, adr) | ^ aliasdb.c:113:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | struct alias_rec *fetch_alias(db, alias) | ^ aliasdb.c:137:21: warning: passing arguments to 'dbz_fetch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | val = dbz_fetch(db, key); | ^ aliasdb.c:222:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | char *next_addr_in_list(aptr) | ^ 40 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c atonum.c -o atonum.o In file included from atonum.c:24: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ atonum.c:31:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | int atonum(str) | ^ 36 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c basename.c -o basename.o In file included from basename.c:1: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ basename.c:3:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | char *basename(pname) | ^ 36 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c can_access.c -o can_access.o In file included from can_access.c:34: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ can_access.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | can_access(fname, mode) | ^ can_access.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | painful_access_check(file, mode) | ^ 37 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c can_open.c -o can_open.o In file included from can_open.c:32: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ can_open.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | can_open(file, mode) | ^ 36 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c chloc.c -o chloc.o In file included from chloc.c:29: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ chloc.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 | chloc(string, ch) | ^ chloc.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | qchloc(string, ch) | ^ 37 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c date_util.c -o date_util.o In file included from date_util.c:30: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ date_util.c:121:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | int cvt_dayname_to_daynum(str, day_p) | ^ date_util.c:147:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | int cvt_monthname_to_monthnum(str, month_p) | ^ date_util.c:172:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | int cvt_yearstr_to_yearnum(str, year_p) | ^ date_util.c:204:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | int cvt_mmddyy_to_dayofyear(month, dayofmon, year, dayofyear_p) | ^ date_util.c:222:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | int cvt_timezone_to_offset(str, mins_p) | ^ date_util.c:287:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | int cvt_numtz_to_mins(str) | ^ date_util.c:326:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | int cvt_timestr_to_hhmmss(timestr, hours_p, mins_p, secs_p) | ^ date_util.c:397:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | long make_gmttime(year, month, day, hours, mins, secs) | ^ 43 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c elm_access.c -o elm_access.o In file included from elm_access.c:33: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ elm_access.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | elm_access(file, mode) | ^ 36 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c elmrc.c -o elmrc.o In file included from elmrc.c:22: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ 35 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c errno.c -o errno.o In file included from errno.c:34: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ 35 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c expand.c -o expand.o In file included from expand.c:35: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ expand.c:40:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 40 | char *expand_define(); | ^ ../hdrs/elm_lib.h:80:7: note: conflicting prototype is here 80 | char *expand_define P_((const char *)); | ^ expand.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] 43 | expand_maildir(rcfile, buffer) | ^ expand.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 | expand(filename) | ^ expand.c:90:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | printf(catgets(elm_msg_cat, ElmrcSet, ElmrcExpandHome, | ^ expand.c:90:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 90 | printf(catgets(elm_msg_cat, ElmrcSet, ElmrcExpandHome, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 91 | "Can't expand environment variable $HOME to find .elmrc file!\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ expand.c:90:11: note: treat the string as an argument to avoid this 90 | printf(catgets(elm_msg_cat, ElmrcSet, ElmrcExpandHome, | ^ | "%s", expand.c:96:9: warning: call to undeclared function 'getelmrcName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | getelmrcName(buffer,SLEN); | ^ expand.c:162:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | printf(catgets(elm_msg_cat, ElmrcSet, ElmrcExpandShell, | ^ expand.c:132:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | char *expand_define(maildir) | ^ expand.c:40:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | char *expand_define(); | ^ 44 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c fast_getpw.c -o fast_getpw.o In file included from fast_getpw.c:1: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ fast_getpw.c:25:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | struct passwd *fast_getpwuid(uid) | ^ fast_getpw.c:41:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | static struct passwd *pwc_setlru(i) | ^ fast_getpw.c:53:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | static struct passwd *pwc_add(pw) | ^ 38 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c figadrssee.c -o figadrssee.o In file included from figadrssee.c:38: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ figadrssee.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | figure_out_addressee(buf, username, save_fullname) | ^ 36 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c gcos_name.c -o gcos_name.o In file included from gcos_name.c:28: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ gcos_name.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | gcos_name(gcos_field, logname) | ^ 36 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c get_tz.c -o get_tz.o In file included from get_tz.c:27: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ get_tz.c:37: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 previous declaration [-Wdeprecated-non-prototype] 37 | extern struct tm *localtime(); | ^ /usr/include/time.h:127:12: note: conflicting prototype is here 127 | struct tm *localtime(const time_t *); | ^ get_tz.c:38: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 previous declaration [-Wdeprecated-non-prototype] 38 | extern struct tm *gmtime(); | ^ /usr/include/time.h:126:12: note: conflicting prototype is here 126 | struct tm *gmtime(const time_t *); | ^ get_tz.c:39:17: 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 previous declaration [-Wdeprecated-non-prototype] 39 | extern time_t time(); | ^ /usr/include/time.h:131:8: note: conflicting prototype is here 131 | time_t time(time_t *); | ^ get_tz.c:77: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 previous declaration [-Wdeprecated-non-prototype] 77 | extern long make_gmttime(); /* from date_util.c */ | ^ ../hdrs/elm_lib.h:61:6: note: conflicting prototype is here 61 | long make_gmttime P_((int, int, int, int, int, int)); | ^ get_tz.c:114:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | char *get_tz_name(tm) | ^ 40 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c getarpdate.c -o getarpdate.o In file included from getarpdate.c:27: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ getarpdate.c:37: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 previous declaration [-Wdeprecated-non-prototype] 37 | extern struct tm *localtime(); | ^ /usr/include/time.h:127:12: note: conflicting prototype is here 127 | struct tm *localtime(const time_t *); | ^ getarpdate.c:38:17: 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 previous declaration [-Wdeprecated-non-prototype] 38 | extern time_t time(); | ^ /usr/include/time.h:131:8: note: conflicting prototype is here 131 | time_t time(time_t *); | ^ getarpdate.c:48: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 previous declaration [-Wdeprecated-non-prototype] 48 | extern char *get_tz_name(); | ^ ../hdrs/elm_lib.h:107:7: note: conflicting prototype is here 107 | char *get_tz_name P_((struct tm *)); | ^ getarpdate.c:90:12: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 86 | sprintf(buffer, "%s, %d %s %d %02d:%02d:%02d %c%02d%02d (%s)", | ~~~~ | %02ld 87 | arpa_dayname[curr_tm.tm_wday], 88 | curr_tm.tm_mday, arpa_monname[curr_tm.tm_mon], year, 89 | curr_tm.tm_hour, curr_tm.tm_min, curr_tm.tm_sec, 90 | tzsign, tzmin / 60, tzmin % 60, get_tz_name(&curr_tm)); | ^~~~~~~~~~ getarpdate.c:90:24: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 86 | sprintf(buffer, "%s, %d %s %d %02d:%02d:%02d %c%02d%02d (%s)", | ~~~~ | %02ld 87 | arpa_dayname[curr_tm.tm_wday], 88 | curr_tm.tm_mday, arpa_monname[curr_tm.tm_mon], year, 89 | curr_tm.tm_hour, curr_tm.tm_min, curr_tm.tm_sec, 90 | tzsign, tzmin / 60, tzmin % 60, get_tz_name(&curr_tm)); | ^~~~~~~~~~ 40 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c getfullnam.c -o getfullnam.o In file included from getfullnam.c:32: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ getfullnam.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | get_full_name(logname) | ^ getfullnam.c:55:17: 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 previous declaration [-Wdeprecated-non-prototype] 55 | struct passwd *getpwnam(), *pass; | ^ /usr/include/pwd.h:149:16: note: conflicting prototype is here 149 | struct passwd *getpwnam(const char *); | ^ 37 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c gethostname.c -o gethostname.o In file included from gethostname.c:1: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ gethostname.c:9:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | void get_hostname(retval, retsiz) | ^ gethostname.c:59:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | void get_hostdomain(retval, retsiz) | ^ 37 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c getword.c -o getword.o In file included from getword.c:27: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ getword.c:29:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | int get_word(buffer, start, word, wordlen) | ^ 36 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c header_cmp.c -o header_cmp.o In file included from header_cmp.c:39: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ header_cmp.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] 43 | header_cmp(header, prefix, suffix) | ^ header_cmp.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] 84 | header_ncmp(header, prefix, preflen, suffix, sufflen) | ^ 37 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c in_list.c -o in_list.o In file included from in_list.c:35: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ in_list.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | in_list(list, target) | ^ in_list.c:70:9: 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 previous declaration [-Wdeprecated-non-prototype] 70 | char *shift_lower(), | ^ ../hdrs/elm_lib.h:337:7: note: conflicting prototype is here 337 | char *shift_lower P_((char *)); | ^ 37 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c initcommon.c -o initcommon.o In file included from initcommon.c:2: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ initcommon.c:38:26: warning: passing arguments to 'catopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | elm_msg_cat = catopen("elm2.5", 0); | ^ initcommon.c:61:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | fputs(catgets(elm_msg_cat, ErrorSet, ErrorInitCommonNoPasswordEntry, | ^ 37 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c ldstate.c -o ldstate.o In file included from ldstate.c:28: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ ldstate.c:53:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | static char *elm_fgetline(buf, buflen, fp) | ^ ldstate.c:65:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | int load_folder_state_file(fst) | ^ 37 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c len_next.c -o len_next.o In file included from len_next.c:42: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ len_next.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | len_next_part(str) | ^ 36 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c mail_gets.c -o mail_gets.o In file included from mail_gets.c:30: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ mail_gets.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | mail_gets(buffer, size, mailfile) | ^ 36 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c mailfile.c -o mailfile.o In file included from mailfile.c:75: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ mailfile.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 | mailFile_attach(mailfile, filedes) | ^ mailfile.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 | mailFile_copy(mailfile, filedes, error) | ^ mailfile.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | mailFile_gets(buffer, mailfile) | ^ mailfile.c:123:14: warning: passing arguments to 'refill' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | if (refill(mailfile) == 0) | ^ mailfile.c:172:16: warning: passing arguments to 'refill' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | if (refill(mailfile) == 0) { /* EOF or error */ | ^ mailfile.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 | refill(mailfile) | ^ mailfile.c:78:12: 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] 78 | static int refill(); | ^ mailfile.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | mailFile_tell(mailfile) | ^ mailfile.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 | mailFile_seek(mailfile, offset) | ^ mailfile.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 | mailFile_detach(mailfile) | ^ mailfile.c:255:24: warning: if statement has empty body [-Wempty-body] 255 | if (mailfile->filedes); | ^ mailfile.c:255:24: note: put the semicolon on a separate line to silence this warning 46 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c mk_aliases.c -o mk_aliases.o In file included from mk_aliases.c:56: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ mk_aliases.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | get_alias(file, fromelm) | ^ mk_aliases.c:129:37: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | sprintf(msg_buff, catgets(elm_msg_cat, | ^ mk_aliases.c:133:12: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 133 | error(msg_buff); | ^ mk_aliases.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 | get_line(file, buffer, first_line, fromelm) | ^ mk_aliases.c:175:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 175 | error(catgets(elm_msg_cat, NewaliasSet, NewaliasSplitShort, | ^ mk_aliases.c:175:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | error(catgets(elm_msg_cat, NewaliasSet, NewaliasSplitShort, | ^ mk_aliases.c:182:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | sprintf(msg_buff, catgets(elm_msg_cat, | ^ mk_aliases.c:186:6: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 186 | error(msg_buff); | ^ mk_aliases.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 | de_escape(the_string) | ^ mk_aliases.c:240:20: warning: passing arguments to 'dbz_fetch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | ovalue = dbz_fetch(aliases_hash, key); | ^ mk_aliases.c:242:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | sprintf(msg_buff, catgets(elm_msg_cat, | ^ mk_aliases.c:246:6: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 246 | error(msg_buff); | ^ mk_aliases.c:250:15: warning: passing arguments to 'dbz_store' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | if (dbz_store(aliases_hash, key, value) < 0) { | ^ mk_aliases.c:251:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | sprintf(msg_buff, catgets(elm_msg_cat, | ^ mk_aliases.c:254:6: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 254 | error(msg_buff); | ^ mk_aliases.c:267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | add_to_table(data, aliases, lastn, firstn, comment, addresses) | ^ mk_aliases.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | check_alias(aliases) | ^ mk_aliases.c:367:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | sprintf(msg_buff, catgets(elm_msg_cat, | ^ mk_aliases.c:371:6: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 371 | error(msg_buff); | ^ mk_aliases.c:380:33: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | MCsprintf(msg_buff, catgets(elm_msg_cat, | ^ mk_aliases.c:384:6: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 384 | error(msg_buff); | ^ mk_aliases.c:391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | check_address(addresses) | ^ mk_aliases.c:425:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | sprintf(msg_buff, catgets(elm_msg_cat, | ^ mk_aliases.c:429:6: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 429 | error(msg_buff); | ^ mk_aliases.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | despace_address(addresses) | ^ mk_aliases.c:467:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | put_alias(data) | ^ mk_aliases.c:483:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | sprintf(msg_buff, catgets(elm_msg_cat, | ^ mk_aliases.c:487:6: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 487 | error(msg_buff); | ^ mk_aliases.c:527:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | sprintf(msg_buff, catgets(elm_msg_cat, | ^ mk_aliases.c:531:6: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 531 | error(msg_buff); | ^ mk_aliases.c:558:40: warning: while loop has empty body [-Wempty-body] 558 | while (--s >= lastn && isspace(*s) ) ; | ^ mk_aliases.c:558:40: note: put the semicolon on a separate line to silence this warning mk_aliases.c:635:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 635 | do_newalias(inputname, dataname, fromelm, textwarn) | ^ mk_aliases.c:648:10: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 648 | error(catgets(elm_msg_cat, NewaliasSet, NewaliasNoAlloc, | ^ mk_aliases.c:648:23: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | error(catgets(elm_msg_cat, NewaliasSet, NewaliasNoAlloc, | ^ mk_aliases.c:653:16: warning: passing arguments to 'dbz_incore' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | dbz_incore(FALSE); | ^ mk_aliases.c:657:16: warning: passing arguments to 'dbz_incore' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | dbz_incore(TRUE); | ^ mk_aliases.c:663:35: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | sprintf(msg_buff, catgets(elm_msg_cat, | ^ mk_aliases.c:670:6: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 670 | error(msg_buff); | ^ mk_aliases.c:675:31: warning: passing arguments to 'dbz_fresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | if ((aliases_hash = dbz_fresh(dataname, 4999, 0, 0)) == NULL) { | ^ mk_aliases.c:676:33: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | MCsprintf(msg_buff, catgets(elm_msg_cat, | ^ mk_aliases.c:680:6: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 680 | error(msg_buff); | ^ mk_aliases.c:686:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | sprintf(msg_buff, catgets(elm_msg_cat, | ^ mk_aliases.c:689:6: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 689 | error(msg_buff); | ^ mk_aliases.c:707:6: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 707 | error(catgets(elm_msg_cat, NewaliasSet, NewaliasNoSave, | ^ mk_aliases.c:707:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | error(catgets(elm_msg_cat, NewaliasSet, NewaliasNoSave, | ^ mk_aliases.c:713:15: warning: passing arguments to 'dbz_close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | dbz_close(aliases_hash); | ^ mk_aliases.c:728:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 728 | delete_alias_files(dataname, fromelm) | ^ mk_aliases.c:742:10: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 742 | catgets(elm_msg_cat, NewaliasSet, NewaliasCouldntDeleteData, | ^ mk_aliases.c:744:4: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 744 | error(msg_buff); | ^ mk_aliases.c:752:10: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | catgets(elm_msg_cat, NewaliasSet, NewaliasCouldntDeleteHash, | ^ mk_aliases.c:754:4: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 754 | error(msg_buff); | ^ mk_aliases.c:762:10: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 762 | catgets(elm_msg_cat, NewaliasSet, NewaliasCouldntDeleteHash, | ^ mk_aliases.c:764:4: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 764 | error(msg_buff); | ^ 88 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c mk_lockname.c -o mk_lockname.o In file included from mk_lockname.c:25: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ mk_lockname.c:29:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | char * mk_lockname(file_to_lock) | ^ 36 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c mlist.c -o mlist.o In file included from mlist.c:40: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ mlist.c:60:15: warning: passing arguments to 'mlist_read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | mlist_read(buffer); | ^ mlist.c:62:15: warning: passing arguments to 'mlist_read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | mlist_read(buffer); | ^ mlist.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | mlist_read(filename) | ^ mlist.c:45:13: 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] 45 | static void mlist_read(); | ^ mlist.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | parseaddrs(p, array, append) | ^ mlist.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | freeaddrs(array) | ^ mlist.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | mlist_push(arr, str) | ^ mlist.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] 181 | mlist_parse_header_rec(entry) | ^ mlist.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | mlist_match_user(entry) | ^ mlist.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | mlist_match_address(entry, string) | ^ mlist.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | addrmatch(addr, pattern) | ^ 46 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c move_left.c -o move_left.o In file included from move_left.c:28: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ move_left.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | move_left(string, chars) | ^ 36 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c ndbz.c -o ndbz.o In file included from ndbz.c:56: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ ndbz.c:226:13: 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 previous declaration [-Wdeprecated-non-prototype] 226 | extern long atol(); | ^ /usr/include/stdlib.h:94:7: note: conflicting prototype is here 94 | long atol(const char *); | ^ ndbz.c:265:13: warning: passing arguments to 'getconf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | if (getconf((FILE *)NULL, (FILE *)NULL, &c) < 0) | ^ ndbz.c:293:15: warning: passing arguments to 'enstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | fn = enstring(name, dir); | ^ ndbz.c:302:13: warning: passing arguments to 'putconf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | if (putconf(f, &c) < 0) { | ^ ndbz.c:312:15: warning: passing arguments to 'enstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | fn = enstring(name, pag); | ^ ndbz.c:324:17: warning: passing arguments to 'dbz_open' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | return(dbz_open(name, O_RDWR, 0)); | ^ ndbz.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | dbz_fresh(name, size, fs, tagmask) | ^ In file included from ndbz.c:121: ../hdrs/ndbz.h:141:13: 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] 141 | extern DBZ *dbz_fresh(); | ^ ndbz.c:344:17: warning: passing arguments to 'isprime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | while (!isprime(n)) /* and look for a prime */ | ^ ndbz.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | dbzsize(contents) | ^ ndbz.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | isprime(x) | ^ ndbz.c:232:12: 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] 232 | static int isprime(); | ^ ndbz.c:403:15: warning: passing arguments to 'enstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | fn = enstring(oldname, dir); | ^ ndbz.c:412:13: warning: passing arguments to 'getconf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | i = getconf(f, (FILE *)NULL, &c); | ^ ndbz.c:440:15: warning: passing arguments to 'enstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | fn = enstring(name, dir); | ^ ndbz.c:449:13: warning: passing arguments to 'putconf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | i = putconf(f, &c); | ^ ndbz.c:457:15: warning: passing arguments to 'enstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | fn = enstring(name, pag); | ^ ndbz.c:469:17: warning: passing arguments to 'dbz_open' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | return(dbz_open(name, O_RDWR, 0)); | ^ ndbz.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 | dbz_again(name, oldname) | ^ In file included from ndbz.c:121: ../hdrs/ndbz.h:142:13: 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] 142 | extern DBZ *dbz_again(); | ^ ndbz.c:494:21: warning: passing arguments to 'enstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | dirfname = enstring(name, dir); | ^ ndbz.c:514:21: warning: passing arguments to 'enstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | pagfname = enstring(name, pag); | ^ ndbz.c:553:31: warning: passing arguments to 'enstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | db->dbz_basefname = enstring(name, ""); | ^ ndbz.c:569:13: warning: passing arguments to 'getconf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | if (getconf(db->dbz_dirf, db->dbz_pagf, &db->dbz_conf) < 0) { | ^ ndbz.c:583:11: warning: passing arguments to 'mybytemap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | mybytemap(db->dbz_mybmap); | ^ ndbz.c:595:29: warning: passing arguments to 'getcore' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | db->dbz_corepag = getcore(db); | ^ ndbz.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | dbz_open(name, mode, flags) | ^ In file included from ndbz.c:121: ../hdrs/ndbz.h:132:13: 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] 132 | extern DBZ *dbz_open(); | ^ ndbz.c:614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | enstring(s1, s2) | ^ ndbz.c:238: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] 238 | static char *enstring(); | ^ ndbz.c:648:14: warning: passing arguments to 'dbz_sync' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | if (dbz_sync(db) < 0) | ^ ndbz.c:634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | dbz_close(db) | ^ In file included from ndbz.c:121: ../hdrs/ndbz.h:138:12: 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] 138 | extern int dbz_close(); /* in dbz, but not in old dbm */ | ^ ndbz.c:693:14: warning: passing arguments to 'putcore' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | if (putcore(db) < 0) { | ^ ndbz.c:699:14: warning: passing arguments to 'putconf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | if (putconf(db->dbz_dirf, &db->dbz_conf) < 0) | ^ ndbz.c:680:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 680 | dbz_sync(db) | ^ In file included from ndbz.c:121: ../hdrs/ndbz.h:143:12: 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] 143 | extern int dbz_sync(); | ^ ndbz.c:713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | dbz_cancel(db) | ^ In file included from ndbz.c:121: ../hdrs/ndbz.h:146:12: 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] 146 | extern int dbz_cancel(); | ^ ndbz.c:760:27: warning: passing arguments to 'latebase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 760 | db->dbz_basef = latebase(db); | ^ ndbz.c:771:7: warning: passing arguments to 'start' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | start(db, &key, FRESH); | ^ ndbz.c:772:26: warning: passing arguments to 'search' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 772 | while ((key_ptr = search(db)) != NOTFOUND) { | ^ ndbz.c:733:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 733 | dbz_fetch(db, key) | ^ In file included from ndbz.c:121: ../hdrs/ndbz.h:133: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] 133 | extern datum dbz_fetch(); | ^ ndbz.c:809:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | latebase(db) | ^ ndbz.c:233: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] 233 | static FILE *latebase(); | ^ ndbz.c:867:16: warning: passing arguments to 'okayvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 867 | if (!okayvalue(db, value)) { | ^ ndbz.c:873:7: warning: passing arguments to 'start' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 873 | start(db, &key, db->dbz_prevp); | ^ ndbz.c:874:15: warning: passing arguments to 'search' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 874 | while (search(db) != NOTFOUND) | ^ ndbz.c:881:12: warning: passing arguments to 'set' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 881 | return(set(db, value)); | ^ ndbz.c:836:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 836 | dbz_store(db, key, data) | ^ In file included from ndbz.c:121: ../hdrs/ndbz.h:134:12: 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] 134 | extern int dbz_store(); | ^ ndbz.c:888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 888 | dbz_incore(value) | ^ In file included from ndbz.c:121: ../hdrs/ndbz.h:145:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 145 | extern int dbz_incore(); | ^ ndbz.c:920:12: warning: passing arguments to 'mybytemap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 920 | mybytemap(cp->bytemap); | ^ ndbz.c:933:11: warning: passing arguments to 'getno' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 933 | if (getno(df, &err) != dbzversion) | ^ ndbz.c:935:19: warning: passing arguments to 'getno' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 935 | cp->tsize = getno(df, &err); | ^ ndbz.c:936:22: warning: passing arguments to 'getno' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | cp->fieldsep = getno(df, &err); | ^ ndbz.c:939:20: warning: passing arguments to 'getno' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 939 | cp->tagenb = getno(df, &err); | ^ ndbz.c:940:21: warning: passing arguments to 'getno' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | cp->tagmask = getno(df, &err); | ^ ndbz.c:941:22: warning: passing arguments to 'getno' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 941 | cp->tagshift = getno(df, &err); | ^ ndbz.c:942:23: warning: passing arguments to 'getno' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 942 | cp->valuesize = getno(df, &err); | ^ ndbz.c:949:25: warning: passing arguments to 'getno' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 949 | cp->bytemap[i] = getno(df, &err); | ^ ndbz.c:962:22: warning: passing arguments to 'getno' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 962 | cp->used[i] = getno(df, &err); | ^ ndbz.c:901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 901 | getconf(df, pf, cp) | ^ ndbz.c:172:12: 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] 172 | static int getconf(); | ^ ndbz.c:978:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 978 | getno(f, ep) | ^ ndbz.c:173: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] 173 | static int32 getno(); | ^ ndbz.c:1018:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1018 | putconf(f, cp) | ^ ndbz.c:174:12: 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] 174 | static int putconf(); | ^ ndbz.c:1050:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1050 | getcore(db) | ^ ndbz.c:241: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] 241 | static of_t *getcore(); | ^ ndbz.c:1082:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1082 | putcore(db) | ^ ndbz.c:242:12: 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] 242 | static int putcore(); | ^ ndbz.c:1106:10: warning: passing arguments to 'hash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1106 | h = hash(kp->dptr, kp->dsize); | ^ ndbz.c:1098:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1098 | start(db, kp, osp) | ^ ndbz.c:205:13: 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] 205 | static void start(); | ^ ndbz.c:1157:12: warning: passing arguments to 'bytemap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1157 | value = MAPIN(db->dbz_corepag[place]); | ^ ndbz.c:221:53: note: expanded from macro 'MAPIN' 221 | #define MAPIN(o) ((db->dbz_bytesame) ? (o) : bytemap((o), db->dbz_conf.bytemap, db->dbz_mybmap)) | ^ ndbz.c:1173:13: warning: passing arguments to 'bytemap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1173 | value = MAPIN(val); | ^ ndbz.c:221:53: note: expanded from macro 'MAPIN' 221 | #define MAPIN(o) ((db->dbz_bytesame) ? (o) : bytemap((o), db->dbz_conf.bytemap, db->dbz_mybmap)) | ^ ndbz.c:1127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1127 | search(db) | ^ ndbz.c:207:13: 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] 207 | static of_t search(); | ^ ndbz.c:1212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1212 | okayvalue(db, value) | ^ ndbz.c:209:12: 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] 209 | static int okayvalue(); | ^ ndbz.c:1250:10: warning: passing arguments to 'bytemap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1250 | value = MAPOUT(value); | ^ ndbz.c:222:54: note: expanded from macro 'MAPOUT' 222 | #define MAPOUT(o) ((db->dbz_bytesame) ? (o) : bytemap((o), db->dbz_mybmap, db->dbz_conf.bytemap)) | ^ ndbz.c:1229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1229 | set(db, value) | ^ ndbz.c:210:12: 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] 210 | static int set(); | ^ ndbz.c:1291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1291 | mybytemap(map) | ^ ndbz.c:175:13: 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] 175 | static void mybytemap(); | ^ ndbz.c:1325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1325 | bytemap(ino, map1, map2) | ^ ndbz.c:176:13: 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] 176 | static of_t bytemap(); | ^ ndbz.c:1395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1395 | hash(name, size) | ^ ndbz.c:230:13: 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] 230 | static long hash(); | ^ ndbz.c:1412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1412 | dbzdebug(value) | ^ 128 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c okay_addr.c -o okay_addr.o In file included from okay_addr.c:33: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ okay_addr.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] 43 | okay_address(address, return_address) | ^ 36 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c opt_utils.c -o opt_utils.o In file included from opt_utils.c:34: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ opt_utils.c:45:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | char *cuserid(usrname) | ^ opt_utils.c:65:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 65 | register returnonly = 0; | ~~~~~~~~ ^ | int 37 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c parsarpdat.c -o parsarpdat.o In file included from parsarpdat.c:25: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ parsarpdat.c:67:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | int parse_arpa_date(datestr, entry) | ^ 36 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c parsarpmbox.c -o parsarpmbox.o In file included from parsarpmbox.c:92: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ parsarpmbox.c:102:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | int parse_arpa_mailbox(buf, ret_addr, len_addr, ret_name, len_name, next_field) | ^ parsarpmbox.c:149:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | static int fullname_is_quoted(fn_str, fn_len) | ^ parsarpmbox.c:169:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | static int parse_bare_addrspec(buf, | ^ parsarpmbox.c:289:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | static int parse_angle_addrspec(buf, | ^ 39 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c parsarpwho.c -o parsarpwho.o In file included from parsarpwho.c:35: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ parsarpwho.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | parse_arpa_who(buffer, fullname) | ^ 36 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c patmatch.c -o patmatch.o In file included from patmatch.c:1: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ patmatch.c:38:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | int patmatch(pat, str, opts) | ^ patmatch.c:67:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | static int trymatch(str, pat, pstop, opts) | ^ 37 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c posixsig.c -o posixsig.o In file included from posixsig.c:29: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ posixsig.c:46:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | (*posix_signal(signo, fun))(int) | ^ 36 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c putenv.c -o putenv.o In file included from putenv.c:31: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ 35 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c qstrings.c -o qstrings.o In file included from qstrings.c:30: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ qstrings.c:32:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | char *qstrpbrk(source, keys) | ^ qstrings.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | qstrspn(source, keys) | ^ qstrings.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 | qstrcspn(source, keys) | ^ 38 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c realfrom.c -o realfrom.o In file included from realfrom.c:25: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ realfrom.c:28:13: 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 previous declaration [-Wdeprecated-non-prototype] 28 | extern long make_gmttime(); | ^ ../hdrs/elm_lib.h:61:6: note: conflicting prototype is here 61 | long make_gmttime P_((int, int, int, int, int, int)); | ^ realfrom.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 | real_from(buffer, entry) | ^ 37 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c remfirstwd.c -o remfirstwd.o In file included from remfirstwd.c:28: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ remfirstwd.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 | remove_first_word(string) | ^ remfirstwd.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | remove_header_keyword(string) | ^ 37 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c reverse.c -o reverse.o In file included from reverse.c:28: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ reverse.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 | reverse(string) | ^ 36 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c rfc822tlen.c -o rfc822tlen.o In file included from rfc822tlen.c:27: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ rfc822tlen.c:75:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | int rfc822_toklen(str) | ^ 36 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c safemalloc.c -o safemalloc.o In file included from safemalloc.c:27: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ safemalloc.c:38:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | void dflt_safe_malloc_fail_handler(proc, len) | ^ safemalloc.c:42:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | fprintf(stderr, catgets(elm_msg_cat, ErrorSet, | ^ safemalloc.c:54:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | malloc_t safe_malloc(len) | ^ safemalloc.c:64:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | malloc_t safe_realloc(p, len) | ^ safemalloc.c:74:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | char *safe_strdup(s) | ^ 40 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c shiftlower.c -o shiftlower.o In file included from shiftlower.c:31: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ shiftlower.c:33:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | char *shift_lower(string) | ^ 36 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c strfcpy.c -o strfcpy.o In file included from strfcpy.c:30: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ strfcpy.c:36:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | char *strfcpy(dest, src, len) | ^ strfcpy.c:54:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | void strfcat(dest, src, len) | ^ 37 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c strftime.c -o strftime.o In file included from strftime.c:67: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ 35 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c strincmp.c -o strincmp.o In file included from strincmp.c:37: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ strincmp.c:45:31: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 45 | for (c = 1<<(8*sizeof(char)) - 1; c >= 0; c--) | ~~~~~~~~~~~~~~~~~~~^~~ strincmp.c:45:31: note: place parentheses around the '-' expression to silence this warning 45 | for (c = 1<<(8*sizeof(char)) - 1; c >= 0; c--) | ^ | ( ) strincmp.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 | strincmp(s1,s2,n) | ^ strincmp.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | istrcmp(s1,s2) | ^ 38 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c striparens.c -o striparens.o In file included from striparens.c:34: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ striparens.c:38:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | char *strip_parens(src) | ^ striparens.c:56:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | char *get_parens(src) | ^ 37 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c strstr.c -o strstr.o In file included from strstr.c:28: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ 35 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c strtokq.c -o strtokq.o In file included from strtokq.c:30: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ strtokq.c:32:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | char *strtokq(source, keys, flag) | ^ 36 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c tail_of.c -o tail_of.o In file included from tail_of.c:30: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ tail_of.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | tail_of(from, buffer, to) | ^ 36 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c trim.c -o trim.o In file included from trim.c:1: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ trim.c:8:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | char *trim_trailing_slashes(str) | ^ trim.c:24:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | char *trim_trailing_spaces(str) | ^ trim.c:40:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | char *trim_quotes(str) | ^ 38 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c validname.c -o validname.o In file included from validname.c:28: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ validname.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | valid_name(name) | ^ validname.c:54:17: 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 previous declaration [-Wdeprecated-non-prototype] 54 | struct passwd *getpwnam(); | ^ /usr/include/pwd.h:149:16: note: conflicting prototype is here 149 | struct passwd *getpwnam(const char *); | ^ 37 warnings generated. ar r libutil.a add_site.o addrmchusr.o aliasdb.o atonum.o basename.o can_access.o can_open.o chloc.o date_util.o elm_access.o elmrc.o errno.o expand.o fast_getpw.o figadrssee.o gcos_name.o get_tz.o getarpdate.o getfullnam.o gethostname.o getword.o header_cmp.o in_list.o initcommon.o ldstate.o len_next.o mail_gets.o mailfile.o mk_aliases.o mk_lockname.o mlist.o move_left.o ndbz.o okay_addr.o opt_utils.o parsarpdat.o parsarpmbox.o parsarpwho.o patmatch.o posixsig.o putenv.o qstrings.o realfrom.o remfirstwd.o reverse.o rfc822tlen.o safemalloc.o shiftlower.o strfcpy.o strftime.o strincmp.o striparens.o strstr.o strtokq.o tail_of.o trim.o validname.o ar: warning: creating libutil.a : libutil.a cd src && /usr/bin/make -j 8 -B all cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c addr_util.c -o addr_util.o In file included from addr_util.c:49: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ addr_util.c:54:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 54 | translate_return(addr, ret_addr) | ^ | int addr_util.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] addr_util.c:129:1: warning: non-void function does not return a value [-Wreturn-type] 129 | } | ^ addr_util.c:176:34: warning: passing arguments to 'get_alias_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | if ((ptr = get_alias_address(word, TRUE, &too_long)) != NULL) { | ^ addr_util.c:221:37: warning: passing arguments to 'get_alias_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | else if ((ptr = get_alias_address(word, TRUE, &too_long)) != NULL) { | ^ addr_util.c:225:33: warning: passing arguments to 'strip_commas' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | k = get_word(strip_commas(ptr), 0, word_a, sizeof(word_a)); | ^ addr_util.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 | build_address(to, full_to) | ^ addr_util.c:331:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 331 | forwarded(buffer, entry) | ^ | int addr_util.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] addr_util.c:379:1: warning: non-void function does not return a value [-Wreturn-type] 379 | } | ^ addr_util.c:382:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 382 | fix_arpa_address(address) | ^ | int addr_util.c:400:26: warning: passing arguments to 'get_token' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | while ((host = get_token(addrptr, "%@", 2)) != NULL) { | ^ addr_util.c:409:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | error(catgets(elm_msg_cat, ElmSet, ElmCantBuildRetAddr, | ^ addr_util.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] 382 | fix_arpa_address(address) | ^ 49 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c alias.c -o alias.o In file included from alias.c:49: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ alias.c:75:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 75 | open_alias_files(are_in_aliases) | ^ | int alias.c:78:5: warning: call to undeclared function 'open_system_aliases'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 78 | if(open_system_aliases() | open_user_aliases()) { | ^ alias.c:78:29: warning: call to undeclared function 'open_user_aliases'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 78 | if(open_system_aliases() | open_user_aliases()) { | ^ alias.c:81:6: warning: call to undeclared function 'get_aliases'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | get_aliases(are_in_aliases); | ^ alias.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | open_alias_files(are_in_aliases) | ^ alias.c:83:1: warning: non-void function does not return a value [-Wreturn-type] 83 | } | ^ alias.c:111:19: warning: passing arguments to 'dbz_close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | dbz_close(system_hash); | ^ alias.c:113:33: warning: passing arguments to 'dbz_open' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | if ((system_hash = dbz_open(system_data_file, O_RDONLY, 0)) == NULL) | ^ alias.c:171:19: warning: passing arguments to 'dbz_close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | dbz_close(user_hash); | ^ alias.c:173:31: warning: passing arguments to 'dbz_open' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | if ((user_hash = dbz_open(fname, O_RDONLY, 0)) == NULL) | ^ alias.c:246:33: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | PutLine0(LINES-2,0, catgets(elm_msg_cat, | ^ alias.c:250:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | ans = enter_yn(catgets(elm_msg_cat, AliasesSet, AliasesCreateGroup, | ^ alias.c:259:33: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | PutLine1(LINES-2,0, catgets(elm_msg_cat, | ^ alias.c:259:14: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | PutLine1(LINES-2,0, catgets(elm_msg_cat, | ^ alias.c:263:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | ans = enter_yn(catgets(elm_msg_cat, AliasesSet, AliasesCreateGroup, | ^ alias.c:305:16: warning: call to undeclared function 'superceed_system'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 305 | if( ! superceed_system(to_replace, buffer)) { | ^ alias.c:312:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | strcpy(buffer, catgets(elm_msg_cat, | ^ alias.c:317:21: warning: call to undeclared function 'get_aliasname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 317 | if ((replace = get_aliasname(aliasname, buffer, &to_replace)) < 0) { | ^ alias.c:342:15: warning: passing arguments to 'get_realnames' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | get_realnames(aliasname, firstname, lastname, comment, buffer); | ^ alias.c:350:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | sprintf(buffer, catgets(elm_msg_cat, | ^ alias.c:362:23: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | error(catgets(elm_msg_cat, AliasesSet, AliasesNoAddressSpec, | ^ alias.c:373:5: warning: call to undeclared function 'ask_accept'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 373 | if(ask_accept(aliasname, firstname, lastname, comment, address1, | ^ alias.c:384:18: warning: call to undeclared function 'show_msg_tag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 384 | show_msg_tag(i); | ^ alias.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | add_alias(replace, to_replace) | ^ alias.c:421:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | error(catgets(elm_msg_cat, AliasesSet, AliasesNoMessage, | ^ alias.c:427:24: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | strcpy(buffer, catgets(elm_msg_cat, AliasesSet, AliasesCurrentMessage, | ^ alias.c:432:17: warning: call to undeclared function 'get_aliasname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 432 | if ((replace = get_aliasname(aliasname, buffer, &to_replace)) < 0) { | ^ alias.c:527:15: warning: passing arguments to 'get_realnames' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | get_realnames(aliasname, firstname, lastname, comment, buffer); | ^ alias.c:530:2: warning: call to undeclared function 'get_return'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 530 | get_return(address1, curr_folder.curr_mssg-1); | ^ alias.c:533:9: warning: call to undeclared function 'ask_accept'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 533 | return(ask_accept(aliasname, firstname, lastname, comment, address1, | ^ alias.c:538:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 538 | add_to_alias_text(aliasname, firstname, lastname, comment, address) | ^ | int alias.c:554:2: warning: call to undeclared function 'save_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 554 | save_file_stats(fname); | ^ alias.c:561:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | error1(catgets(elm_msg_cat, AliasesSet, AliasesCouldntOpenAdd, | ^ alias.c:561:10: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | error1(catgets(elm_msg_cat, AliasesSet, AliasesCouldntOpenAdd, | ^ alias.c:582:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | error1(catgets(elm_msg_cat, AliasesSet, AliasesCouldntWrite, | ^ alias.c:582:12: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | error1(catgets(elm_msg_cat, AliasesSet, AliasesCouldntWrite, | ^ alias.c:590:2: warning: call to undeclared function 'restore_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 590 | restore_file_stats(fname); | ^ alias.c:538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | add_to_alias_text(aliasname, firstname, lastname, comment, address) | ^ alias.c:595:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 595 | delete_from_alias_text(name, num_to_delete) | ^ | int alias.c:625:2: warning: call to undeclared function 'save_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 625 | save_file_stats(fname); | ^ alias.c:633:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | error1(catgets(elm_msg_cat, AliasesSet, AliasesCouldntOpenDelete, | ^ alias.c:633:10: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | error1(catgets(elm_msg_cat, AliasesSet, AliasesCouldntOpenDelete, | ^ alias.c:644:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | error1(catgets(elm_msg_cat, AliasesSet, AliasesCouldntOpenTemp, | ^ alias.c:644:10: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | error1(catgets(elm_msg_cat, AliasesSet, AliasesCouldntOpenTemp, | ^ alias.c:654:26: warning: call to undeclared function 'parse_aliases'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 654 | if (num_aliases = parse_aliases(line_in_file, rest_of_line)) { | ^ alias.c:654:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 654 | if (num_aliases = parse_aliases(line_in_file, rest_of_line)) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alias.c:654:24: note: place parentheses around the assignment to silence this warning 654 | if (num_aliases = parse_aliases(line_in_file, rest_of_line)) { | ^ | ( ) alias.c:654:24: note: use '==' to turn this assignment into an equality comparison 654 | if (num_aliases = parse_aliases(line_in_file, rest_of_line)) { | ^ | == alias.c:685:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 685 | error1(catgets(elm_msg_cat, AliasesSet, AliasesCouldntWriteTemp, | ^ alias.c:685:14: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 685 | error1(catgets(elm_msg_cat, AliasesSet, AliasesCouldntWriteTemp, | ^ alias.c:698:17: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | error1(catgets(elm_msg_cat, AliasesSet, AliasesCouldntRenameTemp, | ^ alias.c:698:9: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | error1(catgets(elm_msg_cat, AliasesSet, AliasesCouldntRenameTemp, | ^ alias.c:703:2: warning: call to undeclared function 'restore_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 703 | restore_file_stats(fname); | ^ alias.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 | delete_from_alias_text(name, num_to_delete) | ^ alias.c:729:2: warning: call to undeclared function 'main_state'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 729 | main_state(); /* Save globals for return to main menu */ | ^ alias.c:733:2: warning: call to undeclared function 'alias_screen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 733 | alias_screen(newaliases); | ^ alias.c:750:26: warning: call to undeclared function 'alias_help'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 750 | case '?': redraw += alias_help(); break; | ^ alias.c:755:18: warning: call to undeclared function 'subshell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 755 | redraw += subshell(); | ^ alias.c:760:40: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 760 | case '$': PutLine0(-1, -1, catgets(elm_msg_cat, | ^ alias.c:767:13: warning: call to undeclared function 'delete_aliases'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 767 | if (resync_aliases(newaliases)) { | ^ alias.c:63:36: note: expanded from macro 'resync_aliases' 63 | #define resync_aliases(newaliases) delete_aliases(newaliases,TRUE) | ^ alias.c:774:40: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | case 'a': PutLine0(-1, -1, catgets(elm_msg_cat, | ^ alias.c:786:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | PutLine0(-1, -1, catgets(elm_msg_cat, | ^ alias.c:796:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | error(catgets(elm_msg_cat, | ^ alias.c:803:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 803 | catgets(elm_msg_cat, AliasesSet, AliasesEdit, | ^ alias.c:802:24: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | case 'e': PutLine1(LINES-3, strlen(nls_Prompt), | ^ alias.c:811:20: warning: call to undeclared function 'edit_aliases_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 811 | if (edit_aliases_text()) { | ^ alias.c:819:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | PutLine0(-1, -1, catgets(elm_msg_cat, | ^ alias.c:821:30: warning: call to undeclared function 'a_sendmsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 821 | redraw += a_sendmsg(); | ^ alias.c:824:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 824 | error(catgets(elm_msg_cat, | ^ alias.c:830:40: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | case 'n': PutLine0(-1, -1, catgets(elm_msg_cat, | ^ alias.c:845:40: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 845 | case 'R': PutLine0(-1, -1, catgets(elm_msg_cat, | ^ alias.c:867:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 867 | error(catgets(elm_msg_cat, | ^ alias.c:874:52: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 874 | PutLine1(LINES-1, 0, catgets(elm_msg_cat, | ^ alias.c:874:32: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 874 | PutLine1(LINES-1, 0, catgets(elm_msg_cat, | ^ alias.c:880:52: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 880 | PutLine1(LINES-1, 0, catgets(elm_msg_cat, | ^ alias.c:880:32: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 880 | PutLine1(LINES-1, 0, catgets(elm_msg_cat, | ^ alias.c:887:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | error(catgets(elm_msg_cat, | ^ alias.c:894:40: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 894 | case 'X': PutLine0(-1, -1, catgets(elm_msg_cat, | ^ alias.c:897:16: warning: call to undeclared function 'exit_alias'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 897 | exit_alias(); | ^ alias.c:908:39: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 908 | strcpy(buffer, catgets(elm_msg_cat, | ^ alias.c:917:40: warning: passing arguments to 'get_alias_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 917 | address = get_alias_address(name, TRUE, &too_long); | ^ alias.c:921:35: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 921 | PutLine1(2,0, catgets(elm_msg_cat, | ^ alias.c:921:22: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 921 | PutLine1(2,0, catgets(elm_msg_cat, | ^ alias.c:936:56: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | PutLine0(LINES-1, 0, catgets(elm_msg_cat, | ^ alias.c:947:23: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 947 | error(catgets(elm_msg_cat, | ^ alias.c:953:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | error(catgets(elm_msg_cat, | ^ alias.c:967:16: warning: call to undeclared function 'motion'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 967 | default : motion(ch); | ^ alias.c:977:8: warning: call to undeclared function 'alias_title'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 977 | alias_title(newaliases); | ^ alias.c:981:4: warning: call to undeclared function 'check_range'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 981 | check_range(); | ^ alias.c:984:6: warning: call to undeclared function 'show_headers'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 984 | show_headers(); | ^ alias.c:986:6: warning: call to undeclared function 'show_current'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 986 | show_current(); | ^ alias.c:991:8: warning: call to undeclared function 'show_alias_menu'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 991 | show_alias_menu(); | ^ alias.c:1019:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1019 | error(catgets(elm_msg_cat, AliasesSet, AliasesUpdating, | ^ alias.c:1035:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1035 | error1(catgets(elm_msg_cat, AliasesSet, AliasesReReading, | ^ alias.c:1035:12: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1035 | error1(catgets(elm_msg_cat, AliasesSet, AliasesReReading, | ^ alias.c:1040:23: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1040 | set_error(catgets(elm_msg_cat, AliasesSet, AliasesUpdatedOK, | ^ alias.c:1045:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1045 | alias_help() | ^ | int alias.c:1059:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1059 | alias_prompt = catgets(elm_msg_cat, AliasesSet, AliasesShortKey, | ^ alias.c:1062:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1062 | alias_prompt = catgets(elm_msg_cat, AliasesSet, AliasesLongKey, | ^ alias.c:1068:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1068 | CenterLine(LINES-3, catgets(elm_msg_cat, AliasesSet, AliasesKeyMenu, | ^ alias.c:1076:17: warning: call to undeclared function 'display_helpfile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1076 | case '?' : display_helpfile("alias"); | ^ alias.c:1080:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1080 | case '$': error(catgets(elm_msg_cat, AliasesSet, AliasesHelpDollar, | ^ alias.c:1084:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1084 | case '/': error(catgets(elm_msg_cat, AliasesSet, AliasesHelpSlash, | ^ alias.c:1091:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1091 | case 'v': error(catgets(elm_msg_cat, AliasesSet, AliasesHelpv, | ^ alias.c:1095:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1095 | case 'a': error(catgets(elm_msg_cat, AliasesSet, AliasesHelpa, | ^ alias.c:1099:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1099 | case 'c': error(catgets(elm_msg_cat, AliasesSet, AliasesHelpc, | ^ alias.c:1103:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1103 | case 'd': error(catgets(elm_msg_cat, AliasesSet, AliasesHelpd, | ^ alias.c:1107:35: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1107 | case ctrl('D'): error(catgets(elm_msg_cat, AliasesSet, AliasesHelpCtrlD, | ^ alias.c:1111:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1111 | case 'e': error(catgets(elm_msg_cat, AliasesSet, AliasesHelpe, | ^ alias.c:1115:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1115 | case 'f': error(catgets(elm_msg_cat, AliasesSet, AliasesHelpf, | ^ alias.c:1119:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1119 | case 'l': error(catgets(elm_msg_cat, AliasesSet, AliasesHelpl, | ^ alias.c:1123:35: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1123 | case ctrl('L'): error(catgets(elm_msg_cat, AliasesSet, AliasesHelpCtrlL, | ^ alias.c:1127:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1127 | case 'm': error(catgets(elm_msg_cat, AliasesSet, AliasesHelpm, | ^ alias.c:1131:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1131 | case 'n': error(catgets(elm_msg_cat, AliasesSet, AliasesHelpn, | ^ alias.c:1137:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1137 | case 'i': error(catgets(elm_msg_cat, AliasesSet, AliasesHelpi, | ^ alias.c:1143:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1143 | case 'I': error(catgets(elm_msg_cat, AliasesSet, AliasesHelpQ, | ^ alias.c:1147:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1147 | case 't': error(catgets(elm_msg_cat, AliasesSet, AliasesHelpt, | ^ alias.c:1151:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1151 | case 'T': error(catgets(elm_msg_cat, AliasesSet, AliasesHelpT, | ^ alias.c:1155:35: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1155 | case ctrl('T'): error(catgets(elm_msg_cat, AliasesSet, AliasesHelpCtrlT, | ^ alias.c:1159:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1159 | case 'u': error(catgets(elm_msg_cat, AliasesSet, AliasesHelpu, | ^ alias.c:1163:35: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1163 | case ctrl('U'): error(catgets(elm_msg_cat, AliasesSet, AliasesHelpCtrlU, | ^ alias.c:1168:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1168 | case 'X': error(catgets(elm_msg_cat, AliasesSet, AliasesHelpX, | ^ alias.c:1172:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1172 | default : error(catgets(elm_msg_cat, AliasesSet, AliasesHelpNoHelp, | ^ alias.c:1184:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1184 | get_aliases(are_in_aliases) | ^ | int alias.c:1210:13: warning: call to undeclared function 'get_one_alias'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1210 | while (get_one_alias(user_hash, curr_alias)) { | ^ alias.c:1228:13: warning: call to undeclared function 'get_one_alias'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1228 | while (get_one_alias(system_hash, curr_alias)) { | ^ alias.c:1233:7: warning: call to undeclared function 'find_alias'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1233 | if (find_alias(aliases[curr_alias]->alias, USER) >= 0) { | ^ alias.c:1254:6: warning: call to undeclared function 'sort_aliases'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1254 | sort_aliases((num_aliases+num_duplicates), FALSE, are_in_aliases); | ^ alias.c:1257:17: warning: call to undeclared function 'get_page'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1257 | (void) get_page(curr_alias); | ^ alias.c:1184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1184 | get_aliases(are_in_aliases) | ^ alias.c:1261:1: warning: non-void function does not return a value [-Wreturn-type] 1261 | } | ^ alias.c:1263:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1263 | get_one_alias(db, current) | ^ | int alias.c:1263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] alias.c:1297:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1297 | main_state() | ^ | int alias.c:1316:24: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1316 | nls_item = catgets(elm_msg_cat, ElmSet, Elmitem, "message"); | ^ alias.c:1317:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1317 | nls_items = catgets(elm_msg_cat, ElmSet, Elmitems, "messages"); | ^ alias.c:1318:24: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1318 | nls_Item = catgets(elm_msg_cat, ElmSet, ElmItem, "Message"); | ^ alias.c:1319:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1319 | nls_Items = catgets(elm_msg_cat, ElmSet, ElmItems, "Messages"); | ^ alias.c:1320:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1320 | nls_Prompt = catgets(elm_msg_cat, ElmSet, ElmPrompt, "Command: "); | ^ alias.c:1336:24: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1336 | nls_item = catgets(elm_msg_cat, AliasesSet, Aliasesitem, "alias"); | ^ alias.c:1337:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1337 | nls_items = catgets(elm_msg_cat, AliasesSet, Aliasesitems, "aliases"); | ^ alias.c:1338:24: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1338 | nls_Item = catgets(elm_msg_cat, AliasesSet, AliasesItem, "Alias"); | ^ alias.c:1339:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1339 | nls_Items = catgets(elm_msg_cat, AliasesSet, AliasesItems, "Aliases"); | ^ alias.c:1340:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1340 | nls_Prompt = catgets(elm_msg_cat, AliasesSet, AliasesPrompt, "Alias: "); | ^ alias.c:1347:1: warning: non-void function does not return a value [-Wreturn-type] 1347 | } | ^ alias.c:1350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1350 | parse_aliases(buffer, remainder) | ^ alias.c:1437:13: warning: call to undeclared function 'find_alias'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1437 | if ((loc = find_alias(aliasname, USER)) >= 0) { | ^ alias.c:1442:37: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1442 | PutLine1(LINES-2,0, catgets(elm_msg_cat, | ^ alias.c:1442:18: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1442 | PutLine1(LINES-2,0, catgets(elm_msg_cat, | ^ alias.c:1446:37: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1446 | PutLine1(LINES-2,0, catgets(elm_msg_cat, | ^ alias.c:1446:18: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1446 | PutLine1(LINES-2,0, catgets(elm_msg_cat, | ^ alias.c:1454:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1454 | if (!enter_yn(catgets(elm_msg_cat, AliasesSet, | ^ alias.c:1474:12: warning: call to undeclared function 'superceed_system'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1474 | if( ! superceed_system(loc, buffer)) | ^ alias.c:1400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1400 | get_aliasname(aliasname, buffer, duplicate) | ^ alias.c:1487:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1487 | PutLine2(LINES-2, 0, catgets(elm_msg_cat, | ^ alias.c:1489:16: warning: passing arguments to 'alias_type' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1489 | alias_type(aliases[this_alias]->type), aliases[this_alias]->alias); | ^ alias.c:1487:10: warning: passing arguments to 'PutLine2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1487 | PutLine2(LINES-2, 0, catgets(elm_msg_cat, | ^ alias.c:1494:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1494 | return enter_yn(catgets(elm_msg_cat, AliasesSet, AliasesSuperceed, | ^ alias.c:1482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1482 | superceed_system(this_alias, buffer) | ^ alias.c:1504:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1504 | sprintf(buffer, catgets(elm_msg_cat, AliasesSet, AliasesEnterLastName, | ^ alias.c:1509:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1509 | sprintf(buffer, catgets(elm_msg_cat, AliasesSet, AliasesEnterFirstName, | ^ alias.c:1524:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1524 | sprintf(buffer, catgets(elm_msg_cat, AliasesSet, AliasesEnterComment, | ^ alias.c:1499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1499 | get_realnames(aliasname, firstname, lastname, comment, buffer) | ^ alias.c:66:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | void get_realnames(); | ^ alias.c:1555:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1555 | PutLine2(LINES-1,0, catgets(elm_msg_cat, AliasesSet, AliasesAddressAs, | ^ alias.c:1555:10: warning: passing arguments to 'PutLine2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1555 | PutLine2(LINES-1,0, catgets(elm_msg_cat, AliasesSet, AliasesAddressAs, | ^ alias.c:1562:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1562 | PutLine2(LINES-2,0, catgets(elm_msg_cat, AliasesSet, AliasesAddressTo, | ^ alias.c:1562:10: warning: passing arguments to 'PutLine2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1562 | PutLine2(LINES-2,0, catgets(elm_msg_cat, AliasesSet, AliasesAddressTo, | ^ alias.c:1570:24: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1570 | ans = enter_yn(catgets(elm_msg_cat, AliasesSet, AliasesAcceptNew, | ^ alias.c:1591:10: warning: call to undeclared function 'show_msg_status'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1591 | show_msg_status(replacement); | ^ alias.c:1532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1532 | ask_accept(aliasname, firstname, lastname, comment, address, buffer, | ^ alias.c:1621:2: warning: call to undeclared function 'get_return_address'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1621 | get_return_address(address, return_address); | ^ alias.c:1613:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1613 | char *address_to_alias(address) | ^ 206 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c aliaslib.c -o aliaslib.o In file included from aliaslib.c:35: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ aliaslib.c:53:6: warning: call to undeclared function 'main_state'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 53 | main_state(); | ^ aliaslib.c:59:2: warning: call to undeclared function 'open_alias_files'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | open_alias_files(are_in_aliases); | ^ aliaslib.c:65:6: warning: call to undeclared function 'do_get_alias'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | if (do_get_alias(name,&bufptr,&bufsize,mailing,FALSE,0,too_longp)) { | ^ aliaslib.c:82:6: warning: call to undeclared function 'main_state'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 82 | main_state(); | ^ aliaslib.c:43:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | char *get_alias_address(name, mailing, too_longp) | ^ In file included from aliaslib.c:36: ../hdrs/elm_globals.h:413: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] 413 | char *get_alias_address(); | ^ aliaslib.c:112:2: warning: call to undeclared function 'remove_possible_trailing_spaces'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 112 | remove_possible_trailing_spaces( name = strip_parens(name) ); | ^ aliaslib.c:122:16: warning: call to undeclared function 'find_alias'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 122 | if ( (loc = find_alias(name, USER)) >= 0 ) { | ^ aliaslib.c:135:16: warning: call to undeclared function 'find_alias'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 135 | if ( (loc = find_alias(name, SYSTEM)) >= 0 ) { | ^ aliaslib.c:161:8: warning: call to undeclared function 'add_name_to_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 161 | if (add_name_to_list(abuf, bufptr, bufsizep)) { | ^ aliaslib.c:174:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | error1(catgets(elm_msg_cat, ElmSet, ElmErrorExpanding, | ^ aliaslib.c:174:12: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | error1(catgets(elm_msg_cat, ElmSet, ElmErrorExpanding, | ^ aliaslib.c:182:11: warning: call to undeclared function 'do_expand_group'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 182 | return do_expand_group(abuf,bufptr,bufsizep,sysalias,depth,too_longp); | ^ aliaslib.c:186:10: warning: call to undeclared function 'add_name_to_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 186 | if (add_name_to_list(abuf, bufptr, bufsizep)) { | ^ aliaslib.c:201:6: warning: call to undeclared function 'add_name_to_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 201 | if (add_name_to_list(abuf, bufptr, bufsizep)) { | ^ aliaslib.c:92:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | int do_get_alias(name, bufptr, bufsizep, mailing, sysalias, depth, too_longp) | ^ aliaslib.c:234:4: warning: call to undeclared function 'remove_possible_trailing_spaces'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 234 | remove_possible_trailing_spaces(name); | ^ aliaslib.c:256:10: warning: call to undeclared function 'add_name_to_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 256 | if ( !add_name_to_list(name, bufptr, bufsizep) ) { | ^ aliaslib.c:216:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | int do_expand_group(group, bufptr, bufsizep, sysalias, depth, too_longp) | ^ aliaslib.c:286:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | error(catgets(elm_msg_cat, ElmSet, ElmAliasExpTooLong, | ^ aliaslib.c:273:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | int add_name_to_list(name,bufptr,bufsizep) | ^ 56 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c args.c -o args.o In file included from args.c:47: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ args.c:74:41: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | case 'c' : fprintf(stderr, catgets(elm_msg_cat, ElmSet, | ^ args.c:74:34: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 74 | case 'c' : fprintf(stderr, catgets(elm_msg_cat, ElmSet, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | ElmUseCheckaliasInstead, | ~~~~~~~~~~~~~~~~~~~~~~~~ 76 | "Error - the \"-c\" option is obsolete.\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 | Use the \"checkalias\" command instead\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ args.c:74:34: note: treat the string as an argument to avoid this 74 | case 'c' : fprintf(stderr, catgets(elm_msg_cat, ElmSet, | ^ | "%s", args.c:83:18: warning: call to undeclared function 'args_help'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | case 'h' : args_help(); | ^ args.c:91:21: warning: call to undeclared function 'setelmrcName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | case 'r' : setelmrcName(optarg);break; | ^ args.c:98:18: warning: call to undeclared function 'args_version'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 98 | case 'v' : args_version(); | ^ args.c:105:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmArgsIngoringDebug, | ^ args.c:105:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 105 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmArgsIngoringDebug, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 106 | "Warning: system created without debugging enabled - request ignored\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ args.c:105:20: note: treat the string as an argument to avoid this 105 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmArgsIngoringDebug, | ^ | "%s", args.c:116:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, | ^ args.c:116:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 116 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 117 | ElmArgsTooManyAddresses, | ~~~~~~~~~~~~~~~~~~~~~~~~ 118 | "\n\rToo many addresses, or addresses too long!\n\r")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ args.c:116:22: note: treat the string as an argument to avoid this 116 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, | ^ | "%s", args.c:137:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmArgsInclFileBatch, | ^ args.c:137:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 137 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmArgsInclFileBatch, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 138 | "\n\rCan't specify an included file in batch mode!\n\r")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ args.c:137:24: note: treat the string as an argument to avoid this 137 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmArgsInclFileBatch, | ^ | "%s", args.c:142:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmArgsNoFileBatch, | ^ args.c:142:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 142 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmArgsNoFileBatch, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 143 | "\n\rMust specify a recipient in batch mode.\n\r")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ args.c:142:22: note: treat the string as an argument to avoid this 142 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmArgsNoFileBatch, | ^ | "%s", args.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | parse_arguments(argc, argv, to_whom) | ^ args.c:151:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 151 | args_help() | ^ | int args.c:155:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmArgsHelp1, | ^ args.c:155:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 155 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmArgsHelp1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 156 | "\nPossible Starting Arguments for ELM program:\n\n\r\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 157 | \targ\t\t\tMeaning\n\r\ | ~~~~~~~~~~~~~~~~~~~~~~~ 158 | \t -a \t\tArrow - use the arrow pointer regardless\n\r\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 159 | \t -c \t\tCheckalias - check the given aliases only\n\r\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 160 | \t -dn\t\tDebug - set debug level to 'n'\n\r\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 161 | \t -fx\t\tFolder - read folder 'x' rather than incoming mailbox\n\r\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 162 | \t -h \t\tHelp - give this list of options\n\r\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | \t -ix\t\tInclude prepared file 'x' in edit buffer for send\n\r")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ args.c:155:18: note: treat the string as an argument to avoid this 155 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmArgsHelp1, | ^ | "%s", args.c:164:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmArgsHelp2, | ^ args.c:164:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 164 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmArgsHelp2, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 165 | "\t -K \t\t- Enable use of HP 2622 softkeys\n\r\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 166 | \t -M \t\tMagic mode - treat all folders as spool files.\n\r\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 167 | \t -m \t\tMenu - Turn off menu, using more of the screen\n\r\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 168 | \t -rx \t\tRcfile - Use 'x' as the elmrc instead of the default\n\r\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 169 | \t -S \t\tSend-only mode\n\r\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 170 | \t -sx\t\tSubject 'x' - for batch mailing\n\r\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | \t -t \t\tTiTe - don't use termcap/terminfo ti/te entries.\n\r\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | \t -V \t\tEnable sendmail voyeur mode.\n\r\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 173 | \t -v \t\tPrint out ELM version information.\n\r\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 174 | \t -z \t\tZero - don't enter ELM if no mail is pending\n\r\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 175 | \n\n")); | ~~~~~~ args.c:164:18: note: treat the string as an argument to avoid this 164 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmArgsHelp2, | ^ | "%s", args.c:179:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 179 | args_version() | ^ | int 55 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c a_edit.c -o a_edit.o In file included from a_edit.c:33: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ a_edit.c:36:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 36 | edit_aliases_text() | ^ | int a_edit.c:51:6: warning: call to undeclared function 'edit_a_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 51 | if (edit_a_file(at_file) < 0) { | ^ a_edit.c:57:2: warning: call to undeclared function 'install_aliases'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | install_aliases(); | ^ 38 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c a_screen.c -o a_screen.o In file included from a_screen.c:32: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ a_screen.c:39:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 39 | alias_screen(modified) | ^ | int a_screen.c:46:2: warning: call to undeclared function 'alias_title'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 46 | alias_title(modified); | ^ a_screen.c:49:2: warning: call to undeclared function 'show_headers'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 49 | show_headers(); | ^ a_screen.c:52:4: warning: call to undeclared function 'show_alias_menu'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 52 | show_alias_menu(); | ^ a_screen.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | alias_screen(modified) | ^ a_screen.c:56:1: warning: non-void function does not return a value [-Wreturn-type] 56 | } | ^ a_screen.c:58:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 58 | alias_title(modified) | ^ | int a_screen.c:68:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | strcpy(modmsg, catgets(elm_msg_cat, AliasesSet, AliasesModified, | ^ a_screen.c:76:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | MCsprintf(buffer, catgets(elm_msg_cat, AliasesSet, AliasesSelect, | ^ a_screen.c:80:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | sprintf(buffer, catgets(elm_msg_cat, AliasesSet, AliasesSingle, | ^ a_screen.c:83:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | MCsprintf(buffer, catgets(elm_msg_cat, AliasesSet, AliasesPlural, | ^ a_screen.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | alias_title(modified) | ^ a_screen.c:89:1: warning: non-void function does not return a value [-Wreturn-type] 89 | } | ^ a_screen.c:91:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 91 | show_alias_menu() | ^ | int a_screen.c:97:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | CenterLine(LINES-7, catgets(elm_msg_cat, AliasesSet, AliasesRMenuLn1, | ^ a_screen.c:99:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | CenterLine(LINES-6, catgets(elm_msg_cat, AliasesSet, AliasesRMenuLn2, | ^ a_screen.c:101:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | CenterLine(LINES-5, catgets(elm_msg_cat, AliasesSet, AliasesRMenuLn3, | ^ a_screen.c:103:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | CenterLine(LINES-4, catgets(elm_msg_cat, AliasesSet, AliasesRMenuLn4, | ^ a_screen.c:107:33: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | CenterLine(LINES-7, catgets(elm_msg_cat, AliasesSet, AliasesMenuLn1, | ^ a_screen.c:109:33: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | CenterLine(LINES-6, catgets(elm_msg_cat, AliasesSet, AliasesMenuLn2, | ^ a_screen.c:111:33: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | CenterLine(LINES-5, catgets(elm_msg_cat, AliasesSet, AliasesMenuLn3, | ^ a_screen.c:115:1: warning: non-void function does not return a value [-Wreturn-type] 115 | } | ^ a_screen.c:117:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 117 | build_alias_line(buffer, entry, message_number, highlight) | ^ | int a_screen.c:141:14: warning: passing arguments to 'show_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | show_status(entry->status), | ^ a_screen.c:158:13: warning: passing arguments to 'alias_type' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | alias_type(entry->type), | ^ a_screen.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 | build_alias_line(buffer, entry, message_number, highlight) | ^ a_screen.c:160:1: warning: non-void function does not return a value [-Wreturn-type] 160 | } | ^ a_screen.c:173:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | strcpy(mybuffer, catgets(elm_msg_cat, AliasesSet, | ^ a_screen.c:176:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | strcpy(mybuffer, catgets(elm_msg_cat, AliasesSet, | ^ a_screen.c:181:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | strcat(mybuffer, catgets(elm_msg_cat, AliasesSet, | ^ a_screen.c:162:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | char *alias_type(type) | ^ a_screen.c: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 *alias_type(); | ^ 67 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c a_sendmsg.c -o a_sendmsg.o In file included from a_sendmsg.c:1: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ a_sendmsg.c:43:2: warning: call to undeclared function 'main_state'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | main_state(); | ^ a_sendmsg.c:53:10: warning: call to undeclared function 'show_msg_tag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 53 | show_msg_tag(i); | ^ 37 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c a_sort.c -o a_sort.o In file included from a_sort.c:33: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ a_sort.c:40:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 40 | sort_aliases(entries, visible, are_in_aliases) | ^ | int a_sort.c:58:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | error1(catgets(elm_msg_cat, AliasesSet, AliasesSort, | ^ a_sort.c:58:12: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | error1(catgets(elm_msg_cat, AliasesSet, AliasesSort, | ^ a_sort.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | sort_aliases(entries, visible, are_in_aliases) | ^ a_sort.c:72:1: warning: non-void function does not return a value [-Wreturn-type] 72 | } | ^ a_sort.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | compare_aliases(p1, p2) | ^ a_sort.c:138:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | char *alias_sort_name(longname) | ^ a_sort.c:145:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | ? catgets(elm_msg_cat, AliasesSet, AliasesRevAliasName, | ^ a_sort.c:147:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | : catgets(elm_msg_cat, AliasesSet, AliasesRevAliasAbr, | ^ a_sort.c:150:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | ? catgets(elm_msg_cat, AliasesSet, AliasesRevFullName, | ^ a_sort.c:152:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | : catgets(elm_msg_cat, AliasesSet, AliasesRevFullAbr, | ^ a_sort.c:155:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | ? catgets(elm_msg_cat, AliasesSet, AliasesRevTextFile, | ^ a_sort.c:157:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | : catgets(elm_msg_cat, AliasesSet, AliasesRevTextAbr, | ^ a_sort.c:163:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | ? catgets(elm_msg_cat, AliasesSet, AliasesAliasName, | ^ a_sort.c:165:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | : catgets(elm_msg_cat, AliasesSet, AliasesAliasAbr, | ^ a_sort.c:168:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | ? catgets(elm_msg_cat, AliasesSet, AliasesFullName, | ^ a_sort.c:170:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | : catgets(elm_msg_cat, AliasesSet, AliasesFullAbr, | ^ a_sort.c:173:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | ? catgets(elm_msg_cat, AliasesSet, AliasesTextFile, | ^ a_sort.c:175:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | : catgets(elm_msg_cat, AliasesSet, AliasesTextAbr, | ^ a_sort.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | alias_old_current(iindex) | ^ 55 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c a_quit.c -o a_quit.o In file included from a_quit.c:35: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ a_quit.c:90:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | strcpy(buffer, catgets(elm_msg_cat, AliasesSet, AliasesDelete, | ^ a_quit.c:93:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | sprintf(buffer, catgets(elm_msg_cat, AliasesSet, AliasesDeletePlural, | ^ a_quit.c:121:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | sprintf(buffer, catgets(elm_msg_cat, AliasesSet, AliasesKeepDelete, | ^ a_quit.c:124:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | MCsprintf(buffer, catgets(elm_msg_cat, AliasesSet, AliasesKeepDeletePlural, | ^ a_quit.c:129:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | sprintf(buffer, catgets(elm_msg_cat, AliasesSet, AliasesDeleteAll, | ^ a_quit.c:129:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 129 | sprintf(buffer, catgets(elm_msg_cat, AliasesSet, AliasesDeleteAll, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 130 | "[Deleting all aliases.]")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ a_quit.c:129:24: note: treat the string as an argument to avoid this 129 | sprintf(buffer, catgets(elm_msg_cat, AliasesSet, AliasesDeleteAll, | ^ | "%s", a_quit.c:136:6: warning: call to undeclared function 'delete_from_alias_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 136 | delete_from_alias_text(list, to_delete); | ^ a_quit.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | delete_aliases(newaliases, prompt) | ^ a_quit.c:155:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 155 | exit_alias() | ^ | int a_quit.c:168:1: warning: non-void function does not return a value [-Wreturn-type] 168 | } | ^ 45 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c bouncebk.c -o bouncebk.o In file included from bouncebk.c:37: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ bouncebk.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] 43 | uucp_hops(to) | ^ bouncebk.c:70:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | char *bounce_off_remote(to) | ^ bouncebk.c:40:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | char *bounce_off_remote(); /* forward declaration */ | ^ 38 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c builtin.c -o builtin.o In file included from builtin.c:41: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ builtin.c:45:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 45 | static unfilled_lines, | ~~~~~~ ^ | int builtin.c:46:2: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 45 | static unfilled_lines, | ~~~~~~ | int 46 | form_title; | ^ builtin.c:52:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 52 | start_builtin(lines_in_message) | ^ | int builtin.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] builtin.c:67:1: warning: non-void function does not return a value [-Wreturn-type] 67 | } | ^ builtin.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 | next_line(inputptr, inputlenptr, output, outputlenptr, width) | ^ builtin.c:223:33: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | MCsprintf(footer, catgets(elm_msg_cat, ElmSet, ElmMoreUser0, | ^ builtin.c:227:33: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | MCsprintf(footer, catgets(elm_msg_cat, ElmSet, ElmMoreUser0Plural, | ^ builtin.c:232:33: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | MCsprintf(footer, catgets(elm_msg_cat, ElmSet, ElmMoreUser1, | ^ builtin.c:236:33: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | MCsprintf(footer, catgets(elm_msg_cat, ElmSet, ElmMoreUser1Plural, | ^ builtin.c:241:33: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | MCsprintf(footer, catgets(elm_msg_cat, ElmSet, ElmMoreUser2, | ^ builtin.c:245:33: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | MCsprintf(footer, catgets(elm_msg_cat, ElmSet, ElmMoreUser2Plural, | ^ builtin.c:274:8: warning: call to undeclared function 'title_for_page'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 274 | title_for_page(++pages_displayed); | ^ builtin.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 | display_line(input_line, input_size) | ^ builtin.c:295:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 295 | title_for_page(page) | ^ | int builtin.c:306:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 306 | static t1_len, t2_len; | ~~~~~~ ^ | int builtin.c:306:17: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 306 | static t1_len, t2_len; | ~~~~~~ ^ | int builtin.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 | title_for_page(page) | ^ builtin.c:338:1: warning: non-void function does not return a value [-Wreturn-type] 338 | } | ^ 54 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c calendar.c -o calendar.o In file included from calendar.c:41: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ calendar.c:63:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | error1(catgets(elm_msg_cat, ErrorSet, ErrorCalendarCanOpen, | ^ calendar.c:63:10: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | error1(catgets(elm_msg_cat, ErrorSet, ErrorCalendarCanOpen, | ^ calendar.c:68:2: warning: call to undeclared function 'save_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | save_file_stats(calendar_file); | ^ calendar.c:76:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | error1(catgets(elm_msg_cat, ErrorSet, ErrorCalendarAppend, | ^ calendar.c:76:10: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | error1(catgets(elm_msg_cat, ErrorSet, ErrorCalendarAppend, | ^ calendar.c:81:10: warning: call to undeclared function 'extract_info'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | count = extract_info(calendar); | ^ calendar.c:85:2: warning: call to undeclared function 'restore_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | restore_file_stats(calendar_file); | ^ calendar.c:89:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | error1(catgets(elm_msg_cat, ErrorSet, ErrorCalendarSavedPlural, | ^ calendar.c:89:12: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | error1(catgets(elm_msg_cat, ErrorSet, ErrorCalendarSavedPlural, | ^ calendar.c:92:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | error(catgets(elm_msg_cat, ErrorSet, ErrorCalendarSaved, | ^ calendar.c:95:17: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | error(catgets(elm_msg_cat, ErrorSet, ErrorCalendarNoneSaved, | ^ calendar.c:122:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | error1(catgets(elm_msg_cat, ErrorSet, ErrorCalendarSeek, | ^ calendar.c:122:17: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | error1(catgets(elm_msg_cat, ErrorSet, ErrorCalendarSeek, | ^ calendar.c:142:25: warning: passing arguments to 'is_cal_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | if((cp = is_cal_entry(buffer)) != NULL) { | ^ calendar.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | extract_info(save_to_fd) | ^ calendar.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 | is_cal_entry(string) | ^ 51 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c chstatus.c -o chstatus.o In file included from chstatus.c:26: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ 35 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c curses.c -o curses.o In file included from curses.c:44: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ curses.c:115:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | fprintf(stderr, S_(ElmInitScreenNoTerm, | ^ curses.c:56:29: note: expanded from macro 'S_' 56 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ curses.c:115:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 115 | fprintf(stderr, S_(ElmInitScreenNoTerm, | ^~~~~~~~~~~~~~~~~~~~~~~ 116 | "You must set the \"TERM\" environment parameter so that I know what\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 117 | kind of terminal you are using.\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curses.c:56:22: note: expanded from macro 'S_' 56 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curses.c:115:18: note: treat the string as an argument to avoid this 115 | fprintf(stderr, S_(ElmInitScreenNoTerm, | ^ | "%s", curses.c:56:22: note: expanded from macro 'S_' 56 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ curses.c:121:9: warning: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 121 | i = tgetent(TC_tcapbuf, cp); | ^ curses.c:127:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | fprintf(stderr, S_(ElmInitScreenUnknownTerm, | ^ curses.c:56:29: note: expanded from macro 'S_' 56 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ curses.c:132:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | fprintf(stderr, S_(ElmInitScreenNoTcap, | ^ curses.c:56:29: note: expanded from macro 'S_' 56 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ curses.c:132:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 132 | fprintf(stderr, S_(ElmInitScreenNoTcap, | ^~~~~~~~~~~~~~~~~~~~~~~ 133 | "I cannot access your termcap/terminfo database to load the\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 134 | information on your terminal.\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curses.c:56:22: note: expanded from macro 'S_' 56 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curses.c:132:18: note: treat the string as an argument to avoid this 132 | fprintf(stderr, S_(ElmInitScreenNoTcap, | ^ | "%s", curses.c:56:22: note: expanded from macro 'S_' 56 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ curses.c:137:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | fprintf(stderr, S_(ElmInitScreenGetentFailed, | ^ curses.c:56:29: note: expanded from macro 'S_' 56 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ curses.c:147:31: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | TC_start_termcap = tgetstr("ti", &tp); | ^ curses.c:148:29: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | TC_end_termcap = tgetstr("te", &tp); | ^ curses.c:150:29: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | TC_clearscreen = tgetstr("cl", &tp); | ^ curses.c:152:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | tget_complain("cl", S_(ElmInitScreenTcapcl, "clear screen")); | ^ curses.c:56:29: note: expanded from macro 'S_' 56 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ curses.c:153:29: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | TC_cleartoeoln = tgetstr("ce", &tp); | ^ curses.c:155:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | tget_complain("ce", S_(ElmInitScreenTcapce, "clear to end of line")); | ^ curses.c:56:29: note: expanded from macro 'S_' 56 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ curses.c:156:28: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | TC_cleartoeos = tgetstr("cd", &tp); | ^ curses.c:158:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | tget_complain("cd", S_(ElmInitScreenTcapcd, "clear to end of display")); | ^ curses.c:56:29: note: expanded from macro 'S_' 56 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ curses.c:160:24: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | TC_moveto = tgetstr("cm", &tp); | ^ curses.c:162:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | tget_complain("cm", S_(ElmInitScreenTcapcm, "cursor motion")); | ^ curses.c:56:29: note: expanded from macro 'S_' 56 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ curses.c:164:20: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | TC_up = tgetstr("up", &tp); | ^ curses.c:166:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | tget_complain("cm", S_(ElmInitScreenTcapcu, "move cursor up")); | ^ curses.c:56:29: note: expanded from macro 'S_' 56 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ curses.c:168:22: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | TC_down = tgetstr("do", &tp); | ^ curses.c:172:23: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | TC_right = tgetstr("nd", &tp); | ^ curses.c:174:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | tget_complain("nd", S_(ElmInitScreenTcapnd, "move cursor right")); | ^ curses.c:56:29: note: expanded from macro 'S_' 56 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ curses.c:176:22: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | TC_left = tgetstr("le", &tp); | ^ curses.c:178:6: warning: call to undeclared function 'tgetflag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 178 | if (tgetflag("bs")) { | ^ curses.c:179:28: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | if ((TC_left = tgetstr("bc", &tp)) == NULL) | ^ curses.c:197:30: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | TC_start_insert = tgetstr("im", &tp); | ^ curses.c:198:28: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | TC_end_insert = tgetstr("ei", &tp); | ^ curses.c:199:29: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | TC_char_insert = tgetstr("ic", &tp); | ^ curses.c:200:28: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | TC_pad_insert = tgetstr("ip", &tp); | ^ curses.c:202:30: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | TC_start_delete = tgetstr("dm", &tp); | ^ curses.c:203:28: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | TC_end_delete = tgetstr("ed", &tp); | ^ curses.c:204:29: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | TC_char_delete = tgetstr("dc", &tp); | ^ curses.c:206:32: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | TC_start_standout = tgetstr("so", &tp); | ^ curses.c:207:30: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | TC_end_standout = tgetstr("se", &tp); | ^ curses.c:208:29: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | TC_transmit_on = tgetstr("ks", &tp); | ^ curses.c:209:30: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | TC_transmit_off = tgetstr("ke", &tp); | ^ curses.c:211:21: warning: call to undeclared function 'tgetnum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 211 | if ((TC_lines = tgetnum("li")) < 0) | ^ curses.c:218:21: warning: call to undeclared function 'tgetflag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 218 | TC_automargin = tgetflag("am"); | ^ curses.c:247:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | fprintf(stderr, S_(ElmInitScreenGetattrFailed, | ^ curses.c:56:29: note: expanded from macro 'S_' 56 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ curses.c:313:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | static void tget_complain(capname, descrip) | ^ curses.c:317:21: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | fprintf(stderr, S_(ElmInitScreenTcapMissing, | ^ curses.c:56:29: note: expanded from macro 'S_' 56 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ curses.c:388:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | static int knode_addkey(capname, tp, kcode) | ^ curses.c:397:24: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | if ((kstr = tgetstr(capname, tp)) == NULL || strlen(kstr) < 2) | ^ curses.c:448:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | PUBLIC int knode_parse(kval) | ^ curses.c:480:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | PUBLIC void EnableFkeys(newstate) | ^ curses.c:492:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 492 | tputs(TC_transmit_on, 1, outchar); | ^ curses.c:495:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 495 | tputs(TC_transmit_off, 1, outchar); | ^ curses.c:517:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | PUBLIC void GetCursorPos(line_p, col_p) | ^ curses.c:535:30: warning: parameter 'col' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 535 | PUBLIC void MoveCursor(line, col) | ^ 536 | { curses.c:535:24: warning: parameter 'line' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 535 | PUBLIC void MoveCursor(line, col) | ^ 536 | { curses.c:535:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | PUBLIC void MoveCursor(line, col) | ^ curses.c:547:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 547 | tputs(tgoto(TC_moveto, col, line), 1, outchar); | ^ curses.c:547:13: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | tputs(tgoto(TC_moveto, col, line), 1, outchar); | ^ curses.c:583:6: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 583 | tputs(TC_left, 1, outchar); | ^ curses.c:588:6: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 588 | tputs(TC_right, 1, outchar); | ^ curses.c:600:6: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 600 | tputs(TC_up, 1, outchar); | ^ curses.c:605:6: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 605 | tputs(TC_down, 1, outchar); | ^ curses.c:619:5: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 619 | tputs(TC_clearscreen, 1, outchar); | ^ curses.c:628:5: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 628 | tputs(TC_cleartoeoln, 1, outchar); | ^ curses.c:636:5: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 636 | tputs(TC_cleartoeos, 1, outchar); | ^ curses.c:644:5: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 644 | tputs(TC_start_standout, 1, outchar); | ^ curses.c:652:5: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 652 | tputs(TC_end_standout, 1, outchar); | ^ curses.c:657:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | PUBLIC void WriteChar(ch) | ^ curses.c:692:3: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 692 | tputs(TC_left, 1, outchar); | ^ curses.c:698:3: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 698 | tputs(tgoto(TC_moveto, TC_curr_col, TC_curr_line), 1, outchar); | ^ curses.c:698:14: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | tputs(tgoto(TC_moveto, TC_curr_col, TC_curr_line), 1, outchar); | ^ curses.c:776:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | PUBLIC void InsertChar(ch) | ^ curses.c:782:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 782 | tputs(TC_start_insert, 1, outchar); | ^ curses.c:801:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | PUBLIC void DeleteChar(n) | ^ curses.c:806:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 806 | tputs(TC_start_delete, 1, outchar); | ^ curses.c:814:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 814 | PUBLIC void Raw(state) | ^ curses.c:830:6: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 830 | tputs(TC_start_termcap, 1, outchar); | ^ curses.c:834:6: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 834 | tputs(TC_end_termcap, 1, outchar); | ^ curses.c:870:12: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 870 | error1("Error reading terminal! [%s]", strerror(errno)); | ^ curses.c:871:2: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 871 | leave(LEAVE_EMERGENCY); | ^ curses.c:877:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 877 | PUBLIC void UnreadCh(ch) | ^ curses.c:898:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 898 | static int outchar(c) | ^ curses.c:965:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 965 | static void debug_termtitle(line, col, title) | ^ curses.c:975:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 975 | static void debug_termstr(line, col, title, value) | ^ curses.c:995:14: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 995 | PutLine1(-1, -1, "\\%03o", *value); | ^ curses.c:1001:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1001 | static void debug_termnum(line, col, title, value) | ^ curses.c:1007:13: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1007 | PutLine1(-1, -1, "%d", value); | ^ curses.c:1011:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1011 | static void debug_termflag(line, col, title, value) | ^ 118 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c date.c -o date.o In file included from date.c:29: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ In file included from date.c:39: /usr/include/sys/timeb.h:43:2: warning: "this file includes which is deprecated" [-W#warnings] 43 | #warning "this file includes which is deprecated" | ^ date.c:43: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 previous declaration [-Wdeprecated-non-prototype] 43 | extern struct tm *localtime(); | ^ /usr/include/time.h:127:12: note: conflicting prototype is here 127 | struct tm *localtime(const time_t *); | ^ date.c:44: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 previous declaration [-Wdeprecated-non-prototype] 44 | extern struct tm *gmtime(); | ^ /usr/include/time.h:126:12: note: conflicting prototype is here 126 | struct tm *gmtime(const time_t *); | ^ date.c:45:17: 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 previous declaration [-Wdeprecated-non-prototype] 45 | extern time_t time(); | ^ /usr/include/time.h:131:8: note: conflicting prototype is here 131 | time_t time(time_t *); | ^ date.c:57:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 57 | days_ahead(days, buffer) | ^ | int date.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] date.c:102:1: warning: non-void function does not return a value [-Wreturn-type] 102 | } | ^ date.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | month_number(name) | ^ date.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | elm_date_str(buf, entry, show_century) | ^ date.c:131:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 131 | make_menu_date(entry) | ^ | int date.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] date.c:136:1: warning: non-void function does not return a value [-Wreturn-type] 136 | } | ^ 47 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c delete.c -o delete.o In file included from delete.c:33: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ delete.c:41:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 41 | delete_msg(real_del, update_screen) | ^ | int delete.c:55:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | error(catgets(elm_msg_cat, ElmSet, ElmNoDelSysAlias, | ^ delete.c:64:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | error(catgets(elm_msg_cat, ElmSet, ElmNoDelSysAlias, | ^ delete.c:78:6: warning: call to undeclared function 'show_msg_status'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 78 | show_msg_status(curr_alias-1); | ^ delete.c:79:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 79 | else | ^ delete.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | delete_msg(real_del, update_screen) | ^ delete.c:81:1: warning: non-void function does not return a value [-Wreturn-type] 81 | } | ^ delete.c:84:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 84 | undelete_msg(update_screen) | ^ | int delete.c:92:6: warning: call to undeclared function 'show_msg_status'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 92 | show_msg_status(curr_alias-1); | ^ delete.c:96:6: warning: call to undeclared function 'show_msg_status'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | show_msg_status(curr_folder.curr_mssg-1); | ^ delete.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] 84 | undelete_msg(update_screen) | ^ delete.c:99:1: warning: non-void function does not return a value [-Wreturn-type] 99 | } | ^ delete.c:102:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 102 | show_msg_status(msg) | ^ | int delete.c:110:9: warning: call to undeclared function 'on_page'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 110 | if (on_page(msg)) { | ^ delete.c:118:17: warning: passing arguments to 'show_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | s = show_status(status); | ^ delete.c:119:13: warning: call to undeclared function 'compute_visible'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 119 | MoveCursor(msg_line(msg), 2); | ^ delete.c:37:26: note: expanded from macro 'msg_line' 37 | #define msg_line(msg) (((compute_visible((msg)+1)-1) % headers_per_page) + 4) | ^ delete.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | show_msg_status(msg) | ^ delete.c:126:1: warning: non-void function does not return a value [-Wreturn-type] 126 | } | ^ delete.c:146:6: warning: call to undeclared function 'show_msg_tag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 146 | show_msg_tag(curr_alias-1); | ^ delete.c:156:6: warning: call to undeclared function 'show_msg_tag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 156 | show_msg_tag(curr_folder.curr_mssg-1); | ^ delete.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | tag_message(update_screen) | ^ delete.c:163:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 163 | show_msg_tag(msg) | ^ | int delete.c:170:9: warning: call to undeclared function 'on_page'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 170 | if (on_page(msg)) { | ^ delete.c:178:13: warning: call to undeclared function 'compute_visible'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 178 | MoveCursor(msg_line(msg), 4); | ^ delete.c:37:26: note: expanded from macro 'msg_line' 37 | #define msg_line(msg) (((compute_visible((msg)+1)-1) % headers_per_page) + 4) | ^ delete.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 | show_msg_tag(msg) | ^ delete.c:185:1: warning: non-void function does not return a value [-Wreturn-type] 185 | } | ^ delete.c:187:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 187 | show_new_status(msg) | ^ | int delete.c:197:9: warning: call to undeclared function 'on_page'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 197 | if (on_page(msg)) { | ^ delete.c:205:13: warning: call to undeclared function 'compute_visible'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 205 | MoveCursor(msg_line(msg), 2); | ^ delete.c:37:26: note: expanded from macro 'msg_line' 37 | #define msg_line(msg) (((compute_visible((msg)+1)-1) % headers_per_page) + 4) | ^ delete.c:208:30: warning: passing arguments to 'show_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | PutLine0(-1, -1, show_status(status)); | ^ delete.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | show_new_status(msg) | ^ delete.c:214:1: warning: non-void function does not return a value [-Wreturn-type] 214 | } | ^ 67 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c edit.c -o edit.o In file included from edit.c:39: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ edit.c:51:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | error3(catgets(elm_msg_cat, ElmSet, ElmCouldntCopyMailfile, | ^ edit.c:51:8: warning: passing arguments to 'error3' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | error3(catgets(elm_msg_cat, ElmSet, ElmCouldntCopyMailfile, | ^ edit.c:54:2: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | leave(LEAVE_ERROR|LEAVE_KEEP_TEMPFOLDER); | ^ edit.c:47:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | static void copy_failed_emergency_exit(cur_folder, edited_file) | ^ edit.c:58:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 58 | edit_mailbox() | ^ | int edit.c:78:7: warning: call to undeclared function 'save_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 78 | if(save_file_stats(curr_folder.filename) != 0) { | ^ edit.c:79:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | error1(catgets(elm_msg_cat, ElmSet, ElmPermFolder, | ^ edit.c:79:12: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | error1(catgets(elm_msg_cat, ElmSet, ElmPermFolder, | ^ edit.c:90:6: warning: call to undeclared function 'edit_a_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 90 | if (edit_a_file(edited_file) < 0) | ^ edit.c:98:13: warning: passing arguments to 'bytes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | if (bytes(curr_folder.filename) != curr_folder.size) { | ^ edit.c:104:33: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | PutLine0(LINES, 0, catgets(elm_msg_cat, ElmSet, ElmWarnNewMailRecv, | ^ edit.c:112:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | set_error(catgets(elm_msg_cat, ElmSet, ElmCouldntReopenTemp, | ^ edit.c:119:7: warning: call to undeclared function 'elm_lock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 119 | elm_lock(LOCK_OUTGOING); | ^ edit.c:124:32: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | sprintf(buffer, catgets(elm_msg_cat, ElmSet, ElmCouldntOpenFolder, | ^ edit.c:129:9: warning: call to undeclared function 'elm_unlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 129 | elm_unlock(); | ^ edit.c:136:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | set_error(catgets(elm_msg_cat, ElmSet, ElmCouldntSeekEnd, | ^ edit.c:140:9: warning: call to undeclared function 'elm_unlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 140 | elm_unlock(); | ^ edit.c:156:13: warning: call to undeclared function 'elm_lock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 156 | } else elm_lock(LOCK_OUTGOING); | ^ edit.c:164:9: warning: call to undeclared function 'copy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 164 | if (copy(edited_file, curr_folder.filename, TRUE) < 0) | ^ edit.c:169:8: warning: call to undeclared function 'restore_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 169 | if(restore_file_stats(curr_folder.filename) != 1) { | ^ edit.c:170:21: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | error1(catgets(elm_msg_cat, ElmSet, ElmProblemsRestoringPerms, | ^ edit.c:170:13: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | error1(catgets(elm_msg_cat, ElmSet, ElmProblemsRestoringPerms, | ^ edit.c:181:5: warning: call to undeclared function 'elm_unlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 181 | elm_unlock(); | ^ edit.c:183:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | error(catgets(elm_msg_cat, ElmSet, ElmChangesIncorporated, | ^ edit.c:187:17: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | error(catgets(elm_msg_cat, ElmSet, ElmResyncingNewVersion, | ^ edit.c:193:2: warning: call to undeclared function 'newmbox'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 193 | newmbox(curr_folder.filename, FALSE); | ^ edit.c:194:2: warning: call to undeclared function 'showscreen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 194 | showscreen(); | ^ edit.c:211:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | PutLine0(LINES-1,0, catgets(elm_msg_cat, ElmSet, ElmInvokeEditor, | ^ edit.c:226:6: warning: call to undeclared function 'system_call'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 226 | if (system_call(buffer, SY_COOKED|SY_ENAB_SIGHUP) == -1) { | ^ edit.c:227:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | error1(catgets(elm_msg_cat, ElmSet, ElmProblemsInvokingEditor, | ^ edit.c:227:10: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | error1(catgets(elm_msg_cat, ElmSet, ElmProblemsInvokingEditor, | ^ edit.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | edit_a_file(editfile) | ^ 67 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c editmsg.c -o editmsg.o In file included from editmsg.c:45: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ editmsg.c:74:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | PUBLIC int edit_message(filename, shdr, sel_editor) | ^ editmsg.c:93:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | PutLine0(LINES, 0, catgets(elm_msg_cat, ElmSet, ElmInvokeEditor, | ^ editmsg.c:101:12: warning: call to undeclared function 'elm_chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | (void) elm_chown(filename, userid, groupid); | ^ editmsg.c:103:15: warning: call to undeclared function 'system_call'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | if ((rc = system_call(buffer, SY_COOKED|SY_ENAB_SIGHUP|SY_DUMPSTATE)) < 0) { | ^ editmsg.c:109:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | error1(catgets(elm_msg_cat, ElmSet, ElmCantInvokeEditor, | ^ editmsg.c:109:8: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | error1(catgets(elm_msg_cat, ElmSet, ElmCantInvokeEditor, | ^ editmsg.c:131:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | PutLine0(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgAvailOpts, | ^ editmsg.c:133:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgHelpMenu, | ^ editmsg.c:133:10: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgHelpMenu, | ^ editmsg.c:136:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | PutLine0(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgAddLine, | ^ editmsg.c:138:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgBCC, | ^ editmsg.c:138:10: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgBCC, | ^ editmsg.c:142:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgCC, | ^ editmsg.c:142:10: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgCC, | ^ editmsg.c:145:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgEmacs, | ^ editmsg.c:145:10: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgEmacs, | ^ editmsg.c:148:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgAddMessage, | ^ editmsg.c:148:10: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgAddMessage, | ^ editmsg.c:151:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgToCCBCC, | ^ editmsg.c:151:10: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgToCCBCC, | ^ editmsg.c:154:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | PutLine2(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgSameCurrentPrefix, | ^ editmsg.c:154:10: warning: passing arguments to 'PutLine2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | PutLine2(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgSameCurrentPrefix, | ^ editmsg.c:157:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgUserEditor, | ^ editmsg.c:157:10: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgUserEditor, | ^ editmsg.c:160:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgPrintMsg, | ^ editmsg.c:160:10: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgPrintMsg, | ^ editmsg.c:162:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgReadFile, | ^ editmsg.c:162:10: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgReadFile, | ^ editmsg.c:164:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgSubject, | ^ editmsg.c:164:10: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgSubject, | ^ editmsg.c:166:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgTo, | ^ editmsg.c:166:10: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgTo, | ^ editmsg.c:169:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgVi, | ^ editmsg.c:169:10: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgVi, | ^ editmsg.c:172:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgUnixCmd, | ^ editmsg.c:172:10: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgUnixCmd, | ^ editmsg.c:175:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgAddUnixCmd, | ^ editmsg.c:175:10: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgAddUnixCmd, | ^ editmsg.c:178:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | PutLine0(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgEndMsg, | ^ editmsg.c:180:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | PutLine0(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgContinue, | ^ editmsg.c:184:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | static void read_in_file(fd, filename, show_user_filename) | ^ editmsg.c:202:9: warning: call to undeclared function 'expand_env'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 202 | (void) expand_env(exp_fname, filename, sizeof(exp_fname)); | ^ editmsg.c:205:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | PutLine0(-1, -1, catgets(elm_msg_cat, ElmSet, ElmNoFilenameSpecified, | ^ editmsg.c:211:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmCouldntReadFile, | ^ editmsg.c:211:12: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmCouldntReadFile, | ^ editmsg.c:216:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 216 | while (n = mail_gets(buffer, SLEN, myfd)) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ editmsg.c:216:11: note: place parentheses around the assignment to silence this warning 216 | while (n = mail_gets(buffer, SLEN, myfd)) { | ^ | ( ) editmsg.c:216:11: note: use '==' to turn this assignment into an equality comparison 216 | while (n = mail_gets(buffer, SLEN, myfd)) { | ^ | == editmsg.c:226:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | PutLine0(-1, -1, catgets(elm_msg_cat, ElmSet, ElmAddedLine, | ^ editmsg.c:229:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmAddedLinePlural, | ^ editmsg.c:229:12: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmAddedLinePlural, | ^ editmsg.c:233:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | PutLine0(-1, -1, catgets(elm_msg_cat, ElmSet, ElmAddedChar, | ^ editmsg.c:236:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmAddedCharPlural, | ^ editmsg.c:236:12: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmAddedCharPlural, | ^ editmsg.c:240:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmAddedFromFile, | ^ editmsg.c:240:12: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmAddedFromFile, | ^ editmsg.c:243:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | PutLine0(-1, -1, catgets(elm_msg_cat, ElmSet, ElmAddedToMessage, | ^ editmsg.c:249:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | static void print_message_so_far(edit_fd, shdr, filename) | ^ editmsg.c:269:45: warning: passing arguments to 'format_long' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | PutLine1(-1, -1, "To: %s\r\n", format_long(shdr->to, 4)); | ^ editmsg.c:269:10: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | PutLine1(-1, -1, "To: %s\r\n", format_long(shdr->to, 4)); | ^ editmsg.c:270:45: warning: passing arguments to 'format_long' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | PutLine1(-1, -1, "Cc: %s\r\n", format_long(shdr->cc, 4)); | ^ editmsg.c:270:10: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | PutLine1(-1, -1, "Cc: %s\r\n", format_long(shdr->cc, 4)); | ^ editmsg.c:271:46: warning: passing arguments to 'format_long' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | PutLine1(-1, -1, "Bcc: %s\r\n", format_long(shdr->bcc, 5)); | ^ editmsg.c:271:10: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | PutLine1(-1, -1, "Bcc: %s\r\n", format_long(shdr->bcc, 5)); | ^ editmsg.c:272:10: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | PutLine1(-1, -1, "Subject: %s\r\n", shdr->subject); | ^ editmsg.c:280:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | PutLine0(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgPrintContinue, | ^ editmsg.c:284:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | static void read_in_messages(fd, buffer) | ^ editmsg.c:309:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | PutLine0(-1, -1, catgets(elm_msg_cat, | ^ editmsg.c:316:35: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | sprintf(local_buffer, catgets(elm_msg_cat, ElmSet, ElmValidNumbersBetween, | ^ editmsg.c:325:6: warning: call to undeclared function 'create_folder_state_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 325 | if (create_folder_state_file() != 0) | ^ editmsg.c:331:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | PutLine0(-1, -1, catgets(elm_msg_cat, ElmSet, ElmCantFindReadmsg, | ^ editmsg.c:333:12: warning: call to undeclared function 'remove_folder_state_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 333 | (void) remove_folder_state_file(); | ^ editmsg.c:339:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 339 | while (n = mail_gets(local_buffer, SLEN, myfd)) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ editmsg.c:339:11: note: place parentheses around the assignment to silence this warning 339 | while (n = mail_gets(local_buffer, SLEN, myfd)) { | ^ | ( ) editmsg.c:339:11: note: use '==' to turn this assignment into an equality comparison 339 | while (n = mail_gets(local_buffer, SLEN, myfd)) { | ^ | == editmsg.c:348:16: warning: call to undeclared function 'remove_folder_state_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 348 | (void) remove_folder_state_file(); | ^ editmsg.c:351:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | PutLine0(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgCouldntAdd, | ^ editmsg.c:357:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | PutLine0(-1, -1, catgets(elm_msg_cat, ElmSet, ElmAddedLine, | ^ editmsg.c:360:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmAddedLinePlural, | ^ editmsg.c:360:12: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmAddedLinePlural, | ^ editmsg.c:364:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | PutLine0(-1, -1, catgets(elm_msg_cat, ElmSet, ElmAddedChar, | ^ editmsg.c:367:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmAddedCharPlural, | ^ editmsg.c:367:12: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | PutLine1(-1, -1, catgets(elm_msg_cat, ElmSet, ElmAddedCharPlural, | ^ editmsg.c:370:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | PutLine0(-1, -1, catgets(elm_msg_cat, ElmSet, ElmAddedToMessage, | ^ editmsg.c:376:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | static void get_with_expansion(prompt, buffer, expanded_buffer, sourcebuf) | ^ editmsg.c:414:4: warning: call to undeclared function 'build_address'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 414 | build_address(strip_commas(buffer), expanded_buffer); | ^ editmsg.c:414:30: warning: passing arguments to 'strip_commas' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | build_address(strip_commas(buffer), expanded_buffer); | ^ editmsg.c:430:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | static SIGHAND_TYPE builtin_interrupt_handler(sig) | ^ editmsg.c:455:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | static int builtin_editor(filename, shdr) | ^ editmsg.c:478:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | sprintf(tmpbuf, catgets(elm_msg_cat, ElmSet, ElmCouldntOpenAppend, | ^ editmsg.c:492:14: warning: passing arguments to 'fsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | if (fsize(fp) > 0L) | ^ editmsg.c:493:24: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | strcpy(tmpbuf, catgets(elm_msg_cat, ElmSet, ElmContinueEntering, | ^ editmsg.c:496:24: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | strcpy(tmpbuf, catgets(elm_msg_cat, ElmSet, ElmEnterMessage, | ^ editmsg.c:498:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | strcat(tmpbuf, catgets(elm_msg_cat, ElmSet, ElmTypeElmCommands, | ^ editmsg.c:501:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | catgets(elm_msg_cat, ElmSet, ElmCommandsInclude, | ^ editmsg.c:516:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | PutLine0(-1, -1, catgets(elm_msg_cat, ElmSet, | ^ editmsg.c:520:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | PutLine0(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEditmsgCancelled, | ^ editmsg.c:532:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | sprintf(tmpbuf, catgets(elm_msg_cat, ElmSet, | ^ editmsg.c:542:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | PutLine0(-1, -1, catgets(elm_msg_cat, ElmSet, ElmPostEdContinue, | ^ editmsg.c:551:6: warning: call to undeclared function 'wrapped_enter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 551 | if (wrapped_enter(linebuf, wrapbuf, -1, -1, fp, &is_wrapped) != 0) | ^ editmsg.c:625:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | PutLine0(-1, -1, catgets(elm_msg_cat, ElmSet, ElmDontKnowEmacs, | ^ editmsg.c:643:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | PutLine0(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEnterNameEditor, | ^ editmsg.c:647:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | PutLine0(-1, -1, catgets(elm_msg_cat, ElmSet, ElmSimpleContinue, | ^ editmsg.c:660:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | PutLine0(-1, -1, catgets(elm_msg_cat, | ^ editmsg.c:667:13: warning: call to undeclared function 'system_call'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 667 | (void) system_call(linebuf+2, SY_COOKED|SY_ENAB_SIGINT|SY_DUMPSTATE); | ^ editmsg.c:677:32: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | PutLine0(LINES, 0, catgets(elm_msg_cat, ElmSet, ElmSimpleContinue, | ^ editmsg.c:693:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | MCsprintf(tmpbuf, catgets(elm_msg_cat, ElmSet, ElmDontKnowChar, | ^ editmsg.c:703:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 703 | PutLine0(-1, -1, catgets(elm_msg_cat, ElmSet, ElmEndOfMessage, | ^ 139 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c elm.c -o elm.o In file included from elm.c:51: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ In file included from elm.c:63: /usr/include/sys/timeb.h:43:2: warning: "this file includes which is deprecated" [-W#warnings] 43 | #warning "this file includes which is deprecated" | ^ elm.c:70:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 70 | main(argc, argv) | ^ | int elm.c:83:29: warning: passing arguments to 'parse_arguments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | req_mfile = parse_arguments(argc, argv, to_whom); | ^ elm.c:84:2: warning: call to undeclared function 'initialize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | initialize(req_mfile); | ^ elm.c:88:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | sprintf(address, catgets(elm_msg_cat, ElmSet, ElmSendOnlyMode, | ^ elm.c:93:8: warning: address of array 'to_whom' will always evaluate to 'true' [-Wpointer-bool-conversion] 93 | if (to_whom && *to_whom) | ^~~~~~~ ~~ elm.c:101:4: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | leave(LEAVE_NORMAL); | ^ elm.c:109:9: warning: call to undeclared function 'newmbox'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 109 | newmbox(req_mfile, FALSE); | ^ elm.c:116:6: warning: call to undeclared function 'showscreen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 116 | showscreen(); | ^ elm.c:124:20: warning: passing arguments to 'bytes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | if ((num = bytes(curr_folder.filename)) != curr_folder.size) { | ^ elm.c:127:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | error(catgets(elm_msg_cat, ElmSet, ElmNewMailHangOn, | ^ elm.c:138:10: warning: call to undeclared function 'on_page'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 138 | if (on_page(curr_folder.curr_mssg)) /* do we REALLY have to rewrite? */ | ^ elm.c:141:8: warning: call to undeclared function 'update_title'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | update_title(); | ^ elm.c:144:23: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | error(catgets(elm_msg_cat, ElmSet, ElmNewMessageRecv, | ^ elm.c:147:24: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | error1(catgets(elm_msg_cat, ElmSet, ElmNewMessageRecvPlural, | ^ elm.c:147:16: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | error1(catgets(elm_msg_cat, ElmSet, ElmNewMessageRecvPlural, | ^ elm.c:174:23: warning: call to undeclared function 'help'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 174 | case '?' : if (help(FALSE)) | ^ elm.c:180:45: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | case '$' : PutLine0(-1, -1, catgets(elm_msg_cat, | ^ elm.c:183:17: warning: call to undeclared function 'resync'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 183 | redraw += resync(); | ^ elm.c:184:16: warning: call to undeclared function 'get_page'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 184 | nucurr = get_page(curr_folder.curr_mssg); | ^ elm.c:189:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | error(catgets(elm_msg_cat, ElmSet, ElmNoMailToPipe, | ^ elm.c:193:40: warning: call to undeclared function 'do_pipe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 193 | redraw += do_pipe(); | ^ elm.c:199:38: warning: call to undeclared function 'subshell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 199 | redraw += subshell(); | ^ elm.c:205:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | error(catgets(elm_msg_cat, ElmSet, ElmMagicOn, | ^ elm.c:208:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | error(catgets(elm_msg_cat, ElmSet, ElmMagicOff, | ^ elm.c:215:9: warning: call to undeclared function 'get_return'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 215 | get_return(address, curr_folder.curr_mssg-1); | ^ elm.c:217:17: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | PutLine1(LINES,(COLS-strlen(address))/2, | ^ elm.c:220:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | error(catgets(elm_msg_cat, ElmSet, ElmNoMailReturnAddress, | ^ elm.c:228:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | error(catgets(elm_msg_cat, ElmSet, ElmNoMailToScan, | ^ elm.c:232:35: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | PutLine0(-1, -1, catgets(elm_msg_cat, | ^ elm.c:235:11: warning: call to undeclared function 'scan_calendar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 235 | scan_calendar(); | ^ elm.c:244:21: warning: call to undeclared function 'alias'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 244 | case 'a' : alias(); | ^ elm.c:248:45: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | case 'b' : PutLine0(-1, -1, catgets(elm_msg_cat, | ^ elm.c:252:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | error(catgets(elm_msg_cat, | ^ elm.c:258:18: warning: call to undeclared function 'remail'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 258 | nufoot = remail(); | ^ elm.c:262:17: warning: call to undeclared function 'change_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 262 | redraw += change_file(catgets(elm_msg_cat, ElmSet, | ^ elm.c:262:36: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | redraw += change_file(catgets(elm_msg_cat, ElmSet, | ^ elm.c:269:45: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | case 'e' : PutLine0(-1, -1, catgets(elm_msg_cat, | ^ elm.c:273:9: warning: call to undeclared function 'edit_mailbox'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 273 | edit_mailbox(); | ^ elm.c:276:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | error(catgets(elm_msg_cat, ElmSet, ElmFolderIsEmpty, | ^ elm.c:286:45: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | case 'f' : PutLine0(-1, -1, catgets(elm_msg_cat, | ^ elm.c:290:12: warning: call to undeclared function 'forward'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 290 | if(forward()) | ^ elm.c:295:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | error(catgets(elm_msg_cat, ElmSet, ElmNoMailToForward, | ^ elm.c:301:45: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | case 'g' : PutLine0(-1, -1, catgets(elm_msg_cat, | ^ elm.c:306:24: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | error(catgets(elm_msg_cat, ElmSet, ElmCantGroupReplyForm, | ^ elm.c:311:21: warning: call to undeclared function 'reply_to_everyone'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 311 | redraw += reply_to_everyone(); | ^ elm.c:315:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | error(catgets(elm_msg_cat, ElmSet, ElmNoMailToReply, | ^ elm.c:322:33: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | PutLine0(-1, -1, catgets(elm_msg_cat, | ^ elm.c:326:33: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | PutLine0(-1, -1, catgets(elm_msg_cat, | ^ elm.c:332:13: warning: call to undeclared function 'show_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 332 | i = show_msg(curr_folder.curr_mssg); | ^ elm.c:335:9: warning: call to undeclared function 'process_showmsg_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 335 | i = process_showmsg_cmd(i); | ^ elm.c:340:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | error(catgets(elm_msg_cat, ElmSet, ElmNoMailToRead, | ^ elm.c:348:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | strcpy(buffer, catgets(elm_msg_cat, ElmSet, | ^ elm.c:359:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | strcpy(buffer, catgets(elm_msg_cat, ElmSet, | ^ elm.c:368:7: warning: call to undeclared function 'show_headers'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 368 | show_headers(); | ^ elm.c:371:45: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | case 'm' : PutLine0(-1, -1, catgets(elm_msg_cat, | ^ elm.c:380:46: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | case ctrl('M'): PutLine0(-1, -1, catgets(elm_msg_cat, | ^ elm.c:385:13: warning: call to undeclared function 'show_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 385 | i = show_msg(curr_folder.curr_mssg); | ^ elm.c:388:9: warning: call to undeclared function 'process_showmsg_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 388 | i = process_showmsg_cmd(i); | ^ elm.c:393:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | error(catgets(elm_msg_cat, ElmSet, ElmNoMailToRead, | ^ elm.c:397:45: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | case 'n' : PutLine0(-1, -1, catgets(elm_msg_cat, | ^ elm.c:402:13: warning: call to undeclared function 'show_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 402 | i = show_msg(curr_folder.curr_mssg); | ^ elm.c:405:15: warning: call to undeclared function 'process_showmsg_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 405 | i = process_showmsg_cmd(i); | ^ elm.c:412:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | error(catgets(elm_msg_cat, ElmSet, ElmNoMailToRead, | ^ elm.c:416:45: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | case 'o' : PutLine0(-1, -1, catgets(elm_msg_cat, | ^ elm.c:419:13: warning: call to undeclared function 'options'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 419 | if((i=options()) > 0) | ^ elm.c:424:45: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | case 'p' : PutLine0(-1, -1, catgets(elm_msg_cat, | ^ elm.c:428:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | error(catgets(elm_msg_cat, ElmSet, ElmNoMailToPrint, | ^ elm.c:430:18: warning: call to undeclared function 'print_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 430 | } else if (print_msg(TRUE) != 0) | ^ elm.c:434:45: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | case 'q' : PutLine0(-1, -1, catgets(elm_msg_cat, | ^ elm.c:437:7: warning: call to undeclared function 'quit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 437 | quit(TRUE); | ^ elm.c:440:45: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | case 'Q' : PutLine0(-1, -1, catgets(elm_msg_cat, | ^ elm.c:446:45: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | case 'r' : PutLine0(-1, -1, catgets(elm_msg_cat, | ^ elm.c:450:19: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 450 | redraw += reply(); | ^ elm.c:452:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | error(catgets(elm_msg_cat, ElmSet, ElmNoMailToReplyTo, | ^ elm.c:463:24: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | error(catgets(elm_msg_cat, ElmSet, ElmNoMailToSave, | ^ elm.c:466:24: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 466 | error(catgets(elm_msg_cat, ElmSet, ElmNoMailToCopy, | ^ elm.c:471:13: warning: call to undeclared function 'save'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 471 | if (save(&redraw, FALSE, (ch != 'C')) | ^ elm.c:473:17: warning: call to undeclared function 'next_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 473 | if((i=next_message(curr_folder.curr_mssg-1, TRUE)) != -1) { | ^ elm.c:490:33: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | case 'S' : error(catgets(elm_msg_cat, ElmSet, ElmNoStatusChange, | ^ elm.c:495:45: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | case 'X' : PutLine0(-1, -1, catgets(elm_msg_cat, | ^ elm.c:498:7: warning: call to undeclared function 'quit_abandon'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 498 | quit_abandon(FALSE); | ^ elm.c:501:45: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | case 'x' : PutLine0(-1, -1, catgets(elm_msg_cat, | ^ elm.c:515:15: warning: call to undeclared function 'debug_page'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 515 | case 'p': debug_page(); break; | ^ elm.c:527:16: warning: call to undeclared function 'motion'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 527 | default : motion(ch); | ^ elm.c:538:11: warning: call to undeclared function 'check_range'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 538 | check_range(); | ^ elm.c:541:6: warning: call to undeclared function 'show_headers'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 541 | show_headers(); | ^ elm.c:543:6: warning: call to undeclared function 'show_current'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 543 | show_current(); | ^ elm.c:548:8: warning: call to undeclared function 'show_menu'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 548 | show_menu(); | ^ elm.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 | main(argc, argv) | ^ elm.c:562:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 562 | debug_page() | ^ | int elm.c:572:13: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | PutLine1(0, 0, "Current mail file = %s", | ^ elm.c:574:13: warning: passing arguments to 'PutLine2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | PutLine2(1, 0, "Current message number = %-8d %d message(s) total", | ^ elm.c:576:13: warning: passing arguments to 'PutLine2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | PutLine2(2, 0, "Header_page = %-8d %d page(s) total", | ^ elm.c:590:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 585 | "%3d %-16.16s %-35.35s %4d %8d %8d", | ~~~ | %8ld 586 | i+1, 587 | curr_folder.headers[i]->from, 588 | curr_folder.headers[i]->subject, 589 | curr_folder.headers[i]->lines, 590 | curr_folder.headers[i]->offset, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elm.c:591:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 585 | "%3d %-16.16s %-35.35s %4d %8d %8d", | ~~~ | %8ld 586 | i+1, 587 | curr_folder.headers[i]->from, 588 | curr_folder.headers[i]->subject, 589 | curr_folder.headers[i]->lines, 590 | curr_folder.headers[i]->offset, 591 | curr_folder.headers[i]->content_length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elm.c:595:1: warning: non-void function does not return a value [-Wreturn-type] 595 | } | ^ elm.c:614:10: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | PutLine1(0, 24, | ^ elm.c:625:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | CenterLine(8, catgets(elm_msg_cat, ElmSet, ElmNoMailToCheck, | ^ elm.c:631:2: warning: passing arguments to 'PutLine2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | ShowNum(2, "index_number:", hdr->index_number); | ^ elm.c:610:41: note: expanded from macro 'ShowNum' 610 | #define ShowNum(row, name, num) PutLine2((row), 0, \ | ^ elm.c:632:2: warning: passing arguments to 'PutLine2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 632 | ShowNum(3, "offset:", hdr->offset); | ^ elm.c:610:41: note: expanded from macro 'ShowNum' 610 | #define ShowNum(row, name, num) PutLine2((row), 0, \ | ^ elm.c:633:2: warning: passing arguments to 'PutLine2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | ShowNum(4, "lines:", hdr->lines); | ^ elm.c:610:41: note: expanded from macro 'ShowNum' 610 | #define ShowNum(row, name, num) PutLine2((row), 0, \ | ^ elm.c:634:2: warning: passing arguments to 'PutLine2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | ShowNum(5, "content_length:", hdr->content_length); | ^ elm.c:610:41: note: expanded from macro 'ShowNum' 610 | #define ShowNum(row, name, num) PutLine2((row), 0, \ | ^ elm.c:635:2: warning: passing arguments to 'PutLine2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 635 | ShowNum(6, "cc_index:", hdr->cc_index); | ^ elm.c:610:41: note: expanded from macro 'ShowNum' 610 | #define ShowNum(row, name, num) PutLine2((row), 0, \ | ^ elm.c:636:2: warning: passing arguments to 'PutLine2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | ShowStr(7, "mailx_status:", hdr->mailx_status); | ^ elm.c:608:41: note: expanded from macro 'ShowStr' 608 | #define ShowStr(row, name, str) PutLine2((row), 0, \ | ^ elm.c:658:2: warning: passing arguments to 'PutLine2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | ShowStr(++row, "received_time:", buffer); | ^ elm.c:608:41: note: expanded from macro 'ShowStr' 608 | #define ShowStr(row, name, str) PutLine2((row), 0, \ | ^ elm.c:661:2: warning: passing arguments to 'PutLine2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | ShowStr(++row, "time_sent:", buffer); | ^ elm.c:608:41: note: expanded from macro 'ShowStr' 608 | #define ShowStr(row, name, str) PutLine2((row), 0, \ | ^ elm.c:662:2: warning: passing arguments to 'PutLine2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | ShowStr(++row, "time_zone:", hdr->time_zone); | ^ elm.c:608:41: note: expanded from macro 'ShowStr' 608 | #define ShowStr(row, name, str) PutLine2((row), 0, \ | ^ elm.c:663:2: warning: passing arguments to 'PutLine2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | ShowNum(++row, "tz_offset:", hdr->tz_offset); | ^ elm.c:610:41: note: expanded from macro 'ShowNum' 610 | #define ShowNum(row, name, num) PutLine2((row), 0, \ | ^ elm.c:664:2: warning: passing arguments to 'PutLine2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 664 | ShowStr(++row, "from:", hdr->from); | ^ elm.c:608:41: note: expanded from macro 'ShowStr' 608 | #define ShowStr(row, name, str) PutLine2((row), 0, \ | ^ elm.c:665:2: warning: passing arguments to 'PutLine2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | ShowStr(++row, "to:", hdr->to); | ^ elm.c:608:41: note: expanded from macro 'ShowStr' 608 | #define ShowStr(row, name, str) PutLine2((row), 0, \ | ^ elm.c:666:2: warning: passing arguments to 'PutLine2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | ShowStr(++row, "subject:", hdr->subject); | ^ elm.c:608:41: note: expanded from macro 'ShowStr' 608 | #define ShowStr(row, name, str) PutLine2((row), 0, \ | ^ elm.c:667:2: warning: passing arguments to 'PutLine2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | ShowStr(++row, "messageid:", hdr->messageid); | ^ elm.c:608:41: note: expanded from macro 'ShowStr' 608 | #define ShowStr(row, name, str) PutLine2((row), 0, \ | ^ elm.c:668:2: warning: passing arguments to 'PutLine2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | ShowStr(++row, "allfrom:", hdr->allfrom); | ^ elm.c:608:41: note: expanded from macro 'ShowStr' 608 | #define ShowStr(row, name, str) PutLine2((row), 0, \ | ^ elm.c:669:2: warning: passing arguments to 'PutLine2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | ShowStr(++row, "allto:", hdr->allto); | ^ elm.c:608:41: note: expanded from macro 'ShowStr' 608 | #define ShowStr(row, name, str) PutLine2((row), 0, \ | ^ elm.c:671:2: warning: passing arguments to 'PutLine2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | ShowNum(++row, "ml_cc_index:", hdr->ml_cc_index); | ^ elm.c:610:41: note: expanded from macro 'ShowNum' 610 | #define ShowNum(row, name, num) PutLine2((row), 0, \ | ^ elm.c:672:2: warning: passing arguments to 'PutLine2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | ShowStr(++row, "ml_to:", ""); | ^ elm.c:608:41: note: expanded from macro 'ShowStr' 608 | #define ShowStr(row, name, str) PutLine2((row), 0, \ | ^ elm.c:682:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 682 | check_range() | ^ | int elm.c:694:6: warning: call to undeclared function 'compute_visible'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 694 | i = compute_visible(curr); | ^ elm.c:711:10: warning: call to undeclared function 'visible_to_index'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 711 | curr = visible_to_index(selected)+1; | ^ elm.c:725:1: warning: non-void function does not return a value [-Wreturn-type] 725 | } | ^ elm.c:732:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 732 | motion(ch) | ^ | int elm.c:751:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | no_mail = catgets(elm_msg_cat, ElmSet, ElmNoMailInFolder, | ^ elm.c:753:23: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | no_aliases = catgets(elm_msg_cat, ElmSet, ElmNoAliases, | ^ elm.c:761:23: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | error1(catgets(elm_msg_cat, ElmSet, | ^ elm.c:761:15: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | error1(catgets(elm_msg_cat, ElmSet, | ^ elm.c:765:16: warning: call to undeclared function 'pattern_match'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 765 | else if (pattern_match()) { | ^ elm.c:770:21: warning: call to undeclared function 'get_page'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 770 | nucurr = get_page(curr); | ^ elm.c:789:13: warning: call to undeclared function 'visible_to_index'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 789 | curr = visible_to_index( | ^ elm.c:795:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 795 | error(catgets(elm_msg_cat, ElmSet, ElmAlreadyOnLastPage, | ^ elm.c:809:13: warning: call to undeclared function 'visible_to_index'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 809 | curr = visible_to_index( | ^ elm.c:815:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | error(catgets(elm_msg_cat, ElmSet, ElmAlreadyOnFirstPage, | ^ elm.c:821:16: warning: call to undeclared function 'visible_to_index'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 821 | curr = visible_to_index(1)+1; | ^ elm.c:824:16: warning: call to undeclared function 'get_page'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 824 | nucurr = get_page(curr); | ^ elm.c:841:23: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 841 | error1(catgets(elm_msg_cat, ElmSet, ElmNoItemToDelete, | ^ elm.c:841:15: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 841 | error1(catgets(elm_msg_cat, ElmSet, ElmNoItemToDelete, | ^ elm.c:850:15: warning: call to undeclared function 'meta_match'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 850 | if(!meta_match(MATCH_DELETE)) | ^ elm.c:854:12: warning: call to undeclared function 'delete_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 854 | delete_msg((ch == 'd'), TRUE); | ^ elm.c:857:17: warning: call to undeclared function 'next_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 857 | if((i=next_message(curr-1, TRUE)) != -1) { | ^ elm.c:884:15: warning: call to undeclared function 'next_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 884 | if((i=next_message(curr-1, FALSE)) != -1) { | ^ elm.c:888:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 888 | error1(catgets(elm_msg_cat, ElmSet, ElmNoMoreItemBelow, | ^ elm.c:888:17: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 888 | error1(catgets(elm_msg_cat, ElmSet, ElmNoMoreItemBelow, | ^ elm.c:896:15: warning: call to undeclared function 'next_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 896 | if((i=next_message(curr-1, TRUE)) != -1) { | ^ elm.c:900:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 900 | error1(catgets(elm_msg_cat, ElmSet, ElmNoItemUndeletedBelow, | ^ elm.c:900:17: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 900 | error1(catgets(elm_msg_cat, ElmSet, ElmNoItemUndeletedBelow, | ^ elm.c:907:15: warning: call to undeclared function 'prev_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 907 | if((i=prev_message(curr-1, FALSE)) != -1) { | ^ elm.c:911:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 911 | error1(catgets(elm_msg_cat, ElmSet, ElmNoMoreItemAbove, | ^ elm.c:911:17: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 911 | error1(catgets(elm_msg_cat, ElmSet, ElmNoMoreItemAbove, | ^ elm.c:918:15: warning: call to undeclared function 'prev_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 918 | if((i=prev_message(curr-1, TRUE)) != -1) { | ^ elm.c:922:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 922 | error1(catgets(elm_msg_cat, ElmSet, ElmNoMoreUndeletedAbove, | ^ elm.c:922:17: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 922 | error1(catgets(elm_msg_cat, ElmSet, ElmNoMoreUndeletedAbove, | ^ elm.c:954:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 954 | catgets(elm_msg_cat, ElmSet, ElmLimitDisplayBy, | ^ elm.c:953:29: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | case 'l' : PutLine1(LINES-3, strlen(nls_Prompt), | ^ elm.c:957:11: warning: call to undeclared function 'limit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 957 | if (limit() != 0) { | ^ elm.c:969:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 969 | error1(catgets(elm_msg_cat, ElmSet, ElmNoItemToTag, | ^ elm.c:969:11: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 969 | error1(catgets(elm_msg_cat, ElmSet, ElmNoItemToTag, | ^ elm.c:973:5: warning: call to undeclared function 'tag_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 973 | tag_message(TRUE); | ^ elm.c:979:12: warning: call to undeclared function 'meta_match'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 979 | (void) meta_match(MATCH_TAG); | ^ elm.c:983:23: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 983 | error1(catgets(elm_msg_cat, ElmSet, ElmNoItemToMarkUndeleted, | ^ elm.c:983:15: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 983 | error1(catgets(elm_msg_cat, ElmSet, ElmNoItemToMarkUndeleted, | ^ elm.c:997:6: warning: call to undeclared function 'show_msg_status'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 997 | show_msg_status(curr_folder.curr_mssg-1); | ^ elm.c:1000:12: warning: call to undeclared function 'undelete_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1000 | undelete_msg(TRUE); | ^ elm.c:1002:18: warning: call to undeclared function 'next_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1002 | if((i=next_message(curr-1, FALSE)) != -1) { | ^ elm.c:1020:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1020 | error1(catgets(elm_msg_cat, ElmSet, ElmNoItemToUndelete, | ^ elm.c:1020:17: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1020 | error1(catgets(elm_msg_cat, ElmSet, ElmNoItemToUndelete, | ^ elm.c:1031:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1031 | catgets(elm_msg_cat, ElmSet, ElmNewCurrentItem, | ^ elm.c:1030:16: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1030 | PutLine1(LINES-3, strlen(nls_Prompt), | ^ elm.c:1037:24: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1037 | error1(catgets(elm_msg_cat, ElmSet, ElmNotThatMany, | ^ elm.c:1037:16: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1037 | error1(catgets(elm_msg_cat, ElmSet, ElmNotThatMany, | ^ elm.c:1042:24: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1042 | error1(catgets(elm_msg_cat, ElmSet, ElmNotInLimitedDisplay, | ^ elm.c:1042:16: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1042 | error1(catgets(elm_msg_cat, ElmSet, ElmNotInLimitedDisplay, | ^ elm.c:1050:21: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1050 | error(catgets(elm_msg_cat, ElmSet, ElmUnknownCommand, | ^ elm.c:732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 732 | motion(ch) | ^ elm.c:1060:1: warning: non-void function does not return a value [-Wreturn-type] 1060 | } | ^ 209 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c encode.c -o encode.o In file included from encode.c:33: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ encode.c:64:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 64 | get_encode_key(send) | ^ | int encode.c:73:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | decrypt_prompt = catgets(elm_msg_cat, ElmSet, ElmDecryptPrompt, | ^ encode.c:75:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | first_enc_prompt = catgets(elm_msg_cat, ElmSet, ElmFirstEncryptPrompt, | ^ encode.c:77:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | second_enc_prompt = catgets(elm_msg_cat, ElmSet, ElmSecondEncryptPrompt, | ^ encode.c:88:21: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | error(catgets(elm_msg_cat, ElmSet, ElmKeysNotSame, | ^ encode.c:99:2: warning: call to undeclared function 'makekey'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | makekey(buffer[0]); | ^ encode.c:101:2: warning: call to undeclared function 'setup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | setup(); /** initialize the rotors etc. **/ | ^ encode.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | get_encode_key(send) | ^ encode.c:105:1: warning: non-void function does not return a value [-Wreturn-type] 105 | } | ^ encode.c:107:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 107 | recall_encode_key() | ^ | int encode.c:117:2: warning: call to undeclared function 'makekey'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 117 | makekey( buffer ); | ^ encode.c:119:2: warning: call to undeclared function 'setup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 119 | setup(); | ^ encode.c:120:1: warning: non-void function does not return a value [-Wreturn-type] 120 | } | ^ encode.c:122:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 122 | encode(line) | ^ | int encode.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] encode.c:161:1: warning: non-void function does not return a value [-Wreturn-type] 161 | } | ^ encode.c:164:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 164 | makekey( rkey) | ^ | int encode.c:172: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 previous declaration [-Wdeprecated-non-prototype] 172 | char *crypt(); | ^ /usr/include/unistd.h:452:7: note: conflicting prototype is here 452 | char *crypt(const char *, const char *); | ^ encode.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | makekey( rkey) | ^ encode.c:184:1: warning: non-void function does not return a value [-Wreturn-type] 184 | } | ^ encode.c:194:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 194 | setup() | ^ | int encode.c:239:1: warning: non-void function does not return a value [-Wreturn-type] 239 | } | ^ 57 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c fbrowser.c -o fbrowser.o In file included from fbrowser.c:1: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ fbrowser.c:120:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | PUBLIC int fbrowser_analyze_spec(spec, ret_dir, ret_pat) | ^ fbrowser.c:172:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | PUBLIC int fbrowser(ret_buf, ret_bufsiz, start_dir, start_pat, options, prompt) | ^ fbrowser.c:200:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | error2(S_(FbrowserCannotBrowse, "Cannot browse \"%s/%s\"."), | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:200:8: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | error2(S_(FbrowserCannotBrowse, "Cannot browse \"%s/%s\"."), | ^ fbrowser.c:262:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | sprintf(tmp_buf, S_(FbrowserHeaderPageOf, "[page %d/%d]"), | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:268:8: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | S_(FbrowserHeaderDirectory, "Directory: %s"), | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:267:11: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | PutLine1(FBLINE_CURR, 0, | ^ fbrowser.c:270:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | sprintf(tmp_buf, S_(FbrowserHeaderPattern, "Pattern: %s"), | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:318:8: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | S_(FbrowserInstNorm, /*(*/ | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:320:8: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | S_(FbrowserInstrDummy1, | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:322:8: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | S_(FbrowserInstrDummy2, /*(*/ | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:325:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | PutLine0(FBLINE_INPUT, 0, S_(FbrowserMainPrompt, "Command: ")); | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:354:6: warning: call to undeclared function 'display_helpfile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 354 | display_helpfile("fbrowser"); | ^ fbrowser.c:364:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | error(S_(FbrowserNoDirectorySaved, "No directory saved.")); | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:368:10: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | error1(S_(FbrowserAlreadyIn, | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:368:9: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | error1(S_(FbrowserAlreadyIn, | ^ fbrowser.c:416:19: warning: call to undeclared function 'subshell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 416 | do_redraw = (subshell() ? FBDRAW_ALL : FBDRAW_FOOTER); | ^ fbrowser.c:492:11: warning: call to undeclared function 'expand_filename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 492 | if (!expand_filename(tmp_buf)) | ^ fbrowser.c:512:4: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | S_(FbFOO, | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:514:4: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | S_(FbFOO, | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:516:4: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | S_(FbFOO, | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:519:32: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | PutLine0(FBLINE_INPUT, 0, S_(FbFOO, "Select: ")); | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:522:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | error(S_(FbrowserNotChanged, "Not changed.")); | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:542:13: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | error(S_(FbFOO, "Not a valid directory or pattern.")); | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:623:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | static void fb_submenu_options(dl_p, curr_dir, curr_pat) | ^ fbrowser.c:642:32: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | CenterLine(FBOLINE_TITLE, S_(FbrowserOptionsTitle, | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:649:4: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | S_(FbrowserOptionsTitleDotf, /*(*/ | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:648:14: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | PutLine1(FBOLINE_OPT_DOTF, 0, title_fmt, | ^ fbrowser.c:655:6: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | ? S_(FbrowserOptionsOn, "ON") | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:656:6: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | : S_(FbrowserOptionsOff, "OFF"))); | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:653:14: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | PutLine1(FBOLINE_OPT_DOTF, FBOCOL_OPTVAL, value_fmt, | ^ fbrowser.c:663:33: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | PutRight(FBOLINE_OPT_DOTF, S_(FbrowserOptionsSpaceToToggle, | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:663:33: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:670:4: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | S_(FbrowserOptionsTitleSort, /*(*/ | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:669:14: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | PutLine1(FBOLINE_OPT_SORT, 0, title_fmt, | ^ fbrowser.c:674:14: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | PutLine1(FBOLINE_OPT_SORT, FBOCOL_OPTVAL, value_fmt, | ^ fbrowser.c:682:33: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 682 | PutRight(FBOLINE_OPT_SORT, S_(FbrowserOptionsNextOrReverse, /*(*/ | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:682:33: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:692:32: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | CenterLine(FBOLINE_INSTRUCT, S_(FbrowserOptionsInstructDotf, | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:696:32: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 696 | CenterLine(FBOLINE_INSTRUCT, S_(FbrowserOptionsInstructSort, | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:701:32: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 701 | CenterLine(FBOLINE_INSTRUCT, S_(FbrowserOptionsInstructMain, | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:710:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 710 | PutLine0(FBLINE_INPUT, 0, S_(FbrowserOptionsPromptCommand, | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:734:13: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | error1(S_(FbrowserOptionsBogusSel, | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:734:12: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | error1(S_(FbrowserOptionsBogusSel, | ^ fbrowser.c:751:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | set_error(S_(FbrowserOptionsNotChanged, "Options not changed.")); | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:761:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | set_error(S_(FbrowserOptionsChangesUndone, | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:765:6: warning: call to undeclared function 'display_helpfile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 765 | display_helpfile("fbrowser"); | ^ fbrowser.c:828:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 828 | set_error(S_(FbrowserOptionsNotChanged, "Options not changed.")); | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:832:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 832 | static void fb_disp_enthdr(line) | ^ fbrowser.c:843:7: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 843 | S_(FbrowserEnthdrPermission, "permission")); | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:842:10: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 842 | PutLine1(-1, -1, "%-10.10s", | ^ fbrowser.c:845:33: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 845 | PutLine1(-1, -1, " %-4.4s", S_(FbrowserEnthdrType, "type")); | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:845:13: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 845 | PutLine1(-1, -1, " %-4.4s", S_(FbrowserEnthdrType, "type")); | ^ fbrowser.c:847:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | PutLine1(-1, -1, " %-8.8s", S_(FbrowserEnthdrOwner, "owner")); | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:847:10: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | PutLine1(-1, -1, " %-8.8s", S_(FbrowserEnthdrOwner, "owner")); | ^ fbrowser.c:848:32: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 848 | PutLine1(-1, -1, " %8.8s", S_(FbrowserEnthdrSize, "size")); | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:848:13: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 848 | PutLine1(-1, -1, " %8.8s", S_(FbrowserEnthdrSize, "size")); | ^ fbrowser.c:850:32: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 850 | strftime(buf, sizeof(buf), S_(FbrowserEntryDateFmt, "%y-%b-%d"), | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:852:34: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 852 | sprintf(buf, "%-*.*s", w, w, S_(FbrowserEnthdrDate, "date")); | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:853:13: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 853 | PutLine1(-1, -1, " %s", buf); | ^ fbrowser.c:854:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 854 | PutLine1(-1, -1, " %s", S_(FbrowserEnthdrFilename, "filename")); | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:854:13: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 854 | PutLine1(-1, -1, " %s", S_(FbrowserEnthdrFilename, "filename")); | ^ fbrowser.c:858:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | static void fb_disp_entry(line, dl, n, selected) | ^ fbrowser.c:879:21: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 879 | fbstr_entry_file = S_(FbrowserEntryFile, | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:881:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 881 | fbstr_entry_dir = S_(FbrowserEntryDir, | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:883:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 883 | fbstr_entry_date_fmt = S_(FbrowserEntryDateFmt, | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:885:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 885 | fbstr_entry_current_dir = S_(FbrowserEntryCurrentDir, | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:887:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | fbstr_entry_parrent_dir = S_(FbrowserEntryParentDir, | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:962:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 962 | static void fb_disp_instr(instr_normal, instr_dummy1, instr_dummy2, do_erase) | ^ fbrowser.c:984:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 984 | static FB_DIR *fb_start_dir(sel_dir, sel_pat, is_rescan) | ^ fbrowser.c:1003:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1003 | error2(S_(FbrowserEnterdirCannotRead, | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:1003:8: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1003 | error2(S_(FbrowserEnterdirCannotRead, | ^ fbrowser.c:1015:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1015 | error1(S_(FbrowserEnterdirScanning, "Scanning %s ..."), sel_dir); | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:1015:11: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1015 | error1(S_(FbrowserEnterdirScanning, "Scanning %s ..."), sel_dir); | ^ fbrowser.c:1088:5: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1088 | ? S_(FbrowserEnterdirRescan, "Rescan") | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:1089:5: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1089 | : S_(FbrowserEnterdirScan, "Scan")); | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:1091:17: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1091 | sprintf(pname, S_(FbrowserEnterdirSelectedAll, | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:1094:17: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1094 | sprintf(pname, S_(FbrowserEnterdirSelectedEntries, | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:1103:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1103 | static void fb_finish_dir(dl) | ^ fbrowser.c:1136:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1136 | strcpy(sbuf, S_(FbrowserSorttypeReverse, "Reverse")); | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:1144:23: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1144 | (void) strcpy(s, S_(FbrowserSorttypeName, "Name")); | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:1147:23: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1147 | (void) strcpy(s, S_(FbrowserSorttypeSize, "Size")); | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:1150:23: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1150 | (void) strcpy(s, S_(FbrowserSorttypeDate, "Date")); | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:1153:23: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1153 | (void) strcpy(s, S_(FbrowserSorttypeUnknown, "?Unknown?")); | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:1160:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1160 | static int fbcmp_name_ascending(p1, p2) | ^ fbrowser.c:1169:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1169 | static int fbcmp_name_descending(p1, p2) | ^ fbrowser.c:1178:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1178 | static int fbcmp_size_ascending(p1, p2) | ^ fbrowser.c:1187:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1187 | static int fbcmp_size_descending(p1, p2) | ^ fbrowser.c:1196:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1196 | static int fbcmp_mtime_ascending(p1, p2) | ^ fbrowser.c:1205:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1205 | static int fbcmp_mtime_descending(p1, p2) | ^ fbrowser.c:1215:33: warning: parameter 'options' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1215 | static int fb_mbox_check(fname, options) | ^ 1216 | char *fname; 1217 | { fbrowser.c:1215:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1215 | static int fb_mbox_check(fname, options) | ^ fbrowser.c:1228:13: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1228 | error2(S_(FbrowserMboxCannotGetStatus, | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:1228:12: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1228 | error2(S_(FbrowserMboxCannotGetStatus, | ^ fbrowser.c:1237:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1237 | error1(S_(FbrowserMboxNotRegularFile, | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:1237:8: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1237 | error1(S_(FbrowserMboxNotRegularFile, | ^ fbrowser.c:1250:13: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1250 | error1(S_(FbrowserMboxNoPermissionRead, | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:1250:12: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1250 | error1(S_(FbrowserMboxNoPermissionRead, | ^ fbrowser.c:1264:13: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1264 | error1(S_(FbrowserMboxNoPermissionWrite, | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:1264:12: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1264 | error1(S_(FbrowserMboxNoPermissionWrite, | ^ fbrowser.c:1283:13: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1283 | error1(S_(FbrowserNotValidMailbox, | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:1283:12: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1283 | error1(S_(FbrowserNotValidMailbox, | ^ fbrowser.c:1293:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1293 | static int safe_copy(dst, src, dstsiz) | ^ fbrowser.c:1305:11: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1305 | error(S_(FbrowserSafeCopyOverflow, | ^ fbrowser.c:22:29: note: expanded from macro 'S_' 22 | #define S_(sel, str) catgets(elm_msg_cat, FbrowserSet, (sel), (str)) | ^ fbrowser.c:1311:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1311 | static int safe_mkpath(pbuf, dname, fname, pbufsiz) | ^ 140 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c file_ops.c -o file_ops.o In file included from file_ops.c:1: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ file_ops.c:23:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | PUBLIC FILE *file_open(fname, fmode) | ^ file_ops.c:32:28: warning: call to undeclared function 'save_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 32 | if (fmode[0] != 'r') { save_file_stats(fname); } | ^ file_ops.c:40:4: warning: call to undeclared function 'restore_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 40 | restore_file_stats(fname); | ^ file_ops.c:45:24: warning: call to undeclared function 'restore_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 45 | if (fmode[0] != 'r') {restore_file_stats(fname);} | ^ file_ops.c:55:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | ? catgets(elm_msg_cat, ElmSet, ElmFileOpenModeUpdate, "update") | ^ file_ops.c:56:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | : catgets(elm_msg_cat, ElmSet, ElmFileOpenModeRead, "read")); | ^ file_ops.c:60:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | ? catgets(elm_msg_cat, ElmSet, ElmFileOpenModeCreate, "create") | ^ file_ops.c:61:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | : catgets(elm_msg_cat, ElmSet, ElmFileOpenModeWrite, "write")); | ^ file_ops.c:64:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | modestr = catgets(elm_msg_cat, ElmSet, ElmFileOpenModeAppend, "append"); | ^ file_ops.c:70:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | error3(catgets(elm_msg_cat, ElmSet, ElmFileOpenFailed, | ^ file_ops.c:70:11: warning: passing arguments to 'error3' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | error3(catgets(elm_msg_cat, ElmSet, ElmFileOpenFailed, | ^ file_ops.c:79:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | PUBLIC int file_close(fp, fname) | ^ file_ops.c:100:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | error2(catgets(elm_msg_cat, ElmSet, ElmFileCloseFailed, | ^ file_ops.c:100:11: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | error2(catgets(elm_msg_cat, ElmSet, ElmFileCloseFailed, | ^ file_ops.c:107:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | PUBLIC int file_access(name, mode) | ^ file_ops.c:115:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | error2(catgets(elm_msg_cat, ElmSet, ElmFileAccessFailed, | ^ file_ops.c:115:8: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | error2(catgets(elm_msg_cat, ElmSet, ElmFileAccessFailed, | ^ file_ops.c:124:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | PUBLIC int file_seek(fp, offset, whence, fname) | ^ file_ops.c:139:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | error3(catgets(elm_msg_cat, ElmSet, ElmFileSeekEndFailed, | ^ file_ops.c:139:8: warning: passing arguments to 'error3' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | error3(catgets(elm_msg_cat, ElmSet, ElmFileSeekEndFailed, | ^ file_ops.c:144:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | error3(catgets(elm_msg_cat, ElmSet, ElmFileSeekCurFailed, | ^ file_ops.c:144:8: warning: passing arguments to 'error3' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | error3(catgets(elm_msg_cat, ElmSet, ElmFileSeekCurFailed, | ^ file_ops.c:150:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | error3(catgets(elm_msg_cat, ElmSet, ElmFileSeekSetFailed, | ^ file_ops.c:150:8: warning: passing arguments to 'error3' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | error3(catgets(elm_msg_cat, ElmSet, ElmFileSeekSetFailed, | ^ file_ops.c:164:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | PUBLIC int file_copy(fpsrc, fpdest, srcname, destname) | ^ file_ops.c:179:17: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | error2(catgets(elm_msg_cat, ElmSet, | ^ file_ops.c:179:9: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | error2(catgets(elm_msg_cat, ElmSet, | ^ file_ops.c:184:17: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | error1(catgets(elm_msg_cat, ElmSet, | ^ file_ops.c:184:9: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | error1(catgets(elm_msg_cat, ElmSet, | ^ file_ops.c:199:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | error2(catgets(elm_msg_cat, ElmSet, ElmFileCopyErrorReadingFile, | ^ file_ops.c:199:12: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | error2(catgets(elm_msg_cat, ElmSet, ElmFileCopyErrorReadingFile, | ^ file_ops.c:202:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | error2(catgets(elm_msg_cat, ElmSet, ElmFileCopyErrorReadingInput, | ^ file_ops.c:202:12: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | error2(catgets(elm_msg_cat, ElmSet, ElmFileCopyErrorReadingInput, | ^ file_ops.c:212:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | PUBLIC int file_rename(srcname, destname) | ^ file_ops.c:222:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | error2(catgets(elm_msg_cat, ElmSet, ElmFileRenameFailed, | ^ file_ops.c:222:11: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | error2(catgets(elm_msg_cat, ElmSet, ElmFileRenameFailed, | ^ 71 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c file_util.c -o file_util.o In file included from file_util.c:35: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ file_util.c:54:24: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | error2(stderr, catgets(elm_msg_cat, ElmSet, ElmErrorFstat, | ^ file_util.c:54:8: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | error2(stderr, catgets(elm_msg_cat, ElmSet, ElmErrorFstat, | ^ file_util.c:56:2: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 56 | leave(LEAVE_EMERGENCY); | ^ file_util.c:43:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | long bytes(name) | ^ file_util.c:57:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 57 | } | ^ file_util.c:60:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | long fsize(fd) | ^ file_util.c:111:9: warning: call to undeclared function 'elm_chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 111 | (void) elm_chown(fname_dest, userid, groupid); | ^ file_util.c:119:21: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | error1(catgets(elm_msg_cat, ElmSet, ElmTruncateFailedCopy, | ^ file_util.c:119:13: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | error1(catgets(elm_msg_cat, ElmSet, ElmTruncateFailedCopy, | ^ file_util.c:127:21: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | error1(catgets(elm_msg_cat, ElmSet, ElmFsyncFailedCopy, | ^ file_util.c:127:13: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | error1(catgets(elm_msg_cat, ElmSet, ElmFsyncFailedCopy, | ^ file_util.c:71:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | int copy(fname_src, fname_dest, isspool) | ^ file_util.c:195:34: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | case -1: fprintf(stderr, catgets(elm_msg_cat, ElmSet, | ^ file_util.c:200:34: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | case 1: fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmNoMail, | ^ file_util.c:200:27: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 200 | case 1: fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmNoMail, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | "You have no mail.\n\r")); | ~~~~~~~~~~~~~~~~~~~~~~~~ file_util.c:200:27: note: treat the string as an argument to avoid this 200 | case 1: fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmNoMail, | ^ | "%s", file_util.c:204:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | fprintf(stderr, catgets(elm_msg_cat, | ^ file_util.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] 153 | check_mailfile_size(mfile) | ^ 52 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c fileio.c -o fileio.o In file included from fileio.c:50: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ fileio.c:63:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | error1(catgets(elm_msg_cat, ElmSet, ElmWriteCopyMessageFailed, | ^ fileio.c:63:8: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | error1(catgets(elm_msg_cat, ElmSet, ElmWriteCopyMessageFailed, | ^ fileio.c:65:2: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | leave(LEAVE_EMERGENCY); | ^ fileio.c:59:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | static void copy_write_error_exit(err) | ^ fileio.c:136:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | error1(catgets(elm_msg_cat, ElmSet, ElmSeekFailed, | ^ fileio.c:136:14: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | error1(catgets(elm_msg_cat, ElmSet, ElmSeekFailed, | ^ fileio.c:147:2: warning: call to undeclared function 'get_encode_key'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 147 | get_encode_key(OFF); | ^ fileio.c:164:17: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | fputs(catgets(elm_msg_cat, ElmSet, ElmCopyMssgAttributionForwarded, | ^ fileio.c:378:4: warning: call to undeclared function 'encode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 378 | encode(buffer); | ^ fileio.c:383:3: warning: call to undeclared function 'encode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 383 | encode(buffer); | ^ fileio.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | copy_message(dest_file, msgnum, cm_options) | ^ fileio.c:438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | makeAttString(retbuf, retbuflen, attribution, sel_field, messageHeader) | ^ fileio.c:615:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | save_file_stats(fname) | ^ fileio.c:636:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 636 | restore_file_stats(fname) | ^ | int fileio.c:686:6: warning: call to undeclared function 'elm_chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 686 | if (elm_chown(fname, new_owner, new_group) < 0) { | ^ fileio.c:636:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | restore_file_stats(fname) | ^ 51 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c find_alias.c -o find_alias.o In file included from find_alias.c:33: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ find_alias.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | find_alias(word, alias_type) | ^ 36 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c forms.c -o forms.o In file included from forms.c:54: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ forms.c:59:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 59 | check_form_file(filename) | ^ | int forms.c:70:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | error2(catgets(elm_msg_cat, ElmSet, ElmErrorOpeningCheckFields, | ^ forms.c:70:10: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | error2(catgets(elm_msg_cat, ElmSet, ElmErrorOpeningCheckFields, | ^ forms.c:77:19: warning: call to undeclared function 'occurances_of'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 77 | field_count += occurances_of(':', buffer); | ^ forms.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | check_form_file(filename) | ^ forms.c:85:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 85 | format_form(filename) | ^ | int forms.c:105:17: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | error(catgets(elm_msg_cat, ElmSet, ElmCantReadMessageToValidate, | ^ forms.c:117:17: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | error(catgets(elm_msg_cat, ElmSet, ElmCouldntOpenNewformOutput, | ^ forms.c:133:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 133 | while (len_buf = mail_gets(buffer, SLEN, form)) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ forms.c:133:17: note: place parentheses around the assignment to silence this warning 133 | while (len_buf = mail_gets(buffer, SLEN, form)) { | ^ | ( ) forms.c:133:17: note: use '==' to turn this assignment into an equality comparison 133 | while (len_buf = mail_gets(buffer, SLEN, form)) { | ^ | == forms.c:135:18: warning: call to undeclared function 'occurances_of'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 135 | form_count += occurances_of(':', buffer); | ^ forms.c:145:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | error2(catgets(elm_msg_cat, ElmSet, ElmErrorUnlinkingFile, | ^ forms.c:145:12: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | error2(catgets(elm_msg_cat, ElmSet, ElmErrorUnlinkingFile, | ^ forms.c:151:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | error3(catgets(elm_msg_cat, ElmSet, ElmErrorLinkingFile, | ^ forms.c:151:12: warning: passing arguments to 'error3' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | error3(catgets(elm_msg_cat, ElmSet, ElmErrorLinkingFile, | ^ forms.c:159:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | error2(catgets(elm_msg_cat, ElmSet, ElmErrorUnlinkingFile, | ^ forms.c:159:10: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | error2(catgets(elm_msg_cat, ElmSet, ElmErrorUnlinkingFile, | ^ forms.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 | format_form(filename) | ^ forms.c:190:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | error2(catgets(elm_msg_cat, ElmSet, ElmSeekFailedFile, | ^ forms.c:190:10: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | error2(catgets(elm_msg_cat, ElmSet, ElmSeekFailedFile, | ^ forms.c:199:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 199 | while (len_buf = mail_gets(buffer, SLEN, curr_folder.fp)) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ forms.c:199:17: note: place parentheses around the assignment to silence this warning 199 | while (len_buf = mail_gets(buffer, SLEN, curr_folder.fp)) { | ^ | ( ) forms.c:199:17: note: use '==' to turn this assignment into an equality comparison 199 | while (len_buf = mail_gets(buffer, SLEN, curr_folder.fp)) { | ^ | == forms.c:203:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | error(catgets(elm_msg_cat, ElmSet, ElmNoFormInMessage, | ^ forms.c:213:17: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | error(catgets(elm_msg_cat, ElmSet, ElmNoFormInMessage, | ^ forms.c:225:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 225 | while (len_buf = mail_gets(buffer, SLEN, curr_folder.fp)) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ forms.c:225:17: note: place parentheses around the assignment to silence this warning 225 | while (len_buf = mail_gets(buffer, SLEN, curr_folder.fp)) { | ^ | ( ) forms.c:225:17: note: use '==' to turn this assignment into an equality comparison 225 | while (len_buf = mail_gets(buffer, SLEN, curr_folder.fp)) { | ^ | == forms.c:233:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | error(catgets(elm_msg_cat, ElmSet, ElmBadForm, | ^ forms.c:240:17: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | error(catgets(elm_msg_cat, ElmSet, ElmBadForm, | ^ forms.c:254:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | error2(catgets(elm_msg_cat, ElmSet, ElmCantOpenAsOutputFile, | ^ forms.c:254:10: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | error2(catgets(elm_msg_cat, ElmSet, ElmCantOpenAsOutputFile, | ^ forms.c:268:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 268 | while (len_buf = mail_gets(buffer, SLEN, curr_folder.fp)) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ forms.c:268:17: note: place parentheses around the assignment to silence this warning 268 | while (len_buf = mail_gets(buffer, SLEN, curr_folder.fp)) { | ^ | ( ) forms.c:268:17: note: use '==' to turn this assignment into an equality comparison 268 | while (len_buf = mail_gets(buffer, SLEN, curr_folder.fp)) { | ^ | == forms.c:279:21: warning: call to undeclared function 'occurances_of'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 279 | switch ((count = occurances_of(':', buffer))) { | ^ forms.c:284:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | printf(catgets(elm_msg_cat, ElmSet, ElmEnterAsManyLines, | ^ forms.c:284:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 284 | printf(catgets(elm_msg_cat, ElmSet, ElmEnterAsManyLines, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | "(Enter as many lines as needed, ending with a '.' by itself on a line)\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ forms.c:284:24: note: treat the string as an argument to avoid this 284 | printf(catgets(elm_msg_cat, ElmSet, ElmEnterAsManyLines, | ^ | "%s", forms.c:295:10: warning: call to undeclared function 'prompt_for_entries'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 295 | prompt_for_entries(buffer, fd, count); | ^ forms.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | mail_filled_in_form(address, subject) | ^ forms.c:311:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 311 | prompt_for_entries(buffer, fd, entries) | ^ | int forms.c:328:24: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | strcpy(prompt, catgets(elm_msg_cat, ElmSet, ElmFormNoPrompt, | ^ forms.c:357:4: warning: call to undeclared function 'prompt_for_sized_entry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 357 | prompt_for_sized_entry(prompt, mybuffer, field_size); | ^ forms.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | prompt_for_entries(buffer, fd, entries) | ^ forms.c:371:1: warning: non-void function does not return a value [-Wreturn-type] 371 | } | ^ forms.c:373:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 373 | prompt_for_sized_entry(prompt, buffer, field_size) | ^ | int forms.c:373:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] forms.c:396:1: warning: non-void function does not return a value [-Wreturn-type] 396 | } | ^ 76 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c hdrconfg.c -o hdrconfg.o In file included from hdrconfg.c:51: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ hdrconfg.c:170:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | PUBLIC void edit_headers(shdr) | ^ hdrconfg.c:183: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] 183 | (*h->hdrproc)(h); | ^ hdrconfg.c:193:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | CenterLine(0, catgets(elm_msg_cat, ElmSet, | ^ hdrconfg.c:196:14: warning: passing arguments to 'hdrmenu_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | hdrmenu_put(h, TRUE); | ^ hdrconfg.c:202:35: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | CenterLine(INSTRUCT_LINE, catgets(elm_msg_cat, ElmSet, | ^ hdrconfg.c:212:33: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | PutLine0(INPUT_LINE, 0, catgets(elm_msg_cat, ElmSet, | ^ hdrconfg.c:234:10: warning: call to undeclared function 'subshell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 234 | if (subshell()) | ^ hdrconfg.c:251:22: warning: passing arguments to 'hdrmenu_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | if (hdrmenu_get(h) != 0) | ^ hdrconfg.c:253:18: warning: passing arguments to 'hdrmenu_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | hdrmenu_put(h, FALSE); | ^ hdrconfg.c:258:33: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | CenterLine(ERROR_LINE, catgets(elm_msg_cat, ElmSet, | ^ hdrconfg.c:298:35: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | CenterLine(INSTRUCT_LINE, catgets(elm_msg_cat, ElmSet, | ^ hdrconfg.c:303:35: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | CenterLine(INSTRUCT_LINE, catgets(elm_msg_cat, ElmSet, | ^ hdrconfg.c:328:22: 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] 328 | (void) (*h->hdrproc)(h); | ^ hdrconfg.c:289:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | static int hdrmenu_get(h) | ^ hdrconfg.c:106:12: 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] 106 | static int hdrmenu_get(); | ^ hdrconfg.c:337:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | static void hdrmenu_put(h, already_clear) | ^ hdrconfg.c:107:13: 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] 107 | static void hdrmenu_put(); | ^ hdrconfg.c:417:12: warning: call to undeclared function 'build_address'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 417 | (void) build_address(strip_commas(h->inpval), h->expval); | ^ hdrconfg.c:417:38: warning: passing arguments to 'strip_commas' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | (void) build_address(strip_commas(h->inpval), h->expval); | ^ hdrconfg.c:414:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | static int hdrproc_addr(h) | ^ hdrconfg.c:108:12: 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] 108 | static int hdrproc_addr(); | ^ hdrconfg.c:457:32: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | CenterLine(ERROR_LINE, catgets(elm_msg_cat, ElmSet, | ^ hdrconfg.c:430:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | static int hdrproc_precedence(h) | ^ hdrconfg.c:109:12: 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] 109 | static int hdrproc_precedence(); | ^ hdrconfg.c:490:32: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | CenterLine(ERROR_LINE, catgets(elm_msg_cat, ElmSet, | ^ hdrconfg.c:503:32: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | CenterLine(ERROR_LINE, catgets(elm_msg_cat, ElmSet, | ^ hdrconfg.c:479:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | static int hdrproc_userhdr(h) | ^ hdrconfg.c:110:12: 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] 110 | static int hdrproc_userhdr(); | ^ hdrconfg.c:522:38: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | CenterLine(INSTRUCT_LINE, catgets(elm_msg_cat, ElmSet, | ^ hdrconfg.c:525:36: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | PutLine0(INPUT_LINE, 0, catgets(elm_msg_cat, ElmSet, | ^ hdrconfg.c:552:15: warning: passing arguments to 'domainize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | domainize(h->expval); | ^ hdrconfg.c:619:22: warning: passing arguments to 'domainize_addr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | domainize_addr(addr, d); | ^ hdrconfg.c:629:22: warning: passing arguments to 'domainize_addr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | domainize_addr(addr, d); | ^ hdrconfg.c:564:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | static void domainize(addresses) | ^ hdrconfg.c:112:13: 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] 112 | static void domainize(); | ^ hdrconfg.c:638:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | static void domainize_addr(src, dest) | ^ hdrconfg.c:113:13: 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] 113 | static void domainize_addr(); | ^ hdrconfg.c:665:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | PUBLIC int show_msg_headers(shdr, cmds) | ^ hdrconfg.c:681: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] 681 | (*h->hdrproc)(h); | ^ hdrconfg.c:696:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 696 | PUBLIC int edit_header_char(shdr, c) | ^ 75 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c help.c -o help.o In file included from help.c:41: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ help.c:45:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 45 | help(pager_help) | ^ | int help.c:61:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | help_message = catgets(elm_msg_cat, ElmSet, ElmHelpMessage, | ^ help.c:63:24: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | help_prompt = catgets(elm_msg_cat, ElmSet, ElmHelpPrompt, | ^ help.c:65:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | unknown_command = catgets(elm_msg_cat, ElmSet, ElmHelpUnknownCommand, | ^ help.c:73:4: warning: call to undeclared function 'put_border'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 73 | put_border(); | ^ help.c:77:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | CenterLine(LINES-4, catgets(elm_msg_cat, ElmSet, ElmHelpSystem, | ^ help.c:96:16: warning: call to undeclared function 'display_helpfile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | case '?': display_helpfile(pager_help? "pager" : "main"); | ^ help.c:99:43: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | case '$': if(!pager_help) s = catgets(elm_msg_cat, ElmSet, ElmHelpDollar, | ^ help.c:103:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | case '!': s = catgets(elm_msg_cat, ElmSet, ElmHelpShell, | ^ help.c:107:43: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | case '@': if(!pager_help) s = catgets(elm_msg_cat, ElmSet, ElmHelpDebugSummary, | ^ help.c:111:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | case '|': s = catgets(elm_msg_cat, ElmSet, ElmHelpPipe, | ^ help.c:115:43: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | case '#': if(!pager_help) s = catgets(elm_msg_cat, ElmSet, ElmHelpDebugAll, | ^ help.c:119:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | case '%': s = catgets(elm_msg_cat, ElmSet, ElmHelpDebugReturnAdd, | ^ help.c:123:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | case '&': s = catgets(elm_msg_cat, ElmSet, ElmHelpMagic, | ^ help.c:130:21: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | s = catgets(elm_msg_cat, ElmSet, ElmHelpLastMessage, | ^ help.c:134:43: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | case '-': if(!pager_help) s = catgets(elm_msg_cat, ElmSet, ElmHelpPreviousPage, | ^ help.c:138:43: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | case '=': if(!pager_help) s = catgets(elm_msg_cat, ElmSet, ElmHelpFirstMessage, | ^ help.c:143:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | s = catgets(elm_msg_cat, ElmSet, ElmHelpNextScreen, | ^ help.c:146:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | s = catgets(elm_msg_cat, ElmSet, ElmHelpDisplayCurrent, | ^ help.c:151:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | s = catgets(elm_msg_cat, ElmSet, ElmHelpNextPage, | ^ help.c:156:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | s = catgets(elm_msg_cat, ElmSet, ElmHelpSearchFolder, | ^ help.c:161:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | case '<': s = catgets(elm_msg_cat, ElmSet, ElmHelpCalendar, | ^ help.c:166:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | case '>': s = catgets(elm_msg_cat, ElmSet, ElmHelpSave, | ^ help.c:170:43: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | case '^': if(!pager_help) s = catgets(elm_msg_cat, ElmSet, ElmHelpToggleStatus, | ^ help.c:174:43: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | case 'a': if(!pager_help) s = catgets(elm_msg_cat, ElmSet, ElmHelpAliasSubmenu, | ^ help.c:178:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | case 'b': s = catgets(elm_msg_cat, ElmSet, ElmHelpBounce, | ^ help.c:182:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | case 'C': s = catgets(elm_msg_cat, ElmSet, ElmHelpCopy, | ^ help.c:187:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | s = catgets(elm_msg_cat, ElmSet, ElmHelpChangeFolder, | ^ help.c:191:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | case 'd': s = catgets(elm_msg_cat, ElmSet, ElmHelpDelete, | ^ help.c:195:50: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | case ctrl('D') : if(!pager_help) s = catgets(elm_msg_cat, ElmSet, ElmHelpDeletePattern, | ^ help.c:200:43: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | case 'e': if(!pager_help) s = catgets(elm_msg_cat, ElmSet, ElmHelpEditor, | ^ help.c:205:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | case 'f': s = catgets(elm_msg_cat, ElmSet, ElmHelpForward, | ^ help.c:209:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | case 'g': s = catgets(elm_msg_cat, ElmSet, ElmHelpGroupReply, | ^ help.c:213:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | case 'h': s = catgets(elm_msg_cat, ElmSet, ElmHelpDisplayHeaders, | ^ help.c:218:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | s = catgets(elm_msg_cat, ElmSet, ElmHelpReturnToIndex, | ^ help.c:222:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | case 'J': s = catgets(elm_msg_cat, ElmSet, ElmHelpNextMessage, | ^ help.c:226:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | case 'j': s = catgets(elm_msg_cat, ElmSet, ElmHelpNextUndeleted, | ^ help.c:230:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | case 'K': s = catgets(elm_msg_cat, ElmSet, ElmHelpPreviousMessage, | ^ help.c:234:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | case 'k': s = catgets(elm_msg_cat, ElmSet, ElmHelpPreviousUndeleted, | ^ help.c:239:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | s = catgets(elm_msg_cat, ElmSet, ElmHelpLimitDisplay, | ^ help.c:243:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | case 'M': s = catgets(elm_msg_cat, ElmSet, ElmHelpSendMail, | ^ help.c:247:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | case 'm': s = catgets(elm_msg_cat, ElmSet, ElmHelpSendMail, | ^ help.c:252:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | s = catgets(elm_msg_cat, ElmSet, ElmHelpDisplayNext, | ^ help.c:255:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | s = catgets(elm_msg_cat, ElmSet, ElmHelpDisplayThenNext, | ^ help.c:260:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | s = catgets(elm_msg_cat, ElmSet, ElmHelpOptionsMenu, | ^ help.c:264:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | case 'p': s = catgets(elm_msg_cat, ElmSet, ElmHelpPrint, | ^ help.c:269:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | s = catgets(elm_msg_cat, ElmSet, ElmHelpQuitPager, | ^ help.c:271:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | else s = catgets(elm_msg_cat, ElmSet, ElmHelpQuitMailer, | ^ help.c:275:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | case 'r': s = catgets(elm_msg_cat, ElmSet, ElmHelpReplyMessage, | ^ help.c:279:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | case 's': s = catgets(elm_msg_cat, ElmSet, ElmHelpSaveMessage, | ^ help.c:289:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | case 't': s = catgets(elm_msg_cat, ElmSet, ElmHelpTagMessage, | ^ help.c:293:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | case 'T': s = catgets(elm_msg_cat, ElmSet, ElmHelpTagAndNext, | ^ help.c:298:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | s = catgets(elm_msg_cat, ElmSet, ElmHelpTagPattern, | ^ help.c:302:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | case 'u': s = catgets(elm_msg_cat, ElmSet, ElmHelpUndeleteMessage, | ^ help.c:306:34: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | case ctrl('U') : s = catgets(elm_msg_cat, ElmSet, ElmHelpUndeletePattern, | ^ help.c:310:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | case 'x': s = catgets(elm_msg_cat, ElmSet, ElmHelpExitFolder, | ^ help.c:314:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | case 'X': s = catgets(elm_msg_cat, ElmSet, ElmHelpQuickExit, | ^ help.c:319:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | s = catgets(elm_msg_cat, ElmSet, ElmHelpQuickQuit, | ^ help.c:325:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | s = catgets(elm_msg_cat, ElmSet, ElmHelpScrollForward, | ^ help.c:328:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | s = catgets(elm_msg_cat, ElmSet, ElmHelpDisplayCurrentMessage, | ^ help.c:333:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | s = catgets(elm_msg_cat, ElmSet, ElmHelpRewriteScreen, | ^ help.c:339:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | s = catgets(elm_msg_cat, ElmSet, ElmHelpExitQuickly, | ^ help.c:344:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | s = catgets(elm_msg_cat, ElmSet, ElmHelpMakeMessageCurrent, | ^ help.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | help(pager_help) | ^ help.c:359:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 359 | display_helpfile(topic) | ^ | int help.c:376:11: warning: call to undeclared function 'system_call'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 376 | rc = system_call(buffer, SY_COOKED); | ^ help.c:384:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | error1(catgets(elm_msg_cat, ElmSet, ElmHelpCouldntOpenFile, | ^ help.c:384:10: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | error1(catgets(elm_msg_cat, ElmSet, ElmHelpCouldntOpenFile, | ^ help.c:393:32: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | PutLine0(LINES, 0, catgets(elm_msg_cat, ElmSet, | ^ help.c:404:35: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | PutLine0(LINES, 0, catgets(elm_msg_cat, ElmSet, | ^ help.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 | display_helpfile(topic) | ^ 106 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c in_utils.c -o in_utils.o In file included from in_utils.c:34: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ in_utils.c:91:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | PUBLIC int enter_yn(question, dflt, line, clear_and_center) | ^ in_utils.c:98:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | yes_display = catgets(elm_msg_cat, ElmSet, ElmYesWord, "Yes."); | ^ in_utils.c:99:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | no_display = catgets(elm_msg_cat, ElmSet, ElmNoWord, "No."); | ^ in_utils.c:114:13: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | PutLine1(line, col, question); | ^ in_utils.c:115:13: warning: passing arguments to 'PutLine2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | PutLine2(-1, -1, " (%c/%c) ", *def_ans_yes, *def_ans_no); | ^ in_utils.c:167:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | PUBLIC int enter_number(line, dfltval, thing) | ^ in_utils.c:175:21: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | prompt = catgets(elm_msg_cat, ElmSet, ElmSetCurrentTo, | ^ in_utils.c:179:13: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | PutLine1(line, COLS-(len+1), prompt, thing); | ^ in_utils.c:213:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | PUBLIC int enter_string(buf, bufsiz, line, col, mode) | ^ in_utils.c:245:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | error1(catgets(elm_msg_cat, ElmSet, ElmEnterStringBadMode, | ^ in_utils.c:245:8: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | error1(catgets(elm_msg_cat, ElmSet, ElmEnterStringBadMode, | ^ in_utils.c:400:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | PUBLIC int GetKey(wait_time) | ^ in_utils.c:500:27: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | static struct edit_field *edfld_new(buf, bufsiz, line, beg_col, options) | ^ in_utils.c:532:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | void edfld_destroy(ed) | ^ in_utils.c:540:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | static void edfld_output_cursor(ed) | ^ in_utils.c:552:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | static void edfld_output_field(ed, start_idx) | ^ in_utils.c:586:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | static void edfld_output_scroll(ed, nch) | ^ in_utils.c:622:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | static void edfld_redraw(ed) | ^ in_utils.c:630:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | static int edfld_setpos(ed, pos) | ^ in_utils.c:656:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | static int edfld_clear(ed) | ^ in_utils.c:675:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | static int edfld_delch(ed, nch) | ^ in_utils.c:750:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | static int edfld_insch(ed, ch) | ^ in_utils.c:800:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | static int edfld_nextword(ed) | ^ in_utils.c:819:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | static int edfld_prevword(ed) | ^ 59 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c init.c -o init.o In file included from init.c:34: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ init.c:77:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | def_ans_yes = catgets(elm_msg_cat, ElmSet, ElmYes, "y"); | ^ init.c:78:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | def_ans_no = catgets(elm_msg_cat, ElmSet, ElmNo, "n"); | ^ init.c:79:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | nls_deleted = catgets(elm_msg_cat, ElmSet, ElmTitleDeleted, "[deleted]"); | ^ init.c:80:23: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | nls_form = catgets(elm_msg_cat, ElmSet, ElmTitleForm, "Form"); | ^ init.c:81:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | nls_message = catgets(elm_msg_cat, ElmSet, ElmTitleMessage, "Message"); | ^ init.c:82:21: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | nls_to = catgets(elm_msg_cat, ElmSet, ElmTitleTo, "To"); | ^ init.c:83:23: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | nls_from = catgets(elm_msg_cat, ElmSet, ElmTitleFrom, "From"); | ^ init.c:84:23: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | nls_page = catgets(elm_msg_cat, ElmSet, ElmTitlePage, " Page %d"); | ^ init.c:85:23: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | nls_item = catgets(elm_msg_cat, ElmSet, Elmitem, "message"); | ^ init.c:86:24: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | nls_items = catgets(elm_msg_cat, ElmSet, Elmitems, "messages"); | ^ init.c:87:23: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | nls_Item = catgets(elm_msg_cat, ElmSet, ElmItem, "Message"); | ^ init.c:88:24: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | nls_Items = catgets(elm_msg_cat, ElmSet, ElmItems, "Messages"); | ^ init.c:89:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | nls_Prompt = catgets(elm_msg_cat, ElmSet, ElmPrompt, "Command: "); | ^ init.c:102:22: warning: call to undeclared function 'umask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 102 | original_umask = umask(077); | ^ init.c:128:5: warning: call to undeclared function 'read_rc_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 128 | read_rc_file(); | ^ init.c:138:20: warning: passing arguments to 'create_private_dir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | create_private_dir(buf); | ^ init.c:145:20: warning: passing arguments to 'create_private_dir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | create_private_dir(folders); | ^ init.c:156:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmInstalledSetuid, | ^ init.c:172:12: warning: call to undeclared function 'expand_filename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 172 | else if (!expand_filename(requestedmfile)) | ^ init.c:177:10: warning: call to undeclared function 'check_mailfile_size'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 177 | if (check_mailfile_size(requestedmfile) != 0) | ^ init.c:184:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, | ^ init.c:199:5: warning: call to undeclared function 'initialize_signals'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 199 | initialize_signals(); | ^ init.c:226:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | error(catgets(elm_msg_cat, ElmSet, ElmWindowSizeTooSmall, | ^ init.c:71:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | void initialize(requestedmfile) | ^ init.c:288:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmDirNoticeNo, | ^ init.c:288:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 288 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmDirNoticeNo, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 289 | "Very well, but you may run into difficulties later.\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.c:288:22: note: treat the string as an argument to avoid this 288 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmDirNoticeNo, | ^ | "%s", init.c:297:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmDirNoticeQuit, | ^ init.c:297:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 297 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmDirNoticeQuit, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | "OK. Bailing out of ELM.\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.c:297:22: note: treat the string as an argument to avoid this 297 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmDirNoticeQuit, | ^ | "%s", init.c:306:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmDirNoticeYes, | ^ init.c:312:9: warning: call to undeclared function 'mkdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 312 | if (mkdir(path, 0700) != 0) { | ^ init.c:317:9: warning: call to undeclared function 'elm_chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 317 | if (elm_chown(path, userid, groupid) != 0) { | ^ init.c:260:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | static void create_private_dir(path) | ^ init.c:56:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | static void create_private_dir(); | ^ 68 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c leavembox.c -o leavembox.o In file included from leavembox.c:48: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ leavembox.c:173:21: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | msg = catgets(elm_msg_cat, ElmSet, ElmLeaveDeleteMessage, | ^ leavembox.c:176:21: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | msg = catgets(elm_msg_cat, ElmSet, ElmLeaveDeleteMessages, | ^ leavembox.c:224:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | msg = catgets(elm_msg_cat, ElmSet, ElmLeaveMoveMessage, | ^ leavembox.c:227:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | msg = catgets(elm_msg_cat, ElmSet, ElmLeaveMoveMessages, | ^ leavembox.c:277:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | msg = catgets(elm_msg_cat, ElmSet, ElmLeaveKeepMessage, | ^ leavembox.c:280:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | msg = catgets(elm_msg_cat, ElmSet, ElmLeaveKeepMessages, | ^ leavembox.c:313:17: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | error(catgets(elm_msg_cat, ElmSet, | ^ leavembox.c:316:4: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 316 | leave(LEAVE_EMERGENCY); | ^ leavembox.c:345:17: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | error(catgets(elm_msg_cat, ElmSet, ElmFolderUnchanged, | ^ leavembox.c:361:4: warning: call to undeclared function 'sort_mailbox'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 361 | sort_mailbox(curr_folder.num_mssgs, FALSE); | ^ leavembox.c:372:35: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | MCsprintf(buffer, catgets(elm_msg_cat, ElmSet, ElmLeaveKeepStoreDelete, | ^ leavembox.c:376:35: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | MCsprintf(buffer, catgets(elm_msg_cat, ElmSet, ElmLeaveKeepStoreDeletePlural, | ^ leavembox.c:381:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | sprintf(buffer, catgets(elm_msg_cat, ElmSet, ElmLeaveKeepStore, | ^ leavembox.c:385:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | MCsprintf(buffer, catgets(elm_msg_cat, ElmSet, ElmLeaveKeepStorePlural, | ^ leavembox.c:392:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | sprintf(buffer, catgets(elm_msg_cat, ElmSet, ElmLeaveKeepDelete, | ^ leavembox.c:396:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | MCsprintf(buffer, catgets(elm_msg_cat, ElmSet, ElmLeaveKeepDeletePlural, | ^ leavembox.c:401:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | strcpy(buffer, catgets(elm_msg_cat, ElmSet, ElmLeaveKeep, | ^ leavembox.c:404:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | strcpy(buffer, catgets(elm_msg_cat, ElmSet, ElmLeaveKeepPlural, | ^ leavembox.c:411:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | sprintf(buffer, catgets(elm_msg_cat, ElmSet, ElmLeaveStoreDelete, | ^ leavembox.c:415:33: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | MCsprintf(buffer, catgets(elm_msg_cat, ElmSet, ElmLeaveStoreDeletePlural, | ^ leavembox.c:420:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | strcpy(buffer, catgets(elm_msg_cat, ElmSet, ElmLeaveStore, | ^ leavembox.c:423:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | strcpy(buffer, catgets(elm_msg_cat, ElmSet, ElmLeaveStorePlural, | ^ leavembox.c:428:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | strcpy(buffer, catgets(elm_msg_cat, ElmSet, ElmLeaveDelete, | ^ leavembox.c:438:4: warning: call to undeclared function 'elm_lock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 438 | elm_lock(LOCK_OUTGOING); | ^ leavembox.c:442:31: warning: passing arguments to 'bytes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | if (curr_folder.size != bytes(curr_folder.filename)) { | ^ leavembox.c:443:6: warning: call to undeclared function 'elm_unlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 443 | elm_unlock(); | ^ leavembox.c:444:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | error(catgets(elm_msg_cat, ElmSet, ElmLeaveNewMailArrived, | ^ leavembox.c:451:2: warning: call to undeclared function 'block_signals'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 451 | block_signals(); | ^ leavembox.c:459:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | error1(catgets(elm_msg_cat, ElmSet, ElmLeaveAppendDenied, | ^ leavembox.c:459:12: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | error1(catgets(elm_msg_cat, ElmSet, ElmLeaveAppendDenied, | ^ leavembox.c:468:6: warning: call to undeclared function 'elm_unlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 468 | elm_unlock(); | ^ leavembox.c:470:6: warning: call to undeclared function 'unblock_signals'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 470 | unblock_signals(); | ^ leavembox.c:477:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | error1(stderr, catgets(elm_msg_cat, ElmSet, | ^ leavembox.c:477:12: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | error1(stderr, catgets(elm_msg_cat, ElmSet, | ^ leavembox.c:480:6: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 480 | leave(LEAVE_ERROR|LEAVE_KEEP_TEMPFOLDER); | ^ leavembox.c:486:8: warning: call to undeclared function 'copy_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 486 | copy_message(temp, i+1, CM_UPDATE_STATUS); | ^ leavembox.c:491:11: warning: call to undeclared function 'elm_chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 491 | (void) elm_chown(recvd_mail, userid, groupid); | ^ leavembox.c:503:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | error2(catgets(elm_msg_cat, ElmSet, ElmLeaveErrorOnStat, | ^ leavembox.c:503:17: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | error2(catgets(elm_msg_cat, ElmSet, ElmLeaveErrorOnStat, | ^ leavembox.c:516:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | error1(catgets(elm_msg_cat, ElmSet, ElmLeaveTempFileDenied, | ^ leavembox.c:516:12: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | error1(catgets(elm_msg_cat, ElmSet, ElmLeaveTempFileDenied, | ^ leavembox.c:525:6: warning: call to undeclared function 'elm_unlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 525 | elm_unlock(); | ^ leavembox.c:527:6: warning: call to undeclared function 'unblock_signals'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 527 | unblock_signals(); | ^ leavembox.c:534:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | error1(catgets(elm_msg_cat, ElmSet, ElmLeaveCouldNotCreate, | ^ leavembox.c:534:12: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | error1(catgets(elm_msg_cat, ElmSet, ElmLeaveCouldNotCreate, | ^ leavembox.c:536:6: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 536 | leave(LEAVE_ERROR|LEAVE_KEEP_TEMPFOLDER); | ^ leavembox.c:542:8: warning: call to undeclared function 'copy_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 542 | copy_message(temp, i+1, CM_UPDATE_STATUS); | ^ leavembox.c:547:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | error1(catgets(elm_msg_cat, ElmSet, ElmLeaveCloseFailedTemp, | ^ leavembox.c:547:12: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | error1(catgets(elm_msg_cat, ElmSet, ElmLeaveCloseFailedTemp, | ^ leavembox.c:550:6: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 550 | leave(LEAVE_ERROR); | ^ leavembox.c:563:4: warning: call to undeclared function 'unblock_signals'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 563 | unblock_signals(); | ^ leavembox.c:572:5: warning: call to undeclared function 'save_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 572 | if(save_file_stats(curr_folder.filename) != 0) { | ^ leavembox.c:573:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | error1(catgets(elm_msg_cat, ElmSet, ElmLeaveProblemsSavingPerms, | ^ leavembox.c:573:10: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | error1(catgets(elm_msg_cat, ElmSet, ElmLeaveProblemsSavingPerms, | ^ leavembox.c:583:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | error2(catgets(elm_msg_cat, ElmSet, ElmLeaveErrorOnStat, | ^ leavembox.c:583:17: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | error2(catgets(elm_msg_cat, ElmSet, ElmLeaveErrorOnStat, | ^ leavembox.c:700:17: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | error1(catgets(elm_msg_cat, ElmSet, ElmLeaveRenameFailed, | ^ leavembox.c:700:9: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | error1(catgets(elm_msg_cat, ElmSet, ElmLeaveRenameFailed, | ^ leavembox.c:711:3: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 711 | leave(LEAVE_ERROR|LEAVE_KEEP_TEMPFOLDER); | ^ leavembox.c:718:10: warning: call to undeclared function 'copy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 718 | if (copy(temp_keep_file, curr_folder.filename, TRUE) < 0) { | ^ leavembox.c:737:17: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | error1(catgets(elm_msg_cat, ElmSet, | ^ leavembox.c:737:9: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | error1(catgets(elm_msg_cat, ElmSet, | ^ leavembox.c:743:3: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 743 | leave(LEAVE_ERROR|LEAVE_KEEP_TEMPFOLDER); | ^ leavembox.c:748:17: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 748 | error1(catgets(elm_msg_cat, ElmSet, ElmLeaveSavedMailIn, | ^ leavembox.c:748:9: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 748 | error1(catgets(elm_msg_cat, ElmSet, ElmLeaveSavedMailIn, | ^ leavembox.c:769:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | error1(catgets(elm_msg_cat, ElmSet, ElmLeaveKeepingEmpty, | ^ leavembox.c:769:12: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | error1(catgets(elm_msg_cat, ElmSet, ElmLeaveKeepingEmpty, | ^ leavembox.c:785:7: warning: call to undeclared function 'restore_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 785 | if(restore_file_stats(curr_folder.filename) == -1) { | ^ leavembox.c:786:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | error1(catgets(elm_msg_cat, ElmSet, ElmLeaveProblemsRestoringPerms, | ^ leavembox.c:786:12: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | error1(catgets(elm_msg_cat, ElmSet, ElmLeaveProblemsRestoringPerms, | ^ leavembox.c:812:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 812 | error2(catgets(elm_msg_cat, ElmSet, ElmLeaveChangingAccessTime, | ^ leavembox.c:812:10: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 812 | error2(catgets(elm_msg_cat, ElmSet, ElmLeaveChangingAccessTime, | ^ leavembox.c:820:26: warning: passing arguments to 'bytes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 820 | curr_folder.size = bytes(curr_folder.filename); | ^ leavembox.c:821:2: warning: call to undeclared function 'elm_unlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 821 | elm_unlock(); /* remove the lock on the file ASAP! */ | ^ leavembox.c:826:2: warning: call to undeclared function 'unblock_signals'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 826 | unblock_signals(); | ^ leavembox.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | leave_mbox(resyncing, quitting, prompt) | ^ leavembox.c:854:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 854 | block_signals() | ^ | int leavembox.c:897:1: warning: non-void function does not return a value [-Wreturn-type] 897 | } | ^ leavembox.c:903:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 903 | unblock_signals() | ^ | int leavembox.c:933:1: warning: non-void function does not return a value [-Wreturn-type] 933 | } | ^ 115 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c lock.c -o lock.o In file included from lock.c:42: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ lock.c:71: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 previous declaration [-Wdeprecated-non-prototype] 71 | extern char *mk_lockname(); | ^ ../hdrs/elm_lib.h:199:7: note: conflicting prototype is here 199 | char *mk_lockname P_((const char *)); | ^ lock.c:87:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | Grab_the_file(flock_fd) | ^ lock.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | Release_the_file(flock_fd) | ^ lock.c:171:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 171 | elm_lock(direction) | ^ | int lock.c:353:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | printf(catgets(elm_msg_cat, ElmSet, ElmLeaveErrorReopenMailbox, | ^ lock.c:361:2: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 361 | leave(LEAVE_ERROR); | ^ lock.c:379:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | error2(catgets(elm_msg_cat, ElmSet, ElmLeaveErrorFlockMailbox, | ^ lock.c:379:12: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | error2(catgets(elm_msg_cat, ElmSet, ElmLeaveErrorFlockMailbox, | ^ lock.c:385:6: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 385 | leave(LEAVE_ERROR); | ^ lock.c:393:21: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | error1 (catgets(elm_msg_cat, ElmSet, ElmLeaveWaitingToRead, | ^ lock.c:393:13: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | error1 (catgets(elm_msg_cat, ElmSet, ElmLeaveWaitingToRead, | ^ lock.c:407:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | error(catgets(elm_msg_cat, ElmSet, ElmLeaveGivingUp, | ^ lock.c:412:2: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 412 | leave(LEAVE_ERROR); | ^ lock.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | elm_lock(direction) | ^ lock.c:455:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 455 | if (retcode = Release_the_file (flock_fd)) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lock.c:455:18: note: place parentheses around the assignment to silence this warning 455 | if (retcode = Release_the_file (flock_fd)) { | ^ | ( ) lock.c:455:18: note: use '==' to turn this assignment into an equality comparison 455 | if (retcode = Release_the_file (flock_fd)) { | ^ | == lock.c:467:23: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | error1 (catgets (elm_msg_cat, ElmSet, | ^ lock.c:467:14: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | error1 (catgets (elm_msg_cat, ElmSet, | ^ 52 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c limit.c -o limit.o In file included from limit.c:43: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ limit.c:65:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | prompt = catgets(elm_msg_cat, ElmSet, ElmLimitEnterCriteria, | ^ limit.c:70:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | MCsprintf(msg, catgets(elm_msg_cat, ElmSet, ElmLimitAlreadyHave, | ^ limit.c:76:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | PutLine0(-1, -1, catgets(elm_msg_cat, ElmSet, ElmYesWord, "Yes.")); | ^ limit.c:77:40: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | PutLine0(LINES-3, COLS-30, catgets(elm_msg_cat, ElmSet, ElmLimitAdding, | ^ limit.c:80:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | PutLine0(-1, -1, catgets(elm_msg_cat, ElmSet, ElmNoWord, "No.")); | ^ limit.c:82:40: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | PutLine0(LINES-3, COLS-30, catgets(elm_msg_cat, ElmSet, ElmLimitChanging, | ^ limit.c:97:4: warning: call to undeclared function 'split_word'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | split_word(criteria, first, rest); | ^ limit.c:102:23: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | error(catgets(elm_msg_cat, AliasesSet, AliasesEnterLastSelected, | ^ limit.c:105:23: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | error(catgets(elm_msg_cat, AliasesSet, AliasesEnterSelected, | ^ limit.c:114:19: warning: call to undeclared function 'limit_alias_selection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 114 | selected = limit_alias_selection(BY_NAME, rest, selected); | ^ limit.c:126:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | error1(catgets(elm_msg_cat, ElmSet, ElmLimitNotValidCriterion, | ^ limit.c:126:14: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | error1(catgets(elm_msg_cat, ElmSet, ElmLimitNotValidCriterion, | ^ limit.c:135:23: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | error(catgets(elm_msg_cat, ElmSet, ElmEnterLastSelected, | ^ limit.c:138:23: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | error(catgets(elm_msg_cat, ElmSet, ElmEnterSelected, | ^ limit.c:147:19: warning: call to undeclared function 'limit_selection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 147 | selected = limit_selection(SUBJECT, rest, selected); | ^ limit.c:153:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | error1(catgets(elm_msg_cat, ElmSet, ElmLimitNotValidCriterion, | ^ limit.c:153:14: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | error1(catgets(elm_msg_cat, ElmSet, ElmLimitNotValidCriterion, | ^ limit.c:162:23: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | strcpy(msg, catgets(elm_msg_cat, ElmSet, ElmLimitReturnToUnlimited, | ^ limit.c:167:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | sprintf(msg, catgets(elm_msg_cat, AliasesSet, | ^ limit.c:171:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | strcpy(msg, catgets(elm_msg_cat, AliasesSet, | ^ limit.c:174:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | strcpy(msg, catgets(elm_msg_cat, AliasesSet, | ^ limit.c:179:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | sprintf(msg, catgets(elm_msg_cat, ElmSet, | ^ limit.c:182:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | strcpy(msg, catgets(elm_msg_cat, ElmSet, ElmLimitMessageSelected, | ^ limit.c:185:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | strcpy(msg, catgets(elm_msg_cat, ElmSet, | ^ limit.c:196:21: warning: call to undeclared function 'visible_to_index'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 196 | curr_alias = visible_to_index(1)+1; | ^ limit.c:199:32: warning: call to undeclared function 'visible_to_index'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 199 | curr_folder.curr_mssg = visible_to_index(1)+1; | ^ limit.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | limit_selection(based_on, pattern, additional_criteria) | ^ limit.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | limit_alias_selection(based_on, pattern, additional_criteria) | ^ limit.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | next_message(iindex, skipdel) | ^ limit.c:360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | prev_message(iindex, skipdel) | ^ limit.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | compute_visible(message) | ^ limit.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 | visible_to_index(message) | ^ 67 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c mime.c -o mime.o In file included from mime.c:29: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ mime.c:34:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | int mime_encoding_type(Encoding) | ^ 36 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c newmbox.c -o newmbox.o In file included from newmbox.c:60: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ newmbox.c:125:21: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | error(catgets(elm_msg_cat, ElmSet, ElmAlreadyRunning1, | ^ newmbox.c:127:21: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | error(catgets(elm_msg_cat, ElmSet, ElmAlreadyRunning2, | ^ newmbox.c:129:21: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | error(catgets(elm_msg_cat, ElmSet, ElmAlreadyRunning3, | ^ newmbox.c:131:14: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | error1("%\t%s", new_tempname); | ^ newmbox.c:132:8: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | leave(LEAVE_ERROR|LEAVE_KEEP_LOCK|LEAVE_KEEP_TEMPFOLDER); | ^ newmbox.c:144:17: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | error2(catgets(elm_msg_cat, ElmSet, ElmSorryCantUnlinkTemp, | ^ newmbox.c:144:9: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | error2(catgets(elm_msg_cat, ElmSet, ElmSorryCantUnlinkTemp, | ^ newmbox.c:147:3: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 147 | leave(LEAVE_ERROR|LEAVE_KEEP_TEMPFOLDER); | ^ newmbox.c:173:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | error2(catgets(elm_msg_cat, ElmSet, ElmFailOnOpenNewmbox, | ^ newmbox.c:173:12: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | error2(catgets(elm_msg_cat, ElmSet, ElmFailOnOpenNewmbox, | ^ newmbox.c:176:6: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 176 | leave(LEAVE_ERROR); | ^ newmbox.c:87:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | int newmbox(new_filename, adds_only) | ^ newmbox.c:200:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | static int folder_is_spool(filename) | ^ newmbox.c:226:36: warning: call to undeclared function 'matchInList'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 226 | if ( (TreatAsSpooled) || (matchInList(magiclist,magiccount,filename,FALSE)) ) | ^ newmbox.c:234:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | static void mk_temp_mail_fn(tempfn, mbox) | ^ newmbox.c:263:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | error2(catgets(elm_msg_cat, ElmSet, ElmWriteToTempFailed, | ^ newmbox.c:263:8: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | error2(catgets(elm_msg_cat, ElmSet, ElmWriteToTempFailed, | ^ newmbox.c:266:2: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 266 | leave(LEAVE_ERROR); | ^ newmbox.c:270:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | static int read_headers(add_new_only) | ^ newmbox.c:304:4: warning: call to undeclared function 'elm_lock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 304 | elm_lock(LOCK_INCOMING); /* ensure no mail arrives while we do this! */ | ^ newmbox.c:310:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | error1(catgets(elm_msg_cat, ElmSet, ElmWhatsThisTempExists, | ^ newmbox.c:310:14: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | error1(catgets(elm_msg_cat, ElmSet, ElmWhatsThisTempExists, | ^ newmbox.c:313:8: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 313 | leave(LEAVE_ERROR|LEAVE_KEEP_TEMPFOLDER); | ^ newmbox.c:317:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | error2(catgets(elm_msg_cat, ElmSet, ElmCouldntOpenForTemp, | ^ newmbox.c:317:14: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | error2(catgets(elm_msg_cat, ElmSet, ElmCouldntOpenForTemp, | ^ newmbox.c:320:8: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 320 | leave(LEAVE_ERROR); | ^ newmbox.c:323:12: warning: call to undeclared function 'elm_chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 323 | (void) elm_chown(curr_folder.tempname, userid, groupid); | ^ newmbox.c:324:5: warning: call to undeclared function 'chmod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 324 | chmod(curr_folder.tempname, 0600); /* shut off file for other people! */ | ^ newmbox.c:339:21: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | error2(catgets(elm_msg_cat, ElmSet, | ^ newmbox.c:339:13: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | error2(catgets(elm_msg_cat, ElmSet, | ^ newmbox.c:343:7: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 343 | leave(LEAVE_ERROR); | ^ newmbox.c:347:21: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | error1(catgets(elm_msg_cat, ElmSet, ElmCouldntSeekTempEnd, | ^ newmbox.c:347:13: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | error1(catgets(elm_msg_cat, ElmSet, ElmCouldntSeekTempEnd, | ^ newmbox.c:350:7: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 350 | leave(LEAVE_ERROR); | ^ newmbox.c:360:32: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | PutLine2(LINES, 0, catgets(elm_msg_cat, ElmSet, ElmReadingInMessage, | ^ newmbox.c:360:14: warning: passing arguments to 'PutLine2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | PutLine2(LINES, 0, catgets(elm_msg_cat, ElmSet, ElmReadingInMessage, | ^ newmbox.c:364:32: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | PutLine1(LINES, 0, catgets(elm_msg_cat, ElmSet, ElmReadingInMessage0, | ^ newmbox.c:364:14: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | PutLine1(LINES, 0, catgets(elm_msg_cat, ElmSet, ElmReadingInMessage0, | ^ newmbox.c:371:32: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | PutLine0(LINES-2, 0, catgets(elm_msg_cat, ElmSet, ElmReadingMessage0, | ^ newmbox.c:378:21: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | error3(catgets(elm_msg_cat, ElmSet, ElmCouldntSeekEndFolder, | ^ newmbox.c:378:13: warning: passing arguments to 'error3' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | error3(catgets(elm_msg_cat, ElmSet, ElmCouldntSeekEndFolder, | ^ newmbox.c:381:7: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 381 | leave(LEAVE_EMERGENCY); | ^ newmbox.c:390:26: warning: passing arguments to 'bytes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | curr_folder.size = bytes(curr_folder.filename); | ^ newmbox.c:392:8: warning: call to undeclared function 'elm_unlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 392 | elm_unlock(); | ^ newmbox.c:429:37: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | set_central_message(catgets(elm_msg_cat, ElmSet, ElmMailBeingForwardTo, | ^ newmbox.c:450:21: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | error(catgets(elm_msg_cat, ElmSet, ElmFolderCorrupt, | ^ newmbox.c:452:15: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 452 | leave(LEAVE_ERROR); | ^ newmbox.c:549:13: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | PutLine1(count_x, count_y, "%d", count); | ^ newmbox.c:621:21: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | error(catgets(elm_msg_cat, ElmSet, ElmFolderCorrupt, | ^ newmbox.c:623:8: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 623 | leave(LEAVE_ERROR); | ^ newmbox.c:633:17: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | error2(catgets(elm_msg_cat, ElmSet, | ^ newmbox.c:633:9: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | error2(catgets(elm_msg_cat, ElmSet, | ^ newmbox.c:637:3: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 637 | leave(LEAVE_EMERGENCY); | ^ newmbox.c:669:8: warning: call to undeclared function 'forwarded'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 669 | forwarded(buffer, current_header); /* return address */ | ^ newmbox.c:676:10: warning: call to undeclared function 'copy_sans_escape'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 676 | copy_sans_escape(current_header->subject, tbuffer, STRING); | ^ newmbox.c:677:3: warning: call to undeclared function 'remove_possible_trailing_spaces'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 677 | remove_possible_trailing_spaces(current_header->subject); | ^ newmbox.c:784:8: warning: call to undeclared function 'remove_possible_trailing_spaces'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 784 | remove_possible_trailing_spaces(current_header->mailx_status); | ^ newmbox.c:874:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 874 | error2(catgets(elm_msg_cat, ElmSet, ElmCloseOnFolderFailed, | ^ newmbox.c:874:12: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 874 | error2(catgets(elm_msg_cat, ElmSet, ElmCloseOnFolderFailed, | ^ newmbox.c:877:6: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 877 | leave(LEAVE_ERROR); | ^ newmbox.c:882:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 882 | error2(catgets(elm_msg_cat, ElmSet, ElmCloseOnTempFailed, | ^ newmbox.c:882:14: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 882 | error2(catgets(elm_msg_cat, ElmSet, ElmCloseOnTempFailed, | ^ newmbox.c:885:8: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 885 | leave(LEAVE_ERROR); | ^ newmbox.c:889:13: warning: passing arguments to 'bytes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 889 | if (bytes(curr_folder.tempname) != curr_folder.size) { | ^ newmbox.c:891:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 891 | error(catgets(elm_msg_cat, ElmSet, ElmLengthNESpool, | ^ newmbox.c:893:6: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 893 | leave(LEAVE_ERROR); | ^ newmbox.c:898:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 898 | error2(catgets(elm_msg_cat, ElmSet, ElmCouldntReopenForTemp, | ^ newmbox.c:898:12: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 898 | error2(catgets(elm_msg_cat, ElmSet, ElmCouldntReopenForTemp, | ^ newmbox.c:901:6: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 901 | leave(LEAVE_ERROR); | ^ newmbox.c:914:2: warning: call to undeclared function 'sort_mailbox'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 914 | sort_mailbox(count, 1); | ^ newmbox.c:953:9: warning: call to undeclared function 'get_page'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 953 | get_page(curr_folder.curr_mssg); | ^ 106 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c options.c -o options.o In file included from options.c:83: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ options.c:114:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 114 | static post_cal(f) | ~~~~~~ ^ | int options.c:117:12: warning: call to undeclared function 'expand_env'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 117 | (void) expand_env(calendar_file, raw_calendar_file, sizeof(calendar_file)); | ^ options.c:114:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | static post_cal(f) | ^ options.c:118:1: warning: non-void function does not return a value [-Wreturn-type] 118 | } | ^ options.c:120:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 120 | static post_editor(f) | ~~~~~~ ^ | int options.c:123:12: warning: call to undeclared function 'expand_env'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 123 | (void) expand_env(editor, raw_editor, sizeof(editor)); | ^ options.c:120:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | static post_editor(f) | ^ options.c:124:1: warning: non-void function does not return a value [-Wreturn-type] 124 | } | ^ options.c:126:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 126 | static post_pager(f) | ~~~~~~ ^ | int options.c:129:12: warning: call to undeclared function 'expand_env'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 129 | (void) expand_env(pager, raw_pager, sizeof(pager)); | ^ options.c:126:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | static post_pager(f) | ^ options.c:131:1: warning: non-void function does not return a value [-Wreturn-type] 131 | } | ^ options.c:133:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 133 | static post_folder(f) | ~~~~~~ ^ | int options.c:136:12: warning: call to undeclared function 'expand_env'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 136 | (void) expand_env(folders, raw_folders, sizeof(folders)); | ^ options.c:133:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | static post_folder(f) | ^ options.c:137:1: warning: non-void function does not return a value [-Wreturn-type] 137 | } | ^ options.c:139:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 139 | static post_sort(f) | ~~~~~~ ^ | int options.c:139:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] options.c:144:1: warning: non-void function does not return a value [-Wreturn-type] 144 | } | ^ options.c:146:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 146 | static post_sent(f) | ~~~~~~ ^ | int options.c:149:12: warning: call to undeclared function 'expand_env'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 149 | (void) expand_env(sent_mail, raw_sentmail, sizeof(sent_mail)); | ^ options.c:146:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | static post_sent(f) | ^ options.c:150:1: warning: non-void function does not return a value [-Wreturn-type] 150 | } | ^ options.c:152:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 152 | static post_print(f) | ~~~~~~ ^ | int options.c:155:12: warning: call to undeclared function 'expand_env'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 155 | (void) expand_env(printout, raw_printout, sizeof(printout)); | ^ options.c:152:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | static post_print(f) | ^ options.c:156:1: warning: non-void function does not return a value [-Wreturn-type] 156 | } | ^ options.c:158:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 158 | static post_menu(f) | ~~~~~~ ^ | int options.c:158:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] options.c:162:1: warning: non-void function does not return a value [-Wreturn-type] 162 | } | ^ options.c:243:14: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | c = catgets(elm_msg_cat, ElmSet, o->menu_msg, "~"); | ^ options.c:247:14: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | c = catgets(elm_msg_cat, ElmSet, o->one_liner_msg, "~"); | ^ options.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] 255 | find_cfg_opts(c) | ^ options.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 | one_liner_for(c) | ^ options.c:301:24: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | CenterLine(y, catgets(elm_msg_cat, ElmSet, ElmOptionsEditor, | ^ options.c:311:34: warning: passing arguments to 'str_opt_nam' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | PutLine1(y, 0, buf, str_opt_nam(o->parm, TRUE)); | ^ options.c:311:11: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | PutLine1(y, 0, buf, str_opt_nam(o->parm, TRUE)); | ^ options.c:315:33: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | CenterLine(LINES-5, catgets(elm_msg_cat, ElmSet, ElmOptionsEditor, | ^ options.c:330:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | CenterLine(LINES-3, catgets(elm_msg_cat, ElmSet, ElmPressKeyHelp, | ^ options.c:333:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | lower_prompt(prompt = catgets(elm_msg_cat, ElmSet, ElmKeyPrompt, "Key : ")); | ^ options.c:340:7: warning: call to undeclared function 'display_helpfile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 340 | display_helpfile("options"); | ^ options.c:346:12: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | error2("%c = %s", c, ptr); | ^ options.c:349:37: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | case ctrl('L'): error(catgets(elm_msg_cat, ElmSet, | ^ options.c:353:32: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | case '>' : error(catgets(elm_msg_cat, ElmSet,ElmOptionGreaterHelp, | ^ options.c:357:32: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | case 'i' : error(catgets(elm_msg_cat, ElmSet, ElmOptionReturnHelp, | ^ options.c:360:32: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | case 'x' : error(catgets(elm_msg_cat, ElmSet, ElmHelpQuickExit, | ^ options.c:364:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | default: error(catgets(elm_msg_cat, ElmSet, ElmKeyIsntUsed, | ^ options.c:381:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | case 0 : return(catgets(elm_msg_cat, ElmSet, ElmBeginningUser, | ^ options.c:383:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | case 1 : return(catgets(elm_msg_cat, ElmSet, ElmIntermediateUser, | ^ options.c:385:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | default: return(catgets(elm_msg_cat, ElmSet, ElmExpertUser, | ^ options.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | level_name(n) | ^ options.c:108: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] 108 | char *level_name(); | ^ options.c:405:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | on_name = catgets(elm_msg_cat, ElmSet, ElmOn, "ON "); | ^ options.c:406:21: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | off_name = catgets(elm_msg_cat, ElmSet, ElmOff, "OFF"); | ^ options.c:418:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | CenterLine(LINES-4, catgets(elm_msg_cat, ElmSet, ElmSelectOptionLetter, | ^ options.c:422:32: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | PutLine0(LINES-2, 0, catgets(elm_msg_cat, ElmSet, ElmPrompt, | ^ options.c:432:5: warning: call to undeclared function 'one_liner'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 432 | one_liner(o->one_liner); | ^ options.c:433:9: warning: call to undeclared function 'info_enter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 433 | y = info_enter(o->parm, y, 23); | ^ options.c:435: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] 435 | (o->post)(y); | ^ options.c:437:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | error(catgets(elm_msg_cat, ElmSet, ElmCommandUnknown, | ^ options.c:443:4: warning: call to undeclared function 'one_liner'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 443 | one_liner(NULL); | ^ options.c:451:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | PutLine0(-1, -1, catgets(elm_msg_cat, ElmSet, ElmSaveOptions, | ^ options.c:454:6: warning: call to undeclared function 'save_options'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 454 | save_options(); | ^ options.c:458:6: warning: call to undeclared function 'quit_abandon'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 458 | quit_abandon(TRUE); | ^ options.c:470:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | error(catgets(elm_msg_cat, ElmSet, ElmCommandUnknown, | ^ options.c:481:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 481 | on_or_off(var, x, y) | ^ | int options.c:488:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | PutLine0(x, y+6, catgets(elm_msg_cat, ElmSet, ElmUseSpaceToToggle, | ^ options.c:481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | on_or_off(var, x, y) | ^ options.c:503:1: warning: non-void function does not return a value [-Wreturn-type] 503 | } | ^ options.c:506:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 506 | switch_user_level(ulevel, x, y) | ^ | int options.c:511:32: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | PutLine0(x, y+20, catgets(elm_msg_cat, ElmSet, ElmSpaceToChange, | ^ options.c:518:12: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | PutLine1(x,y, "%s", level_name(*ulevel)); | ^ options.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] 506 | switch_user_level(ulevel, x, y) | ^ options.c:522:1: warning: non-void function does not return a value [-Wreturn-type] 522 | } | ^ options.c:525:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 525 | change_sort(var, x, y) | ^ | int options.c:539:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | PutLine0(x, COLS-29, catgets(elm_msg_cat, ElmSet, ElmSpaceForNext, | ^ options.c:541:2: warning: call to undeclared function 'sort_one_liner'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 541 | sort_one_liner(sortby); | ^ options.c:555:40: warning: passing arguments to 'sort_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | PutLine1(x, y, "%-24s", sort_name(TRUE)); | ^ options.c:555:15: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | PutLine1(x, y, "%-24s", sort_name(TRUE)); | ^ options.c:561:40: warning: passing arguments to 'sort_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | PutLine1(x, y, "%-24s", sort_name(TRUE)); | ^ options.c:561:15: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | PutLine1(x, y, "%-24s", sort_name(TRUE)); | ^ options.c:570:17: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | error(catgets(elm_msg_cat, ElmSet, ElmResortingFolder, | ^ options.c:574:4: warning: call to undeclared function 'sort_mailbox'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 574 | sort_mailbox(curr_folder.num_mssgs, 0); | ^ options.c:525:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | change_sort(var, x, y) | ^ options.c:583:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 583 | one_liner(string) | ^ | int options.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] options.c:591:1: warning: non-void function does not return a value [-Wreturn-type] 591 | } | ^ options.c:594:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 594 | sort_one_liner(sorting_by) | ^ | int options.c:604:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | catgets(elm_msg_cat, ElmSet, ElmSortRSentDate, | ^ options.c:608:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | catgets(elm_msg_cat, ElmSet, ElmSortRRecvDate, | ^ options.c:612:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | catgets(elm_msg_cat, ElmSet, ElmSortRMailbox, | ^ options.c:616:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | catgets(elm_msg_cat, ElmSet, ElmSortRSender, | ^ options.c:620:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | catgets(elm_msg_cat, ElmSet, ElmSortRSize, | ^ options.c:624:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | catgets(elm_msg_cat, ElmSet, ElmSortRSubject, | ^ options.c:628:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | catgets(elm_msg_cat, ElmSet, ElmSortRStatus, | ^ options.c:632:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 632 | catgets(elm_msg_cat, ElmSet, ElmSortSentDate, | ^ options.c:636:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | catgets(elm_msg_cat, ElmSet, ElmSortRecvDate, | ^ options.c:640:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | catgets(elm_msg_cat, ElmSet, ElmSortMailbox, | ^ options.c:644:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | catgets(elm_msg_cat, ElmSet, ElmSortSender, | ^ options.c:648:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | catgets(elm_msg_cat, ElmSet, ElmSortSize, | ^ options.c:652:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | catgets(elm_msg_cat, ElmSet, ElmSortSubject, | ^ options.c:656:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | catgets(elm_msg_cat, ElmSet, ElmSortStatus, | ^ options.c:594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | sort_one_liner(sorting_by) | ^ options.c:660:1: warning: non-void function does not return a value [-Wreturn-type] 660 | } | ^ options.c:664:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 664 | change_alias_sort(var, x, y) | ^ | int options.c:678:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 678 | PutLine0(x, COLS-29, catgets(elm_msg_cat, ElmSet, ElmSpaceForNext, | ^ options.c:680:2: warning: call to undeclared function 'alias_sort_one_liner'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 680 | alias_sort_one_liner(alias_sortby); | ^ options.c:695:46: warning: passing arguments to 'alias_sort_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | PutLine1(x, y, "%-24s", alias_sort_name(TRUE)); | ^ options.c:695:15: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | PutLine1(x, y, "%-24s", alias_sort_name(TRUE)); | ^ options.c:701:46: warning: passing arguments to 'alias_sort_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 701 | PutLine1(x, y, "%-24s", alias_sort_name(TRUE)); | ^ options.c:701:15: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 701 | PutLine1(x, y, "%-24s", alias_sort_name(TRUE)); | ^ options.c:710:17: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 710 | error(catgets(elm_msg_cat, ElmSet, ElmResortingAliases, | ^ options.c:714:4: warning: call to undeclared function 'main_state'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 714 | main_state(); | ^ options.c:715:4: warning: call to undeclared function 'sort_aliases'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 715 | sort_aliases(num_aliases, FALSE, FALSE); | ^ options.c:664:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 664 | change_alias_sort(var, x, y) | ^ options.c:724:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 724 | alias_sort_one_liner(sorting_by) | ^ | int options.c:734:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | catgets(elm_msg_cat, ElmSet, ElmASortRAlias, | ^ options.c:738:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | catgets(elm_msg_cat, ElmSet, ElmASortRName, | ^ options.c:742:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 742 | catgets(elm_msg_cat, ElmSet, ElmASortRText, | ^ options.c:747:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 747 | catgets(elm_msg_cat, ElmSet, ElmASortAlias, | ^ options.c:751:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | catgets(elm_msg_cat, ElmSet, ElmASortName, | ^ options.c:755:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | catgets(elm_msg_cat, ElmSet, ElmASortText, | ^ options.c:724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | alias_sort_one_liner(sorting_by) | ^ options.c:760:1: warning: non-void function does not return a value [-Wreturn-type] 760 | } | ^ options.c:767:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 767 | info_enter(name, ypos, xpos) | ^ | int options.c:767:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c out_utils.c -o out_utils.o In file included from out_utils.c:35: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ out_utils.c:39:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | PUBLIC void PutLine0(x, y, line) | ^ out_utils.c:50:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | PUBLIC void PutLine1(x,y, line, arg1) | ^ In file included from out_utils.c:36: In file included from ../hdrs/elm_globals.h:72: ../hdrs/elm_curses.h:145:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 145 | void PutLine1(); | ^ out_utils.c:61:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | PUBLIC void PutLine2(x,y, line, arg1, arg2) | ^ In file included from out_utils.c:36: In file included from ../hdrs/elm_globals.h:72: ../hdrs/elm_curses.h:146:6: 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] 146 | void PutLine2(); | ^ out_utils.c:72:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | PUBLIC void PutLine3(x,y, line, arg1, arg2, arg3) | ^ In file included from out_utils.c:36: In file included from ../hdrs/elm_globals.h:72: ../hdrs/elm_curses.h:147:6: 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] 147 | void PutLine3(); | ^ out_utils.c:83:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | PUBLIC void CenterLine(line, str) | ^ out_utils.c:127:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | PUBLIC void set_error(s) | ^ out_utils.c:133:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | PUBLIC void error(s) | ^ out_utils.c:141:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | PUBLIC void error1(s, a) | ^ In file included from out_utils.c:36: In file included from ../hdrs/elm_globals.h:72: ../hdrs/elm_curses.h:153:6: 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] 153 | void error1(); | ^ out_utils.c:150:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | PUBLIC void error2(s, a1, a2) | ^ In file included from out_utils.c:36: In file included from ../hdrs/elm_globals.h:72: ../hdrs/elm_curses.h:154:6: 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] 154 | void error2(); | ^ out_utils.c:159:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | PUBLIC void error3(s, a1, a2, a3) | ^ In file included from out_utils.c:36: In file included from ../hdrs/elm_globals.h:72: ../hdrs/elm_curses.h:155:6: 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] 155 | void error3(); | ^ out_utils.c:167:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | PUBLIC void lower_prompt(s) | ^ out_utils.c:177:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | PUBLIC void prompt(s) | ^ out_utils.c:189:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | PUBLIC void set_central_message(string, arg) | ^ 54 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c pattern.c -o pattern.o In file included from pattern.c:45: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ pattern.c:75:23: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | word_Action = catgets(elm_msg_cat, ElmSet, ElmTag, | ^ pattern.c:77:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | word_Actioned = catgets(elm_msg_cat, ElmSet, ElmCapTagged, | ^ pattern.c:79:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | word_actioned = catgets(elm_msg_cat, ElmSet, ElmTagged, | ^ pattern.c:83:23: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | word_Action = catgets(elm_msg_cat, ElmSet, ElmDelete, | ^ pattern.c:85:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | word_Actioned = catgets(elm_msg_cat, ElmSet, ElmCapMarkDelete, | ^ pattern.c:87:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | word_actioned = catgets(elm_msg_cat, ElmSet, ElmMarkDelete, | ^ pattern.c:91:23: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | word_Action = catgets(elm_msg_cat, ElmSet, ElmUndelete, | ^ pattern.c:93:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | word_Actioned = catgets(elm_msg_cat, ElmSet, ElmCapUndeleted, | ^ pattern.c:95:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | word_actioned = catgets(elm_msg_cat, ElmSet, ElmUndeleted, | ^ pattern.c:104:50: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | PutLine2(LINES-3, strlen(nls_Prompt), catgets(elm_msg_cat, ElmSet, | ^ pattern.c:104:13: warning: passing arguments to 'PutLine2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | PutLine2(LINES-3, strlen(nls_Prompt), catgets(elm_msg_cat, ElmSet, | ^ pattern.c:112:33: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | PutLine0(LINES-2, 0, catgets(elm_msg_cat, ElmSet, ElmEnterPattern, | ^ pattern.c:128:23: warning: passing arguments to 'name_matches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | if (!name_matches(i, pat) && !alias_matches(i, pat)) | ^ pattern.c:128:49: warning: passing arguments to 'alias_matches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | if (!name_matches(i, pat) && !alias_matches(i, pat)) | ^ pattern.c:147:6: warning: call to undeclared function 'show_new_status'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 147 | show_new_status(i); | ^ pattern.c:159:23: warning: passing arguments to 'from_matches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | if (!from_matches(i, pat) && !subject_matches(i, pat)) | ^ pattern.c:159:51: warning: passing arguments to 'subject_matches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | if (!from_matches(i, pat) && !subject_matches(i, pat)) | ^ pattern.c:176:6: warning: call to undeclared function 'show_new_status'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 176 | show_new_status(i); | ^ pattern.c:189:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | error2(catgets(elm_msg_cat, ElmSet, ElmNoMatchesNoTags, | ^ pattern.c:189:8: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | error2(catgets(elm_msg_cat, ElmSet, ElmNoMatchesNoTags, | ^ pattern.c:193:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | error2(catgets(elm_msg_cat, ElmSet, ElmTaggedMessage, | ^ pattern.c:193:8: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | error2(catgets(elm_msg_cat, ElmSet, ElmTaggedMessage, | ^ pattern.c:197:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | error3(catgets(elm_msg_cat, ElmSet, ElmTaggedMessages, | ^ pattern.c:197:8: warning: passing arguments to 'error3' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | error3(catgets(elm_msg_cat, ElmSet, ElmTaggedMessages, | ^ pattern.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | meta_match(function) | ^ pattern.c:227:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | MCsprintf(tagmsg, catgets(elm_msg_cat, ElmSet, ElmSomeMessagesATagged, | ^ pattern.c:229:24: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | MCsprintf(msg, catgets(elm_msg_cat, ElmSet, ElmRemoveTags, | ^ pattern.c:232:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | MCsprintf(tagmsg, catgets(elm_msg_cat, ElmSet, ElmAMessageATagged, | ^ pattern.c:234:24: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | MCsprintf(msg, catgets(elm_msg_cat, ElmSet, ElmRemoveTag, | ^ pattern.c:242:3: warning: call to undeclared function 'show_new_status'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 242 | show_new_status(i); | ^ pattern.c:247:3: warning: call to undeclared function 'show_new_status'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 247 | show_new_status(i); | ^ pattern.c:278:34: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | PutLine1(LINES-3, 40, catgets(elm_msg_cat, ElmSet, ElmMatchAnywhere, | ^ pattern.c:278:13: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | PutLine1(LINES-3, 40, catgets(elm_msg_cat, ElmSet, ElmMatchAnywhere, | ^ pattern.c:280:33: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | PutLine0(LINES-1, 0, catgets(elm_msg_cat, ElmSet, ElmMatchPattern, | ^ pattern.c:306:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | PutLine1(LINES-1, 0, catgets(elm_msg_cat, ElmSet, | ^ pattern.c:306:10: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | PutLine1(LINES-1, 0, catgets(elm_msg_cat, ElmSet, | ^ pattern.c:336:25: warning: passing arguments to 'name_matches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | matched = name_matches(i, sel_pat) || alias_matches(i, sel_pat); | ^ pattern.c:336:54: warning: passing arguments to 'alias_matches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | matched = name_matches(i, sel_pat) || alias_matches(i, sel_pat); | ^ pattern.c:338:32: warning: passing arguments to 'comment_matches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | matched = comment_matches(i, sel_pat) || | ^ pattern.c:339:23: warning: passing arguments to 'address_matches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | address_matches(i, sel_pat); | ^ pattern.c:351:22: warning: passing arguments to 'match_in_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | if (match_in_message(sel_pat)) | ^ pattern.c:358:22: warning: passing arguments to 'from_matches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | if (from_matches(i, sel_pat) || subject_matches(i, sel_pat)) { | ^ pattern.c:358:53: warning: passing arguments to 'subject_matches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | if (from_matches(i, sel_pat) || subject_matches(i, sel_pat)) { | ^ pattern.c:366:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | error(catgets(elm_msg_cat, ElmSet, ElmPatternNotFound, | ^ pattern.c:377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | from_matches(message_number, pat) | ^ pattern.c:52:12: 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] 52 | static int from_matches(); | ^ pattern.c:385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | subject_matches(message_number, pat) | ^ pattern.c:53:12: 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] 53 | static int subject_matches(); | ^ pattern.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | name_matches(message_number, pat) | ^ pattern.c:54:12: 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] 54 | static int name_matches(); | ^ pattern.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 | alias_matches(message_number, pat) | ^ pattern.c:55:12: 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] 55 | static int alias_matches(); | ^ pattern.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | comment_matches(message_number, pat) | ^ pattern.c:56:12: 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] 56 | static int comment_matches(); | ^ pattern.c:424:28: warning: passing arguments to 'get_alias_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | exp = get_alias_address(aliases[message_number]->alias, TRUE, &dummy); | ^ pattern.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | address_matches(message_number, pat) | ^ pattern.c:57:12: 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] 57 | static int address_matches(); | ^ pattern.c:443:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | error(catgets(elm_msg_cat, ElmSet, ElmSearchingFolderPattern, | ^ pattern.c:460:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | error2(catgets(elm_msg_cat, ElmSet, ElmMatchSeekFailed, | ^ pattern.c:460:12: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | error2(catgets(elm_msg_cat, ElmSet, ElmMatchSeekFailed, | ^ pattern.c:429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | match_in_message(pat) | ^ pattern.c:58:12: 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] 58 | static int match_in_message(); | ^ 97 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c quit.c -o quit.o In file included from quit.c:32: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ quit.c:41:9: warning: call to undeclared function 'leave_mbox'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 41 | if (leave_mbox(FALSE, TRUE, prompt) == -1) { | ^ quit.c:45:5: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 45 | leave(LEAVE_NORMAL); | ^ quit.c:38:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | void quit(prompt) | ^ quit.c:72:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | msg = catgets(elm_msg_cat, ElmSet, ElmAbandonChange, | ^ quit.c:75:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | msg = catgets(elm_msg_cat, ElmSet, ElmAbandonChangePlural, | ^ quit.c:85:6: warning: call to undeclared function 'elm_unlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | elm_unlock(); | ^ quit.c:92:2: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 92 | leave(LEAVE_NORMAL); | ^ quit.c:49:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | void quit_abandon(do_prompt) | ^ quit.c:103:7: warning: call to undeclared function 'leave_mbox'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | if(leave_mbox(TRUE, FALSE, TRUE) ==-1) | ^ quit.c:115:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | error2(stderr, catgets(elm_msg_cat, ElmSet, ElmCantOpenFolderRead, | ^ quit.c:115:14: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | error2(stderr, catgets(elm_msg_cat, ElmSet, ElmCantOpenFolderRead, | ^ quit.c:118:8: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | leave(LEAVE_ERROR); | ^ quit.c:122:4: warning: call to undeclared function 'newmbox'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 122 | newmbox(curr_folder.filename, FALSE); | ^ quit.c:127:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 127 | change_file(p1) | ^ | int quit.c:137:9: warning: call to undeclared function 'select_folder'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 137 | if (select_folder(newfile, sizeof(newfile), READ_ACCESS, FALSE, | ^ quit.c:141:9: warning: call to undeclared function 'leave_mbox'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | if (leave_mbox(FALSE, FALSE, TRUE) == -1) { | ^ quit.c:150:5: warning: call to undeclared function 'newmbox'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 150 | newmbox(newfile, FALSE); | ^ quit.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | change_file(p1) | ^ 53 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c read_rc.c -o read_rc.o In file included from read_rc.c:61: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ read_rc.c:92:9: warning: call to undeclared function 'expand_env'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 92 | if (expand_env(dest, src, destlen) != 0) { | ^ read_rc.c:94:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | error2(catgets(elm_msg_cat, ElmSet, ElmCannotInitErrorExpanding, | ^ read_rc.c:94:8: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | error2(catgets(elm_msg_cat, ElmSet, ElmCannotInitErrorExpanding, | ^ read_rc.c:97:2: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | leave(LEAVE_ERROR); | ^ read_rc.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | do_expand_env(descr, dest, src, destlen) | ^ read_rc.c:102:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 102 | read_rc_file() | ^ | int read_rc.c:123:2: warning: call to undeclared function 'default_weedlist'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 123 | default_weedlist(); | ^ read_rc.c:194:9: warning: call to undeclared function 'getelmrcName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 194 | getelmrcName(filename,SLEN); | ^ read_rc.c:214:20: warning: passing arguments to 'find_cfg_opts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | o = find_cfg_opts(*s); | ^ read_rc.c:249:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmSignatureObsolete, | ^ read_rc.c:249:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 249 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmSignatureObsolete, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | "\"signature\" used in obsolete way in .elm/elmrc file. Ignored!\n\r\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 251 | \t(Signature should specify the filename to use rather than on/off.)\n\r\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read_rc.c:249:22: note: treat the string as an argument to avoid this 249 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmSignatureObsolete, | ^ | "%s", read_rc.c:261:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmBouncebackGTMaxhops, | ^ read_rc.c:269:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmTimeoutLTTen, | ^ read_rc.c:269:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 269 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmTimeoutLTTen, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | "Warning: timeout is set to less than 10 seconds. Ignored.\n\r")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read_rc.c:269:22: note: treat the string as an argument to avoid this 269 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmTimeoutLTTen, | ^ | "%s", read_rc.c:276:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, | ^ read_rc.c:276:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 276 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 277 | ElmReadMessageIncrement, | ~~~~~~~~~~~~~~~~~~~~~~~~ 278 | "Warning: readmsginc is set to less than 1. Ignored.\n\r")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read_rc.c:276:19: note: treat the string as an argument to avoid this 276 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, | ^ | "%s", read_rc.c:284:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, | ^ read_rc.c:284:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 284 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | ElmSleepMessageInvalid, | ~~~~~~~~~~~~~~~~~~~~~~~ 286 | "Warning: sleepmsg is set to less than 0. Setting to 0.\n\r")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read_rc.c:284:19: note: treat the string as an argument to avoid this 284 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, | ^ | "%s", read_rc.c:319:9: warning: call to undeclared function 'expandFilenamesInMagicList'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 319 | expandFilenamesInMagicList(); | ^ read_rc.c:322:4: warning: call to undeclared function 'dump_rc_results'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 322 | dump_rc_results(); | ^ read_rc.c:324:1: warning: non-void function does not return a value [-Wreturn-type] 324 | } | ^ read_rc.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | do_rc(file, lcl) | ^ read_rc.c:338:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 338 | while (x = mail_gets(buffer, SLEN, file)) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read_rc.c:338:11: note: place parentheses around the assignment to silence this warning 338 | while (x = mail_gets(buffer, SLEN, file)) { | ^ | ( ) read_rc.c:338:11: note: use '==' to turn this assignment into an equality comparison 338 | while (x = mail_gets(buffer, SLEN, file)) { | ^ | == read_rc.c:345:9: warning: call to undeclared function 'breakup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 345 | if(breakup(buffer, word1, word2) == -1) | ^ read_rc.c:352:10: warning: call to undeclared function 'do_set'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 352 | x = do_set(file, word1, word2, lcl); | ^ read_rc.c:356:7: warning: call to undeclared function 'alternatives'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 356 | alternatives(buffer); | ^ read_rc.c:358:7: warning: call to undeclared function 'weedout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 358 | weedout(buffer); | ^ read_rc.c:362:7: warning: call to undeclared function 'add_incoming'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 362 | add_incoming(buffer); | ^ read_rc.c:366:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmBadSortKeyInElmrc, | ^ read_rc.c:384:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 384 | do_set(file, word1, word2, lcl) | ^ | int read_rc.c:410:8: warning: call to undeclared function 'is_it_on'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 410 | is_it_on(word2) ? "OFF" : "ON", lcl)); | ^ read_rc.c:488:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmBadSortKeyInElmrc, | ^ read_rc.c:520:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmBadAliasSortInElmrc, | ^ read_rc.c:528:3: warning: call to undeclared function 'alternatives'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 528 | alternatives(word2); | ^ read_rc.c:532:3: warning: call to undeclared function 'weedout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 532 | weedout(word2); | ^ read_rc.c:536:10: warning: call to undeclared function 'add_incoming'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 536 | add_incoming(word2); | ^ read_rc.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] 384 | do_set(file, word1, word2, lcl) | ^ read_rc.c:552:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 552 | weedout(string) | ^ | int read_rc.c:585:8: warning: call to undeclared function 'matchInList'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 585 | if (matchInList(weedlist,weedcount,header,TRUE)) | ^ read_rc.c:589:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmTooManyWeedHeaders, | ^ read_rc.c:589:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 589 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmTooManyWeedHeaders, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 590 | "Too many weed headers! Leaving...\n\r")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read_rc.c:589:22: note: treat the string as an argument to avoid this 589 | fprintf(stderr, catgets(elm_msg_cat, ElmSet, ElmTooManyWeedHeaders, | ^ | "%s", read_rc.c:552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | weedout(string) | ^ read_rc.c:595:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 595 | } | ^ read_rc.c:598:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 598 | alternatives(string) | ^ | int read_rc.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] read_rc.c:636:1: warning: non-void function does not return a value [-Wreturn-type] 636 | } | ^ read_rc.c:638:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 638 | add_incoming (string) | ^ | int read_rc.c:662:9: warning: call to undeclared function 'matchInList'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 662 | if (matchInList(magiclist,magiccount,filename,FALSE)) | ^ read_rc.c:638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | add_incoming (string) | ^ read_rc.c:671:1: warning: non-void function does not return a value [-Wreturn-type] 671 | } | ^ read_rc.c:673:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 673 | expandFilenamesInMagicList() | ^ | int read_rc.c:682:7: warning: call to undeclared function 'expand_filename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 682 | expand_filename (filename, FALSE); | ^ read_rc.c:686:1: warning: non-void function does not return a value [-Wreturn-type] 686 | } | ^ read_rc.c:688:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 688 | default_weedlist() | ^ | int read_rc.c:706:1: warning: non-void function does not return a value [-Wreturn-type] 706 | } | ^ read_rc.c:708:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | int matchInList(list,count,buffer,ignoreCase) | ^ read_rc.c:737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | breakup(buffer, word1, word2) | ^ read_rc.c:802:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | int read_env_var(dst, src) | ^ read_rc.c:864:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | int expand_env(dst, src, len) | ^ read_rc.c:1017:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1017 | dump_rc_results() | ^ | int read_rc.c:1069:17: warning: passing arguments to 'sort_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1069 | s = sort_name(FALSE); | ^ read_rc.c:1073:23: warning: passing arguments to 'alias_sort_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1073 | s = alias_sort_name(FALSE); | ^ read_rc.c:1082:1: warning: non-void function does not return a value [-Wreturn-type] 1082 | } | ^ read_rc.c:1084:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1084 | is_it_on(word) | ^ | int read_rc.c:1084: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 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c reply.c -o reply.o In file included from reply.c:43: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ reply.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 | get_reply_subj(out_subj,in_subj,dflt_subj) | ^ reply.c:98:26: warning: passing arguments to 'get_token' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | while ((host = get_token(addrptr, "!", 1)) != NULL) { | ^ reply.c:108:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | error(catgets(elm_msg_cat, ElmSet, ElmBuildRAHitMaxHops, | ^ reply.c:121:4: warning: call to undeclared function 'fix_arpa_address'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 121 | fix_arpa_address(hosts[host_count-1]); | ^ reply.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | optimize_and_add(new_address, full_address) | ^ reply.c:177:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | error2(catgets(elm_msg_cat, ElmSet, ElmSeekFailedFile, | ^ reply.c:177:8: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | error2(catgets(elm_msg_cat, ElmSet, ElmSeekFailedFile, | ^ reply.c:266:6: warning: call to undeclared function 'translate_return'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 266 | translate_return(return_address, ret_address); | ^ reply.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 | get_and_expand_everyone(return_address, full_address) | ^ reply.c:294:6: warning: call to undeclared function 'get_return'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 294 | if (get_return(return_address, curr_folder.curr_mssg-1)) { | ^ reply.c:300:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | catgets(elm_msg_cat, ElmSet, ElmFilledInForm, | ^ reply.c:303:9: warning: call to undeclared function 'mail_filled_in_form'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 303 | return mail_filled_in_form(return_address, subject); | ^ reply.c:307:6: warning: call to undeclared function 'get_return'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 307 | if (get_return(return_address, curr_folder.curr_mssg-1)) { | ^ reply.c:313:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | catgets(elm_msg_cat, ElmSet, ElmReYourMail, | ^ reply.c:334:2: warning: call to undeclared function 'get_return'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 334 | get_return(return_address, curr_folder.curr_mssg-1); | ^ reply.c:344:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | catgets(elm_msg_cat, ElmSet, ElmReYourMail, "Re: your mail")); | ^ reply.c:362:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | error(catgets(elm_msg_cat, ElmSet, ElmFormsCannotForward, /*(*/ | ^ reply.c:367:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | msg = catgets(elm_msg_cat, ElmSet, ElmEditOutgoingMessage, | ^ reply.c:379:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | strcpy(subject, catgets(elm_msg_cat, ElmSet, ElmForwardedMail, | ^ reply.c:386:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 386 | get_return_address(address, single_address) | ^ | int reply.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] reply.c:403:1: warning: non-void function does not return a value [-Wreturn-type] 403 | } | ^ reply.c:514:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 514 | while (c = strstr (&single_address[first], "::")) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reply.c:514:15: note: place parentheses around the assignment to silence this warning 514 | while (c = strstr (&single_address[first], "::")) { | ^ | ( ) reply.c:514:15: note: use '==' to turn this assignment into an equality comparison 514 | while (c = strstr (&single_address[first], "::")) { | ^ | == reply.c:406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | get_return_name(address, name, trans_to_lowercase) | ^ reply.c:583:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | msg = catgets(elm_msg_cat, ElmSet, ElmSureYouWantToRemail, | ^ reply.c:586:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | set_error(catgets(elm_msg_cat, ElmSet, ElmBounceCancelled, | ^ reply.c:596:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | set_error(catgets(elm_msg_cat, ElmSet, ElmCouldntMakeTempFileName, | ^ reply.c:603:12: warning: call to undeclared function 'elm_chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 603 | (void) elm_chown(filename, userid, groupid); | ^ reply.c:608:5: warning: call to undeclared function 'copy_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 608 | copy_message(mailfd, curr_folder.curr_mssg, CM_REMOTE|CM_MMDF_HEAD|CM_REMAIL); | ^ reply.c:614:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | PutLine0(LINES, 0, catgets(elm_msg_cat, ElmSet, ElmResendingMail, | ^ reply.c:616:12: warning: call to undeclared function 'system_call'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 616 | (void) system_call(buffer, 0); | ^ reply.c:617:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | set_error(catgets(elm_msg_cat, ElmSet, ElmMailResent, "Mail resent.")); | ^ 67 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c returnadd.c -o returnadd.o In file included from returnadd.c:46: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ returnadd.c:77:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | error1(catgets(elm_msg_cat, ElmSet, ElmNotAValidMessageNum, | ^ returnadd.c:77:10: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | error1(catgets(elm_msg_cat, ElmSet, ElmNotAValidMessageNum, | ^ returnadd.c:87:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | error2(catgets(elm_msg_cat, ElmSet, ElmCouldntSeekBytesIntoFlle, | ^ returnadd.c:87:12: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | error2(catgets(elm_msg_cat, ElmSet, ElmCouldntSeekBytesIntoFlle, | ^ returnadd.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 | get_existing_address(buffer, msgnum) | ^ returnadd.c:140:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | error1(catgets(elm_msg_cat, ElmSet, ElmNotAValidMessageNum, | ^ returnadd.c:140:10: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | error1(catgets(elm_msg_cat, ElmSet, ElmNotAValidMessageNum, | ^ returnadd.c:151:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | error2(catgets(elm_msg_cat, ElmSet, ElmCouldntSeekBytesIntoFlle, | ^ returnadd.c:151:10: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | error2(catgets(elm_msg_cat, ElmSet, ElmCouldntSeekBytesIntoFlle, | ^ returnadd.c:163:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 163 | if (len_buf2 = mail_gets(buf2, SLEN, curr_folder.fp)) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ returnadd.c:163:15: note: place parentheses around the assignment to silence this warning 163 | if (len_buf2 = mail_gets(buf2, SLEN, curr_folder.fp)) { | ^ | ( ) returnadd.c:163:15: note: use '==' to turn this assignment into an equality comparison 163 | if (len_buf2 = mail_gets(buf2, SLEN, curr_folder.fp)) { | ^ | == returnadd.c:172:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 172 | if (len_buf2 = mail_gets(buf2, SLEN, curr_folder.fp)) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ returnadd.c:172:17: note: place parentheses around the assignment to silence this warning 172 | if (len_buf2 = mail_gets(buf2, SLEN, curr_folder.fp)) { | ^ | ( ) returnadd.c:172:17: note: use '==' to turn this assignment into an equality comparison 172 | if (len_buf2 = mail_gets(buf2, SLEN, curr_folder.fp)) { | ^ | == returnadd.c:183:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 183 | if (len_buf2 = mail_gets(buf2, SLEN, curr_folder.fp)) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ returnadd.c:183:19: note: place parentheses around the assignment to silence this warning 183 | if (len_buf2 = mail_gets(buf2, SLEN, curr_folder.fp)) { | ^ | ( ) returnadd.c:183:19: note: use '==' to turn this assignment into an equality comparison 183 | if (len_buf2 = mail_gets(buf2, SLEN, curr_folder.fp)) { | ^ | == returnadd.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | get_return(buffer, msgnum) | ^ 48 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c save.c -o save.o In file included from save.c:47: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ save.c:111:14: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | word_save = S_(ElmSave, "save"); | ^ save.c:57:32: note: expanded from macro 'S_' 57 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ save.c:112:14: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | word_Save = S_(ElmCapSave, "Save"); | ^ save.c:57:32: note: expanded from macro 'S_' 57 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ save.c:113:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | word_saved = S_(ElmSaved, "saved"); | ^ save.c:57:32: note: expanded from macro 'S_' 57 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ save.c:115:14: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | word_save = S_(ElmCopy, "copy"); | ^ save.c:57:32: note: expanded from macro 'S_' 57 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ save.c:116:14: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | word_Save = S_(ElmCapCopy, "Copy"); | ^ save.c:57:32: note: expanded from macro 'S_' 57 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ save.c:117:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | word_saved = S_(ElmCopied, "copied"); | ^ save.c:57:32: note: expanded from macro 'S_' 57 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ save.c:131:23: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | PutLine2(LINES-3, 0, S_(ElmSavecmdPrompt0, "%s%s message"), | ^ save.c:57:32: note: expanded from macro 'S_' 57 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ save.c:131:10: warning: passing arguments to 'PutLine2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | PutLine2(LINES-3, 0, S_(ElmSavecmdPrompt0, "%s%s message"), | ^ save.c:134:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | if (!enter_yn(S_(ElmSavecmdSaveMarked, "Save marked messages?"), | ^ save.c:57:32: note: expanded from macro 'S_' 57 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ save.c:143:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | sprintf(prompt1, S_(ElmSavecmdPrompt1CurrentMessage, | ^ save.c:57:32: note: expanded from macro 'S_' 57 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ save.c:147:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | sprintf(prompt1, S_(ElmSavecmdPrompt1TaggedMessage, | ^ save.c:57:32: note: expanded from macro 'S_' 57 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ save.c:151:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | sprintf(prompt1, S_(ElmSavecmdPrompt1TaggedMessages, | ^ save.c:57:32: note: expanded from macro 'S_' 57 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ save.c:155:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | sprintf(prompt2, S_(ElmSavecmdPrompt2, "Select Folder for %s"), word_Save); | ^ save.c:57:32: note: expanded from macro 'S_' 57 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ save.c:159:2: warning: call to undeclared function 'get_return'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 159 | get_return(lbuf, sel_mesg_num); | ^ save.c:164:6: warning: call to undeclared function 'get_return_name'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 164 | get_return_name(lbuf, filename+1, TRUE); | ^ save.c:176:32: warning: passing arguments to 'nameof' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | (void) strcpy(filename, nameof(filename)); | ^ save.c:184:28: warning: passing arguments to 'nameof' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | canon_filename = nameof(filename); | ^ save.c:185:5: warning: call to undeclared function 'save_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 185 | save_file_stats(filename); | ^ save.c:205:6: warning: call to undeclared function 'copy_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 205 | copy_message(fp, i+1, CM_UPDATE_STATUS); | ^ save.c:208:6: warning: call to undeclared function 'copy_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 208 | copy_message(fp, i+1, CM_UPDATE_STATUS); | ^ save.c:216:6: warning: call to undeclared function 'show_new_status'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 216 | show_new_status(i); | ^ save.c:217:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | error3(S_(ElmSavecmdMessageSavedTo, | ^ save.c:57:32: note: expanded from macro 'S_' 57 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ save.c:217:8: warning: passing arguments to 'error3' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | error3(S_(ElmSavecmdMessageSavedTo, | ^ save.c:235:5: warning: call to undeclared function 'restore_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 235 | restore_file_stats(filename); | ^ save.c:239:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | MCsprintf(lbuf, S_(ElmSavecmdMessagesSaved, | ^ save.c:57:32: note: expanded from macro 'S_' 57 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ save.c:86:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | int save(redraw_p, silently, delete) | ^ save.c:285:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | int select_folder(filename, filesiz, acc_mode, allowSameFolder, prompt1, prompt2, screen_changed_p) | ^ save.c:301:10: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | PutLine1(LINES-3, 0, prompt1); | ^ save.c:302:6: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | s = S_(ElmSelfolderHelp, "(Use \"?\" for help)"); | ^ save.c:57:32: note: expanded from macro 'S_' 57 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ save.c:314:6: warning: call to undeclared function 'display_helpfile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 314 | display_helpfile("selfolder"); | ^ save.c:348:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | set_error(S_(ElmSelfolderAlreadyReading, | ^ save.c:57:32: note: expanded from macro 'S_' 57 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ save.c:363:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | sprintf(errbuf, S_(ElmSelfolderCannotOpen, | ^ save.c:57:32: note: expanded from macro 'S_' 57 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ save.c:382:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | int verify_create(filename) | ^ save.c:391:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | msg = S_(ElmSavecmdAppendFile, "Append to existing file \"%s\"?"); | ^ save.c:57:32: note: expanded from macro 'S_' 57 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ save.c:393:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | msg = S_(ElmSavecmdAppendFolder, "Append to mail folder \"%s\"?"); | ^ save.c:57:32: note: expanded from macro 'S_' 57 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ save.c:398:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | msg = S_(ElmSavecmdCreateFolder, "Create new mail folder \"%s\"?"); | ^ save.c:57:32: note: expanded from macro 'S_' 57 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ save.c:400:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | msg = S_(ElmSavecmdCreateFile, "Create new file \"%s\"?"); | ^ save.c:57:32: note: expanded from macro 'S_' 57 | #define S_(sel, str) catgets(elm_msg_cat, ElmSet, (sel), (str)) | ^ save.c:404:29: warning: passing arguments to 'nameof' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | sprintf(buf, msg, nameof(filename)); | ^ save.c:410:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | int expand_filename(filename) | ^ save.c:433:24: 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 previous declaration [-Wdeprecated-non-prototype] 433 | struct passwd *pass, *getpwnam(); | ^ /usr/include/pwd.h:149:16: note: conflicting prototype is here 149 | struct passwd *getpwnam(const char *); | ^ save.c:434: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 previous declaration [-Wdeprecated-non-prototype] 434 | char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ save.c:466:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 466 | error1(catgets(elm_msg_cat, ElmSet, ElmDontKnowHomeCursor, | ^ save.c:466:14: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 466 | error1(catgets(elm_msg_cat, ElmSet, ElmDontKnowHomeCursor, | ^ save.c:483:36: warning: passing arguments to 'get_alias_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | if ((address = get_alias_address(&(temp_filename[1]),FALSE,&too_long)) | ^ save.c:492:6: warning: call to undeclared function 'get_return_name'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 492 | get_return_name(address, buffer, TRUE); | ^ save.c:497:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | error1(catgets(elm_msg_cat, ElmSet, ElmCannotExpand, | ^ save.c:497:12: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | error1(catgets(elm_msg_cat, ElmSet, ElmCannotExpand, | ^ save.c:515:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | error1(catgets(elm_msg_cat, ElmSet, ElmDontKnowValueCursor, | ^ save.c:515:12: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | error1(catgets(elm_msg_cat, ElmSet, ElmDontKnowValueCursor, | ^ 84 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c save_opts.c -o save_opts.o In file included from save_opts.c:34: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ save_opts.c:55:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | PUBLIC char *str_opt_nam(optname, dispmode) | ^ save_opts.c:99:5: warning: call to undeclared function 'getelmrcName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | getelmrcName(rcfname,SLEN); | ^ save_opts.c:100:5: warning: call to undeclared function 'save_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 100 | save_file_stats(rcfname); | ^ save_opts.c:110:9: warning: call to undeclared function 'elm_chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 110 | (void) elm_chown(buf, userid, groupid); | ^ save_opts.c:116:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | error2(catgets(elm_msg_cat, ElmrcSet, ElmrcCannotOpenElmrc, | ^ save_opts.c:116:8: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | error2(catgets(elm_msg_cat, ElmrcSet, ElmrcCannotOpenElmrc, | ^ save_opts.c:125:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | error2(catgets(elm_msg_cat, ElmrcSet, ElmrcCannotOpenRcinfo, | ^ save_opts.c:125:8: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | error2(catgets(elm_msg_cat, ElmrcSet, ElmrcCannotOpenRcinfo, | ^ save_opts.c:134:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | error1(catgets(elm_msg_cat, ElmrcSet, ElmrcSortOrderCorrupt, | ^ save_opts.c:134:12: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | error1(catgets(elm_msg_cat, ElmrcSet, ElmrcSortOrderCorrupt, | ^ save_opts.c:147:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | fprintf(fp_elmrc, catgets(elm_msg_cat, ElmrcSet, ElmrcOptionsFile, | ^ save_opts.c:150:32: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | MCfprintf(fp_elmrc, catgets(elm_msg_cat, ElmrcSet, ElmrcSavedAutoFor, | ^ save_opts.c:158:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | error(catgets(elm_msg_cat, ElmrcSet, ElmrcSavedRaw, | ^ save_opts.c:194:17: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | error2(catgets(elm_msg_cat, ElmrcSet, ElmrcUnknownOptionWarning, | ^ save_opts.c:194:9: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | error2(catgets(elm_msg_cat, ElmrcSet, ElmrcUnknownOptionWarning, | ^ save_opts.c:198:11: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | catgets(elm_msg_cat, ElmrcSet, ElmrcUnknownOptionMssg, | ^ save_opts.c:222:17: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | error2(catgets(elm_msg_cat, ElmrcSet, ElmrcMissingOptionWarning, | ^ save_opts.c:222:9: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | error2(catgets(elm_msg_cat, ElmrcSet, ElmrcMissingOptionWarning, | ^ save_opts.c:226:11: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | catgets(elm_msg_cat, ElmrcSet, ElmrcMissingOptionMssg, | ^ save_opts.c:239:5: warning: call to undeclared function 'restore_file_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 239 | restore_file_stats(rcfname); | ^ save_opts.c:241:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | error1(catgets(elm_msg_cat, ElmrcSet, ElmrcOptionsSavedIn, | ^ save_opts.c:241:11: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | error1(catgets(elm_msg_cat, ElmrcSet, ElmrcOptionsSavedIn, | ^ save_opts.c:253:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | static void err_pause(err_flag) | ^ save_opts.c:278:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | static void output_option(fp_elmrc, optnum) | ^ save_opts.c:413:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | static int find_opt(optname) | ^ save_opts.c:449:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | static char *str_opt(optnum, longname) | ^ save_opts.c:486:24: warning: passing arguments to 'sort_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | retval = sort_name(FALSE); | ^ save_opts.c:493:30: warning: passing arguments to 'alias_sort_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | retval = alias_sort_name(FALSE); | ^ save_opts.c:500:25: warning: passing arguments to 'level_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | retval = level_name(*SAVE_INFO_NUM(optnum)); | ^ 64 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c savecopy.c -o savecopy.o In file included from savecopy.c:41: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ savecopy.c:64:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | PUBLIC int save_copy(fname_dest, fname_mssg, shdr, form) | ^ savecopy.c:84:31: warning: call to undeclared function 'address_to_alias'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | (return_alias = (char *) address_to_alias(shdr->expanded_to)) != NULL)) | ^ savecopy.c:84:22: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 84 | (return_alias = (char *) address_to_alias(shdr->expanded_to)) != NULL)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savecopy.c:88:12: warning: call to undeclared function 'get_return_name'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 88 | get_return_name(shdr->expanded_to, buffer, TRUE); | ^ savecopy.c:97:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | error1(catgets(elm_msg_cat, ElmSet, ElmCannotDetermineToName, | ^ savecopy.c:97:12: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | error1(catgets(elm_msg_cat, ElmSet, ElmCannotDetermineToName, | ^ savecopy.c:107:2: warning: call to undeclared function 'expand_filename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 107 | expand_filename(savename); | ^ savecopy.c:143:36: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | sprintf(msg_buffer, catgets(elm_msg_cat, ElmSet, | ^ savecopy.c:147:36: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | sprintf(msg_buffer, catgets(elm_msg_cat, ElmSet, | ^ savecopy.c:154:33: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | PutLine1 (LINES-2, 0, catgets(elm_msg_cat, ElmSet, | ^ savecopy.c:154:13: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | PutLine1 (LINES-2, 0, catgets(elm_msg_cat, ElmSet, | ^ savecopy.c:178:36: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | sprintf(msg_buffer, catgets(elm_msg_cat, ElmSet, | ^ savecopy.c:182:36: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | sprintf(msg_buffer, catgets(elm_msg_cat, ElmSet, | ^ savecopy.c:189:33: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | PutLine1 (LINES-2, 0, catgets(elm_msg_cat, ElmSet, | ^ savecopy.c:189:13: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | PutLine1 (LINES-2, 0, catgets(elm_msg_cat, ElmSet, | ^ savecopy.c:211:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | error1(catgets(elm_msg_cat, ElmSet, ElmCannotSaveTo, | ^ savecopy.c:211:12: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | error1(catgets(elm_msg_cat, ElmSet, ElmCannotSaveTo, | ^ savecopy.c:221:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | error2(catgets(elm_msg_cat, ElmSet, ElmCannotSaveToNorSent, | ^ savecopy.c:221:12: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | error2(catgets(elm_msg_cat, ElmSet, ElmCannotSaveToNorSent, | ^ savecopy.c:226:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | error2(catgets(elm_msg_cat, ElmSet, ElmCannotSaveToSavingInstead, | ^ savecopy.c:226:10: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | error2(catgets(elm_msg_cat, ElmSet, ElmCannotSaveToSavingInstead, | ^ savecopy.c:241:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | PUBLIC int save_mssg(fname_dest, fname_mssg, shdr, form) | ^ savecopy.c:295:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | error1(catgets(elm_msg_cat, ElmSet, ElmWriteFailedSaveMssg, | ^ savecopy.c:295:12: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | error1(catgets(elm_msg_cat, ElmSet, ElmWriteFailedSaveMssg, | ^ savecopy.c:297:6: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 297 | leave(LEAVE_EMERGENCY); | ^ savecopy.c:320:28: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 320 | fprintf(fp_copy, "%d", clen_enddata - clen_begdata); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | %ld savecopy.c:344:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | PUBLIC int name_copy_file(fn) | ^ savecopy.c:357:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | ncf_prompt = catgets(elm_msg_cat, ElmSet, ElmSaveCopyInPrompt, | ^ savecopy.c:386:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | printf(catgets(elm_msg_cat, ElmSet, ElmListFoldersHelp, | ^ savecopy.c:396:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | printf(catgets(elm_msg_cat, ElmSet, ElmContentsOfYourFolderDir, | ^ savecopy.c:396:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 396 | printf(catgets(elm_msg_cat, ElmSet, ElmContentsOfYourFolderDir, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 397 | "\n\rContents of your folder directory:\n\r\n\r")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savecopy.c:396:9: note: treat the string as an argument to avoid this 396 | printf(catgets(elm_msg_cat, ElmSet, ElmContentsOfYourFolderDir, | ^ | "%s", savecopy.c:399:9: warning: call to undeclared function 'system_call'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 399 | (void) system_call(buffer, 0); | ^ savecopy.c:423:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | static const char *cf_english(fn) | ^ savecopy.c:430:21: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | return(catgets(elm_msg_cat, ElmSet, ElmNoSave, "")); | ^ savecopy.c:433:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | return(catgets(elm_msg_cat, ElmSet, ElmUncondSaveByName, "")); | ^ savecopy.c:435:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | return(catgets(elm_msg_cat, ElmSet, ElmSentFolder, "<\"sent\" folder>")); | ^ savecopy.c:437:21: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | return(catgets(elm_msg_cat, ElmSet, ElmCondSaveByName, "")); | ^ 72 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c screen.c -o screen.o In file included from screen.c:45: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ screen.c:55:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 55 | showscreen() | ^ | int screen.c:60:2: warning: call to undeclared function 'update_title'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | update_title(); | ^ screen.c:63:2: warning: call to undeclared function 'show_headers'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 63 | show_headers(); | ^ screen.c:66:4: warning: call to undeclared function 'show_menu'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | show_menu(); | ^ screen.c:69:1: warning: non-void function does not return a value [-Wreturn-type] 69 | } | ^ screen.c:71:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 71 | update_title() | ^ | int screen.c:79:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | folder = catgets(elm_msg_cat, ElmSet, ElmFolder, "Folder"); | ^ screen.c:80:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | mailbox = catgets(elm_msg_cat, ElmSet, ElmMailbox, "Mailbox"); | ^ screen.c:86:30: warning: passing arguments to 'nameof' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | strcpy(folder_string, nameof(curr_folder.filename)); | ^ screen.c:90:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | MCsprintf(buffer, catgets(elm_msg_cat, ElmSet, ElmShownWithSelect, | ^ screen.c:95:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | MCsprintf(buffer, catgets(elm_msg_cat, ElmSet, ElmShownNoSelect, | ^ screen.c:100:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | MCsprintf(buffer, catgets(elm_msg_cat, ElmSet, ElmShownNoSelectPlural, | ^ screen.c:107:1: warning: non-void function does not return a value [-Wreturn-type] 107 | } | ^ screen.c:109:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 109 | show_menu() | ^ | int screen.c:114:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | CenterLine(LINES-7, catgets(elm_msg_cat, ElmSet, ElmLevel0MenuLine1, | ^ screen.c:116:38: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | CenterLine(LINES-6, catgets(elm_msg_cat, ElmSet, ElmLevel0MenuLine2, | ^ screen.c:118:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | CenterLine(LINES-5, catgets(elm_msg_cat, ElmSet, ElmLevel0MenuLine3, | ^ screen.c:121:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | CenterLine(LINES-7, catgets(elm_msg_cat, ElmSet, ElmLevel1MenuLine1, | ^ screen.c:123:36: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | CenterLine(LINES-6, catgets(elm_msg_cat, ElmSet, ElmLevel1MenuLine2, | ^ screen.c:125:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | CenterLine(LINES-5, catgets(elm_msg_cat, ElmSet, ElmLevel1MenuLine3, | ^ screen.c:128:1: warning: non-void function does not return a value [-Wreturn-type] 128 | } | ^ screen.c:150:6: warning: call to undeclared function 'fix_header_page'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 150 | if (fix_header_page()) | ^ screen.c:157:15: warning: call to undeclared function 'visible_to_index'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 157 | this_msg = visible_to_index(header_page * headers_per_page + 1); | ^ screen.c:185:8: warning: call to undeclared function 'build_alias_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 185 | build_alias_line(buffer, aliases[this_msg], this_msg+1, | ^ screen.c:196:6: warning: call to undeclared function 'build_header_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 196 | build_header_line(buffer, curr_folder.headers[this_msg], this_msg+1, | ^ screen.c:221:22: warning: call to undeclared function 'next_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 221 | if ((this_msg = next_message(this_msg, FALSE)) < 0) | ^ screen.c:271:9: warning: call to undeclared function 'fix_header_page'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 271 | (void) fix_header_page(); /* Who cares what it does? ;-) */ | ^ screen.c:290:18: warning: call to undeclared function 'compute_visible'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 290 | last_line = ((compute_visible(last_current)-1) % | ^ screen.c:301:6: warning: call to undeclared function 'build_alias_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 301 | build_alias_line(new_buffer, aliases[curr_alias-1], curr_alias, | ^ screen.c:306:6: warning: call to undeclared function 'build_header_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 306 | build_header_line(new_buffer, curr_folder.headers[curr_folder.curr_mssg-1], | ^ screen.c:312:11: warning: call to undeclared function 'compute_visible'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 312 | && compute_visible(last_current) <= last | ^ screen.c:327:6: warning: call to undeclared function 'build_header_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 327 | build_header_line(old_buffer, curr_folder.headers[last_current-1], | ^ screen.c:342:8: warning: call to undeclared function 'on_page'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 342 | if (on_page(last_current-1)) | ^ screen.c:351:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 351 | build_header_line(buffer, entry, message_number, highlight, from, really_to) | ^ | int screen.c:430:9: warning: call to undeclared function 'make_menu_date'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 430 | make_menu_date(entry); | ^ screen.c:434:14: warning: passing arguments to 'show_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | show_status(entry->status), | ^ screen.c:440:4: warning: call to undeclared function 'mlist_parse_header_rec'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 440 | mlist_parse_header_rec(entry); | ^ screen.c:441:12: warning: call to undeclared function 'mlist_match_user'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 441 | match = mlist_match_user(entry); | ^ screen.c:445:4: warning: call to undeclared function 'mlist_match_address'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 445 | mlist_match_address(entry, entry->allfrom) >= 0)) | ^ screen.c:477:4: warning: call to undeclared function 'mlist_parse_header_rec'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 477 | mlist_parse_header_rec(entry); | ^ screen.c:478:12: warning: call to undeclared function 'mlist_match_user'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 478 | match = mlist_match_user(entry); | ^ screen.c:482:4: warning: call to undeclared function 'mlist_match_address'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 482 | mlist_match_address(entry, entry->allfrom) >= 0)) | ^ screen.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | build_header_line(buffer, entry, message_number, highlight, from, really_to) | ^ screen.c:532:1: warning: non-void function does not return a value [-Wreturn-type] 532 | } | ^ screen.c:563:16: warning: call to undeclared function 'compute_visible'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 563 | message = compute_visible(message); | ^ screen.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | on_page(message) | ^ screen.c:568:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | char *show_status(status) | ^ screen.c:51:18: 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] 51 | char *nameof(), *show_status(); | ^ 83 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c showmsg.c -o showmsg.o In file included from showmsg.c:47: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ showmsg.c:186:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | error2(catgets(elm_msg_cat, ElmSet, ElmSeekFailedFile, | ^ showmsg.c:186:10: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | error2(catgets(elm_msg_cat, ElmSet, ElmSeekFailedFile, | ^ showmsg.c:192:4: warning: call to undeclared function 'get_encode_key'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 192 | get_encode_key(OFF); | ^ showmsg.c:202:4: warning: call to undeclared function 'start_builtin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 202 | start_builtin(lines); | ^ showmsg.c:215:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | error1(catgets(elm_msg_cat, ElmSet, ElmPreparePagerPipe, | ^ showmsg.c:215:12: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | error1(catgets(elm_msg_cat, ElmSet, ElmPreparePagerPipe, | ^ showmsg.c:227:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | error1(catgets(elm_msg_cat, ElmSet, ElmPreparePagerFork, | ^ showmsg.c:227:12: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | error1(catgets(elm_msg_cat, ElmSet, ElmPreparePagerFork, | ^ showmsg.c:245:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | error1(catgets(elm_msg_cat, ElmSet, ElmPreparePagerDup, | ^ showmsg.c:245:14: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | error1(catgets(elm_msg_cat, ElmSet, ElmPreparePagerDup, | ^ showmsg.c:258:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | error1(catgets(elm_msg_cat, ElmSet, ElmPreparePagerChildFdopen, | ^ showmsg.c:258:14: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | error1(catgets(elm_msg_cat, ElmSet, ElmPreparePagerChildFdopen, | ^ showmsg.c:272:12: warning: call to undeclared function 'system_call'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 272 | _exit(system_call(pager, SY_ENAB_SIGINT)); | ^ showmsg.c:284:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | error1(catgets(elm_msg_cat, ElmSet, ElmPreparePagerParentFdopen, | ^ showmsg.c:284:12: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | error1(catgets(elm_msg_cat, ElmSet, ElmPreparePagerParentFdopen, | ^ showmsg.c:313:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 313 | if (form_letter = (current_header->status&FORM_LETTER)) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ showmsg.c:313:18: note: place parentheses around the assignment to silence this warning 313 | if (form_letter = (current_header->status&FORM_LETTER)) { | ^ | ( ) showmsg.c:313:18: note: use '==' to turn this assignment into an equality comparison 313 | if (form_letter = (current_header->status&FORM_LETTER)) { | ^ | == showmsg.c:328:16: warning: passing arguments to 'elm_date_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | elm_date_str(title3, current_header, FALSE); | ^ showmsg.c:341:6: warning: call to undeclared function 'display_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 341 | display_line(titlebuf, strlen(titlebuf)); | ^ showmsg.c:349:3: warning: call to undeclared function 'matchInList'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 349 | matchInList(weedlist,weedcount,"Subject:",TRUE)) { | ^ showmsg.c:365:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | sprintf(buffer, catgets(elm_msg_cat, ElmSet, ElmMessageAddressedTo, | ^ showmsg.c:400:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | strcpy(buffer, catgets(elm_msg_cat, ElmSet, ElmTaggedPrivate, | ^ showmsg.c:403:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | strcpy(buffer, catgets(elm_msg_cat, ElmSet, ElmTaggedCompanyConfidential, | ^ showmsg.c:408:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | strcpy(buffer, catgets(elm_msg_cat, ElmSet, ElmTaggedUrgent, | ^ showmsg.c:411:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | strcat(buffer, catgets(elm_msg_cat, ElmSet, ElmCommaUrgent, ", Urgent")); | ^ showmsg.c:413:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | strcat(buffer, catgets(elm_msg_cat, ElmSet, ElmAndUrgent, " and Urgent")); | ^ showmsg.c:418:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | strcpy(buffer, catgets(elm_msg_cat, ElmSet, ElmMessageHasExpired, | ^ showmsg.c:421:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | strcat(buffer, catgets(elm_msg_cat, ElmSet, ElmAndHasExpired, | ^ showmsg.c:430:28: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 430 | fprintf(pipe_wr_fp, buffer); | ^~~~~~ showmsg.c:430:28: note: treat the string as an argument to avoid this 430 | fprintf(pipe_wr_fp, buffer); | ^ | "%s", showmsg.c:450:21: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | error(catgets(elm_msg_cat, ElmSet, ElmPrematureEndOfFile, | ^ showmsg.c:473:30: warning: call to undeclared function 'matchInList'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 473 | else if (weed_header && matchInList(weedlist,weedcount,buffer,TRUE)) | ^ showmsg.c:481:17: warning: call to undeclared function 'encode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 481 | encode(buffer); | ^ showmsg.c:482:14: warning: call to undeclared function 'show_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 482 | val = show_line(buffer, buf_len, builtin); | ^ showmsg.c:485:8: warning: call to undeclared function 'encode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 485 | encode(buffer); | ^ showmsg.c:486:14: warning: call to undeclared function 'show_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 486 | val = show_line(buffer, buf_len, builtin); | ^ showmsg.c:491:16: warning: call to undeclared function 'show_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 491 | val = show_line(buffer, buf_len, builtin); | ^ showmsg.c:496:14: warning: call to undeclared function 'show_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 496 | val = show_line(buffer, buf_len, builtin); /* hide '***' */ | ^ showmsg.c:502:14: warning: call to undeclared function 'show_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 502 | val = show_line(buffer, buf_len, builtin); | ^ showmsg.c:535:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | PutLine0(-1, -1, catgets(elm_msg_cat, ElmSet, ElmCommandIToReturn, | ^ showmsg.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] 76 | show_msg(number) | ^ showmsg.c:567:11: warning: call to undeclared function 'display_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 567 | return(display_line(buffer, buf_len)); | ^ showmsg.c:549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | show_line(buffer, buf_len, builtin) | ^ 76 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c showmsg_c.c -o showmsg_c.o In file included from showmsg_c.c:79: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ showmsg_c.c:99:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | put_help_prompt = catgets(elm_msg_cat, ElmSet, ElmUseIToReturnIndex, | ^ showmsg_c.c:111:21: warning: call to undeclared function 'help'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 111 | case '?' : if (help(TRUE)) { | ^ showmsg_c.c:113:5: warning: call to undeclared function 'build_bottom'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 113 | build_bottom(); | ^ showmsg_c.c:117:17: warning: call to undeclared function 'put_cmd_name'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 117 | case '|' : put_cmd_name(catgets(elm_msg_cat, ElmSet, ElmPipe, "Pipe"), TRUE); | ^ showmsg_c.c:117:37: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | case '|' : put_cmd_name(catgets(elm_msg_cat, ElmSet, ElmPipe, "Pipe"), TRUE); | ^ showmsg_c.c:118:17: warning: call to undeclared function 'do_pipe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | (void) do_pipe(); /* do pipe - ignore return val */ | ^ showmsg_c.c:120:10: warning: call to undeclared function 'build_bottom'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 120 | build_bottom(); | ^ showmsg_c.c:124:37: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | case '!' : put_cmd_name(catgets(elm_msg_cat, ElmSet, ElmSystemCall, | ^ showmsg_c.c:126:17: warning: call to undeclared function 'subshell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 126 | (void) subshell(); | ^ showmsg_c.c:134:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | put_cmd_name(catgets(elm_msg_cat, ElmSet, ElmScanForCalendarCmd, | ^ showmsg_c.c:136:10: warning: call to undeclared function 'scan_calendar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 136 | scan_calendar(); | ^ showmsg_c.c:143:37: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | case '%' : put_cmd_name(catgets(elm_msg_cat, ElmSet, ElmDisplayReturnAdd, | ^ showmsg_c.c:145:10: warning: call to undeclared function 'get_return'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 145 | get_return(msg_line, curr_folder.curr_mssg-1); | ^ showmsg_c.c:148:37: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | case 'b' : put_cmd_name(catgets(elm_msg_cat, ElmSet, ElmBounceMessage, | ^ showmsg_c.c:150:10: warning: call to undeclared function 'remail'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 150 | remail(); | ^ showmsg_c.c:153:17: warning: call to undeclared function 'delete_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 153 | case 'd' : delete_msg(TRUE, FALSE); /* really delete it, silent */ | ^ showmsg_c.c:155:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | store_msg(catgets(elm_msg_cat, ElmSet, ElmMessageMarkedForDeleteion, | ^ showmsg_c.c:161:37: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | case 'f' : put_cmd_name(catgets(elm_msg_cat, ElmSet, ElmForwardMessage, | ^ showmsg_c.c:163:13: warning: call to undeclared function 'forward'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 163 | if(forward()) put_border(); | ^ showmsg_c.c:163:24: warning: call to undeclared function 'put_border'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 163 | if(forward()) put_border(); | ^ showmsg_c.c:166:37: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | case 'g' : put_cmd_name(catgets(elm_msg_cat, ElmSet, ElmGroupReply, | ^ showmsg_c.c:168:17: warning: call to undeclared function 'reply_to_everyone'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 168 | (void) reply_to_everyone(); | ^ showmsg_c.c:174:16: warning: call to undeclared function 'show_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 174 | i = show_msg(curr_folder.curr_mssg); | ^ showmsg_c.c:178:19: warning: call to undeclared function 'show_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 178 | return(show_msg(curr_folder.curr_mssg)); | ^ showmsg_c.c:181:24: warning: call to undeclared function 'get_page'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 181 | case 'i' : (void) get_page(curr_folder.curr_mssg); | ^ showmsg_c.c:193:16: warning: call to undeclared function 'next_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 193 | if((i=next_message(curr_folder.curr_mssg-1, TRUE)) != -1) | ^ showmsg_c.c:205:16: warning: call to undeclared function 'prev_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 205 | if((i=prev_message(curr_folder.curr_mssg-1, TRUE)) != -1) | ^ showmsg_c.c:214:37: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | case 'm' : put_cmd_name(catgets(elm_msg_cat, ElmSet, ElmMailMessage, | ^ showmsg_c.c:221:37: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | case 'p' : put_cmd_name(catgets(elm_msg_cat, ElmSet, ElmPrintMessage, | ^ showmsg_c.c:223:17: warning: call to undeclared function 'print_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 223 | (void) print_msg(FALSE); | ^ showmsg_c.c:226:37: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | case 'r' : put_cmd_name(catgets(elm_msg_cat, ElmSet, ElmReplyToMessage, | ^ showmsg_c.c:228:13: warning: call to undeclared function 'reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 228 | if(reply()) put_border(); | ^ showmsg_c.c:235:14: warning: call to undeclared function 'save'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 235 | if (save(&i, TRUE, (ch != 'C')) && | ^ showmsg_c.c:242:13: warning: call to undeclared function 'tag_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 242 | if(tag_message(FALSE)) | ^ showmsg_c.c:243:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | store_msg(catgets(elm_msg_cat, ElmSet, ElmMessageTagged, | ^ showmsg_c.c:246:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | store_msg(catgets(elm_msg_cat, ElmSet, ElmMessageUntagged, | ^ showmsg_c.c:252:17: warning: call to undeclared function 'undelete_msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 252 | case 'u' : undelete_msg(FALSE); /* undelete it, silently */ | ^ showmsg_c.c:254:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | store_msg(catgets(elm_msg_cat, ElmSet, ElmMessageUndeleted, | ^ showmsg_c.c:268:37: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | case 'X' : put_cmd_name(catgets(elm_msg_cat, ElmSet, ElmQuickExit, | ^ showmsg_c.c:270:10: warning: call to undeclared function 'quit_abandon'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 270 | quit_abandon(FALSE); | ^ showmsg_c.c:273:37: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | case 'x' : put_cmd_name(catgets(elm_msg_cat, ElmSet, ElmExit, "Exit"), TRUE); | ^ showmsg_c.c:300:32: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | PutLine1(LINES, 0, catgets(elm_msg_cat, ElmSet, ElmCommandLine, | ^ showmsg_c.c:300:14: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | PutLine1(LINES, 0, catgets(elm_msg_cat, ElmSet, ElmCommandLine, | ^ showmsg_c.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | process_showmsg_cmd(command) | ^ showmsg_c.c:310:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 310 | put_cmd_name(command, will_mangle) | ^ | int showmsg_c.c:320:4: warning: call to undeclared function 'build_bottom'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 320 | build_bottom(); | ^ showmsg_c.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | put_cmd_name(command, will_mangle) | ^ showmsg_c.c:327:1: warning: non-void function does not return a value [-Wreturn-type] 327 | } | ^ showmsg_c.c:329:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 329 | put_border() | ^ | int showmsg_c.c:333:1: warning: non-void function does not return a value [-Wreturn-type] 333 | } | ^ showmsg_c.c:335:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 335 | build_bottom() | ^ | int showmsg_c.c:342:1: warning: non-void function does not return a value [-Wreturn-type] 342 | } | ^ 87 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c signals.c -o signals.o In file included from signals.c:40: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ signals.c:84:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | catgets(elm_msg_cat, ElmSet, ElmSigDescripInt, | ^ signals.c:89:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | catgets(elm_msg_cat, ElmSet, ElmSigDescripHup, | ^ signals.c:92:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | catgets(elm_msg_cat, ElmSet, ElmSigDescripQuit, | ^ signals.c:95:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | catgets(elm_msg_cat, ElmSet, ElmSigDescripTerm, | ^ signals.c:100:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | catgets(elm_msg_cat, ElmSet, ElmSigDescripUsr1, | ^ signals.c:103:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | catgets(elm_msg_cat, ElmSet, ElmSigDescripUsr2, | ^ signals.c:108:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | catgets(elm_msg_cat, ElmSet, ElmSigDescripIll, | ^ signals.c:111:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | catgets(elm_msg_cat, ElmSet, ElmSigDescripFpe, | ^ signals.c:115:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | catgets(elm_msg_cat, ElmSet, ElmSigDescripBus, | ^ signals.c:119:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | catgets(elm_msg_cat, ElmSet, ElmSigDescripSegv, | ^ signals.c:134:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | catgets(elm_msg_cat, ElmSet, ElmSigDescripAlrm, "Alarm Clock")); | ^ signals.c:138:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | catgets(elm_msg_cat, ElmSet, ElmSigDescripPipe, "Write to Pipe")); | ^ signals.c:142:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | catgets(elm_msg_cat, ElmSet, ElmSigDescripTstp, | ^ signals.c:145:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | catgets(elm_msg_cat, ElmSet, ElmSigDescripCont, | ^ signals.c:150:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | catgets(elm_msg_cat, ElmSet, ElmSigDescripWinch, | ^ signals.c:165:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | mssg_sigtstp = catgets(elm_msg_cat, ElmSet, ElmStoppedUseFGToReturn, | ^ signals.c:167:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | mssg_sigcont = catgets(elm_msg_cat, ElmSet, ElmBackInElmRedraw, | ^ signals.c:174:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | static SIGHAND_TYPE bailout_handler(sig) | ^ signals.c:185:11: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | error1("Received %s signal!", sigdescr[sig]); | ^ signals.c:193:2: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 193 | leave(LEAVE_ERROR | LEAVE_KEEP_EDITTMP); | ^ signals.c:197:9: warning: call to undeclared function 'leave_mbox'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 197 | while (leave_mbox(/*resync*/TRUE, /*quit*/TRUE, /*prompt*/FALSE) == -1) | ^ signals.c:198:6: warning: call to undeclared function 'newmbox'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 198 | newmbox(curr_folder.filename, TRUE); /* new mail has arrived */ | ^ signals.c:223:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | static SIGHAND_TYPE sigalrm_catcher(sig) | ^ signals.c:236:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | static SIGHAND_TYPE sigpipe_catcher(sig) | ^ signals.c:254:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | static SIGHAND_TYPE sigtstp_catcher(sig) | ^ signals.c:279:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | static SIGHAND_TYPE sigcont_catcher(sig) | ^ signals.c:318:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | static SIGHAND_TYPE sigwinch_catcher(sig) | ^ 62 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c sndattach.c -o sndattach.o In file included from sndattach.c:1: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ sndattach.c:121:35: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | atlist_insert(0, bodypart_new(S_(AttachMainMessage, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:131:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | error(S_(AttachTooManyAttachments, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:191:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | CenterLine(ATLINE_TITLE, S_(AttachScreenTitle, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:193:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | sprintf(tmp_buf, S_(AttachScreenPage, "[page %d/%d]"), | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:233:33: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | CenterLine(ATLINE_CURR_TITLE, S_(AttachCurrTitle, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:239:4: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | S_(AttachCurrFileName, /*(*/ "F)ile Name"), | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:244:4: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | S_(AttachCurrContType, /*(*/ "C)ontent Type"), | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:249:4: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | S_(AttachCurrContEncoding, /*(*/ "Content E)ncoding"), | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:254:4: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | S_(AttachCurrContDescription, "Content De(s)cription"), | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:259:4: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | S_(AttachCurrContDisposition, "Content Dis(p)osition"), | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:265:8: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | S_(AttachMainInstrNorm, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:267:8: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | S_(AttachMainInstrDummy1, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:269:8: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | S_(AttachMainInstrDummy2, /*(((*/ | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:275:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | PutLine0(ATLINE_PROMPT, 0, S_(AttachMainPrompt, "Command: ")); | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:311:6: warning: call to undeclared function 'display_helpfile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 311 | display_helpfile("attach"); | ^ sndattach.c:323:19: warning: call to undeclared function 'subshell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 323 | do_redraw = (subshell() | ^ sndattach.c:368:4: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | S_(AttachAttachment, "attachment")) - 1; | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:370:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | error(S_(AttachNoAttachmentThere, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:373:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | error(S_(AttachSelectionNotChanged, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:383:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | error(S_(AttachNoRoom, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:387:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | att = bodypart_new(S_(AttachNewAttachment, "[new attachment]"), | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:400:10: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | error(S_(AttachAttachmentNotAdded, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:408:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | error(S_(AttachAttachmentHasBeenAdded, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:416:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | error(S_(AttachYouCantDelete, "Hey! You can't delete that!")); | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:420:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | if (!enter_yn(S_(AttachReallyDelete, "Really delete attachment?"), | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:422:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | error(S_(AttachAttachmentNotDeleted, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:429:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | error(S_(AttachAttachmentHasBeenDeleted, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:436:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | error(S_(AttachYouCantChange, "Hey! You can't change that!")); | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:443:10: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | error(S_(AttachNotChanged, "Attachment not changed.")); | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:447:13: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | error(S_(AttachAttachmentFileChanged, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:457:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | error(S_(AttachYouCantChange, "Hey! You can't change that!")); | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:461:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | error(S_(AttachNotChanged, "Attachment not changed.")); | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:463:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | error(S_(AttachAttachmentContTypeChanged, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:471:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | error(S_(AttachYouCantChange, "Hey! You can't change that!")); | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:475:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | error(S_(AttachNotChanged, "Attachment not changed.")); | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:477:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | error(S_(AttachAttachmentContEncodingChanged, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:485:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | error(S_(AttachYouCantChange, "Hey! You can't change that!")); | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:489:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | error(S_(AttachNotChanged, "Attachment not changed.")); | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:491:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | error(S_(AttachAttachmentContDescriptionChanged, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:499:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | error(S_(AttachYouCantChange, "Hey! You can't change that!")); | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:503:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | error(S_(AttachNotChanged, "Attachment not changed.")); | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:505:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | error(S_(AttachAttachmentContDispositionChanged, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:513:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | error(S_(AttachYouCantTag, "Hey! You can't tag that!")); | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:519:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | error(S_(AttachAttachmentHasBeenTagged, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:522:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | error(S_(AttachTagHasBeenRemoved, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:530:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | error(S_(AttachTagsAlreadyClear, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:535:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | if (!enter_yn(S_(AttachReallyClearTags, "Really clear all tags?"), | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:537:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | error(S_(AttachTagsNotChanged, "Tags not changed.")); | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:541:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | error(S_(AttachTagsHaveBeenCleared, "All tags have been cleared.")); | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:547:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | error(S_(AttachMustTagAttachments, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:553:6: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | ? S_(AttachMoveTaggedAttachments, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:555:6: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | : S_(AttachMoveTaggedAttachment, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:559:13: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | error(S_(AttachAttachmentsNotMoved, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:562:13: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 562 | error(S_(AttachAttachmentNotMoved, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:569:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | error(S_(AttachAttachmentsHaveBeenMoved, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:572:9: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | error(S_(AttachAttachmentHaveBeenMoved, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:101:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | PUBLIC int attachment_menu(user_attachments_p) | ^ sndattach.c:608:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | static void at_disp_entry(line, n, selected) | ^ sndattach.c:652:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | static void at_disp_currline(line, title, value, do_erase) | ^ sndattach.c:671:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | static void at_disp_instr(instr_normal, instr_dummy1, instr_dummy2, do_erase) | ^ sndattach.c:696:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 696 | static SEND_BODYPART *at_do_change_file(att, do_redraw_p, mssg_ok_p) | ^ sndattach.c:720:3: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | S_(AttachChgFileInstrNorm, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:722:3: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | S_(AttachChgFileInstrDummy1, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:724:3: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | S_(AttachChgFileInstrDummy2, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:764:7: warning: call to undeclared function 'expand_filename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 764 | if (!expand_filename(fname)) | ^ sndattach.c:791:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | static int at_do_change_type(att, do_redraw_p) | ^ sndattach.c:801:3: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | S_(AttachChgTypeInstrNorm, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:803:3: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 803 | S_(AttachChgTypeInstrDummy1, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:805:3: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 805 | S_(AttachChgTypeInstrDummy2, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:818:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | error(S_(AttachChgTypeEnterType, "Please enter a content type.")); | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:828:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 828 | static int at_do_change_encoding(att, do_redraw_p) | ^ sndattach.c:838:3: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 838 | S_(AttachChgEncodingInstrNorm, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:840:3: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 840 | S_(AttachChgEncodingInstrDummy1, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:842:3: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 842 | S_(AttachChgEncodingInstrDummy2, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:863:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 863 | static int at_do_change_descrip(att, do_redraw_p) | ^ sndattach.c:873:3: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 873 | S_(AttachChgDescripInstrNorm, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:875:3: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 875 | S_(AttachChgDescripInstrDummy1, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:877:3: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 877 | S_(AttachChgDescripInstrDummy2, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:896:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 896 | static int at_do_change_disposition(att, do_redraw_p) | ^ sndattach.c:906:3: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 906 | S_(AttachChgDispositionInstrNorm, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:908:3: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 908 | S_(AttachChgDispositionInstrDummy1, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:910:3: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 910 | S_(AttachChgDispositionInstrDummy2, | ^ sndattach.c:13:29: note: expanded from macro 'S_' 13 | #define S_(sel, str) catgets(elm_msg_cat, AttachSet, (sel), (str)) | ^ sndattach.c:965:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 965 | static char *strtruncate(str, len) | ^ sndattach.c:1012:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1012 | static void atlist_insert(sel, att, flags) | ^ sndattach.c:1033:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1033 | static void atlist_remove(sel) | ^ sndattach.c:1055:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1055 | static void atlist_replace(sel, att, flags) | ^ sndattach.c:1073:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1073 | static SEND_BODYPART *atlist_getbodypart(sel) | ^ sndattach.c:1084:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1084 | static int atlist_getflags(sel) | ^ sndattach.c:1095:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1095 | static int atlist_tagged_clrcnt(do_clear) | ^ sndattach.c:1115:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1115 | static int atlist_tagged_move(sel) | ^ 125 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c sndhdrs.c -o sndhdrs.o In file included from sndhdrs.c:1: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ sndhdrs.c:35:9: warning: call to undeclared function 'build_address'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 35 | (void) build_address(strip_commas(shdr->reply_to), | ^ sndhdrs.c:35:35: warning: passing arguments to 'strip_commas' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | (void) build_address(strip_commas(shdr->reply_to), | ^ sndhdrs.c:52:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | PUBLIC void sndhdr_destroy(shdr) | ^ sndhdrs.c:59:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | static void write_header_line(fp, hdrname, hdrvalue) | ^ sndhdrs.c:95:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | PUBLIC int sndhdr_output(fp, shdr, is_form, is_copy) | ^ sndhdrs.c:127:14: warning: passing arguments to 'format_long' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | format_long(shdr->expanded_to, sizeof("To: ")-1)); | ^ sndhdrs.c:134:18: warning: passing arguments to 'format_long' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | format_long(shdr->expanded_cc, sizeof("Cc: ")-1)); | ^ sndhdrs.c:138:18: warning: passing arguments to 'format_long' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | format_long(shdr->expanded_bcc, sizeof("Bcc: ")-1)); | ^ sndhdrs.c:167:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | PUBLIC void generate_in_reply_to(shdr, msg) | ^ sndhdrs.c:200:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | static int add_mailheaders(fp_mssg) | ^ sndhdrs.c:248:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | static int expand_backquote(fp_mssg, cmd) | ^ sndhdrs.c:260:9: warning: call to undeclared function 'system_call'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 260 | if (system_call(buf, 0) != 0 || (fp_expan = fopen(fname, "r")) == NULL) { | ^ sndhdrs.c:261:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | error1(catgets(elm_msg_cat, ElmSet, ElmBackquoteCmdFailed, | ^ sndhdrs.c:261:8: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | error1(catgets(elm_msg_cat, ElmSet, ElmBackquoteCmdFailed, | ^ 49 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c sndmsg.c -o sndmsg.o In file included from sndmsg.c:36: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ sndmsg.c:58:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | PUBLIC int send_message(given_to, given_cc, given_subject, mssgtype) | ^ sndmsg.c:131:8: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | error1("INTERNAL ERROR - bad mssgtype code %d in send_message().", | ^ sndmsg.c:147:2: warning: call to undeclared function 'build_address'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 147 | build_address(strip_commas(shdr->cc), shdr->expanded_cc); | ^ sndmsg.c:147:28: warning: passing arguments to 'strip_commas' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | build_address(strip_commas(shdr->cc), shdr->expanded_cc); | ^ sndmsg.c:256:2: warning: call to undeclared function 'copy_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 256 | copy_message(fp_mssgbody, curr_folder.curr_mssg, i); | ^ sndmsg.c:315:24: warning: call to undeclared function 'format_form'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 315 | if (form == YES && format_form(fname_mssgbody) < 1) | ^ sndmsg.c:350:27: warning: call to undeclared function 'uucp_hops'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 350 | if (bounceback > 0 && uucp_hops(shdr->to) > bounceback | ^ sndmsg.c:354:46: warning: passing arguments to 'bounce_off_remote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | strcat(shdr->expanded_bcc, bounce_off_remote(shdr->to)); | ^ sndmsg.c:364:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | error(catgets(elm_msg_cat, ElmSet, ElmCouldNotMakeTemp, | ^ sndmsg.c:390:14: warning: call to undeclared function 'emitpart_hdr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 390 | else if (emitpart_hdr(fp_fullmssg, mssg_parts) < 0) | ^ sndmsg.c:393:9: warning: call to undeclared function 'emitpart_body'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 393 | if (emitpart_body(fp_fullmssg, mssg_parts) < 0) | ^ sndmsg.c:400:16: warning: comparison of array 'shdr->expanded_to' equal to a null pointer is always false [-Wtautological-pointer-compare] 400 | if ((shdr->expanded_to == NULL || *shdr->expanded_to == '\0') && | ~~~~~~^~~~~~~~~~~ ~~~~ sndmsg.c:401:13: warning: comparison of array 'shdr->expanded_cc' equal to a null pointer is always false [-Wtautological-pointer-compare] 401 | (shdr->expanded_cc == NULL || *shdr->expanded_cc == '\0') && | ~~~~~~^~~~~~~~~~~ ~~~~ sndmsg.c:402:13: warning: comparison of array 'shdr->expanded_bcc' equal to a null pointer is always false [-Wtautological-pointer-compare] 402 | (shdr->expanded_bcc == NULL || *shdr->expanded_bcc == '\0')) { | ~~~~~~^~~~~~~~~~~~ ~~~~ sndmsg.c:403:6: warning: call to undeclared function 'bytes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 403 | if (bytes(fname_mssgbody) > 0) | ^ sndmsg.c:404:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | error(catgets(elm_msg_cat, ElmSet, ElmNoRecipientsKeptMessage, | ^ sndmsg.c:407:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | error(catgets(elm_msg_cat, ElmSet, ElmNoRecipients, | ^ sndmsg.c:412:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | error(catgets(elm_msg_cat, ElmSet, ElmSendingMail, "Sending mail...")); | ^ sndmsg.c:415:11: warning: call to undeclared function 'system_call'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 415 | if ((i = system_call(bigbuf, SY_ENV_SHELL)) != 0) { | ^ sndmsg.c:416:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | error1(catgets(elm_msg_cat, ElmSet, ElmMailerReturnedError, | ^ sndmsg.c:416:12: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | error1(catgets(elm_msg_cat, ElmSet, ElmMailerReturnedError, | ^ sndmsg.c:464:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | set_error(catgets(elm_msg_cat, ElmSet, ElmMailSent, "Mail sent!")); | ^ sndmsg.c:500:6: warning: call to undeclared function 'bytes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 500 | && bytes(fname_mssgbody) > 0); | ^ sndmsg.c:508:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | PUBLIC void display_to(address) | ^ sndmsg.c:567:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | PUBLIC int get_to(to_field, address, mssgtype) | ^ sndmsg.c:578:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | prompt = catgets(elm_msg_cat, ElmSet, | ^ sndmsg.c:581:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | prompt = catgets(elm_msg_cat, ElmSet, ElmTo, "To: "); | ^ sndmsg.c:596:9: warning: call to undeclared function 'build_address'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 596 | (void) build_address(strip_commas(to_field), address); | ^ sndmsg.c:596:35: warning: passing arguments to 'strip_commas' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | (void) build_address(strip_commas(to_field), address); | ^ sndmsg.c:607:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | static void display_subject(subject_field) | ^ sndmsg.c:617:10: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | catgets(elm_msg_cat, ElmSet, ElmSubjectOfMessage, | ^ sndmsg.c:622:10: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | catgets(elm_msg_cat, ElmSet, ElmSubject, "Subject: ")); | ^ sndmsg.c:628:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | static int get_subject(subject_field) | ^ sndmsg.c:640:35: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | PutLine0(prompt_line,0, catgets(elm_msg_cat, ElmSet, ElmSubjectOfMessage, | ^ sndmsg.c:644:35: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | PutLine0(prompt_line,0, catgets(elm_msg_cat, ElmSet, ElmSubject, "Subject: ")); | ^ sndmsg.c:649:17: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | error(catgets(elm_msg_cat, ElmSet, ElmMailNotSent, "Mail not sent.")); | ^ sndmsg.c:654:17: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | msg = catgets(elm_msg_cat, ElmSet, ElmNoSubjectContinue, | ^ sndmsg.c:659:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | error(catgets(elm_msg_cat, ElmSet, ElmMailNotSend, "Mail not sent.")); | ^ sndmsg.c:670:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | static int get_copies(cc_field, address, addressII, copy_message) | ^ sndmsg.c:686:10: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | catgets(elm_msg_cat, ElmSet, ElmCopiesTo, "Copies to: ")); | ^ sndmsg.c:692:17: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | error(catgets(elm_msg_cat, ElmSet, ElmMailNotSend, "Mail not sent.")); | ^ sndmsg.c:704:6: warning: call to undeclared function 'build_address'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 704 | if (build_address(strip_commas(cc_field), addressII)) { | ^ sndmsg.c:704:32: warning: passing arguments to 'strip_commas' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 704 | if (build_address(strip_commas(cc_field), addressII)) { | ^ sndmsg.c:705:12: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 705 | PutLine1(prompt_line, 11, "%s", addressII); | ^ sndmsg.c:717:17: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | error(catgets(elm_msg_cat, ElmSet, ElmTooManyPeople, "Too many people. Copies ignored.")); | ^ sndmsg.c:735:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | msg = catgets(elm_msg_cat, ElmSet, ElmCopyMessageIntoReplyYN, | ^ sndmsg.c:738:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | msg = catgets(elm_msg_cat, ElmSet, ElmCopyMessageYN, | ^ sndmsg.c:745:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | static int recall_last_msg(filename, copy_msg) | ^ sndmsg.c:755:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | msg = catgets(elm_msg_cat, ElmSet, ElmRecallLastInstead, | ^ sndmsg.c:758:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | msg = catgets(elm_msg_cat, ElmSet, ElmRecallLastKept, | ^ sndmsg.c:768:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 768 | static int append_sig(fp_mssg, shdr) | ^ sndmsg.c:861:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 861 | msg = catgets(elm_msg_cat, ElmSet, ElmBounceOffRemote, | ^ sndmsg.c:873:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 873 | static void remove_hostbang(addrs) | ^ sndmsg.c:911:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 911 | static int verify_transmission(filename, shdr, attachments_p, form_p, copy_file) | ^ sndmsg.c:940:24: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | prompt_mssg = catgets(elm_msg_cat, ElmSet, | ^ sndmsg.c:943:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 943 | strcpy(prompt_menu1, catgets(elm_msg_cat, ElmSet, | ^ sndmsg.c:946:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 946 | strcpy(prompt_menu2, catgets(elm_msg_cat, ElmSet, | ^ sndmsg.c:950:24: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 950 | prompt_mssg = catgets(elm_msg_cat, ElmSet, | ^ sndmsg.c:953:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | strcpy(prompt_menu1, catgets(elm_msg_cat, ElmSet, | ^ sndmsg.c:961:35: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 961 | strcat(prompt_menu1, catgets(elm_msg_cat, ElmSet, | ^ sndmsg.c:965:35: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 965 | strcat(prompt_menu1, catgets(elm_msg_cat, ElmSet, | ^ sndmsg.c:969:35: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 969 | strcat(prompt_menu1, catgets(elm_msg_cat, ElmSet, | ^ sndmsg.c:973:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 973 | strcat(prompt_menu2, catgets(elm_msg_cat, ElmSet, | ^ sndmsg.c:977:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 977 | strcat(prompt_menu2, catgets(elm_msg_cat, ElmSet, | ^ sndmsg.c:982:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 982 | strcat(prompt_menu2, catgets(elm_msg_cat, ElmSet, | ^ sndmsg.c:986:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 986 | strcat(prompt_menu2, catgets(elm_msg_cat, ElmSet, | ^ sndmsg.c:1012:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1012 | CenterLine(0, catgets(elm_msg_cat, ElmSet, ElmVfyTitle, | ^ sndmsg.c:1053:10: warning: call to undeclared function 'bytes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1053 | if (bytes(filename) <= 0) { | ^ sndmsg.c:1059:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1059 | set_error(catgets(elm_msg_cat, ElmSet, ElmVfyMessageKept, | ^ sndmsg.c:1066:10: warning: call to undeclared function 'attachment_menu'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1066 | if (attachment_menu(attachments_p) < 0) | ^ sndmsg.c:1084:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1084 | error(catgets(elm_msg_cat, ElmSet, ElmVfyFormToPlaintext, | ^ sndmsg.c:1105:11: warning: call to undeclared function 'check_form_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1105 | switch (check_form_file(filename)) { | ^ sndmsg.c:1110:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1110 | PutLine0(-1, -1, catgets(elm_msg_cat, ElmSet, | ^ sndmsg.c:1133:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1133 | error(catgets(elm_msg_cat, ElmSet, ElmVfyFormToPlaintext, | ^ sndmsg.c:1140:3: warning: call to undeclared function 'system_call'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1140 | system_call(lbuf, SY_COOKED|SY_ENAB_SIGHUP); | ^ sndmsg.c:1148:10: warning: call to undeclared function 'subshell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1148 | if (subshell() != 0) | ^ sndmsg.c:1204:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1204 | PUBLIC char *build_mailer_command(cmdbuf, fname_mssg, to_recip, cc_recip, bcc_recip) | ^ sndmsg.c:1247:6: warning: call to undeclared function 'quote_args'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1247 | quote_args(cp, strip_commas(strip_parens(to_recip))); | ^ sndmsg.c:1247:33: warning: passing arguments to 'strip_commas' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1247 | quote_args(cp, strip_commas(strip_parens(to_recip))); | ^ sndmsg.c:1252:6: warning: call to undeclared function 'quote_args'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1252 | quote_args(cp, strip_commas(strip_parens(cc_recip))); | ^ sndmsg.c:1252:33: warning: passing arguments to 'strip_commas' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1252 | quote_args(cp, strip_commas(strip_parens(cc_recip))); | ^ sndmsg.c:1257:6: warning: call to undeclared function 'quote_args'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1257 | quote_args(cp, strip_commas(strip_parens(bcc_recip))); | ^ sndmsg.c:1257:33: warning: passing arguments to 'strip_commas' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1257 | quote_args(cp, strip_commas(strip_parens(bcc_recip))); | ^ 118 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c sndpart_io.c -o sndpart_io.o In file included from sndpart_io.c:25: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ sndpart_io.c:49:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | PUBLIC SEND_BODYPART *newpart_mimepart(fname) | ^ sndpart_io.c:114:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | PUBLIC SEND_BODYPART *newpart_mssgtext(fname) | ^ sndpart_io.c:209:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | static SEND_BODYPART *process_attach_line(cmdline) | ^ sndpart_io.c:251:8: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | error1("filename missing from \"[%s ...]\" line", cmd); | ^ sndpart_io.c:262:8: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | error1("too many fields in \"[%s ...]\" line", cmd); | ^ sndpart_io.c:306:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | PUBLIC int emitpart(fp, part) | ^ sndpart_io.c:323:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | PUBLIC int emitpart_hdr(fp, part) | ^ sndpart_io.c:334:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | PUBLIC int emitpart_body(fp, part) | ^ sndpart_io.c:344:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | static int do_emit_mssgtext_header(fp, part) | ^ sndpart_io.c:357:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | static int do_emit_mssgtext_body(fp_dest, part) | ^ sndpart_io.c:403:21: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | error1(catgets(elm_msg_cat, ElmSet, | ^ sndpart_io.c:403:13: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | error1(catgets(elm_msg_cat, ElmSet, | ^ sndpart_io.c:420:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | error(catgets(elm_msg_cat, ElmSet, ElmNoEncryptInBatch, | ^ sndpart_io.c:425:7: warning: call to undeclared function 'get_encode_key'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 425 | get_encode_key(TRUE); | ^ sndpart_io.c:427:7: warning: call to undeclared function 'recall_encode_key'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 427 | recall_encode_key(); | ^ sndpart_io.c:449:6: warning: call to undeclared function 'encode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 449 | encode(buf); | ^ sndpart_io.c:460:12: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | error1("Error writing message body to temp file. [%s]", | ^ sndpart_io.c:494:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | static int do_emit_mimepart_header(fp, part) | ^ sndpart_io.c:513:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | static int do_emit_mimepart_body(fp_dest, part) | ^ sndpart_io.c:558:22: warning: call to undeclared function 'system_call'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 558 | } else if ((i = system_call(cmd_buf, 0)) == 0) { | ^ sndpart_io.c:565:8: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | error2("Cannot encode \"%s\". (\"%s\" exit status %d)", | ^ sndpart_io.c:593:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | static int do_emit_multipart_header(fp, part) | ^ sndpart_io.c:599:2: warning: call to undeclared function 'time'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 599 | MIME_MAKE_BOUNDARY(buf, "multipart-mixed", ++multipart_seqnum); | ^ ../hdrs/sndparts.h:20:19: note: expanded from macro 'MIME_MAKE_BOUNDARY' 20 | (unsigned long)time((time_t *)NULL)); | ^ sndpart_io.c:608:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | static int do_emit_multipart_body(fp_dest, part) | ^ sndpart_io.c:629:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | static int do_emit_multipart_sep(fp, part, finished) | ^ 60 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c sndpart_lib.c -o sndpart_lib.o In file included from sndpart_lib.c:1: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ sndpart_lib.c:29:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | PUBLIC int encoding_is_reasonable(value) | ^ sndpart_lib.c:42:8: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | error1("Content encoding value \"%s\" is not reasonable.", value); | ^ sndpart_lib.c:46:8: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | error1("Content encoding value \"%s\" is illegal.", value); | ^ sndpart_lib.c:117:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | PUBLIC SEND_BODYPART *bodypart_new(fname, part_type) | ^ sndpart_lib.c:161:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | PUBLIC void bodypart_destroy(part) | ^ sndpart_lib.c:188:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | PUBLIC void bodypart_set_content(part, sel, value) | ^ sndpart_lib.c:210:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | PUBLIC const char *bodypart_get_content(part, sel) | ^ sndpart_lib.c:234:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | PUBLIC void bodypart_guess_content(part, sel) | ^ sndpart_lib.c:294:10: warning: call to undeclared function 'system_call'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 294 | if (system_call(buf, 0) == 0) { | ^ sndpart_lib.c:333:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | static char *scan_mimetypes(fname_mimetypes, fname_part, retbuf, retbufsiz) | ^ sndpart_lib.c:409:24: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | PUBLIC SEND_MULTIPART *multipart_new(part, id) | ^ sndpart_lib.c:423:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | PUBLIC void multipart_destroy(multi) | ^ sndpart_lib.c:444:24: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | PUBLIC SEND_MULTIPART *multipart_insertpart(multi, mp_curr, part, id) | ^ sndpart_lib.c:467:24: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | PUBLIC SEND_MULTIPART *multipart_appendpart(multi, mp_curr, part, id) | ^ sndpart_lib.c:490:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | PUBLIC SEND_BODYPART *multipart_deletepart(multi, mp_curr) | ^ sndpart_lib.c:507:24: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | PUBLIC SEND_MULTIPART *multipart_next(multi, mp_curr) | ^ sndpart_lib.c:515:24: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | PUBLIC SEND_MULTIPART *multipart_find(multi, id) | ^ 52 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c softkeys.c -o softkeys.o In file included from softkeys.c:29: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ softkeys.c:48:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 47 | fprintf(stderr, "%c&f%dk%dd%dL%s%s", ESCAPE, key, | ~~ | %lu 48 | strlen(display), strlen(send), display, send); | ^~~~~~~~~~~~~~~ softkeys.c:48:20: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 47 | fprintf(stderr, "%c&f%dk%dd%dL%s%s", ESCAPE, key, | ~~ | %lu 48 | strlen(display), strlen(send), display, send); | ^~~~~~~~~~~~ softkeys.c:43:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | static void define_key(key, display, send) | ^ softkeys.c:51:23: warning: parameter 'key' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | static void clear_key(key) | ^ 52 | { softkeys.c:51:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | static void clear_key(key) | ^ softkeys.c:57:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | PUBLIC int define_softkeys(sel) | ^ softkeys.c:69:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | define_key(f_key1, catgets(elm_msg_cat, ElmSet, ElmKeyF1, | ^ softkeys.c:71:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | define_key(f_key2, catgets(elm_msg_cat, ElmSet, ElmKeyF2, | ^ softkeys.c:73:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | define_key(f_key3, catgets(elm_msg_cat, ElmSet, ElmKeyF3, | ^ softkeys.c:76:32: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | define_key(f_key4, catgets(elm_msg_cat, ElmSet, ElmKey0F4, | ^ softkeys.c:78:32: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | define_key(f_key5, catgets(elm_msg_cat, ElmSet, ElmKey0F5 | ^ softkeys.c:80:32: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | define_key(f_key6, catgets(elm_msg_cat, ElmSet, ElmKey0F6, | ^ softkeys.c:83:32: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | define_key(f_key4, catgets(elm_msg_cat, ElmSet, ElmKey1F4, | ^ softkeys.c:85:32: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | define_key(f_key5, catgets(elm_msg_cat, ElmSet, ElmKey1F5, | ^ softkeys.c:87:32: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | define_key(f_key6, catgets(elm_msg_cat, ElmSet, ElmKey1F6, | ^ softkeys.c:90:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | define_key(f_key7, catgets(elm_msg_cat, ElmSet, ElmKeyF7, | ^ softkeys.c:92:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | define_key(f_key8, catgets(elm_msg_cat, ElmSet, ElmKeyF8, | ^ softkeys.c:98:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | define_key(f_key1, catgets(elm_msg_cat, ElmSet, ElmKeyAF1, | ^ softkeys.c:100:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | define_key(f_key2, catgets(elm_msg_cat, ElmSet, ElmKeyAF2, | ^ softkeys.c:102:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | define_key(f_key3, catgets(elm_msg_cat, ElmSet, ElmKeyAF3, | ^ softkeys.c:104:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | define_key(f_key4, catgets(elm_msg_cat, ElmSet, ElmKeyAF4, | ^ softkeys.c:109:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | define_key(f_key8, catgets(elm_msg_cat, ElmSet, ElmKeyAF8, | ^ softkeys.c:113:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | define_key(f_key1, catgets(elm_msg_cat, ElmSet, ElmKeyYF1, | ^ softkeys.c:121:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | define_key(f_key8, catgets(elm_msg_cat, ElmSet, ElmKeyYF8, | ^ softkeys.c:125:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | define_key(f_key1, catgets(elm_msg_cat, ElmSet, ElmKeyRF1, | ^ softkeys.c:128:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | define_key(f_key3, catgets(elm_msg_cat, ElmSet, ElmKeyRF3, | ^ softkeys.c:130:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | define_key(f_key4, catgets(elm_msg_cat, ElmSet, ElmKeyRF4, | ^ softkeys.c:132:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | define_key(f_key5, catgets(elm_msg_cat, ElmSet, ElmKeyRF5, | ^ softkeys.c:134:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | define_key(f_key6, catgets(elm_msg_cat, ElmSet, ElmKeyRF6, | ^ softkeys.c:136:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | define_key(f_key7, catgets(elm_msg_cat, ElmSet, ElmKeyRF7, | ^ softkeys.c:138:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | define_key(f_key8, catgets(elm_msg_cat, ElmSet, ElmKeyRF8, | ^ softkeys.c:142:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | define_key(f_key1, catgets(elm_msg_cat, ElmSet, ElmKeyCF1, | ^ softkeys.c:144:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | define_key(f_key2, catgets(elm_msg_cat, ElmSet, ElmKeyCF2, | ^ softkeys.c:147:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | define_key(f_key4, catgets(elm_msg_cat, ElmSet, ElmKeyCF4, | ^ softkeys.c:149:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | define_key(f_key5, catgets(elm_msg_cat, ElmSet, ElmKeyCF5, | ^ softkeys.c:151:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | define_key(f_key6, catgets(elm_msg_cat, ElmSet, ElmKeyCF6, | ^ softkeys.c:154:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | define_key(f_key8, catgets(elm_msg_cat, ElmSet, ElmKeyCF8, | ^ 72 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c sort.c -o sort.o In file included from sort.c:35: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ sort.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | find_old_current(iindex) | ^ sort.c:66:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 66 | sort_mailbox(entries, visible) | ^ | int sort.c:84:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | error1(catgets(elm_msg_cat, ElmSet, ElmSortingMessagesBy, | ^ sort.c:85:42: warning: passing arguments to 'sort_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | "Sorting messages by %s..."), sort_name(TRUE)); | ^ sort.c:84:10: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | error1(catgets(elm_msg_cat, ElmSet, ElmSortingMessagesBy, | ^ sort.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | sort_mailbox(entries, visible) | ^ sort.c:95:1: warning: non-void function does not return a value [-Wreturn-type] 95 | } | ^ sort.c:152:24: warning: passing arguments to 'skip_re' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | strcpy(from1, skip_re(shift_lower(first->subject))); | ^ sort.c:153:30: warning: passing arguments to 'skip_re' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | ret = strcmp(from1, skip_re(shift_lower(second->subject))); | ^ sort.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | compare_headers(p1, p2) | ^ sort.c:186:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | ? catgets(elm_msg_cat, ElmSet, ElmLongRevDateMailSent, | ^ sort.c:188:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | : catgets(elm_msg_cat, ElmSet, ElmAbrtRevDateMailSent, | ^ sort.c:191:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | ? catgets(elm_msg_cat, ElmSet, ElmLongRevRecv, | ^ sort.c:193:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | : catgets(elm_msg_cat, ElmSet, ElmAbrRevRecv, | ^ sort.c:196:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | ? catgets(elm_msg_cat, ElmSet, ElmLongRevMailbox, | ^ sort.c:198:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | : catgets(elm_msg_cat, ElmSet, ElmAbrRevMailbox, | ^ sort.c:201:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | ? catgets(elm_msg_cat, ElmSet, ElmLongRevSender, | ^ sort.c:203:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | : catgets(elm_msg_cat, ElmSet, ElmAbrRevSender, | ^ sort.c:206:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | ? catgets(elm_msg_cat, ElmSet, ElmLongRevLines, | ^ sort.c:208:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | : catgets(elm_msg_cat, ElmSet, ElmAbrRevLines, | ^ sort.c:211:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | ? catgets(elm_msg_cat, ElmSet, ElmLongRevSubject, | ^ sort.c:213:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | : catgets(elm_msg_cat, ElmSet, ElmAbrRevSubject, | ^ sort.c:216:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | ? catgets(elm_msg_cat, ElmSet, ElmLongRevStatus, | ^ sort.c:218:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | : catgets(elm_msg_cat, ElmSet, ElmAbrRevStatus, | ^ sort.c:224:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | ? catgets(elm_msg_cat, ElmSet, ElmLongMailSent, | ^ sort.c:226:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | : catgets(elm_msg_cat, ElmSet, ElmAbrMailSent, | ^ sort.c:229:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | ? catgets(elm_msg_cat, ElmSet, ElmLongMailRecv, | ^ sort.c:231:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | : catgets(elm_msg_cat, ElmSet, ElmAbrMailRecv, | ^ sort.c:234:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | ? catgets(elm_msg_cat, ElmSet, ElmLongMailbox, | ^ sort.c:236:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | : catgets(elm_msg_cat, ElmSet, ElmAbrMailbox, | ^ sort.c:239:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | ? catgets(elm_msg_cat, ElmSet, ElmLongSender, | ^ sort.c:241:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | : catgets(elm_msg_cat, ElmSet, ElmAbrSender, | ^ sort.c:244:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | ? catgets(elm_msg_cat, ElmSet, ElmLongLines, | ^ sort.c:246:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | : catgets(elm_msg_cat, ElmSet, ElmAbrLines, | ^ sort.c:249:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | ? catgets(elm_msg_cat, ElmSet, ElmLongSubject, | ^ sort.c:251:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | : catgets(elm_msg_cat, ElmSet, ElmAbrSubject, | ^ sort.c:254:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | ? catgets(elm_msg_cat, ElmSet, ElmLongStatus, | ^ sort.c:256:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | : catgets(elm_msg_cat, ElmSet, ElmAbrStatus, | ^ sort.c:261:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | return catgets(elm_msg_cat, ElmSet, ElmSortUnknown, | ^ sort.c:180:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | char *sort_name(longname) | ^ sort.c:39:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | char *sort_name(), *skip_re(); | ^ sort.c:265:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | char *skip_re(string) | ^ sort.c:39:21: 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] 39 | char *sort_name(), *skip_re(); | ^ 78 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c string2.c -o string2.o In file included from string2.c:33: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ string2.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 | occurances_of(ch, string) | ^ string2.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 | qoccurances_of(ch, string) | ^ string2.c:68:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 68 | remove_possible_trailing_spaces(string) | ^ | int string2.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] string2.c:89:1: warning: non-void function does not return a value [-Wreturn-type] 89 | } | ^ 40 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c strings.c -o strings.o In file included from strings.c:36: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ strings.c:44:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 44 | copy_sans_escape(dest, source, len) | ^ | int strings.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] strings.c:73:1: warning: non-void function does not return a value [-Wreturn-type] 73 | } | ^ strings.c:100:26: warning: passing arguments to 'get_token' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | while ((word = get_token(bufptr,",", depth)) != NULL) { | ^ strings.c:75:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | char *format_long(inbuff, init_len) | ^ strings.c:42: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] 42 | char *format_long(), *strip_commas(), *tail_of_string(), *get_token(); | ^ strings.c:138:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | char *strip_commas(string) | ^ strings.c:42:23: 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] 42 | char *format_long(), *strip_commas(), *tail_of_string(), *get_token(); | ^ strings.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | split_word(buffer, first, rest) | ^ strings.c:212:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | char *tail_of_string(string, maxchars) | ^ strings.c:42:40: 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] 42 | char *format_long(), *strip_commas(), *tail_of_string(), *get_token(); | ^ strings.c:275:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | error1(catgets(elm_msg_cat, ElmSet, ElmGetTokenOverNested, | ^ strings.c:275:11: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | error1(catgets(elm_msg_cat, ElmSet, ElmGetTokenOverNested, | ^ strings.c:278:5: warning: call to undeclared function 'leave'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 278 | leave(LEAVE_EMERGENCY); | ^ strings.c:261:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | char *get_token(source, keys, depth) | ^ strings.c:42:59: 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] 42 | char *format_long(), *strip_commas(), *tail_of_string(), *get_token(); | ^ strings.c:313:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 313 | quote_args(out_string,in_string) | ^ | int strings.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] strings.c:356:1: warning: non-void function does not return a value [-Wreturn-type] 356 | } | ^ 54 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c syscall.c -o syscall.o In file included from syscall.c:46: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ syscall.c:71:38: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | PutLine0(LINES-3, COLS-40, catgets(elm_msg_cat, ElmSet, ElmUseShellName, | ^ syscall.c:73:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | PutLine0(LINES-2, 0, catgets(elm_msg_cat, ElmSet, ElmShellCommand, | ^ syscall.c:94:2: warning: call to undeclared function 'umask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | umask(original_umask); /* restore original umask so users new files are ok */ | ^ syscall.c:95:8: warning: call to undeclared function 'system_call'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 95 | ret = system_call(command, SY_USER_SHELL|SY_ENAB_SIGINT|SY_DUMPSTATE); | ^ syscall.c:98:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | PutLine0(LINES, 0, catgets(elm_msg_cat, ElmSet, ElmPressAnyKeyToReturn, | ^ syscall.c:112:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | error1(catgets(elm_msg_cat, ElmSet, ElmReturnCodeWas, | ^ syscall.c:112:10: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | error1(catgets(elm_msg_cat, ElmSet, ElmReturnCodeWas, | ^ syscall.c:199:10: warning: call to undeclared function 'create_folder_state_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 199 | if (create_folder_state_file() != 0) | ^ syscall.c:216:10: warning: call to undeclared function 'remove_folder_state_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 216 | (void) remove_folder_state_file(); | ^ syscall.c:356:13: warning: call to undeclared function 'remove_folder_state_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 356 | (void) remove_folder_state_file(); | ^ syscall.c:131:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | int system_call(string, options) | ^ syscall.c:373:14: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | catgets(elm_msg_cat, ElmSet, ElmPipeTo, "Pipe to: ")); | ^ syscall.c:393:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | PutLine0(LINES, 0, catgets(elm_msg_cat, ElmSet, ElmPressAnyKeyToReturn, | ^ syscall.c:408:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | error1(catgets(elm_msg_cat, ElmSet, ElmReturnCodeWas, | ^ syscall.c:408:10: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | error1(catgets(elm_msg_cat, ElmSet, ElmReturnCodeWas, | ^ syscall.c:448:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | error(catgets(elm_msg_cat, ElmSet, ElmPrintDontKnowHow, | ^ syscall.c:473:6: warning: call to undeclared function 'create_folder_state_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 473 | if (create_folder_state_file() != 0) | ^ syscall.c:492:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | error(catgets(elm_msg_cat, ElmSet, ElmPrintPipeFailed, | ^ syscall.c:505:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | printf("\n%s ", catgets(elm_msg_cat, ElmSet, ElmPrintPressAKey, | ^ syscall.c:516:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | error(catgets(elm_msg_cat, ElmSet, ElmPrintJobSpooled, | ^ syscall.c:519:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | error1(catgets(elm_msg_cat, ElmSet, ElmPrintFailCode, | ^ syscall.c:519:12: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | error1(catgets(elm_msg_cat, ElmSet, ElmPrintFailCode, | ^ syscall.c:522:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | error1(catgets(elm_msg_cat, ElmSet, ElmPrintFailStatus, | ^ syscall.c:522:12: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | error1(catgets(elm_msg_cat, ElmSet, ElmPrintFailStatus, | ^ syscall.c:539:9: warning: call to undeclared function 'remove_folder_state_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 539 | (void) remove_folder_state_file(); | ^ syscall.c:413:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | int print_msg(pause_on_scroll) | ^ syscall.c:585:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | error1(catgets(elm_msg_cat, ElmSet, ElmCannotCreateFolderState, | ^ syscall.c:585:8: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | error1(catgets(elm_msg_cat, ElmSet, ElmCannotCreateFolderState, | ^ syscall.c:629:16: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | error1(catgets(elm_msg_cat, ElmSet, ElmCannotCreateEnvParam, | ^ syscall.c:629:8: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | error1(catgets(elm_msg_cat, ElmSet, ElmCannotCreateEnvParam, | ^ 65 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c utils.c -o utils.o In file included from utils.c:38: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ utils.c:54:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | error2(catgets(elm_msg_cat, ElmSet, ElmCouldntMallocBytes, | ^ utils.c:54:11: warning: passing arguments to 'error2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | error2(catgets(elm_msg_cat, ElmSet, ElmCouldntMallocBytes, | ^ utils.c:49:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | void malloc_failed_exit(proc, len) | ^ utils.c:80:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | void leave(mode) | ^ utils.c:99:15: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | error(catgets(elm_msg_cat, ElmSet, ElmLeaveEmergencyExitTaken, | ^ utils.c:107:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | error1(catgets(elm_msg_cat, ElmSet, ElmLeavePreservingEditor, | ^ utils.c:107:12: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | error1(catgets(elm_msg_cat, ElmSet, ElmLeavePreservingEditor, | ^ utils.c:116:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | error1(catgets(elm_msg_cat, ElmSet, ElmLeavePreservingTemp, | ^ utils.c:116:12: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | error1(catgets(elm_msg_cat, ElmSet, ElmLeavePreservingTemp, | ^ utils.c:120:17: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | error(catgets(elm_msg_cat, ElmSet, ElmLeaveDiscardingChanges, | ^ utils.c:131:17: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | error1(catgets(elm_msg_cat, ElmSet, ElmLeavePreservingLock, | ^ utils.c:131:9: warning: passing arguments to 'error1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | error1(catgets(elm_msg_cat, ElmSet, ElmLeavePreservingLock, | ^ utils.c:137:6: warning: call to undeclared function 'elm_unlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 137 | elm_unlock(); | ^ utils.c:162:18: warning: call to undeclared function 'compute_visible'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 162 | msg_pointer = compute_visible(msg_pointer); | ^ utils.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 | get_page(msg_pointer) | ^ utils.c:179:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | char *nameof(filename) | ^ utils.c:217:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | int elm_chown(file, userid, groupid) | ^ 52 warnings generated. cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c wordwrap.c -o wordwrap.o In file included from wordwrap.c:32: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ wordwrap.c:35:10: 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 previous declaration [-Wdeprecated-non-prototype] 35 | unsigned alarm(); | ^ /usr/include/unistd.h:324:15: note: conflicting prototype is here 324 | unsigned int alarm(unsigned int); | ^ wordwrap.c:78:10: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | PutLine1(x, y, "%s", string); | ^ wordwrap.c:183:11: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | PutLine1(x, y, "%s", string); | ^ wordwrap.c:231:14: warning: passing arguments to 'PutLine1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | PutLine1(x,y, "%s", string); | ^ wordwrap.c:256:20: warning: call to undeclared function 'line_wrap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 256 | *append_current = line_wrap(string,tail,&iindex,&tabs[tindex-1]); | ^ wordwrap.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | wrapped_enter(string, tail, x, y, edit_fd, append_current) | ^ wordwrap.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | line_wrap(string,tail,count,tabs) | ^ 42 warnings generated. cc -s -L/usr/local/lib -o ../bin/elm addr_util.o alias.o aliaslib.o args.o a_edit.o a_screen.o a_sendmsg.o a_sort.o a_quit.o bouncebk.o builtin.o calendar.o chstatus.o curses.o date.o delete.o edit.o editmsg.o elm.o encode.o fbrowser.o file_ops.o file_util.o fileio.o find_alias.o forms.o hdrconfg.o help.o in_utils.o init.o leavembox.o lock.o limit.o mime.o newmbox.o options.o out_utils.o pattern.o quit.o read_rc.o reply.o returnadd.o save.o save_opts.o savecopy.o screen.o showmsg.o showmsg_c.o signals.o sndattach.o sndhdrs.o sndmsg.o sndpart_io.o sndpart_lib.o softkeys.o sort.o string2.o strings.o syscall.o utils.o wordwrap.o ../lib/libutil.a -lintl -lcrypt -lncurses cd utils && /usr/bin/make -j 8 -B all cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c answer.c -o answer.o In file included from answer.c:44: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ answer.c:53:43: 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 previous declaration [-Wdeprecated-non-prototype] 53 | char *get_alias_address(), *get_token(), *strip_parens(), *shift_lower(); | ^ ../hdrs/elm_lib.h:364:7: note: conflicting prototype is here 364 | char *strip_parens P_((const char *)); | ^ answer.c:53:60: 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 previous declaration [-Wdeprecated-non-prototype] 53 | char *get_alias_address(), *get_token(), *strip_parens(), *shift_lower(); | ^ ../hdrs/elm_lib.h:337:7: note: conflicting prototype is here 337 | char *shift_lower P_((char *)); | ^ answer.c:58:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 58 | main(argc, argv) | ^ | int answer.c:70:21: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | quit_word = catgets(elm_msg_cat, AnswerSet, AnswerQuitWord, "quit"); | ^ answer.c:71:21: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | exit_word = catgets(elm_msg_cat, AnswerSet, AnswerExitWord, "exit"); | ^ answer.c:72:21: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | done_word = catgets(elm_msg_cat, AnswerSet, AnswerDoneWord, "done"); | ^ answer.c:73:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | bye_word = catgets(elm_msg_cat, AnswerSet, AnswerByeWord, "bye"); | ^ answer.c:101:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | prompt: printf(catgets(elm_msg_cat, AnswerSet, AnswerMessageTo, "\nMessage to: ")); | ^ answer.c:101:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 101 | prompt: printf(catgets(elm_msg_cat, AnswerSet, AnswerMessageTo, "\nMessage to: ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ answer.c:101:18: note: treat the string as an argument to avoid this 101 | prompt: printf(catgets(elm_msg_cat, AnswerSet, AnswerMessageTo, "\nMessage to: ")); | ^ | "%s", answer.c:120:8: warning: call to undeclared function 'translate'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 120 | if (translate(recip_name, name) == 0) | ^ answer.c:123:31: warning: passing arguments to 'get_alias_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | address = get_alias_address(name, 1, 0); | ^ answer.c:129:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | printf(catgets(elm_msg_cat, AnswerSet, AnswerSorryNotFound, | ^ answer.c:141:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | exit(printf(catgets(elm_msg_cat, AnswerSet, AnswerCouldNotOpenWrite, | ^ answer.c:148:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | strcpy(buffer, catgets(elm_msg_cat, AnswerSet, AnswerCaller, "Caller: ")); | ^ answer.c:155:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | strcpy(buffer, catgets(elm_msg_cat, AnswerSet, AnswerOf, "of: ")); | ^ answer.c:162:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | strcpy(buffer, catgets(elm_msg_cat, AnswerSet, AnswerPhone, "Phone: ")); | ^ answer.c:169:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | strcpy(buffer, catgets(elm_msg_cat, AnswerSet, AnswerTelephoned, "TELEPHONED - ")); | ^ answer.c:176:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | strcpy(buffer, catgets(elm_msg_cat, AnswerSet, AnswerCalledToSeeYou, "CALLED TO SEE YOU - ")); | ^ answer.c:183:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | strcpy(buffer, catgets(elm_msg_cat, AnswerSet, AnswerWantsToSeeYou, "WANTS TO SEE YOU - ")); | ^ answer.c:190:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | strcpy(buffer, catgets(elm_msg_cat, AnswerSet, AnswerReturnedYourCall, "RETURNED YOUR CALL - ")); | ^ answer.c:197:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | strcpy(buffer, catgets(elm_msg_cat, AnswerSet, AnswerPleaseCall, "PLEASE CALL - ")); | ^ answer.c:204:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | strcpy(buffer, catgets(elm_msg_cat, AnswerSet, AnswerWillCallAgain, "WILL CALL AGAIN - ")); | ^ answer.c:211:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | strcpy(buffer, catgets(elm_msg_cat, AnswerSet, AnswerUrgent, "*****URGENT****** - ")); | ^ answer.c:219:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | printf(catgets(elm_msg_cat, AnswerSet, AnswerEnterMessage, | ^ answer.c:233:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | sprintf(buffer, catgets(elm_msg_cat, AnswerSet, AnswerElmCommand, | ^ answer.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | main(argc, argv) | ^ answer.c:258:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | printf(catgets(elm_msg_cat, AnswerSet, AnswerCannotHaveMoreNames, | ^ answer.c:258:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 258 | printf(catgets(elm_msg_cat, AnswerSet, AnswerCannotHaveMoreNames, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | "** Can't have more than 'FirstName LastName' as address!\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ answer.c:258:15: note: treat the string as an argument to avoid this 258 | printf(catgets(elm_msg_cat, AnswerSet, AnswerCannotHaveMoreNames, | ^ | "%s", answer.c:262:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 262 | else | ^ answer.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 | translate(fullname, name) | ^ answer.c:284:22: warning: passing arguments to 'dbz_open' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | if ((hash = dbz_open(fname, O_RDONLY, 0)) == NULL) | ^ answer.c:310:19: warning: passing arguments to 'dbz_fetch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | value = dbz_fetch(hash, key); | ^ answer.c:320:10: warning: call to undeclared function 'expand_group'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 320 | if (expand_group(sprbuffer, buffer + entry.address, | ^ answer.c:291:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | char *get_alias_address(name, mailing, depth) | ^ answer.c:53: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] 53 | char *get_alias_address(), *get_token(), *strip_parens(), *shift_lower(); | ^ answer.c:347:35: warning: passing arguments to 'get_token' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | while ((word = (char *) get_token(bufptr, "!, ", depth)) != NULL) { | ^ answer.c:349:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | fprintf(stderr, catgets(elm_msg_cat, AnswerSet, AnswerNotFoundForGroup, | ^ answer.c:330:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | int expand_group(target, members, depth) | ^ answer.c:362:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 362 | print_long(buffer, init_len) | ^ | int answer.c:362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] answer.c:395:1: warning: non-void function does not return a value [-Wreturn-type] 395 | } | ^ answer.c:424:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | fprintf(stderr, catgets(elm_msg_cat, AnswerSet, AnswerRecursionTooDeep, | ^ answer.c:409:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | char *get_token(string, sepset, depth) | ^ answer.c:53:29: 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] 53 | char *get_alias_address(), *get_token(), *strip_parens(), *shift_lower(); | ^ 79 warnings generated. cc -s -L/usr/local/lib -o ../bin/answer answer.o ../lib/libutil.a -lintl -lcrypt -lncurses /bin/cp checkalias ../bin/checkalias ; /bin/chmod u+w,a+rx ../bin/checkalias cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c elmalias.c -o elmalias.o In file included from elmalias.c:86: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ elmalias.c:100:26: 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 previous declaration [-Wdeprecated-non-prototype] 100 | extern struct alias_rec *fetch_alias(); | ^ ../hdrs/elm_lib.h:22:19: note: conflicting prototype is here 22 | struct alias_rec *fetch_alias P_((struct dbz *, char *)); | ^ elmalias.c:101: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 previous declaration [-Wdeprecated-non-prototype] 101 | extern char *next_addr_in_list(); | ^ ../hdrs/elm_lib.h:23:7: note: conflicting prototype is here 23 | char *next_addr_in_list P_((char **)); | ^ elmalias.c:114:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | fprintf(stderr, catgets(elm_msg_cat, ElmaliasSet, ElmaliasUsage, | ^ elmalias.c:121:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 121 | main(argc, argv) | ^ | int elmalias.c:219:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | fprintf(stderr, catgets(elm_msg_cat, ElmaliasSet, | ^ elmalias.c:228:14: warning: passing arguments to 'print_alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | print_alias(out_fmt, ar); | ^ elmalias.c:254:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | fprintf(stderr, catgets(elm_msg_cat, ElmaliasSet, | ^ elmalias.c:259:25: warning: passing arguments to 'make_dummy_rec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | ar = make_dummy_rec(argv[i]); | ^ elmalias.c:260:17: warning: passing arguments to 'print_alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | print_alias(out_fmt, ar); | ^ elmalias.c:262:21: warning: passing arguments to 'exp_print_alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | exp_print_alias(dblist, out_fmt, ar); | ^ elmalias.c:264:17: warning: passing arguments to 'print_alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | print_alias(out_fmt, ar); | ^ elmalias.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | main(argc, argv) | ^ elmalias.c:278:20: warning: passing arguments to 'dbz_open' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | return dbz_open(system_data_file, O_RDONLY, 0); | ^ elmalias.c:286:20: warning: passing arguments to 'dbz_open' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | return dbz_open(fname, O_RDONLY, 0); | ^ elmalias.c:293:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | struct alias_rec *make_dummy_rec(val) | ^ elmalias.c:107: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] 107 | struct alias_rec *make_dummy_rec(); | ^ elmalias.c:345:17: warning: passing arguments to 'print_alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | print_alias(fmt, ar0); | ^ elmalias.c:313:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | void exp_print_alias(dblist, fmt, ar) | ^ elmalias.c:108:6: 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] 108 | void exp_print_alias(), print_alias(); | ^ elmalias.c:394:28: warning: passing arguments to 'sel_alias_mem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | if ((s = sel_alias_mem(ar, *fmt)) == NULL) { | ^ elmalias.c:395:14: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | s = catgets(elm_msg_cat, ElmaliasSet, ElmaliasIllegalFmtChar, | ^ elmalias.c:415:20: warning: passing arguments to 'sel_alias_mem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | s = sel_alias_mem(ar, *++fmt); | ^ elmalias.c:356:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | void print_alias(fmt, ar) | ^ elmalias.c:108:25: 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] 108 | void exp_print_alias(), print_alias(); | ^ elmalias.c:476:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | return catgets(elm_msg_cat, ElmaliasSet, | ^ elmalias.c:479:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | return catgets(elm_msg_cat, ElmaliasSet, | ^ elmalias.c:482:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | return catgets(elm_msg_cat, ElmaliasSet, | ^ elmalias.c:458:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | char *sel_alias_mem(ar, sel) | ^ elmalias.c:109: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] 109 | char *sel_alias_mem(); | ^ 64 warnings generated. cc -s -L/usr/local/lib -o ../bin/elmalias elmalias.o ../lib/libutil.a -lintl -lcrypt -lncurses cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c fastmail.c -o fastmail.o In file included from fastmail.c:58: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ fastmail.c:67:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 67 | main(argc, argv) | ^ | int fastmail.c:110:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | fprintf(stderr, catgets(elm_msg_cat, FastmailSet, FastmailNoDebug, | ^ fastmail.c:127:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | fprintf(stderr, catgets(elm_msg_cat, FastmailSet, FastmailUsage, | ^ fastmail.c:151:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | fprintf(stderr, catgets(elm_msg_cat, FastmailSet, | ^ fastmail.c:161:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | fprintf(stderr, catgets(elm_msg_cat, FastmailSet, | ^ fastmail.c:196:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | fprintf(stderr, catgets(elm_msg_cat, FastmailSet, FastmailTooManyRecip, | ^ fastmail.c:205:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | fprintf(stderr, catgets(elm_msg_cat, FastmailSet, | ^ fastmail.c:242:27: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 242 | if (i > 5 && streq(mailer+i-5, "/mail")) | ~~~~~~~~~~~~^~~~~~~~~~~~~~ ../hdrs/elm_defs.h:133:31: note: expanded from macro 'streq' 133 | #define streq(p, q) (strcmp((p), (q)) == 0) | ^ fastmail.c:242:27: note: use array indexing to silence this warning 242 | if (i > 5 && streq(mailer+i-5, "/mail")) | ^ | & [ ../hdrs/elm_defs.h:133:31: note: expanded from macro 'streq' 133 | #define streq(p, q) (strcmp((p), (q)) == 0) | ^ fastmail.c:245:27: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 245 | if (i > 6 && streq(mailer+i-6, "/mailx")) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../hdrs/elm_defs.h:133:31: note: expanded from macro 'streq' 133 | #define streq(p, q) (strcmp((p), (q)) == 0) | ^ fastmail.c:245:27: note: use array indexing to silence this warning 245 | if (i > 6 && streq(mailer+i-6, "/mailx")) | ^ | & [ ../hdrs/elm_defs.h:133:31: note: expanded from macro 'streq' 133 | #define streq(p, q) (strcmp((p), (q)) == 0) | ^ fastmail.c:293:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | fprintf(stderr, catgets(elm_msg_cat, FastmailSet, FastmailErrorSending, | ^ fastmail.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 | main(argc, argv) | ^ fastmail.c:302:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | int addword(dest, destsiz, word, len_p) | ^ 47 warnings generated. cc -s -L/usr/local/lib -o ../bin/fastmail fastmail.o ../lib/libutil.a -lintl -lcrypt -lncurses cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c from.c -o from.o In file included from from.c:52: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ from.c:96:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 96 | main(argc, argv) | ^ | int from.c:150:26: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 150 | default: usage(argv[0]); | ^ from.c:162:9: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 162 | usage(argv[0]); | ^ from.c:166:16: warning: call to undeclared function 'print_help'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 166 | case 'h': print_help(); | ^ from.c:168:16: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 168 | case '?': usage(argv[0]); | ^ from.c:169:21: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | printf(catgets(elm_msg_cat, | ^ from.c:177:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | fprintf(stderr,catgets(elm_msg_cat,FromSet,FromNoQuietVerbose, | ^ from.c:177:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 177 | fprintf(stderr,catgets(elm_msg_cat,FromSet,FromNoQuietVerbose, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 178 | "Can't have quiet *and* verbose!\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ from.c:177:19: note: treat the string as an argument to avoid this 177 | fprintf(stderr,catgets(elm_msg_cat,FromSet,FromNoQuietVerbose, | ^ | "%s", from.c:184:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | fprintf(stderr,catgets(elm_msg_cat,FromSet,FromCantOpenDevNull, | ^ from.c:184:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 184 | fprintf(stderr,catgets(elm_msg_cat,FromSet,FromCantOpenDevNull, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 185 | "Can't open /dev/null for \"very quiet\" mode.\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ from.c:184:21: note: treat the string as an argument to avoid this 184 | fprintf(stderr,catgets(elm_msg_cat,FromSet,FromCantOpenDevNull, | ^ | "%s", from.c:222:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | fprintf(stderr,catgets(elm_msg_cat, | ^ from.c:239:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | printf(catgets(elm_msg_cat,FromSet,FromNotRegularFile, | ^ from.c:248:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | printf(catgets(elm_msg_cat,FromSet,FromNoMail,"No mail.\n")); | ^ from.c:248:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 248 | printf(catgets(elm_msg_cat,FromSet,FromNoMail,"No mail.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ from.c:248:12: note: treat the string as an argument to avoid this 248 | printf(catgets(elm_msg_cat,FromSet,FromNoMail,"No mail.\n")); | ^ | "%s", from.c:253:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | printf(catgets(elm_msg_cat,FromSet,FromCouldntOpenFolder, | ^ from.c:261:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | printf(catgets(elm_msg_cat, | ^ from.c:271:4: warning: call to undeclared function 'read_headers'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 271 | read_headers(user_mailbox, &total_msgs, &selected_msgs); | ^ from.c:281:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | printf(catgets(elm_msg_cat,FromSet,FromStringNoMail, | ^ from.c:282:36: warning: passing arguments to 'whos_mail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | "%s no mail.\n"), whos_mail(infile)); | ^ from.c:285:17: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | printf(catgets(elm_msg_cat,FromSet,FromNoMesgInFolder, | ^ from.c:285:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 285 | printf(catgets(elm_msg_cat,FromSet,FromNoMesgInFolder, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 286 | "No messages in that folder!\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ from.c:285:10: note: treat the string as an argument to avoid this 285 | printf(catgets(elm_msg_cat,FromSet,FromNoMesgInFolder, | ^ | "%s", from.c:292:17: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | printf(catgets(elm_msg_cat,FromSet,FromNoExplainMail, | ^ from.c:293:40: warning: passing arguments to 'whos_mail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | "%s no%s mail.\n"), whos_mail(infile), | ^ from.c:294:17: warning: passing arguments to 'explain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | explain(selct,NEG)); | ^ from.c:297:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | printf(catgets(elm_msg_cat, | ^ from.c:300:12: warning: passing arguments to 'explain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | explain(selct,NEG)); | ^ from.c:306:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | printf(catgets(elm_msg_cat,FromSet,FromStringStringMail, | ^ from.c:307:32: warning: passing arguments to 'whos_mail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | "%s%s mail.\n"), whos_mail(infile), | ^ from.c:308:12: warning: passing arguments to 'explain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | explain(selct,POS)); | ^ from.c:310:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | printf(catgets(elm_msg_cat,FromSet,FromThereAreMesg, | ^ from.c:312:13: warning: passing arguments to 'explain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | explain(selct,POS)); | ^ from.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 | main(argc, argv) | ^ from.c:331:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 331 | read_headers(user_mailbox, total_msgs, selected) | ^ | int from.c:462:8: warning: call to undeclared function 'forwarded'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 462 | forwarded(buffer, from_whom); /* return address */ | ^ from.c:525:23: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | printf(catgets(elm_msg_cat,FromSet,FromFollowingMesg, | ^ from.c:527:19: warning: passing arguments to 'whos_mail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | whos_mail(infile)); | ^ from.c:529:23: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | printf(catgets(elm_msg_cat,FromSet,FromStringStringMail, | ^ from.c:530:36: warning: passing arguments to 'whos_mail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | "%s%s mail.\n"), whos_mail(infile), | ^ from.c:531:16: warning: passing arguments to 'explain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 531 | explain(selct,POS)); | ^ from.c:534:21: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | printf(catgets(elm_msg_cat, | ^ from.c:537:15: warning: passing arguments to 'explain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | explain(selct,POS)); | ^ from.c:622:29: warning: passing arguments to 'whos_mail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | printf("%s ", whos_mail(infile)); | ^ from.c:624:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | printf(catgets(elm_msg_cat,FromSet,FromFolderContains, | ^ from.c:624:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 624 | printf(catgets(elm_msg_cat,FromSet,FromFolderContains, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 625 | "Folder contains ")); | ~~~~~~~~~~~~~~~~~~~ from.c:624:13: note: treat the string as an argument to avoid this 624 | printf(catgets(elm_msg_cat,FromSet,FromFolderContains, | ^ | "%s", from.c:635:39: warning: passing arguments to 'explain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 635 | printf("%d%s ",summary[i], explain(i,POS)); | ^ from.c:637:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | printf("%s",catgets(elm_msg_cat, | ^ from.c:640:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | printf("%s",catgets(elm_msg_cat, | ^ from.c:655:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | printf("%s",catgets(elm_msg_cat, | ^ from.c:658:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | printf("%s",catgets(elm_msg_cat, | ^ from.c:668:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | printf(catgets(elm_msg_cat,FromSet,FromNoMessages, | ^ from.c:668:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 668 | printf(catgets(elm_msg_cat,FromSet,FromNoMessages, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 669 | "no messages.\n")); | ~~~~~~~~~~~~~~~~~ from.c:668:13: note: treat the string as an argument to avoid this 668 | printf(catgets(elm_msg_cat,FromSet,FromNoMessages, | ^ | "%s", from.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | read_headers(user_mailbox, total_msgs, selected) | ^ from.c:671:1: warning: non-void function does not return a value [-Wreturn-type] 671 | } | ^ from.c:674:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 674 | forwarded(buffer, who) | ^ | int from.c:697:12: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 697 | catgets(elm_msg_cat,FromSet,FromAnon, "anonymous")); | ^ from.c:696:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 696 | sprintf(buff, holding_from[0] ? holding_from : | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 697 | catgets(elm_msg_cat,FromSet,FromAnon, "anonymous")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ from.c:696:18: note: treat the string as an argument to avoid this 696 | sprintf(buff, holding_from[0] ? holding_from : | ^ | "%s", from.c:674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | forwarded(buffer, who) | ^ from.c:702:1: warning: non-void function does not return a value [-Wreturn-type] 702 | } | ^ from.c:719:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 719 | strcpy(whos_who,catgets(elm_msg_cat, | ^ from.c:723:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | strcat(whos_who,catgets(elm_msg_cat,FromSet,FromHas, " has")); | ^ from.c:728:30: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 728 | strcpy(whos_who,catgets(elm_msg_cat, | ^ from.c:708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | whos_mail(filename) | ^ from.c:93: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] 93 | extern char *whos_mail(), *explain(); | ^ from.c:734:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 734 | usage(prog) | ^ | int from.c:737:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | printf(catgets(elm_msg_cat,FromSet,FromUsage, | ^ from.c:734:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | usage(prog) | ^ from.c:740:1: warning: non-void function does not return a value [-Wreturn-type] 740 | } | ^ from.c:742:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 742 | print_help() | ^ | int from.c:745:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | printf(catgets(elm_msg_cat,FromSet,FromHelpTitle, | ^ from.c:745:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 745 | printf(catgets(elm_msg_cat,FromSet,FromHelpTitle, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 746 | "frm -- list from and subject lines of messages in mailbox or folder\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ from.c:745:13: note: treat the string as an argument to avoid this 745 | printf(catgets(elm_msg_cat,FromSet,FromHelpTitle, | ^ | "%s", from.c:749:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 749 | printf(catgets(elm_msg_cat,FromSet,FromHelpText, | ^ from.c:749:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 749 | printf(catgets(elm_msg_cat,FromSet,FromHelpText, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 750 | "\noption summary:\n\ | ~~~~~~~~~~~~~~~~~~~~~ 751 | -h\tprint this help message.\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 752 | -l\tinclude information about who each message is to (mailing list info).\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 753 | -n\tdisplay the message number of each message printed.\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 754 | -Q\tvery quiet -- no output is produced. This option allows shell\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 755 | \tscripts to check frm's return status without having output.\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 756 | -q\tquiet -- only print summaries for each mailbox or folder.\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 757 | -S\tsummarize the number of messages in each mailbox or folder.\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 758 | -s status only -- select messages with the specified status.\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 759 | \t'status' is one of \"new\", \"old\", \"unread\" (same as \"old\"),\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 760 | \tor \"read\". Only the first letter need be specified.\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 761 | -t\ttry to align subjects even if 'from' text is long.\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 762 | -v\tprint a verbose header.\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ from.c:749:13: note: treat the string as an argument to avoid this 749 | printf(catgets(elm_msg_cat,FromSet,FromHelpText, | ^ | "%s", from.c:764:1: warning: non-void function does not return a value [-Wreturn-type] 764 | } | ^ from.c:776:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | return catgets(elm_msg_cat,FromSet,FromNew," new"); | ^ from.c:778:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | return catgets(elm_msg_cat,FromSet,FromUnread," unread"); | ^ from.c:780:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 780 | return catgets(elm_msg_cat,FromSet,FromRead," read"); | ^ from.c:783:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 783 | return catgets(elm_msg_cat,FromSet,FromNewAndUnread, | ^ from.c:786:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | return catgets(elm_msg_cat,FromSet,FromNewOrUnread, | ^ from.c:790:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 790 | return catgets(elm_msg_cat,FromSet,FromNewAndRead, | ^ from.c:793:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | return catgets(elm_msg_cat,FromSet,FromNewOrRead, | ^ from.c:797:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 797 | return catgets(elm_msg_cat,FromSet,FromReadAndUnread, | ^ from.c:800:22: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | return catgets(elm_msg_cat,FromSet,FromReadOrUnread, | ^ from.c:805:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 805 | return catgets(elm_msg_cat,FromSet,FromUnknown," unknown"); | ^ from.c:770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | explain(selection, how_to_say) | ^ from.c:93:28: 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] 93 | extern char *whos_mail(), *explain(); | ^ 120 warnings generated. cc -s -L/usr/local/lib -o ../bin/frm from.o ../lib/libutil.a -lintl -lcrypt -lncurses /bin/cp listalias ../bin/listalias ; /bin/chmod u+w,a+rx ../bin/listalias cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c mmencode.c -o mmencode.o In file included from mmencode.c:16: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ mmencode.c:30:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | int main(argc, argv) | ^ mmencode.c:113:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | void to64(infile, outfile) | ^ mmencode.c:139:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | void output64chunk(c1, c2, c3, pads, outfile) | ^ mmencode.c:157:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | int PendingBoundary(s, Boundaries, BoundaryCt) | ^ mmencode.c:177:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | void from64(infile, outfile, boundaries, boundaryct) | ^ mmencode.c:259:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | void toqp(infile, outfile) | ^ mmencode.c:334:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | void fromqp(infile, outfile, boundaries, boundaryct) | ^ 42 warnings generated. cc -s -L/usr/local/lib -o ../bin/mmencode mmencode.o ../lib/libutil.a -lintl -lcrypt -lncurses /bin/cp messages ../bin/messages ; /bin/chmod u+w,a+rx ../bin/messages cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c newalias.c -o newalias.o In file included from newalias.c:49: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ newalias.c:57:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 57 | main(argc, argv) | ^ | int newalias.c:74:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | fprintf(stderr, catgets(elm_msg_cat, | ^ newalias.c:81:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | printf(catgets(elm_msg_cat, NewaliasSet, NewaliasUpdateSystem, | ^ newalias.c:81:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 81 | printf(catgets(elm_msg_cat, NewaliasSet, NewaliasUpdateSystem, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 82 | "Updating the system alias file...")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newalias.c:81:13: note: treat the string as an argument to avoid this 81 | printf(catgets(elm_msg_cat, NewaliasSet, NewaliasUpdateSystem, | ^ | "%s", newalias.c:88:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | printf(catgets(elm_msg_cat, NewaliasSet, NewaliasUpdatePersonal, | ^ newalias.c:88:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 88 | printf(catgets(elm_msg_cat, NewaliasSet, NewaliasUpdatePersonal, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 89 | "Updating your personal alias file...")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newalias.c:88:13: note: treat the string as an argument to avoid this 88 | printf(catgets(elm_msg_cat, NewaliasSet, NewaliasUpdatePersonal, | ^ | "%s", newalias.c:98:20: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | printf(catgets(elm_msg_cat, NewaliasSet, NewaliasProcessed, | ^ newalias.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 | main(argc, argv) | ^ newalias.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | error(err_message) | ^ newalias.c:52:6: 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] 52 | void error(); | ^ 45 warnings generated. cc -s -L/usr/local/lib -o ../bin/newalias newalias.o ../lib/libutil.a -lintl -lcrypt -lncurses cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c newmail.c -o newmail.o In file included from newmail.c:87: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ In file included from newmail.c:98: /usr/include/sys/timeb.h:43:2: warning: "this file includes which is deprecated" [-W#warnings] 43 | #warning "this file includes which is deprecated" | ^ newmail.c:180:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 180 | main(argc, argv) | ^ | int newmail.c:196:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | no_subj = catgets(elm_msg_cat, NewmailSet, NewmailNoSubject, | ^ newmail.c:198:23: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | priority_to = catgets(elm_msg_cat, NewmailSet, | ^ newmail.c:200:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | priority_text = catgets(elm_msg_cat, NewmailSet, | ^ newmail.c:202:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | To_text = catgets(elm_msg_cat, NewmailSet, NewmailInWinTo, "To "); | ^ newmail.c:203:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | priority_mail = catgets(elm_msg_cat, NewmailSet, | ^ newmail.c:205:21: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | mail_text = catgets(elm_msg_cat, NewmailSet, NewmailMail, "Mail "); | ^ newmail.c:206:19: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | to_text = catgets(elm_msg_cat, NewmailSet, NewmailTo, "to "); | ^ newmail.c:207:21: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | from_text = catgets(elm_msg_cat, NewmailSet, NewmailFrom, "from "); | ^ newmail.c:235:17: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 235 | default : usage(argv[0]); exit(1); | ^ newmail.c:241:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | fprintf(stderr, catgets(elm_msg_cat, NewmailSet, NewmailShort, | ^ newmail.c:241:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 241 | fprintf(stderr, catgets(elm_msg_cat, NewmailSet, NewmailShort, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 242 | "Warning: interval set to 1 second. I hope you know what you're doing!\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newmail.c:241:22: note: treat the string as an argument to avoid this 241 | fprintf(stderr, catgets(elm_msg_cat, NewmailSet, NewmailShort, | ^ | "%s", newmail.c:244:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | fprintf(stderr, catgets(elm_msg_cat, NewmailSet, NewmailShortPlur, | ^ newmail.c:243:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 243 | else | ^ newmail.c:251:4: warning: call to undeclared function 'add_default_folder'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 251 | add_default_folder(); | ^ newmail.c:254:6: warning: call to undeclared function 'add_folder'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 254 | add_folder(argv[optind++]); | ^ newmail.c:255:4: warning: call to undeclared function 'pad_prefixes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 255 | pad_prefixes(); /* for nice output...*/ | ^ newmail.c:272:18: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | printf(catgets(elm_msg_cat, NewmailSet, NewmailIncommingMail, | ^ newmail.c:272:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 272 | printf(catgets(elm_msg_cat, NewmailSet, NewmailIncommingMail, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | "Incoming mail:\n")); | ~~~~~~~~~~~~~~~~~~~ newmail.c:272:11: note: treat the string as an argument to avoid this 272 | printf(catgets(elm_msg_cat, NewmailSet, NewmailIncommingMail, | ^ | "%s", newmail.c:298:26: warning: passing arguments to 'bytes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | if ((newsize = bytes(cur_folder->foldername)) == | ^ newmail.c:306:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | fprintf(stderr, catgets(elm_msg_cat, NewmailSet, | ^ newmail.c:317:26: warning: passing arguments to 'bytes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | if ((newsize = bytes(cur_folder->foldername)) > | ^ newmail.c:333:12: warning: call to undeclared function 'read_headers'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 333 | if (read_headers(cur_folder) && ! in_window) | ^ newmail.c:346:36: warning: passing arguments to 'bytes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | cur_folder->filesize = bytes(cur_folder->foldername); | ^ newmail.c:352:25: warning: passing arguments to 'bytes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | newsize = bytes(cur_folder->foldername); | ^ newmail.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 | main(argc, argv) | ^ newmail.c:425:6: warning: call to undeclared function 'show_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 425 | show_header(&hdr, cur_folder); | ^ newmail.c:457:6: warning: call to undeclared function 'forwarded'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 457 | forwarded(fld_val, hdr.from); | ^ newmail.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | read_headers(cur_folder) | ^ newmail.c:500:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 500 | add_folder(name) | ^ | int newmail.c:511:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | fprintf(stderr, catgets(elm_msg_cat, NewmailSet, NewmailErrMaxFolders, | ^ newmail.c:548:4: warning: call to undeclared function 'expand_filename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 548 | expand_filename(name, folders[current_folder].foldername); | ^ newmail.c:565:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | fprintf(stderr, catgets(elm_msg_cat, NewmailSet, NewmailErrNoPerm, | ^ newmail.c:572:13: warning: passing arguments to 'bytes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | bytes(folders[current_folder].foldername); | ^ newmail.c:500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | add_folder(name) | ^ newmail.c:590:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 590 | } | ^ newmail.c:592:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 592 | add_default_folder() | ^ | int newmail.c:602:29: warning: passing arguments to 'bytes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | folders[0].filesize = bytes(folders[0].foldername); | ^ newmail.c:613:1: warning: non-void function does not return a value [-Wreturn-type] 613 | } | ^ newmail.c:616:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 616 | forwarded(buffer, who) | ^ | int newmail.c:616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] newmail.c:643:1: warning: non-void function does not return a value [-Wreturn-type] 643 | } | ^ newmail.c:645:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 645 | show_header(hdr, cur_folder) | ^ | int newmail.c:645:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] newmail.c:693:1: warning: non-void function does not return a value [-Wreturn-type] 693 | } | ^ newmail.c:708:31: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | MCfprintf(stderr, catgets(elm_msg_cat, NewmailSet, NewmailErrFstat, | ^ newmail.c:712:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 712 | else | ^ newmail.c:696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 696 | bytes(name) | ^ newmail.c:142: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] 142 | long bytes(); | ^ newmail.c:729:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 729 | usage(name) | ^ | int newmail.c:734:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | fprintf(stderr, catgets(elm_msg_cat, NewmailSet, NewmailArgsHelp1, | ^ newmail.c:742:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 742 | fprintf(stderr, catgets(elm_msg_cat, NewmailSet, NewmailArgsHelp2, | ^ newmail.c:742:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 742 | fprintf(stderr, catgets(elm_msg_cat, NewmailSet, NewmailArgsHelp2, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 743 | "folders can be specified by relative or absolute path names, can be the name\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 744 | of a mailbox in the incoming mail directory to check, or can have one of the\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 745 | standard Elm mail directory prefix chars (e.g. '+', '=' or '%%').\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 746 | Furthermore, any folder can have '=string' as a suffix to indicate a folder\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 747 | identifier other than the basename of the file\n\n")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newmail.c:742:18: note: treat the string as an argument to avoid this 742 | fprintf(stderr, catgets(elm_msg_cat, NewmailSet, NewmailArgsHelp2, | ^ | "%s", newmail.c:729:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | usage(name) | ^ newmail.c:749:1: warning: non-void function does not return a value [-Wreturn-type] 749 | } | ^ newmail.c:752:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 752 | expand_filename(name, store_space) | ^ | int newmail.c:757:27: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | fprintf(stderr, catgets(elm_msg_cat, NewmailSet, NewmailErrExpand, | ^ newmail.c:752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | expand_filename(name, store_space) | ^ newmail.c:761:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 761 | } | ^ newmail.c:763:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 763 | pad_prefixes() | ^ | int newmail.c:780:1: warning: non-void function does not return a value [-Wreturn-type] 780 | } | ^ 97 warnings generated. cc -s -L/usr/local/lib -o ../bin/newmail newmail.o ../lib/libutil.a -lintl -lcrypt -lncurses /bin/cp printmail ../bin/printmail ; /bin/chmod u+w,a+rx ../bin/printmail cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c prlong.c -o prlong.o In file included from prlong.c:67: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ prlong.c:80:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | void usage_error(prog) | ^ prlong.c:89:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 89 | main(argc, argv) | ^ | int prlong.c:131:24: warning: passing arguments to 'calc_col' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | outb_col = calc_col(0, one_ldr); | ^ prlong.c:153:23: warning: passing arguments to 'calc_col' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | if (calc_col(calc_col(outb_col, curr_sep), inbuf) >= maxwid) { | ^ prlong.c:153:14: warning: passing arguments to 'calc_col' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | if (calc_col(calc_col(outb_col, curr_sep), inbuf) >= maxwid) { | ^ prlong.c:165:21: warning: passing arguments to 'calc_col' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | outb_col = calc_col(outb_col, outbuf+outb_len); | ^ prlong.c:172:21: warning: passing arguments to 'calc_col' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | outb_col = calc_col(outb_col, outbuf+outb_len); | ^ prlong.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] 89 | main(argc, argv) | ^ prlong.c:188:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | int calc_col(col, s) | ^ prlong.c:77: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] 77 | int calc_col(); /* calculate output column position */ | ^ 45 warnings generated. cc -s -L/usr/local/lib -o ../bin/prlong prlong.o ../lib/libutil.a -lintl -lcrypt -lncurses cc -O2 -pipe -D_SIZE_T -fstack-protector-strong -fno-strict-aliasing -I.. -I../hdrs -c readmsg.c -o readmsg.o In file included from readmsg.c:95: In file included from ../hdrs/elm_defs.h:93: ../config.h:62:18: warning: '/*' within block comment [-Wcomment] 62 | /*#undef WHOAMI /**/ | ^ ../config.h:81:18: warning: '/*' within block comment [-Wcomment] 81 | /*#undef EUNICE /**/ | ^ ../config.h:82:15: warning: '/*' within block comment [-Wcomment] 82 | /*#undef VMS /**/ | ^ ../config.h:100:22: warning: '/*' within block comment [-Wcomment] 100 | /*#undef ASCII_CTYPE /**/ | ^ ../config.h:106:22: warning: '/*' within block comment [-Wcomment] 106 | /*#undef BROKE_CTYPE /**/ | ^ ../config.h:111:40: warning: '/*' within block comment [-Wcomment] 111 | /*#undef ULTRIX_FFLUSH_BUG /**/ | ^ ../config.h:129:31: warning: '/*' within block comment [-Wcomment] 129 | /*#undef DONT_ESCAPE_MESSAGES /**/ | ^ ../config.h:140:23: warning: '/*' within block comment [-Wcomment] 140 | /*#undef HAS_CUSERID /**/ | ^ ../config.h:146:20: warning: '/*' within block comment [-Wcomment] 146 | /*#undef DISP_HOST /**/ | ^ ../config.h:162:28: warning: '/*' within block comment [-Wcomment] 162 | /*#undef USEGETDOMAINNAME /**/ | ^ ../config.h:185:31: warning: '/*' within block comment [-Wcomment] 185 | /*#undef USE_DOTLOCK_LOCKING /**/ | ^ ../config.h:187:28: warning: '/*' within block comment [-Wcomment] 187 | /*#undef USE_FCNTL_LOCKING /**/ | ^ ../config.h:214:19: warning: '/*' within block comment [-Wcomment] 214 | /*#undef DOUNAME /**/ | ^ ../config.h:215:23: warning: '/*' within block comment [-Wcomment] 215 | /*#undef HOSTCOMPILED /**/ | ^ ../config.h:265:18: warning: '/*' within block comment [-Wcomment] 265 | /*#undef USENLS /**/ | ^ ../config.h:277:15: warning: '/*' within block comment [-Wcomment] 277 | /*#undef MIME /**/ | ^ ../config.h:283:15: warning: '/*' within block comment [-Wcomment] 283 | /*#undef MMDF /**/ | ^ ../config.h:300:21: warning: '/*' within block comment [-Wcomment] 300 | /*#undef USE_DOMAIN /**/ | ^ ../config.h:306:21: warning: '/*' within block comment [-Wcomment] 306 | /*#undef NO_XHEADER /**/ | ^ ../config.h:318:16: warning: '/*' within block comment [-Wcomment] 318 | /*#undef PTEM /**/ | ^ ../config.h:333:25: warning: '/*' within block comment [-Wcomment] 333 | /*#undef REMOVE_AT_LAST /**/ | ^ ../config.h:345:32: warning: '/*' within block comment [-Wcomment] 345 | /*#undef SAVE_GROUP_MAILBOX_ID /**/ | ^ ../config.h:376:18: warning: '/*' within block comment [-Wcomment] 376 | /*#undef SIGVEC /**/ | ^ ../config.h:378:20: warning: '/*' within block comment [-Wcomment] 378 | /*#undef SIGVECTOR /**/ | ^ ../config.h:380:17: warning: '/*' within block comment [-Wcomment] 380 | /*#undef SIGSET /**/ | ^ ../config.h:384:21: warning: '/*' within block comment [-Wcomment] 384 | /*#undef HASSIGHOLD /**/ | ^ ../config.h:386:22: warning: '/*' within block comment [-Wcomment] 386 | /*#undef HASSIGBLOCK /**/ | ^ ../config.h:394:32: warning: '/*' within block comment [-Wcomment] 394 | /*#undef ALLOW_STATUS_CHANGING /**/ | ^ ../config.h:429:19: warning: '/*' within block comment [-Wcomment] 429 | /*#undef STRINGS /**/ | ^ ../config.h:430:19: warning: '/*' within block comment [-Wcomment] 430 | /*#undef PWDINSYS /**/ | ^ ../config.h:465:18: warning: '/*' within block comment [-Wcomment] 465 | /*#undef TERMIO /**/ | ^ ../config.h:539:25: warning: '/*' within block comment [-Wcomment] 539 | /*#undef SYSTIMEKERNEL /**/ | ^ ../config.h:556:21: warning: '/*' within block comment [-Wcomment] 556 | /*#undef I_SYSUTIME /**/ | ^ ../config.h:574:20: warning: '/*' within block comment [-Wcomment] 574 | /*#undef USGNAMES /* (that is, ":stuff-name(stuff):") */ | ^ ../config.h:597:16: warning: '/*' within block comment [-Wcomment] 597 | /*#undef XENIX /**/ | ^ readmsg.c:181:28: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | fprintf(stderr, catgets(elm_msg_cat, ReadmsgSet, ReadmsgUsage, | ^ readmsg.c:188:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 188 | main(argc, argv) | ^ | int readmsg.c:220:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | fprintf(stderr, catgets(elm_msg_cat, ReadmsgSet, | ^ readmsg.c:236:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | fprintf(stderr, catgets(elm_msg_cat, ReadmsgSet, | ^ readmsg.c:275:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | fprintf(stderr, catgets(elm_msg_cat, ReadmsgSet, | ^ readmsg.c:303:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | fprintf(stderr, catgets(elm_msg_cat, ReadmsgSet, ReadmsgFolderEmpty, | ^ readmsg.c:333:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | fprintf(stderr, catgets(elm_msg_cat, ReadmsgSet, ReadmsgFolderEmpty, | ^ readmsg.c:356:29: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | fprintf(stderr, catgets(elm_msg_cat, ReadmsgSet, | ^ readmsg.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | main(argc, argv) | ^ readmsg.c:378:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | void load_folder_index(fp) | ^ readmsg.c:426:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | int print_patmatch_mssg(fp, pat, do_all_matches, hdr_disp_level, do_page_breaks) | ^ readmsg.c:487:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | int print_mssg(fp, minfo, hdr_disp_level, do_page_breaks) | ^ readmsg.c:511:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | fprintf(stderr, catgets(elm_msg_cat, ReadmsgSet, ReadmsgCannotSeek, | ^ readmsg.c:543:26: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | fprintf(stderr, catgets(elm_msg_cat, ReadmsgSet, | ^ readmsg.c:590:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 590 | fprintf(stderr, catgets(elm_msg_cat, ReadmsgSet, ReadmsgCannotFindStart, | ^ readmsg.c:603:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | void weed_headers(buf, buflen, fp) | ^ readmsg.c:633:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | void setup_weed_info(sel_weed_str) | ^ readmsg.c:656:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 656 | if (w->hdrskip = (*fld == '!')) | ~~~~~~~~~~~^~~~~~~~~~~~~~~ readmsg.c:656:17: note: place parentheses around the assignment to silence this warning 656 | if (w->hdrskip = (*fld == '!')) | ^ | ( ) readmsg.c:656:17: note: use '==' to turn this assignment into an equality comparison 656 | if (w->hdrskip = (*fld == '!')) | ^ | == readmsg.c:686:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | int get_mssg_info(minfo_p, mssgno) | ^ readmsg.c:691:25: warning: passing arguments to 'catgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | fprintf(stderr, catgets(elm_msg_cat, ReadmsgSet, | ^ 55 warnings generated. cc -s -L/usr/local/lib -o ../bin/readmsg readmsg.o ../lib/libutil.a -lintl -lcrypt -lncurses cd doc && /usr/bin/make -j 8 -B all =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Staging for elm-2.5.8_7 ===> Generating temporary packing list cd lib && /usr/bin/make -B install cd src && /usr/bin/make -B install /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/elm.old ; test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/elm || /bin/mv /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/elm /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/elm.old ; /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/elm.old ; /bin/cp ../bin/elm /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/elm ; test 755 -lt 999 || /usr/bin/chgrp mail /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/elm ; /bin/chmod 755 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/elm cd utils && /usr/bin/make -B install /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/answer.old ; test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/answer || /bin/mv /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/answer /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/answer.old ; /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/answer.old ; /bin/cp ../bin/answer /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/answer ; /bin/chmod a+x /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/answer /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/checkalias.old ; test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/checkalias || /bin/mv /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/checkalias /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/checkalias.old ; /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/checkalias.old ; /bin/cp ../bin/checkalias /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/checkalias ; /bin/chmod a+x /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/checkalias /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/elmalias.old ; test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/elmalias || /bin/mv /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/elmalias /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/elmalias.old ; /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/elmalias.old ; /bin/cp ../bin/elmalias /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/elmalias ; /bin/chmod a+x /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/elmalias /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/fastmail.old ; test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/fastmail || /bin/mv /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/fastmail /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/fastmail.old ; /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/fastmail.old ; /bin/cp ../bin/fastmail /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/fastmail ; /bin/chmod a+x /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/fastmail /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/frm.old ; test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/frm || /bin/mv /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/frm /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/frm.old ; /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/frm.old ; /bin/cp ../bin/frm /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/frm ; /bin/chmod a+x /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/frm /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/listalias.old ; test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/listalias || /bin/mv /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/listalias /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/listalias.old ; /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/listalias.old ; /bin/cp ../bin/listalias /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/listalias ; /bin/chmod a+x /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/listalias /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/messages.old ; test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/messages || /bin/mv /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/messages /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/messages.old ; /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/messages.old ; /bin/cp ../bin/messages /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/messages ; /bin/chmod a+x /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/messages /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/mmencode.old ; test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/mmencode || /bin/mv /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/mmencode /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/mmencode.old ; /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/mmencode.old ; /bin/cp ../bin/mmencode /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/mmencode ; /bin/chmod a+x /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/mmencode /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/newalias.old ; test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/newalias || /bin/mv /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/newalias /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/newalias.old ; /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/newalias.old ; /bin/cp ../bin/newalias /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/newalias ; /bin/chmod a+x /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/newalias /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/newmail.old ; test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/newmail || /bin/mv /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/newmail /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/newmail.old ; /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/newmail.old ; /bin/cp ../bin/newmail /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/newmail ; /bin/chmod a+x /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/newmail /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/nfrm.old ; test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/nfrm || /bin/mv /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/nfrm /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/nfrm.old ; /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/nfrm.old ; /bin/ln /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/frm /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/nfrm /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/printmail.old ; test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/printmail || /bin/mv /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/printmail /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/printmail.old ; /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/printmail.old ; /bin/cp ../bin/printmail /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/printmail ; /bin/chmod a+x /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/printmail /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/prlong.old ; test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/prlong || /bin/mv /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/prlong /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/prlong.old ; /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/prlong.old ; /bin/cp ../bin/prlong /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/prlong ; /bin/chmod a+x /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/prlong /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/readmsg.old ; test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/readmsg || /bin/mv /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/readmsg /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/readmsg.old ; /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/readmsg.old ; /bin/cp ../bin/readmsg /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/readmsg ; /bin/chmod a+x /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/readmsg /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/wnewmail.old ; test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/wnewmail || /bin/mv /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/wnewmail /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/wnewmail.old ; /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/wnewmail.old ; /bin/ln /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/newmail /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/bin/wnewmail cd doc && /usr/bin/make -B install test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/elmrc-info || /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/elmrc-info ; /bin/cp elmrc-info /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/elmrc-info ; /bin/chmod 444 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/elmrc-info test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/help-main || /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/help-main ; /bin/cp help-main /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/help-main ; /bin/chmod 444 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/help-main test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/help-options || /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/help-options ; /bin/cp help-options /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/help-options ; /bin/chmod 444 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/help-options test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/help-alias || /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/help-alias ; /bin/cp help-alias /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/help-alias ; /bin/chmod 444 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/help-alias test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/help-pager || /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/help-pager ; /bin/cp help-pager /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/help-pager ; /bin/chmod 444 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/help-pager test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/help-status || /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/help-status ; /bin/cp help-status /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/help-status ; /bin/chmod 444 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/help-status test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/help-fbrowser || /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/help-fbrowser ; /bin/cp help-fbrowser /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/help-fbrowser ; /bin/chmod 444 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/help-fbrowser test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/help-attach || /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/help-attach ; /bin/cp help-attach /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/help-attach ; /bin/chmod 444 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/help-attach test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/help-selfolder || /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/help-selfolder ; /bin/cp help-selfolder /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/help-selfolder ; /bin/chmod 444 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/help-selfolder test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/mime-types || /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/mime-types ; /bin/cp mime-types /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/mime-types ; /bin/chmod 444 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/mime-types test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/mlists.eg || /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/mlists.eg ; /bin/cp mlists.eg /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/mlists.eg ; /bin/chmod 444 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/lib/mlists.eg test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/answer.1 || /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/answer.1 ; /bin/cp answer.1 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/answer.1 ; /bin/chmod 444 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/answer.1 test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/checkalias.1 || /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/checkalias.1 ; /bin/cp chkalias.1 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/checkalias.1 ; /bin/chmod 444 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/checkalias.1 test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/elm.1 || /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/elm.1 ; /bin/cp elm.1 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/elm.1 ; /bin/chmod 444 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/elm.1 test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/elmalias.1 || /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/elmalias.1 ; /bin/cp elmalias.1 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/elmalias.1 ; /bin/chmod 444 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/elmalias.1 test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/fastmail.1 || /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/fastmail.1 ; /bin/cp fastmail.1 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/fastmail.1 ; /bin/chmod 444 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/fastmail.1 test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/frm.1 || /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/frm.1 ; /bin/cp frm.1 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/frm.1 ; /bin/chmod 444 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/frm.1 test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/listalias.1 || /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/listalias.1 ; /bin/cp listalias.1 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/listalias.1 ; /bin/chmod 444 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/listalias.1 test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/messages.1 || /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/messages.1 ; /bin/cp messages.1 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/messages.1 ; /bin/chmod 444 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/messages.1 test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/mmencode.1 || /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/mmencode.1 ; /bin/cp mmencode.1 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/mmencode.1 ; /bin/chmod 444 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/mmencode.1 test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/newalias.1 || /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/newalias.1 ; /bin/cp newalias.1 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/newalias.1 ; /bin/chmod 444 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/newalias.1 test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/newmail.1 || /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/newmail.1 ; /bin/cp newmail.1 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/newmail.1 ; /bin/chmod 444 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/newmail.1 test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/printmail.1 || /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/printmail.1 ; /bin/cp printmail.1 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/printmail.1 ; /bin/chmod 444 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/printmail.1 test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/readmsg.1 || /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/readmsg.1 ; /bin/cp readmsg.1 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/readmsg.1 ; /bin/chmod 444 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/readmsg.1 test ! -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/wnewmail.1 || /bin/rm -f /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/wnewmail.1 ; /bin/ln /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/newmail.1 /wrkdirs/usr/ports/mail/elm/work/stage/usr/local/share/man/man1/wnewmail.1 ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-05-04T23:08:43+0000' 'PKG_NOTE_ports_top_git_hash=57a50b106b87' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=2b92bd705775' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Building packages for elm-2.5.8_7 ===> Building elm-2.5.8_7 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for elm-2.5.8_7 build of mail/elm | elm-2.5.8_7 ended at Sun May 4 19:09:04 EDT 2025 build time: 00:00:22