Boost logo

Boost Users :

From: Barak Simon (barak.simon_at_[hidden])
Date: 2004-10-07 21:42:30


Hi,
I get the following error from the Filesystem library when building boost 1_31 on Solaris with sunpro compiler:

"/db/pub/eq/build/src/boost_1_31_0/boost/iterator/iterator_facade.hpp", line 622: Error: Could not find a match for boost::iterator_core_access::equal<boost::iterator_core_access::Facade1, boost::iterator_core_access::Facade2>(const boost::filesystem::directory_iterator, const boost::filesystem::directory_iterator, boost::is_convertible<boost::filesystem::directory_iterator, boost::filesystem::directory_iterator>).

"/db/pub/eq/build/src/boost_1_31_0/libs/filesystem/build/../src/operations_posix_windows.cpp", line 176: Where: While instantiating "boost::operator==<boost::filesystem::directory_iterator, boost::filesystem::path, boost::single_pass_traversal_tag, boost::filesystem::path&, int, boost::filesystem::directory_iterator, boost::filesystem::path, boost::single_pass_traversal_tag, boost::filesystem::path&, int>(const boost::iterator_facade<boost::filesystem::directory_iterator, boost::filesystem::path, boost::single_pass_traversal_tag, boost::filesystem::path&, int>&, const boost::iterator_facade<boost::filesystem::directory_iterator, boost::filesystem::path, boost::single_pass_traversal_tag, boost::filesystem::path&, int>&)".

"/db/pub/eq/build/src/boost_1_31_0/libs/filesystem/build/../src/operations_posix_windows.cpp", line 176: Where: Instantiated from non-template code.

It looks suspiciously similar to bug "[ 976241 ] Compiler error for tokenizer on Solaris" from 2004-06-20, with the difference
that I am using version 5.3 of sunpro rather than 5.5.

My guess is there must be some flag/macro/workaround I am missing (as this specific library is supposed to be portable to many OSs and compilers)
, but have no idea what that may be. Any suggestions would be a blessing.

Thanks,
Barak
________________________
Barak Simon
GED IT Core Platform
Deutsche Bank
190 George St. Sydney, 2000
Phone +61 2 925 85070
Fax +61 2 925 95050

--
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

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