* GCC Coding Conventions typo
@ 2016-04-22 17:34 Chris Gregory
2016-08-16 9:28 ` [wwwdocs] PATCH for " Gerald Pfeifer
0 siblings, 1 reply; 2+ messages in thread
From: Chris Gregory @ 2016-04-22 17:34 UTC (permalink / raw)
To: gcc
https://gcc.gnu.org/codingconventions.html#ExternC
In the `Extern "C"` commentary, the coding conventions says:
Definitions within the body of a namespace are not indented.
This should read
Definitions within the body of an `extern "C"` block are not indented.
Cheers,
Chris Gregory!
^ permalink raw reply [flat|nested] 2+ messages in thread
* [wwwdocs] PATCH for Re: GCC Coding Conventions typo
2016-04-22 17:34 GCC Coding Conventions typo Chris Gregory
@ 2016-08-16 9:28 ` Gerald Pfeifer
0 siblings, 0 replies; 2+ messages in thread
From: Gerald Pfeifer @ 2016-08-16 9:28 UTC (permalink / raw)
To: Chris Gregory, gcc-patches; +Cc: gcc
On Fri, 22 Apr 2016, Chris Gregory wrote:
> https://gcc.gnu.org/codingconventions.html#ExternC
>
> In the `Extern "C"` commentary, the coding conventions says:
>
> Definitions within the body of a namespace are not indented.
>
> This should read
>
> Definitions within the body of an `extern "C"` block are not indented.
Thank you for the report, Chris!
I just fixed this (finally) by applying the patch below, attributed
to you.
Gerald
Index: codingconventions.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/codingconventions.html,v
retrieving revision 1.74
diff -u -r1.74 codingconventions.html
--- codingconventions.html 27 May 2016 19:25:16 -0000 1.74
+++ codingconventions.html 16 Aug 2016 09:23:03 -0000
@@ -1304,7 +1304,7 @@
</code></pre></blockquote>
<p>
-Definitions within the body of a namespace are not indented.
+Definitions within the body of an <code>extern "C"</code> block are not indented.
</p>
<h4><a name="Namespace_Form">Namespaces</a></h4>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-08-16 9:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-22 17:34 GCC Coding Conventions typo Chris Gregory
2016-08-16 9:28 ` [wwwdocs] PATCH for " Gerald Pfeifer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).