diff mbox

Add -std=c11 option, final __STDC_VERSION__ value, etc.

Message ID Pine.LNX.4.64.1112212100510.25440@digraph.polyomino.org.uk
State New
Headers show

Commit Message

Joseph Myers Dec. 21, 2011, 9:01 p.m. UTC
I've now made corresponding updates to the 4.7 release notes.
diff mbox

Patch

Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.7/changes.html,v
retrieving revision 1.69
diff -u -r1.69 changes.html
--- changes.html	12 Dec 2011 15:07:58 -0000	1.69
+++ changes.html	21 Dec 2011 21:00:21 -0000
@@ -232,12 +232,15 @@ 
 <h3>C</h3>
 
   <ul>
-    <li>There is support for some more features from the C1X revision
-    of the ISO C standard.
+    <li>There is support for some more features from the C11 revision
+    of the ISO C standard.  GCC now accepts the
+    options <code>-std=c11</code> and <code>-std=gnu11</code>, in
+    addition to the previous <code>-std=c1x</code>
+    and <code>-std=gnu1x</code>.
     <ul>
       <li>Unicode strings (previously supported only with options such
-      as <code>-std=gnu1x</code>, now supported
-      with <code>-std=c1x</code>), and the predefined
+      as <code>-std=gnu11</code>, now supported
+      with <code>-std=c11</code>), and the predefined
       macros <code>__STDC_UTF_16__</code>
       and <code>__STDC_UTF_32__</code>.</li>
       <li>Nonreturning functions (<code>_Noreturn</code>