=> Bootstrap dependency digest>=20010302: found digest-20180917 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for xfmail-1.5.5nb8 --- all-recursive --- Making all in src --- all-recursive --- Making all in editor --- fl_edit.lo --- --- textbuf.lo --- --- fl_edit.lo --- if /bin/sh ../../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/mail -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/local/include -MT fl_edit.lo -MD -MP -MF ".deps/fl_edit.Tpo" -c -o fl_edit.lo `test -f 'fl_edit.cpp' || echo './'`fl_edit.cpp; then mv -f ".deps/fl_edit.Tpo" ".deps/fl_edit.Plo"; else rm -f ".deps/fl_edit.Tpo"; exit 1; fi --- textbuf.lo --- if /bin/sh ../../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/mail -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/local/include -MT textbuf.lo -MD -MP -MF ".deps/textbuf.Tpo" -c -o textbuf.lo `test -f 'textbuf.cpp' || echo './'`textbuf.cpp; then mv -f ".deps/textbuf.Tpo" ".deps/textbuf.Plo"; else rm -f ".deps/textbuf.Tpo"; exit 1; fi --- fl_edit.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I../../src/mail -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT fl_edit.lo -MD -MP -MF .deps/fl_edit.Tpo -c fl_edit.cpp -fPIC -DPIC -o .libs/fl_edit.o --- textbuf.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I../../src/mail -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT textbuf.lo -MD -MP -MF .deps/textbuf.Tpo -c textbuf.cpp -fPIC -DPIC -o .libs/textbuf.o textbuf.cpp:407:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] tb_insert_line(tb, ""); ^ textbuf.cpp:419:14: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] ("tb_insert_char(): Could not realloc, character not inserted"); ^ textbuf.cpp:427:14: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] ("tb_insert_char(): Could not realloc attr, character not inserted"); ^ textbuf.cpp:469:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] tb_error("tb_insert_line(): could not malloc textline"); ^ textbuf.cpp:475:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] tb_error("tb_insert_line(): could not malloc line buffer"); ^ textbuf.cpp:484:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] tb_error("tb_insert_line(): could not malloc line attr buffer"); ^ textbuf.cpp:593:14: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] ("tb_insert_buf(): Could not realloc, character not inserted"); ^ textbuf.cpp:602:14: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] ("tb_insert_buf(): Could not realloc attr, character not inserted"); ^ textbuf.cpp:671:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] ("tb_insert_buf(): Could not realloc, character not inserted"); ^ textbuf.cpp:680:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] ("tb_insert_buf(): Could not realloc attr, character not inserted"); ^ textbuf.cpp:740:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] tb_append_line(tb, ""); ^ textbuf.cpp:741:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] tb_append_line(tb, ""); ^ textbuf.cpp:754:14: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] ("tb_insert_newline(): Could not allocate space for newline"); ^ textbuf.cpp:773:14: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] ("tb_insert_newline(): Could not allocate space for newline attr"); ^ textbuf.cpp:783:32: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] tb_append_line(tb, ""); ^ textbuf.cpp:786:32: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] tb_insert_line(tb, ""); ^ textbuf.cpp:821:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] tb_error("tb_append_line(): Could not allocate TextLine"); ^ textbuf.cpp:827:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] tb_error("tb_append_line(): Could not allocate line buffer"); ^ textbuf.cpp:834:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] tb_error("tb_append_line(): Could not allocate line attr buffer"); ^ textbuf.cpp:894:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] tb_error("tb_append_buf(): Could not allocate TextLine"); ^ textbuf.cpp:900:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] tb_error("tb_append_buf(): Could not allocate line buffer"); ^ textbuf.cpp:906:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] tb_error("tb_append_buf(): Could not allocate line attr buffer"); ^ textbuf.cpp:979:14: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] ("tb_append_to_line(): Could not realloc, buffer not appended"); ^ textbuf.cpp:987:14: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] ("tb_append_to_line(): Could not realloc attr, buffer not appended"); ^ textbuf.cpp:1068:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] ("tb_wrap_line(): Could not realloc, character not inserted"); ^ textbuf.cpp:1077:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] ("tb_wrap_line(): Could not realloc attr, character not inserted"); ^ textbuf.cpp:1317:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] ("tb_del_char(): Could not realloc, character not deleted"); ^ textbuf.cpp:1325:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] ("tb_del_char(): Could not realloc attr, character not deleted"); ^ textbuf.cpp:1558:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] ("tb_insert_char(): Could not realloc, spaces not inserted"); ^ textbuf.cpp:1566:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] ("tb_insert_char(): Could not realloc attr, spaces not inserted"); ^ textbuf.cpp:1692:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] tb_error("Can not allocate text buffer"); ^ textbuf.cpp:1745:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] tb_error("Could not read file %s", fname); ^ textbuf.cpp:1797:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] tb_error("Could not read file %s", fname); ^ textbuf.cpp:1848:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] tb_error("Could not save to file %s", fname); ^ 34 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I../../src/mail -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT textbuf.lo -MD -MP -MF .deps/textbuf.Tpo -c textbuf.cpp -o textbuf.o >/dev/null 2>&1 --- fl_edit.lo --- fl_edit.cpp:879:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] fl_edit_error("No previous search pattern"); ^ fl_edit.cpp:899:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] fl_edit_error("Text not found"); ^ fl_edit.cpp:3164:10: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] ("Could not malloc space for SPEC structure in object:%s", ^ 3 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I../../src/mail -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT fl_edit.lo -MD -MP -MF .deps/fl_edit.Tpo -c fl_edit.cpp -o fl_edit.o >/dev/null 2>&1 --- libeditor.la --- /bin/sh ../../libtool --mode=link clang++ -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/local/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o libeditor.la -rpath /usr/pkg/lib fl_edit.lo textbuf.lo -lforms -lXpm -L/usr/local/lib -lX11 -lm libtool: link: clang++ -shared -fPIC -DPIC .libs/fl_edit.o .libs/textbuf.o -Wl,-rpath,/data/scratch/mail/xfmail/work/.buildlink/lib -Wl,-rpath,/data/scratch/mail/xfmail/work/.buildlink/lib -L/data/scratch/mail/xfmail/work/.buildlink/lib -lforms -lXpm -lX11 -lxcb -lXau -lXdmcp -lm -O2 -Wl,-rpath -Wl,/usr/pkg/lib -Wl,-soname -Wl,libeditor.so.0 -o .libs/libeditor.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libeditor.so.0" && ln -s "libeditor.so.0.0.0" "libeditor.so.0") libtool: link: (cd ".libs" && rm -f "libeditor.so" && ln -s "libeditor.so.0.0.0" "libeditor.so") libtool: link: ar cru .libs/libeditor.a fl_edit.o textbuf.o libtool: link: ranlib .libs/libeditor.a libtool: link: ( cd ".libs" && rm -f "libeditor.la" && ln -s "../libeditor.la" "libeditor.la" ) Making all in mail --- addrbook_util.lo --- --- addrbook.lo --- --- addrbookdb.lo --- --- addrbookentry.lo --- --- cache.lo --- --- cfgfile.lo --- --- connection.lo --- --- connection_ssl.lo --- --- connectionManager.lo --- --- debug.lo --- --- fmail.lo --- --- ldap.lo --- --- imap.lo --- --- gpasswd.lo --- --- mailaddr.lo --- --- mbox.lo --- --- addrbook_util.lo --- if /bin/sh ../../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/local/include -MT addrbook_util.lo -MD -MP -MF ".deps/addrbook_util.Tpo" -c -o addrbook_util.lo `test -f 'addrbook_util.cpp' || echo './'`addrbook_util.cpp; then mv -f ".deps/addrbook_util.Tpo" ".deps/addrbook_util.Plo"; else rm -f ".deps/addrbook_util.Tpo"; exit 1; fi --- addrbook.lo --- if /bin/sh ../../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/local/include -MT addrbook.lo -MD -MP -MF ".deps/addrbook.Tpo" -c -o addrbook.lo `test -f 'addrbook.cpp' || echo './'`addrbook.cpp; then mv -f ".deps/addrbook.Tpo" ".deps/addrbook.Plo"; else rm -f ".deps/addrbook.Tpo"; exit 1; fi --- addrbookentry.lo --- if /bin/sh ../../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/local/include -MT addrbookentry.lo -MD -MP -MF ".deps/addrbookentry.Tpo" -c -o addrbookentry.lo `test -f 'addrbookentry.cpp' || echo './'`addrbookentry.cpp; then mv -f ".deps/addrbookentry.Tpo" ".deps/addrbookentry.Plo"; else rm -f ".deps/addrbookentry.Tpo"; exit 1; fi --- mailaddr.lo --- if /bin/sh ../../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/local/include -MT mailaddr.lo -MD -MP -MF ".deps/mailaddr.Tpo" -c -o mailaddr.lo `test -f 'mailaddr.cpp' || echo './'`mailaddr.cpp; then mv -f ".deps/mailaddr.Tpo" ".deps/mailaddr.Plo"; else rm -f ".deps/mailaddr.Tpo"; exit 1; fi --- mbox.lo --- if /bin/sh ../../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/local/include -MT mbox.lo -MD -MP -MF ".deps/mbox.Tpo" -c -o mbox.lo `test -f 'mbox.cpp' || echo './'`mbox.cpp; then mv -f ".deps/mbox.Tpo" ".deps/mbox.Plo"; else rm -f ".deps/mbox.Tpo"; exit 1; fi --- connection_ssl.lo --- if /bin/sh ../../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/local/include -MT connection_ssl.lo -MD -MP -MF ".deps/connection_ssl.Tpo" -c -o connection_ssl.lo `test -f 'connection_ssl.cpp' || echo './'`connection_ssl.cpp; then mv -f ".deps/connection_ssl.Tpo" ".deps/connection_ssl.Plo"; else rm -f ".deps/connection_ssl.Tpo"; exit 1; fi --- addrbookdb.lo --- if /bin/sh ../../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/local/include -MT addrbookdb.lo -MD -MP -MF ".deps/addrbookdb.Tpo" -c -o addrbookdb.lo `test -f 'addrbookdb.cpp' || echo './'`addrbookdb.cpp; then mv -f ".deps/addrbookdb.Tpo" ".deps/addrbookdb.Plo"; else rm -f ".deps/addrbookdb.Tpo"; exit 1; fi --- connectionManager.lo --- if /bin/sh ../../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/local/include -MT connectionManager.lo -MD -MP -MF ".deps/connectionManager.Tpo" -c -o connectionManager.lo `test -f 'connectionManager.cpp' || echo './'`connectionManager.cpp; then mv -f ".deps/connectionManager.Tpo" ".deps/connectionManager.Plo"; else rm -f ".deps/connectionManager.Tpo"; exit 1; fi --- gpasswd.lo --- if /bin/sh ../../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/local/include -MT gpasswd.lo -MD -MP -MF ".deps/gpasswd.Tpo" -c -o gpasswd.lo `test -f 'gpasswd.cpp' || echo './'`gpasswd.cpp; then mv -f ".deps/gpasswd.Tpo" ".deps/gpasswd.Plo"; else rm -f ".deps/gpasswd.Tpo"; exit 1; fi --- cache.lo --- if /bin/sh ../../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/local/include -MT cache.lo -MD -MP -MF ".deps/cache.Tpo" -c -o cache.lo `test -f 'cache.cpp' || echo './'`cache.cpp; then mv -f ".deps/cache.Tpo" ".deps/cache.Plo"; else rm -f ".deps/cache.Tpo"; exit 1; fi --- cfgfile.lo --- if /bin/sh ../../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/local/include -MT cfgfile.lo -MD -MP -MF ".deps/cfgfile.Tpo" -c -o cfgfile.lo `test -f 'cfgfile.cpp' || echo './'`cfgfile.cpp; then mv -f ".deps/cfgfile.Tpo" ".deps/cfgfile.Plo"; else rm -f ".deps/cfgfile.Tpo"; exit 1; fi --- fmail.lo --- if /bin/sh ../../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/local/include -MT fmail.lo -MD -MP -MF ".deps/fmail.Tpo" -c -o fmail.lo `test -f 'fmail.cpp' || echo './'`fmail.cpp; then mv -f ".deps/fmail.Tpo" ".deps/fmail.Plo"; else rm -f ".deps/fmail.Tpo"; exit 1; fi --- debug.lo --- if /bin/sh ../../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/local/include -MT debug.lo -MD -MP -MF ".deps/debug.Tpo" -c -o debug.lo `test -f 'debug.cpp' || echo './'`debug.cpp; then mv -f ".deps/debug.Tpo" ".deps/debug.Plo"; else rm -f ".deps/debug.Tpo"; exit 1; fi --- ldap.lo --- if /bin/sh ../../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/local/include -MT ldap.lo -MD -MP -MF ".deps/ldap.Tpo" -c -o ldap.lo `test -f 'ldap.cpp' || echo './'`ldap.cpp; then mv -f ".deps/ldap.Tpo" ".deps/ldap.Plo"; else rm -f ".deps/ldap.Tpo"; exit 1; fi --- connection.lo --- if /bin/sh ../../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/local/include -MT connection.lo -MD -MP -MF ".deps/connection.Tpo" -c -o connection.lo `test -f 'connection.cpp' || echo './'`connection.cpp; then mv -f ".deps/connection.Tpo" ".deps/connection.Plo"; else rm -f ".deps/connection.Tpo"; exit 1; fi --- imap.lo --- if /bin/sh ../../libtool --mode=compile clang++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/local/include -MT imap.lo -MD -MP -MF ".deps/imap.Tpo" -c -o imap.lo `test -f 'imap.cpp' || echo './'`imap.cpp; then mv -f ".deps/imap.Tpo" ".deps/imap.Plo"; else rm -f ".deps/imap.Tpo"; exit 1; fi --- fmail.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT fmail.lo -MD -MP -MF .deps/fmail.Tpo -c fmail.cpp -fPIC -DPIC -o .libs/fmail.o --- cache.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT cache.lo -MD -MP -MF .deps/cache.Tpo -c cache.cpp -fPIC -DPIC -o .libs/cache.o --- addrbookdb.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT addrbookdb.lo -MD -MP -MF .deps/addrbookdb.Tpo -c addrbookdb.cpp -fPIC -DPIC -o .libs/addrbookdb.o --- gpasswd.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT gpasswd.lo -MD -MP -MF .deps/gpasswd.Tpo -c gpasswd.cpp -fPIC -DPIC -o .libs/gpasswd.o --- connectionManager.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT connectionManager.lo -MD -MP -MF .deps/connectionManager.Tpo -c connectionManager.cpp -fPIC -DPIC -o .libs/connectionManager.o --- addrbookentry.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT addrbookentry.lo -MD -MP -MF .deps/addrbookentry.Tpo -c addrbookentry.cpp -fPIC -DPIC -o .libs/addrbookentry.o --- cfgfile.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT cfgfile.lo -MD -MP -MF .deps/cfgfile.Tpo -c cfgfile.cpp -fPIC -DPIC -o .libs/cfgfile.o --- addrbook.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT addrbook.lo -MD -MP -MF .deps/addrbook.Tpo -c addrbook.cpp -fPIC -DPIC -o .libs/addrbook.o --- imap.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT imap.lo -MD -MP -MF .deps/imap.Tpo -c imap.cpp -fPIC -DPIC -o .libs/imap.o --- debug.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT debug.lo -MD -MP -MF .deps/debug.Tpo -c debug.cpp -fPIC -DPIC -o .libs/debug.o --- addrbook_util.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT addrbook_util.lo -MD -MP -MF .deps/addrbook_util.Tpo -c addrbook_util.cpp -fPIC -DPIC -o .libs/addrbook_util.o --- mailaddr.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT mailaddr.lo -MD -MP -MF .deps/mailaddr.Tpo -c mailaddr.cpp -fPIC -DPIC -o .libs/mailaddr.o --- connection.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT connection.lo -MD -MP -MF .deps/connection.Tpo -c connection.cpp -fPIC -DPIC -o .libs/connection.o --- connection_ssl.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT connection_ssl.lo -MD -MP -MF .deps/connection_ssl.Tpo -c connection_ssl.cpp -fPIC -DPIC -o .libs/connection_ssl.o --- mbox.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT mbox.lo -MD -MP -MF .deps/mbox.Tpo -c mbox.cpp -fPIC -DPIC -o .libs/mbox.o --- ldap.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT ldap.lo -MD -MP -MF .deps/ldap.Tpo -c ldap.cpp -fPIC -DPIC -o .libs/ldap.o --- cache.lo --- In file included from cache.cpp:29: ./fmail.h:33:18: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ --- connection.lo --- In file included from connection.cpp:28: ./fmail.h:33:18: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ --- cfgfile.lo --- In file included from cfgfile.cpp:30: ./fmail.h:33:18: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ --- connectionManager.lo --- In file included from connectionManager.cpp:28: ./fmail.h:33:18: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ --- imap.lo --- In file included from imap.cpp:29: ./fmail.h:33:18: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ --- addrbook_util.lo --- In file included from addrbook_util.cpp:41: ./fmail.h:33:18: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ --- connection_ssl.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT connection_ssl.lo -MD -MP -MF .deps/connection_ssl.Tpo -c connection_ssl.cpp -o connection_ssl.o >/dev/null 2>&1 --- mbox.lo --- In file included from mbox.cpp:29: ./fmail.h:33:18: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ --- ldap.lo --- In file included from ldap.cpp:29: In file included from ./fldap.h:28: ./fmail.h:33:18: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ --- gpasswd.lo --- In file included from gpasswd.cpp:31: ./fmail.h:33:18: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ --- debug.lo --- In file included from debug.cpp:28: ./fmail.h:33:18: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ --- md5.lo --- if /bin/sh ../../libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I../../src/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/local/include -MT md5.lo -MD -MP -MF ".deps/md5.Tpo" -c -o md5.lo `test -f 'md5.c' || echo './'`md5.c; then mv -f ".deps/md5.Tpo" ".deps/md5.Plo"; else rm -f ".deps/md5.Tpo"; exit 1; fi libtool: compile: clang -DHAVE_CONFIG_H -I. -I../../src/include -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT md5.lo -MD -MP -MF .deps/md5.Tpo -c md5.c -fPIC -DPIC -o .libs/md5.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I../../src/include -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT md5.lo -MD -MP -MF .deps/md5.Tpo -c md5.c -o md5.o >/dev/null 2>&1 --- fmail.lo --- fmail.cpp:60:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *stripfields[]= { STATUS_FIELD, "X-RDate", "X-SDate", "Fcc", FWD_ORGMSG, ^ ./fmail.h:249:30: note: expanded from macro 'STATUS_FIELD' #define STATUS_FIELD "XFMstatus" /* name of status field in mail header */ ^ fmail.cpp:60:38: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *stripfields[]= { STATUS_FIELD, "X-RDate", "X-SDate", "Fcc", FWD_ORGMSG, ^ fmail.cpp:60:49: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *stripfields[]= { STATUS_FIELD, "X-RDate", "X-SDate", "Fcc", FWD_ORGMSG, ^ fmail.cpp:60:60: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *stripfields[]= { STATUS_FIELD, "X-RDate", "X-SDate", "Fcc", FWD_ORGMSG, ^ fmail.cpp:60:67: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *stripfields[]= { STATUS_FIELD, "X-RDate", "X-SDate", "Fcc", FWD_ORGMSG, ^ ./fmail.h:278:26: note: expanded from macro 'FWD_ORGMSG' #define FWD_ORGMSG "XF-FwdOrgMsg" /* pointer to original message */ ^ fmail.cpp:61:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] REPLY_ORGMSG, BOUNCE_ORGMSG, "Status", REALENGTH, FROMLINE, SOURCE_FIELD, ^ ./fmail.h:276:30: note: expanded from macro 'REPLY_ORGMSG' #define REPLY_ORGMSG "XF-OrgMsg" /* pointer to original message */ ^ fmail.cpp:61:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] REPLY_ORGMSG, BOUNCE_ORGMSG, "Status", REALENGTH, FROMLINE, SOURCE_FIELD, ^ ./fmail.h:279:30: note: expanded from macro 'BOUNCE_ORGMSG' #define BOUNCE_ORGMSG "XF-BncOrgMsg" /* pointer to original message */ ^ fmail.cpp:61:31: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] REPLY_ORGMSG, BOUNCE_ORGMSG, "Status", REALENGTH, FROMLINE, SOURCE_FIELD, ^ fmail.cpp:61:41: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] REPLY_ORGMSG, BOUNCE_ORGMSG, "Status", REALENGTH, FROMLINE, SOURCE_FIELD, ^ ./fmail.h:2051:22: note: expanded from macro 'REALENGTH' #define REALENGTH "X-Real-Length" /* store real lenght in this field */ ^ fmail.cpp:61:52: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] REPLY_ORGMSG, BOUNCE_ORGMSG, "Status", REALENGTH, FROMLINE, SOURCE_FIELD, ^ ./fmail.h:2052:22: note: expanded from macro 'FROMLINE' #define FROMLINE "X-From-Line" /* store original From line here */ ^ fmail.cpp:61:62: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] REPLY_ORGMSG, BOUNCE_ORGMSG, "Status", REALENGTH, FROMLINE, SOURCE_FIELD, ^ ./fmail.h:280:30: note: expanded from macro 'SOURCE_FIELD' #define SOURCE_FIELD "XF-Source" /* where the message was retrieved ^ fmail.cpp:65:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *shorthfields[] = { STATUS_FIELD, MIME_C_TYPE, MIME_C_LENGTH, "From", "To", "Subject", "Date", "X-RDate", "X-SDate", "Message-ID", "In-Reply-To", "References", "Status", "Newsgroups", SOURCE_FIELD, NULL}; ^ ./fmail.h:249:30: note: expanded from macro 'STATUS_FIELD' #define STATUS_FIELD "XFMstatus" /* name of status field in mail header */ ^ fmail.cpp:65:40: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *shorthfields[] = { STATUS_FIELD, MIME_C_TYPE, MIME_C_LENGTH, "From", "To", "Subject", "Date", "X-RDate", "X-SDate", "Message-ID", "In-Reply-To", "References", "Status", "Newsgroups", SOURCE_FIELD, NULL}; ^ ./fmail.h:811:22: note: expanded from macro 'MIME_C_TYPE' #define MIME_C_TYPE "Content-Type" ^ fmail.cpp:65:53: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *shorthfields[] = { STATUS_FIELD, MIME_C_TYPE, MIME_C_LENGTH, "From", "To", "Subject", "Date", "X-RDate", "X-SDate", "Message-ID", "In-Reply-To", "References", "Status", "Newsgroups", SOURCE_FIELD, NULL}; ^ ./fmail.h:815:26: note: expanded from macro 'MIME_C_LENGTH' #define MIME_C_LENGTH "Content-Length" ^ fmail.cpp:65:68: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *shorthfields[] = { STATUS_FIELD, MIME_C_TYPE, MIME_C_LENGTH, "From", "To", "Subject", "Date", "X-RDate", "X-SDate", "Message-ID", "In-Reply-To", "References", "Status", "Newsgroups", SOURCE_FIELD, NULL}; ^ fmail.cpp:65:76: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *shorthfields[] = { STATUS_FIELD, MIME_C_TYPE, MIME_C_LENGTH, "From", "To", "Subject", "Date", "X-RDate", "X-SDate", "Message-ID", "In-Reply-To", "References", "Status", "Newsgroups", SOURCE_FIELD, NULL}; ^ fmail.cpp:65:82: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *shorthfields[] = { STATUS_FIELD, MIME_C_TYPE, MIME_C_LENGTH, "From", "To", "Subject", "Date", "X-RDate", "X-SDate", "Message-ID", "In-Reply-To", "References", "Status", "Newsgroups", SOURCE_FIELD, NULL}; ^ fmail.cpp:65:93: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *shorthfields[] = { STATUS_FIELD, MIME_C_TYPE, MIME_C_LENGTH, "From", "To", "Subject", "Date", "X-RDate", "X-SDate", "Message-ID", "In-Reply-To", "References", "Status", "Newsgroups", SOURCE_FIELD, NULL}; ^ fmail.cpp:65:101: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *shorthfields[] = { STATUS_FIELD, MIME_C_TYPE, MIME_C_LENGTH, "From", "To", "Subject", "Date", "X-RDate", "X-SDate", "Message-ID", "In-Reply-To", "References", "Status", "Newsgroups", SOURCE_FIELD, NULL}; ^ fmail.cpp:65:112: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *shorthfields[] = { STATUS_FIELD, MIME_C_TYPE, MIME_C_LENGTH, "From", "To", "Subject", "Date", "X-RDate", "X-SDate", "Message-ID", "In-Reply-To", "References", "Status", "Newsgroups", SOURCE_FIELD, NULL}; ^ fmail.cpp:65:123: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *shorthfields[] = { STATUS_FIELD, MIME_C_TYPE, MIME_C_LENGTH, "From", "To", "Subject", "Date", "X-RDate", "X-SDate", "Message-ID", "In-Reply-To", "References", "Status", "Newsgroups", SOURCE_FIELD, NULL}; ^ fmail.cpp:65:137: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *shorthfields[] = { STATUS_FIELD, MIME_C_TYPE, MIME_C_LENGTH, "From", "To", "Subject", "Date", "X-RDate", "X-SDate", "Message-ID", "In-Reply-To", "References", "Status", "Newsgroups", SOURCE_FIELD, NULL}; ^ fmail.cpp:65:152: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *shorthfields[] = { STATUS_FIELD, MIME_C_TYPE, MIME_C_LENGTH, "From", "To", "Subject", "Date", "X-RDate", "X-SDate", "Message-ID", "In-Reply-To", "References", "Status", "Newsgroups", SOURCE_FIELD, NULL}; ^ fmail.cpp:65:166: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *shorthfields[] = { STATUS_FIELD, MIME_C_TYPE, MIME_C_LENGTH, "From", "To", "Subject", "Date", "X-RDate", "X-SDate", "Message-ID", "In-Reply-To", "References", "Status", "Newsgroups", SOURCE_FIELD, NULL}; ^ fmail.cpp:65:176: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *shorthfields[] = { STATUS_FIELD, MIME_C_TYPE, MIME_C_LENGTH, "From", "To", "Subject", "Date", "X-RDate", "X-SDate", "Message-ID", "In-Reply-To", "References", "Status", "Newsgroups", SOURCE_FIELD, NULL}; ^ fmail.cpp:65:190: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *shorthfields[] = { STATUS_FIELD, MIME_C_TYPE, MIME_C_LENGTH, "From", "To", "Subject", "Date", "X-RDate", "X-SDate", "Message-ID", "In-Reply-To", "References", "Status", "Newsgroups", SOURCE_FIELD, NULL}; ^ ./fmail.h:280:30: note: expanded from macro 'SOURCE_FIELD' #define SOURCE_FIELD "XF-Source" /* where the message was retrieved ^ fmail.cpp:68:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *specfields[] = { "Received", MIME_C_ENCR, MIME_C_DESCR, MIME_C_ID, MIME_C_DISP, MIME_VERSION, "X-Mailer", "X-Newsreader", "Path", "Xref", NULL}; ^ fmail.cpp:68:36: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *specfields[] = { "Received", MIME_C_ENCR, MIME_C_DESCR, MIME_C_ID, MIME_C_DISP, MIME_VERSION, "X-Mailer", "X-Newsreader", "Path", "Xref", NULL}; ^ ./fmail.h:812:22: note: expanded from macro 'MIME_C_ENCR' #define MIME_C_ENCR "Content-Transfer-Encoding" ^ fmail.cpp:68:49: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *specfields[] = { "Received", MIME_C_ENCR, MIME_C_DESCR, MIME_C_ID, MIME_C_DISP, MIME_VERSION, "X-Mailer", "X-Newsreader", "Path", "Xref", NULL}; ^ ./fmail.h:813:26: note: expanded from macro 'MIME_C_DESCR' #define MIME_C_DESCR "Content-Description" ^ fmail.cpp:68:63: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *specfields[] = { "Received", MIME_C_ENCR, MIME_C_DESCR, MIME_C_ID, MIME_C_DISP, MIME_VERSION, "X-Mailer", "X-Newsreader", "Path", "Xref", NULL}; ^ ./fmail.h:814:22: note: expanded from macro 'MIME_C_ID' #define MIME_C_ID "Content-ID" ^ fmail.cpp:68:74: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *specfields[] = { "Received", MIME_C_ENCR, MIME_C_DESCR, MIME_C_ID, MIME_C_DISP, MIME_VERSION, "X-Mailer", "X-Newsreader", "Path", "Xref", NULL}; ^ ./fmail.h:816:22: note: expanded from macro 'MIME_C_DISP' #define MIME_C_DISP "Content-Disposition" ^ fmail.cpp:68:87: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *specfields[] = { "Received", MIME_C_ENCR, MIME_C_DESCR, MIME_C_ID, MIME_C_DISP, MIME_VERSION, "X-Mailer", "X-Newsreader", "Path", "Xref", NULL}; ^ ./fmail.h:817:26: note: expanded from macro 'MIME_VERSION' #define MIME_VERSION "MIME-Version" ^ fmail.cpp:68:101: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *specfields[] = { "Received", MIME_C_ENCR, MIME_C_DESCR, MIME_C_ID, MIME_C_DISP, MIME_VERSION, "X-Mailer", "X-Newsreader", "Path", "Xref", NULL}; ^ fmail.cpp:68:113: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *specfields[] = { "Received", MIME_C_ENCR, MIME_C_DESCR, MIME_C_ID, MIME_C_DISP, MIME_VERSION, "X-Mailer", "X-Newsreader", "Path", "Xref", NULL}; ^ fmail.cpp:68:129: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *specfields[] = { "Received", MIME_C_ENCR, MIME_C_DESCR, MIME_C_ID, MIME_C_DISP, MIME_VERSION, "X-Mailer", "X-Newsreader", "Path", "Xref", NULL}; ^ fmail.cpp:68:137: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *specfields[] = { "Received", MIME_C_ENCR, MIME_C_DESCR, MIME_C_ID, MIME_C_DISP, MIME_VERSION, "X-Mailer", "X-Newsreader", "Path", "Xref", NULL}; ^ fmail.cpp:75:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *months[12] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", ^ fmail.cpp:75:29: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *months[12] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", ^ fmail.cpp:75:36: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *months[12] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", ^ fmail.cpp:75:43: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *months[12] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", ^ fmail.cpp:75:50: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *months[12] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", ^ fmail.cpp:75:57: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *months[12] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", ^ fmail.cpp:75:64: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *months[12] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", ^ fmail.cpp:75:71: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *months[12] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", ^ fmail.cpp:76:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Sep", "Oct", "Nov", "Dec"}; ^ fmail.cpp:76:9: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Sep", "Oct", "Nov", "Dec"}; ^ fmail.cpp:76:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Sep", "Oct", "Nov", "Dec"}; ^ fmail.cpp:76:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Sep", "Oct", "Nov", "Dec"}; ^ fmail.cpp:78:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *days[7] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"}; ^ fmail.cpp:78:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *days[7] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"}; ^ fmail.cpp:78:33: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *days[7] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"}; ^ fmail.cpp:78:40: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *days[7] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"}; ^ fmail.cpp:78:47: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *days[7] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"}; ^ fmail.cpp:78:54: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *days[7] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"}; ^ fmail.cpp:78:61: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *days[7] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"}; ^ fmail.cpp:531:11: error: assigning to 'char *' from incompatible type 'const char *' if((p = strpbrk(str, brkstr)) != NULL) { ^~~~~~~~~~~~~~~~~~~~ fmail.cpp:556:13: error: assigning to 'char *' from incompatible type 'const char *' if((p = strchr(str, ')')) == NULL) { ^~~~~~~~~~~~~~~~ fmail.cpp:597:13: error: assigning to 'char *' from incompatible type 'const char *' if((p = strchr(str, '>')) == NULL) { ^~~~~~~~~~~~~~~~ fmail.cpp:739:10: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] return ""; ^ fmail.cpp:746:10: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] return ""; ^ fmail.cpp:755:10: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] return ""; ^ fmail.cpp:765:10: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] return ""; ^ fmail.cpp:774:10: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] return ""; ^ fmail.cpp:784:10: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] return ""; ^ fmail.cpp:1110:10: error: assigning to 'char *' from incompatible type 'const char *' if((p = strchr(str, ':')) == NULL) { ^~~~~~~~~~~~~~~~ fmail.cpp:1789:46: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] struct _head_field *m_id = find_field(msg,"Message-ID"); ^ fmail.cpp:1809:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] m_id = find_field(msg,"In-Reply-To"); ^ fmail.cpp:1815:25: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] m_id=find_field(msg,"References"); ^ fmail.cpp:1995:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] add_field(message, "Organization", const_cast(Config.get("organization", "").c_str())); ^ fmail.cpp:1997:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] add_field(message, "Reply-To", const_cast(Config.get("replyto", "").c_str())); ^ fmail.cpp:2004:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] add_field(message, "Date", get_arpa_date(time(NULL))); ^ fmail.cpp:2063:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] add_field(message, MIME_C_ENCR, supp_encodings[def_encoding].encoding_name); ^ ./fmail.h:812:22: note: expanded from macro 'MIME_C_ENCR' #define MIME_C_ENCR "Content-Transfer-Encoding" ^ fmail.cpp:2066:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] add_field(message, MIME_C_TYPE, buf); ^ ./fmail.h:811:22: note: expanded from macro 'MIME_C_TYPE' #define MIME_C_TYPE "Content-Type" ^ fmail.cpp:2072:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] add_field(message, MIME_VERSION, buf); ^ ./fmail.h:817:26: note: expanded from macro 'MIME_VERSION' #define MIME_VERSION "MIME-Version" ^ --- cfgfile.lo --- cfgfile.cpp:144:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] cfg_debug(CFG_DEBUG, "\nadd(%s) -> %s ... ",key.c_str(), val.c_str()); ^ --- fmail.lo --- fmail.cpp:2275:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] add_field(fwd_msg, FWD_ORGMSG, get_msg_url(msg)); ^ ./fmail.h:278:26: note: expanded from macro 'FWD_ORGMSG' #define FWD_ORGMSG "XF-FwdOrgMsg" /* pointer to original message */ ^ --- cfgfile.lo --- cfgfile.cpp:155:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] cfg_debug(CFG_DEBUG, "find(%s) -> ... ", key.c_str()); ^ --- fmail.lo --- fmail.cpp:2288:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] add_field(fwd_msg, "Resent-To", get_full_addr_line(msg->header->To)); ^ fmail.cpp:2291:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] add_field(fwd_msg, "Resent-From", get_full_addr_line(msg->header->From)); ^ fmail.cpp:2293:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((fld = find_field(msg, "Message-Id"))) ^ fmail.cpp:2294:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] add_field(fwd_msg, "Resent-Message-Id", fld->f_line); ^ fmail.cpp:2296:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((fld = find_field(msg, "Date"))) ^ fmail.cpp:2297:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] add_field(fwd_msg, "Resent-Date", fld->f_line); ^ --- cfgfile.lo --- cfgfile.cpp:159:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] cfg_debug(CFG_DEBUG, "failed. (NOT FOUND)\n"); ^ --- fmail.lo --- fmail.cpp:2352:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((hf = find_field(msg, MIME_C_TYPE)) != NULL) ^ ./fmail.h:811:22: note: expanded from macro 'MIME_C_TYPE' #define MIME_C_TYPE "Content-Type" ^ --- cfgfile.lo --- cfgfile.cpp:163:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] --- fmail.lo --- fmail.cpp:2353:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] --- cfgfile.lo --- cfg_debug(CFG_DEBUG, "success. (FOUND)\n"); ^ --- fmail.lo --- replace_field(fwd_msg, MIME_C_TYPE, hf->f_line); ^ ./fmail.h:811:22: note: expanded from macro 'MIME_C_TYPE' #define MIME_C_TYPE "Content-Type" ^ fmail.cpp:2355:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((hf = find_field(msg, MIME_VERSION)) != NULL) ^ ./fmail.h:817:26: note: expanded from macro 'MIME_VERSION' #define MIME_VERSION "MIME-Version" ^ fmail.cpp:2356:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(fwd_msg, MIME_VERSION, hf->f_line); ^ ./fmail.h:817:26: note: expanded from macro 'MIME_VERSION' #define MIME_VERSION "MIME-Version" ^ fmail.cpp:2358:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((hf = find_field(msg, MIME_C_ENCR)) != NULL) ^ ./fmail.h:812:22: note: expanded from macro 'MIME_C_ENCR' #define MIME_C_ENCR "Content-Transfer-Encoding" ^ fmail.cpp:2359:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(fwd_msg, MIME_C_ENCR, hf->f_line); ^ ./fmail.h:812:22: note: expanded from macro 'MIME_C_ENCR' #define MIME_C_ENCR "Content-Transfer-Encoding" ^ fmail.cpp:2361:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((hf = find_field(msg, MIME_C_DESCR)) != NULL) ^ ./fmail.h:813:26: note: expanded from macro 'MIME_C_DESCR' #define MIME_C_DESCR "Content-Description" ^ fmail.cpp:2362:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(fwd_msg, MIME_C_DESCR, hf->f_line); ^ ./fmail.h:813:26: note: expanded from macro 'MIME_C_DESCR' #define MIME_C_DESCR "Content-Description" ^ fmail.cpp:2364:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((hf = find_field(msg, MIME_C_ID)) != NULL) ^ ./fmail.h:814:22: note: expanded from macro 'MIME_C_ID' #define MIME_C_ID "Content-ID" ^ fmail.cpp:2365:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] --- cfgfile.lo --- cfgfile.cpp:170:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] --- fmail.lo --- replace_field(fwd_msg, MIME_C_ID, hf->f_line); ^ ./fmail.h:814:22: note: expanded from macro 'MIME_C_ID' --- cfgfile.lo --- cfg_debug(CFG_DEBUG, "\nremove(%s) ... ", key.c_str()); ^ --- fmail.lo --- #define MIME_C_ID "Content-ID" ^ fmail.cpp:2367:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] --- cfgfile.lo --- cfgfile.cpp:172:23: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare] --- fmail.lo --- if((hf = find_field(msg, MIME_C_LENGTH)) != NULL) ^ ./fmail.h:815:26: note: expanded from macro 'MIME_C_LENGTH' --- cfgfile.lo --- if(find(key).c_str() == "") { ^ ~~ --- fmail.lo --- #define MIME_C_LENGTH "Content-Length" ^ --- cfgfile.lo --- cfgfile.cpp:173:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] --- fmail.lo --- fmail.cpp:2368:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] --- cfgfile.lo --- cfg_debug(CFG_DEBUG, " failed. (NOT FOUND)\n"); ^ --- fmail.lo --- replace_field(fwd_msg, MIME_C_LENGTH, hf->f_line); ^ ./fmail.h:815:26: note: expanded from macro 'MIME_C_LENGTH' #define MIME_C_LENGTH "Content-Length" ^ fmail.cpp:2386:29: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] strcpy(fbuf, get_temp_file("fwd")); ^ --- cfgfile.lo --- cfgfile.cpp:177:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] cfg_debug(CFG_DEBUG, " success. (REMOVED)\n"); ^ --- fmail.lo --- fmail.cpp:2406:29: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((hf = find_field(msg, "Date")) == NULL) ^ fmail.cpp:2407:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] hf = find_field(msg, "X-SDate"); ^ fmail.cpp:2410:36: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] print_addr(msg->header->Sender, "Sender", tfd, -2); ^ fmail.cpp:2411:34: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] print_addr(msg->header->From, "From", tfd, -2); ^ fmail.cpp:2412:32: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] print_addr(msg->header->To, "To", tfd, -2); ^ fmail.cpp:2414:40: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] print_news_addr(msg->header->News, "Newsgroups", tfd); ^ --- cfgfile.lo --- cfgfile.cpp:198:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] --- fmail.lo --- fmail.cpp:2418:32: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] --- cfgfile.lo --- cfg_debug(CFG_DEBUG, "Locking File\n"); ^ --- fmail.lo --- print_addr(msg->header->Cc, "Cc", tfd, -2); ^ fmail.cpp:2419:33: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] print_addr(msg->header->Bcc, "Bcc", tfd, -2); ^ --- cfgfile.lo --- cfgfile.cpp:204:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] cfg_debug(CFG_DEBUG, "File Open\n"); ^ cfgfile.cpp:234:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] cfg_debug(CFG_DEBUG, "Unlocking File\n"); ^ cfgfile.cpp:244:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] cfg_debug(CFG_DEBUG, "File Closed\n"); ^ --- fmail.lo --- fmail.cpp:2495:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((mid = find_field(msg, "Reply-To")) && ^ --- cfgfile.lo --- cfgfile.cpp:257:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] cfg_debug(CFG_STATUS, "\nSaving config file..."); ^ cfgfile.cpp:281:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] cfg_debug(CFG_DEBUG, "Saving %s=%s\n", iter->first.c_str(), iter->second.c_str()); ^ cfgfile.cpp:302:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] cfg_debug(CFG_STATUS, " completed. [%i/%i]\n", saved, Map.size()); ^ --- fmail.lo --- fmail.cpp:2663:35: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] strcpy(m_tmp_file, get_temp_file("reply")); ^ --- cfgfile.lo --- cfgfile.cpp:356:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] cfg_debug(CFG_STATUS, "\nLoading Personal Settings..."); ^ cfgfile.cpp:366:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] cfg_debug(CFG_STATUS, " completed. [%i]\n",Map.size()); ^ cfgfile.cpp:368:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] cfg_debug(CFG_STATUS, "\nLoading System Override Settings..."); ^ cfgfile.cpp:378:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] cfg_debug(CFG_STATUS, " completed. [%i]\n",Map.size()); ^ --- fmail.lo --- fmail.cpp:3021:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] hf = find_field(msg, XFRECEIPT); ^ ./fmail.h:251:26: note: expanded from macro 'XFRECEIPT' #define XFRECEIPT "X-XFmail-Return-To" /* confirm reading field */ ^ fmail.cpp:3023:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] hf = find_field(msg, "X-Chameleon-Return-To"); ^ fmail.cpp:3025:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] hf = find_field(msg, "X-Confirm-Reading-To"); ^ fmail.cpp:3027:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] hf = find_field(msg, "Disposition-Notification-To"); ^ fmail.cpp:3037:25: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] delete_all_fields(msg, XFRECEIPT); ^ ./fmail.h:251:26: note: expanded from macro 'XFRECEIPT' #define XFRECEIPT "X-XFmail-Return-To" /* confirm reading field */ ^ fmail.cpp:3038:25: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] delete_all_fields(msg, "X-Chameleon-Return-To"); ^ fmail.cpp:3039:25: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] delete_all_fields(msg, "X-Confirm-Reading-To"); ^ fmail.cpp:3040:25: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] delete_all_fields(msg, "Disposition-Notification-To"); ^ fmail.cpp:3209:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] add_field(rep_msg, REPLY_ORGMSG, get_msg_url(msg)); ^ ./fmail.h:276:30: note: expanded from macro 'REPLY_ORGMSG' #define REPLY_ORGMSG "XF-OrgMsg" /* pointer to original message */ ^ fmail.cpp:3236:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((mid = find_field(msg, "Message-ID"))) ^ fmail.cpp:3237:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] add_field(rep_msg, "In-Reply-To", mid->f_line); ^ fmail.cpp:3253:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((mid = find_field(msg, "Reply-To")) && ^ fmail.cpp:3394:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((hf = find_field(msg, MIME_C_TYPE)) != NULL) ^ ./fmail.h:811:22: note: expanded from macro 'MIME_C_TYPE' #define MIME_C_TYPE "Content-Type" ^ fmail.cpp:3395:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(rep_msg, MIME_C_TYPE, hf->f_line); ^ ./fmail.h:811:22: note: expanded from macro 'MIME_C_TYPE' #define MIME_C_TYPE "Content-Type" ^ fmail.cpp:3397:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((hf = find_field(msg, MIME_VERSION)) != NULL) ^ ./fmail.h:817:26: note: expanded from macro 'MIME_VERSION' #define MIME_VERSION "MIME-Version" ^ fmail.cpp:3398:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(rep_msg, MIME_VERSION, hf->f_line); ^ ./fmail.h:817:26: note: expanded from macro 'MIME_VERSION' #define MIME_VERSION "MIME-Version" ^ fmail.cpp:3400:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((hf = find_field(msg, MIME_C_DESCR)) != NULL) ^ ./fmail.h:813:26: note: expanded from macro 'MIME_C_DESCR' #define MIME_C_DESCR "Content-Description" ^ fmail.cpp:3401:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(rep_msg, MIME_C_DESCR, hf->f_line); ^ ./fmail.h:813:26: note: expanded from macro 'MIME_C_DESCR' #define MIME_C_DESCR "Content-Description" ^ fmail.cpp:3403:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((hf = find_field(msg, MIME_C_ENCR)) != NULL) ^ ./fmail.h:812:22: note: expanded from macro 'MIME_C_ENCR' #define MIME_C_ENCR "Content-Transfer-Encoding" ^ fmail.cpp:3404:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(rep_msg, MIME_C_ENCR, hf->f_line); ^ ./fmail.h:812:22: note: expanded from macro 'MIME_C_ENCR' #define MIME_C_ENCR "Content-Transfer-Encoding" ^ fmail.cpp:3427:30: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] strcpy(fbuf, get_temp_file("rtext")); ^ fmail.cpp:3462:29: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] strcpy(fbuf, get_temp_file("rep")); ^ fmail.cpp:3693:12: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] prefix = "#news/"; ^ fmail.cpp:3696:12: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] prefix = "#mbox/"; ^ fmail.cpp:3698:12: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] prefix = ""; ^ fmail.cpp:3710:10: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] return "noname"; ^ fmail.cpp:4024:37: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((inbox = create_mh_folder(NULL, INBOX)) == NULL) { ^ ./fmail.h:304:22: note: expanded from macro 'INBOX' #define INBOX "inbox" /* incoming mailbox folder */ ^ fmail.cpp:4029:38: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((outbox = create_mh_folder(NULL, OUTBOX)) == NULL) { ^ ./fmail.h:305:22: note: expanded from macro 'OUTBOX' #define OUTBOX "outbox" /* outgoing mail folder */ ^ fmail.cpp:4034:37: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((trash = create_mh_folder(NULL, TRASH)) == NULL) { ^ ./fmail.h:303:22: note: expanded from macro 'TRASH' #define TRASH "trash" /* trash folder */ ^ fmail.cpp:4039:37: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((sentm = create_mh_folder(NULL, SENTMAIL)) == NULL) { ^ ./fmail.h:306:22: note: expanded from macro 'SENTMAIL' #define SENTMAIL "sent_mail" /* mail that was successfully sent */ ^ fmail.cpp:4044:37: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((draft = create_mh_folder(NULL, DRAFT)) == NULL) { ^ ./fmail.h:307:22: note: expanded from macro 'DRAFT' #define DRAFT "draft" /* draft folder */ ^ fmail.cpp:4049:42: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((mftemplate = create_mh_folder(NULL, TEMPLATE)) == NULL) { ^ ./fmail.h:308:22: note: expanded from macro 'TEMPLATE' #define TEMPLATE "template" /* template folder */ ^ fmail.cpp:4054:37: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((ftemp = create_mh_folder(NULL, FTEMP)) == NULL) { ^ ./fmail.h:309:22: note: expanded from macro 'FTEMP' #define FTEMP ".ftemp" /* temporary folder */ ^ fmail.cpp:4059:37: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((fmbox = create_mh_folder(NULL, FMBOX)) == NULL) { ^ ./fmail.h:311:22: note: expanded from macro 'FMBOX' #define FMBOX ".mbox" /* MBOX folder */ ^ fmail.cpp:5382:10: error: assigning to 'char *' from incompatible type 'const char *' if((p = strrchr(path, '/')) == NULL) ^~~~~~~~~~~~~~~~~~ fmail.cpp:6327:10: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] return "unknown"; ^ fmail.cpp:6554:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, "Return-Receipt-To", msg->header->From->addr); ^ fmail.cpp:6559:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, XFRECEIPT, msg->header->From->addr); ^ ./fmail.h:251:26: note: expanded from macro 'XFRECEIPT' #define XFRECEIPT "X-XFmail-Return-To" /* confirm reading field */ ^ fmail.cpp:6560:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, "X-Chameleon-Return-To", msg->header->From->addr); ^ fmail.cpp:6561:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, "X-Confirm-Reading-To", msg->header->From->addr); ^ fmail.cpp:6562:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, "Disposition-Notification-To", msg->header->From->addr); ^ fmail.cpp:6576:25: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] delete_all_fields(msg, "Sender"); ^ fmail.cpp:6584:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, "Date", get_arpa_date(time(NULL))); ^ fmail.cpp:6588:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, "X-Mailer", buf); ^ fmail.cpp:6590:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(!find_field(msg, "Message-ID")) { ^ fmail.cpp:6593:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] add_field(msg, "Message-ID", buf); ^ fmail.cpp:6597:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, MIME_C_LENGTH, buf); ^ ./fmail.h:815:26: note: expanded from macro 'MIME_C_LENGTH' #define MIME_C_LENGTH "Content-Length" ^ fmail.cpp:6670:35: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] strcpy(m_tmp_file, get_temp_file("send")); ^ fmail.cpp:6692:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(find_field(msg, "Return-Receipt-To") && Config.getInt("smtpdsn", 0)) { ^ fmail.cpp:6693:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] delete_all_fields(msg, "X-DSN-Envid"); ^ fmail.cpp:6694:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] delete_all_fields(msg, "Return-Receipt-To"); ^ fmail.cpp:7065:35: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] print_addr(msg->header->Sender, "Sender", file, -2); ^ fmail.cpp:7066:33: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] print_addr(msg->header->From, "From", file, -2); ^ fmail.cpp:7067:31: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] print_addr(msg->header->To, "To", file, -2); ^ fmail.cpp:7069:39: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] print_news_addr(msg->header->News, "Newsgroups", file); ^ fmail.cpp:7073:31: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] print_addr(msg->header->Cc, "Cc", file, -2); ^ fmail.cpp:7074:32: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] print_addr(msg->header->Bcc, "Bcc", file, -2); ^ fmail.cpp:7138:35: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] strcpy(m_tmp_file, get_temp_file("lpr")); ^ fmail.cpp:7214:35: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] print_addr(msg->header->Sender, "Sender", file, charset); ^ fmail.cpp:7215:33: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] print_addr(msg->header->From, "From", file, charset); ^ fmail.cpp:7216:31: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] print_addr(msg->header->To, "To", file, charset); ^ fmail.cpp:7218:39: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] print_news_addr(msg->header->News, "Newsgroups", file); ^ fmail.cpp:7222:31: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] print_addr(msg->header->Cc, "Cc", file, charset); ^ fmail.cpp:7223:32: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] print_addr(msg->header->Bcc, "Bcc", file, charset); ^ fmail.cpp:7316:21: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] tp.tv_sec%1000, tp.tv_usec%1000 , (int)getpid()); ^~~~~~~~~~~~~~~ fmail.cpp:7370:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] strcpy(buf, get_temp_file("upd")); ^ fmail.cpp:7625:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((fld = find_field(msg, "Apparently-To")) != NULL) { ^ fmail.cpp:7630:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((fld = find_field(msg, MIME_C_TYPE)) != NULL) { ^ ./fmail.h:811:22: note: expanded from macro 'MIME_C_TYPE' #define MIME_C_TYPE "Content-Type" ^ fmail.cpp:7631:30: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((p = get_fld_param(fld, "protocol")) != NULL) { ^ fmail.cpp:7643:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] fld = find_field(msg, "Date"); ^ fmail.cpp:7646:35: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(((fld = find_last_field(msg, "Received")) != NULL) && ^ fmail.cpp:7652:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, "X-SDate", get_arpa_date(stime)); ^ fmail.cpp:7704:33: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((fld = find_field(msg, "Message-ID"))) ^ fmail.cpp:7765:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((fld = find_field(msg, "Status")) != NULL) { ^ fmail.cpp:7788:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((fld = find_field(msg, "X-Status")) != NULL) { ^ --- addrbookdb.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT addrbookdb.lo -MD -MP -MF .deps/addrbookdb.Tpo -c addrbookdb.cpp -o addrbookdb.o >/dev/null 2>&1 --- fmail.lo --- fmail.cpp:7821:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, "Status", nstat); ^ fmail.cpp:7835:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, "X-Status", nstat); ^ fmail.cpp:7837:29: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((fld = find_field(msg, "X-Status")) != NULL) ^ fmail.cpp:8347:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, "X-RDate", get_arpa_date(rdate)); ^ fmail.cpp:8352:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, "Date", get_arpa_date(sdate)); ^ fmail.cpp:8353:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] delete_all_fields(msg, "X-SDate"); ^ fmail.cpp:8414:11: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] return "Normal"; ^ fmail.cpp:8418:11: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] return "Low"; ^ fmail.cpp:8422:11: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] return "High"; ^ fmail.cpp:8426:11: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] return "Very high"; ^ fmail.cpp:8463:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((hf = find_field(msg, "X-Priority")) != NULL) { ^ fmail.cpp:8496:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((hf = find_field(msg, "Priority")) != NULL) { ^ fmail.cpp:8512:29: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((hf = find_field(msg, "Priority")) != NULL) ^ fmail.cpp:8514:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, "X-Priority", "3 (Normal)"); ^ fmail.cpp:8514:37: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, "X-Priority", "3 (Normal)"); ^ fmail.cpp:8518:29: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((hf = find_field(msg, "Priority")) != NULL) ^ fmail.cpp:8520:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, "X-Priority", "5 (Low)"); ^ fmail.cpp:8520:37: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, "X-Priority", "5 (Low)"); ^ fmail.cpp:8524:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, "Priority", "urgent"); ^ fmail.cpp:8524:35: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] --- mailaddr.lo --- mailaddr.cpp:272:26: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] --- fmail.lo --- replace_field(msg, "Priority", "urgent"); ^ fmail.cpp:8525:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, "X-Priority", "2 (High)"); ^ fmail.cpp:8525:37: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, "X-Priority", "2 (High)"); ^ --- mailaddr.lo --- snprintf(cur, len, "%.*s", p - pStr, pStr); ~~^~ ~~~~~~~~ --- fmail.lo --- fmail.cpp:8529:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, "Priority", "urgent"); ^ fmail.cpp:8529:35: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, "Priority", "urgent"); ^ fmail.cpp:8530:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, "X-Priority", "1 (High)"); ^ fmail.cpp:8530:37: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, "X-Priority", "1 (High)"); ^ --- mailaddr.lo --- mailaddr.cpp:310:44: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] snprintf(comment, sizeof(comment), "%.*s", p - pStr, pStr); ~~^~ ~~~~~~~~ mailaddr.cpp:338:37: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] snprintf(addr, sizeof(addr), "%.*s", p - pStr, pStr); ~~^~ ~~~~~~~~ --- fmail.lo --- 200 warnings and 5 errors generated. --- gpasswd.lo --- 1 warning generated. --- imap.lo --- imap.cpp:165:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "BODY[", ^ imap.cpp:166:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "BODYSTRUCTURE", ^ imap.cpp:167:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "BODY", ^ imap.cpp:168:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "ENVELOPE", ^ imap.cpp:169:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "FLAGS", ^ imap.cpp:170:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "INTERNALDATE", ^ imap.cpp:171:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "RFC822.HEADER", ^ imap.cpp:172:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "RFC822.SIZE", ^ imap.cpp:173:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "RFC822.TEXT", ^ imap.cpp:174:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "RFC822", ^ imap.cpp:175:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "UID", ^ imap.cpp:273:29: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] {ICOM_MATCHALL, "*", "OK", "$all", ok_process}, ^ imap.cpp:274:29: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] {ICOM_MATCHALL, "*", "NO", "$all", no_process}, ^ imap.cpp:275:30: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] {ICOM_MATCHALL, "*", "BAD", "$all", bad_process}, ^ imap.cpp:276:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] {ICOM_LOGOUT, "*", "BYE", "$all", bye_process}, ^ imap.cpp:277:30: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] {ICOM_MATCHALL, "*", "BYE", "$all", disc_process}, ^ imap.cpp:278:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] {ICOM_LIST, "*", "LIST", "$all", list_process}, ^ imap.cpp:279:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] {ICOM_LSUB, "*", "LSUB", "$all", list_process}, ^ imap.cpp:280:39: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] {ICOM_CAPABILITY, "*", "CAPABILITY", "$all", cap_process}, ^ imap.cpp:281:31: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] {ICOM_STATUS, "*", "STATUS", "$all", stat_process}, ^ imap.cpp:282:34: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] {ICOM_MATCHALL, "*", "PREAUTH", "$all", preauth_process}, ^ imap.cpp:283:30: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] {ICOM_SELECT, "*", "FLAGS", "$all", flags_process}, ^ imap.cpp:284:31: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] {ICOM_EXAMINE, "*", "FLAGS", "$all", flags_process}, ^ imap.cpp:285:30: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] {ICOM_STATUS, "*", "FLAGS", "$all", flags_process}, ^ imap.cpp:286:31: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] {ICOM_SEARCH, "*", "SEARCH", "$all", search_process}, ^ imap.cpp:287:34: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] {ICOM_UIDSEARCH, "*", "SEARCH", "$all", search_process}, ^ imap.cpp:288:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] {ICOM_FETCH, "*", "$num", "$FETCH (", fetch_process}, ^ imap.cpp:289:31: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] {ICOM_UIDFETCH, "*", "$num", "$FETCH (", fetch_process}, ^ imap.cpp:290:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] {ICOM_STORE, "*", "$num", "$FETCH (", fetch_process}, ^ imap.cpp:291:31: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] {ICOM_UIDSTORE, "*", "$num", "$FETCH (", fetch_process}, ^ imap.cpp:292:30: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] {ICOM_EXPUNGE, "*", "$num", "EXPUNGE", expunge_process}, ^ imap.cpp:293:29: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] {ICOM_APPEND, "+", "$all", "$all", append_process}, ^ imap.cpp:295:37: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] {ICOM_MATCHALL, "*", "CAPABILITY", "$all", cap_process}, ^ imap.cpp:297:31: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] {ICOM_MATCHALL, "*", "$num", "EXISTS", exists_process}, ^ imap.cpp:298:31: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] {ICOM_MATCHALL, "*", "$num", "RECENT", recent_process}, ^ imap.cpp:299:31: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] {ICOM_MATCHALL, "*", "$num", "$FETCH (", fetch_process}, ^ imap.cpp:300:31: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] {ICOM_MATCHALL, "*", "$num", "EXPUNGE", expunge_process}, ^ imap.cpp:301:32: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] {ICOM_MATCHALL, "$all", "OK", "$all", ok_process}, ^ imap.cpp:302:32: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] {ICOM_MATCHALL, "$all", "NO", "$all", no_process}, ^ imap.cpp:303:33: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] {ICOM_MATCHALL, "$all", "BAD", "$all", bad_process}, ^ imap.cpp:304:34: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] {ICOM_MATCHALL, "$all", "$all", "$all", unk_process}, /* unknown */ ^ imap.cpp:305:31: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] {ICOM_NOCOM, "$all", "$all", "$all", unk_process} ^ --- connection.lo --- 1 warning generated. --- fmail.lo --- *** [fmail.lo] Error code 1 make[2]: stopped in /data/scratch/mail/xfmail/work/xfmail-1.5.5/src/mail --- gpasswd.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT gpasswd.lo -MD -MP -MF .deps/gpasswd.Tpo -c gpasswd.cpp -o gpasswd.o >/dev/null 2>&1 --- imap.lo --- imap.cpp:310:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "CAPABILITY", ^ imap.cpp:311:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "NOOP", ^ imap.cpp:312:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "LOGOUT", ^ imap.cpp:313:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "AUTHENTICATE", ^ imap.cpp:314:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "LOGIN", ^ imap.cpp:315:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "SELECT", ^ imap.cpp:316:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "EXAMINE", ^ imap.cpp:317:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "CREATE", ^ imap.cpp:318:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "DELETE", ^ imap.cpp:319:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "RENAME", ^ imap.cpp:320:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "SUBSCRIBE", ^ imap.cpp:321:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "UNSUBSCRIBE", ^ imap.cpp:322:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "LIST", ^ imap.cpp:323:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "LSUB", ^ imap.cpp:324:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "STATUS", ^ imap.cpp:325:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "APPEND", ^ imap.cpp:326:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "CHECK", ^ imap.cpp:327:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "CLOSE", ^ imap.cpp:328:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "EXPUNGE", ^ imap.cpp:329:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "SEARCH", ^ imap.cpp:330:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "FETCH", ^ imap.cpp:331:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "STORE", ^ imap.cpp:332:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "COPY", ^ imap.cpp:333:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "UID SEARCH", ^ imap.cpp:334:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "UID COPY", ^ imap.cpp:335:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "UID FETCH", ^ imap.cpp:336:2: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "UID STORE", ^ imap.cpp:700:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, IMAP_NUM_FLD, sbuf); ^ imap.cpp:76:29: note: expanded from macro 'IMAP_NUM_FLD' #define IMAP_NUM_FLD "X-IMAP-Num" /* field to store IMAP number */ ^ --- debug.lo --- debug.cpp:51:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr,buf); ^~~ debug.cpp:51:17: note: treat the string as an argument to avoid this fprintf(stderr,buf); ^ "%s", --- addrbook_util.lo --- addrbook_util.cpp:285:14: error: assigning to 'char *' from incompatible type 'const char *' if ((cp2 = strstr(aliascmd, cp)) == NULL || cp2 != aliascmd) ^~~~~~~~~~~~~~~~~~~~ --- connection.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT connection.lo -MD -MP -MF .deps/connection.Tpo -c connection.cpp -o connection.o >/dev/null 2>&1 --- imap.lo --- imap.cpp:711:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((hf = find_field(msg, IMAP_NUM_FLD)) == NULL) { ^ imap.cpp:76:29: note: expanded from macro 'IMAP_NUM_FLD' #define IMAP_NUM_FLD "X-IMAP-Num" /* field to store IMAP number */ ^ --- mbox.lo --- mbox.cpp:214:40: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((ffd = get_mbox_folder_fd(folder, WRITEMBOXMODE)) == NULL) ^ mbox.cpp:78:25: note: expanded from macro 'WRITEMBOXMODE' #define WRITEMBOXMODE "r+" ^ mbox.cpp:249:40: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((ffd = get_mbox_folder_fd(folder, READMBOXMODE)) == NULL) ^ mbox.cpp:77:25: note: expanded from macro 'READMBOXMODE' #define READMBOXMODE "r" ^ mbox.cpp:372:40: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((ffd = get_mbox_folder_fd(folder, READMBOXMODE)) == NULL) ^ mbox.cpp:77:25: note: expanded from macro 'READMBOXMODE' #define READMBOXMODE "r" ^ mbox.cpp:425:33: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] (get_mbox_folder_fd(folder, READMBOXMODE) == NULL)) return; ^ mbox.cpp:77:25: note: expanded from macro 'READMBOXMODE' #define READMBOXMODE "r" ^ mbox.cpp:462:10: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] mode = READMBOXMODE; ^ mbox.cpp:77:25: note: expanded from macro 'READMBOXMODE' #define READMBOXMODE "r" ^ mbox.cpp:471:11: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] mode = READMBOXMODE; ^ mbox.cpp:77:25: note: expanded from macro 'READMBOXMODE' #define READMBOXMODE "r" ^ --- imap.lo --- imap.cpp:1117:12: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] return ""; ^ imap.cpp:1119:11: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] res = "OK"; ^ imap.cpp:1186:10: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] return ""; ^ --- mbox.lo --- mbox.cpp:599:39: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((ffd = get_mbox_folder_fd(folder, READMBOXMODE)) == NULL) ^ mbox.cpp:77:25: note: expanded from macro 'READMBOXMODE' #define READMBOXMODE "r" ^ --- imap.lo --- imap.cpp:1199:10: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] return "NIL"; ^ --- mbox.lo --- mbox.cpp:667:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(find_field_noload(msg, "Date") == NULL) { ^ mbox.cpp:668:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] add_field(msg, "Date", get_arpa_date(msg->header->snt_time)); ^ mbox.cpp:673:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field_noload(msg, FROMLINE, buf); ^ ./fmail.h:2052:22: note: expanded from macro 'FROMLINE' #define FROMLINE "X-From-Line" /* store original From line here */ ^ mbox.cpp:675:30: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] hf = find_field_noload(msg, MIME_C_LENGTH); ^ ./fmail.h:815:26: note: expanded from macro 'MIME_C_LENGTH' #define MIME_C_LENGTH "Content-Length" ^ mbox.cpp:740:39: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] --- imap.lo --- imap.cpp:1317:17: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] add_field(msg, MIME_C_TYPE, buf); ^ --- mbox.lo --- if((ffd = get_mbox_folder_fd(folder, READMBOXMODE)) == NULL) ^ --- imap.lo --- ./fmail.h:811:22: note: expanded from macro 'MIME_C_TYPE' --- mbox.lo --- mbox.cpp:77:25: note: expanded from macro 'READMBOXMODE' --- imap.lo --- #define MIME_C_TYPE "Content-Type" ^ --- mbox.lo --- #define READMBOXMODE "r" ^ --- imap.lo --- imap.cpp:1323:17: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] add_field(msg, MIME_VERSION, buf); ^ ./fmail.h:817:26: note: expanded from macro 'MIME_VERSION' #define MIME_VERSION "MIME-Version" ^ --- cache.lo --- 1 warning generated. --- addrbook_util.lo --- 1 warning and 1 error generated. --- imap.lo --- imap.cpp:1479:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, "Date", str); ^ imap.cpp:1512:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, "In-Reply-To", str); ^ imap.cpp:1523:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, "Message-ID", str); ^ imap.cpp:1527:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, SOURCE_FIELD, imap->name); ^ ./fmail.h:280:30: note: expanded from macro 'SOURCE_FIELD' #define SOURCE_FIELD "XF-Source" /* where the message was retrieved ^ --- mbox.lo --- mbox.cpp:932:39: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((ffd = get_mbox_folder_fd(folder, READMBOXMODE)) == NULL) ^ mbox.cpp:77:25: note: expanded from macro 'READMBOXMODE' #define READMBOXMODE "r" ^ --- imap.lo --- imap.cpp:1601:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, "X-RDate", get_arpa_date(msg->header->rcv_time)); ^ imap.cpp:1727:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, MIME_C_LENGTH, buf); ^ ./fmail.h:815:26: note: expanded from macro 'MIME_C_LENGTH' #define MIME_C_LENGTH "Content-Length" ^ imap.cpp:1750:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, MIME_C_LENGTH, arg); ^ ./fmail.h:815:26: note: expanded from macro 'MIME_C_LENGTH' #define MIME_C_LENGTH "Content-Length" ^ --- mbox.lo --- mbox.cpp:1362:39: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((ffd = get_mbox_folder_fd(folder, APPENDMBOXMODE)) == NULL) ^ mbox.cpp:79:25: note: expanded from macro 'APPENDMBOXMODE' #define APPENDMBOXMODE "a+" ^ mbox.cpp:1395:25: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] delete_all_fields(msg, FROMLINE); ^ ./fmail.h:2052:22: note: expanded from macro 'FROMLINE' #define FROMLINE "X-From-Line" /* store original From line here */ ^ mbox.cpp:1398:17: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] add_field(msg, FROMLINE, buf); ^ ./fmail.h:2052:22: note: expanded from macro 'FROMLINE' #define FROMLINE "X-From-Line" /* store original From line here */ ^ mbox.cpp:1488:39: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((ffd = get_mbox_folder_fd(folder, APPENDMBOXMODE)) == NULL) ^ mbox.cpp:79:25: note: expanded from macro 'APPENDMBOXMODE' #define APPENDMBOXMODE "a+" ^ mbox.cpp:1705:39: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((ffd = get_mbox_folder_fd(folder, READMBOXMODE)) == NULL) { ^ mbox.cpp:77:25: note: expanded from macro 'READMBOXMODE' #define READMBOXMODE "r" ^ mbox.cpp:1713:40: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((ffd = get_mbox_folder_fd(folder, READMBOXMODE)) == NULL) { ^ mbox.cpp:77:25: note: expanded from macro 'READMBOXMODE' #define READMBOXMODE "r" ^ --- cache.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT cache.lo -MD -MP -MF .deps/cache.Tpo -c cache.cpp -o cache.o >/dev/null 2>&1 --- mbox.lo --- mbox.cpp:1914:35: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] print_addr(msg->header->Sender, "Sender", file, charset); ^ mbox.cpp:1915:33: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] print_addr(msg->header->From, "From", file, charset); ^ mbox.cpp:1916:31: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] print_addr(msg->header->To, "To", file, charset); ^ mbox.cpp:1918:39: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] print_news_addr(msg->header->News, "Newsgroups", file); ^ mbox.cpp:1926:31: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] print_addr(msg->header->Cc, "Cc", file, charset); ^ mbox.cpp:1927:32: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] print_addr(msg->header->Bcc, "Bcc", file, charset); ^ mbox.cpp:1960:44: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((ffd = get_mbox_folder_fd(msg->folder, READMBOXMODE)) == NULL) ^ mbox.cpp:77:25: note: expanded from macro 'READMBOXMODE' #define READMBOXMODE "r" ^ mbox.cpp:2062:44: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((ffd = get_mbox_folder_fd(msg->folder, READMBOXMODE)) == NULL) ^ mbox.cpp:77:25: note: expanded from macro 'READMBOXMODE' #define READMBOXMODE "r" ^ mbox.cpp:2201:10: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] return "does not exists"; ^ --- addrbook_util.lo --- *** [addrbook_util.lo] Error code 1 make[2]: stopped in /data/scratch/mail/xfmail/work/xfmail-1.5.5/src/mail --- mbox.lo --- mbox.cpp:2310:44: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((ffd = get_mbox_folder_fd(msg->folder, WRITEMBOXMODE)) == NULL) { ^ mbox.cpp:78:25: note: expanded from macro 'WRITEMBOXMODE' #define WRITEMBOXMODE "r+" ^ mbox.cpp:2407:44: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((ffd = get_mbox_folder_fd(msg->folder, READMBOXMODE)) == NULL) ^ mbox.cpp:77:25: note: expanded from macro 'READMBOXMODE' #define READMBOXMODE "r" ^ mbox.cpp:2437:34: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((hf = find_field_noload(msg, FROMLINE)) != NULL) ^ ./fmail.h:2052:22: note: expanded from macro 'FROMLINE' #define FROMLINE "X-From-Line" /* store original From line here */ ^ mbox.cpp:2440:34: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((hf = find_field_noload(msg, REALENGTH)) != NULL) ^ ./fmail.h:2051:22: note: expanded from macro 'REALENGTH' #define REALENGTH "X-Real-Length" /* store real lenght in this field */ ^ mbox.cpp:2459:29: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field_noload(msg, REALENGTH, buf); ^ ./fmail.h:2051:22: note: expanded from macro 'REALENGTH' #define REALENGTH "X-Real-Length" /* store real lenght in this field */ ^ mbox.cpp:2461:29: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field_noload(msg, FROMLINE, fromline); ^ ./fmail.h:2052:22: note: expanded from macro 'FROMLINE' #define FROMLINE "X-From-Line" /* store original From line here */ ^ --- imap.lo --- imap.cpp:2791:43: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((res = imap_command(imap, ICOM_LOGIN, "%s %s", imap->username, ^ imap.cpp:2801:44: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((res = imap_command(imap, ICOM_LOGIN, "%s %s", imap->username, ^ imap.cpp:2827:8: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] p = "\"\""; ^ imap.cpp:2848:31: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(imap_command(imap, lcom, "%s \"*\"", p) != IMAP_OK) { ^ imap.cpp:2911:44: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((imap->iinbox = find_imap_folder(imap, IMAP_INBOX)) == NULL) { ^ imap.cpp:78:21: note: expanded from macro 'IMAP_INBOX' #define IMAP_INBOX "INBOX" ^ imap.cpp:2912:43: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((res = imap_command(imap, ICOM_LIST, "\"\" %s", IMAP_INBOX)) != ^ imap.cpp:2920:44: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((imap->iinbox = find_imap_folder(imap, IMAP_INBOX)) == NULL) { ^ imap.cpp:78:21: note: expanded from macro 'IMAP_INBOX' #define IMAP_INBOX "INBOX" ^ imap.cpp:2921:38: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(imap_command(imap, ICOM_CREATE, "%s", IMAP_INBOX) == IMAP_OK) { ^ imap.cpp:2924:37: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] imap_command(imap, ICOM_LIST, "\"\" %s", ^ imap.cpp:2935:44: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((imap->iinbox = find_imap_folder(imap, IMAP_INBOX)) == NULL) ^ imap.cpp:78:21: note: expanded from macro 'IMAP_INBOX' #define IMAP_INBOX "INBOX" ^ imap.cpp:2944:41: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] imap->itrash = find_imap_folder(imap, IMAP_TRASH); ^ imap.cpp:79:21: note: expanded from macro 'IMAP_TRASH' #define IMAP_TRASH "trash" ^ imap.cpp:2948:40: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] res = imap_command(imap, ICOM_LIST, "\"\" %s", IMAP_TRASH); ^ imap.cpp:2950:41: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] res = imap_command(imap, ICOM_LIST, "\"\" %s", buf); ^ imap.cpp:2960:42: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] imap->itrash = find_imap_folder(imap, IMAP_TRASH); ^ imap.cpp:79:21: note: expanded from macro 'IMAP_TRASH' #define IMAP_TRASH "trash" ^ imap.cpp:2965:51: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] imap->itrash = create_imap_folder(imap, NULL, IMAP_TRASH); ^ imap.cpp:79:21: note: expanded from macro 'IMAP_TRASH' #define IMAP_TRASH "trash" ^ imap.cpp:2968:60: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] imap->itrash = create_imap_folder(imap, imap->iinbox, IMAP_TRASH); ^ imap.cpp:79:21: note: expanded from macro 'IMAP_TRASH' #define IMAP_TRASH "trash" ^ imap.cpp:2991:8: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "%s (MESSAGES UNSEEN UIDVALIDITY)", ^ imap.cpp:3005:51: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] imap_command(imap, ICOM_EXAMINE | ICOM_LOGERR, "%s", ^ --- addrbookentry.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT addrbookentry.lo -MD -MP -MF .deps/addrbookentry.Tpo -c addrbookentry.cpp -o addrbookentry.o >/dev/null 2>&1 --- imap.lo --- imap.cpp:3166:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] (imap, ICOM_SELECT, "%s", ^ imap.cpp:3247:25: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] (imap, ICOM_SELECT, "%s", ^ --- mbox.lo --- mbox.cpp:2747:34: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((hf = find_field_noload(msg, FROMLINE)) != NULL) { ^ ./fmail.h:2052:22: note: expanded from macro 'FROMLINE' #define FROMLINE "X-From-Line" /* store original From line here */ ^ mbox.cpp:2827:39: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if((ffd = get_mbox_folder_fd(folder, WRITEMBOXMODE)) == NULL) ^ mbox.cpp:78:25: note: expanded from macro 'WRITEMBOXMODE' #define WRITEMBOXMODE "r+" ^ --- imap.lo --- imap.cpp:3343:35: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(imap_command(imap, ICOM_LIST, "\"\" %s", buf) != IMAP_OK) { ^ --- mbox.lo --- mbox.cpp:2859:32: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] strcpy(tmpfile, get_temp_file("mbox")); ^ mbox.cpp:2929:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] delete_all_fields(msg, FROMLINE); ^ ./fmail.h:2052:22: note: expanded from macro 'FROMLINE' #define FROMLINE "X-From-Line" /* store original From line here */ ^ mbox.cpp:2932:18: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] --- imap.lo --- imap.cpp:3417:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] --- mbox.lo --- add_field(msg, FROMLINE, buf); ^ ./fmail.h:2052:22: note: expanded from macro 'FROMLINE' --- imap.lo --- (imap, ICOM_UIDCOPY, "%ld:%ld %s", bottom, top, ^ --- mbox.lo --- #define FROMLINE "X-From-Line" /* store original From line here */ ^ --- imap.lo --- imap.cpp:3427:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] (imap, ICOM_UIDSTORE, "%ld:%ld FLAGS.SILENT (\\Deleted)", bottom, ^ imap.cpp:3494:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] (imap, ICOM_UIDCOPY, "%ld %s", msg->uid, ^ imap.cpp:3513:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] (imap, ICOM_UIDSTORE, "%ld -FLAGS.SILENT (\\Deleted)", msg->uid) ^ imap.cpp:3522:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] (imap, ICOM_UIDSTORE, "%ld +FLAGS.SILENT (\\Deleted)", msg->uid) ^ --- ldap.lo --- 1 warning generated. --- imap.lo --- imap.cpp:3568:39: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] --- mbox.lo --- mbox.cpp:3040:25: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] delete_all_fields(msg, MIME_C_LENGTH); ^ ./fmail.h:815:26: note: expanded from macro 'MIME_C_LENGTH' #define MIME_C_LENGTH "Content-Length" ^ --- imap.lo --- if(imap_command(imap, ICOM_UIDFETCH, "%ld (RFC822.HEADER)", msg->uid) ^ imap.cpp:3636:41: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(imap_command (imap, ICOM_UIDFETCH, "%ld (BODY.PEEK[])", msg->uid) != IMAP_OK) { ^ imap.cpp:3688:3: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "%ld (INTERNALDATE RFC822.SIZE ENVELOPE FLAGS BODY UID)", ^ --- mbox.lo --- mbox.cpp:3047:21: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] sprintf(buf, "%d", clen); ~~ ^~~~ %lu --- imap.lo --- imap.cpp:3839:40: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] --- mbox.lo --- mbox.cpp:3048:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] --- imap.lo --- if(imap_command(imap, ICOM_UIDSTORE, "%d:%d FLAGS.SILENT (%s)", ^ --- mbox.lo --- replace_field(msg, MIME_C_LENGTH, buf); ^ ./fmail.h:815:26: note: expanded from macro 'MIME_C_LENGTH' #define MIME_C_LENGTH "Content-Length" ^ --- imap.lo --- imap.cpp:3844:40: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(imap_command(imap, ICOM_UIDSTORE, "%d:%d -FLAGS.SILENT (%s)", ^ --- mbox.lo --- mbox.cpp:3080:31: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(get_mbox_folder_fd(ifold, WRITEMBOXMODE) == NULL) { ^ mbox.cpp:78:25: note: expanded from macro 'WRITEMBOXMODE' #define WRITEMBOXMODE "r+" ^ mbox.cpp:3125:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, "X-RDate", get_arpa_date(time(NULL))); ^ mbox.cpp:3126:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] replace_field(msg, SOURCE_FIELD, source->name); ^ ./fmail.h:280:30: note: expanded from macro 'SOURCE_FIELD' #define SOURCE_FIELD "XF-Source" /* where the message was retrieved ^ --- imap.lo --- imap.cpp:3892:40: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(imap_command(imap, ICOM_UIDSTORE, "%d FLAGS.SILENT (%s)", ^ imap.cpp:3900:40: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(imap_command(imap, ICOM_UIDSTORE, "%d -FLAGS.SILENT (%s)", ^ imap.cpp:3952:3: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "%d (INTERNALDATE RFC822.SIZE ENVELOPE FLAGS BODY UID)", ^ imap.cpp:4012:25: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] (imap, ICOM_SELECT, "%s", ^ imap.cpp:4048:8: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "%d (INTERNALDATE RFC822.SIZE ENVELOPE FLAGS BODY UID)", ^ imap.cpp:4072:39: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(imap_command(imap, ICOM_SEARCH, "UNSEEN") != IMAP_OK) { ^ imap.cpp:4083:7: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "%d (INTERNALDATE RFC822.SIZE ENVELOPE FLAGS BODY UID)", ^ imap.cpp:4099:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "1:%d (INTERNALDATE RFC822.SIZE ENVELOPE FLAGS BODY UID)", ^ imap.cpp:4182:40: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(imap_command(imap, ICOM_UIDSEARCH, "RECENT") != IMAP_OK) ^ imap.cpp:4197:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "%ld (INTERNALDATE RFC822.SIZE ENVELOPE FLAGS BODY UID)", ^ imap.cpp:4228:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] (imap, ICOM_STATUS, "%s (MESSAGES UNSEEN RECENT)", ^ imap.cpp:4250:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] (imap, ICOM_SELECT, "%s", ^ imap.cpp:4294:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "%ld (INTERNALDATE RFC822.SIZE ENVELOPE FLAGS BODY UID)", ^ --- debug.lo --- 2 warnings generated. --- imap.lo --- imap.cpp:4329:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] (imap, ICOM_STATUS, "%s (MESSAGES UNSEEN UIDVALIDITY)", ^ imap.cpp:4332:37: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] imap_command(imap, ICOM_SELECT, "%s", ^ imap.cpp:4337:36: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] imap_command(imap, ICOM_SELECT, "%s", ^ imap.cpp:4345:37: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(imap_command(imap, ICOM_SEARCH, "UNSEEN") != IMAP_OK) { ^ imap.cpp:4421:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] (imap, ICOM_SELECT, "%s", ^ imap.cpp:4496:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] (imap, ICOM_SELECT, "%s", ^ imap.cpp:4514:24: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] (imap, ICOM_STORE, "1:%d +FLAGS.SILENT (\\Deleted)", ^ imap.cpp:4568:41: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] switch(imap_command(imap, ICOM_DELETE, "%s", ^ imap.cpp:4643:25: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] (imap, ICOM_RENAME, "%s %s", imap_string(imap, folder->fold_path), ^ imap.cpp:4765:7: warning: address of 'msg' will always evaluate to 'true' [-Wpointer-bool-conversion] if(!&msg || !folder || !(folder->type & F_IMAP)) ~ ^~~ imap.cpp:4810:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] (imap, ICOM_UIDCOPY, "%ld:%ld %s", bottom, top, ^ --- ldap.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT ldap.lo -MD -MP -MF .deps/ldap.Tpo -c ldap.cpp -o ldap.o >/dev/null 2>&1 --- imap.lo --- imap.cpp:4855:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] (imap, ICOM_STATUS, "%s (UIDNEXT)", ^ imap.cpp:4867:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] (imap, ICOM_UIDCOPY, "%ld %s", msg->uid, ^ imap.cpp:4879:39: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(imap_command(imap, ICOM_APPEND, "%s (%s) \"%s\" {%d}", ^ imap.cpp:4891:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] (imap, ICOM_APPEND, "%s {%d}", ^ imap.cpp:4912:39: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] imap_command(imap, ICOM_UIDSEARCH, "ALL"); ^ imap.cpp:5007:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] (imap, ICOM_UIDCOPY, "%ld:%ld %s", bottom, top, ^ imap.cpp:5014:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] (imap, ICOM_UIDSTORE, "%ld:%ld FLAGS.SILENT (\\Deleted)", bottom, ^ imap.cpp:5082:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] (imap, ICOM_STATUS, "%s (UIDNEXT)", ^ imap.cpp:5097:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] (imap, ICOM_UIDCOPY, "%ld %s", msg->uid, ^ imap.cpp:5109:39: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(imap_command(imap, ICOM_APPEND, "%s (%s) \"%s\" {%d}", ^ imap.cpp:5121:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] (imap, ICOM_APPEND, "%s {%d}", ^ imap.cpp:5151:39: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] imap_command(imap, ICOM_UIDSEARCH, "ALL"); ^ --- debug.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT debug.lo -MD -MP -MF .deps/debug.Tpo -c debug.cpp -o debug.o >/dev/null 2>&1 --- imap.lo --- imap.cpp:5191:10: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] return "TEXT"; ^ imap.cpp:5194:10: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] return "BODY"; ^ imap.cpp:5197:10: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] return "TEXT"; ^ imap.cpp:5200:10: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] return "FROM"; ^ imap.cpp:5203:10: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] return "TO"; ^ imap.cpp:5206:10: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] return "CC"; ^ imap.cpp:5209:10: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] return "BCC"; ^ imap.cpp:5212:10: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] return "SENDER"; ^ imap.cpp:5215:10: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] return "SUBJECT"; ^ imap.cpp:5256:40: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(imap_command(imap, ICOM_UIDSEARCH, "%s \"%s\"", ^ imap.cpp:5281:9: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "%ld +FLAGS.SILENT (\\Flagged)", ^ imap.cpp:5289:8: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "%ld +FLAGS.SILENT (\\Flagged)", ^ imap.cpp:5493:37: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(imap_command(imap, ICOM_CREATE, "%s", fname) != IMAP_OK) { ^ imap.cpp:5498:35: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(imap_command(imap, ICOM_LIST, "\"\" %s", fname) != IMAP_OK) { ^ imap.cpp:5511:34: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] imap_command(imap, ICOM_LIST, "\"\" %s", fname); ^ imap.cpp:5554:35: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(imap_command(imap, ICOM_LIST, "\"\" %s", IMAP_INBOX) != IMAP_OK) { ^ imap.cpp:5560:40: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] imap->iinbox = find_imap_folder(imap, IMAP_INBOX); ^ imap.cpp:78:21: note: expanded from macro 'IMAP_INBOX' #define IMAP_INBOX "INBOX" ^ imap.cpp:5601:38: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(imap_command(imap, ICOM_SELECT, "%s", imap->iinbox->fold_path) ^ imap.cpp:5622:40: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(imap_command(imap, ICOM_UIDSEARCH, "NOT SEEN") != IMAP_OK) { ^ imap.cpp:5650:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] (imap, ICOM_UIDFETCH, "%ld (RFC822.HEADER UID)", ^ imap.cpp:5705:37: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] imap_command(imap, ICOM_UIDSTORE, "%ld +FLAGS.SILENT (\\Seen)", ^ imap.cpp:5738:39: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(imap_command(imap, ICOM_UIDFETCH, "%ld:*", get_max_uid(folder)) != ^ imap.cpp:6152:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] (imap, ICOM_STATUS, "%s (UIDVALIDITY)", ^ imap.cpp:6159:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] (imap, ICOM_EXAMINE, "%s", ^ imap.cpp:6533:31: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(imap_command(imap, lcom, "\"%s%c\" \"*\"", ^ --- connectionManager.lo --- 1 warning generated. --- addrbook.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT addrbook.lo -MD -MP -MF .deps/addrbook.Tpo -c addrbook.cpp -o addrbook.o >/dev/null 2>&1 --- connectionManager.lo --- libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT connectionManager.lo -MD -MP -MF .deps/connectionManager.Tpo -c connectionManager.cpp -o connectionManager.o >/dev/null 2>&1 --- mailaddr.lo --- 3 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT mailaddr.lo -MD -MP -MF .deps/mailaddr.Tpo -c mailaddr.cpp -o mailaddr.o >/dev/null 2>&1 --- cfgfile.lo --- 20 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT cfgfile.lo -MD -MP -MF .deps/cfgfile.Tpo -c cfgfile.cpp -o cfgfile.o >/dev/null 2>&1 --- mbox.lo --- 46 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT mbox.lo -MD -MP -MF .deps/mbox.Tpo -c mbox.cpp -o mbox.o >/dev/null 2>&1 --- imap.lo --- 177 warnings generated. libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src/include -I/data/scratch/mail/xfmail/work/.buildlink/include -I/data/scratch/mail/xfmail/work/.buildlink/include/glib/glib-1.2 -I/data/scratch/mail/xfmail/work/.buildlink/lib/glib/include -O2 -MT imap.lo -MD -MP -MF .deps/imap.Tpo -c imap.cpp -o imap.o >/dev/null 2>&1 2 errors make[2]: stopped in /data/scratch/mail/xfmail/work/xfmail-1.5.5/src/mail *** [all-recursive] Error code 1 make[1]: stopped in /data/scratch/mail/xfmail/work/xfmail-1.5.5/src 1 error make[1]: stopped in /data/scratch/mail/xfmail/work/xfmail-1.5.5/src *** [all-recursive] Error code 1 make: stopped in /data/scratch/mail/xfmail/work/xfmail-1.5.5 1 error make: stopped in /data/scratch/mail/xfmail/work/xfmail-1.5.5 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/mail/xfmail *** Error code 1 Stop. make: stopped in /data/pkgsrc/mail/xfmail