gnu-arch-users
[Top][All Lists]
Advanced

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

Re: [Gnu-arch-users] OpenBSD madness...


From: Alfred M. Szmidt
Subject: Re: [Gnu-arch-users] OpenBSD madness...
Date: Thu, 29 Jun 2006 12:09:59 +0200 (CEST)

       Alfred> It is valid GNU C though,

   Ain't no such thing.  

Sure there is, (gcc)C Dialect Options:

| `gnu89'
|       Default, ISO C90 plus GNU extensions (including some C99
|       features).

| `gnu99'
| `gnu9x'
|       ISO C99 plus GNU extensions.  When ISO C99 is fully
|       implemented in GCC, this will become the default.  The name
|       `gnu9x' is deprecated.

       Alfred> and I think [declarations anywhere in a block] might be
       Alfred> valid C99.

   It is.  For recent GCCs that default to -std=c99

GCC defaults to -std=gnu99 or -std=gnu89: (gcc)Standards

| The default, if no C language dialect options are given, is
| `-std=gnu89'; this will change to `-std=gnu99' in some future release
| when the C99 support is complete.  Some features that are part of the
| C99 standard are accepted as extensions in C89 mode.

Cheers.




reply via email to

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