Re: [Boost-bugs] [Boost C++ Libraries] #283: Compiler error for tokenizer on Solaris

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #283: Compiler error for tokenizer on Solaris
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-11-22 10:02:25


#283: Compiler error for tokenizer on Solaris
----------------------+-----------------------------------------------------
  Reporter: stosys | Owner: jbandela
      Type: Bugs | Status: closed
 Milestone: | Component: tokenizer
   Version: None | Severity: Problem
Resolution: wontfix | Keywords:
----------------------+-----------------------------------------------------
Changes (by johnmaddock):

  * status: assigned => closed
  * resolution: None => wontfix

Old description:

> {{{
> 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
> }}}

New description:

 {{{
 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
 }}}

Comment:

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

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/283#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:57 UTC