Menu

can't m make library

Help
Spy-Soft
2007-02-05
2013-05-15
  • Spy-Soft

    Spy-Soft - 2007-02-05

    .. with error: "... In member function ‘void htmlcxx::HTML::ParserSax::parse(_Iterator, _Iterator) [with _Iterator = const char*]’:
    ParserSax.cc:6:   instantiated from here
    ParserSax.tcc:26: error: dependent-name ‘std::iterator_traits<_Iter>::iterator_category’ is parsed as a non-type, but instantiation yields a type
    ParserSax.tcc:26: note: say ‘typename std::iterator_traits<_Iter>::iterator_category’ if a type is meant"

    Help, pls :)

     
    • Robson Braga Araujo

      Edit html/ParserSax.tcc and on line 26, write typename before std::. Like this:
      parse(begin, end, typename std::iterator_traits<_Iterator>::iterator_category());

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.