Boost logo

Boost Users :

From: Stefan Shishkov (stefan_at_[hidden])
Date: 2003-11-14 04:51:57


Hi,

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?

Best regards
Stefan


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