Re: OpenBSD madness...

"Alfred M. Szmidt" <[email protected]>
Newsgroups gmane.comp.version-control.arch.user
Message-ID <[email protected]>
       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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.