Making C-Kermit 9.0.304 for Mac OS X 10.11.6... cc -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET -DCKHTTP -DUSE_STRERROR -DUSE_NAMESER_COMPAT -DNOCHECKOVERFLOW -DFNFLOAT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -DNODCLINITGROUPS -DNOUUCP -O -DHERALD="\" Mac OS X 10.11.6\"" -DCKCPU="\"x86_64\"" -DKTARGET=\"macosx\" -c ckcmai.c cc -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET -DCKHTTP -DUSE_STRERROR -DUSE_NAMESER_COMPAT -DNOCHECKOVERFLOW -DFNFLOAT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -DNODCLINITGROUPS -DNOUUCP -O -DHERALD="\" Mac OS X 10.11.6\"" -DCKCPU="\"x86_64\"" -DKTARGET=\"macosx\" -c ckclib.c ckclib.c:3191:9: warning: expression result unused [-Wunused-value] *s2++; ^~~~~ 1 warning generated. cc -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET -DCKHTTP -DUSE_STRERROR -DUSE_NAMESER_COMPAT -DNOCHECKOVERFLOW -DFNFLOAT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -DNODCLINITGROUPS -DNOUUCP -O -DHERALD="\" Mac OS X 10.11.6\"" -DCKCPU="\"x86_64\"" -DKTARGET=\"macosx\" -c ckucmd.c ckucmd.c:5457:16: warning: '&&' within '||' [-Wlogical-op-parentheses] while (k >= 0 && ibuf[k] == CR || ibuf[k] == LF) ~~~~~~~^~~~~~~~~~~~~~~~ ~~ ckucmd.c:5457:16: note: place parentheses around the '&&' expression to silence this warning while (k >= 0 && ibuf[k] == CR || ibuf[k] == LF) ~~~~~~~^~~~~~~~~~~~~~~~ ckucmd.c:5459:16: warning: '&&' within '||' [-Wlogical-op-parentheses] while (k >= 0 && ibuf[k] == SP || ibuf[k] == HT) ~~~~~~~^~~~~~~~~~~~~~~~ ~~ ckucmd.c:5459:16: note: place parentheses around the '&&' expression to silence this warning while (k >= 0 && ibuf[k] == SP || ibuf[k] == HT) ~~~~~~~^~~~~~~~~~~~~~~~ 2 warnings generated. cc -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET -DCKHTTP -DUSE_STRERROR -DUSE_NAMESER_COMPAT -DNOCHECKOVERFLOW -DFNFLOAT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -DNODCLINITGROUPS -DNOUUCP -O -DHERALD="\" Mac OS X 10.11.6\"" -DCKCPU="\"x86_64\"" -DKTARGET=\"macosx\" -c ckuusr.c ckuusr.c:7916:11: warning: add explicit braces to avoid dangling else [-Wdangling-else] else n = 0; ^ ckuusr.c:13506:57: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuusr.c:13509:57: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuusr.c:13514:57: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuusr.c:13516:57: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuusr.c:13555:15: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare] if (s) if (s == "") s = NULL; ^ ~~ ckuusr.c:13563:15: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare] if (s) if (s == "") s = NULL; ^ ~~ 7 warnings generated. cc -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET -DCKHTTP -DUSE_STRERROR -DUSE_NAMESER_COMPAT -DNOCHECKOVERFLOW -DFNFLOAT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -DNODCLINITGROUPS -DNOUUCP -O -DHERALD="\" Mac OS X 10.11.6\"" -DCKCPU="\"x86_64\"" -DKTARGET=\"macosx\" -c ckuus2.c ckuus2.c:7459:11: warning: add explicit braces to avoid dangling else [-Wdangling-else] else n = 0; ^ 1 warning generated. cc -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET -DCKHTTP -DUSE_STRERROR -DUSE_NAMESER_COMPAT -DNOCHECKOVERFLOW -DFNFLOAT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -DNODCLINITGROUPS -DNOUUCP -O -DHERALD="\" Mac OS X 10.11.6\"" -DCKCPU="\"x86_64\"" -DKTARGET=\"macosx\" -c ckuus3.c ckuus3.c:4114:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (xx = 0) /* Null or empty arg */ ~~~^~~ ckuus3.c:4114:20: note: place parentheses around the assignment to silence this warning if (xx = 0) /* Null or empty arg */ ^ ( ) ckuus3.c:4114:20: note: use '==' to turn this assignment into an equality comparison if (xx = 0) /* Null or empty arg */ ^ == ckuus3.c:6179:60: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6182:60: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6185:60: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6192:60: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6195:60: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6198:60: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6201:60: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6204:60: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6207:60: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6211:60: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6214:60: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6217:60: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6220:60: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6223:60: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6227:60: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6230:60: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6233:60: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6236:60: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6239:60: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6243:60: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6247:60: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6251:60: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 4) if (!askmore()) return(0); else n = 0; ^ 23 warnings generated. cc -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET -DCKHTTP -DUSE_STRERROR -DUSE_NAMESER_COMPAT -DNOCHECKOVERFLOW -DFNFLOAT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -DNODCLINITGROUPS -DNOUUCP -O -DHERALD="\" Mac OS X 10.11.6\"" -DCKCPU="\"x86_64\"" -DKTARGET=\"macosx\" -c ckuus4.c ckuus4.c:4410:16: warning: '&&' within '||' [-Wlogical-op-parentheses] && !istncomport() ^~~~~~~~~~~~~~~~~ ckuus4.c:4410:16: note: place parentheses around the '&&' expression to silence this warning && !istncomport() ^ ckuus4.c:4745:61: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:4747:60: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:4751:60: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:4758:60: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:4769:60: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:4774:60: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:4779:60: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:4787:60: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:4794:60: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:4799:61: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:4802:61: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:4829:55: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:4863:61: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:4880:61: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:4908:57: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5018:57: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5027:57: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5045:57: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5047:57: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5049:57: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5051:57: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5053:57: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5055:57: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5072:57: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5075:57: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5077:57: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5080:57: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5082:57: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5084:57: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5087:57: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5090:57: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5095:65: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5101:57: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5160:64: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5169:60: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5178:56: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5323:64: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5331:64: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5335:68: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5347:64: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5368:56: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5417:56: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5437:64: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5468:64: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5470:64: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5475:64: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5539:56: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5542:56: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5549:56: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5561:56: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5565:56: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5568:56: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5571:56: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5574:56: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5584:56: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5591:56: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5601:56: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5604:56: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5607:56: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5610:56: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5613:56: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5616:56: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5619:56: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5628:56: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5638:56: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5648:56: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5655:56: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5664:56: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5667:56: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5670:56: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5738:53: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5769:53: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5776:53: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5779:53: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5781:53: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5784:53: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5786:53: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5788:53: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5791:53: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5794:53: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5797:53: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5809:53: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5814:53: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5819:53: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5839:53: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5842:53: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5845:53: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5848:53: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5859:53: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5863:57: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5877:53: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5880:53: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5882:53: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5887:53: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5889:53: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5893:53: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5895:53: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5898:53: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:6242:57: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:6246:53: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:6248:53: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:6258:57: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:6319:13: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if (!xferstat > 0) { ^ ~ ckuus4.c:6319:13: note: add parentheses after the '!' to evaluate the comparison first if (!xferstat > 0) { ^ ( ) ckuus4.c:6319:13: note: add parentheses around left hand side expression to silence this warning if (!xferstat > 0) { ^ ( ) ckuus4.c:11866:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) { /* Loop thru arg chars */ ~~^~~~~~ ckuus4.c:11866:22: note: place parentheses around the assignment to silence this warning while (c = *s++) { /* Loop thru arg chars */ ^ ( ) ckuus4.c:11866:22: note: use '==' to turn this assignment into an equality comparison while (c = *s++) { /* Loop thru arg chars */ ^ == ckuus4.c:12189:16: warning: '&&' within '||' [-Wlogical-op-parentheses] while (k >= 0 && s[k] == CR || s[k] == LF) ~~~~~~~^~~~~~~~~~~~~ ~~ ckuus4.c:12189:16: note: place parentheses around the '&&' expression to silence this warning while (k >= 0 && s[k] == CR || s[k] == LF) ~~~~~~~^~~~~~~~~~~~~ ckuus4.c:12191:16: warning: '&&' within '||' [-Wlogical-op-parentheses] while (k >= 0 && s[k] == SP || s[k] == HT) ~~~~~~~^~~~~~~~~~~~~ ~~ ckuus4.c:12191:16: note: place parentheses around the '&&' expression to silence this warning while (k >= 0 && s[k] == SP || s[k] == HT) ~~~~~~~^~~~~~~~~~~~~ 107 warnings generated. cc -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET -DCKHTTP -DUSE_STRERROR -DUSE_NAMESER_COMPAT -DNOCHECKOVERFLOW -DFNFLOAT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -DNODCLINITGROUPS -DNOUUCP -O -DHERALD="\" Mac OS X 10.11.6\"" -DCKCPU="\"x86_64\"" -DKTARGET=\"macosx\" -c ckuus5.c ckuus5.c:6864:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ 1 warning generated. cc -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET -DCKHTTP -DUSE_STRERROR -DUSE_NAMESER_COMPAT -DNOCHECKOVERFLOW -DFNFLOAT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -DNODCLINITGROUPS -DNOUUCP -O -DHERALD="\" Mac OS X 10.11.6\"" -DCKCPU="\"x86_64\"" -DKTARGET=\"macosx\" -c ckuus6.c ckuus6.c:3415:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (!quiet) ^ ckuus6.c:7576:61: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (!askmore()) goto xdelete; else n = 0; ^ ckuus6.c:7585:61: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (!askmore()) goto xdelete; else n = 0; ^ ckuus6.c:7596:61: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (!askmore()) goto xdelete; else n = 0; ^ ckuus6.c:7606:61: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (!askmore()) goto xdelete; else n = 0; ^ ckuus6.c:7616:53: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (!askmore()) goto xdelete; else n = 0; ^ ckuus6.c:7623:49: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (!askmore()) goto xdelete; else n = 0; ^ ckuus6.c:9818:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 8 warnings generated. cc -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET -DCKHTTP -DUSE_STRERROR -DUSE_NAMESER_COMPAT -DNOCHECKOVERFLOW -DFNFLOAT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -DNODCLINITGROUPS -DNOUUCP -O -DHERALD="\" Mac OS X 10.11.6\"" -DCKCPU="\"x86_64\"" -DKTARGET=\"macosx\" -c ckuus7.c ckuus7.c:3016:48: warning: add explicit braces to avoid dangling else [-Wdangling-else] if (!askmore()) goto xpurge; else lines = 0; ^ 1 warning generated. cc -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET -DCKHTTP -DUSE_STRERROR -DUSE_NAMESER_COMPAT -DNOCHECKOVERFLOW -DFNFLOAT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -DNODCLINITGROUPS -DNOUUCP -O -DHERALD="\" Mac OS X 10.11.6\"" -DCKCPU="\"x86_64\"" -DKTARGET=\"macosx\" -c ckuusx.c ckuusx.c:1562:30: warning: '&&' within '||' [-Wlogical-op-parentheses] count > 9 && buf[8] == SP && buf[9] == '\015') { ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ckuusx.c:1562:30: note: place parentheses around the '&&' expression to silence this warning count > 9 && buf[8] == SP && buf[9] == '\015') { ^ ( ) ckuusx.c:1714:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((c == '\032') /* Ctrl-Z */ ~~^~~~~~~~~ ckuusx.c:1714:14: note: remove extraneous parentheses around the comparison to silence this warning if ((c == '\032') /* Ctrl-Z */ ~ ^ ~ ckuusx.c:1714:14: note: use '=' to turn this equality comparison into an assignment if ((c == '\032') /* Ctrl-Z */ ^~ = ckuusx.c:2073:10: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((c == '\032') /* Ctrl-Z */ ~~^~~~~~~~~ ckuusx.c:2073:10: note: remove extraneous parentheses around the comparison to silence this warning if ((c == '\032') /* Ctrl-Z */ ~ ^ ~ ckuusx.c:2073:10: note: use '=' to turn this equality comparison into an assignment if ((c == '\032') /* Ctrl-Z */ ^~ = ckuusx.c:3808:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (what & W_RECV || what & W_REMO) ^ ckuusx.c:5975:17: warning: implicit declaration of function 'tgetent' is invalid in C99 [-Wimplicit-function-declaration] x = tgetent(trmbuf,s); ^ ckuusx.c:6476:13: warning: implicit declaration of function 'tgetstr' is invalid in C99 [-Wimplicit-function-declaration] if (tgetstr("cl", &bp)) { /* Get clear-screen code */ ^ ckuusx.c:6555:9: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] tputs( ^ ckuusx.c:6559:15: warning: implicit declaration of function 'tgoto' is invalid in C99 [-Wimplicit-function-declaration] tgoto(cur_cm,col-1,row-1),1,fn); ^ 8 warnings generated. cc -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET -DCKHTTP -DUSE_STRERROR -DUSE_NAMESER_COMPAT -DNOCHECKOVERFLOW -DFNFLOAT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -DNODCLINITGROUPS -DNOUUCP -O -DHERALD="\" Mac OS X 10.11.6\"" -DCKCPU="\"x86_64\"" -DKTARGET=\"macosx\" -c ckuusy.c cc -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET -DCKHTTP -DUSE_STRERROR -DUSE_NAMESER_COMPAT -DNOCHECKOVERFLOW -DFNFLOAT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -DNODCLINITGROUPS -DNOUUCP -O -DHERALD="\" Mac OS X 10.11.6\"" -DCKCPU="\"x86_64\"" -DKTARGET=\"macosx\" -c ckwart.c ckwart.c:531:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc,argv) int argc; char **argv; { ^ 1 warning generated. cc -o wart ckwart.o -lncurses -lresolv ./wart ckcpro.w ckcpro.c 16 states, 74 actions cc -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET -DCKHTTP -DUSE_STRERROR -DUSE_NAMESER_COMPAT -DNOCHECKOVERFLOW -DFNFLOAT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -DNODCLINITGROUPS -DNOUUCP -O -DHERALD="\" Mac OS X 10.11.6\"" -DCKCPU="\"x86_64\"" -DKTARGET=\"macosx\" -c ckcpro.c ckcpro.c:1525:13: warning: '&&' within '||' [-Wlogical-op-parentheses] if (server && !ENABLED(en_cwd) || /* if DISABLE CD */ ~~~~~~~^~~~~~~~~~~~~~~~~~~ ~~ ckcpro.c:1525:13: note: place parentheses around the '&&' expression to silence this warning if (server && !ENABLED(en_cwd) || /* if DISABLE CD */ ~~~~~~~^~~~~~~~~~~~~~~~~~~ ckcpro.c:2395:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tmp = (char *)malloc(n)) { ~~~~^~~~~~~~~~~~~~~~~~~ ckcpro.c:2395:11: note: place parentheses around the assignment to silence this warning if (tmp = (char *)malloc(n)) { ^ ( ) ckcpro.c:2395:11: note: use '==' to turn this assignment into an equality comparison if (tmp = (char *)malloc(n)) { ^ == ckcpro.c:2409:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tmp = (char *)malloc(n)) { ~~~~^~~~~~~~~~~~~~~~~~~ ckcpro.c:2409:11: note: place parentheses around the assignment to silence this warning if (tmp = (char *)malloc(n)) { ^ ( ) ckcpro.c:2409:11: note: use '==' to turn this assignment into an equality comparison if (tmp = (char *)malloc(n)) { ^ == ckcpro.c:2516:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { /* or to screen. */ ^ ckcpro.c:2979:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = zgtdir()) { /* Get current directory */ ~~^~~~~~~~~~ ckcpro.c:2979:12: note: place parentheses around the assignment to silence this warning if (s = zgtdir()) { /* Get current directory */ ^ ( ) ckcpro.c:2979:12: note: use '==' to turn this assignment into an equality comparison if (s = zgtdir()) { /* Get current directory */ ^ == ckcpro.c:3473:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (s = zgtdir()) { /* Get current directory */ ~~^~~~~~~~~~ ckcpro.c:3473:9: note: place parentheses around the assignment to silence this warning if (s = zgtdir()) { /* Get current directory */ ^ ( ) ckcpro.c:3473:9: note: use '==' to turn this assignment into an equality comparison if (s = zgtdir()) { /* Get current directory */ ^ == 6 warnings generated. cc -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET -DCKHTTP -DUSE_STRERROR -DUSE_NAMESER_COMPAT -DNOCHECKOVERFLOW -DFNFLOAT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -DNODCLINITGROUPS -DNOUUCP -O -DHERALD="\" Mac OS X 10.11.6\"" -DCKCPU="\"x86_64\"" -DKTARGET=\"macosx\" -c ckcfns.c ckcfns.c:3783:12: warning: '&&' within '||' [-Wlogical-op-parentheses] !stdouf ) && /* Not copying to standard output? */ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ckcfns.c:3783:12: note: place parentheses around the '&&' expression to silence this warning !stdouf ) && /* Not copying to standard output? */ ^ ckcfns.c:5323:19: warning: '&&' within '||' [-Wlogical-op-parentheses] && !istncomport() ^~~~~~~~~~~~~~~~~ ckcfns.c:5323:19: note: place parentheses around the '&&' expression to silence this warning && !istncomport() ^ 2 warnings generated. cc -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET -DCKHTTP -DUSE_STRERROR -DUSE_NAMESER_COMPAT -DNOCHECKOVERFLOW -DFNFLOAT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -DNODCLINITGROUPS -DNOUUCP -O -DHERALD="\" Mac OS X 10.11.6\"" -DCKCPU="\"x86_64\"" -DKTARGET=\"macosx\" -c ckcfn2.c ckcfn2.c:1068:19: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] } else if ((rsn == (pktnum + 1) % 64)) { /* NAK for next pkt */ ~~~~^~~~~~~~~~~~~~~~~~~~ ckcfn2.c:1068:19: note: remove extraneous parentheses around the comparison to silence this warning } else if ((rsn == (pktnum + 1) % 64)) { /* NAK for next pkt */ ~ ^ ~ ckcfn2.c:1068:19: note: use '=' to turn this equality comparison into an assignment } else if ((rsn == (pktnum + 1) % 64)) { /* NAK for next pkt */ ^~ = ckcfn2.c:2875:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 2 warnings generated. cc -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET -DCKHTTP -DUSE_STRERROR -DUSE_NAMESER_COMPAT -DNOCHECKOVERFLOW -DFNFLOAT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -DNODCLINITGROUPS -DNOUUCP -O -DHERALD="\" Mac OS X 10.11.6\"" -DCKCPU="\"x86_64\"" -DKTARGET=\"macosx\" -c ckcfn3.c ckcfn3.c:1477:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *s++) { /* Get attribute tag */ ~~^~~~~~ ckcfn3.c:1477:14: note: place parentheses around the assignment to silence this warning while (c = *s++) { /* Get attribute tag */ ^ ( ) ckcfn3.c:1477:14: note: use '==' to turn this assignment into an equality comparison while (c = *s++) { /* Get attribute tag */ ^ == ckcfn3.c:2117:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (x = openo(f,zz,&fcb)) { /* Try to open the file. */ ~~^~~~~~~~~~~~~~~~~~ ckcfn3.c:2117:11: note: place parentheses around the assignment to silence this warning if (x = openo(f,zz,&fcb)) { /* Try to open the file. */ ^ ( ) ckcfn3.c:2117:11: note: use '==' to turn this assignment into an equality comparison if (x = openo(f,zz,&fcb)) { /* Try to open the file. */ ^ == ckcfn3.c:2175:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 3 warnings generated. cc -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET -DCKHTTP -DUSE_STRERROR -DUSE_NAMESER_COMPAT -DNOCHECKOVERFLOW -DFNFLOAT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -DNODCLINITGROUPS -DNOUUCP -O -DHERALD="\" Mac OS X 10.11.6\"" -DCKCPU="\"x86_64\"" -DKTARGET=\"macosx\" -c ckuxla.c cc -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET -DCKHTTP -DUSE_STRERROR -DUSE_NAMESER_COMPAT -DNOCHECKOVERFLOW -DFNFLOAT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -DNODCLINITGROUPS -DNOUUCP -O -DHERALD="\" Mac OS X 10.11.6\"" -DCKCPU="\"x86_64\"" -DKTARGET=\"macosx\" -c ckucns.c ckucns.c:472:48: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] xx.typ = 0; xx.dsp = XYFZ_A; xx.os_specific = NUL; ^~~ ./ckcasc.h:17:14: note: expanded from macro 'NUL' #define NUL '\0' /* Null Ctrl-@*/ ^~~~ 1 warning generated. cc -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET -DCKHTTP -DUSE_STRERROR -DUSE_NAMESER_COMPAT -DNOCHECKOVERFLOW -DFNFLOAT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -DNODCLINITGROUPS -DNOUUCP -O -DHERALD="\" Mac OS X 10.11.6\"" -DCKCPU="\"x86_64\"" -DKTARGET=\"macosx\" -c ckutio.c ckutio.c:2291:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = getenv("LOCATION")) ~~^~~~~~~~~~~~~~~~~~~~ ckutio.c:2291:8: note: place parentheses around the assignment to silence this warning if (p = getenv("LOCATION")) ^ ( ) ckutio.c:2291:8: note: use '==' to turn this assignment into an equality comparison if (p = getenv("LOCATION")) ^ == ckutio.c:2292:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tn_loc = (char *)malloc((int)strlen(p)+1)) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ckutio.c:2292:15: note: place parentheses around the assignment to silence this warning if (tn_loc = (char *)malloc((int)strlen(p)+1)) ^ ( ) ckutio.c:2292:15: note: use '==' to turn this assignment into an equality comparison if (tn_loc = (char *)malloc((int)strlen(p)+1)) ^ == ckutio.c:2493:37: warning: for loop has empty body [-Wempty-body] for (p = ttname; isdigit(*p); p++) ; /* Check for all digits */ ^ ckutio.c:2493:37: note: put the semicolon on a separate line to silence this warning ckutio.c:12882:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else continue; /* By other signal, try again. */ ^ ckutio.c:14668:9: warning: implicit declaration of function 'openpty' is invalid in C99 [-Wimplicit-function-declaration] if (openpty(&masterfd, &slavefd, NULL, NULL, NULL) == -1) { ^ 5 warnings generated. cc -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET -DCKHTTP -DUSE_STRERROR -DUSE_NAMESER_COMPAT -DNOCHECKOVERFLOW -DFNFLOAT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -DNODCLINITGROUPS -DNOUUCP -O -DHERALD="\" Mac OS X 10.11.6\"" -DCKCPU="\"x86_64\"" -DKTARGET=\"macosx\" -c ckufio.c ckufio.c:1139:12: warning: 'utmp' is deprecated [-Wdeprecated-declarations] struct UTMPSTRUCT ut; ^ ckufio.c:1089:20: note: expanded from macro 'UTMPSTRUCT' #define UTMPSTRUCT utmp ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/utmp.h:92:8: note: 'utmp' has been explicitly marked deprecated here struct utmp { ^ ckufio.c:1199:54: warning: 'utmp' is deprecated [-Wdeprecated-declarations] if (write(wtmpfd, (char *)&ut, sizeof(struct UTMPSTRUCT)) != ^ ckufio.c:1089:20: note: expanded from macro 'UTMPSTRUCT' #define UTMPSTRUCT utmp ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/utmp.h:92:8: note: 'utmp' has been explicitly marked deprecated here struct utmp { ^ ckufio.c:1200:27: warning: 'utmp' is deprecated [-Wdeprecated-declarations] sizeof(struct UTMPSTRUCT)) { ^ ckufio.c:1089:20: note: expanded from macro 'UTMPSTRUCT' #define UTMPSTRUCT utmp ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/utmp.h:92:8: note: 'utmp' has been explicitly marked deprecated here struct utmp { ^ ckufio.c:7545:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (p = zgtdir()) { /* So get current directory */ ~~^~~~~~~~~~ ckufio.c:7545:15: note: place parentheses around the assignment to silence this warning if (p = zgtdir()) { /* So get current directory */ ^ ( ) ckufio.c:7545:15: note: use '==' to turn this assignment into an equality comparison if (p = zgtdir()) { /* So get current directory */ ^ == 4 warnings generated. cc -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET -DCKHTTP -DUSE_STRERROR -DUSE_NAMESER_COMPAT -DNOCHECKOVERFLOW -DFNFLOAT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -DNODCLINITGROUPS -DNOUUCP -O -DHERALD="\" Mac OS X 10.11.6\"" -DCKCPU="\"x86_64\"" -DKTARGET=\"macosx\" -c ckudia.c ckudia.c:4995:14: warning: address of array 'lbuf' will always evaluate to 'true' [-Wpointer-bool-conversion] if (lbuf && *lbuf) { ^~~~ ~~ ckudia.c:6526:55: warning: use of logical '||' with constant operand [-Wconstant-logical-operand] mymdmtyp == n_H_ULTRA || mymdmtyp == n_H_ACCURA || n_PPI ^ ~~~~~ ckudia.c:6526:55: note: use '|' for a bitwise operation mymdmtyp == n_H_ULTRA || mymdmtyp == n_H_ACCURA || n_PPI ^~ | ckudia.c:6534:51: warning: use of logical '||' with constant operand [-Wconstant-logical-operand] mymdmtyp == n_SUPRA || mymdmtyp == n_SUPRAX || n_SUPRASON ^ ~~~~~~~~~~ ckudia.c:6534:51: note: use '|' for a bitwise operation mymdmtyp == n_SUPRA || mymdmtyp == n_SUPRAX || n_SUPRASON ^~ | 3 warnings generated. cc -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET -DCKHTTP -DUSE_STRERROR -DUSE_NAMESER_COMPAT -DNOCHECKOVERFLOW -DFNFLOAT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -DNODCLINITGROUPS -DNOUUCP -O -DHERALD="\" Mac OS X 10.11.6\"" -DCKCPU="\"x86_64\"" -DKTARGET=\"macosx\" -c ckuscr.c cc -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET -DCKHTTP -DUSE_STRERROR -DUSE_NAMESER_COMPAT -DNOCHECKOVERFLOW -DFNFLOAT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -DNODCLINITGROUPS -DNOUUCP -O -DHERALD="\" Mac OS X 10.11.6\"" -DCKCPU="\"x86_64\"" -DKTARGET=\"macosx\" -c ckcnet.c ckcnet.c:1705:52: warning: '&&' within '||' [-Wlogical-op-parentheses] nettype != NET_TCPA && nettype != NET_TCPB && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ckcnet.c:1705:52: note: place parentheses around the '&&' expression to silence this warning nettype != NET_TCPA && nettype != NET_TCPB && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ckcnet.c:1827:52: warning: '&&' within '||' [-Wlogical-op-parentheses] nettype != NET_TCPA && nettype != NET_TCPB && nettype != NET_SSH ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ckcnet.c:1827:52: note: place parentheses around the '&&' expression to silence this warning nettype != NET_TCPA && nettype != NET_TCPB && nettype != NET_SSH ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ckcnet.c:1923:47: warning: '&&' within '||' [-Wlogical-op-parentheses] nettype != NET_TCPA && nettype != NET_TCPB && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ckcnet.c:1923:47: note: place parentheses around the '&&' expression to silence this warning nettype != NET_TCPA && nettype != NET_TCPB && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ckcnet.c:2014:52: warning: '&&' within '||' [-Wlogical-op-parentheses] nettype != NET_TCPA && nettype != NET_TCPB && nettype != NET_SSH ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ckcnet.c:2014:52: note: place parentheses around the '&&' expression to silence this warning nettype != NET_TCPA && nettype != NET_TCPB && nettype != NET_SSH ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ckcnet.c:2132:52: warning: '&&' within '||' [-Wlogical-op-parentheses] nettype != NET_TCPA && nettype != NET_TCPB && nettype != NET_SSH ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ckcnet.c:2132:52: note: place parentheses around the '&&' expression to silence this warning nettype != NET_TCPA && nettype != NET_TCPB && nettype != NET_SSH ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ckcnet.c:2250:52: warning: '&&' within '||' [-Wlogical-op-parentheses] nettype != NET_TCPA && nettype != NET_TCPB && nettype != NET_SSH ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ckcnet.c:2250:52: note: place parentheses around the '&&' expression to silence this warning nettype != NET_TCPA && nettype != NET_TCPB && nettype != NET_SSH ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ckcnet.c:2972:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (host = gethostbyaddr((char *)&saddr.sin_addr,4,PF_INET)) { ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ckcnet.c:2972:22: note: place parentheses around the assignment to silence this warning if (host = gethostbyaddr((char *)&saddr.sin_addr,4,PF_INET)) { ^ ( ) ckcnet.c:2972:22: note: use '==' to turn this assignment into an equality comparison if (host = gethostbyaddr((char *)&saddr.sin_addr,4,PF_INET)) { ^ == ckcnet.c:4885:20: warning: '&&' within '||' [-Wlogical-op-parentheses] if ((tcp_rdns && dns || tcp_rdns == SET_ON ~~~~~~~~~^~~~~~ ~~ ckcnet.c:4885:20: note: place parentheses around the '&&' expression to silence this warning if ((tcp_rdns && dns || tcp_rdns == SET_ON ^ ( ) ckcnet.c:4906:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (host = gethostbyaddr((char *)&r_addr.sin_addr,4,PF_INET)) { ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ckcnet.c:4906:18: note: place parentheses around the assignment to silence this warning if (host = gethostbyaddr((char *)&r_addr.sin_addr,4,PF_INET)) { ^ ( ) ckcnet.c:4906:18: note: use '==' to turn this assignment into an equality comparison if (host = gethostbyaddr((char *)&r_addr.sin_addr,4,PF_INET)) { ^ == ckcnet.c:10790:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (host = gethostbyaddr((char *)&r_addr.sin_addr,4,PF_INET)) { ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ckcnet.c:10790:18: note: place parentheses around the assignment to silence this warning if (host = gethostbyaddr((char *)&r_addr.sin_addr,4,PF_INET)) { ^ ( ) ckcnet.c:10790:18: note: use '==' to turn this assignment into an equality comparison if (host = gethostbyaddr((char *)&r_addr.sin_addr,4,PF_INET)) { ^ == 10 warnings generated. cc -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET -DCKHTTP -DUSE_STRERROR -DUSE_NAMESER_COMPAT -DNOCHECKOVERFLOW -DFNFLOAT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -DNODCLINITGROUPS -DNOUUCP -O -DHERALD="\" Mac OS X 10.11.6\"" -DCKCPU="\"x86_64\"" -DKTARGET=\"macosx\" -c ckctel.c ckctel.c:2409:23: warning: '&&' within '||' [-Wlogical-op-parentheses] || !local && cmdadl ~~ ~~~~~~~^~~~~~~~~ ckctel.c:2409:23: note: place parentheses around the '&&' expression to silence this warning || !local && cmdadl ^ ( ) ckctel.c:4663:60: warning: passing 'char [6]' to parameter of type 'CHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] tn_ssbopt(TELOPT_NEWENVIRON,TELQUAL_SEND,request, ^~~~~~~ ckctel.c:5996:52: warning: passing 'char [1]' to parameter of type 'CHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (tn_ssbopt(TELOPT_NEWENVIRON,TELQUAL_IS,"",0) < 0) ^~ ckctel.c:6203:48: warning: passing 'char *' to parameter of type 'CHAR *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (tn_ssbopt(TELOPT_NEWENVIRON,TELQUAL_IS,reply,n) < 0) { ^~~~~ 4 warnings generated. cc -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET -DCKHTTP -DUSE_STRERROR -DUSE_NAMESER_COMPAT -DNOCHECKOVERFLOW -DFNFLOAT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -DNODCLINITGROUPS -DNOUUCP -O -DHERALD="\" Mac OS X 10.11.6\"" -DCKCPU="\"x86_64\"" -DKTARGET=\"macosx\" -c ckusig.c cc -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET -DCKHTTP -DUSE_STRERROR -DUSE_NAMESER_COMPAT -DNOCHECKOVERFLOW -DFNFLOAT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -DNODCLINITGROUPS -DNOUUCP -O -DHERALD="\" Mac OS X 10.11.6\"" -DCKCPU="\"x86_64\"" -DKTARGET=\"macosx\" -c ckcuni.c ckcuni.c:8272:11: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] if (c && 0xff80) /* 7 bits */ ^ ~~~~~~ ckcuni.c:8272:11: note: use '&' for a bitwise operation if (c && 0xff80) /* 7 bits */ ^~ & ckcuni.c:8272:11: note: remove constant to silence this warning if (c && 0xff80) /* 7 bits */ ~^~~~~~~~~ 1 warning generated. cc -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET -DCKHTTP -DUSE_STRERROR -DUSE_NAMESER_COMPAT -DNOCHECKOVERFLOW -DFNFLOAT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -DNODCLINITGROUPS -DNOUUCP -O -DHERALD="\" Mac OS X 10.11.6\"" -DCKCPU="\"x86_64\"" -DKTARGET=\"macosx\" -c ckupty.c ckupty.c:707:9: warning: implicit declaration of function 'openpty' is invalid in C99 [-Wimplicit-function-declaration] if (openpty(fd, ^ 1 warning generated. cc -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET -DCKHTTP -DUSE_STRERROR -DUSE_NAMESER_COMPAT -DNOCHECKOVERFLOW -DFNFLOAT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -DNODCLINITGROUPS -DNOUUCP -O -DHERALD="\" Mac OS X 10.11.6\"" -DCKCPU="\"x86_64\"" -DKTARGET=\"macosx\" -c ckcftp.c ckcftp.c:4479:13: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ ckcftp.c:4477:13: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (rc == SKP_SIM) ^ ckcftp.c:4475:13: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (rc == SKP_XUP) ^ ckcftp.c:11207:13: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else safe = (ftpcode == 631); ^ ckcftp.c:12578:38: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] xx.typ = 0; xx.os_specific = NUL; xx.lblopts = 0; ^~~ ./ckcasc.h:17:14: note: expanded from macro 'NUL' #define NUL '\0' /* Null Ctrl-@*/ ^~~~ ckcftp.c:15110:56: warning: '&&' within '||' [-Wlogical-op-parentheses] } else if (uidbuf[0] && (ftp_tmp || pwbuf[0] && pwflg)) { ~~ ~~~~~~~~~^~~~~~~~ ckcftp.c:15110:56: note: place parentheses around the '&&' expression to silence this warning } else if (uidbuf[0] && (ftp_tmp || pwbuf[0] && pwflg)) { ^ ( ) ckcftp.c:16323:46: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((kerror = looping_read(fd, ucbuf, length)) != length) { ^~~~~ 7 warnings generated. cc -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET -DCKHTTP -DUSE_STRERROR -DUSE_NAMESER_COMPAT -DNOCHECKOVERFLOW -DFNFLOAT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -DNODCLINITGROUPS -DNOUUCP -O -DHERALD="\" Mac OS X 10.11.6\"" -DCKCPU="\"x86_64\"" -DKTARGET=\"macosx\" -c ckuath.c cc -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET -DCKHTTP -DUSE_STRERROR -DUSE_NAMESER_COMPAT -DNOCHECKOVERFLOW -DFNFLOAT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -DNODCLINITGROUPS -DNOUUCP -O -DHERALD="\" Mac OS X 10.11.6\"" -DCKCPU="\"x86_64\"" -DKTARGET=\"macosx\" -c ck_crp.c cc -DMACOSX10 -DMACOSX103 -DCK_NCURSES -DTCPSOCKET -DCKHTTP -DUSE_STRERROR -DUSE_NAMESER_COMPAT -DNOCHECKOVERFLOW -DFNFLOAT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -DNODCLINITGROUPS -DNOUUCP -O -DHERALD="\" Mac OS X 10.11.6\"" -DCKCPU="\"x86_64\"" -DKTARGET=\"macosx\" -c ck_ssl.c cc -o wermit \ ckcmai.o ckclib.o ckutio.o ckufio.o \ ckcfns.o ckcfn2.o ckcfn3.o ckuxla.o \ ckcpro.o ckucmd.o ckuus2.o ckuus3.o \ ckuus4.o ckuus5.o ckuus6.o ckuus7.o \ ckuusx.o ckuusy.o ckuusr.o ckucns.o \ ckudia.o ckuscr.o ckcnet.o ckusig.o \ ckctel.o ckcuni.o ckupty.o ckcftp.o \ ckuath.o ck_crp.o ck_ssl.o -lncurses -lresolv ProductName: Mac OS X ProductVersion: 10.11.6 BuildVersion: 15G19009