On Wed, 9 Oct 2024 at 18:07, Joseph Myers wrote:
>
> On Wed, 9 Oct 2024, Jonathan Wakely wrote:
>
> > +<h3 id="c">C</h3>
> > +  <ul>
> > +    <li>The default mode has been changed to <code>-std=gnu17</code>.</li>
> > +  </ul>
>
> The option didn't exist before GCC 8, I think you need to say something
> about the option being added rather than just referring to a new default
> of an option that wasn't in previous versions.

Well in GCC 7 the default was -std=gnu11 and in GCC 8 it changed to
-std=gnu17, which also happened to be new.

How about this?

+<h3 id="c">C</h3>
+  <ul>
+    <li>New options <code>-std=c17</code>, to select support for the 2018
+    edition of the ISO C standard, and <code>-std=gnu17</code>, for C17
+    with GNU extensions.</li>
+    <li>The default mode has been changed to <code>-std=gnu17</code>.</li>
+  </ul>

Should it say 2017 to avoid confusion, even though it was published as
9899:2018?

Reply via email to