I get these warnings while building tcpdump 3.7.1 (Linux 2.4.4,
RedHat's glibc 2.2.4-19.3):

print-nfs.c: In function `nfs_printfh':
print-nfs.c:761: warning: passing arg 6 of `Parse_fh' from incompatible pointer type

This can be silenced by changing the type of sfsname to "const char*",
and then changing this line:
                        *sfsname = 0;
to:
                        *(char*)sfsname = 0;
(A separate char* variable could also be used for this modification
instead, so no casting would be necessary.)

print-radius.c: In function `print_attr_time':
print-radius.c:664: warning: passing arg 2 of `strlcpy' makes pointer from integer 
without a cast

This can be silenced by "#include <time.h>".

setsignal.c: In function `setsignal':
setsignal.c:72: warning: return makes pointer from integer without a cast

I'm not sure why it's using sigset at all.  I have sigaction, but the
output from ./configure didn't mention any check for it.

Also, it seems this configure script doesn't notice $CPPFLAGS, which
is inconvenient.

This is just FYI; I'm not on the list.


paul

-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe

Reply via email to