=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for ja-mh6-3.05nb1 for d in config sbr mts zotnet uip support doc; do (set -e; cd $d; make DESTDIR= all); done clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c config.c config.c:61:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = index (pp = file + 1, '/')) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ config.c:61:13: note: place parentheses around the assignment to silence this warning if (cp = index (pp = file + 1, '/')) ^ ( ) config.c:61:13: note: use '==' to turn this assignment into an equality comparison if (cp = index (pp = file + 1, '/')) ^ == config.c:66:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (pw = getpwnam (pp)) ~~~^~~~~~~~~~~~~~~ config.c:66:10: note: place parentheses around the assignment to silence this warning if (pw = getpwnam (pp)) ^ ( ) config.c:66:10: note: use '==' to turn this assignment into an equality comparison if (pw = getpwnam (pp)) ^ == config.c:78:10: warning: implicit declaration of function 'access' is invalid in C99 [-Wimplicit-function-declaration] if (access (lpath, 04) != NOTOK) ^ config.c:89:13: warning: implicit declaration of function 'access' is invalid in C99 [-Wimplicit-function-declaration] return (access (lpath, 04) != NOTOK ? lpath : file); ^ 4 warnings generated. MH 6.8.4 #1[UCI] Japanization Plus 3.05 clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c version.c + mkdir shared rm -f add.o shared/add.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic add.c mv add.o shared/add.o rm -f add.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c add.c ld -x -r add.o mv a.out add.o rm -f adios.o shared/adios.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic adios.c mv adios.o shared/adios.o rm -f adios.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c adios.c ld -x -r adios.o mv a.out adios.o rm -f admonish.o shared/admonish.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic admonish.c mv admonish.o shared/admonish.o rm -f admonish.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c admonish.c ld -x -r admonish.o mv a.out admonish.o rm -f addrsbr.o shared/addrsbr.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic addrsbr.c addrsbr.c:339:9: warning: address of array 'err' will always evaluate to 'true' [-Wpointer-bool-conversion] if (err && err[0]) { ^~~ ~~ addrsbr.c:448:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (pp = index (mbox, '!')) { ~~~^~~~~~~~~~~~~~~~~~~ addrsbr.c:448:9: note: place parentheses around the assignment to silence this warning if (pp = index (mbox, '!')) { ^ ( ) addrsbr.c:448:9: note: use '==' to turn this assignment into an equality comparison if (pp = index (mbox, '!')) { ^ == addrsbr.c:686:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cp = getname (am)) ~~~^~~~~~~~~~~~~~ addrsbr.c:686:16: note: place parentheses around the assignment to silence this warning while (cp = getname (am)) ^ ( ) addrsbr.c:686:16: note: use '==' to turn this assignment into an equality comparison while (cp = getname (am)) ^ == addrsbr.c:789:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (mp = &mq; mp = mp -> m_next;) { ~~~^~~~~~~~~~~~~~ addrsbr.c:789:23: note: place parentheses around the assignment to silence this warning for (mp = &mq; mp = mp -> m_next;) { ^ ( ) addrsbr.c:789:23: note: use '==' to turn this assignment into an equality comparison for (mp = &mq; mp = mp -> m_next;) { ^ == 4 warnings generated. mv addrsbr.o shared/addrsbr.o rm -f addrsbr.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c addrsbr.c addrsbr.c:339:9: warning: address of array 'err' will always evaluate to 'true' [-Wpointer-bool-conversion] if (err && err[0]) { ^~~ ~~ addrsbr.c:448:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (pp = index (mbox, '!')) { ~~~^~~~~~~~~~~~~~~~~~~ addrsbr.c:448:9: note: place parentheses around the assignment to silence this warning if (pp = index (mbox, '!')) { ^ ( ) addrsbr.c:448:9: note: use '==' to turn this assignment into an equality comparison if (pp = index (mbox, '!')) { ^ == addrsbr.c:686:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cp = getname (am)) ~~~^~~~~~~~~~~~~~ addrsbr.c:686:16: note: place parentheses around the assignment to silence this warning while (cp = getname (am)) ^ ( ) addrsbr.c:686:16: note: use '==' to turn this assignment into an equality comparison while (cp = getname (am)) ^ == addrsbr.c:789:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (mp = &mq; mp = mp -> m_next;) { ~~~^~~~~~~~~~~~~~ addrsbr.c:789:23: note: place parentheses around the assignment to silence this warning for (mp = &mq; mp = mp -> m_next;) { ^ ( ) addrsbr.c:789:23: note: use '==' to turn this assignment into an equality comparison for (mp = &mq; mp = mp -> m_next;) { ^ == 4 warnings generated. ld -x -r addrsbr.o mv a.out addrsbr.o rm -f advertise.o shared/advertise.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic advertise.c mv advertise.o shared/advertise.o rm -f advertise.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c advertise.c ld -x -r advertise.o mv a.out advertise.o rm -f advise.o shared/advise.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic advise.c mv advise.o shared/advise.o rm -f advise.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c advise.c ld -x -r advise.o mv a.out advise.o rm -f ambigsw.o shared/ambigsw.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic ambigsw.c mv ambigsw.o shared/ambigsw.o rm -f ambigsw.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c ambigsw.c ld -x -r ambigsw.o mv a.out ambigsw.o rm -f atooi.o shared/atooi.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic atooi.c mv atooi.o shared/atooi.o rm -f atooi.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c atooi.c ld -x -r atooi.o mv a.out atooi.o rm -f brkstring.o shared/brkstring.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic brkstring.c brkstring.c:7:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static brkany(); ~~~~~~ ^ brkstring.c:41:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static brkany (chr, strg) /* returns 1 if chr in strg, 0 otherwise */ ~~~~~~ ^ 2 warnings generated. mv brkstring.o shared/brkstring.o rm -f brkstring.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c brkstring.c brkstring.c:7:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static brkany(); ~~~~~~ ^ brkstring.c:41:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static brkany (chr, strg) /* returns 1 if chr in strg, 0 otherwise */ ~~~~~~ ^ 2 warnings generated. ld -x -r brkstring.o mv a.out brkstring.o rm -f closefds.o shared/closefds.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic closefds.c closefds.c:18:21: warning: implicit declaration of function 'getdtablesize' is invalid in C99 [-Wimplicit-function-declaration] int nbits = getdtablesize (); ^ closefds.c:25:13: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close (i); ^ 2 warnings generated. mv closefds.o shared/closefds.o rm -f closefds.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c closefds.c closefds.c:18:21: warning: implicit declaration of function 'getdtablesize' is invalid in C99 [-Wimplicit-function-declaration] int nbits = getdtablesize (); ^ closefds.c:25:13: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close (i); ^ 2 warnings generated. ld -x -r closefds.o mv a.out closefds.o rm -f concat.o shared/concat.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic concat.c concat.c:22:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cp = va_arg (list, char *)) ~~~^~~~~~~~~~~~~~~~~~~~~~~ concat.c:22:16: note: place parentheses around the assignment to silence this warning while (cp = va_arg (list, char *)) ^ ( ) concat.c:22:16: note: use '==' to turn this assignment into an equality comparison while (cp = va_arg (list, char *)) ^ == concat.c:35:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cp = va_arg (list, char *)) ~~~^~~~~~~~~~~~~~~~~~~~~~~ concat.c:35:16: note: place parentheses around the assignment to silence this warning while (cp = va_arg (list, char *)) ^ ( ) concat.c:35:16: note: use '==' to turn this assignment into an equality comparison while (cp = va_arg (list, char *)) ^ == 2 warnings generated. mv concat.o shared/concat.o rm -f concat.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c concat.c concat.c:22:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cp = va_arg (list, char *)) ~~~^~~~~~~~~~~~~~~~~~~~~~~ concat.c:22:16: note: place parentheses around the assignment to silence this warning while (cp = va_arg (list, char *)) ^ ( ) concat.c:22:16: note: use '==' to turn this assignment into an equality comparison while (cp = va_arg (list, char *)) ^ == concat.c:35:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cp = va_arg (list, char *)) ~~~^~~~~~~~~~~~~~~~~~~~~~~ concat.c:35:16: note: place parentheses around the assignment to silence this warning while (cp = va_arg (list, char *)) ^ ( ) concat.c:35:16: note: use '==' to turn this assignment into an equality comparison while (cp = va_arg (list, char *)) ^ == 2 warnings generated. ld -x -r concat.o mv a.out concat.o rm -f copy.o shared/copy.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic copy.c copy.c:8:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*to++ = *from++) ~~~~~~^~~~~~~~~ copy.c:8:18: note: place parentheses around the assignment to silence this warning while (*to++ = *from++) ^ ( ) copy.c:8:18: note: use '==' to turn this assignment into an equality comparison while (*to++ = *from++) ^ == 1 warning generated. mv copy.o shared/copy.o rm -f copy.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c copy.c copy.c:8:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*to++ = *from++) ~~~~~~^~~~~~~~~ copy.c:8:18: note: place parentheses around the assignment to silence this warning while (*to++ = *from++) ^ ( ) copy.c:8:18: note: use '==' to turn this assignment into an equality comparison while (*to++ = *from++) ^ == 1 warning generated. ld -x -r copy.o mv a.out copy.o rm -f copyip.o shared/copyip.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic copyip.c mv copyip.o shared/copyip.o rm -f copyip.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c copyip.c ld -x -r copyip.o mv a.out copyip.o rm -f cpydata.o shared/cpydata.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic cpydata.c cpydata.c:16:17: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] while ((i = read (in, buffer, sizeof buffer)) > 0) ^ cpydata.c:17:6: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] if (write (out, buffer, i) != i) ^ 2 warnings generated. mv cpydata.o shared/cpydata.o rm -f cpydata.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c cpydata.c cpydata.c:16:17: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] while ((i = read (in, buffer, sizeof buffer)) > 0) ^ cpydata.c:17:6: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] if (write (out, buffer, i) != i) ^ 2 warnings generated. ld -x -r cpydata.o mv a.out cpydata.o rm -f cpydgst.o shared/cpydgst.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic cpydgst.c cpydgst.c:50:27: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] for (state = S1; (i = read (in, buffer, sizeof buffer)) > 0;) ^ cpydgst.c:57:4: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] output ('-'); ^ cpydgst.c:25:36: note: expanded from macro 'output' #define output(c) if (bp >= dp) {flush(); *bp++ = c;} else *bp++ = c ^ cpydgst.c:26:46: note: expanded from macro 'flush' #define flush() if ((j = bp - outbuf) && write (out, outbuf, j) != j) \ ^ cpydgst.c:58:4: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] output (' '); ^ cpydgst.c:25:36: note: expanded from macro 'output' #define output(c) if (bp >= dp) {flush(); *bp++ = c;} else *bp++ = c ^ cpydgst.c:26:46: note: expanded from macro 'flush' #define flush() if ((j = bp - outbuf) && write (out, outbuf, j) != j) \ ^ cpydgst.c:63:7: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] output (*cp); ^ cpydgst.c:25:36: note: expanded from macro 'output' #define output(c) if (bp >= dp) {flush(); *bp++ = c;} else *bp++ = c ^ cpydgst.c:26:46: note: expanded from macro 'flush' #define flush() if ((j = bp - outbuf) && write (out, outbuf, j) != j) \ ^ cpydgst.c:72:5: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] flush (); ^ cpydgst.c:26:46: note: expanded from macro 'flush' #define flush() if ((j = bp - outbuf) && write (out, outbuf, j) != j) \ ^ 5 warnings generated. mv cpydgst.o shared/cpydgst.o rm -f cpydgst.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c cpydgst.c cpydgst.c:50:27: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] for (state = S1; (i = read (in, buffer, sizeof buffer)) > 0;) ^ cpydgst.c:57:4: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] output ('-'); ^ cpydgst.c:25:36: note: expanded from macro 'output' #define output(c) if (bp >= dp) {flush(); *bp++ = c;} else *bp++ = c ^ cpydgst.c:26:46: note: expanded from macro 'flush' #define flush() if ((j = bp - outbuf) && write (out, outbuf, j) != j) \ ^ cpydgst.c:58:4: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] output (' '); ^ cpydgst.c:25:36: note: expanded from macro 'output' #define output(c) if (bp >= dp) {flush(); *bp++ = c;} else *bp++ = c ^ cpydgst.c:26:46: note: expanded from macro 'flush' #define flush() if ((j = bp - outbuf) && write (out, outbuf, j) != j) \ ^ cpydgst.c:63:7: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] output (*cp); ^ cpydgst.c:25:36: note: expanded from macro 'output' #define output(c) if (bp >= dp) {flush(); *bp++ = c;} else *bp++ = c ^ cpydgst.c:26:46: note: expanded from macro 'flush' #define flush() if ((j = bp - outbuf) && write (out, outbuf, j) != j) \ ^ cpydgst.c:72:5: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] flush (); ^ cpydgst.c:26:46: note: expanded from macro 'flush' #define flush() if ((j = bp - outbuf) && write (out, outbuf, j) != j) \ ^ 5 warnings generated. ld -x -r cpydgst.o mv a.out cpydgst.o rm -f discard.o shared/discard.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic discard.c mv discard.o shared/discard.o rm -f discard.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c discard.c ld -x -r discard.o mv a.out discard.o rm -f done.o shared/done.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic done.c mv done.o shared/done.o rm -f done.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c done.c ld -x -r done.o mv a.out done.o rm -f fdcompare.o shared/fdcompare.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic fdcompare.c fdcompare.c:13:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fdcompare (fd1, fd2) ^ fdcompare.c:27:18: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] while ((n1 = read (fd1, b1, sizeof b1)) >= 0 ^ 2 warnings generated. mv fdcompare.o shared/fdcompare.o rm -f fdcompare.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c fdcompare.c fdcompare.c:13:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fdcompare (fd1, fd2) ^ fdcompare.c:27:18: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] while ((n1 = read (fd1, b1, sizeof b1)) >= 0 ^ 2 warnings generated. ld -x -r fdcompare.o mv a.out fdcompare.o rm -f gans.o shared/gans.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic gans.c gans.c:10:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gans (prompt, ansp) ^ 1 warning generated. mv gans.o shared/gans.o rm -f gans.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c gans.c gans.c:10:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gans (prompt, ansp) ^ 1 warning generated. ld -x -r gans.o mv a.out gans.o rm -f getans.o shared/getans.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic getans.c mv getans.o shared/getans.o rm -f getans.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c getans.c ld -x -r getans.o mv a.out getans.o rm -f getanswer.o shared/getanswer.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic getanswer.c getanswer.c:13:16: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] interactive = isatty (fileno (stdin)) ? DONE : OK; ^ 1 warning generated. mv getanswer.o shared/getanswer.o rm -f getanswer.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c getanswer.c getanswer.c:13:16: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] interactive = isatty (fileno (stdin)) ? DONE : OK; ^ 1 warning generated. ld -x -r getanswer.o mv a.out getanswer.o rm -f getcpy.o shared/getcpy.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic getcpy.c mv getcpy.o shared/getcpy.o rm -f getcpy.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c getcpy.c ld -x -r getcpy.o mv a.out getcpy.o rm -f help.o shared/help.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic help.c help.c:45:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ 1 warning generated. mv help.o shared/help.o rm -f help.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c help.c help.c:45:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ 1 warning generated. ld -x -r help.o mv a.out help.o rm -f fmtcompile.o shared/fmtcompile.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic fmtcompile.c fmtcompile.c:146:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (nm = t->name) { ~~~^~~~~~~~~ fmtcompile.c:146:15: note: place parentheses around the assignment to silence this warning while (nm = t->name) { ^ ( ) fmtcompile.c:146:15: note: use '==' to turn this assignment into an equality comparison while (nm = t->name) { ^ == fmtcompile.c:232:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fmt_compile( fstring, fmt ) ^ fmtcompile.c:479:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (mflag = (c == '-')) ~~~~~~^~~~~~~~~~~~ fmtcompile.c:479:12: note: place parentheses around the assignment to silence this warning if (mflag = (c == '-')) ^ ( ) fmtcompile.c:479:12: note: use '==' to turn this assignment into an equality comparison if (mflag = (c == '-')) ^ == 3 warnings generated. mv fmtcompile.o shared/fmtcompile.o rm -f fmtcompile.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c fmtcompile.c fmtcompile.c:146:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (nm = t->name) { ~~~^~~~~~~~~ fmtcompile.c:146:15: note: place parentheses around the assignment to silence this warning while (nm = t->name) { ^ ( ) fmtcompile.c:146:15: note: use '==' to turn this assignment into an equality comparison while (nm = t->name) { ^ == fmtcompile.c:232:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fmt_compile( fstring, fmt ) ^ fmtcompile.c:479:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (mflag = (c == '-')) ~~~~~~^~~~~~~~~~~~ fmtcompile.c:479:12: note: place parentheses around the assignment to silence this warning if (mflag = (c == '-')) ^ ( ) fmtcompile.c:479:12: note: use '==' to turn this assignment into an equality comparison if (mflag = (c == '-')) ^ == 3 warnings generated. ld -x -r fmtcompile.o mv a.out fmtcompile.o rm -f formataddr.o shared/formataddr.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic formataddr.c formataddr.c:78:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] CPY (orig); ^~~~~~~~~~ formataddr.c:16:42: note: expanded from macro 'CPY' #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } ~~~~~~~^~~~~~~ formataddr.c:78:2: note: place parentheses around the assignment to silence this warning formataddr.c:16:42: note: expanded from macro 'CPY' #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } ^ formataddr.c:78:2: note: use '==' to turn this assignment into an equality comparison formataddr.c:16:42: note: expanded from macro 'CPY' #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } ^ formataddr.c:82:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (isgroup = 0; cp = getname (str); ) { ~~~^~~~~~~~~~~~~~~ formataddr.c:82:26: note: place parentheses around the assignment to silence this warning for (isgroup = 0; cp = getname (str); ) { ^ ( ) formataddr.c:82:26: note: use '==' to turn this assignment into an equality comparison for (isgroup = 0; cp = getname (str); ) { ^ == formataddr.c:97:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] CPY (mp->m_gname); ^~~~~~~~~~~~~~~~~ formataddr.c:16:42: note: expanded from macro 'CPY' #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } ~~~~~~~^~~~~~~ formataddr.c:97:6: note: place parentheses around the assignment to silence this warning formataddr.c:16:42: note: expanded from macro 'CPY' #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } ^ formataddr.c:97:6: note: use '==' to turn this assignment into an equality comparison formataddr.c:16:42: note: expanded from macro 'CPY' #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } ^ formataddr.c:102:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] CPY (sp); ^~~~~~~~ formataddr.c:16:42: note: expanded from macro 'CPY' #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } ~~~~~~~^~~~~~~ formataddr.c:102:2: note: place parentheses around the assignment to silence this warning formataddr.c:16:42: note: expanded from macro 'CPY' #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } ^ formataddr.c:102:2: note: use '==' to turn this assignment into an equality comparison formataddr.c:16:42: note: expanded from macro 'CPY' #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } ^ 4 warnings generated. mv formataddr.o shared/formataddr.o rm -f formataddr.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c formataddr.c formataddr.c:78:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] CPY (orig); ^~~~~~~~~~ formataddr.c:16:42: note: expanded from macro 'CPY' #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } ~~~~~~~^~~~~~~ formataddr.c:78:2: note: place parentheses around the assignment to silence this warning formataddr.c:16:42: note: expanded from macro 'CPY' #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } ^ formataddr.c:78:2: note: use '==' to turn this assignment into an equality comparison formataddr.c:16:42: note: expanded from macro 'CPY' #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } ^ formataddr.c:82:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (isgroup = 0; cp = getname (str); ) { ~~~^~~~~~~~~~~~~~~ formataddr.c:82:26: note: place parentheses around the assignment to silence this warning for (isgroup = 0; cp = getname (str); ) { ^ ( ) formataddr.c:82:26: note: use '==' to turn this assignment into an equality comparison for (isgroup = 0; cp = getname (str); ) { ^ == formataddr.c:97:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] CPY (mp->m_gname); ^~~~~~~~~~~~~~~~~ formataddr.c:16:42: note: expanded from macro 'CPY' #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } ~~~~~~~^~~~~~~ formataddr.c:97:6: note: place parentheses around the assignment to silence this warning formataddr.c:16:42: note: expanded from macro 'CPY' #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } ^ formataddr.c:97:6: note: use '==' to turn this assignment into an equality comparison formataddr.c:16:42: note: expanded from macro 'CPY' #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } ^ formataddr.c:102:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] CPY (sp); ^~~~~~~~ formataddr.c:16:42: note: expanded from macro 'CPY' #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } ~~~~~~~^~~~~~~ formataddr.c:102:2: note: place parentheses around the assignment to silence this warning formataddr.c:16:42: note: expanded from macro 'CPY' #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } ^ formataddr.c:102:2: note: use '==' to turn this assignment into an equality comparison formataddr.c:16:42: note: expanded from macro 'CPY' #define CPY(s) { cp = (s); while (*dst++ = *cp++) ; --dst; } ^ 4 warnings generated. ld -x -r formataddr.o mv a.out formataddr.o rm -f formatsbr.o shared/formatsbr.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic formatsbr.c formatsbr.c:28:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static normalize(); ~~~~~~ ^ formatsbr.c:65:6: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] if (read (fileno(fp), formats, (int) st.st_size) != st.st_size) ^ formatsbr.c:87:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static normalize (cp) ~~~~~~ ^ formatsbr.c:115:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ formatsbr.c:133:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c1 = *sub) { ~~~^~~~~~ formatsbr.c:133:15: note: place parentheses around the assignment to silence this warning while (c1 = *sub) { ^ ( ) formatsbr.c:133:15: note: use '==' to turn this assignment into an equality comparison while (c1 = *sub) { ^ == formatsbr.c:444:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (mbox = buffer; mbox = index (mbox, '.'); ) ~~~~~^~~~~~~~~~~~~~~~~~~ formatsbr.c:444:27: note: place parentheses around the assignment to silence this warning for (mbox = buffer; mbox = index (mbox, '.'); ) ^ ( ) formatsbr.c:444:27: note: use '==' to turn this assignment into an equality comparison for (mbox = buffer; mbox = index (mbox, '.'); ) ^ == formatsbr.c:473:32: warning: field width should have type 'int', but argument has type 'long' [-Wformat] (void) sprintf (buffer, "%*.*s", cp - mbox, cp - mbox, mbox); ~~^~~ ~~~~~~~~~ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, fmt->f_comp->c_text); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:399:12: note: expanded from macro 'PUTS' if (sp = (str)) {\ ~~~^~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:399:12: note: expanded from macro 'PUTS' if (sp = (str)) {\ ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:399:12: note: expanded from macro 'PUTS' if (sp = (str)) {\ ^ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, fmt->f_comp->c_text); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ~~~^~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, fmt->f_comp->c_text); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ~~~~^~~~~~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, fmt->f_comp->c_text); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ~~~^~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, fmt->f_comp->c_text); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ~~~~^~~~~~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, fmt->f_comp->c_text); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ~~~^~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, fmt->f_comp->c_text); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ~~~~^~~~~~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:360:12: note: expanded from macro 'PUTSF' if (sp = (str)) {\ ~~~^~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:360:12: note: expanded from macro 'PUTSF' if (sp = (str)) {\ ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:360:12: note: expanded from macro 'PUTSF' if (sp = (str)) {\ ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:371:6: note: expanded from macro 'PUTSF' SKIP_SPACE(sp);\ ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ~~~^~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:371:6: note: expanded from macro 'PUTSF' SKIP_SPACE(sp);\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:371:6: note: expanded from macro 'PUTSF' SKIP_SPACE(sp);\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:371:6: note: expanded from macro 'PUTSF' SKIP_SPACE(sp);\ ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ~~~~^~~~~~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:371:6: note: expanded from macro 'PUTSF' SKIP_SPACE(sp);\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:371:6: note: expanded from macro 'PUTSF' SKIP_SPACE(sp);\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:379:10: note: expanded from macro 'PUTSF' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ~~~^~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:379:10: note: expanded from macro 'PUTSF' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:379:10: note: expanded from macro 'PUTSF' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:379:10: note: expanded from macro 'PUTSF' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ~~~~^~~~~~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:379:10: note: expanded from macro 'PUTSF' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:379:10: note: expanded from macro 'PUTSF' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:388:7: note: expanded from macro 'PUTSF' SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ~~~^~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:388:7: note: expanded from macro 'PUTSF' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:388:7: note: expanded from macro 'PUTSF' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:388:7: note: expanded from macro 'PUTSF' SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ~~~~^~~~~~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:388:7: note: expanded from macro 'PUTSF' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:388:7: note: expanded from macro 'PUTSF' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, str); ^~~~~~~~~~~~~~ formatsbr.c:399:12: note: expanded from macro 'PUTS' if (sp = (str)) {\ ~~~^~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:399:12: note: expanded from macro 'PUTS' if (sp = (str)) {\ ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:399:12: note: expanded from macro 'PUTS' if (sp = (str)) {\ ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, str); ^~~~~~~~~~~~~~ formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ~~~^~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, str); ^~~~~~~~~~~~~~ formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ~~~~^~~~~~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, str); ^~~~~~~~~~~~~~ formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ~~~^~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, str); ^~~~~~~~~~~~~~ formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ~~~~^~~~~~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, str); ^~~~~~~~~~~~~~ formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ~~~^~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, str); ^~~~~~~~~~~~~~ formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ~~~~^~~~~~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTSF (cp, str, fmt->f_width, fmt->f_fill); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:360:12: note: expanded from macro 'PUTSF' if (sp = (str)) {\ ~~~^~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:360:12: note: expanded from macro 'PUTSF' if (sp = (str)) {\ ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:360:12: note: expanded from macro 'PUTSF' if (sp = (str)) {\ ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTSF (cp, str, fmt->f_width, fmt->f_fill); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:371:6: note: expanded from macro 'PUTSF' SKIP_SPACE(sp);\ ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ~~~^~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:371:6: note: expanded from macro 'PUTSF' SKIP_SPACE(sp);\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:371:6: note: expanded from macro 'PUTSF' SKIP_SPACE(sp);\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTSF (cp, str, fmt->f_width, fmt->f_fill); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:371:6: note: expanded from macro 'PUTSF' SKIP_SPACE(sp);\ ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ~~~~^~~~~~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:371:6: note: expanded from macro 'PUTSF' SKIP_SPACE(sp);\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:371:6: note: expanded from macro 'PUTSF' SKIP_SPACE(sp);\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTSF (cp, str, fmt->f_width, fmt->f_fill); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:379:10: note: expanded from macro 'PUTSF' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ~~~^~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:379:10: note: expanded from macro 'PUTSF' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:379:10: note: expanded from macro 'PUTSF' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTSF (cp, str, fmt->f_width, fmt->f_fill); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:379:10: note: expanded from macro 'PUTSF' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ~~~~^~~~~~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:379:10: note: expanded from macro 'PUTSF' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:379:10: note: expanded from macro 'PUTSF' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTSF (cp, str, fmt->f_width, fmt->f_fill); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:388:7: note: expanded from macro 'PUTSF' SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ~~~^~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:388:7: note: expanded from macro 'PUTSF' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:388:7: note: expanded from macro 'PUTSF' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTSF (cp, str, fmt->f_width, fmt->f_fill); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:388:7: note: expanded from macro 'PUTSF' SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ~~~~^~~~~~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:388:7: note: expanded from macro 'PUTSF' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:388:7: note: expanded from macro 'PUTSF' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:589:35: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(value = (str && match (str, fmt->f_text)))) { ^~~ formatsbr.c:589:40: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(value = (str && match (str, fmt->f_text)))) { ^~~~~~~~~~~ formatsbr.c:597:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] value = match (str, fmt->f_text); ^~~ formatsbr.c:597:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] value = match (str, fmt->f_text); ^~~~~~~~~~~ formatsbr.c:691:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SKIP_SPACE(str); ^~~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ~~~^~~~~~~ formatsbr.c:691:7: note: place parentheses around the assignment to silence this warning formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:691:7: note: use '==' to turn this assignment into an equality comparison formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:691:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SKIP_SPACE(str); ^~~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ~~~~^~~~~~~~~~~ formatsbr.c:691:7: note: place parentheses around the assignment to silence this warning formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:691:7: note: use '==' to turn this assignment into an equality comparison formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:707:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (ch = *xp++) { ~~~^~~~~~~ formatsbr.c:707:17: note: place parentheses around the assignment to silence this warning while (ch = *xp++) { ^ ( ) formatsbr.c:707:17: note: use '==' to turn this assignment into an equality comparison while (ch = *xp++) { ^ == formatsbr.c:711:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ch2 = *xp++) { ~~~~^~~~~~~ formatsbr.c:711:16: note: place parentheses around the assignment to silence this warning if (ch2 = *xp++) { ^ ( ) formatsbr.c:711:16: note: use '==' to turn this assignment into an equality comparison if (ch2 = *xp++) { ^ == formatsbr.c:724:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (ch = *str) { ~~~^~~~~~ formatsbr.c:724:14: note: place parentheses around the assignment to silence this warning while (ch = *str) { ^ ( ) formatsbr.c:724:14: note: use '==' to turn this assignment into an equality comparison while (ch = *str) { ^ == formatsbr.c:815:3: warning: implicit declaration of function 'set_dotw' is invalid in C99 [-Wimplicit-function-declaration] set_dotw (tws); ^ formatsbr.c:913:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (str = mn -> m_note) { ~~~~^~~~~~~~~~~~~~ formatsbr.c:913:11: note: place parentheses around the assignment to silence this warning if (str = mn -> m_note) { ^ ( ) formatsbr.c:913:11: note: use '==' to turn this assignment into an equality comparison if (str = mn -> m_note) { ^ == formatsbr.c:1040:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, lp); ^~~~~~~~~~~~~ formatsbr.c:399:12: note: expanded from macro 'PUTS' if (sp = (str)) {\ ~~~^~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:399:12: note: expanded from macro 'PUTS' if (sp = (str)) {\ ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:399:12: note: expanded from macro 'PUTS' if (sp = (str)) {\ ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, lp); ^~~~~~~~~~~~~ formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ~~~^~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, lp); ^~~~~~~~~~~~~ formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ~~~~^~~~~~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, lp); ^~~~~~~~~~~~~ formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ~~~^~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, lp); ^~~~~~~~~~~~~ formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ~~~~^~~~~~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, lp); ^~~~~~~~~~~~~ formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ~~~^~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, lp); ^~~~~~~~~~~~~ formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ~~~~^~~~~~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:1087:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (sp = getname(sp)) ~~~^~~~~~~~~~~~~ formatsbr.c:1087:13: note: place parentheses around the assignment to silence this warning while (sp = getname(sp)) ^ ( ) formatsbr.c:1087:13: note: use '==' to turn this assignment into an equality comparison while (sp = getname(sp)) ^ == 55 warnings generated. mv formatsbr.o shared/formatsbr.o rm -f formatsbr.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c formatsbr.c formatsbr.c:28:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static normalize(); ~~~~~~ ^ formatsbr.c:65:6: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] if (read (fileno(fp), formats, (int) st.st_size) != st.st_size) ^ formatsbr.c:87:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static normalize (cp) ~~~~~~ ^ formatsbr.c:115:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ formatsbr.c:133:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c1 = *sub) { ~~~^~~~~~ formatsbr.c:133:15: note: place parentheses around the assignment to silence this warning while (c1 = *sub) { ^ ( ) formatsbr.c:133:15: note: use '==' to turn this assignment into an equality comparison while (c1 = *sub) { ^ == formatsbr.c:444:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (mbox = buffer; mbox = index (mbox, '.'); ) ~~~~~^~~~~~~~~~~~~~~~~~~ formatsbr.c:444:27: note: place parentheses around the assignment to silence this warning for (mbox = buffer; mbox = index (mbox, '.'); ) ^ ( ) formatsbr.c:444:27: note: use '==' to turn this assignment into an equality comparison for (mbox = buffer; mbox = index (mbox, '.'); ) ^ == formatsbr.c:473:32: warning: field width should have type 'int', but argument has type 'long' [-Wformat] (void) sprintf (buffer, "%*.*s", cp - mbox, cp - mbox, mbox); ~~^~~ ~~~~~~~~~ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, fmt->f_comp->c_text); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:399:12: note: expanded from macro 'PUTS' if (sp = (str)) {\ ~~~^~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:399:12: note: expanded from macro 'PUTS' if (sp = (str)) {\ ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:399:12: note: expanded from macro 'PUTS' if (sp = (str)) {\ ^ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, fmt->f_comp->c_text); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ~~~^~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, fmt->f_comp->c_text); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ~~~~^~~~~~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, fmt->f_comp->c_text); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ~~~^~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, fmt->f_comp->c_text); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ~~~~^~~~~~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, fmt->f_comp->c_text); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ~~~^~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:505:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, fmt->f_comp->c_text); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ~~~~^~~~~~~~~~~ formatsbr.c:505:6: note: place parentheses around the assignment to silence this warning formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:505:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:360:12: note: expanded from macro 'PUTSF' if (sp = (str)) {\ ~~~^~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:360:12: note: expanded from macro 'PUTSF' if (sp = (str)) {\ ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:360:12: note: expanded from macro 'PUTSF' if (sp = (str)) {\ ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:371:6: note: expanded from macro 'PUTSF' SKIP_SPACE(sp);\ ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ~~~^~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:371:6: note: expanded from macro 'PUTSF' SKIP_SPACE(sp);\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:371:6: note: expanded from macro 'PUTSF' SKIP_SPACE(sp);\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:371:6: note: expanded from macro 'PUTSF' SKIP_SPACE(sp);\ ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ~~~~^~~~~~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:371:6: note: expanded from macro 'PUTSF' SKIP_SPACE(sp);\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:371:6: note: expanded from macro 'PUTSF' SKIP_SPACE(sp);\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:379:10: note: expanded from macro 'PUTSF' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ~~~^~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:379:10: note: expanded from macro 'PUTSF' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:379:10: note: expanded from macro 'PUTSF' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:379:10: note: expanded from macro 'PUTSF' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ~~~~^~~~~~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:379:10: note: expanded from macro 'PUTSF' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:379:10: note: expanded from macro 'PUTSF' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:388:7: note: expanded from macro 'PUTSF' SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ~~~^~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:388:7: note: expanded from macro 'PUTSF' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:388:7: note: expanded from macro 'PUTSF' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:508:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTSF (cp, fmt->f_comp->c_text, fmt->f_width, fmt->f_fill); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:388:7: note: expanded from macro 'PUTSF' SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ~~~~^~~~~~~~~~~ formatsbr.c:508:6: note: place parentheses around the assignment to silence this warning formatsbr.c:388:7: note: expanded from macro 'PUTSF' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:508:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:388:7: note: expanded from macro 'PUTSF' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, str); ^~~~~~~~~~~~~~ formatsbr.c:399:12: note: expanded from macro 'PUTS' if (sp = (str)) {\ ~~~^~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:399:12: note: expanded from macro 'PUTS' if (sp = (str)) {\ ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:399:12: note: expanded from macro 'PUTS' if (sp = (str)) {\ ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, str); ^~~~~~~~~~~~~~ formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ~~~^~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, str); ^~~~~~~~~~~~~~ formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ~~~~^~~~~~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, str); ^~~~~~~~~~~~~~ formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ~~~^~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, str); ^~~~~~~~~~~~~~ formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ~~~~^~~~~~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, str); ^~~~~~~~~~~~~~ formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ~~~^~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:531:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, str); ^~~~~~~~~~~~~~ formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ~~~~^~~~~~~~~~~ formatsbr.c:531:6: note: place parentheses around the assignment to silence this warning formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:531:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTSF (cp, str, fmt->f_width, fmt->f_fill); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:360:12: note: expanded from macro 'PUTSF' if (sp = (str)) {\ ~~~^~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:360:12: note: expanded from macro 'PUTSF' if (sp = (str)) {\ ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:360:12: note: expanded from macro 'PUTSF' if (sp = (str)) {\ ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTSF (cp, str, fmt->f_width, fmt->f_fill); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:371:6: note: expanded from macro 'PUTSF' SKIP_SPACE(sp);\ ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ~~~^~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:371:6: note: expanded from macro 'PUTSF' SKIP_SPACE(sp);\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:371:6: note: expanded from macro 'PUTSF' SKIP_SPACE(sp);\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTSF (cp, str, fmt->f_width, fmt->f_fill); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:371:6: note: expanded from macro 'PUTSF' SKIP_SPACE(sp);\ ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ~~~~^~~~~~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:371:6: note: expanded from macro 'PUTSF' SKIP_SPACE(sp);\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:371:6: note: expanded from macro 'PUTSF' SKIP_SPACE(sp);\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTSF (cp, str, fmt->f_width, fmt->f_fill); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:379:10: note: expanded from macro 'PUTSF' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ~~~^~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:379:10: note: expanded from macro 'PUTSF' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:379:10: note: expanded from macro 'PUTSF' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTSF (cp, str, fmt->f_width, fmt->f_fill); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:379:10: note: expanded from macro 'PUTSF' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ~~~~^~~~~~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:379:10: note: expanded from macro 'PUTSF' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:379:10: note: expanded from macro 'PUTSF' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTSF (cp, str, fmt->f_width, fmt->f_fill); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:388:7: note: expanded from macro 'PUTSF' SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ~~~^~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:388:7: note: expanded from macro 'PUTSF' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:388:7: note: expanded from macro 'PUTSF' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:534:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTSF (cp, str, fmt->f_width, fmt->f_fill); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formatsbr.c:388:7: note: expanded from macro 'PUTSF' SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ~~~~^~~~~~~~~~~ formatsbr.c:534:6: note: place parentheses around the assignment to silence this warning formatsbr.c:388:7: note: expanded from macro 'PUTSF' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:534:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:388:7: note: expanded from macro 'PUTSF' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:589:35: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(value = (str && match (str, fmt->f_text)))) { ^~~ formatsbr.c:589:40: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!(value = (str && match (str, fmt->f_text)))) { ^~~~~~~~~~~ formatsbr.c:597:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] value = match (str, fmt->f_text); ^~~ formatsbr.c:597:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] value = match (str, fmt->f_text); ^~~~~~~~~~~ formatsbr.c:691:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SKIP_SPACE(str); ^~~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ~~~^~~~~~~ formatsbr.c:691:7: note: place parentheses around the assignment to silence this warning formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:691:7: note: use '==' to turn this assignment into an equality comparison formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:691:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SKIP_SPACE(str); ^~~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ~~~~^~~~~~~~~~~ formatsbr.c:691:7: note: place parentheses around the assignment to silence this warning formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:691:7: note: use '==' to turn this assignment into an equality comparison formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:707:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (ch = *xp++) { ~~~^~~~~~~ formatsbr.c:707:17: note: place parentheses around the assignment to silence this warning while (ch = *xp++) { ^ ( ) formatsbr.c:707:17: note: use '==' to turn this assignment into an equality comparison while (ch = *xp++) { ^ == formatsbr.c:711:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ch2 = *xp++) { ~~~~^~~~~~~ formatsbr.c:711:16: note: place parentheses around the assignment to silence this warning if (ch2 = *xp++) { ^ ( ) formatsbr.c:711:16: note: use '==' to turn this assignment into an equality comparison if (ch2 = *xp++) { ^ == formatsbr.c:724:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (ch = *str) { ~~~^~~~~~ formatsbr.c:724:14: note: place parentheses around the assignment to silence this warning while (ch = *str) { ^ ( ) formatsbr.c:724:14: note: use '==' to turn this assignment into an equality comparison while (ch = *str) { ^ == formatsbr.c:815:3: warning: implicit declaration of function 'set_dotw' is invalid in C99 [-Wimplicit-function-declaration] set_dotw (tws); ^ formatsbr.c:913:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (str = mn -> m_note) { ~~~~^~~~~~~~~~~~~~ formatsbr.c:913:11: note: place parentheses around the assignment to silence this warning if (str = mn -> m_note) { ^ ( ) formatsbr.c:913:11: note: use '==' to turn this assignment into an equality comparison if (str = mn -> m_note) { ^ == formatsbr.c:1040:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, lp); ^~~~~~~~~~~~~ formatsbr.c:399:12: note: expanded from macro 'PUTS' if (sp = (str)) {\ ~~~^~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:399:12: note: expanded from macro 'PUTS' if (sp = (str)) {\ ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:399:12: note: expanded from macro 'PUTS' if (sp = (str)) {\ ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, lp); ^~~~~~~~~~~~~ formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ~~~^~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, lp); ^~~~~~~~~~~~~ formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ~~~~^~~~~~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:400:2: note: expanded from macro 'PUTS' SKIP_SPACE(sp);\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, lp); ^~~~~~~~~~~~~ formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ~~~^~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, lp); ^~~~~~~~~~~~~ formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ~~~~^~~~~~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:407:10: note: expanded from macro 'PUTS' sp++; SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, lp); ^~~~~~~~~~~~~ formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ~~~^~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:340:15: note: expanded from macro 'SKIP_SPACE' while (ch = *(sp)) {\ ^ formatsbr.c:1054:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] PUTS (cp, lp); ^~~~~~~~~~~~~ formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^~~~~~~~~~~~~~ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ~~~~^~~~~~~~~~~ formatsbr.c:1054:6: note: place parentheses around the assignment to silence this warning formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:1054:6: note: use '==' to turn this assignment into an equality comparison formatsbr.c:416:7: note: expanded from macro 'PUTS' SKIP_SPACE(sp); *cp++ = ' ';\ ^ formatsbr.c:343:17: note: expanded from macro 'SKIP_SPACE' } else if (ch2 = *((sp)+1)) {\ ^ formatsbr.c:1087:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (sp = getname(sp)) ~~~^~~~~~~~~~~~~ formatsbr.c:1087:13: note: place parentheses around the assignment to silence this warning while (sp = getname(sp)) ^ ( ) formatsbr.c:1087:13: note: use '==' to turn this assignment into an equality comparison while (sp = getname(sp)) ^ == 55 warnings generated. ld -x -r formatsbr.o mv a.out formatsbr.o rm -f m_atoi.o shared/m_atoi.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic m_atoi.c m_atoi.c:9:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] m_atoi (str) ^ 1 warning generated. mv m_atoi.o shared/m_atoi.o rm -f m_atoi.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c m_atoi.c m_atoi.c:9:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] m_atoi (str) ^ 1 warning generated. ld -x -r m_atoi.o mv a.out m_atoi.o rm -f m_backup.o shared/m_backup.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic m_backup.c m_backup.c:16:29: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] (void) sprintf (buffer, "%.*s%s%s", cp - file, file, SBACKUP, cp); ~~^~ ~~~~~~~~~ m_backup.c:17:13: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] (void) (unlink (buffer)); ^ 2 warnings generated. mv m_backup.o shared/m_backup.o rm -f m_backup.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c m_backup.c m_backup.c:16:29: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] (void) sprintf (buffer, "%.*s%s%s", cp - file, file, SBACKUP, cp); ~~^~ ~~~~~~~~~ m_backup.c:17:13: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] (void) (unlink (buffer)); ^ 2 warnings generated. ld -x -r m_backup.o mv a.out m_backup.o rm -f m_convert.o shared/m_convert.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic m_convert.c m_convert.c:24:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static m_conv(), attr(); ~~~~~~ ^ m_convert.c:24:18: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static m_conv(), attr(); ~~~~~~ ^ m_convert.c:27:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] m_convert (mp, name) ^ m_convert.c:59:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ m_convert.c:194:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static m_conv (mp, str, call) ~~~~~~ ^ m_convert.c:262:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static attr (mp, cp) ~~~~~~ ^ m_convert.c:281:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (inverted = (dp = m_find (nsequence)) && *dp && ssequal (dp, cp)) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m_convert.c:281:18: note: place parentheses around the assignment to silence this warning if (inverted = (dp = m_find (nsequence)) && *dp && ssequal (dp, cp)) ^ ( ) m_convert.c:281:18: note: use '==' to turn this assignment into an equality comparison if (inverted = (dp = m_find (nsequence)) && *dp && ssequal (dp, cp)) ^ == 7 warnings generated. mv m_convert.o shared/m_convert.o rm -f m_convert.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c m_convert.c m_convert.c:24:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static m_conv(), attr(); ~~~~~~ ^ m_convert.c:24:18: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static m_conv(), attr(); ~~~~~~ ^ m_convert.c:27:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] m_convert (mp, name) ^ m_convert.c:59:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ m_convert.c:194:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static m_conv (mp, str, call) ~~~~~~ ^ m_convert.c:262:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static attr (mp, cp) ~~~~~~ ^ m_convert.c:281:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (inverted = (dp = m_find (nsequence)) && *dp && ssequal (dp, cp)) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m_convert.c:281:18: note: place parentheses around the assignment to silence this warning if (inverted = (dp = m_find (nsequence)) && *dp && ssequal (dp, cp)) ^ ( ) m_convert.c:281:18: note: use '==' to turn this assignment into an equality comparison if (inverted = (dp = m_find (nsequence)) && *dp && ssequal (dp, cp)) ^ == 7 warnings generated. ld -x -r m_convert.o mv a.out m_convert.o rm -f m_delete.o shared/m_delete.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic m_delete.c m_delete.c:7:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] m_delete (key) ^ 1 warning generated. mv m_delete.o shared/m_delete.o rm -f m_delete.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c m_delete.c m_delete.c:7:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] m_delete (key) ^ 1 warning generated. ld -x -r m_delete.o mv a.out m_delete.o rm -f m_draft.o shared/m_draft.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic m_draft.c m_draft.c:35:12: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration] (void) chdir (m_maildir ("")); ^ 1 warning generated. mv m_draft.o shared/m_draft.o rm -f m_draft.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c m_draft.c m_draft.c:35:12: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration] (void) chdir (m_maildir ("")); ^ 1 warning generated. ld -x -r m_draft.o mv a.out m_draft.o rm -f m_find.o shared/m_find.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic m_find.c mv m_find.o shared/m_find.o rm -f m_find.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c m_find.c ld -x -r m_find.o mv a.out m_find.o rm -f m_fmsg.o shared/m_fmsg.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic m_fmsg.c mv m_fmsg.o shared/m_fmsg.o rm -f m_fmsg.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c m_fmsg.c ld -x -r m_fmsg.o mv a.out m_fmsg.o rm -f m_foil.o shared/m_foil.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic m_foil.c mv m_foil.o shared/m_foil.o rm -f m_foil.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c m_foil.c ld -x -r m_foil.o mv a.out m_foil.o rm -f m_getdefs.o shared/m_getdefs.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic m_getdefs.c m_getdefs.c:49:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (mypath = getenv ("HOME")) ~~~~~~~^~~~~~~~~~~~~~~~~ m_getdefs.c:49:13: note: place parentheses around the assignment to silence this warning if (mypath = getenv ("HOME")) ^ ( ) m_getdefs.c:49:13: note: use '==' to turn this assignment into an equality comparison if (mypath = getenv ("HOME")) ^ == m_getdefs.c:212:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 2 warnings generated. mv m_getdefs.o shared/m_getdefs.o rm -f m_getdefs.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c m_getdefs.c m_getdefs.c:49:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (mypath = getenv ("HOME")) ~~~~~~~^~~~~~~~~~~~~~~~~ m_getdefs.c:49:13: note: place parentheses around the assignment to silence this warning if (mypath = getenv ("HOME")) ^ ( ) m_getdefs.c:49:13: note: use '==' to turn this assignment into an equality comparison if (mypath = getenv ("HOME")) ^ == m_getdefs.c:212:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 2 warnings generated. ld -x -r m_getdefs.o mv a.out m_getdefs.o rm -f m_getfld.o shared/m_getfld.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic m_getfld.c m_getfld.c:189:21: warning: extra tokens at end of #ifdef directive [-Wextra-tokens] #ifdef __DragonFly__) ^ // m_getfld.c:195:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] m_getfld (state, name, buf, bufsz, iob) ^ m_getfld.c:227:9: warning: implicit declaration of function 'm_Eom' is invalid in C99 [-Wimplicit-function-declaration] if (eom (c, iob)) { ^ m_getfld.c:138:28: note: expanded from macro 'eom' (((c) == *msg_delim && m_Eom(c,iob)) ||\ ^ m_getfld.c:395:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (ep = locc( c, bp, '\n' )) { ~~~^~~~~~~~~~~~~~~~~~~~~ m_getfld.c:395:13: note: place parentheses around the assignment to silence this warning while (ep = locc( c, bp, '\n' )) { ^ ( ) m_getfld.c:395:13: note: use '==' to turn this assignment into an equality comparison while (ep = locc( c, bp, '\n' )) { ^ == m_getfld.c:534:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ep = matchc( fdelimlen, fdelim, c, bp ) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m_getfld.c:534:10: note: place parentheses around the assignment to silence this warning if (ep = matchc( fdelimlen, fdelim, c, bp ) ) ^ ( ) m_getfld.c:534:10: note: use '==' to turn this assignment into an equality comparison if (ep = matchc( fdelimlen, fdelim, c, bp ) ) ^ == m_getfld.c:551:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sp = pat_map[*ep & 0x00ff]) { ~~~^~~~~~~~~~~~~~~~~~~~~~~ m_getfld.c:551:14: note: place parentheses around the assignment to silence this warning if (sp = pat_map[*ep & 0x00ff]) { ^ ( ) m_getfld.c:551:14: note: use '==' to turn this assignment into an equality comparison if (sp = pat_map[*ep & 0x00ff]) { ^ == m_getfld.c:687:33: warning: implicit declaration of function 'm_Eom' is invalid in C99 [-Wimplicit-function-declaration] while ((c = Getc(iob)) >= 0 && eom (c, iob)) ^ m_getfld.c:138:28: note: expanded from macro 'eom' (((c) == *msg_delim && m_Eom(c,iob)) ||\ ^ m_getfld.c:698:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (eom_action = action) { ~~~~~~~~~~~^~~~~~~~ m_getfld.c:698:20: note: place parentheses around the assignment to silence this warning if (eom_action = action) { ^ ( ) m_getfld.c:698:20: note: use '==' to turn this assignment into an equality comparison if (eom_action = action) { ^ == m_getfld.c:814:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = dp = index (unixbuf, ' ')) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ m_getfld.c:814:12: note: place parentheses around the assignment to silence this warning if (cp = dp = index (unixbuf, ' ')) { ^ ( ) m_getfld.c:814:12: note: use '==' to turn this assignment into an equality comparison if (cp = dp = index (unixbuf, ' ')) { ^ == m_getfld.c:815:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cp = index (cp + 1, 'r')) ~~~^~~~~~~~~~~~~~~~~~~~~ m_getfld.c:815:12: note: place parentheses around the assignment to silence this warning while (cp = index (cp + 1, 'r')) ^ ( ) m_getfld.c:815:12: note: use '==' to turn this assignment into an equality comparison while (cp = index (cp + 1, 'r')) ^ == 10 warnings generated. mv m_getfld.o shared/m_getfld.o rm -f m_getfld.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c m_getfld.c m_getfld.c:189:21: warning: extra tokens at end of #ifdef directive [-Wextra-tokens] #ifdef __DragonFly__) ^ // m_getfld.c:195:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] m_getfld (state, name, buf, bufsz, iob) ^ m_getfld.c:227:9: warning: implicit declaration of function 'm_Eom' is invalid in C99 [-Wimplicit-function-declaration] if (eom (c, iob)) { ^ m_getfld.c:138:28: note: expanded from macro 'eom' (((c) == *msg_delim && m_Eom(c,iob)) ||\ ^ m_getfld.c:395:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (ep = locc( c, bp, '\n' )) { ~~~^~~~~~~~~~~~~~~~~~~~~ m_getfld.c:395:13: note: place parentheses around the assignment to silence this warning while (ep = locc( c, bp, '\n' )) { ^ ( ) m_getfld.c:395:13: note: use '==' to turn this assignment into an equality comparison while (ep = locc( c, bp, '\n' )) { ^ == m_getfld.c:534:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ep = matchc( fdelimlen, fdelim, c, bp ) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m_getfld.c:534:10: note: place parentheses around the assignment to silence this warning if (ep = matchc( fdelimlen, fdelim, c, bp ) ) ^ ( ) m_getfld.c:534:10: note: use '==' to turn this assignment into an equality comparison if (ep = matchc( fdelimlen, fdelim, c, bp ) ) ^ == m_getfld.c:551:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sp = pat_map[*ep & 0x00ff]) { ~~~^~~~~~~~~~~~~~~~~~~~~~~ m_getfld.c:551:14: note: place parentheses around the assignment to silence this warning if (sp = pat_map[*ep & 0x00ff]) { ^ ( ) m_getfld.c:551:14: note: use '==' to turn this assignment into an equality comparison if (sp = pat_map[*ep & 0x00ff]) { ^ == m_getfld.c:687:33: warning: implicit declaration of function 'm_Eom' is invalid in C99 [-Wimplicit-function-declaration] while ((c = Getc(iob)) >= 0 && eom (c, iob)) ^ m_getfld.c:138:28: note: expanded from macro 'eom' (((c) == *msg_delim && m_Eom(c,iob)) ||\ ^ m_getfld.c:698:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (eom_action = action) { ~~~~~~~~~~~^~~~~~~~ m_getfld.c:698:20: note: place parentheses around the assignment to silence this warning if (eom_action = action) { ^ ( ) m_getfld.c:698:20: note: use '==' to turn this assignment into an equality comparison if (eom_action = action) { ^ == m_getfld.c:814:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = dp = index (unixbuf, ' ')) { ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ m_getfld.c:814:12: note: place parentheses around the assignment to silence this warning if (cp = dp = index (unixbuf, ' ')) { ^ ( ) m_getfld.c:814:12: note: use '==' to turn this assignment into an equality comparison if (cp = dp = index (unixbuf, ' ')) { ^ == m_getfld.c:815:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cp = index (cp + 1, 'r')) ~~~^~~~~~~~~~~~~~~~~~~~~ m_getfld.c:815:12: note: place parentheses around the assignment to silence this warning while (cp = index (cp + 1, 'r')) ^ ( ) m_getfld.c:815:12: note: use '==' to turn this assignment into an equality comparison while (cp = index (cp + 1, 'r')) ^ == 10 warnings generated. ld -x -r m_getfld.o mv a.out m_getfld.o rm -f m_getfolder.o shared/m_getfolder.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic m_getfolder.c mv m_getfolder.o shared/m_getfolder.o rm -f m_getfolder.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c m_getfolder.c ld -x -r m_getfolder.o mv a.out m_getfolder.o rm -f m_gmprot.o shared/m_gmprot.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic m_gmprot.c m_gmprot.c:7:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] m_gmprot () { ^ 1 warning generated. mv m_gmprot.o shared/m_gmprot.o rm -f m_gmprot.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c m_gmprot.c m_gmprot.c:7:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] m_gmprot () { ^ 1 warning generated. ld -x -r m_gmprot.o mv a.out m_gmprot.o rm -f m_gmsg.o shared/m_gmsg.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic m_gmsg.c m_gmsg.c:20:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static m_getatr(); ~~~~~~ ^ m_gmsg.c:66:22: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration] if (st.st_uid != getuid () || access (name, 02) == NOTOK) ^ m_gmsg.c:66:35: warning: implicit declaration of function 'access' is invalid in C99 [-Wimplicit-function-declaration] if (st.st_uid != getuid () || access (name, 02) == NOTOK) ^ m_gmsg.c:78:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (dp = readdir (dd)) { ~~~^~~~~~~~~~~~~~ m_gmsg.c:78:15: note: place parentheses around the assignment to silence this warning while (dp = readdir (dd)) { ^ ( ) m_gmsg.c:78:15: note: use '==' to turn this assignment into an equality comparison while (dp = readdir (dd)) { ^ == m_gmsg.c:88:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (i = m_atoi (dp -> d_name)) { ~~^~~~~~~~~~~~~~~~~~~~~~~ m_gmsg.c:88:8: note: place parentheses around the assignment to silence this warning if (i = m_atoi (dp -> d_name)) { ^ ( ) m_gmsg.c:88:8: note: use '==' to turn this assignment into an equality comparison if (i = m_atoi (dp -> d_name)) { ^ == m_gmsg.c:220:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static m_getatr (mp) ~~~~~~ ^ m_gmsg.c:239:27: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] mp -> msgattrs[++i] = '\0'; ^~~~ m_gmsg.c:247:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fp = fopen (field, "r")) { ~~~^~~~~~~~~~~~~~~~~~~~ m_gmsg.c:247:12: note: place parentheses around the assignment to silence this warning if (fp = fopen (field, "r")) { ^ ( ) m_gmsg.c:247:12: note: use '==' to turn this assignment into an equality comparison if (fp = fopen (field, "r")) { ^ == m_gmsg.c:296:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ m_gmsg.c:339:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = index (*ap, '-')) ~~~^~~~~~~~~~~~~~~~~~ m_gmsg.c:339:9: note: place parentheses around the assignment to silence this warning if (cp = index (*ap, '-')) ^ ( ) m_gmsg.c:339:9: note: use '==' to turn this assignment into an equality comparison if (cp = index (*ap, '-')) ^ == 10 warnings generated. mv m_gmsg.o shared/m_gmsg.o rm -f m_gmsg.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c m_gmsg.c m_gmsg.c:20:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static m_getatr(); ~~~~~~ ^ m_gmsg.c:66:22: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration] if (st.st_uid != getuid () || access (name, 02) == NOTOK) ^ m_gmsg.c:66:35: warning: implicit declaration of function 'access' is invalid in C99 [-Wimplicit-function-declaration] if (st.st_uid != getuid () || access (name, 02) == NOTOK) ^ m_gmsg.c:78:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (dp = readdir (dd)) { ~~~^~~~~~~~~~~~~~ m_gmsg.c:78:15: note: place parentheses around the assignment to silence this warning while (dp = readdir (dd)) { ^ ( ) m_gmsg.c:78:15: note: use '==' to turn this assignment into an equality comparison while (dp = readdir (dd)) { ^ == m_gmsg.c:88:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (i = m_atoi (dp -> d_name)) { ~~^~~~~~~~~~~~~~~~~~~~~~~ m_gmsg.c:88:8: note: place parentheses around the assignment to silence this warning if (i = m_atoi (dp -> d_name)) { ^ ( ) m_gmsg.c:88:8: note: use '==' to turn this assignment into an equality comparison if (i = m_atoi (dp -> d_name)) { ^ == m_gmsg.c:220:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static m_getatr (mp) ~~~~~~ ^ m_gmsg.c:239:27: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] mp -> msgattrs[++i] = '\0'; ^~~~ m_gmsg.c:247:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fp = fopen (field, "r")) { ~~~^~~~~~~~~~~~~~~~~~~~ m_gmsg.c:247:12: note: place parentheses around the assignment to silence this warning if (fp = fopen (field, "r")) { ^ ( ) m_gmsg.c:247:12: note: use '==' to turn this assignment into an equality comparison if (fp = fopen (field, "r")) { ^ == m_gmsg.c:296:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ m_gmsg.c:339:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = index (*ap, '-')) ~~~^~~~~~~~~~~~~~~~~~ m_gmsg.c:339:9: note: place parentheses around the assignment to silence this warning if (cp = index (*ap, '-')) ^ ( ) m_gmsg.c:339:9: note: use '==' to turn this assignment into an equality comparison if (cp = index (*ap, '-')) ^ == 10 warnings generated. ld -x -r m_gmsg.o mv a.out m_gmsg.o rm -f m_maildir.o shared/m_maildir.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic m_maildir.c mv m_maildir.o shared/m_maildir.o rm -f m_maildir.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c m_maildir.c ld -x -r m_maildir.o mv a.out m_maildir.o rm -f m_name.o shared/m_name.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic m_name.c mv m_name.o shared/m_name.o rm -f m_name.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c m_name.c ld -x -r m_name.o mv a.out m_name.o rm -f m_readefs.o shared/m_readefs.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic m_readefs.c mv m_readefs.o shared/m_readefs.o rm -f m_readefs.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c m_readefs.c ld -x -r m_readefs.o mv a.out m_readefs.o rm -f m_remsg.o shared/m_remsg.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic m_remsg.c mv m_remsg.o shared/m_remsg.o rm -f m_remsg.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c m_remsg.c ld -x -r m_remsg.o mv a.out m_remsg.o rm -f m_replace.o shared/m_replace.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic m_replace.c mv m_replace.o shared/m_replace.o rm -f m_replace.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c m_replace.c ld -x -r m_replace.o mv a.out m_replace.o rm -f m_scratch.o shared/m_scratch.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic m_scratch.c m_scratch.c:20:29: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] (void) sprintf (buffer, "%.*s%s", cp - file, file, tmpfil); ~~^~ ~~~~~~~~~ m_scratch.c:21:12: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] (void) unlink (buffer); ^ 2 warnings generated. mv m_scratch.o shared/m_scratch.o rm -f m_scratch.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c m_scratch.c m_scratch.c:20:29: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] (void) sprintf (buffer, "%.*s%s", cp - file, file, tmpfil); ~~^~ ~~~~~~~~~ m_scratch.c:21:12: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] (void) unlink (buffer); ^ 2 warnings generated. ld -x -r m_scratch.o mv a.out m_scratch.o rm -f m_seq.o shared/m_seq.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic m_seq.c mv m_seq.o shared/m_seq.o rm -f m_seq.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c m_seq.c ld -x -r m_seq.o mv a.out m_seq.o rm -f m_seqbits.o shared/m_seqbits.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic m_seqbits.c mv m_seqbits.o shared/m_seqbits.o rm -f m_seqbits.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c m_seqbits.c ld -x -r m_seqbits.o mv a.out m_seqbits.o rm -f m_seqflag.o shared/m_seqflag.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic m_seqflag.c mv m_seqflag.o shared/m_seqflag.o rm -f m_seqflag.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c m_seqflag.c ld -x -r m_seqflag.o mv a.out m_seqflag.o rm -f m_seqnew.o shared/m_seqnew.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic m_seqnew.c mv m_seqnew.o shared/m_seqnew.o rm -f m_seqnew.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c m_seqnew.c ld -x -r m_seqnew.o mv a.out m_seqnew.o rm -f m_setcur.o shared/m_setcur.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic m_setcur.c mv m_setcur.o shared/m_setcur.o rm -f m_setcur.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c m_setcur.c ld -x -r m_setcur.o mv a.out m_setcur.o rm -f m_setseq.o shared/m_setseq.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic m_setseq.c mv m_setseq.o shared/m_setseq.o rm -f m_setseq.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c m_setseq.c ld -x -r m_setseq.o mv a.out m_setseq.o rm -f m_setvis.o shared/m_setvis.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic m_setvis.c mv m_setvis.o shared/m_setvis.o rm -f m_setvis.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c m_setvis.c ld -x -r m_setvis.o mv a.out m_setvis.o rm -f m_sync.o shared/m_sync.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic m_sync.c m_sync.c:56:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = m_seq (mp, mp -> msgattrs[i])) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m_sync.c:56:13: note: place parentheses around the assignment to silence this warning if (cp = m_seq (mp, mp -> msgattrs[i])) ^ ( ) m_sync.c:56:13: note: use '==' to turn this assignment into an equality comparison if (cp = m_seq (mp, mp -> msgattrs[i])) ^ == m_sync.c:67:8: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] && (unlink (seq) == NOTOK || ^ m_sync.c:99:13: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] (void) unlink (seq); ^ 3 warnings generated. mv m_sync.o shared/m_sync.o rm -f m_sync.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c m_sync.c m_sync.c:56:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = m_seq (mp, mp -> msgattrs[i])) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ m_sync.c:56:13: note: place parentheses around the assignment to silence this warning if (cp = m_seq (mp, mp -> msgattrs[i])) ^ ( ) m_sync.c:56:13: note: use '==' to turn this assignment into an equality comparison if (cp = m_seq (mp, mp -> msgattrs[i])) ^ == m_sync.c:67:8: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] && (unlink (seq) == NOTOK || ^ m_sync.c:99:13: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] (void) unlink (seq); ^ 3 warnings generated. ld -x -r m_sync.o mv a.out m_sync.o rm -f m_tmpfil.o shared/m_tmpfil.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic m_tmpfil.c mv m_tmpfil.o shared/m_tmpfil.o rm -f m_tmpfil.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c m_tmpfil.c ld -x -r m_tmpfil.o mv a.out m_tmpfil.o rm -f m_update.o shared/m_update.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic m_update.c m_update.c:59:2: warning: implicitly declaring library function '_exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] _exit (0); /* we are child, time to die */ ^ m_update.c:59:2: note: include the header or explicitly provide a declaration for '_exit' m_update.c:76:9: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration] if (getuid () == geteuid ()) ^ m_update.c:76:22: warning: implicit declaration of function 'geteuid' is invalid in C99 [-Wimplicit-function-declaration] if (getuid () == geteuid ()) ^ m_update.c:79:29: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration] for (i = 0; (child_id = fork ()) == -1 && i < 5; i++) ^ m_update.c:80:2: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep (5); ^ m_update.c:86:13: warning: implicit declaration of function 'setgid' is invalid in C99 [-Wimplicit-function-declaration] (void) setgid (getgid ()); ^ m_update.c:86:21: warning: implicit declaration of function 'getgid' is invalid in C99 [-Wimplicit-function-declaration] (void) setgid (getgid ()); ^ m_update.c:87:13: warning: implicit declaration of function 'setuid' is invalid in C99 [-Wimplicit-function-declaration] (void) setuid (getuid ()); ^ 8 warnings generated. mv m_update.o shared/m_update.o rm -f m_update.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c m_update.c m_update.c:59:2: warning: implicitly declaring library function '_exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] _exit (0); /* we are child, time to die */ ^ m_update.c:59:2: note: include the header or explicitly provide a declaration for '_exit' m_update.c:76:9: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration] if (getuid () == geteuid ()) ^ m_update.c:76:22: warning: implicit declaration of function 'geteuid' is invalid in C99 [-Wimplicit-function-declaration] if (getuid () == geteuid ()) ^ m_update.c:79:29: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration] for (i = 0; (child_id = fork ()) == -1 && i < 5; i++) ^ m_update.c:80:2: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep (5); ^ m_update.c:86:13: warning: implicit declaration of function 'setgid' is invalid in C99 [-Wimplicit-function-declaration] (void) setgid (getgid ()); ^ m_update.c:86:21: warning: implicit declaration of function 'getgid' is invalid in C99 [-Wimplicit-function-declaration] (void) setgid (getgid ()); ^ m_update.c:87:13: warning: implicit declaration of function 'setuid' is invalid in C99 [-Wimplicit-function-declaration] (void) setuid (getuid ()); ^ 8 warnings generated. ld -x -r m_update.o mv a.out m_update.o rm -f ml_codeconv.o shared/ml_codeconv.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic ml_codeconv.c ml_codeconv.c:231:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (u1 = *scanlk++) { ~~~^~~~~~~~~~~ ml_codeconv.c:231:15: note: place parentheses around the assignment to silence this warning while (u1 = *scanlk++) { ^ ( ) ml_codeconv.c:231:15: note: use '==' to turn this assignment into an equality comparison while (u1 = *scanlk++) { ^ == ml_codeconv.c:271:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (u1 = *scanlk++) { ~~~^~~~~~~~~~~ ml_codeconv.c:271:15: note: place parentheses around the assignment to silence this warning while (u1 = *scanlk++) { ^ ( ) ml_codeconv.c:271:15: note: use '==' to turn this assignment into an equality comparison while (u1 = *scanlk++) { ^ == ml_codeconv.c:311:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (u1 = *scanlk++) { ~~~^~~~~~~~~~~ ml_codeconv.c:311:15: note: place parentheses around the assignment to silence this warning while (u1 = *scanlk++) { ^ ( ) ml_codeconv.c:311:15: note: use '==' to turn this assignment into an equality comparison while (u1 = *scanlk++) { ^ == ml_codeconv.c:398:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c1 = *in++) { ~~~^~~~~~~ ml_codeconv.c:398:15: note: place parentheses around the assignment to silence this warning while (c1 = *in++) { ^ ( ) ml_codeconv.c:398:15: note: use '==' to turn this assignment into an equality comparison while (c1 = *in++) { ^ == 4 warnings generated. mv ml_codeconv.o shared/ml_codeconv.o rm -f ml_codeconv.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c ml_codeconv.c ml_codeconv.c:231:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (u1 = *scanlk++) { ~~~^~~~~~~~~~~ ml_codeconv.c:231:15: note: place parentheses around the assignment to silence this warning while (u1 = *scanlk++) { ^ ( ) ml_codeconv.c:231:15: note: use '==' to turn this assignment into an equality comparison while (u1 = *scanlk++) { ^ == ml_codeconv.c:271:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (u1 = *scanlk++) { ~~~^~~~~~~~~~~ ml_codeconv.c:271:15: note: place parentheses around the assignment to silence this warning while (u1 = *scanlk++) { ^ ( ) ml_codeconv.c:271:15: note: use '==' to turn this assignment into an equality comparison while (u1 = *scanlk++) { ^ == ml_codeconv.c:311:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (u1 = *scanlk++) { ~~~^~~~~~~~~~~ ml_codeconv.c:311:15: note: place parentheses around the assignment to silence this warning while (u1 = *scanlk++) { ^ ( ) ml_codeconv.c:311:15: note: use '==' to turn this assignment into an equality comparison while (u1 = *scanlk++) { ^ == ml_codeconv.c:398:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c1 = *in++) { ~~~^~~~~~~ ml_codeconv.c:398:15: note: place parentheses around the assignment to silence this warning while (c1 = *in++) { ^ ( ) ml_codeconv.c:398:15: note: use '==' to turn this assignment into an equality comparison while (c1 = *in++) { ^ == 4 warnings generated. ld -x -r ml_codeconv.o mv a.out ml_codeconv.o rm -f ml_exthdr.o shared/ml_exthdr.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic ml_exthdr.c ml_exthdr.c:583:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c1 = *in++) { ~~~^~~~~~~ ml_exthdr.c:583:15: note: place parentheses around the assignment to silence this warning while (c1 = *in++) { ^ ( ) ml_exthdr.c:583:15: note: use '==' to turn this assignment into an equality comparison while (c1 = *in++) { ^ == ml_exthdr.c:613:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c1 = *in++) { ~~~^~~~~~~ ml_exthdr.c:613:15: note: place parentheses around the assignment to silence this warning while (c1 = *in++) { ^ ( ) ml_exthdr.c:613:15: note: use '==' to turn this assignment into an equality comparison while (c1 = *in++) { ^ == ml_exthdr.c:758:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c1 = *in++) { ~~~^~~~~~~ ml_exthdr.c:758:15: note: place parentheses around the assignment to silence this warning while (c1 = *in++) { ^ ( ) ml_exthdr.c:758:15: note: use '==' to turn this assignment into an equality comparison while (c1 = *in++) { ^ == ml_exthdr.c:794:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c1 = *in++) { ~~~^~~~~~~ ml_exthdr.c:794:15: note: place parentheses around the assignment to silence this warning while (c1 = *in++) { ^ ( ) ml_exthdr.c:794:15: note: use '==' to turn this assignment into an equality comparison while (c1 = *in++) { ^ == 4 warnings generated. mv ml_exthdr.o shared/ml_exthdr.o rm -f ml_exthdr.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c ml_exthdr.c ml_exthdr.c:583:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c1 = *in++) { ~~~^~~~~~~ ml_exthdr.c:583:15: note: place parentheses around the assignment to silence this warning while (c1 = *in++) { ^ ( ) ml_exthdr.c:583:15: note: use '==' to turn this assignment into an equality comparison while (c1 = *in++) { ^ == ml_exthdr.c:613:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c1 = *in++) { ~~~^~~~~~~ ml_exthdr.c:613:15: note: place parentheses around the assignment to silence this warning while (c1 = *in++) { ^ ( ) ml_exthdr.c:613:15: note: use '==' to turn this assignment into an equality comparison while (c1 = *in++) { ^ == ml_exthdr.c:758:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c1 = *in++) { ~~~^~~~~~~ ml_exthdr.c:758:15: note: place parentheses around the assignment to silence this warning while (c1 = *in++) { ^ ( ) ml_exthdr.c:758:15: note: use '==' to turn this assignment into an equality comparison while (c1 = *in++) { ^ == ml_exthdr.c:794:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c1 = *in++) { ~~~^~~~~~~ ml_exthdr.c:794:15: note: place parentheses around the assignment to silence this warning while (c1 = *in++) { ^ ( ) ml_exthdr.c:794:15: note: use '==' to turn this assignment into an equality comparison while (c1 = *in++) { ^ == 4 warnings generated. ld -x -r ml_exthdr.o mv a.out ml_exthdr.o rm -f makedir.o shared/makedir.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic makedir.c makedir.c:33:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] makedir (dir) ^ 1 warning generated. mv makedir.o shared/makedir.o rm -f makedir.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c makedir.c makedir.c:33:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] makedir (dir) ^ 1 warning generated. ld -x -r makedir.o mv a.out makedir.o rm -f path.o shared/path.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic path.c path.c:86:29: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] (void) sprintf (buffer, "%.*s", cp - pwds, pwds); ~~^~ ~~~~~~~~~ path.c:95:32: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] (void) sprintf (buffer, "%.*s/%s", cp - pwds, pwds, name); ~~^~ ~~~~~~~~~ 2 warnings generated. mv path.o shared/path.o rm -f path.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c path.c path.c:86:29: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] (void) sprintf (buffer, "%.*s", cp - pwds, pwds); ~~^~ ~~~~~~~~~ path.c:95:32: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] (void) sprintf (buffer, "%.*s/%s", cp - pwds, pwds, name); ~~^~ ~~~~~~~~~ 2 warnings generated. ld -x -r path.o mv a.out path.o rm -f peekc.o shared/peekc.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic peekc.c mv peekc.o shared/peekc.o rm -f peekc.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c peekc.c ld -x -r peekc.o mv a.out peekc.o rm -f pidwait.o shared/pidwait.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic pidwait.c mv pidwait.o shared/pidwait.o rm -f pidwait.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c pidwait.c ld -x -r pidwait.o mv a.out pidwait.o rm -f pidstatus.o shared/pidstatus.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic pidstatus.c pidstatus.c:65:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (signum = ((status & 0xff00) >> 8)) { ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ pidstatus.c:65:17: note: place parentheses around the assignment to silence this warning if (signum = ((status & 0xff00) >> 8)) { ^ ( ) pidstatus.c:65:17: note: use '==' to turn this assignment into an equality comparison if (signum = ((status & 0xff00) >> 8)) { ^ == 1 warning generated. mv pidstatus.o shared/pidstatus.o rm -f pidstatus.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c pidstatus.c pidstatus.c:65:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (signum = ((status & 0xff00) >> 8)) { ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ pidstatus.c:65:17: note: place parentheses around the assignment to silence this warning if (signum = ((status & 0xff00) >> 8)) { ^ ( ) pidstatus.c:65:17: note: use '==' to turn this assignment into an equality comparison if (signum = ((status & 0xff00) >> 8)) { ^ == 1 warning generated. ld -x -r pidstatus.o mv a.out pidstatus.o rm -f printsw.o shared/printsw.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic printsw.c printsw.c:25:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sp = (&swp[1]) -> sw) /* next switch */ ~~~^~~~~~~~~~~~~~~~~ printsw.c:25:13: note: place parentheses around the assignment to silence this warning if (sp = (&swp[1]) -> sw) /* next switch */ ^ ( ) printsw.c:25:13: note: use '==' to turn this assignment into an equality comparison if (sp = (&swp[1]) -> sw) /* next switch */ ^ == printsw.c:41:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*cp++ = *cp1++); ~~~~~~^~~~~~~~ printsw.c:41:16: note: place parentheses around the assignment to silence this warning while (*cp++ = *cp1++); ^ ( ) printsw.c:41:16: note: use '==' to turn this assignment into an equality comparison while (*cp++ = *cp1++); ^ == 2 warnings generated. mv printsw.o shared/printsw.o rm -f printsw.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c printsw.c printsw.c:25:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (sp = (&swp[1]) -> sw) /* next switch */ ~~~^~~~~~~~~~~~~~~~~ printsw.c:25:13: note: place parentheses around the assignment to silence this warning if (sp = (&swp[1]) -> sw) /* next switch */ ^ ( ) printsw.c:25:13: note: use '==' to turn this assignment into an equality comparison if (sp = (&swp[1]) -> sw) /* next switch */ ^ == printsw.c:41:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*cp++ = *cp1++); ~~~~~~^~~~~~~~ printsw.c:41:16: note: place parentheses around the assignment to silence this warning while (*cp++ = *cp1++); ^ ( ) printsw.c:41:16: note: use '==' to turn this assignment into an equality comparison while (*cp++ = *cp1++); ^ == 2 warnings generated. ld -x -r printsw.o mv a.out printsw.o rm -f push.o shared/push.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic push.c push.c:15:10: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration] switch (fork ()) { ^ push.c:17:3: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep (5); ^ 2 warnings generated. mv push.o shared/push.o rm -f push.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c push.c push.c:15:10: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration] switch (fork ()) { ^ push.c:17:3: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep (5); ^ 2 warnings generated. ld -x -r push.o mv a.out push.o rm -f putenv.o shared/putenv.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic putenv.c putenv.c:12:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static nvmatch(); ~~~~~~ ^ putenv.c:66:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static nvmatch (s1, s2) ~~~~~~ ^ 2 warnings generated. mv putenv.o shared/putenv.o rm -f putenv.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c putenv.c putenv.c:12:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static nvmatch(); ~~~~~~ ^ putenv.c:66:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static nvmatch (s1, s2) ~~~~~~ ^ 2 warnings generated. ld -x -r putenv.o mv a.out putenv.o rm -f pwd.o shared/pwd.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic pwd.c mv pwd.o shared/pwd.o rm -f pwd.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c pwd.c ld -x -r pwd.o mv a.out pwd.o rm -f refile.o shared/refile.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic refile.c mv refile.o shared/refile.o rm -f refile.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c refile.c ld -x -r refile.o mv a.out refile.o rm -f remdir.o shared/remdir.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic remdir.c remdir.c:13:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] remdir (dir) ^ 1 warning generated. mv remdir.o shared/remdir.o rm -f remdir.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c remdir.c remdir.c:13:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] remdir (dir) ^ 1 warning generated. ld -x -r remdir.o mv a.out remdir.o rm -f r1bindex.o shared/r1bindex.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic r1bindex.c mv r1bindex.o shared/r1bindex.o rm -f r1bindex.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c r1bindex.c ld -x -r r1bindex.o mv a.out r1bindex.o rm -f ruserpass.o shared/ruserpass.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic ruserpass.c ruserpass.c:63:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ruserpass(host, aname, apass) ^ ruserpass.c:94:8: warning: implicit declaration of function 'uleq' is invalid in C99 [-Wimplicit-function-declaration] if (uleq(host, tokval)) ^ ruserpass.c:143:24: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration] if ((pp = getpwuid (getuid())) != NULL) ^ 3 warnings generated. mv ruserpass.o shared/ruserpass.o rm -f ruserpass.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c ruserpass.c ruserpass.c:63:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ruserpass(host, aname, apass) ^ ruserpass.c:94:8: warning: implicit declaration of function 'uleq' is invalid in C99 [-Wimplicit-function-declaration] if (uleq(host, tokval)) ^ ruserpass.c:143:24: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration] if ((pp = getpwuid (getuid())) != NULL) ^ 3 warnings generated. ld -x -r ruserpass.o mv a.out ruserpass.o rm -f showfile.o shared/showfile.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic showfile.c showfile.c:10:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] showfile (arg, file) ^ 1 warning generated. mv showfile.o shared/showfile.o rm -f showfile.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c showfile.c showfile.c:10:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] showfile (arg, file) ^ 1 warning generated. ld -x -r showfile.o mv a.out showfile.o rm -f smatch.o shared/smatch.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic smatch.c smatch.c:12:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] smatch(string, swp) ^ smatch.c:27:53: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (stringlen = strlen (string), tp = swp; tcp = tp -> sw; tp++) { ~~~~^~~~~~~~~~ smatch.c:27:53: note: place parentheses around the assignment to silence this warning for (stringlen = strlen (string), tp = swp; tcp = tp -> sw; tp++) { ^ ( ) smatch.c:27:53: note: use '==' to turn this assignment into an equality comparison for (stringlen = strlen (string), tp = swp; tcp = tp -> sw; tp++) { ^ == 2 warnings generated. mv smatch.o shared/smatch.o rm -f smatch.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c smatch.c smatch.c:12:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] smatch(string, swp) ^ smatch.c:27:53: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (stringlen = strlen (string), tp = swp; tcp = tp -> sw; tp++) { ~~~~^~~~~~~~~~ smatch.c:27:53: note: place parentheses around the assignment to silence this warning for (stringlen = strlen (string), tp = swp; tcp = tp -> sw; tp++) { ^ ( ) smatch.c:27:53: note: use '==' to turn this assignment into an equality comparison for (stringlen = strlen (string), tp = swp; tcp = tp -> sw; tp++) { ^ == 2 warnings generated. ld -x -r smatch.o mv a.out smatch.o rm -f sprintb.o shared/sprintb.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic sprintb.c sprintb.c:26:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (i = *bits++) ~~^~~~~~~~~ sprintb.c:26:11: note: place parentheses around the assignment to silence this warning while (i = *bits++) ^ ( ) sprintb.c:26:11: note: use '==' to turn this assignment into an equality comparison while (i = *bits++) ^ == 1 warning generated. mv sprintb.o shared/sprintb.o rm -f sprintb.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c sprintb.c sprintb.c:26:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (i = *bits++) ~~^~~~~~~~~ sprintb.c:26:11: note: place parentheses around the assignment to silence this warning while (i = *bits++) ^ ( ) sprintb.c:26:11: note: use '==' to turn this assignment into an equality comparison while (i = *bits++) ^ == 1 warning generated. ld -x -r sprintb.o mv a.out sprintb.o rm -f ssequal.o shared/ssequal.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic ssequal.c ssequal.c:4:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ssequal (substr, str) ^ 1 warning generated. mv ssequal.o shared/ssequal.o rm -f ssequal.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c ssequal.c ssequal.c:4:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ssequal (substr, str) ^ 1 warning generated. ld -x -r ssequal.o mv a.out ssequal.o rm -f strindex.o shared/strindex.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic strindex.c strindex.c:16:6: warning: implicit declaration of function 'uprf' is invalid in C99 [-Wimplicit-function-declaration] if (uprf (p, p1)) ^ 1 warning generated. mv strindex.o shared/strindex.o rm -f strindex.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c strindex.c strindex.c:16:6: warning: implicit declaration of function 'uprf' is invalid in C99 [-Wimplicit-function-declaration] if (uprf (p, p1)) ^ 1 warning generated. ld -x -r strindex.o mv a.out strindex.o rm -f trimcpy.o shared/trimcpy.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic trimcpy.c mv trimcpy.o shared/trimcpy.o rm -f trimcpy.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c trimcpy.c ld -x -r trimcpy.o mv a.out trimcpy.o rm -f uleq.o shared/uleq.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic uleq.c uleq.c:10:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] uleq (c1, c2) ^ uleq.c:22:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *c1++) ~~^~~~~~~ uleq.c:22:14: note: place parentheses around the assignment to silence this warning while (c = *c1++) ^ ( ) uleq.c:22:14: note: use '==' to turn this assignment into an equality comparison while (c = *c1++) ^ == 2 warnings generated. mv uleq.o shared/uleq.o rm -f uleq.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c uleq.c uleq.c:10:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] uleq (c1, c2) ^ uleq.c:22:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *c1++) ~~^~~~~~~ uleq.c:22:14: note: place parentheses around the assignment to silence this warning while (c = *c1++) ^ ( ) uleq.c:22:14: note: use '==' to turn this assignment into an equality comparison while (c = *c1++) ^ == 2 warnings generated. ld -x -r uleq.o mv a.out uleq.o rm -f uprf.o shared/uprf.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic uprf.c uprf.c:10:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] uprf (c1, c2) ^ uprf.c:20:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *c2++) ~~^~~~~~~ uprf.c:20:14: note: place parentheses around the assignment to silence this warning while (c = *c2++) ^ ( ) uprf.c:20:14: note: use '==' to turn this assignment into an equality comparison while (c = *c2++) ^ == 2 warnings generated. mv uprf.o shared/uprf.o rm -f uprf.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c uprf.c uprf.c:10:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] uprf (c1, c2) ^ uprf.c:20:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *c2++) ~~^~~~~~~ uprf.c:20:14: note: place parentheses around the assignment to silence this warning while (c = *c2++) ^ ( ) uprf.c:20:14: note: use '==' to turn this assignment into an equality comparison while (c = *c2++) ^ == 2 warnings generated. ld -x -r uprf.o mv a.out uprf.o rm -f vfgets.o shared/vfgets.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic vfgets.c mv vfgets.o shared/vfgets.o rm -f vfgets.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c vfgets.c ld -x -r vfgets.o mv a.out vfgets.o rm -f formatdef.o shared/formatdef.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic formatdef.c mv formatdef.o shared/formatdef.o rm -f formatdef.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c formatdef.c ld -x -r formatdef.o mv a.out formatdef.o rm -f m_msgdef.o shared/m_msgdef.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c -fpic m_msgdef.c mv m_msgdef.o shared/m_msgdef.o rm -f m_msgdef.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c m_msgdef.c ld -x -r m_msgdef.o mv a.out m_msgdef.o if [ -f libmh.a ]; then mv libmh.a zlibmh.a; fi ar r libmh.a add.o adios.o admonish.o addrsbr.o advertise.o advise.o ambigsw.o atooi.o brkstring.o closefds.o concat.o copy.o copyip.o cpydata.o cpydgst.o discard.o done.o fdcompare.o gans.o getans.o getanswer.o getcpy.o help.o fmtcompile.o formataddr.o formatsbr.o m_atoi.o m_backup.o m_convert.o m_delete.o m_draft.o m_find.o m_fmsg.o m_foil.o m_getdefs.o m_getfld.o m_getfolder.o m_gmprot.o m_gmsg.o m_maildir.o m_name.o m_readefs.o m_remsg.o m_replace.o m_scratch.o m_seq.o m_seqbits.o m_seqflag.o m_seqnew.o m_setcur.o m_setseq.o m_setvis.o m_sync.o m_tmpfil.o m_update.o ml_codeconv.o ml_exthdr.o makedir.o path.o peekc.o pidwait.o pidstatus.o printsw.o push.o putenv.o pwd.o refile.o remdir.o r1bindex.o ruserpass.o showfile.o smatch.o sprintb.o ssequal.o strindex.o trimcpy.o uleq.o uprf.o vfgets.o formatdef.o m_msgdef.o; ranlib libmh.a ar: warning: creating libmh.a -rw-r--r-- 1 pbulk wheel 287162 Aug 29 15:41 libmh.a MH library built normally if [ -f libmh.so ]; then mv -f libmh.so zlibmh.so; fi (cd shared; cc -shared -o ../libmh.so -Wl,-soname,libmh.so.3.2 add.o adios.o admonish.o addrsbr.o advertise.o advise.o ambigsw.o atooi.o brkstring.o closefds.o concat.o copy.o copyip.o cpydata.o cpydgst.o discard.o done.o fdcompare.o gans.o getans.o getanswer.o getcpy.o help.o fmtcompile.o formataddr.o formatsbr.o m_atoi.o m_backup.o m_convert.o m_delete.o m_draft.o m_find.o m_fmsg.o m_foil.o m_getdefs.o m_getfld.o m_getfolder.o m_gmprot.o m_gmsg.o m_maildir.o m_name.o m_readefs.o m_remsg.o m_replace.o m_scratch.o m_seq.o m_seqbits.o m_seqflag.o m_seqnew.o m_setcur.o m_setseq.o m_setvis.o m_sync.o m_tmpfil.o m_update.o ml_codeconv.o ml_exthdr.o makedir.o path.o peekc.o pidwait.o pidstatus.o printsw.o push.o putenv.o pwd.o refile.o remdir.o r1bindex.o ruserpass.o showfile.o smatch.o sprintb.o ssequal.o strindex.o trimcpy.o uleq.o uprf.o vfgets.o formatdef.o m_msgdef.o) ln libmh.so libmh.so.3.2 -rwxr-xr-x 2 pbulk wheel 134291 Aug 29 15:41 libmh.so -rwxr-xr-x 2 pbulk wheel 134291 Aug 29 15:41 libmh.so.3.2 MH shared library built normally for d in sendmail; do (cd $d; make DESTDIR= all); done clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -I.. -c hosts.c hosts.c:58:9: warning: implicit declaration of function 'uleq' is invalid in C99 [-Wimplicit-function-declaration] if (uleq (LocalName (), site)) ^ hosts.c:72:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (hp = mh_gethostbyname (q)) { ~~~^~~~~~~~~~~~~~~~~~~~~~ hosts.c:72:12: note: place parentheses around the assignment to silence this warning if (hp = mh_gethostbyname (q)) { ^ ( ) hosts.c:72:12: note: use '==' to turn this assignment into an equality comparison if (hp = mh_gethostbyname (q)) { ^ == hosts.c:82:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ hosts.c:115:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = index (buffer, '#')) ~~~^~~~~~~~~~~~~~~~~~~~~ hosts.c:115:9: note: place parentheses around the assignment to silence this warning if (cp = index (buffer, '#')) ^ ( ) hosts.c:115:9: note: use '==' to turn this assignment into an equality comparison if (cp = index (buffer, '#')) ^ == hosts.c:117:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = index (buffer, '\n')) ~~~^~~~~~~~~~~~~~~~~~~~~~ hosts.c:117:9: note: place parentheses around the assignment to silence this warning if (cp = index (buffer, '\n')) ^ ( ) hosts.c:117:9: note: use '==' to turn this assignment into an equality comparison if (cp = index (buffer, '\n')) ^ == hosts.c:128:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = index (dp = cp, ' ')) { ~~~^~~~~~~~~~~~~~~~~~~~~~ hosts.c:128:9: note: place parentheses around the assignment to silence this warning if (cp = index (dp = cp, ' ')) { ^ ( ) hosts.c:128:9: note: use '==' to turn this assignment into an equality comparison if (cp = index (dp = cp, ' ')) { ^ == hosts.c:135:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = index (*q++ = cp, ' ')) ~~~^~~~~~~~~~~~~~~~~~~~~~~~ hosts.c:135:10: note: place parentheses around the assignment to silence this warning if (cp = index (*q++ = cp, ' ')) ^ ( ) hosts.c:135:10: note: use '==' to turn this assignment into an equality comparison if (cp = index (*q++ = cp, ' ')) ^ == 7 warnings generated. ld -x -r hosts.o mv a.out hosts.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -I.. -c smail.c smail.c:326:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ smail.c:353:16: warning: implicit declaration of function 'dup' is invalid in C99 [-Wimplicit-function-declaration] if ((sd2 = dup (sd1)) == NOTOK) { ^ smail.c:354:9: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close (sd1); ^ smail.c:363:9: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close (sd1); ^ smail.c:369:12: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration] (void) alarm (SM_OPEN); ^ smail.c:596:12: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration] (void) alarm (SM_TEXT); ^ smail.c:689:9: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration] (void) alarm (SM_CLOS); ^ smail.c:694:9: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration] (void) alarm (SM_CLOS); ^ smail.c:1168:12: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration] (void) alarm ((unsigned) time); ^ smail.c:1287:31: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (ehlo = EHLOkeys; ep = *ehlo; ehlo++) ~~~^~~~~~~ smail.c:1287:31: note: place parentheses around the assignment to silence this warning for (ehlo = EHLOkeys; ep = *ehlo; ehlo++) ^ ( ) smail.c:1287:31: note: use '==' to turn this assignment into an equality comparison for (ehlo = EHLOkeys; ep = *ehlo; ehlo++) ^ == smail.c:1314:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (*ehlo = malloc ((unsigned) (strlen (buffer + 4) + 1))) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smail.c:1314:13: note: place parentheses around the assignment to silence this warning if (*ehlo = malloc ((unsigned) (strlen (buffer + 4) + 1))) { ^ ( ) smail.c:1314:13: note: use '==' to turn this assignment into an equality comparison if (*ehlo = malloc ((unsigned) (strlen (buffer + 4) + 1))) { ^ == smail.c:1569:30: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (ehlo = EHLOkeys; ep = *ehlo; ehlo++) ~~~^~~~~~~ smail.c:1569:30: note: place parentheses around the assignment to silence this warning for (ehlo = EHLOkeys; ep = *ehlo; ehlo++) ^ ( ) smail.c:1569:30: note: use '==' to turn this assignment into an equality comparison for (ehlo = EHLOkeys; ep = *ehlo; ehlo++) ^ == 12 warnings generated. ld -x -r smail.o mv a.out smail.o if [ -f sendmts.a ]; then mv sendmts.a zsendmts.a; fi ar r sendmts.a hosts.o smail.o; ranlib sendmts.a ar: warning: creating sendmts.a rm -f ../libmts.a cd ..; ln sendmail/sendmts.a libmts.a rm -f ../llib-lmts cd .. ; ln sendmail/llib-lsendmail llib-lmts -rw-r--r-- 2 pbulk wheel 26668 Aug 29 15:41 sendmts.a SendMail/SMTP-MTS library built normally for d in mts bboards tws mf; do (cd $d; make DESTDIR= all); done clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -I.. -c mts.c mts.c:390:12: warning: implicit declaration of function 'gethostname' is invalid in C99 [-Wimplicit-function-declaration] (void) gethostname (buffer, sizeof buffer); ^ mts.c:394:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (hp = mh_gethostbyname (buffer)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ mts.c:394:12: note: place parentheses around the assignment to silence this warning if (hp = mh_gethostbyname (buffer)) ^ ( ) mts.c:394:12: note: use '==' to turn this assignment into an equality comparison if (hp = mh_gethostbyname (buffer)) ^ == mts.c:433:12: warning: implicit declaration of function 'gethostname' is invalid in C99 [-Wimplicit-function-declaration] (void) gethostname (buffer, sizeof buffer); ^ mts.c:522:25: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration] if ((pw = getpwuid (getuid ())) == NULL ^ 4 warnings generated. clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -I.. -c lock.c lock.c:103:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static lockname(), timerOFF(); ~~~~~~ ^ lock.c:103:21: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static lockname(), timerOFF(); ~~~~~~ ^ lock.c:160:14: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] (void) unlink (curlock); ^ lock.c:174:7: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep (5); ^ lock.c:181:7: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep (5); ^ lock.c:183:14: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] (void) unlink (curlock); ^ lock.c:200:12: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close (fd); ^ lock.c:202:10: warning: implicit declaration of function 'link' is invalid in C99 [-Wimplicit-function-declaration] fd = link (tmp, file); ^ lock.c:203:12: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] (void) unlink (tmp); ^ lock.c:210:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static lockname (curlock, tmplock, file, dev, ino) ~~~~~~ ^ lock.c:225:29: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] (void) sprintf (bp, "%.*s", cp - file, file); ~~^~ ~~~~~~~~~ lock.c:249:34: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] (void) sprintf (tmplock, "%.*s,LCK.XXXXXX", ~~^~ lock.c:251:9: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] (void) unlink (mktemp (tmplock)); ^ lock.c:253:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ lock.c:371:9: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close (fd); ^ lock.c:373:2: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep (5); ^ lock.c:376:12: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close (fd); ^ lock.c:446:10: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] (void) unlink (curlock); ^ lock.c:451:13: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] return (close (fd)); ^ lock.c:468:9: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close (fd); ^ lock.c:537:10: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] (void) unlink (curlock); ^ lock.c:618:13: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close (j); ^ lock.c:620:12: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration] (void) alarm (NSECS); ^ lock.c:651:9: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration] (void) alarm (NSECS); ^ lock.c:657:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static timerOFF (fd) ~~~~~~ ^ lock.c:663:12: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration] (void) alarm (0); ^ lock.c:682:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 27 warnings generated. clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -I.. -c client.c client.c:189:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (hp = gethostbystring (*ap)) { ~~~^~~~~~~~~~~~~~~~~~~~~~~ client.c:189:9: note: place parentheses around the assignment to silence this warning if (hp = gethostbystring (*ap)) { ^ ( ) client.c:189:9: note: use '==' to turn this assignment into an equality comparison if (hp = gethostbystring (*ap)) { ^ == client.c:246:10: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close (sd); ^ client.c:455:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static brkany (chr, strg) ~~~~~~ ^ 3 warnings generated. clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -I.. -c getbbent.c getbbent.c:461:26: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] (void) sprintf (prf, "%.*s", cp - bb -> bb_file, bb -> bb_file); ~~^~ ~~~~~~~~~~~~~~~~~~ getbbent.c:467:35: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] (void) sprintf (BBInfo, "%s.%.*s%s", prf, dp - cp, cp, CNTFILE); ~~^~ ~~~~~~~ getbbent.c:469:34: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] (void) sprintf (BBMap, "%s.%.*s%s", prf, dp - cp, cp, MAPFILE); ~~^~ ~~~~~~~ getbbent.c:479:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = index (BBDate, NEWLINE)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ getbbent.c:479:9: note: place parentheses around the assignment to silence this warning if (cp = index (BBDate, NEWLINE)) ^ ( ) getbbent.c:479:9: note: use '==' to turn this assignment into an equality comparison if (cp = index (BBDate, NEWLINE)) ^ == getbbent.c:517:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (p = *q++) ~~^~~~~~ getbbent.c:517:14: note: place parentheses around the assignment to silence this warning while (p = *q++) ^ ( ) getbbent.c:517:14: note: use '==' to turn this assignment into an equality comparison while (p = *q++) ^ == getbbent.c:524:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (p = *r++) ~~^~~~~~ getbbent.c:524:15: note: place parentheses around the assignment to silence this warning while (p = *r++) ^ ( ) getbbent.c:524:15: note: use '==' to turn this assignment into an equality comparison while (p = *r++) ^ == getbbent.c:634:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (result = getbbitem (bb, *dp, action)) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getbbent.c:634:13: note: place parentheses around the assignment to silence this warning if (result = getbbitem (bb, *dp, action)) ^ ( ) getbbent.c:634:13: note: use '==' to turn this assignment into an equality comparison if (result = getbbitem (bb, *dp, action)) ^ == getbbent.c:674:28: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] (void) sprintf (prf, "%.*s", cp - bb -> bb_file, bb -> bb_file); ~~^~ ~~~~~~~~~~~~~~~~~~ getbbent.c:677:35: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] (void) sprintf (file, "%s.%.*s%s", prf, dp - cp, cp, DSTFILE); ~~^~ ~~~~~~~ getbbent.c:690:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (np = index (buffer, '\n')) ~~~^~~~~~~~~~~~~~~~~~~~~~ getbbent.c:690:10: note: place parentheses around the assignment to silence this warning if (np = index (buffer, '\n')) ^ ( ) getbbent.c:690:10: note: use '==' to turn this assignment into an equality comparison if (np = index (buffer, '\n')) ^ == getbbent.c:692:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (result = getbbitem (bb, buffer, action)) { ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getbbent.c:692:14: note: place parentheses around the assignment to silence this warning if (result = getbbitem (bb, buffer, action)) { ^ ( ) getbbent.c:692:14: note: use '==' to turn this assignment into an equality comparison if (result = getbbitem (bb, buffer, action)) { ^ == getbbent.c:702:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (hp = rindex (item, '@')) { ~~~^~~~~~~~~~~~~~~~~~~~ getbbent.c:702:13: note: place parentheses around the assignment to silence this warning if (hp = rindex (item, '@')) { ^ ( ) getbbent.c:702:13: note: use '==' to turn this assignment into an equality comparison if (hp = rindex (item, '@')) { ^ == getbbent.c:712:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (result = (*action) (mbox, host)) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ getbbent.c:712:17: note: place parentheses around the assignment to silence this warning if (result = (*action) (mbox, host)) ^ ( ) getbbent.c:712:17: note: use '==' to turn this assignment into an equality comparison if (result = (*action) (mbox, host)) ^ == getbbent.c:774:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = malloc ((unsigned) (strlen (s) + 1))) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getbbent.c:774:11: note: place parentheses around the assignment to silence this warning if (p = malloc ((unsigned) (strlen (s) + 1))) ^ ( ) getbbent.c:774:11: note: use '==' to turn this assignment into an equality comparison if (p = malloc ((unsigned) (strlen (s) + 1))) ^ == 14 warnings generated. lex -nt dtimep.lex | sed -f lexedit.sed > dtimep.c lex failed: using pre-lexed dtimep.c clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -I.. -c dtimep.c dtimep.c:175:27: warning: implicit declaration of function 'lex_string' is invalid in C99 [-Wimplicit-function-declaration] switch (cp = str, *cp ? lex_string( &str, start_cond) : 0) { ^ 1 warning generated. clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -I.. -c -DONECASE lexstring.c lexstring.c:61:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] lex_string( strptr, start_cond) ^ 1 warning generated. clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -I.. -c dtime.c dtime.c:416:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_dotw (tw) ^ dtime.c:443:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 2 warnings generated. clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -I.. -c date.c date.c:10:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (argc, argv) ^ 1 warning generated. clang -Wl,-R/usr/pkg/lib -Xlinker -rpath -Xlinker /usr/pkg/lib -o date date.o dtime.o clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -I.. -c mf.c mf.c:435:26: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] (void) sprintf (adr, "%.*s", cp - ap, ap); ~~^~ ~~~~~~~ mf.c:997:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 2 warnings generated. if [ -f libzot.a ]; then mv libzot.a zlibzot.a; fi ar r libzot.a mts/mts.o mts/lock.o mts/client.o mf/mf.o bboards/getbbent.o tws/dtime.o tws/dtimep.o tws/lexstring.o; ranlib libzot.a ar: warning: creating libzot.a -rw-r--r-- 1 pbulk wheel 141256 Aug 29 15:42 libzot.a ZOTnet library built normally clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c ali.c ali.c:58:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (argc, argv) ^ ali.c:83:5: warning: implicit declaration of function 'mts_init' is invalid in C99 [-Wimplicit-function-declaration] mts_init (invo_name); ^ ali.c:95:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cp = *argp++) { ~~~^~~~~~~~~ ali.c:95:15: note: place parentheses around the assignment to silence this warning while (cp = *argp++) { ^ ( ) ali.c:95:15: note: use '==' to turn this assignment into an equality comparison while (cp = *argp++) { ^ == ali.c:145:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = m_find ("Aliasfile")) { /* allow Aliasfile: profile entry */ ~~~^~~~~~~~~~~~~~~~~~~~~~ ali.c:145:9: note: place parentheses around the assignment to silence this warning if (cp = m_find ("Aliasfile")) { /* allow Aliasfile: profile entry */ ^ ( ) ali.c:145:9: note: use '==' to turn this assignment into an equality comparison if (cp = m_find ("Aliasfile")) { /* allow Aliasfile: profile entry */ ^ == ali.c:164:3: warning: implicit declaration of function 'print_usr' is invalid in C99 [-Wimplicit-function-declaration] print_usr (vec[i], list, normalize); ^ ali.c:197:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *p++) ~~^~~~~~ ali.c:197:14: note: place parentheses around the assignment to silence this warning while (c = *p++) ^ ( ) ali.c:197:14: note: use '==' to turn this assignment into an equality comparison while (c = *p++) ^ == ali.c:203:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ ali.c:241:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] print_usr (s, list, norm) ^ ali.c:263:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cp = getname (pp)) { ~~~^~~~~~~~~~~~~~ ali.c:263:12: note: place parentheses around the assignment to silence this warning while (cp = getname (pp)) { ^ ( ) ali.c:263:12: note: use '==' to turn this assignment into an equality comparison while (cp = getname (pp)) { ^ == ali.c:288:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 10 warnings generated. clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c aliasbr.c aliasbr.c:75:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (dp = cp) { ~~~^~~~ aliasbr.c:75:9: note: place parentheses around the assignment to silence this warning if (dp = cp) { ^ ( ) aliasbr.c:75:9: note: use '==' to turn this assignment into an equality comparison if (dp = cp) { ^ == aliasbr.c:114:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *string++) ~~^~~~~~~~~~~ aliasbr.c:114:14: note: place parentheses around the assignment to silence this warning while (c = *string++) ^ ( ) aliasbr.c:114:14: note: use '==' to turn this assignment into an equality comparison while (c = *string++) ^ == aliasbr.c:235:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cp = getalias (pp)) ~~~^~~~~~~~~~~~~~~ aliasbr.c:235:13: note: place parentheses around the assignment to silence this warning while (cp = getalias (pp)) ^ ( ) aliasbr.c:235:13: note: use '==' to turn this assignment into an equality comparison while (cp = getalias (pp)) ^ == aliasbr.c:335:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cp = getalias (buffer)) ~~~^~~~~~~~~~~~~~~~~~~ aliasbr.c:335:12: note: place parentheses around the assignment to silence this warning while (cp = getalias (buffer)) ^ ( ) aliasbr.c:335:12: note: use '==' to turn this assignment into an equality comparison while (cp = getalias (buffer)) ^ == aliasbr.c:364:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (gp = *gr -> gr_mem++) ~~~^~~~~~~~~~~~~~~~~ aliasbr.c:364:15: note: place parentheses around the assignment to silence this warning while (gp = *gr -> gr_mem++) ^ ( ) aliasbr.c:364:15: note: use '==' to turn this assignment into an equality comparison while (gp = *gr -> gr_mem++) ^ == aliasbr.c:375:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (pw = getpwnam(gp)) ~~~^~~~~~~~~~~~~~ aliasbr.c:375:16: note: place parentheses around the assignment to silence this warning if (pw = getpwnam(gp)) ^ ( ) aliasbr.c:375:16: note: use '==' to turn this assignment into an equality comparison if (pw = getpwnam(gp)) ^ == aliasbr.c:469:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ aliasbr.c:499:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_pw () { ^ aliasbr.c:515:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (pw = getpwent ()) ~~~^~~~~~~~~~~~~ aliasbr.c:515:15: note: place parentheses around the assignment to silence this warning while (pw = getpwent ()) ^ ( ) aliasbr.c:515:15: note: use '==' to turn this assignment into an equality comparison while (pw = getpwent ()) ^ == aliasbr.c:523:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ aliasbr.c:604:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (pw = getpwnam(lname)) ~~~^~~~~~~~~~~~~~~~~ aliasbr.c:604:12: note: place parentheses around the assignment to silence this warning if (pw = getpwnam(lname)) ^ ( ) aliasbr.c:604:12: note: use '==' to turn this assignment into an equality comparison if (pw = getpwnam(lname)) ^ == 11 warnings generated. clang -L../sbr -L../mts -L../zotnet -Wl,-R/usr/pkg/lib -Xlinker -rpath -Xlinker /usr/pkg/lib -o xali ali.o aliasbr.o ../config/config.o -lmh -lmts -lzot ../config/version.o echo ali ali clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c anno.c anno.c:13:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static make_comp(); ~~~~~~ ^ anno.c:43:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (argc, argv) ^ anno.c:81:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cp = *argp++) { ~~~^~~~~~~~~ anno.c:81:15: note: place parentheses around the assignment to silence this warning while (cp = *argp++) { ^ ( ) anno.c:81:15: note: use '==' to turn this assignment into an equality comparison while (cp = *argp++) { ^ == anno.c:147:9: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration] if (chdir (maildir) == NOTOK) ^ anno.c:162:13: warning: implicit declaration of function 'annotate' is invalid in C99 [-Wimplicit-function-declaration] (void) annotate (m_name (msgnum), comp, text, inplace, datesw); ^ anno.c:175:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static make_comp (ap) ~~~~~~ ^ anno.c:202:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 7 warnings generated. clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c annosbr.c annosbr.c:15:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static annosbr(); ~~~~~~ ^ annosbr.c:19:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] annotate (file, comp, text, inplace, datesw) ^ annosbr.c:29:15: warning: implicit declaration of function 'lkopen' is invalid in C99 [-Wimplicit-function-declaration] if ((fd = lkopen (file, 2)) == NOTOK) { ^ annosbr.c:45:12: warning: implicit declaration of function 'lkclose' is invalid in C99 [-Wimplicit-function-declaration] (void) lkclose (fd, file); ^ annosbr.c:53:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static annosbr (src, file, comp, text, inplace, datesw) ~~~~~~ ^ annosbr.c:82:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = text) { ~~~^~~~~~ annosbr.c:82:12: note: place parentheses around the assignment to silence this warning if (cp = text) { ^ ( ) annosbr.c:82:12: note: use '==' to turn this assignment into an equality comparison if (cp = text) { ^ == annosbr.c:90:24: warning: field width should have type 'int', but argument has type 'long' [-Wformat] fprintf (tmp, "%s: %*.*s", comp, cp - sp, cp - sp, sp); ~~^~~ ~~~~~~~ annosbr.c:100:12: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] if ((fd = open (tmpfil, 0)) == NOTOK) ^ annosbr.c:104:9: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close (fd); ^ annosbr.c:105:9: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] (void) unlink (tmpfil); ^ annosbr.c:118:14: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] (void) unlink (tmpfil); ^ 11 warnings generated. clang -L../sbr -L../mts -L../zotnet -Wl,-R/usr/pkg/lib -Xlinker -rpath -Xlinker /usr/pkg/lib -o xanno anno.o annosbr.o ../config/config.o -lmh -lmts -lzot ../config/version.o ../zotnet/libzot.a(lock.o): In function `lockname': lock.c:(.text+0x634): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() echo anno anno clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c burst.c burst.c:14:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static cpybrst(); ~~~~~~ ^ burst.c:57:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (argc, argv) ^ burst.c:95:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cp = *argp++) { ~~~^~~~~~~~~ burst.c:95:15: note: place parentheses around the assignment to silence this warning while (cp = *argp++) { ^ ( ) burst.c:95:15: note: use '==' to turn this assignment into an equality comparison while (cp = *argp++) { ^ == burst.c:150:9: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration] if (chdir (maildir) == NOTOK) ^ burst.c:336:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static cpybrst (in, out, ifile, ofile, len) ~~~~~~ ^ burst.c:394:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 6 warnings generated. clang -L../sbr -L../mts -L../zotnet -Wl,-R/usr/pkg/lib -Xlinker -rpath -Xlinker /usr/pkg/lib -o xburst burst.o ../config/config.o -lmh -lmts -lzot ../config/version.o echo burst burst clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c comp.c comp.c:85:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (argc, argv) ^ comp.c:131:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cp = *argp++) { ~~~^~~~~~~~~ comp.c:131:15: note: place parentheses around the assignment to silence this warning while (cp = *argp++) { ^ ( ) comp.c:131:15: note: use '==' to turn this assignment into an equality comparison while (cp = *argp++) { ^ == comp.c:234:6: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration] if (chdir (maildir) == NOTOK) ^ comp.c:248:12: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] if ((in = open (form = getcpy (m_name (mp -> lowsel)), 0)) == NOTOK) ^ comp.c:253:16: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] if ((in = open (libpath (form), 0)) == NOTOK) ^ comp.c:257:16: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] if ((in = open (libpath (components), 0)) == NOTOK) ^ comp.c:266:16: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] if ((out = open (drft, 0)) != NOTOK) { ^ comp.c:268:9: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close (out); ^ comp.c:307:16: warning: implicit declaration of function 'creat' is invalid in C99 [-Wimplicit-function-declaration] if ((out = creat (drft, m_gmprot ())) == NOTOK) ^ comp.c:310:12: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close (in); ^ comp.c:318:12: warning: implicit declaration of function 'what_now' is invalid in C99 [-Wimplicit-function-declaration] (void) what_now (ed, nedit, use, drft, NULLCP, 0, NULLMP, NULLCP, 0, cwd); ^ 11 warnings generated. clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c whatnowproc.c whatnowproc.c:9:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] what_now (ed, nedit, use, file, altmsg, dist, mp, text, inplace, cwd) ^ whatnowproc.c:47:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (bp = getenv ("mhaltmsg"))/* XXX */ ~~~^~~~~~~~~~~~~~~~~~~~~ whatnowproc.c:47:12: note: place parentheses around the assignment to silence this warning if (bp = getenv ("mhaltmsg"))/* XXX */ ^ ( ) whatnowproc.c:47:12: note: use '==' to turn this assignment into an equality comparison if (bp = getenv ("mhaltmsg"))/* XXX */ ^ == whatnowproc.c:91:9: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration] (void) chdir (cwd); ^ whatnowproc.c:94:2: warning: implicit declaration of function 'WhatNow' is invalid in C99 [-Wimplicit-function-declaration] WhatNow (vecp, vec); ^ whatnowproc.c:98:5: warning: implicit declaration of function 'execvp' is invalid in C99 [-Wimplicit-function-declaration] execvp (whatnowproc, vec); ^ 5 warnings generated. clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c whatnowsbr.c whatnowsbr.c:113:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cp = *argp++) { ~~~^~~~~~~~~ whatnowsbr.c:113:15: note: place parentheses around the assignment to silence this warning while (cp = *argp++) { ^ ( ) whatnowsbr.c:113:15: note: use '==' to turn this assignment into an equality comparison while (cp = *argp++) { ^ == whatnowsbr.c:167:22: warning: '&&' within '||' [-Wlogical-op-parentheses] if (drft == NULL && (drft = getenv ("mhdraft")) == NULL || *drft == 0) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ whatnowsbr.c:167:22: note: place parentheses around the '&&' expression to silence this warning if (drft == NULL && (drft = getenv ("mhdraft")) == NULL || *drft == 0) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ whatnowsbr.c:352:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (status = pidwait (pid, NOTOK)) { ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ whatnowsbr.c:352:17: note: place parentheses around the assignment to silence this warning if (status = pidwait (pid, NOTOK)) { ^ ( ) whatnowsbr.c:352:17: note: use '==' to turn this assignment into an equality comparison if (status = pidwait (pid, NOTOK)) { ^ == whatnowsbr.c:367:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ whatnowsbr.c:381:11: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] && (!mp -> msgflags & READONLY) ^ ~ whatnowsbr.c:381:11: note: add parentheses after the '!' to evaluate the bitwise operator first && (!mp -> msgflags & READONLY) ^ ( ) whatnowsbr.c:381:11: note: add parentheses around left hand side expression to silence this warning && (!mp -> msgflags & READONLY) ^ ( ) whatnowsbr.c:423:15: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] if ((in = open (ifile, 0)) == NOTOK) ^ whatnowsbr.c:450:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static sendfile (arg, file, pushsw) ~~~~~~ ^ whatnowsbr.c:730:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cp = *argp++) { ~~~^~~~~~~~~ whatnowsbr.c:730:15: note: place parentheses around the assignment to silence this warning while (cp = *argp++) { ^ ( ) whatnowsbr.c:730:15: note: use '==' to turn this assignment into an equality comparison while (cp = *argp++) { ^ == whatnowsbr.c:833:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = m_find ("Aliasfile")) { /* allow Aliasfile: profile entry */ ~~~^~~~~~~~~~~~~~~~~~~~~~ whatnowsbr.c:833:12: note: place parentheses around the assignment to silence this warning if (cp = m_find ("Aliasfile")) { /* allow Aliasfile: profile entry */ ^ ( ) whatnowsbr.c:833:12: note: use '==' to turn this assignment into an equality comparison if (cp = m_find ("Aliasfile")) { /* allow Aliasfile: profile entry */ ^ == whatnowsbr.c:892:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (pushsw = pushed) ~~~~~~~^~~~~~~~ whatnowsbr.c:892:16: note: place parentheses around the assignment to silence this warning if (pushsw = pushed) ^ ( ) whatnowsbr.c:892:16: note: use '==' to turn this assignment into an equality comparison if (pushsw = pushed) ^ == whatnowsbr.c:898:9: warning: implicit declaration of function 'sendsbr' is invalid in C99 [-Wimplicit-function-declaration] if (sendsbr (vec, vecp, file, &st) == OK) ^ 11 warnings generated. clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c sendsbr.c sendsbr.c:16:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static alert(); ~~~~~~ ^ sendsbr.c:227:67: warning: implicit declaration of function 'LocalName' is invalid in C99 [-Wimplicit-function-declaration] (void) sprintf (msgid, "<%d.%ld@%s>", getpid (), (long)clock, LocalName ()); ^ sendsbr.c:227:67: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] (void) sprintf (msgid, "<%d.%ld@%s>", getpid (), (long)clock, LocalName ()); ~~ ^~~~~~~~~~~~ %d sendsbr.c:367:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ sendsbr.c:369:21: warning: implicit declaration of function 'distout' is invalid in C99 [-Wimplicit-function-declaration] if (distfile && distout (drft, distfile, backup) == NOTOK) ^ sendsbr.c:422:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static alert (file, out) ~~~~~~ ^ sendsbr.c:443:13: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] if ((in = open (file, 0)) == NOTOK) ^ sendsbr.c:445:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ sendsbr.c:473:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ sendsbr.c:482:15: warning: implicit declaration of function 'creat' is invalid in C99 [-Wimplicit-function-declaration] if ((fd = creat (tmpfil, 0600)) == NOTOK) ^ sendsbr.c:486:15: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] if ((fd = open (tmpfil, 2)) == NOTOK) ^ sendsbr.c:593:16: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] && (fd3 = open ("/dev/null", 2)) != NOTOK ^ sendsbr.c:629:13: warning: implicit declaration of function 'annotate' is invalid in C99 [-Wimplicit-function-declaration] (void) annotate (m_name (msgnum), annotext, cp, inplace, 1); ^ 13 warnings generated. clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c distsbr.c distsbr.c:11:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static ready_msg(); ~~~~~~ ^ distsbr.c:46:12: warning: implicit declaration of function 'chmod' is invalid in C99 [-Wimplicit-function-declaration] (void) chmod (drft, m_gmprot ()); ^ distsbr.c:99:10: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] (void) unlink (drft); ^ distsbr.c:116:9: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] (void) unlink (drft); ^ distsbr.c:135:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static ready_msg (msgnam) ~~~~~~ ^ distsbr.c:147:9: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close (hdrfd), hdrfd = NOTOK; ^ distsbr.c:155:16: warning: implicit declaration of function 'dup' is invalid in C99 [-Wimplicit-function-declaration] if ((out = dup (hdrfd)) == NOTOK ^ distsbr.c:158:12: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] (void) unlink (tmpfil); ^ distsbr.c:208:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 9 warnings generated. clang -L../sbr -L../mts -L../zotnet -Wl,-R/usr/pkg/lib -Xlinker -rpath -Xlinker /usr/pkg/lib -o xcomp comp.o whatnowproc.o whatnowsbr.o sendsbr.o annosbr.o distsbr.o ../config/config.o -lmh -lmts -lzot ../config/version.o ../zotnet/libzot.a(lock.o): In function `lockname': lock.c:(.text+0x634): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() echo comp comp clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c dist.c dist.c:87:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (argc, argv) ^ dist.c:136:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cp = *argp++) { ~~~^~~~~~~~~ dist.c:136:15: note: place parentheses around the assignment to silence this warning while (cp = *argp++) { ^ ( ) dist.c:136:15: note: use '==' to turn this assignment into an equality comparison while (cp = *argp++) { ^ == dist.c:236:12: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] if ((in = open (libpath (form), 0)) == NOTOK) ^ dist.c:240:12: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] if ((in = open (libpath (distcomps), 0)) == NOTOK) ^ dist.c:273:16: warning: implicit declaration of function 'creat' is invalid in C99 [-Wimplicit-function-declaration] if ((out = creat (drft, m_gmprot ())) == NOTOK) ^ dist.c:277:12: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close (in); ^ dist.c:293:9: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration] if (chdir (maildir) == NOTOK) ^ dist.c:308:15: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] if ((in = open (msgnam = file ? file : getcpy (m_name (mp -> lowsel)), 0)) ^ dist.c:322:12: warning: implicit declaration of function 'what_now' is invalid in C99 [-Wimplicit-function-declaration] (void) what_now (ed, nedit, NOUSE, drft, msgnam, 1, mp, ^ 9 warnings generated. clang -L../sbr -L../mts -L../zotnet -Wl,-R/usr/pkg/lib -Xlinker -rpath -Xlinker /usr/pkg/lib -o xdist dist.o whatnowproc.o whatnowsbr.o sendsbr.o annosbr.o distsbr.o ../config/config.o -lmh -lmts -lzot ../config/version.o ../zotnet/libzot.a(lock.o): In function `lockname': lock.c:(.text+0x634): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() echo dist dist clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c folder.c folder.c:16:9: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static dodir(), dother(); ~~~~~~ ^ folder.c:16:18: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static dodir(), dother(); ~~~~~~ ^ folder.c:105:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (argc, argv) ^ folder.c:143:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cp = *argp++) { ~~~^~~~~~~~~ folder.c:143:15: note: place parentheses around the assignment to silence this warning while (cp = *argp++) { ^ ( ) folder.c:143:15: note: use '==' to turn this assignment into an equality comparison while (cp = *argp++) { ^ == folder.c:291:6: warning: implicit declaration of function 'access' is invalid in C99 [-Wimplicit-function-declaration] if (access (cp = m_maildir (argfolder), 0) == NOTOK) ^ folder.c:300:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = m_find (stack)) { ~~~^~~~~~~~~~~~~~~~ folder.c:300:9: note: place parentheses around the assignment to silence this warning if (cp = m_find (stack)) { ^ ( ) folder.c:300:9: note: use '==' to turn this assignment into an equality comparison if (cp = m_find (stack)) { ^ == folder.c:377:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static dodir (dir) ~~~~~~ ^ folder.c:386:9: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration] if (chdir (mhdir) == NOTOK) ^ folder.c:395:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ folder.c:410:9: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration] if (chdir (mailfile) == NOTOK) { ^ folder.c:572:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (dp = readdir (dd)) ~~~^~~~~~~~~~~~~~ folder.c:572:15: note: place parentheses around the assignment to silence this warning while (dp = readdir (dd)) ^ ( ) folder.c:572:15: note: use '==' to turn this assignment into an equality comparison while (dp = readdir (dd)) ^ == folder.c:626:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (i = *s1++ - *s2++) ~~^~~~~~~~~~~~~~~ folder.c:626:8: note: place parentheses around the assignment to silence this warning if (i = *s1++ - *s2++) ^ ( ) folder.c:626:8: note: use '==' to turn this assignment into an equality comparison if (i = *s1++ - *s2++) ^ == folder.c:634:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static dother () { ~~~~~~ ^ folder.c:647:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 14 warnings generated. clang -L../sbr -L../mts -L../zotnet -Wl,-R/usr/pkg/lib -Xlinker -rpath -Xlinker /usr/pkg/lib -o xfolder folder.o ../config/config.o -lmh -lmts -lzot ../config/version.o echo folder folder clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c forw.c forw.c:25:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static mhl_draft(), build_form(); ~~~~~~ ^ forw.c:25:21: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static mhl_draft(), build_form(); ~~~~~~ ^ forw.c:144:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (argc, argv) ^ forw.c:202:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cp = *argp++) { ~~~^~~~~~~~~ forw.c:202:15: note: place parentheses around the assignment to silence this warning while (cp = *argp++) { ^ ( ) forw.c:202:15: note: use '==' to turn this assignment into an equality comparison while (cp = *argp++) { ^ == forw.c:398:9: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration] if (chdir (maildir) == NOTOK) ^ forw.c:413:19: warning: implicit declaration of function 'access' is invalid in C99 [-Wimplicit-function-declaration] if (filter && access (filter, 04) == NOTOK) ^ forw.c:435:16: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] if ((in = open (libpath (form), 0)) == NOTOK) ^ forw.c:439:16: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] if ((in = open (libpath (forwcomps), 0)) == NOTOK) ^ forw.c:444:16: warning: implicit declaration of function 'creat' is invalid in C99 [-Wimplicit-function-declaration] if ((out = creat (drft, m_gmprot ())) == NOTOK) ^ forw.c:448:12: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close (in); ^ forw.c:453:12: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] if ((in = open (file, 0)) == NOTOK) ^ forw.c:485:12: warning: implicit declaration of function 'what_now' is invalid in C99 [-Wimplicit-function-declaration] (void) what_now (ed, nedit, NOUSE, drft, NULLCP, 0, mp, ^ forw.c:492:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static mhl_draft (out, digest, volume, issue, file, filter, dashflg) ~~~~~~ ^ forw.c:509:9: warning: implicit declaration of function 'pipe' is invalid in C99 [-Wimplicit-function-declaration] if (pipe (pd) == NOTOK) ^ forw.c:514:29: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration] for (i = 0; (child_id = fork ()) == NOTOK && i < 5; i++) ^ forw.c:515:2: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep (5); ^ forw.c:521:13: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close (pd[0]); ^ forw.c:522:13: warning: implicit declaration of function 'dup2' is invalid in C99 [-Wimplicit-function-declaration] (void) dup2 (pd[1], 1); ^ forw.c:546:6: warning: implicit declaration of function 'execvp' is invalid in C99 [-Wimplicit-function-declaration] execvp (mhlproc, vec); ^ forw.c:549:6: warning: implicitly declaring library function '_exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] _exit (-1); ^ forw.c:549:6: note: include the header or explicitly provide a declaration for '_exit' forw.c:558:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ forw.c:575:9: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] (void) write (out, buffer, strlen (buffer)); ^ forw.c:603:13: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] (void) write (out, buffer, strlen (buffer)); ^ forw.c:605:16: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] if ((fd = open (msgnam = m_name (msgnum), 0)) == NOTOK) { ^ forw.c:610:13: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close (fd); ^ forw.c:620:12: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] (void) write (out, buffer, strlen (buffer)); ^ forw.c:653:12: warning: implicit declaration of function 'fmt_compile' is invalid in C99 [-Wimplicit-function-declaration] (void) fmt_compile (nfs, &fmt); ^ forw.c:671:12: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] (void) unlink (tmpfil); ^ forw.c:672:15: warning: implicit declaration of function 'dup' is invalid in C99 [-Wimplicit-function-declaration] if ((in = dup (fileno (tmp))) == NOTOK) ^ 29 warnings generated. clang -L../sbr -L../mts -L../zotnet -Wl,-R/usr/pkg/lib -Xlinker -rpath -Xlinker /usr/pkg/lib -o xforw forw.o whatnowproc.o whatnowsbr.o sendsbr.o annosbr.o distsbr.o ../config/config.o -lmh -lmts -lzot ../config/version.o ../zotnet/libzot.a(lock.o): In function `lockname': lock.c:(.text+0x634): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() echo forw forw clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c inc.c inc.c:164:1: warning: '/*' within block comment [-Wcomment] /* ARGSUSED */ ^ inc.c:178:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (argc, argv) ^ inc.c:292:5: warning: implicit declaration of function 'mts_init' is invalid in C99 [-Wimplicit-function-declaration] mts_init (invo_name); ^ inc.c:336:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (cp = *argp++) { ~~~^~~~~~~~~ inc.c:336:15: note: place parentheses around the assignment to silence this warning while (cp = *argp++) { ^ ( ) inc.c:336:15: note: use '==' to turn this assignment into an equality comparison while (cp = *argp++) { ^ == inc.c:500:6: warning: implicit declaration of function 'ruserpass' is invalid in C99 [-Wimplicit-function-declaration] ruserpass (host, &user, &pass); ^ inc.c:519:11: warning: implicit declaration of function 'pop_init' is invalid in C99 [-Wimplicit-function-declaration] status = pop_init (host, user, pass, snoop, rpop); ^ inc.c:522:25: warning: implicit declaration of function 'pop_stat' is invalid in C99 [-Wimplicit-function-declaration] if (status == NOTOK || pop_stat (&nmsgs, &nbytes) == NOTOK) ^ inc.c:525:13: warning: implicit declaration of function 'pop_quit' is invalid in C99 [-Wimplicit-function-declaration] (void) pop_quit (); ^ inc.c:586:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ inc.c:687:7: warning: implicit declaration of function 'pop_retr' is invalid in C99 [-Wimplicit-function-declaration] if (pop_retr (i, pop_pack) == NOTOK) ^ inc.c:703:7: warning: implicit declaration of function 'pop_retr' is invalid in C99 [-Wimplicit-function-declaration] if (pop_retr (i, pop_action) == NOTOK) ^ inc.c:769:14: warning: implicit declaration of function 'pop_quit' is invalid in C99 [-Wimplicit-function-declaration] (void) pop_quit (); ^ inc.c:780:14: warning: implicit declaration of function 'pop_quit' is invalid in C99 [-Wimplicit-function-declaration] (void) pop_quit (); ^ inc.c:787:21: warning: implicit declaration of function 'pop_dele' is invalid in C99 [-Wimplicit-function-declaration] if (trnflag && pop_dele (i) == NOTOK) ^ inc.c:790:6: warning: implicit declaration of function 'pop_quit' is invalid in C99 [-Wimplicit-function-declaration] if (pop_quit () == NOTOK) ^ inc.c:893:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ inc.c:920:15: warning: implicit declaration of function 'creat' is invalid in C99 [-Wimplicit-function-declaration] if ((i = creat (newmail, 0600)) != NOTOK) ^ inc.c:927:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ inc.c:959:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ inc.c:1070:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ inc.c:1086:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ inc.c:1096:15: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] if ((md = open (cp = map_name (file), 0)) == NOTOK ^ 22 warnings generated. clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c scansbr.c scansbr.c:102:19: warning: implicit declaration of function 'sc_width' is invalid in C99 [-Wimplicit-function-declaration] if ((width = sc_width ()) < WIDTH/2) ^ scansbr.c:113:11: warning: implicit declaration of function 'fmt_compile' is invalid in C99 [-Wimplicit-function-declaration] ncomps = fmt_compile (nfs, &fmt) + 1; ^ scansbr.c:126:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cptr = (struct comp *) calloc (1, sizeof *cptr)) { ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scansbr.c:126:15: note: place parentheses around the assignment to silence this warning if (cptr = (struct comp *) calloc (1, sizeof *cptr)) { ^ ( ) scansbr.c:126:15: note: use '==' to turn this assignment into an equality comparison if (cptr = (struct comp *) calloc (1, sizeof *cptr)) { ^ == scansbr.c:165:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ scansbr.c:180:6: warning: implicit declaration of function 'mh_fputs' is invalid in C99 [-Wimplicit-function-declaration] FPUTS ("Return-Path: "); ^ scansbr.c:60:7: note: expanded from macro 'FPUTS' if (mh_fputs(buf,scnout) == EOF)\ ^ scansbr.c:181:6: warning: implicit declaration of function 'mh_fputs' is invalid in C99 [-Wimplicit-function-declaration] FPUTS (cp); ^ scansbr.c:60:7: note: expanded from macro 'FPUTS' if (mh_fputs(buf,scnout) == EOF)\ ^ scansbr.c:193:7: warning: implicit declaration of function 'mh_fputs' is invalid in C99 [-Wimplicit-function-declaration] FPUTS (name); ^ scansbr.c:60:7: note: expanded from macro 'FPUTS' if (mh_fputs(buf,scnout) == EOF)\ ^ scansbr.c:196:7: warning: implicit declaration of function 'mh_fputs' is invalid in C99 [-Wimplicit-function-declaration] FPUTS (tmpbuf); ^ scansbr.c:60:7: note: expanded from macro 'FPUTS' if (mh_fputs(buf,scnout) == EOF)\ ^ scansbr.c:204:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cptr = wantcomp[CHASH(name)]) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ scansbr.c:204:12: note: place parentheses around the assignment to silence this warning if (cptr = wantcomp[CHASH(name)]) ^ ( ) scansbr.c:204:12: note: use '==' to turn this assignment into an equality comparison if (cptr = wantcomp[CHASH(name)]) ^ == scansbr.c:223:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (cptr = cptr->c_next); ~~~~~^~~~~~~~~~~~~~ scansbr.c:223:21: note: place parentheses around the assignment to silence this warning } while (cptr = cptr->c_next); ^ ( ) scansbr.c:223:21: note: use '==' to turn this assignment into an equality comparison } while (cptr = cptr->c_next); ^ == scansbr.c:228:4: warning: implicit declaration of function 'mh_fputs' is invalid in C99 [-Wimplicit-function-declaration] FPUTS (tmpbuf); ^ scansbr.c:60:7: note: expanded from macro 'FPUTS' if (mh_fputs(buf,scnout) == EOF)\ ^ scansbr.c:240:3: warning: implicit declaration of function 'mh_fputs' is invalid in C99 [-Wimplicit-function-declaration] FPUTS (tmpbuf); ^ scansbr.c:60:7: note: expanded from macro 'FPUTS' if (mh_fputs(buf,scnout) == EOF)\ ^ scansbr.c:292:7: warning: implicit declaration of function 'mh_fputs' is invalid in C99 [-Wimplicit-function-declaration] FPUTS ("\n\nBAD MSG:\n"); ^ scansbr.c:60:7: note: expanded from macro 'FPUTS' if (mh_fputs(buf,scnout) == EOF)\ ^ scansbr.c:293:7: warning: implicit declaration of function 'mh_fputs' is invalid in C99 [-Wimplicit-function-declaration] FPUTS (name); ^ scansbr.c:60:7: note: expanded from macro 'FPUTS' if (mh_fputs(buf,scnout) == EOF)\ ^ scansbr.c:374:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while ( cptr = *savecomp++ ) { ~~~~~^~~~~~~~~~~~~ scansbr.c:374:18: note: place parentheses around the assignment to silence this warning while ( cptr = *savecomp++ ) { ^ ( ) scansbr.c:374:18: note: use '==' to turn this assignment into an equality comparison while ( cptr = *savecomp++ ) { ^ == scansbr.c:400:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] mh_fputs(s, stream) ^ scansbr.c:405:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(c = *s++) ~~^~~~~~ scansbr.c:405:13: note: place parentheses around the assignment to silence this warning while(c = *s++) ^ ( ) scansbr.c:405:13: note: use '==' to turn this assignment into an equality comparison while(c = *s++) ^ == 17 warnings generated. clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c dropsbr.c dropsbr.c:77:14: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close (fd); ^ dropsbr.c:84:14: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close (fd); ^ dropsbr.c:121:7: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep (5); ^ dropsbr.c:146:15: warning: implicit declaration of function 'creat' is invalid in C99 [-Wimplicit-function-declaration] if ((fd = creat (file, 0600)) == NOTOK) ^ dropsbr.c:149:12: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close (fd); ^ dropsbr.c:150:12: warning: implicit declaration of function 'chown' is invalid in C99 [-Wimplicit-function-declaration] (void) chown (file, uid, gid); ^ dropsbr.c:166:9: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] || read (fd, ldelim, count) != count) ^ dropsbr.c:171:9: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] && write (fd, "\n", 1) != 1 ^ dropsbr.c:282:9: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] if (write (md, mmdlm1, j) != j) ^ dropsbr.c:340:10: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] if (write (md, mmdlm1, j) != j) ^ dropsbr.c:353:18: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] while ((i = read (fd, buffer, sizeof buffer)) > 0) { ^ dropsbr.c:381:15: warning: implicit declaration of function 'dup' is invalid in C99 [-Wimplicit-function-declaration] if ((j = dup (fd)) == NOTOK) ^ dropsbr.c:384:10: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close (j); ^ dropsbr.c:444:15: warning: implicit declaration of function 'dup' is invalid in C99 [-Wimplicit-function-declaration] if ((fd = dup (md)) == NOTOK || (fp = fdopen (fd, "r")) == NULL) { ^ dropsbr.c:446:13: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close (fd); ^ dropsbr.c:487:29: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] (void) sprintf (buffer, "%.*s.%s.map", cp - file, file, cp); ~~^~ ~~~~~~~~~ dropsbr.c:508:15: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] if ((md = open (cp = map_name (file), 0)) == NOTOK ^ dropsbr.c:511:13: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close (md); ^ dropsbr.c:518:9: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close (md); ^ dropsbr.c:525:14: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] if ((i = read (md, (char *) (dp + 1), msgp * sizeof *dp)) < sizeof *dp) { ^ dropsbr.c:542:12: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close (md); ^ dropsbr.c:575:9: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] (void) unlink (file); ^ dropsbr.c:583:12: warning: implicit declaration of function 'dup' is invalid in C99 [-Wimplicit-function-declaration] if ((td = dup (md)) == NOTOK || (fp = fdopen (td, "r")) == NULL) { ^ dropsbr.c:587:10: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close (td); ^ dropsbr.c:613:11: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] if (write (fd, (char *) dp, sizeof *dp) != sizeof *dp) { ^ dropsbr.c:641:6: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] if (write (fd, (char *) dp, sizeof *dp) != sizeof *dp) { ^ dropsbr.c:662:9: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] if (write (fd, (char *) dp, sizeof *dp) != sizeof *dp) { ^ dropsbr.c:701:9: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] if (read (fd, (char *) &tmpd, sizeof *dp) != sizeof *dp) { ^ dropsbr.c:746:3: warning: '&&' within '||' [-Wlogical-op-parentheses] && dl -> d_stop + count != dp -> d_stop) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dropsbr.c:746:3: note: place parentheses around the '&&' expression to silence this warning && dl -> d_stop + count != dp -> d_stop) { ^ ) 29 warnings generated. clang -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETEUID -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop3"' -DAPOP='"/usr/pkg/etc/pop.auth"' -DRPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/pkg/bin/jless"' -DNNTP -DSENDMTS -DSMTP -DPOP -DTYPESIG=void -O2 -c trmsbr.c trmsbr.c:9:10: fatal error: 'sgtty.h' file not found #include ^~~~~~~~~ 1 error generated. *** Error code 1 Stop. make[1]: stopped in /var/pkgsrc/work/mail/ja-mh/work/mh-6.8.4-JP-3.05/uip for d in bboards general pop; do (cd $d; make DESTDIR= all); done cat tmac.me ali.me | sed -f me2man.sed | gzip -9n > ali.man cat tmac.me anno.me | sed -f me2man.sed | gzip -9n > anno.man cat tmac.me burst.me | sed -f me2man.sed | gzip -9n > burst.man cat tmac.me comp.me | sed -f me2man.sed | gzip -9n > comp.man cat tmac.me dist.me | sed -f me2man.sed | gzip -9n > dist.man cat tmac.me folder.me | sed -f me2man.sed | gzip -9n > folder.man cat tmac.me forw.me | sed -f me2man.sed | gzip -9n > forw.man cat tmac.me inc.me | sed -f me2man.sed | gzip -9n > inc.man cat tmac.me mark.me | sed -f me2man.sed | gzip -9n > mark.man cat tmac.me mh-chart.me | sed -f me2man.sed | gzip -9n > mh-chart.man cat tmac.me mh.me | sed -f me2man.sed | gzip -9n > mh.man cat tmac.me mhl.me | sed -f me2man.sed | gzip -9n > mhl.man cat tmac.me mhook.me | sed -f me2man.sed | gzip -9n > mhook.man cat tmac.me mhmail.me | sed -f me2man.sed | gzip -9n > mhmail.man cat tmac.me mhn.me | sed -f me2man.sed | gzip -9n > mhn.man cat tmac.me mhparam.me | sed -f me2man.sed | gzip -9n > mhparam.man cat tmac.me mhpath.me | sed -f me2man.sed | gzip -9n > mhpath.man cat tmac.me msgchk.me | sed -f me2man.sed | gzip -9n > msgchk.man cat tmac.me msh.me | sed -f me2man.sed | gzip -9n > msh.man cat tmac.me next.me | sed -f me2man.sed | gzip -9n > next.man cat tmac.me packf.me | sed -f me2man.sed | gzip -9n > packf.man cat tmac.me pgped.me | sed -f me2man.sed | gzip -9n > pgped.man cat tmac.me pick.me | sed -f me2man.sed | gzip -9n > pick.man cat tmac.me prev.me | sed -f me2man.sed | gzip -9n > prev.man cat tmac.me prompter.me | sed -f me2man.sed | gzip -9n > prompter.man cat tmac.me rcvstore.me | sed -f me2man.sed | gzip -9n > rcvstore.man cat tmac.me refile.me | sed -f me2man.sed | gzip -9n > refile.man cat tmac.me repl.me | sed -f me2man.sed | gzip -9n > repl.man cat tmac.me rmf.me | sed -f me2man.sed | gzip -9n > rmf.man cat tmac.me rmm.me | sed -f me2man.sed | gzip -9n > rmm.man cat tmac.me scan.me | sed -f me2man.sed | gzip -9n > scan.man cat tmac.me send.me | sed -f me2man.sed | gzip -9n > send.man cat tmac.me show.me | sed -f me2man.sed | gzip -9n > show.man cat tmac.me slocal.me | sed -f me2man.sed | gzip -9n > slocal.man cat tmac.me sortm.me | sed -f me2man.sed | gzip -9n > sortm.man cat tmac.me vmh.me | sed -f me2man.sed | gzip -9n > vmh.man cat tmac.me whatnow.me | sed -f me2man.sed | gzip -9n > whatnow.man cat tmac.me whom.me | sed -f me2man.sed | gzip -9n > whom.man cat tmac.me bbc.me | sed -f me2man.sed | gzip -9n > bbc.man cat tmac.me mh-alias.me | sed -f me2man.sed | gzip -9n > mh-alias.man cat tmac.me mh-format.me | sed -f me2man.sed | gzip -9n > mh-format.man cat tmac.me mh-mail.me | sed -f me2man.sed | gzip -9n > mh-mail.man cat tmac.me mh-profile.me | sed -f me2man.sed | gzip -9n > mh-profile.man cat tmac.me mh-sequence.me | sed -f me2man.sed | gzip -9n > mh-sequence.man cat tmac.me mh-tailor.me | sed -f me2man.sed | gzip -9n > mh-tailor.man cat tmac.me ap.me | sed -f me2man.sed | gzip -9n > ap.man cat tmac.me conflict.me | sed -f me2man.sed | gzip -9n > conflict.man cat tmac.me dp.me | sed -f me2man.sed | gzip -9n > dp.man cat tmac.me install-mh.me | sed -f me2man.sed | gzip -9n > install-mh.man cat tmac.me post.me | sed -f me2man.sed | gzip -9n > post.man cat tmac.me fmtdump.me | sed -f me2man.sed | gzip -9n > fmtdump.man cat tmac.me ja-ali.me | sed -f me2man.sed | gzip -9n > ja-ali.man cat tmac.me ja-anno.me | sed -f me2man.sed | gzip -9n > ja-anno.man cat tmac.me ja-bbc.me | sed -f me2man.sed | gzip -9n > ja-bbc.man cat tmac.me ja-burst.me | sed -f me2man.sed | gzip -9n > ja-burst.man cat tmac.me ja-comp.me | sed -f me2man.sed | gzip -9n > ja-comp.man cat tmac.me ja-dist.me | sed -f me2man.sed | gzip -9n > ja-dist.man cat tmac.me ja-folder.me | sed -f me2man.sed | gzip -9n > ja-folder.man cat tmac.me ja-forw.me | sed -f me2man.sed | gzip -9n > ja-forw.man cat tmac.me ja-inc.me | sed -f me2man.sed | gzip -9n > ja-inc.man cat tmac.me ja-mark.me | sed -f me2man.sed | gzip -9n > ja-mark.man cat tmac.me ja-mh-chart.me | sed -f me2man.sed | gzip -9n > ja-mh-chart.man cat tmac.me ja-mh.me | sed -f me2man.sed | gzip -9n > ja-mh.man cat tmac.me ja-mhl.me | sed -f me2man.sed | gzip -9n > ja-mhl.man cat tmac.me ja-mhmail.me | sed -f me2man.sed | gzip -9n > ja-mhmail.man cat tmac.me ja-mhn.me | sed -f me2man.sed | gzip -9n > ja-mhn.man cat tmac.me ja-mhook.me | sed -f me2man.sed | gzip -9n > ja-mhook.man cat tmac.me ja-mhparam.me | sed -f me2man.sed | gzip -9n > ja-mhparam.man cat tmac.me ja-mhpath.me | sed -f me2man.sed | gzip -9n > ja-mhpath.man cat tmac.me ja-msgchk.me | sed -f me2man.sed | gzip -9n > ja-msgchk.man cat tmac.me ja-msh.me | sed -f me2man.sed | gzip -9n > ja-msh.man cat tmac.me ja-next.me | sed -f me2man.sed | gzip -9n > ja-next.man cat tmac.me ja-packf.me | sed -f me2man.sed | gzip -9n > ja-packf.man cat tmac.me ja-pgped.me | sed -f me2man.sed | gzip -9n > ja-pgped.man cat tmac.me ja-pick.me | sed -f me2man.sed | gzip -9n > ja-pick.man cat tmac.me ja-prev.me | sed -f me2man.sed | gzip -9n > ja-prev.man cat tmac.me ja-prompter.me | sed -f me2man.sed | gzip -9n > ja-prompter.man cat tmac.me ja-rcvstore.me | sed -f me2man.sed | gzip -9n > ja-rcvstore.man cat tmac.me ja-refile.me | sed -f me2man.sed | gzip -9n > ja-refile.man cat tmac.me ja-repl.me | sed -f me2man.sed | gzip -9n > ja-repl.man cat tmac.me ja-rmf.me | sed -f me2man.sed | gzip -9n > ja-rmf.man cat tmac.me ja-rmm.me | sed -f me2man.sed | gzip -9n > ja-rmm.man cat tmac.me ja-scan.me | sed -f me2man.sed | gzip -9n > ja-scan.man cat tmac.me ja-send.me | sed -f me2man.sed | gzip -9n > ja-send.man cat tmac.me ja-show.me | sed -f me2man.sed | gzip -9n > ja-show.man cat tmac.me ja-slocal.me | sed -f me2man.sed | gzip -9n > ja-slocal.man cat tmac.me ja-sortm.me | sed -f me2man.sed | gzip -9n > ja-sortm.man cat tmac.me ja-vmh.me | sed -f me2man.sed | gzip -9n > ja-vmh.man cat tmac.me ja-whatnow.me | sed -f me2man.sed | gzip -9n > ja-whatnow.man cat tmac.me ja-whom.me | sed -f me2man.sed | gzip -9n > ja-whom.man cat tmac.me ja-mh-alias.me | sed -f me2man.sed | gzip -9n > ja-mh-alias.man cat tmac.me ja-mh-format.me | sed -f me2man.sed | gzip -9n > ja-mh-format.man cat tmac.me ja-mh-mail.me | sed -f me2man.sed | gzip -9n > ja-mh-mail.man cat tmac.me ja-mh-profile.me | sed -f me2man.sed | gzip -9n > ja-mh-profile.man cat tmac.me ja-mh-sequence.me | sed -f me2man.sed | gzip -9n > ja-mh-sequence.man cat tmac.me ja-mh-tailor.me | sed -f me2man.sed | gzip -9n > ja-mh-tailor.man cat tmac.me ja-ap.me | sed -f me2man.sed | gzip -9n > ja-ap.man cat tmac.me ja-conflict.me | sed -f me2man.sed | gzip -9n > ja-conflict.man cat tmac.me ja-dp.me | sed -f me2man.sed | gzip -9n > ja-dp.man cat tmac.me ja-fmtdump.me | sed -f me2man.sed | gzip -9n > ja-fmtdump.man cat tmac.me ja-install-mh.me | sed -f me2man.sed | gzip -9n > ja-install-mh.man cat tmac.me ja-post.me | sed -f me2man.sed | gzip -9n > ja-post.man