Bug#165289: libc6-dev: rpcgen generates bad code in K&R mode
Hi!
I have tried obove code on my system (sarge) and some warnings are fixed in
sarge, but one warning still remain:
es@morpheus:~/tmp$ gcc -Wall -c trivial_svc.c
trivial_svc.c: In Funktion »main«:
trivial_svc.c:63: Warnung: implicit declaration of function `pmap_unset'
After adding "#include <rpc/pmap_clnt.h>" the warning is fixed.
I think rpcgen should do this.
Kindly regards,
Erik
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Versions of packages libc6-dev depends on:
ii libc6 2.3.2.ds1-18 GNU C Library: Shared libraries an
ii linux-kernel-headers 2.5.999-test7-bk-16 Linux Kernel Headers for developme
-- no debconf information
Reply to: