This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to allow "inline" keyword in C99 mode
- To: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Subject: Re: Patch to allow "inline" keyword in C99 mode
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sun, 23 Jul 2000 10:27:48 -0600
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <Pine.SOL.4.21.0007172252361.29161-100000@red.csi.cam.ac.uk>you wr
ite:
> Though C99 inline is very different from the GCC extension and the
> semantics will need reimplementing for C99 mode following the standard
> (the note in c99status.html that "C99 inline implies static" is not
> precisely accurate, and simply doesn't cover the full
> incompatibilities), it seems worthwhile to at least allow the "inline"
> keyword in C99 mode now, which this patch does.
>
> 2000-07-16 Joseph S. Myers <jsm28@cam.ac.uk>
>
> * c-lex.c (init_lex): Keep the "inline" keyword in C99 mode.
> (yylex): Don't pedwarn for "inline" in C99 mode.
THanks. Installed.
jeff