This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gcc-wwwdocs".
The branch, master has been updated via 9a77c1a1eb9c35f015e40f7ed2871f967f87e111 (commit) from 801f3ad85b22a5da5114bfb47d74c94033806f24 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 9a77c1a1eb9c35f015e40f7ed2871f967f87e111 Author: Jonathan Wakely <jwak...@redhat.com> Date: Wed Oct 9 18:42:29 2024 +0100 Document that gcc-8 changed the default to -std=gnu17 diff --git a/htdocs/gcc-8/changes.html b/htdocs/gcc-8/changes.html index c329a509..12db068a 100644 --- a/htdocs/gcc-8/changes.html +++ b/htdocs/gcc-8/changes.html @@ -24,6 +24,8 @@ You may also want to check out our <!-- .................................................................. --> <h2>Caveats</h2> <ul> + <li>The default mode for C is now <code>-std=gnu17</code> instead of + <code>-std=gnu11</code>.</li> <li>Support for the obsolete SDB/coff debug info format has been <strong>removed</strong>. The option <code>-gcoff</code> no longer does anything.</li> @@ -536,6 +538,14 @@ $ gcc unclosed-2.c </li> </ul> +<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 (<code>__STDC_VERSION__ == 201710L</code>), + 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> + <h3 id="cxx">C++</h3> <ul> <li>GCC 8 (<code>-fabi-version=12</code>) has a couple of corrections to the calling ----------------------------------------------------------------------- Summary of changes: htdocs/gcc-8/changes.html | 10 ++++++++++ 1 file changed, 10 insertions(+) hooks/post-receive -- gcc-wwwdocs