> > > I am running a Mandrake 8.1 linux distribution with gcc 2.96. In
> > > the file /usr/include/asm/system.h, the function __cmpxchg uses a
> > > parameter named "new" which is a reserved keyword in C++.
The function is wrapped in an #ifdef __KERNEL__
Kernel code isn't meant to be compiled with a c++ compiler
-- | Dave Jones. http://www.codemonkey.org.uk | SuSE Labs - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu May 23 2002 - 22:00:21 EST