[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Inline Function

From: J Wunsch
Subject: Re: [avr-gcc-list] Inline Function
Date: Tue, 3 Apr 2001 12:44:43 +0200 (MET DST)

<address@hidden> wrote:

[Please don't post twice.]

> Is it possible to compile an inline function in C with the avr-gcc
> and which compilerflags are necessary ?

It is, since gcc has been supporting inline functions for ages now.
You don't need any special compile-time options except that you must
not specify the -ansi option since this one disables all extensions in
the compiler over the ANSI (ISO) C standard.  (Using the -pedantic
option would flag the non-standard usage of `inline' without causing a
fatal error.)

J"org Wunsch                                           Unix support engineer
address@hidden         http://www.interface-systems.de/~j

reply via email to

[Prev in Thread] Current Thread [Next in Thread]