Package: libnl-route-3-dev Version: 3.2.24-2 Severity: important Tags: upstream
Problem compiling code with libnl3 on Debian Wheezy: warning: passing argument 1 of ‘nl_addr2str’ makes pointer from integer without a cast [enabled by default] In file included from /usr/include/libnl3/netlink/attr.h:17:0, from /usr/include/libnl3/netlink/msg.h:17, /usr/include/libnl3/netlink/addr.h:60:16: note: expected ‘struct nl_addr *’ but argument is of type ‘int’ Example: nl_addr2str(rtnl_addr_get_local(addr), buf, sizeof(buf)) There must be a wrong return type alltough in the header files all seems ok. rtnl_addr_get_local(addr) should return a struct * nl_addr, not integer. But this doesnt seem to be the case somehow. -- System Information: Debian Release: 7.5 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.15.0 (SMP w/4 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages libnl-route-3-dev depends on: ii libnl-3-dev 3.2.7-4 iu libnl-route-3-200 3.2.24-2 libnl-route-3-dev recommends no packages. libnl-route-3-dev suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org