Package: libnuma-dev
Version: 2.0.1+20080610-1
Severity: important

Hello,

libnuma version 2 headers contains the following lines:
 #define howmany(x,y) (((x)+((y)-1))/(y))
 #define bitsperlong (8 * sizeof(unsigned long))
 #define longsperbits(n) howmany(n, bitsperlong)
 #define bytesperbits(x) ((x+7)/8)
 #ifdef VERSION1_COMPATIBILITY
All of the above should be prefixed with NUMA_ or so to avoid namespace
conflict.

Also, there should be an easy way to check the API version in the header
file, so that we can support both API 1 and 2 and choose at compile time.
Something like #define NUMA_API_VERSION 2 would be good (or whatever can
be checked with #ifdef).

thanks!
Brice



-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-rc5=topinambour (SMP w/2 CPU cores)
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages libnuma-dev depends on:
ii  libc6-dev [libc-dev]    2.7-10           GNU C Library: Development Librari
ii  libnuma1                2.0.1+20080610-1 Libraries for controlling NUMA pol

libnuma-dev recommends no packages.

-- no debconf information



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

Reply via email to