This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Is __inline ANSI C or just GCC?
- To: rlau at csc dot com
- Subject: Re: Is __inline ANSI C or just GCC?
- From: Michael Meissner <meissner at cygnus dot com>
- Date: Tue, 8 Aug 2000 12:34:04 -0400
- Cc: gcc at gcc dot gnu dot org
- References: <85256935.0053BDA4.00@csc.com>
On Tue, Aug 08, 2000 at 10:11:18AM -0500, rlau@csc.com wrote:
>
> Does anyone know whether "__inline" is an ANSI C feature or it is just supported
> by GCC?
__inline and __inline__ are GCC specific. The keyword 'inline' is not present
in C89, but was added to the C99 standard. Note that GCC does not yet
completely adhere to the C99 standard.
> Any website that contain a list of ANSI C modifiers/keywords?
You can buy a dowloadable version of the ISO C standard (ISO/IEC 9899:1999) and
ISO C++ standard (ISO/IEC 14882:1998) for $18 each at the ANSI web store:
http://webstore.ansi.org/
--
Michael Meissner, Red Hat, Inc.
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work: meissner@redhat.com phone: +1 978-486-9304
Non-work: meissner@spectacle-pond.org fax: +1 978-692-4482