mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Claude Lamy" <clamy@sunrisetelecom.com>
To: <linux-kernel@vger.kernel.org>
Subject: Fw: /usr/include/asm/system.h
Date: Tue, 21 May 2002 08:37:42 -0400	[thread overview]
Message-ID: <000d01c200c4$4d0b9570$5132a8c0@AVANSUN.COM> (raw)


----- Original Message -----
From: "Rupert Wood" <me@rupey.net>
To: "'Claude Lamy'" <clamy@sunrisetelecom.com>
Cc: <gcc-help@gcc.gnu.org>
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
not
> > 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.


             reply	other threads:[~2002-05-21 12:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-21 12:37 Claude Lamy [this message]
2002-05-21 12:48 ` Dave Jones
2002-05-21 16:51   ` Dave Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000d01c200c4$4d0b9570$5132a8c0@AVANSUN.COM' \
    --to=clamy@sunrisetelecom.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®