[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#329037: Package does not build with new linux-kernel-headers



severity 329037 serious
retitle 329037 [FTBFS] mysql-server: /usr/include/asm/system.h:247
thanks

hi,

On Sun, Sep 18, 2005 at 04:58:39PM -0700, C.Y.M wrote:
> Package: mysql-server
> Version: 4.0.24-10
> 
> 
> Package does not build with new linux-kernel-headers (2.6.13+0rc3-1.1) and gcc-3.4.
> 
> --SNIP--
> 
> In file included from /usr/include/asm/processor.h:18,
>                  from /usr/include/asm/atomic.h:6,
>                  from ./../include/my_global.h:287,
>                  from mysys_priv.h:17,
>                  from my_new.cc:22:
> /usr/include/asm/system.h:247: error: expected `,' or `...' before "new"

is this really a bug in mysql-server, and not linux-kernel-headers?
looking at the line:

static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old,
                                      unsigned long new, int size)

i mean, if they're going to use non-c++ names as dumb as that, shouldn't
they have some kind of

#if !defined __cplusplus block protecting it?

i'll cc the debian glibc team to see what they think.

in the meantime, since this is ftbfs, i'm upping the severity.

	sean

-- 

Attachment: signature.asc
Description: Digital signature


Reply to: