This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Trivial clean-up patch for stl_tree


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]