Re: What versions of C standard does GCC support?

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

 



Hey,

Well, the three big ones are K&R C, C89, and C99 - although the latter
is not implemented fully (see: http://gcc.gnu.org/c99status.html). I
would recommend using the most recent: C99 (so, -std=c99). Or if
you're only planning on using GCC, you can also use gnu99, which
enables the GNU extensions to C99.

On Mon, Aug 31, 2009 at 3:34 AM, Tim<timlee126@xxxxxxxxx> wrote:
> Hi,
>  I am confused by reading http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Standards.html, which says "GCC supports three versions of the C standard". It seems says more than one versions. Can anyone clarify it? Which version is the most popular now and recommended?
> Thanks and regards!
>
>


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux