c:\gcc-6-win32\include\c++\6.0.0\bits\streambuf_iterator.h:210:5: note:
candidate: template<class _CharT, class _Traits> bool
std::operator!=(const std::istreambuf_iterator<_CharT, _Traits>&, const
std::istreambuf_iterator<_CharT, _Traits>&)
operator!=(const istreambuf_iterator<_CharT, _Traits>& __a,
^~~~~~~~
c:\gcc-6-win32\include\c++\6.0.0\bits\streambuf_iterator.h:210:5:
note: template argument deduction/substitution failed:
egrepsed.cpp:1619:28: note: mismatched types 'const
std::istreambuf_iterator<_CharT, _Traits>' and 'VSI {aka unsigned int}'
while (ii != files.end()) {
^
In file included from c:\gcc-6-win32\include\c++\6.0.0\bits\ios_base.h:46:0,
from c:\gcc-6-win32\include\c++\6.0.0\ios:42,
from c:\gcc-6-win32\include\c++\6.0.0\ostream:38,
from c:\gcc-6-win32\include\c++\6.0.0\iterator:64,
from egrepsed.cpp:36:
c:\gcc-6-win32\include\c++\6.0.0\system_error:323:3: note: candidate:
bool std::operator!=(const std::error_condition&, const
std::error_condition&)
operator!=(const error_condition& __lhs,
^~~~~~~~
c:\gcc-6-win32\include\c++\6.0.0\system_error:323:3: note: no known
conversion for argument 1 from 'VSI {aka unsigned int}' to 'const
std::error_condition&'
c:\gcc-6-win32\include\c++\6.0.0\system_error:319:3: note: candidate:
bool std::operator!=(const std::error_condition&, const std::error_code&)
operator!=(const error_condition& __lhs, const error_code& __rhs)
noexcept
^~~~~~~~
c:\gcc-6-win32\include\c++\6.0.0\system_error:319:3: note: no known
conversion for argument 1 from 'VSI {aka unsigned int}' to 'const
std::error_condition&'
c:\gcc-6-win32\include\c++\6.0.0\system_error:315:3: note: candidate:
bool std::operator!=(const std::error_code&, const std::error_condition&)
operator!=(const error_code& __lhs, const error_condition& __rhs)
noexcept
^~~~~~~~
c:\gcc-6-win32\include\c++\6.0.0\system_error:315:3: note: no known
conversion for argument 1 from 'VSI {aka unsigned int}' to 'const
std::error_code&'
c:\gcc-6-win32\include\c++\6.0.0\system_error:311:3: note: candidate:
bool std::operator!=(const std::error_code&, const std::error_code&)
operator!=(const error_code& __lhs, const error_code& __rhs) noexcept
^~~~~~~~
c:\gcc-6-win32\include\c++\6.0.0\system_error:311:3: note: no known
conversion for argument 1 from 'VSI {aka unsigned int}' to 'const
std::error_code&'
In file included from c:\gcc-6-win32\include\c++\6.0.0\string:52:0,
from
c:\gcc-6-win32\include\c++\6.0.0\bits\locale_classes.h:40,
from c:\gcc-6-win32\include\c++\6.0.0\bits\ios_base.h:41,
from c:\gcc-6-win32\include\c++\6.0.0\ios:42,
from c:\gcc-6-win32\include\c++\6.0.0\ostream:38,
from c:\gcc-6-win32\include\c++\6.0.0\iterator:64,
from egrepsed.cpp:36:
c:\gcc-6-win32\include\c++\6.0.0\bits\basic_string.h:5122:5: note:
candidate: template<class _CharT, class _Traits, class _Alloc> bool
std::operator!=(const std::__cxx11::basic_string<_CharT, _Traits,
_Alloc>&, const _CharT*)
operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^~~~~~~~
c:\gcc-6-win32\include\c++\6.0.0\bits\basic_string.h:5122:5: note:
template argument deduction/substitution failed:
egrepsed.cpp:1619:28: note: mismatched types 'const
std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' and 'VSI {aka
unsigned int}'
while (ii != files.end()) {
In file included from c:\gcc-6-win32\include\c++\6.0.0\iosfwd:40:0,
from c:\gcc-6-win32\include\c++\6.0.0\ios:38,
from c:\gcc-6-win32\include\c++\6.0.0\ostream:38,
from c:\gcc-6-win32\include\c++\6.0.0\iterator:64,
from egrepsed.cpp:36:
c:\gcc-6-win32\include\c++\6.0.0\bits\postypes.h:221:5: note: candidate:
template<class _StateT> bool std::operator!=(const std::fpos<_StateT>&,
const std::fpos<_StateT>&)
operator!=(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
^~~~~~~~
c:\gcc-6-win32\include\c++\6.0.0\bits\postypes.h:221:5: note: template
argument deduction/substitution failed:
egrepsed.cpp:1619:28: note: mismatched types 'const
std::fpos<_StateT>' and 'VSI {aka unsigned int}'
while (ii != files.end()) {
^
In file included from
c:\gcc-6-win32\include\c++\6.0.0\bits\stl_algobase.h:67:0,
from c:\gcc-6-win32\include\c++\6.0.0\algorithm:61,
from egrepsed.cpp:23:
c:\gcc-6-win32\include\c++\6.0.0\bits\stl_iterator.h:1124:5: note:
candidate: template<class _Iterator> bool std::operator!=(const
std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorL>&)
operator!=(const move_iterator<_Iterator>& __x,
^~~~~~~~
c:\gcc-6-win32\include\c++\6.0.0\bits\stl_iterator.h:1124:5: note:
template argument deduction/substitution failed:
egrepsed.cpp:1619:28: note: mismatched types 'const
std::move_iterator<_IteratorL>' and 'VSI {aka unsigned int}'
while (ii != files.end()) {
^
In file included from
c:\gcc-6-win32\include\c++\6.0.0\bits\stl_algobase.h:67:0,
from c:\gcc-6-win32\include\c++\6.0.0\algorithm:61,
from egrepsed.cpp:23:
c:\gcc-6-win32\include\c++\6.0.0\bits\stl_iterator.h:1118:5: note:
candidate: template<class _IteratorL, class _IteratorR> bool
std::operator!=(const std::move_iterator<_IteratorL>&, const
std::move_iterator<_IteratorR>&)
operator!=(const move_iterator<_IteratorL>& __x,
^~~~~~~~
c:\gcc-6-win32\include\c++\6.0.0\bits\stl_iterator.h:1118:5: note:
template argument deduction/substitution failed:
egrepsed.cpp:1619:28: note: mismatched types 'const
std::move_iterator<_IteratorL>' and 'VSI {aka unsigned int}'
while (ii != files.end()) {
^
In file included from
c:\gcc-6-win32\include\c++\6.0.0\bits\stl_algobase.h:67:0,
from c:\gcc-6-win32\include\c++\6.0.0\algorithm:61,
from egrepsed.cpp:23:
c:\gcc-6-win32\include\c++\6.0.0\bits\stl_iterator.h:354:5: note:
candidate: template<class _IteratorL, class _IteratorR> bool
std::operator!=(const std::reverse_iterator<_Iterator>&, const
std::reverse_iterator<_IteratorR>&)
operator!=(const reverse_iterator<_IteratorL>& __x,
^~~~~~~~
c:\gcc-6-win32\include\c++\6.0.0\bits\stl_iterator.h:354:5: note:
template argument deduction/substitution failed:
egrepsed.cpp:1619:28: note: mismatched types 'const
std::reverse_iterator<_Iterator>' and 'VSI {aka unsigned int}'
while (ii != files.end()) {
^
In file included from
c:\gcc-6-win32\include\c++\6.0.0\bits\stl_algobase.h:67:0,
from c:\gcc-6-win32\include\c++\6.0.0\algorithm:61,
from egrepsed.cpp:23:
c:\gcc-6-win32\include\c++\6.0.0\bits\stl_iterator.h:304:5: note:
candidate: template<class _Iterator> bool std::operator!=(const
std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
operator!=(const reverse_iterator<_Iterator>& __x,
^~~~~~~~
c:\gcc-6-win32\include\c++\6.0.0\bits\stl_iterator.h:304:5: note:
template argument deduction/substitution failed:
egrepsed.cpp:1619:28: note: mismatched types 'const
std::reverse_iterator<_Iterator>' and 'VSI {aka unsigned int}'
while (ii != files.end()) {
^
In file included from c:\gcc-6-win32\include\c++\6.0.0\utility:70:0,
from c:\gcc-6-win32\include\c++\6.0.0\algorithm:60,
from egrepsed.cpp:23:
c:\gcc-6-win32\include\c++\6.0.0\bits\stl_pair.h:376:5: note: candidate:
template<class _T1, class _T2> constexpr bool std::operator!=(const
std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
operator!=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
^~~~~~~~
c:\gcc-6-win32\include\c++\6.0.0\bits\stl_pair.h:376:5: note: template
argument deduction/substitution failed:
egrepsed.cpp:1619:28: note: mismatched types 'const std::pair<_T1,
_T2>' and 'VSI {aka unsigned int}'
while (ii != files.end()) {
^
In file included from c:\gcc-6-win32\include\c++\6.0.0\regex:62:0,
from egrepsed.cpp:49:
c:\gcc-6-win32\include\c++\6.0.0\bits\regex.h:1938:5: note: candidate:
template<class _Bi_iter, class _Alloc> bool
std::__cxx11::operator!=(const std::__cxx11::match_results<_BiIter,
_Alloc>&, const std::__cxx11::match_results<_BiIter, _Alloc>&)
operator!=(const match_results<_Bi_iter, _Alloc>& __m1,
^~~~~~~~
c:\gcc-6-win32\include\c++\6.0.0\bits\regex.h:1938:5: note: template
argument deduction/substitution failed:
egrepsed.cpp:1619:28: note: mismatched types 'const
std::__cxx11::match_results<_BiIter, _Alloc>' and 'VSI {aka unsigned int}'
while (ii != files.end()) {
^
In file included from c:\gcc-6-win32\include\c++\6.0.0\regex:62:0,
from egrepsed.cpp:49:
c:\gcc-6-win32\include\c++\6.0.0\bits\regex.h:1414:5: note: candidate:
template<class _Bi_iter> bool std::__cxx11::operator!=(const
std::__cxx11::sub_match<_BiIter>&, const typename
std::iterator_traits<_Iter>::value_type&)
operator!=(const sub_match<_Bi_iter>& __lhs,
^~~~~~~~
c:\gcc-6-win32\include\c++\6.0.0\bits\regex.h:1414:5: note: template
argument deduction/substitution failed:
egrepsed.cpp:1619:28: note: mismatched types 'const
std::__cxx11::sub_match<_BiIter>' and 'VSI {aka unsigned int}'
while (ii != files.end()) {
^
In file included from c:\gcc-6-win32\include\c++\6.0.0\regex:62:0,
from egrepsed.cpp:49:
c:\gcc-6-win32\include\c++\6.0.0\bits\regex.h:1334:5: note: candidate:
template<class _Bi_iter> bool std::__cxx11::operator!=(const typename
std::iterator_traits<_Iter>::value_type&, const
std::__cxx11::sub_match<_BiIter>&)
operator!=(typename iterator_traits<_Bi_iter>::value_type const&
__lhs,
^~~~~~~~
c:\gcc-6-win32\include\c++\6.0.0\bits\regex.h:1334:5: note: template
argument deduction/substitution failed:
egrepsed.cpp:1619:28: note:
'std::vector<std::__cxx11::basic_string<char> >::iterator {aka
__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*,
std::vector<std::__cxx11::basic_string<char> > >}' is not derived from
'const std::__cxx11::sub_match<_BiIter>'
while (ii != files.end()) {
^
In file included from c:\gcc-6-win32\include\c++\6.0.0\regex:62:0,
from egrepsed.cpp:49:
c:\gcc-6-win32\include\c++\6.0.0\bits\regex.h:1257:5: note: candidate:
template<class _Bi_iter> bool std::__cxx11::operator!=(const
std::__cxx11::sub_match<_BiIter>&, const typename
std::iterator_traits<_Iter>::value_type*)
operator!=(const sub_match<_Bi_iter>& __lhs,
^~~~~~~~
c:\gcc-6-win32\include\c++\6.0.0\bits\regex.h:1257:5: note: template
argument deduction/substitution failed:
egrepsed.cpp:1619:28: note: mismatched types 'const
std::__cxx11::sub_match<_BiIter>' and 'VSI {aka unsigned int}'
while (ii != files.end()) {
^
In file included from c:\gcc-6-win32\include\c++\6.0.0\regex:62:0,
from egrepsed.cpp:49:
c:\gcc-6-win32\include\c++\6.0.0\bits\regex.h:1183:5: note: candidate:
template<class _Bi_iter> bool std::__cxx11::operator!=(const typename
std::iterator_traits<_Iter>::value_type*, const
std::__cxx11::sub_match<_BiIter>&)
operator!=(typename iterator_traits<_Bi_iter>::value_type const*
__lhs,
^~~~~~~~
c:\gcc-6-win32\include\c++\6.0.0\bits\regex.h:1183:5: note: template
argument deduction/substitution failed:
egrepsed.cpp:1619:28: note:
'std::vector<std::__cxx11::basic_string<char> >::iterator {aka
__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*,
std::vector<std::__cxx11::basic_string<char> > >}' is not derived from
'const std::__cxx11::sub_match<_BiIter>'
while (ii != files.end()) {
^
In file included from c:\gcc-6-win32\include\c++\6.0.0\regex:62:0,
from egrepsed.cpp:49:
c:\gcc-6-win32\include\c++\6.0.0\bits\regex.h:1106:5: note: candidate:
template<class _Bi_iter, class _Ch_traits, class _Ch_alloc> bool
std::__cxx11::operator!=(const std::__cxx11::sub_match<_BiIter>&,
std::__cxx11::__sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&)
operator!=(const sub_match<_Bi_iter>& __lhs,
^~~~~~~~
c:\gcc-6-win32\include\c++\6.0.0\bits\regex.h:1106:5: note: template
argument deduction/substitution failed:
egrepsed.cpp:1619:28: note: mismatched types 'const
std::__cxx11::sub_match<_BiIter>' and 'VSI {aka unsigned int}'
while (ii != files.end()) {
^
In file included from c:\gcc-6-win32\include\c++\6.0.0\regex:62:0,
from egrepsed.cpp:49:
c:\gcc-6-win32\include\c++\6.0.0\bits\regex.h:1026:5: note: candidate:
template<class _Bi_iter, class _Ch_traits, class _Ch_alloc> bool
std::__cxx11::operator!=(std::__cxx11::__sub_match_string<_Bi_iter,
_Ch_traits, _Ch_alloc>&, const std::__cxx11::sub_match<_BiIter>&)
operator!=(const __sub_match_string<_Bi_iter, _Ch_traits,
_Ch_alloc>& __lhs,
^~~~~~~~
c:\gcc-6-win32\include\c++\6.0.0\bits\regex.h:1026:5: note: template
argument deduction/substitution failed:
egrepsed.cpp:1619:28: note: mismatched types
'std::__cxx11::__sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>' and
'VSI {aka unsigned int}'
while (ii != files.end()) {
^
In file included from c:\gcc-6-win32\include\c++\6.0.0\regex:62:0,
from egrepsed.cpp:49:
c:\gcc-6-win32\include\c++\6.0.0\bits\regex.h:948:5: note: candidate:
template<class _BiIter> bool std::__cxx11::operator!=(const
std::__cxx11::sub_match<_BiIter>&, const std::__cxx11::sub_match<_BiIter>&)
operator!=(const sub_match<_BiIter>& __lhs, const
sub_match<_BiIter>& __rhs)
^~~~~~~~
c:\gcc-6-win32\include\c++\6.0.0\bits\regex.h:948:5: note: template
argument deduction/substitution failed:
egrepsed.cpp:1619:28: note: mismatched types 'const
std::__cxx11::sub_match<_BiIter>' and 'VSI {aka unsigned int}'
while (ii != files.end()) {
^
egrepsed.cpp:1620:25: error: invalid type argument of unary '*' (have
'VSI {aka unsigned int}')
sbranch=sfRoot+*ii;//sfRoot has trailing \ character
^~
at line 42, it's <vector>
#include <vector>
In file included from c:\gcc-6-win32\include\c++\6.0.0\vector:64:0,
from egrepsed.cpp:42:
c:\gcc-6-win32\include\c++\6.0.0\bits\stl_vector.h:1147:7: note:
candidate: std::vector<_Tp, _Alloc>::iterator std::vector<_Tp,
_Alloc>::erase(std::vector<_Tp, _Alloc>::const_iterator) [with _Tp =
std::__cxx11::basic_string<char>; _Alloc =
std::allocator<std::__cxx11::basic_string<char> >; std::vector<_Tp,
_Alloc>::iterator =
__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*,
std::vector<std::__cxx11::basic_string<char> > >; typename
std::_Vector_base<_Tp, _Alloc>::pointer =
std::__cxx11::basic_string<char>*; std::vector<_Tp,
_Alloc>::const_iterator = __gnu_cxx::__normal_iterator<const
std::__cxx11::basic_string<char>*,
std::vector<std::__cxx11::basic_string<char> > >; typename
__gnu_cxx::__alloc_traits<typename std::_Vector_base<_Tp,
_Alloc>::_Tp_alloc_type>::const_pointer = const
std::__cxx11::basic_string<char>*]
erase(const_iterator __position)
^~~~~
c:\gcc-6-win32\include\c++\6.0.0\bits\stl_vector.h:1147:7: note: no
known conversion for argument 1 from 'VSI {aka unsigned int}' to
'std::vector<std::__cxx11::basic_string<char> >::const_iterator {aka
__gnu_cxx::__normal_iterator<const std::__cxx11::basic_string<char>*,
std::vector<std::__cxx11::basic_string<char> > >}'
c:\gcc-6-win32\include\c++\6.0.0\bits\stl_vector.h:1174:7: note:
candidate: std::vector<_Tp, _Alloc>::iterator std::vector<_Tp,
_Alloc>::erase(std::vector<_Tp, _Alloc>::const_iterator,
std::vector<_Tp, _Alloc>::const_iterator) [with _Tp =
std::__cxx11::basic_string<char>; _Alloc =
std::allocator<std::__cxx11::basic_string<char> >; std::vector<_Tp,
_Alloc>::iterator =
__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*,
std::vector<std::__cxx11::basic_string<char> > >; typename
std::_Vector_base<_Tp, _Alloc>::pointer =
std::__cxx11::basic_string<char>*; std::vector<_Tp,
_Alloc>::const_iterator = __gnu_cxx::__normal_iterator<const
std::__cxx11::basic_string<char>*,
std::vector<std::__cxx11::basic_string<char> > >; typename
__gnu_cxx::__alloc_traits<typename std::_Vector_base<_Tp,
_Alloc>::_Tp_alloc_type>::const_pointer = const
std::__cxx11::basic_string<char>*]
erase(const_iterator __first, const_iterator __last)
^~~~~
c:\gcc-6-win32\include\c++\6.0.0\bits\stl_vector.h:1174:7: note:
candidate expects 2 arguments, 1 provided
egrepsed.cpp:1690:71: error: invalid type argument of unary '*' (have
'VSI {aka unsigned int}')
std::cout<<"[debug-files-post-filter:SUCCESS:FILE="<<*ii<<",sfRoot="<<sfRoot<<",getFilenameFromFilepath("<<*ii<<")="<<getFilenameFromFilepath(*ii)<<"]"<<std::endl;//DEBUG
^~
egrepsed.cpp:1690:125: error: invalid type argument of unary '*' (have
'VSI {aka unsigned int}')
std::cout<<"[debug-files-post-filter:SUCCESS:FILE="<<*ii<<",sfRoot="<<sfRoot<<",getFilenameFromFilepath("<<*ii<<")="<<getFilenameFromFilepath(*ii)<<"]"<<std::endl;//DEBUG
^~
egrepsed.cpp:1690:160: error: invalid type argument of unary '*' (have
'VSI {aka unsigned int}')
std::cout<<"[debug-files-post-filter:SUCCESS:FILE="<<*ii<<",sfRoot="<<sfRoot<<",getFilenameFromFilepath("<<*ii<<")="<<getFilenameFromFilepath(*ii)<<"]"<<std::endl;//DEBUG
^~
at line 36 it's
#include <algorithm>
#Include <iterator.>
also, how come algorithm's find() is not in namespace std? I have my own
find function for strings, I need them separately addressable. please
fix. thanks.
In file included from c:\gcc-6-win32\include\c++\6.0.0\algorithm:62:0,
from ..\..\..\lib\strfuncs\strfuncs.cpp:13:
c:\gcc-6-win32\include\c++\6.0.0\bits\stl_algo.h:3791:5: note:
candidate: template<class _IIter, class _Tp> _IIter std::find(_IIter,
_IIter, const _Tp&)
find(_InputIterator __first, _InputIterator __last,
^~~~