Subject: Re: c99 in KNF?
To: None <tech-kern@netbsd.org>
From: None <joerg@britannica.bec.de>
List: tech-kern
Date: 01/12/2006 14:20:16
On Wed, Jan 11, 2006 at 10:41:43PM -0500, Matthew Mondor wrote:
> 
> Many stick to strict C89 code when they want maximum portability, but
> indeed we already use a number of GNU extensions already, and C99 might
> become as portable when most systems have C99 compliant compilers as you
> said...  We had to break C89 anyway to support 64-bit types on 32-bit
> native architectures.

And in fact, a lot of GNU extensions can be replaced or relabled as C99
features. long long, inline and __func__ come to mind. It should be
added that inline has a slightly different meaning in C99, e.g. "static
inline" in C99 is approximately the same as GCC's inline.

Joerg