On Mon, Sep 19, 2005 at 02:40:43AM -0400, sean finney wrote: > > 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"
Don't include <asm/atomic.h> then. That's the standard response to FTBFS bugs involving linux-kernel-headers. On many architectures <asm/atomic.h> is not usable from userspace and/or guarded by #ifdef __KERNEL__. -- Daniel Jacobowitz CodeSourcery, LLC -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]