g++ -Wall -ggdb -g -O0 Grammar_Matcher_Test.cpp -lpthread
-I/usr/local/include -L/usr/local/lib -lcurl -lexpat -o Grammar_Matcher_Test
/usr/include/g++/bits/stl_iterator_base_types.h: In instantiation of
`std::iterator_traits<int>':
/usr/include/g++/bits/basic_string.h:624: instantiated from
`std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT,
_Traits, _Alloc>::replace(__gnu_cxx::__normal_iterator<typename
_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> >,
__gnu_cxx::__normal_iterator<typename _Alloc::pointer,
std::basic_string<_CharT, _Traits, _Alloc> >, _InputIterator,
_InputIterator) [with _InputIterator = int, _CharT = char, _Traits =
std::char_traits<char>, _Alloc = std::allocator<char>]'
/usr/include/g++/bits/basic_string.h:492: instantiated from
`std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT,
_Traits, _Alloc>::append(_InputIterator, _InputIterator) [with
_InputIterator = int, _CharT = char, _Traits = std::char_traits<char>,
_Alloc = std::allocator<char>]'
Grammar_Matcher.cpp:258: instantiated from here
/usr/include/g++/bits/stl_iterator_base_types.h:126: error: `int' is not a
class, struct, or union type
/usr/include/g++/bits/stl_iterator_base_types.h:127: error: `int' is not a
class, struct, or union type
/usr/include/g++/bits/stl_iterator_base_types.h:128: error: `int' is not a
class, struct, or union type
/usr/include/g++/bits/stl_iterator_base_types.h:129: error: `int' is not a
class, struct, or union type
/usr/include/g++/bits/stl_iterator_base_types.h:130: error: `int' is not a
class, struct, or union type
/usr/include/g++/bits/basic_string.h: In member function `
std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT,
_Traits, _Alloc>::replace(__gnu_cxx::__normal_iterator<typename
_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> >,
__gnu_cxx::__normal_iterator<typename _Alloc::pointer,
std::basic_string<_CharT, _Traits, _Alloc> >, _InputIterator,
_InputIterator) [with _InputIterator = int, _CharT = char, _Traits =
std::char_traits<char>, _Alloc = std::allocator<char>]':
/usr/include/g++/bits/basic_string.h:492: instantiated from
`std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT,
_Traits, _Alloc>::append(_InputIterator, _InputIterator) [with
_InputIterator = int, _CharT = char, _Traits = std::char_traits<char>,
_Alloc = std::allocator<char>]'
Grammar_Matcher.cpp:258: instantiated from here
/usr/include/g++/bits/basic_string.h:624: error: no type named `
iterator_category' in `struct std::iterator_traits<int>'
make: *** [Grammar_Matcher_Test] Error 1