This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Trivial clean-up patch for stl_tree
- From: Gawain Bolton <gp dot bolton at computer dot org>
- To: Paolo Carlini <pcarlini at suse dot de>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Fri, 28 Jul 2006 20:51:55 +0200
- Subject: Re: Trivial clean-up patch for stl_tree
- References: <44CA5033.7030505@computer.org> <44CA5598.6050303@suse.de>
Paolo Carlini wrote:
Hi Gawain,
Hello,
Here's a trivial clean-up patch for stl_tree. I noticed a few months
ago but, well, this is clearly not urgent for anyone...
trivial, indeed, but unfortunately doesn't pass make-check-abi,
because the functions are exported...
Well, I guess this patch could be made non-ABI affecting by only
changing stl_tree.h to remove the function declarations... The changes
to tree.cc could be done when ABI changes are allowed.
I was also thinking of contributing other patches for stl_tree.h to
factorize some of the code, unless there is any objection or perhaps
this is not the right time for such patches which may well change the
ABI? - How's that for a run-on sentence ;-)
For 4.2.0 we are not breaking the ABI, therefore you should target
v7-branch for that kind of changes. And I'm pretty sure there is a lot
of room for clean-ups, it would be great if you could figure out an
ABI-safe set of changes for the current ABI... (this project was in my
TODO, but you are super-super-welcome!)
Ok, we can exchange ideas - my aim is to factorize code to reduce
duplication and help save some time compiling by having code moved out
of header files where possible. What are your objectives?
Cheers,
Gawain