This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [libstdc++] Problems with deques (patch included)
- From: Phil Edwards <phil at jaj dot com>
- To: Peter Schmid <schmid at snake dot iap dot physik dot tu-darmstadt dot de>
- Cc: libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Mon, 8 Jul 2002 05:13:35 -0400
- Subject: Re: [libstdc++] Problems with deques (patch included)
- References: <Pine.LNX.4.30.0207080201570.26629-100000@snake.iap.physik.tu-darmstadt.de>
On Mon, Jul 08, 2002 at 02:03:27AM +0200, Peter Schmid wrote:
> When I use the deque class with a custom allocator, I get "member
> initializers will be reordered" warnings on the main line.
Amazing that nobody's seen this before. Perhaps everybody's using
instanceless allocators, so they get the specialization that doesn't have
this bug. Good catch.
> Applying the appended patch fixes the problem.
Like Gaby says, we should make the mirror change instead, for ABI reasons.
Right now I'm testing other changes but will fix this soon.
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