This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch to update webpages after for (int i = 0; i < 10; i++)


This patch updates the web pages to cover support for C99 for (int i = 0;
i < 10; i++).  OK to commit?

--- index.html	Mon Nov 13 22:55:13 2000
+++ indexnew.html	Sat Nov 18 23:22:20 2000
@@ -150,6 +150,15 @@

 <dl>

+<dt><b>November 18, 2000</b></dt>
+<dd>
+GCC now supports ISO C99 declarations in <code>for</code> loops
+(<code>for (int i = 0; i &lt; 10; i++) /* ... */</code>).  These are
+only supported in C99 mode (command line options
+<code>-std=gnu99</code> or <code>-std=c99</code>), which will be the
+default in some future release, but not in GCC 3.0.
+</dd>
+
 <dt><b>November 13, 2000</b></dt>
 <dd>
 GCC now supports two more ISO C99 features:
--- c99status.html	Mon Nov 13 22:55:13 2000
+++ c99statusnew.html	Sat Nov 18 23:22:55 2000
@@ -146,7 +146,7 @@
 </tr>

 <tr><td><em>mixed declarations and code</em></td>
-    <td></td><td></td><td></td><td>Missing</td>
+    <td></td><td>Done</td><td></td><td></td>
 </tr>

 <tr><td><em>new block scopes for selection<br>and iteration statements</em></td>
@@ -346,9 +346,6 @@

 <li>Designated initializers in GCC do not support overriding previous
 initializers for a subobject.</li>
-
-<li>Mixed declarations and code are mostly supported, but <code>for
-(int i = 0; i &lt; 10; i++) /* ... */</code> isn't.</li>

 <li>The list above differs from that in the C99 standard as follows:
 "LIA compatibility annex" is removed, since it refers to C99's

-- 
Joseph S. Myers
jsm28@cam.ac.uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]