[DOC PATCH] Add -Wunused-but-set-* note to gcc-4.6/changes.html and mention removal of <cstddef> in STL headers

Gerald Pfeifer gerald@pfeifer.com
Tue Mar 15 01:30:00 GMT 2011


On Thu, 10 Mar 2011, Jakub Jelinek wrote:
> This mentions -Wunused-but-set-* warnings (which are C/C++/ObjC/ObjC++, so
> not sure how to mention them in the language specific areas instead) and
> briefly mentions removal of <cstddef> includes.  More should go probably
> into gcc-4.6/porting_to.html.

This is very nice, thanks Jakub!

One idea would be to add a "C language family" subsection, but I think
your current approach is fine, too.


> +    <li>Most libstdc++ standard headers have been changed to longer include

"to no longer", I assume?

> +      <code>cstddef</code> header as an implementation detail.  Code that

the ... header

> +      standard headers will need include <code>cstddef</code> explicitly.</li>

"need to include"


Gerald



More information about the Gcc-patches mailing list