[lkml]   [2002]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectFw: /usr/include/asm/system.h

----- Original Message -----
From: "Rupert Wood" <>
To: "'Claude Lamy'" <>
Cc: <>
Sent: Thursday, May 09, 2002 8:12 AM
Subject: RE: /usr/include/asm/system.h

> Claude Lamy wrote:
> > 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++. I can
> > modify the header file for myself but I think it should be changed (if
> > already) for future releases.
> Actually the system headers belong to the system C library and not GCC;
> in this case, however, that file belongs to the linux kernel
> (linux/include/asm-i386/system.h).
> It still contains 'new' in the latest 2.4 and 2.5 kernel trees. You may
> wish to report it to them instead.
> I'm not well up enough on the C and C++ standards to know if this is
> really a problem - there may be ways that it's supposed to compile
> anyway, and it appears to have survived for some time.
> Rup.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:22    [W:0.064 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site