On Fri, Apr 02, 2004 at 12:44:29PM +0200, Falk Hueffner wrote: > Marcin Kurek <[EMAIL PROTECTED]> writes: > > > I am not completly shure is that a real bug > > but mark it important just in case, right? > > > it seems __attribute_const__ cause a parse error in current Debian > > release. And such construction can be found in many kernel 2.6.4 > > header files and in some projects too. For example in > > /include/linux/byteorder/swab.h in __fswab32 and __fswab16 > > functions. > > Very likely not a gcc problem, but a missing macro definition. We > cannot tell without a test case, though; please provide one.
He's either using too old a linux-kernel-headers package, or kernel headers which can not be used from userspace. This has nothing to do with gcc. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer