[wwwdocs] deprecation of access declarations

Fabien Chêne fabien.chene@gmail.com
Mon Feb 13 21:48:00 GMT 2012


2012/2/12 Gerald Pfeifer <gerald@pfeifer.com>:
> On Fri, 27 Jan 2012, Fabien Chêne wrote:
>> I get back to you for the snippet about deprecated access
>> declarations. I would also find it sensible to advertise about the fix
>> of c++/14258, a popular bug I have hit myself many times. OK to commit
>> the below ?
>
> Yes, thank you.
>
> One suggestion: where it reads "c++/14258", how about making this
> "bug c++/14258", for those who are less familiar how we name things?

I have committed it with the change that you have suggested.

> Do we need an update for http://gcc.gnu.org/gcc-4.7/porting_to.html
> as well?

I don't know. The deprecation of access declarations only raises a
warning -- unless -Werror is used.
Is porting_to.html appropriate to describe the way to fix the warning ?

Concerning the other changes related to using declarations, I don't
expect them to (massively) break some existing code.

-- 
Fabien



More information about the Gcc-patches mailing list