options.c:546:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ options.c:591:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (ch = *src) { ~~~^~~~~~ options.c:591:15: note: place parentheses around the assignment to silence this warning while (ch = *src) { ^ ( ) options.c:591:15: note: use '==' to turn this assignment into an equality comparison while (ch = *src) { ^ == 2 warnings generated. rfc931.c:163:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = strchr(user, '\r')) ~~~^~~~~~~~~~~~~~~~~~~~ rfc931.c:163:14: note: place parentheses around the assignment to silence this warning if (cp = strchr(user, '\r')) ^ ( ) rfc931.c:163:14: note: use '==' to turn this assignment into an equality comparison if (cp = strchr(user, '\r')) ^ == 1 warning generated. fix_options.c:50:62: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockopt(fd, ipproto, IP_OPTIONS, (char *) optbuf, &optsize) == 0 ^~~~~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:210:32: note: passing argument to parameter '__optlen' here socklen_t *__restrict __optlen) __THROW; ^ 1 warning generated. socket.c:100:38: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] (struct sockaddr *) & client, &len) < 0) { ^~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:165:27: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ socket.c:118:55: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(fd, (struct sockaddr *) & server, &len) < 0) { ^~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:117:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ socket.c:251:73: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] (void) recvfrom(fd, buf, sizeof(buf), 0, (struct sockaddr *) & sin, &size); ^~~~~ /usr/include/x86_64-linux-gnu/sys/socket.h:165:27: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ 3 warnings generated. workarounds.c:171:38: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((ret = getpeername(sock, sa, len)) >= 0 ^~~ /usr/include/x86_64-linux-gnu/sys/socket.h:131:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ 1 warning generated. percent_m.c:32:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*bp = *cp) ~~~~^~~~~ percent_m.c:32:16: note: place parentheses around the assignment to silence this warning while (*bp = *cp) ^ ( ) percent_m.c:32:16: note: use '==' to turn this assignment into an equality comparison while (*bp = *cp) ^ == 1 warning generated. tcpdchk.c:206:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fp = fopen(table, "r")) { ~~~^~~~~~~~~~~~~~~~~~~ tcpdchk.c:206:12: note: place parentheses around the assignment to silence this warning if (fp = fopen(table, "r")) { ^ ( ) tcpdchk.c:206:12: note: use '==' to turn this assignment into an equality comparison if (fp = fopen(table, "r")) { ^ == tcpdchk.c:332:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (host = split_at(cp + 1, '@')) { /* user@host */ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ tcpdchk.c:332:15: note: place parentheses around the assignment to silence this warning if (host = split_at(cp + 1, '@')) { /* user@host */ ^ ( ) tcpdchk.c:332:15: note: use '==' to turn this assignment into an equality comparison if (host = split_at(cp + 1, '@')) { /* user@host */ ^ == tcpdchk.c:447:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } else if (mask = split_at(pat, '/')) { /* network/netmask */ ~~~~~^~~~~~~~~~~~~~~~~~~~ tcpdchk.c:447:21: note: place parentheses around the assignment to silence this warning } else if (mask = split_at(pat, '/')) { /* network/netmask */ ^ ( ) tcpdchk.c:447:21: note: use '==' to turn this assignment into an equality comparison } else if (mask = split_at(pat, '/')) { /* network/netmask */ ^ == 3 warnings generated. CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY