Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2003-12-29 07:47:48


> I had a small problem using boost::regexp on MS VC 6.0, boost 1.30.2. In
one
> of my headers I included regex_fwd.hpp. The compilation failed with:
>
> ..\boost-1.30.2\boost/detail/allocator.hpp(215): error C2065: 'assert':
> undeclared identifier
>
> Allocator.hpp does not include <cassert> probably relying that it will be
> included before it. I solved this problem by including <cassert> before
> regex_fwd.hpp but may be it is better to change allocator.hpp? Or probably
> something is wrong with my configuration?

No will be fixed in the next release (and sorry for the delay on this one!).

John.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net