This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [wwwdocs] deprecation of access declarations
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Fabien Chêne <fabien dot chene at gmail dot com>
- Cc: Jason Merrill <jason at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 12 Feb 2012 22:53:16 +0100 (CET)
- Subject: Re: [wwwdocs] deprecation of access declarations
- References: <CAFH4-diHWcSp_BJpX7XUy6wJvmpw51uAhLjdDVHRDeZ5=irfmw@mail.gmail.com> <alpine.LNX.2.00.1201071129590.22517@zbenl.fvgr> <CAFH4-diDkMkfvVos1XXi0S48VNge7pzFGjPp6TwMB4nhauBxLQ@mail.gmail.com> <CAFH4-djotiWYBp+nuBZH-LqeQBVYjQqtk06KwVhVUCkdFsHp0Q@mail.gmail.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?
Do we need an update for http://gcc.gnu.org/gcc-4.7/porting_to.html
as well?
Gerald
> Index: gcc-4.7/changes.html
> ===================================================================
> RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.7/changes.html,v
> retrieving revision 1.74
> diff -r1.74 changes.html
> 396a397,405
>>
>> <li>As per C++98, access-declarations are now deprecated by
>> G++. Using-declarations are to be used instead. Furthermore,
>> some efforts have been made to improve the support of class
>> scope using declarations. In particular, using-declarations
>> referring to a dependent type now work as expected
>> (<a href="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14258">c++/14258</a>).
>> </li>