Skip to content

Instantly share code, notes, and snippets.

@eklitzke
Created September 8, 2012 06:18
Show Gist options
  • Select an option

  • Save eklitzke/3672321 to your computer and use it in GitHub Desktop.

Select an option

Save eklitzke/3672321 to your computer and use it in GitHub Desktop.
make -k -C ..
make: Entering directory `/home/evan/code/index'
make -C build
make[1]: Entering directory `/home/evan/code/index/build'
CXX(target) out/Default/obj.target/csearch/src/integer_index_reader.o
In file included from ../src/./integer_index_reader.h:11:0,
from ../src/integer_index_reader.cc:4:
../src/././sstable_reader.h: In member function ‘bool codesearch::SSTableReader::FindWithBounds(const char*, std::string*, std::size_t*) const’:
../src/././sstable_reader.h:233:15: error: no match for ‘operator!=’ in ‘lb != e’
../src/././sstable_reader.h:233:15: note: candidate is:
In file included from ../src/././sstable_reader.h:15:0,
from ../src/./integer_index_reader.h:11,
from ../src/integer_index_reader.cc:4:
/usr/include/boost/iterator/iterator_facade.hpp:837:323: note: template<class Derived1, class V1, class TC1, class Reference1, class Difference1, class Derived2, class V2, class TC2, class Reference2, class Difference2> typename boost::detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<boost::detail::always_bool2, Derived1, Derived2>::type>::type boost::operator!=(const boost::iterator_facade<Derived1, V1, TC1, Reference1, Difference1>&, const boost::iterator_facade<Derived2, V2, TC2, Reference2, Difference2>&)
/usr/include/boost/iterator/iterator_facade.hpp:837:323: note: template argument deduction/substitution failed:
/usr/include/boost/iterator/iterator_facade.hpp: In substitution of ‘template<class Derived1, class V1, class TC1, class Reference1, class Difference1, class Derived2, class V2, class TC2, class Reference2, class Difference2> typename boost::detail::enable_if_interoperable<Derived1, Derived2, typename boost::mpl::apply2<boost::detail::always_bool2, Derived1, Derived2>::type>::type boost::operator!=(const boost::iterator_facade<Derived1, V1, TC1, Reference1, Difference1>&, const boost::iterator_facade<Derived2, V2, TC2, Reference2, Difference2>&) [with Derived1 = codesearch::SSTableReader::iterator_base<std::pair<std::basic_string<char>, std::basic_string<char> > >; V1 = std::pair<std::basic_string<char>, std::basic_string<char> >; TC1 = std::random_access_iterator_tag; Reference1 = std::pair<std::basic_string<char>, std::basic_string<char> >&; Difference1 = long int; Derived2 = codesearch::SSTableReader::iterator_base<std::pair<std::basic_string<char>, std::basic_string<char> > >; V2 = std::pair<std::basic_string<char>, std::basic_string<char> >; TC2 = std::random_access_iterator_tag; Reference2 = std::pair<std::basic_string<char>, std::basic_string<char> >&; Difference2 = long int]’:
../src/././sstable_reader.h:233:15: required from here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment