Opened 18 years ago
Closed 15 years ago
#283 closed Bugs (wontfix)
Compiler error for tokenizer on Solaris
| Reported by: | stosys | Owned by: | jbandela |
|---|---|---|---|
| Milestone: | Component: | tokenizer | |
| Version: | None | Severity: | Problem |
| Keywords: | Cc: |
Description (last modified by )
When trying to upgrade to boost 1_31, Forte 8.0 (CC:
Sun C++ 5.5 Patch 113817-03
2003/10/14) gives the following error for the code snip:
typedef boost::tokenizer<boost::char_separator<char>
> tokenizer;
boost::char_separator<char> seperator
(sDroppedDelimiters, sKeptDelimiters,
boost::keep_empty_tokens);
tokenizer tokens( sString, seperator );
for (tokenizer::iterator tok_iter = tokens.begin();
tok_iter != tokens.end(); ++tok_iter)
vInVector.push_back( *tok_iter );
Copiler error:
"/home/dev/cm/THIRD_PARTY/boost/include/boost/iterat
or/iterator_facade.hpp",
line 623: Error: Could not find a match for
boost::iterator_core_access::equal<boost::iterator_core
_access::Facade1,
boost::iterator_core_access::Facade2>(const
boost::token_iterator<boost::char_separator<char,
std::char_traits<char>>,
const char*, std::string>, const
boost::token_iterator<boost::char_separator<char,
std::char_traits<char>>,
const char*, std::string>,
boost::is_convertible<boost::token_iterator<boost::char
_separator<char,
std::char_traits<char>>, const char*, std::string>,
boost::token_iterator<boost::char_separator<char,
std::char_traits<char>>,
const char*, std::string>>).
"MDSStringHelpers.cxx", line 183: Where: While
instantiating
"boost::operator!
=<boost::token_iterator<boost::char_separator<char,
std::char_traits<char>>, const char*, std::string>,
std::string,boost::forward_traversal_tag, const
std::string &, int,
boost::token_iterator<boost::char_separator<char,
std::char_traits<char>>,
const char*, std::string>, std::string,
boost::forward_traversal_tag,
const std::string &, int>(const
boost::iterator_facade<boost::token_iterator<boost::cha
r_separator<char,
std::char_traits<char>>, const char*, std::string>,
std::string,
boost::forward_traversal_tag, const std::string &,
int>&, const
boost::iterator_facade<boost::token_iterator<boost::cha
r_separator<char,
std::char_traits<char>>, const char*, std::string>,
std::string,
boost::forward_traversal_tag, const std::string &,
int>&)".
"MDSStringHelpers.cxx", line 183: Where: Instantiated
from
non-template code.
Has anyone else complianed about this?
Thanks
Tom
Change History (2)
comment:1 by , 15 years ago
| Component: | None → tokenizer |
|---|---|
| Severity: | → Problem |
comment:2 by , 15 years ago
| Description: | modified (diff) |
|---|---|
| Resolution: | None → wontfix |
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.

I'm closing this issue as moot: the current code passes all tests with the latest Sunpro release.