Dick B. wrote:
I'm pretty sure the headers are being found. If I replace posix_time.hpp with posix_time_types.hpp, the error and many of the warnings disappear. In other words...
Ok.
#include
//#include #include avoids the error message.
This is because commenting out 'posix_time.hpp' eliminates the I/O code from the library. This is the part that uses lexical_cast which is where the error is occuring.
...which refers to lexical_cast.hpp
template
class lexical_stream { bool operator<<(const Source &input) { here ===> return stream << input; <==== here } } So I assume there's a header somewhere that defines the '<<' operator referred to. I don't know if this is related to my use of VC7.1 or not. I'm trying to find someone around here with VC7 to build boost_1_30_0 and see if that makes a difference. No luck so far.
I'm starting to think this may be related to the 1_30_0 lexical cast problem. Can you upgrade lexical_cast.hpp from cvs? You can download it from here: http://cvs.sourceforge.net/cgi- bin/viewcvs.cgi/boost/boost/boost/lexical_cast.hpp Jeff