This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [DOC PATCH] Add -Wunused-but-set-* note to gcc-4.6/changes.html and mention removal of <cstddef> in STL headers
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Benjamin Kosnik <bkoz at redhat dot com>
- Date: Tue, 15 Mar 2011 02:30:55 +0100 (CET)
- Subject: Re: [DOC PATCH] Add -Wunused-but-set-* note to gcc-4.6/changes.html and mention removal of <cstddef> in STL headers
- References: <20110310160444.GR30899@tyan-ft48-01.lab.bos.redhat.com>
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