This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [libstdc++] Problems with deques (patch included)


On Mon, Jul 08, 2002 at 01:14:56PM +0200, Peter Schmid wrote:
> I deliberately reordered the data member declarations in such a way
> to remove an abi breaking change with respect to the deque class
> that is shipped with gcc 3.1. I believe abi changes with respect to
[...]
> in contrast to the 3.2 version (lines 385ff from stl_deque.h)
> 
>       _Tp**                _M_map;
>      size_t               _M_map_size;
>      allocator_type       _M_node_allocator;
>      _Map_allocator_type  _M_map_allocator;

*cuss words*
*vile thoughts*
*immature behavior*

That would be my fault.  (Oh, for a "make check-abi"...)

Your patch should go in, both to silence the warnings when a stateful
allocator is used, and to match the ABI of the 3.1 series.  I'll do that
shortly.


Phil

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams


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