alternate keywords in C

Jim Wilson wilson@specifixinc.com
Thu Jun 24 22:47:00 GMT 2004


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).
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



More information about the Gcc mailing list