This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 :-/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]