problem with regex_fwd.hpp
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
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.
participants (2)
-
John Maddock
-
Stefan Shishkov