This is the mail archive of the gcc@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: alternate keywords in C


On Thu, Jun 24, 2004 at 03:43:49PM -0700, Jim Wilson wrote:
> Randy.Dunlap wrote:
> > Are the forms __asm, __inline, __typeof (and __volatile) also
> > accepted?  (I see uses of __asm, __type, __inline, and __volatile
> > in the Linux kernel source code.)
> 
> Yes.
> 
> Most keyword extensions support both the __keyword and __keyword__ 
> forms.  However, a few are only available as __keyword, and a few are 
> only available as __keyword__.  There is no rhyme or reason here.  You 
> just have to try them, or look at the list in the source code 
> (gcc/c-parse.in).

Is there any good reason for this?  It might be simplest just to correct
by adding the missing keywords (so that for any __foo keyword, __foo__
is also a keyword) unless there is a good reason otherwise.


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