Package: libnl-dev Version: 1.1-5 Severity: minor Hi,
The public header file /usr/include/netlink/object.h contains an 'inline' token on a forward declaration of a function that is not implemented in the header file itself. An inline function is a function that is not actually compiled and linked as a function, but rather has its code copied into the program on the location where it is used. While the usefulness of using the 'inline' keyword is debatable (modern optimizing compilers have pretty good heuristics to determine whether or not a function is better off if inlined, and will in fact do so even without the keyword if an appropriate level of optimization has been selected), the very nature of what it means to have a function be inlined makes it impossible for an inline function to be part of a shared library's API. As such, declaring a function to be 'inline' in a public header file serves no useful purpose. This is caught be the -Wall option to gcc, which makes it unnecessarily harder for libnl-using code to be compiled with -Wall -Werror, generally good practice for C programmers. -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: powerpc (ppc) Kernel: Linux 2.6.30-1-powerpc Locale: LANG=nl_BE.UTF-8, LC_CTYPE=nl_BE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages libnl-dev depends on: ii libnl1 1.1-5 library for dealing with netlink s libnl-dev recommends no packages. Versions of packages libnl-dev suggests: pn libnl-doc <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

