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>