Ahem, could someone please answer my simple question:
Is is possible to compile programs which use Boost and STLPort (instead
of Microsoft Foundation Classes) with the Intel compiler, on Windows?
I am getting all kinds of weird errors which relate to streaming
operators, which makes me think that my usage of STLPort might be
involved? On the other hand, if I use MSCV6 instead of Intel compiler
(7.0) I do not get the same errors. It seems that some of our in-house
software can't be compiled with MSVC6 because of problems this specific
compiler has with templates. The same code compiles without problem on
the latest GCC compilers.
My latest source of joy is the following (about which I am totally
clueless) :
C:\PROGRAM FILES\BOOST_1_30_0\boost/lexical_cast.hpp(147): error: no
operator "<<" matches these operands
operand types are: std::basic_stringstream, std::allocator> << const
std::basic_string
return stream << input;
^
detected during:
instantiation of "bool={bool}
boost::detail::lexical_stream::operator<<(const Source
&) [with Target=unsigned short, Source=std::basic_string]" at line 192
instantiation of "Target
boost::lexical_cast(Source) [with Target=unsigned short,
Source=std::basic_string]" at line 30 of "C:\PROGRAM
FILES\BOOST_1_30_0\boost/date_time/
time_parsing.hpp"
instantiation of "time_duration
boost::date_time::parse_delimited_time_duration(const
std::string &) [with time_duration=boost::posix_time::time_duration]"
C:\PROGRAM FILES\BOOST_1_30_0\boost/lexical_cast.hpp(153): error: no
operator ">>" matches these operands
operand types are: std::basic_stringstream >> boost::int64_t
stream >> output &&
^
detected during:
instantiation of "bool={bool}
boost::detail::lexical_stream::operator>>(InputStreamable &) [with
Target=boost::int64_t={__int64}, Source=std::basic_string, InputStreamab
le=boost::int64_t={__int64}]" at line 192
instantiation of "Target
boost::lexical_cast(Source) [with
Target=boost::int64_t={__int64}, Source=std::basic_string]" at line 47 of
"C:\PROGRAM FILES\BOOST_1_30_0\boost/
date_time/time_parsing.hpp"
instantiation of "time_duration
boost::date_time::parse_delimited_time_duration(const
std::string &) [with time_duration=boost::posix_time::time_duration]"
Greetings,
Andre.