This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Using custom qualifiers like __THROW
- From: "Rupert Wood" <me at rupey dot net>
- To: "'m.'" <michal017 at centrum dot sk>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: Thu, 17 Jul 2003 13:38:49 +0100
- Subject: RE: Using custom qualifiers like __THROW
M. wrote:
> Isn't throw() or throw a reserved keyword?
In C++, yes. I don't think it is in C.
Now that C++ exists and is evolving alongside C, I'd have thought it'd be
sensible to reserve all the C++ keywords (new, delete, throw, etc.) in C too
so you've got simple source compatibility between the two. In fact I thought
they'd done this but I've glanced at the C99 standard and I must be making
this up :-/