=>> Building mail/mmr build started at Mon Apr 1 03:25:51 BST 2024 port directory: /usr/ports/mail/mmr package name: mmr-1.6.0_1 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1199 Jul 26 2023 /usr/ports/mail/mmr/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: e324362ea9 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 07 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 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.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/07/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 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--- ===> The following configuration options are available for mmr-1.6.0_1: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/mail/mmr/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/mmr/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/mmr/work/.cache HOME=/wrkdirs/usr/ports/mail/mmr/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/mail/mmr/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/mmr/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/mail/mmr/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/mmr/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/mmr/work/.cache HOME=/wrkdirs/usr/ports/mail/mmr/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/mail/mmr/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/mmr/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 -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG -isystem /usr/local/include" LDFLAGS=" -fstack-protector-strong " LIBS=" -lncurses -lmd -L/usr/local/lib" CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DTHREADMAIL -DMAILPATH=\"/var/mail\" -DMAILER=\"/usr/sbin/sendmail\ -t\" -DLIBICONV_PLUG -isystem /usr/local/include -std=c++14 " CCACHE_DIR="/root/.ccache" 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-- PORTDOCS="" PORTEXAMPLES="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/mmr" EXAMPLESDIR="share/examples/mmr" DATADIR="share/mmr" WWWDIR="www/mmr" ETCDIR="etc/mmr" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/mmr DOCSDIR=/usr/local/share/doc/mmr EXAMPLESDIR=/usr/local/share/examples/mmr WWWDIR=/usr/local/www/mmr ETCDIR=/usr/local/etc/mmr --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 #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---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=root UID=0 GID=0 ===> NOTICE: The mmr port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> mmr-1.6.0_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> mmr-1.6.0_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of mmr-1.6.0_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The mmr port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by mmr-1.6.0_1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The mmr port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by mmr-1.6.0_1 for building => SHA256 Checksum OK for mmr-1.6.0.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The mmr port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by mmr-1.6.0_1 for building ===> Extracting for mmr-1.6.0_1 => SHA256 Checksum OK for mmr-1.6.0.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for mmr-1.6.0_1 ===> Applying FreeBSD patches for mmr-1.6.0_1 from /usr/ports/mail/mmr/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for mmr-1.6.0_1 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for mmr-1.6.0_1 c++ -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DTHREADMAIL -DMAILPATH=\"/var/mail\" -DMAILER=\"/usr/sbin/sendmail\ -t\" -DLIBICONV_PLUG -isystem /usr/local/include -std=c++14 -c main.cpp In file included from main.cpp:13: ./listing.h:56:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] thread_str = " "; ^ ./listing.h:58:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] thread_str = "|"; ^ ./listing.h:88:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tstatus = "*"; ^ ./listing.h:90:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tstatus = ">"; ^ ./listing.h:94:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tstatus = " "; ^ main.cpp:21:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "My Mailer v1.6.0 by Sam Lantinga "; ^ main.cpp:164:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *trashpath = ExpandPath(GetStartVar("TrashFile")); ^ main.cpp:488:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "You have NEW mail!"); ^ main.cpp:491:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Loading messages: ( )"); ^ main.cpp:511:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Mailfile has changed. [R]eload messages or [q]uit? "); ^ main.cpp:519:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "No mail left in %s", mailfile->Path()); ^ main.cpp:528:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Reloading messages: ( )"); ^ main.cpp:534:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Threading messages..."); ^ main.cpp:659:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] mailpath = GetStartVar("MailFile"); ^ main.cpp:759:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MIME_body::MIME_Charset(GetStartVar("MIME_charset")); ^ main.cpp:762:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] MIME_body::MIME_Ignore(GetStartVar("MIME_ignore")); ^ main.cpp:793:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( (variable=GetStartVar("Threading")) != NULL ) { ^ main.cpp:808:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *sentfile = ExpandPath(GetStartVar("SentFile")); ^ main.cpp:815:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( (variable=GetStartVar("IndentThread")) != NULL ) { ^ 19 warnings generated. c++ -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DTHREADMAIL -DMAILPATH=\"/var/mail\" -DMAILER=\"/usr/sbin/sendmail\ -t\" -DLIBICONV_PLUG -isystem /usr/local/include -std=c++14 -c rcfile.cpp rcfile.cpp:51:48: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( ! startup || ((variables=startup->ByName("variables")) == NULL) ) ^ 1 warning generated. c++ -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DTHREADMAIL -DMAILPATH=\"/var/mail\" -DMAILER=\"/usr/sbin/sendmail\ -t\" -DLIBICONV_PLUG -isystem /usr/local/include -std=c++14 -c listing.cpp In file included from listing.cpp:12: ./listing.h:56:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] thread_str = " "; ^ ./listing.h:58:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] thread_str = "|"; ^ ./listing.h:88:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tstatus = "*"; ^ ./listing.h:90:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tstatus = ">"; ^ ./listing.h:94:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tstatus = " "; ^ In file included from listing.cpp:15: ./helpfile.h:2:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "#\n", ^ ./helpfile.h:3:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "# This is the help file for My Mailer Version 1.6\n", ^ ./helpfile.h:4:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Date: Wed, 12 Feb 1997\n" ^ ./helpfile.h:8:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Mime-Version: 1.0\n", ^ ./helpfile.h:9:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Content-Type: multipart/mixed; boundary=\"SECTION--\"\n", ^ ./helpfile.h:10:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "X-Congratulations: You are looking at the header of the help file!\n", ^ ./helpfile.h:11:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:12:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "--SECTION-- General Help\n", ^ ./helpfile.h:13:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Content-Type: text/plain; name=\"General Commands\"\n", ^ ./helpfile.h:14:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:15:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "General Commands:\n", ^ ./helpfile.h:16:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:17:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " Key Command\n", ^ ./helpfile.h:18:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " --- -------\n", ^ ./helpfile.h:19:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " 'i': View message info (header info, usually)\n", ^ ./helpfile.h:20:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " 'd': Delete message or thread\n", ^ ./helpfile.h:21:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " 'u': Undelete message or thread\n", ^ ./helpfile.h:22:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " 'r': Reply to message\n", ^ ./helpfile.h:23:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " 'R': Reply to message, include all recipients\n", ^ ./helpfile.h:24:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ^R: Reply to Sender->From->Reply-To in that order\n", ^ ./helpfile.h:25:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " 'f': Forward message\n", ^ ./helpfile.h:26:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " 'm': Mail a new message\n", ^ ./helpfile.h:27:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " 's': Save message part to file\n", ^ ./helpfile.h:28:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " 'S': Save entire message or thread to file\n", ^ ./helpfile.h:29:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " '!': Run a command in a subshell\n", ^ ./helpfile.h:30:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " 'h': View current help information\n", ^ ./helpfile.h:31:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:32:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "--SECTION-- Listing Navigation\n", ^ ./helpfile.h:33:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Content-Type: text/plain; name=\"Listing Navigation\"\n", ^ ./helpfile.h:34:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:35:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Listing Navigation:\n", ^ ./helpfile.h:36:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:37:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " Action Equivalent Keys\n", ^ ./helpfile.h:38:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ------------------------------ --------------------\n", ^ ./helpfile.h:39:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "o Quit, prompt to make sure 'q' \n", ^ ./helpfile.h:40:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:41:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "o Quit immediately, no prompt 'Q'\n", ^ ./helpfile.h:42:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:43:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "o View current message \n", ^ ./helpfile.h:44:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:45:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "o Move up one message 'k' Ctrl-P \n", ^ ./helpfile.h:46:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:47:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "o Move down one message 'j' Ctrl-N \n", ^ ./helpfile.h:48:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:49:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "o Scroll up message listing 'b' Ctrl-U \n", ^ ./helpfile.h:50:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:51:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "o Scroll down message listing ' ' Ctrl-V \n", ^ ./helpfile.h:52:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:53:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "o Jump to next NEW message \n", ^ ./helpfile.h:54:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:55:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "o Jump to a message by number 'c' [0-9]\n", ^ ./helpfile.h:56:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:57:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "o Jump to beginning of listing '^'\n", ^ ./helpfile.h:58:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:59:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "o Jump to end of message listing '$' 'G'\n", ^ ./helpfile.h:60:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:61:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "o Search forward for author/subject '/'\n", ^ ./helpfile.h:62:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:63:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "o Search backward for author/subject '?'\n", ^ ./helpfile.h:64:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:65:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "o Repeat last search action 'n'\n", ^ ./helpfile.h:66:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:67:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "o Refresh listing view Ctrl-L\n", ^ ./helpfile.h:68:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:69:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "o Change the listing sort order 'o'\n", ^ ./helpfile.h:70:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:71:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "o Toggle message threading on/off Ctrl-T\n", ^ ./helpfile.h:72:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:73:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "--SECTION-- View Navigation\n", ^ ./helpfile.h:74:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Content-Type: text/plain; name=\"View Navigation\"\n", ^ ./helpfile.h:75:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:76:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "View Navigation:\n", ^ ./helpfile.h:77:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:78:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " Action Equivalent Keys\n", ^ ./helpfile.h:79:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ------------------------------ --------------------\n", ^ ./helpfile.h:80:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "o Quit, prompt to make sure 'Q'\n", ^ ./helpfile.h:81:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:82:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "o View next message \n", ^ ./helpfile.h:83:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:84:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "o View previous in thread \n", ^ ./helpfile.h:85:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:86:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "o Move up one line 'k' Ctrl-P \n", ^ ./helpfile.h:87:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:88:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "o Move down one line 'j' Ctrl-N \n", ^ ./helpfile.h:89:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:90:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "o Scroll up message view 'b' Ctrl-U \n", ^ ./helpfile.h:91:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:92:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "o Scroll down message view ' ' Ctrl-V \n", ^ ./helpfile.h:93:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:94:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "o Jump to next NEW message \n", ^ ./helpfile.h:95:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:96:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "o Jump to beginning of message '^'\n", ^ ./helpfile.h:97:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:98:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "o Jump to end of message '$' 'G'\n", ^ ./helpfile.h:99:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:100:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "o Search forward in text '/'\n", ^ ./helpfile.h:101:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:102:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "o Search backward in text '?'\n", ^ ./helpfile.h:103:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:104:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "o Repeat last search action 'n'\n", ^ ./helpfile.h:105:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:106:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "o Refresh listing view Ctrl-L\n", ^ ./helpfile.h:107:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "\n", ^ ./helpfile.h:108:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "--SECTION----\n", ^ ./helpfile.h:109:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "th'th'that's all folks! :)\n", ^ listing.cpp:18:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " ---------------------------------------------------------------------- "; ^ listing.cpp:86:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] listpane->status(0, ""); ^ listing.cpp:304:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] listpane->status(0, " Wrapping..."); ^ listing.cpp:335:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] listpane->status(0, " Wrapping..."); ^ listing.cpp:361:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if (listpane->promptchar(0, "No match -- Search text? [yN]: ") != 'y') ^ listing.cpp:366:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] listpane->status(0, " Searching to bottom..."); ^ listing.cpp:378:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] listpane->status(0, " Searching from top..."); ^ listing.cpp:392:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] listpane->status(0, " Searching to top..."); ^ listing.cpp:404:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] listpane->status(0, " Searching from bottom..."); ^ listing.cpp:420:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] listpane->status(0, " -- No Match --"); ^ listing.cpp:470:7: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Really quit? [Yn]: ") == 'n' ) ^ listing.cpp:593:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Sort by [a]uthor, [s]ubject, or [N]either? ")) { ^ listing.cpp:605:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] listpane->status(0, "Sorting..."); ^ listing.cpp:680:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] listpane->status(0, "Loaded %d messages (%d): ", ^ listing.cpp:792:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Date", "From", "To", "Subject", NULL ^ listing.cpp:792:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Date", "From", "To", "Subject", NULL ^ listing.cpp:792:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Date", "From", "To", "Subject", NULL ^ listing.cpp:792:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Date", "From", "To", "Subject", NULL ^ listing.cpp:850:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] viewpane->printf("%s", buffer); ^ listing.cpp:945:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] listpane->status(0, " Wrapping..."); ^ listing.cpp:967:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] listpane->status(0, " Wrapping..."); ^ listing.cpp:979:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] viewpane->status(0, " -- No Match --"); ^ listing.cpp:1021:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "ERROR: Couldn't memory map %s\n", bodyfile); ^ listing.cpp:1037:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Line (%d/%d) Press for more, or press 'q' to quit: ", ^ listing.cpp:1041:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Line (%d/%d) Press 'q' to quit: ", ^ 135 warnings generated. c++ -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DTHREADMAIL -DMAILPATH=\"/var/mail\" -DMAILER=\"/usr/sbin/sendmail\ -t\" -DLIBICONV_PLUG -isystem /usr/local/include -std=c++14 -c handlemail.cpp handlemail.cpp:75:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] file_str = "/"; ^ handlemail.cpp:157:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Bad tilde expansion"); ^ handlemail.cpp:241:30: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] autosave = startup->ByName("autosave"); ^ handlemail.cpp:275:40: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( ! (ptr=GetValue(ptr, &pattern, "=>", &filename)) ) ^ handlemail.cpp:317:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] StatusOne(which, "D"); ^ handlemail.cpp:344:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Saving..."); ^ handlemail.cpp:348:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "File exists -- [o]verwrite, [a]ppend, or [N]either? ")) { ^ handlemail.cpp:350:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Saving..."); ^ handlemail.cpp:355:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Saving..."); ^ handlemail.cpp:361:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Save cancelled."); ^ handlemail.cpp:367:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Save failed: %s", strerror(errno)); ^ handlemail.cpp:374:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Message portion saved."); ^ handlemail.cpp:379:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Save cancelled."); ^ handlemail.cpp:398:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Save cancelled."); ^ handlemail.cpp:404:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] openmode = "w"; ^ handlemail.cpp:407:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "File exists -- [o]verwrite, [a]ppend, or [N]either? ")) { ^ handlemail.cpp:409:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] openmode = "w"; ^ handlemail.cpp:412:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] openmode = "a"; ^ handlemail.cpp:416:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Save cancelled."); ^ handlemail.cpp:425:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Save failed: %s", strerror(errno)); ^ handlemail.cpp:454:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Couldn't save body: %s", strerror(errno)); ^ handlemail.cpp:459:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Message portion saved."); ^ handlemail.cpp:484:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Couldn't find reply-to address!"); ^ handlemail.cpp:526:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] screen->printf("Choose the text to include in your reply:"); ^ handlemail.cpp:575:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Couldn't write to temp file: %s", strerror(errno)); ^ handlemail.cpp:597:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Couldn't save part to %s: %s", temp_name, ^ handlemail.cpp:604:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Couldn't reopen %s: %s", temp_name, ^ handlemail.cpp:642:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] StatusOne(which, "D"); ^ handlemail.cpp:647:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Delete [t]hread, [A]rticle, or [n]either? ")) { ^ handlemail.cpp:649:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] StatusThread(which, "D"); ^ handlemail.cpp:655:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] StatusOne(which, "D"); ^ handlemail.cpp:664:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] StatusOne(which, "U"); ^ handlemail.cpp:669:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Undelete [t]hread, [A]rticle, or [n]either? ")) { ^ handlemail.cpp:671:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] StatusThread(which, "U"); ^ handlemail.cpp:677:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] StatusOne(which, "U"); ^ handlemail.cpp:685:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Reply-To", "From", "Sender", NULL ^ handlemail.cpp:685:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Reply-To", "From", "Sender", NULL ^ handlemail.cpp:685:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Reply-To", "From", "Sender", NULL ^ handlemail.cpp:688:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] StatusOne(which, "R"); ^ handlemail.cpp:693:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Reply-To", "From", "Sender", NULL ^ handlemail.cpp:693:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Reply-To", "From", "Sender", NULL ^ handlemail.cpp:693:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Reply-To", "From", "Sender", NULL ^ handlemail.cpp:696:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "To", "Cc", NULL ^ handlemail.cpp:696:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "To", "Cc", NULL ^ handlemail.cpp:699:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] StatusOne(which, "R"); ^ handlemail.cpp:704:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "From", "Reply-To", NULL ^ handlemail.cpp:704:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "From", "Reply-To", NULL ^ handlemail.cpp:707:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] StatusOne(which, "R"); ^ handlemail.cpp:718:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Forwarding cancelled."); ^ handlemail.cpp:752:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Choose the text to save to a formatted file:"); ^ handlemail.cpp:785:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Save [t]hread, [A]rticle, or [n]either? ")) { ^ handlemail.cpp:805:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] mbox = GetStartVar("SaveFile"); ^ handlemail.cpp:816:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] mbox = GetStartVar("SpamFile"); ^ handlemail.cpp:818:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "No SpamFile set"); ^ handlemail.cpp:825:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Save cancelled."); ^ handlemail.cpp:837:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Save failed: %s", ^ handlemail.cpp:843:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "%s saved and deleted.", ^ handlemail.cpp:864:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Message cancelled."); ^ handlemail.cpp:892:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->system(1, "%s", command); ^ handlemail.cpp:920:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] desc = "RAW MESSAGE"; ^ handlemail.cpp:929:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] desc = ""; ^ handlemail.cpp:934:37: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] sprintf(fmt, " Part %%d: %%.%ds", tty->cols()-strlen("Part ddd: ")-2); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lu handlemail.cpp:939:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] tty->cols()-8-strlen("Content-Type: ")-2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ handlemail.cpp:969:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Not viewable -- saving to file."); ^ handlemail.cpp:1002:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] " Use arrow keys to select a part (currently %d of %d)", ^ 65 warnings generated. c++ -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DTHREADMAIL -DMAILPATH=\"/var/mail\" -DMAILER=\"/usr/sbin/sendmail\ -t\" -DLIBICONV_PLUG -isystem /usr/local/include -std=c++14 -c commands.cpp c++ -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DTHREADMAIL -DMAILPATH=\"/var/mail\" -DMAILER=\"/usr/sbin/sendmail\ -t\" -DLIBICONV_PLUG -isystem /usr/local/include -std=c++14 -c terminal.cpp c++ -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DTHREADMAIL -DMAILPATH=\"/var/mail\" -DMAILER=\"/usr/sbin/sendmail\ -t\" -DLIBICONV_PLUG -isystem /usr/local/include -std=c++14 -c mailmsg.cpp mailmsg.cpp:32:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] mailmsg::boundary[] = { "From", NULL }; ^ mailmsg.cpp:386:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] QueueRing(ringbuf, "\n", 1); ^ mailmsg.cpp:738:2: warning: incrementing expression of type bool is deprecated and incompatible with C++17 [-Wdeprecated-increment-bool] ++changed; ^ ~~~~~~~ mailmsg.cpp:1047:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Jan", "Feb", "Mar", "Apr", "May", "Jun", ^ mailmsg.cpp:1047:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Jan", "Feb", "Mar", "Apr", "May", "Jun", ^ mailmsg.cpp:1047:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Jan", "Feb", "Mar", "Apr", "May", "Jun", ^ mailmsg.cpp:1047:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Jan", "Feb", "Mar", "Apr", "May", "Jun", ^ mailmsg.cpp:1047:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Jan", "Feb", "Mar", "Apr", "May", "Jun", ^ mailmsg.cpp:1047:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Jan", "Feb", "Mar", "Apr", "May", "Jun", ^ mailmsg.cpp:1048:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", NULL ^ mailmsg.cpp:1048:10: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", NULL ^ mailmsg.cpp:1048:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", NULL ^ mailmsg.cpp:1048:24: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", NULL ^ mailmsg.cpp:1048:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", NULL ^ mailmsg.cpp:1048:38: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", NULL ^ mailmsg.cpp:1050:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *datefield, *bad_date="??? ??"; ^ 16 warnings generated. c++ -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DTHREADMAIL -DMAILPATH=\"/var/mail\" -DMAILER=\"/usr/sbin/sendmail\ -t\" -DLIBICONV_PLUG -isystem /usr/local/include -std=c++14 -c mime.cpp mime.cpp:53:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "7bit", No_Encode, No_Decode }, ^ mime.cpp:54:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "8bit", No_Encode, No_Decode }, ^ mime.cpp:55:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "binary", No_Encode, No_Decode }, ^ mime.cpp:56:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "quoted-printable", QP_Encode, QP_Decode }, ^ mime.cpp:57:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] { "base64", Base64_Encode, Base64_Decode }, ^ mime.cpp:259:33: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *MIME_body::mime_charset = DEFAULT_CHARSET; ^ mime.cpp:27:26: note: expanded from macro 'DEFAULT_CHARSET' #define DEFAULT_CHARSET "UTF-8" ^ mime.cpp:266:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] mime_charset = DEFAULT_CHARSET; ^ mime.cpp:27:26: note: expanded from macro 'DEFAULT_CHARSET' #define DEFAULT_CHARSET "UTF-8" ^ mime.cpp:887:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] rawfile->printf("--%s\n", boundary); ^ mime.cpp:891:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] newcontent = DEFAULT_BIN; ^ ./mimetype.h:4:21: note: expanded from macro 'DEFAULT_BIN' #define DEFAULT_BIN "application/octet-stream" ^ mime.cpp:893:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] newcontent = DEFAULT_TXT; ^ ./mimetype.h:3:21: note: expanded from macro 'DEFAULT_TXT' #define DEFAULT_TXT "text/plain" ^ mime.cpp:898:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] rawfile->printf("Content-Type: %s; name=\"%s\"\n", ^ mime.cpp:900:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] rawfile->printf("Content-Transfer-Encoding: %s\n", newencoding); ^ mime.cpp:901:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] rawfile->printf("\n"); ^ mime.cpp:906:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] rawfile->printf("--%s--\n", boundary); ^ mime.cpp:912:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] rawfile->printf("--%s--\n", boundary); ^ mime.cpp:949:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] char *newcontent = "multipart/mixed; boundary="; ^ mime.cpp:1027:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] output->printf("MIME-Version: %s\n", version); ^ mime.cpp:1030:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] output->printf("Content-Type: %s\n", content); ^ mime.cpp:1034:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "Content-Transfer-Encoding: %s\n", encoding); ^ mime.cpp:1041:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] output->printf("MIME-Version: %s\n", version); ^ mime.cpp:1046:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] output->printf("Content-Type: %s\n", content); ^ mime.cpp:1051:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] output->printf("Content-Transfer-Encoding: %s\n", ^ mime.cpp:1060:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] output->writeline("\nThis is a multi-part message in MIME format.\n\n"); ^ mime.cpp:1061:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] output->printf("--%32.32s\n", boundary); ^ mime.cpp:1064:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] output->printf("Content-Type: %s; name=\"Message Text\"\n", oldcontent); ^ mime.cpp:1065:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] output->printf("Content-Transfer-Encoding: %s\n", oldencoding); ^ mime.cpp:1066:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] output->printf("\n"); ^ mime.cpp:1081:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] output->printf("--%32.32s--\n", boundary); ^ mime.cpp:1113:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] mode = "w"; ^ mime.cpp:1117:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] mode = "w"; ^ mime.cpp:1120:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] mode = "a"; ^ 31 warnings generated. c++ -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DTHREADMAIL -DMAILPATH=\"/var/mail\" -DMAILER=\"/usr/sbin/sendmail\ -t\" -DLIBICONV_PLUG -isystem /usr/local/include -std=c++14 -c mimetype.cpp mimetype.cpp:19:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "application/pdf pdf", ^ mimetype.cpp:20:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "application/postscript eps ps ", ^ mimetype.cpp:21:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "application/rtf rtf ", ^ mimetype.cpp:22:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "application/x-csh csh ", ^ mimetype.cpp:23:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "application/x-dvi dvi ", ^ mimetype.cpp:24:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "application/x-latex latex ", ^ mimetype.cpp:25:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "application/x-sh sh ", ^ mimetype.cpp:26:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "application/x-tcl tcl ", ^ mimetype.cpp:27:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "application/x-tk tk ", ^ mimetype.cpp:28:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "application/x-tex tex ", ^ mimetype.cpp:29:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "application/x-texinfo texinfo texi ", ^ mimetype.cpp:30:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "application/x-troff t tr roff ", ^ mimetype.cpp:31:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "application/x-troff-man man ", ^ mimetype.cpp:32:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "application/x-troff-me me ", ^ mimetype.cpp:33:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "application/x-troff-ms ms ", ^ mimetype.cpp:34:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "application/zip zip ", ^ mimetype.cpp:35:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "application/x-cpio cpio ", ^ mimetype.cpp:36:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "application/x-shar shar ", ^ mimetype.cpp:37:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "application/x-tar tar ", ^ mimetype.cpp:38:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "application/x-compressed-gzip gz ", ^ mimetype.cpp:39:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "audio/basic au snd ", ^ mimetype.cpp:40:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "audio/x-aiff aif aiff aifc", ^ mimetype.cpp:41:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "audio/x-wav wav ", ^ mimetype.cpp:42:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "image/gif gif ", ^ mimetype.cpp:43:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "image/jpeg jpeg jpg jpe", ^ mimetype.cpp:44:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "image/tiff tiff tif ", ^ mimetype.cpp:45:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "image/x-portable-anymap pnm ", ^ mimetype.cpp:46:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "image/x-portable-bitmap pbm ", ^ mimetype.cpp:47:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "image/x-portable-graymap pgm ", ^ mimetype.cpp:48:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "image/x-portable-pixmap ppm ", ^ mimetype.cpp:49:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "image/x-rgb rgb", ^ mimetype.cpp:50:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "image/x-xbitmap xbm ", ^ mimetype.cpp:51:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "image/x-xpixmap xpm ", ^ mimetype.cpp:52:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "image/x-xwindowdump xwd ", ^ mimetype.cpp:53:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "text/html html htm", ^ mimetype.cpp:54:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "text/plain txt", ^ mimetype.cpp:55:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "text/richtext rtx ", ^ mimetype.cpp:56:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "video/mpeg mpeg mpg mpe ", ^ mimetype.cpp:57:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "video/quicktime qt mov ", ^ mimetype.cpp:58:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "video/x-msvideo avi ", ^ mimetype.cpp:59:2: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "video/x-sgi-movie movie ", ^ mimetype.cpp:199:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "7bit", "quoted-printable", "base64", NULL ^ mimetype.cpp:199:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "7bit", "quoted-printable", "base64", NULL ^ mimetype.cpp:199:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "7bit", "quoted-printable", "base64", NULL ^ 44 warnings generated. c++ -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DTHREADMAIL -DMAILPATH=\"/var/mail\" -DMAILER=\"/usr/sbin/sendmail\ -t\" -DLIBICONV_PLUG -isystem /usr/local/include -std=c++14 -c base64.cpp c++ -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DTHREADMAIL -DMAILPATH=\"/var/mail\" -DMAILER=\"/usr/sbin/sendmail\ -t\" -DLIBICONV_PLUG -isystem /usr/local/include -std=c++14 -c filemap.cpp c++ -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DTHREADMAIL -DMAILPATH=\"/var/mail\" -DMAILER=\"/usr/sbin/sendmail\ -t\" -DLIBICONV_PLUG -isystem /usr/local/include -std=c++14 -c iobottle.cpp iobottle.cpp:22:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] home = "."; ^ 1 warning generated. c++ -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DTHREADMAIL -DMAILPATH=\"/var/mail\" -DMAILER=\"/usr/sbin/sendmail\ -t\" -DLIBICONV_PLUG -isystem /usr/local/include -std=c++14 -c my_regex.cpp c++ -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DTHREADMAIL -DMAILPATH=\"/var/mail\" -DMAILER=\"/usr/sbin/sendmail\ -t\" -DLIBICONV_PLUG -isystem /usr/local/include -std=c++14 -c outgoing.cpp outgoing.cpp:34:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] sentpath = ExpandPath(GetStartVar("SentFile")); ^ outgoing.cpp:68:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( (domain=GetStartVar("MailDomain")) == NULL ) { ^ outgoing.cpp:71:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] domain = ""; ^ outgoing.cpp:94:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(output, Field); ^~~~~ outgoing.cpp:94:18: note: treat the string as an argument to avoid this fprintf(output, Field); ^ "%s", outgoing.cpp:98:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] aliases = startup->ByName("aliases"); ^ outgoing.cpp:145:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( ! startup || ((headers=startup->ByName("headers")) == NULL) ) ^ outgoing.cpp:236:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] editor = EDITOR; ^ outgoing.cpp:22:16: note: expanded from macro 'EDITOR' #define EDITOR "vi +%d" ^ outgoing.cpp:242:4: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] "[S]end, [e]dit, [a]dd attachment, [n]one of these: "); ^ outgoing.cpp:256:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Attachment canceled."); ^ outgoing.cpp:261:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Attachment failed: %s", ^ outgoing.cpp:269:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Message cancelled."); ^ outgoing.cpp:277:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Sending mail..."); ^ outgoing.cpp:279:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Mail sent!"); ^ outgoing.cpp:305:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Couldn't create temp file: %s", strerror(errno)); ^ outgoing.cpp:312:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( (lines=WriteAddrs("To: ", To, output)) < 0 ) { ^ outgoing.cpp:313:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Write error on tmpfile %s: %s", ^ outgoing.cpp:321:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ( (lines=WriteAddrs("Cc: ", Cc, output)) < 0 ) { ^ outgoing.cpp:322:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Write error on tmpfile %s: %s", ^ outgoing.cpp:344:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] tty->status(0, "Write error on tmpfile %s: %s", ^ 19 warnings generated. c++ -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DTHREADMAIL -DMAILPATH=\"/var/mail\" -DMAILER=\"/usr/sbin/sendmail\ -t\" -DLIBICONV_PLUG -isystem /usr/local/include -std=c++14 -c tempfile.cpp c++ -o mmr main.o rcfile.o listing.o handlemail.o commands.o terminal.o mailmsg.o mime.o mimetype.o base64.o filemap.o iobottle.o my_regex.o outgoing.o tempfile.o -lncurses -lmd -L/usr/local/lib =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for mmr-1.6.0_1 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/mail/mmr/work/mmr-1.6.0/mmr /wrkdirs/usr/ports/mail/mmr/work/stage/usr/local/bin install -m 0644 /wrkdirs/usr/ports/mail/mmr/work/mmr-1.6.0/BUGS /wrkdirs/usr/ports/mail/mmr/work/stage/usr/local/share/doc/mmr install -m 0644 /wrkdirs/usr/ports/mail/mmr/work/mmr-1.6.0/CHANGES /wrkdirs/usr/ports/mail/mmr/work/stage/usr/local/share/doc/mmr install -m 0644 /wrkdirs/usr/ports/mail/mmr/work/mmr-1.6.0/Features /wrkdirs/usr/ports/mail/mmr/work/stage/usr/local/share/doc/mmr install -m 0644 /wrkdirs/usr/ports/mail/mmr/work/mmr-1.6.0/README /wrkdirs/usr/ports/mail/mmr/work/stage/usr/local/share/doc/mmr install -m 0644 /wrkdirs/usr/ports/mail/mmr/work/mmr-1.6.0/TODO /wrkdirs/usr/ports/mail/mmr/work/stage/usr/local/share/doc/mmr install -m 0644 /wrkdirs/usr/ports/mail/mmr/work/mmr-1.6.0/DOT-mmrc /wrkdirs/usr/ports/mail/mmr/work/stage/usr/local/share/examples/mmr/dot.mmrc.sample ====> 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=2024-04-01T02:25:51+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=e324362ea9' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for mmr-1.6.0_1 ===> Building mmr-1.6.0_1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for mmr-1.6.0_1 build of mail/mmr | mmr-1.6.0_1 ended at Mon Apr 1 03:27:16 BST 2024 build time: 00:01:34