from man gcc v3.4.4
Valerio

ISO C standard and GCC options.
===============================
Top to botton, add features:

ISO C90
-------
-ansi
-std=c89
-std=iso9899:1990

ISO C90 as modified in amendment 1
----------------------------------
-std=iso9899:199409

Default, ISO C90 plus GNU extensions (including some C99 features)
------------------------------------------------------------------
-std=gnu89

ISO C99
-------
-std=c99
-std=c9x
-std=iso9899:1999
-std=iso9899:199x
c9x and iso9899:199x are deprecated.

ISO C99 plus GNU extensions.
----------------------------
-std=gnu99
-std=gnu9x
The name gnu9x is deprecated.



ISO C++ standard and GCC options.
=================================
Top to botton, add features:

The 1998 ISO C++ standard plus amendments.
-std=c++98

The same as -std=c++98 plus GNU extensions.
This is the default for C++ code.
-std=gnu++98


Note:
Even when this option is not specified, you can still use some of
the features of newer standards in so far as they do not conflict
with previous C standards.  For example, you may use "__restrict__"
even when -std=c99 is not specified.

The -std options specifying some version of ISO C have the same
      effects as -ansi, except that features that were not in ISO C90 but
      are in the specified version (for example, // comments and the
      "inline" keyword in ISO C99) are not disabled.

--
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop

Reply via email to