Boost logo

Boost :

From: Joaquín Mª López Muñoz (joaquin_at_[hidden])
Date: 2004-09-29 04:26:56


The following regressions in gcc-2.95.3-linux

http://tinyurl.com/638l6
http://tinyurl.com/3k6hu

are IMHO due to the fact that bad_alloc is defined in <new>,
and this header is not included by the corresponding test programs.
I'd say it's only out of sheer luck (dependant inclusions) that
these tests works for the rest of compilers, but I might be wrong.

In any case, #including <new> solves the problem. If noone
sees a problem with these patches, I'll commit them.

Joaquín M Lópz Muñoz
Telefónica, Investigación y Desarrollo

16d15
< #include <new>

22d21
< #include <new>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk