Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2004-09-18 04:51:40


> We have found some problems with the following files:
>
> boost_1_31_0/libs/regex/src/cpp_regex_traits.cpp
> boost_1_31_0/libs/test/src/test_tools.cpp
>
> They use definitions from <ios> but never actually include it - they are
> relying on the fact that in some STLs the headers are pulled in by other
> header files. Unfortunately, under our STL (RW STL 6.0) this is not the
> case and hence the files fail to compile. Add the following include line
> to both to fix the problem:
>
> #include <ios>

Done.

> There is another STL related problem in
>
> boost_1_31_0/boost/regex/config/cwchar.hpp
>
> which manipulates some macros such as iswalnum etc. These are originally
> pulled in from <wctype.h> and <wchar.h> under /usr/include. With gcc,
> <cwctype> and <cwchar> undefine these macros as the first thing, however,
> our STL's headers don't. That leads to compilation errors from the above
> header.
>
> To fix this, add

Done, apologies for the delay, I didn't notice your message first time
around,

Thanks for the bug report,

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