Package: linux-kernel-headers
Version: 2.6.12.0-1
Severity: important

Attempting to include asm/atomic.h from C++ causes the following error:

/usr/include/asm/system.h:247: error: expected ',' or '...' before 'new'

(with gcc 3.4 or 4.0) or

/usr/include/asm/system.h:247: error: syntax error before `new'

(with gcc 3.3).


This occurs when trying to build MySQL 4.0.24 or 4.0.25, either from
stock source or with "apt-get -b source mysql-server", specifically when
compiling mysys/my_new.cc

I wasn't sure whether this bug should be filed against the kernel
headers (which aren't C++-clean) or against MySQL (which is including a
system header from C++).


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.22
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

-- no debconf information



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

Reply via email to