[wwwdocs] Add a case to porting_to + a question wrt validity of another one

Marek Polacek polacek@redhat.com
Mon Feb 13 11:24:00 GMT 2017


On Sun, Feb 12, 2017 at 09:08:42AM +0100, Gerald Pfeifer wrote:
> On Wed, 8 Feb 2017, Marek Polacek wrote:
> > Like this?
> 
>  As a consequence, the following examples are invalid and G++ will no longer
> -compile them:
> +compile them, because, in the following examples, G++ used to treat
> +<code>this-><em>member</em></code> where member has a non-dependent type, as
> +type-dependent, and now it doesn't.
> 
> This has two instances of "the following examples".  Perhaps omit
> the second instance and break the sentence, putting "G++ used to
> treat..." in parenthesis after the first sentence, or adding this
> explanation after the examples?
 
I had already fixed this...

> Also you'll need to write "->" instead of "->", and <em>member</em>
> the second time as well (or <i>member</i> which we use in other places
> in changes.html for this kind of usage).

...and this I'm fixing with the following, thanks.

Index: porting_to.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-7/porting_to.html,v
retrieving revision 1.6
diff -u -r1.6 porting_to.html
--- porting_to.html	8 Feb 2017 18:48:11 -0000	1.6
+++ porting_to.html	13 Feb 2017 10:21:05 -0000
@@ -52,7 +52,7 @@
 
 <p>
 As a consequence, the following examples are invalid and G++ will no longer
-compile them, because G++ used to treat <code>this-><em>member</em></code>
+compile them, because G++ used to treat <code>this-><i>member</i></code>
 where member has a non-dependent type, as type-dependent, and now it doesn't.
 </p>
 

	Marek



More information about the Gcc-patches mailing list