Package: kernel-headers-2.6
Severity: minor

With this package installed, when you include <sys/params.h> in your
program, you will get a severe namespace pollution since
<linux/autoconf.h> indirectly gets included and it #undefs all sort of
CONFIG_ preprocessor macros (e.g. ELinks using CONFIG_IPV6 macro
internally was affected).

This is not a major bug; Gentoo and Debian Woody don't have the problem
(asm/params.h doesn't include anything), but <sys/params.h> is probably
not standardized anywhere so it's not really specified what exactly
happens when you include it. Still, such a wide collateral damage is
quite unexpected and wastes some time until it gets discovered what went
on...

Possible solution would be to grab CONFIG_HZ information at the package
build time.

-- System Information:
Debian Release: testing/unstable
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.5-kam
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to