pbv.cpp:1:1: error: stray '##' in program ## sample c++ applicaion ^ pbv.cpp:1:4: error: 'sample' does not name a type ## sample c++ applicaion ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iosfwd:40:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/postypes.h:98:11: error: 'ptrdiff_t' does not name a type typedef ptrdiff_t streamsize; // Signed integral type ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_algobase.h:65:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h:39, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_iterator_base_types.h:116:67: error: expected type-specifier before 'ptrdiff_t' template' before 'ptrdiff_t' /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_iterator_base_types.h:127:15: error: '_Pointer' does not name a type typedef _Pointer pointer; ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_iterator_base_types.h:129:15: error: '_Reference' does not name a type typedef _Reference reference; ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_iterator_base_types.h:179:15: error: 'ptrdiff_t' does not name a type typedef ptrdiff_t difference_type; ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_iterator_base_types.h:190:15: error: 'ptrdiff_t' does not name a type typedef ptrdiff_t difference_type; ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_algobase.h:67:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h:39, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_iterator.h:101:69: error: wrong number of template arguments (5, should be 3) typename iterator_traits<_Iterator>::reference> ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_algobase.h:65:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h:39, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_iterator_base_types.h:118:12: error: provided for 'template struct std::iterator' struct iterator ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_algobase.h:67:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h:39, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_iterator.h:403:66: error: wrong number of template arguments (5, should be 3) : public iterator ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_algobase.h:65:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h:39, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_iterator_base_types.h:118:12: error: provided for 'template struct std::iterator' struct iterator ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_algobase.h:67:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h:39, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_iterator.h:494:66: error: wrong number of template arguments (5, should be 3) : public iterator ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_algobase.h:65:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h:39, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_iterator_base_types.h:118:12: error: provided for 'template struct std::iterator' struct iterator ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_algobase.h:67:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h:39, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_iterator.h:588:66: error: wrong number of template arguments (5, should be 3) : public iterator ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_algobase.h:65:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h:39, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_iterator_base_types.h:118:12: error: provided for 'template struct std::iterator' struct iterator ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h:39:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_algobase.h: In static member function 'static _Tp* std::__copy_move<_IsMove, true, std::random_access_iterator_tag>::__copy_m(const _Tp*, const _Tp*, _Tp*)': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_algobase.h:370:10: error: 'ptrdiff_t' does not name a type const ptrdiff_t _Num = __last - __first; ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_algobase.h:371:8: error: '_Num' was not declared in this scope if (_Num) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_algobase.h:373:22: error: '_Num' was not declared in this scope return __result + _Num; ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_algobase.h: In static member function 'static _Tp* std::__copy_move_backward<_IsMove, true, std::random_access_iterator_tag>::__copy_move_b(const _Tp*, const _Tp*, _Tp*)': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_algobase.h:565:10: error: 'ptrdiff_t' does not name a type const ptrdiff_t _Num = __last - __first; ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_algobase.h:566:8: error: '_Num' was not declared in this scope if (_Num) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_algobase.h:568:22: error: '_Num' was not declared in this scope return __result - _Num; ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:40:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h: At global scope: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h:104:66: error: 'std::size_t' has not been declared compare(const char_type* __s1, const char_type* __s2, std::size_t __n); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h:106:14: error: 'size_t' in namespace 'std' does not name a type static std::size_t ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h:110:39: error: 'std::size_t' has not been declared find(const char_type* __s, std::size_t __n, const char_type& __a); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h:113:57: error: 'std::size_t' has not been declared move(char_type* __s1, const char_type* __s2, std::size_t __n); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h:116:57: error: 'std::size_t' has not been declared copy(char_type* __s1, const char_type* __s2, std::size_t __n); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h:119:35: error: 'std::size_t' has not been declared assign(char_type* __s, std::size_t __n, char_type __a); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h:145:64: error: 'std::size_t' has not been declared compare(const char_type* __s1, const char_type* __s2, std::size_t __n) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h: In static member function 'static int __gnu_cxx::char_traits<_CharT>::compare(const char_type*, const char_type*, int)': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h:147:12: error: 'size_t' is not a member of 'std' for (std::size_t __i = 0; __i < __n; ++__i) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h:147:12: note: suggested alternative: In file included from /usr/include/wchar.h:52:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/cwchar:44, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/postypes.h:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iosfwd:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include/stddef.h:212:23: note: 'size_t' typedef __SIZE_TYPE__ size_t; ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:40:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h:147:24: error: expected ';' before '__i' for (std::size_t __i = 0; __i < __n; ++__i) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h:147:33: error: '__i' was not declared in this scope for (std::size_t __i = 0; __i < __n; ++__i) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h: At global scope: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h:156:5: error: 'size_t' in namespace 'std' does not name a type std::size_t ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h:169:37: error: 'std::size_t' has not been declared find(const char_type* __s, std::size_t __n, const char_type& __a) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h: In static member function 'static const char_type* __gnu_cxx::char_traits<_CharT>::find(const char_type*, int, const char_type&)': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h:171:12: error: 'size_t' is not a member of 'std' for (std::size_t __i = 0; __i < __n; ++__i) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h:171:12: note: suggested alternative: In file included from /usr/include/wchar.h:52:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/cwchar:44, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/postypes.h:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iosfwd:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include/stddef.h:212:23: note: 'size_t' typedef __SIZE_TYPE__ size_t; ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:40:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h:171:24: error: expected ';' before '__i' for (std::size_t __i = 0; __i < __n; ++__i) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h:171:33: error: '__i' was not declared in this scope for (std::size_t __i = 0; __i < __n; ++__i) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h: At global scope: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h:180:55: error: 'std::size_t' has not been declared move(char_type* __s1, const char_type* __s2, std::size_t __n) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h:189:55: error: 'std::size_t' has not been declared copy(char_type* __s1, const char_type* __s2, std::size_t __n) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h:199:33: error: 'std::size_t' has not been declared assign(char_type* __s, std::size_t __n, char_type __a) ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ext/new_allocator.h:33:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/x86_64-redhat-linux/bits/c++allocator.h:33, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/allocator.h:46, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/string:41, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_classes.h:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ios_base.h:41, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:42, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/new:91:31: error: declaration of 'operator new' as non-function void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/new:91:20: error: 'size_t' is not a member of 'std' void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/new:91:20: note: suggested alternative: In file included from /usr/include/wchar.h:52:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/cwchar:44, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/postypes.h:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iosfwd:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include/stddef.h:212:23: note: 'size_t' typedef __SIZE_TYPE__ size_t; ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ext/new_allocator.h:33:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/x86_64-redhat-linux/bits/c++allocator.h:33, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/allocator.h:46, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/string:41, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_classes.h:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ios_base.h:41, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:42, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/new:93:33: error: declaration of 'operator new []' as non-function void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/new:93:22: error: 'size_t' is not a member of 'std' void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/new:93:22: note: suggested alternative: In file included from /usr/include/wchar.h:52:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/cwchar:44, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/postypes.h:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iosfwd:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include/stddef.h:212:23: note: 'size_t' typedef __SIZE_TYPE__ size_t; ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ext/new_allocator.h:33:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/x86_64-redhat-linux/bits/c++allocator.h:33, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/allocator.h:46, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/string:41, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_classes.h:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ios_base.h:41, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:42, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/new:99:25: error: declaration of 'operator new' as non-function void* operator new(std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/new:99:20: error: 'size_t' is not a member of 'std' void* operator new(std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/new:99:20: note: suggested alternative: In file included from /usr/include/wchar.h:52:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/cwchar:44, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/postypes.h:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iosfwd:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include/stddef.h:212:23: note: 'size_t' typedef __SIZE_TYPE__ size_t; ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ext/new_allocator.h:33:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/x86_64-redhat-linux/bits/c++allocator.h:33, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/allocator.h:46, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/string:41, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_classes.h:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ios_base.h:41, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:42, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/new:99:33: error: expected primary-expression before 'const' void* operator new(std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/new:101:27: error: declaration of 'operator new []' as non-function void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/new:101:22: error: 'size_t' is not a member of 'std' void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/new:101:22: note: suggested alternative: In file included from /usr/include/wchar.h:52:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/cwchar:44, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/postypes.h:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iosfwd:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include/stddef.h:212:23: note: 'size_t' typedef __SIZE_TYPE__ size_t; ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ext/new_allocator.h:33:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/x86_64-redhat-linux/bits/c++allocator.h:33, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/allocator.h:46, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/string:41, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_classes.h:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ios_base.h:41, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:42, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/new:101:35: error: expected primary-expression before 'const' void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/new:109:32: error: declaration of 'operator new' as non-function inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/new:109:27: error: 'size_t' is not a member of 'std' inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/new:109:27: note: suggested alternative: In file included from /usr/include/wchar.h:52:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/cwchar:44, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/postypes.h:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iosfwd:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include/stddef.h:212:23: note: 'size_t' typedef __SIZE_TYPE__ size_t; ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ext/new_allocator.h:33:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/x86_64-redhat-linux/bits/c++allocator.h:33, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/allocator.h:46, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/string:41, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_classes.h:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ios_base.h:41, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:42, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/new:109:40: error: expected primary-expression before 'void' inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/new:111:34: error: declaration of 'operator new []' as non-function inline void* operator new[](std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/new:111:29: error: 'size_t' is not a member of 'std' inline void* operator new[](std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/new:111:29: note: suggested alternative: In file included from /usr/include/wchar.h:52:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/cwchar:44, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/postypes.h:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iosfwd:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include/stddef.h:212:23: note: 'size_t' typedef __SIZE_TYPE__ size_t; ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ext/new_allocator.h:33:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/x86_64-redhat-linux/bits/c++allocator.h:33, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/allocator.h:46, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/string:41, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_classes.h:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ios_base.h:41, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:42, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/new:111:42: error: expected primary-expression before 'void' inline void* operator new[](std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/x86_64-redhat-linux/bits/c++allocator.h:33:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/allocator.h:46, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/string:41, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_classes.h:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ios_base.h:41, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:42, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ext/new_allocator.h:44:14: error: 'std::size_t' has not been declared using std::size_t; ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ext/new_allocator.h:45:14: error: 'std::ptrdiff_t' has not been declared using std::ptrdiff_t; ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ext/new_allocator.h:62:15: error: 'ptrdiff_t' does not name a type typedef ptrdiff_t difference_type; ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/string:41:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_classes.h:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ios_base.h:41, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:42, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/allocator.h:67:15: error: 'ptrdiff_t' does not name a type typedef ptrdiff_t difference_type; ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/allocator.h:96:15: error: 'ptrdiff_t' does not name a type typedef ptrdiff_t difference_type; ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/string:44:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_classes.h:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ios_base.h:41, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:42, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ostream_insert.h:45:26: error: 'streamsize' has not been declared const _CharT* __s, streamsize __n) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ostream_insert.h: In function 'void std::__ostream_write(std::basic_ostream<_CharT, _Traits>&, const _CharT*, int)': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ostream_insert.h:50:13: error: 'streamsize' does not name a type const streamsize __put = __out.rdbuf()->sputn(__s, __n); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ostream_insert.h:51:11: error: '__put' was not declared in this scope if (__put != __n) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ostream_insert.h: At global scope: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ostream_insert.h:57:59: error: 'streamsize' has not been declared __ostream_fill(basic_ostream<_CharT, _Traits>& __out, streamsize __n) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ostream_insert.h:77:27: error: 'streamsize' has not been declared const _CharT* __s, streamsize __n) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ostream_insert.h: In function 'std::basic_ostream<_CharT, _Traits>& std::__ostream_insert(std::basic_ostream<_CharT, _Traits>&, const _CharT*, int)': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ostream_insert.h:87:14: error: 'streamsize' does not name a type const streamsize __w = __out.width(); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ostream_insert.h:88:12: error: '__w' was not declared in this scope if (__w > __n) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ostream_insert.h: At global scope: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ostream_insert.h:118:68: error: 'streamsize' has not been declared extern template ostream& __ostream_insert(ostream&, const char*, streamsize); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ostream_insert.h:122:11: error: 'streamsize' has not been declared streamsize); ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/string:53:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_classes.h:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ios_base.h:41, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:42, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/basic_string.tcc: In function 'std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::basic_string<_CharT, _Traits, _Alloc>&)': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/basic_string.tcc:1018:14: error: 'streamsize' does not name a type const streamsize __w = __in.width(); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/basic_string.tcc:1019:32: error: '__w' was not declared in this scope const __size_type __n = __w > 0 ? static_cast<__size_type>(__w) ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/string:52:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_classes.h:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ios_base.h:41, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:42, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/basic_string.h: In instantiation of 'class std::basic_string': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/basic_string.tcc:1132:25: required from here /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/basic_string.h:122:61: error: no type named 'difference_type' in 'std::basic_string::_CharT_alloc_type {aka class std::allocator}' typedef typename _CharT_alloc_type::difference_type difference_type; ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/basic_string.h: In instantiation of 'class std::basic_string': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/basic_string.tcc:1147:25: required from here /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/basic_string.h:122:61: error: no type named 'difference_type' in 'std::basic_string::_CharT_alloc_type {aka class std::allocator}' In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:42:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ios_base.h: At global scope: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ios_base.h:452:5: error: 'streamsize' does not name a type streamsize _M_precision; ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ios_base.h:453:5: error: 'streamsize' does not name a type streamsize _M_width; ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ios_base.h:620:5: error: 'streamsize' does not name a type streamsize ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ios_base.h:629:5: error: 'streamsize' does not name a type streamsize ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ios_base.h:643:5: error: 'streamsize' does not name a type streamsize ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ios_base.h:652:5: error: 'streamsize' does not name a type streamsize ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:43:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/streambuf:50:5: error: 'streamsize' does not name a type streamsize ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/streambuf:147:14: error: 'streamsize' does not name a type friend streamsize ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/streambuf:239:33: error: 'streamsize' has not been declared pubsetbuf(char_type* __s, streamsize __n) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/streambuf:283:7: error: 'streamsize' does not name a type streamsize ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/streambuf:356:7: error: 'streamsize' does not name a type streamsize ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/streambuf:449:7: error: 'streamsize' does not name a type streamsize ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/streambuf:591:26: error: 'streamsize' has not been declared setbuf(char_type*, streamsize) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/streambuf:648:15: error: 'streamsize' does not name a type virtual streamsize ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/streambuf:664:15: error: 'streamsize' does not name a type virtual streamsize ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/streambuf:741:15: error: 'streamsize' does not name a type virtual streamsize ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/streambuf:794:20: error: 'streamsize' has not been declared __safe_gbump(streamsize __n) { _M_in_cur += __n; } ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/streambuf:797:20: error: 'streamsize' has not been declared __safe_pbump(streamsize __n) { _M_out_cur += __n; } ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/streambuf:815:5: error: 'streamsize' does not name a type streamsize ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/streambuf:820:5: error: 'streamsize' does not name a type streamsize ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/streambuf:828:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:43, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/streambuf.tcc:44:5: error: 'streamsize' does not name a type streamsize ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/streambuf.tcc:78:5: error: 'streamsize' does not name a type streamsize ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/streambuf.tcc:115:5: error: 'streamsize' does not name a type streamsize ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/streambuf.tcc:138:12: error: 'streamsize' does not name a type inline streamsize ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/streambuf.tcc:151:5: error: explicit instantiation of non-template 'int std::streamsize' streamsize ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/streambuf.tcc:152:5: error: expected ';' before '__copy_streambufs' __copy_streambufs(basic_streambuf*, ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/streambuf.tcc:155:5: error: explicit instantiation of non-template 'int std::streamsize' streamsize ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/streambuf.tcc:156:5: error: expected ';' before '__copy_streambufs_eof' __copy_streambufs_eof(basic_streambuf*, ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/streambuf.tcc:162:5: error: explicit instantiation of non-template 'int std::streamsize' streamsize ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/streambuf.tcc:163:5: error: expected ';' before '__copy_streambufs' __copy_streambufs(basic_streambuf*, ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/streambuf.tcc:166:5: error: explicit instantiation of non-template 'int std::streamsize' streamsize ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/streambuf.tcc:167:5: error: expected ';' before '__copy_streambufs_eof' __copy_streambufs_eof(basic_streambuf*, ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.h:48:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/basic_ios.h:37, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:44, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/streambuf_iterator.h:57:16: error: wrong number of template arguments (5, should be 3) _CharT&> ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_algobase.h:65:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h:39, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_iterator_base_types.h:118:12: error: provided for 'template struct std::iterator' struct iterator ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.h:48:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/basic_ios.h:37, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:44, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/streambuf_iterator.h:217:66: error: wrong number of template arguments (5, should be 3) : public iterator ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_algobase.h:65:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/char_traits.h:39, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:40, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/stl_iterator_base_types.h:118:12: error: provided for 'template struct std::iterator' struct iterator ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.h:48:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/basic_ios.h:37, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:44, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/streambuf_iterator.h:279:34: error: 'streamsize' has not been declared _M_put(const _CharT* __ws, streamsize __len) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/streambuf_iterator.h: In function 'typename __gnu_cxx::__enable_if::__value, std::ostreambuf_iterator<_CharT, std::char_traits<_CharT> > >::__type std::__copy_move_a2(_CharT*, _CharT*, std::ostreambuf_iterator<_CharT, std::char_traits<_CharT> >)': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/streambuf_iterator.h:313:13: error: 'streamsize' does not name a type const streamsize __num = __last - __first; ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/streambuf_iterator.h:314:11: error: '__num' was not declared in this scope if (__num > 0) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/streambuf_iterator.h: In function 'typename __gnu_cxx::__enable_if::__value, std::ostreambuf_iterator<_CharT, std::char_traits<_CharT> > >::__type std::__copy_move_a2(const _CharT*, const _CharT*, std::ostreambuf_iterator<_CharT, std::char_traits<_CharT> >)': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/streambuf_iterator.h:325:13: error: 'streamsize' does not name a type const streamsize __num = __last - __first; ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/streambuf_iterator.h:326:11: error: '__num' was not declared in this scope if (__num > 0) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/streambuf_iterator.h: In function 'typename __gnu_cxx::__enable_if::__value, _CharT*>::__type std::__copy_move_a2(std::istreambuf_iterator<_CharT, std::char_traits<_CharT> >, std::istreambuf_iterator<_CharT, std::char_traits<_CharT> >, _CharT*)': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/streambuf_iterator.h:348:14: error: 'streamsize' does not name a type const streamsize __n = __sb->egptr() - __sb->gptr(); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/streambuf_iterator.h:349:12: error: '__n' was not declared in this scope if (__n > 1) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/streambuf_iterator.h: In function 'typename __gnu_cxx::__enable_if::__value, std::istreambuf_iterator<_CharT> >::__type std::find(std::istreambuf_iterator<_CharT>, std::istreambuf_iterator<_CharT>, const _CharT2&)': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/streambuf_iterator.h:385:8: error: 'streamsize' was not declared in this scope streamsize __n = __sb->egptr() - __sb->gptr(); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/streambuf_iterator.h:385:19: error: expected ';' before '__n' streamsize __n = __sb->egptr() - __sb->gptr(); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/streambuf_iterator.h:386:12: error: '__n' was not declared in this scope if (__n > 1) ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/basic_ios.h:37:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:44, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.h: At global scope: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.h:92:29: error: 'streamsize' has not been declared const _CharT* __olds, streamsize __newlen, streamsize __oldlen); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.h:92:50: error: 'streamsize' has not been declared const _CharT* __olds, streamsize __newlen, streamsize __oldlen); ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/basic_ios.h:37:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:44, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.h:2449:32: error: 'streamsize' has not been declared _M_pad(char_type __fill, streamsize __w, ios_base& __io, ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.h:2608:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/basic_ios.h:37, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ios:44, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:38, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc:775:27: error: 'streamsize' has not been declared _M_pad(_CharT __fill, streamsize __w, ios_base& __io, ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc: In member function '_OutIter std::num_put<_CharT, _OutIter>::_M_insert_int(_OutIter, std::ios_base&, _CharT, _ValueT) const': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc:916:8: error: 'streamsize' does not name a type const streamsize __w = __io.width(); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc:917:6: error: '__w' was not declared in this scope if (__w > static_cast(__len)) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc:917:24: error: expected type-specifier before 'streamsize' if (__w > static_cast(__len)) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc:917:24: error: expected '>' before 'streamsize' /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc:917:24: error: expected '(' before 'streamsize' /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc:917:24: error: 'streamsize' was not declared in this scope /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc:918:4: error: expected ')' before '{' token { ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc: In member function '_OutIter std::num_put<_CharT, _OutIter>::_M_insert_float(_OutIter, std::ios_base&, _CharT, char, _ValueT) const': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc:979:8: error: 'streamsize' does not name a type const streamsize __prec = __io.precision() < 0 ? 6 : __io.precision(); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc:996:19: error: '__prec' was not declared in this scope __fbuf, __prec, __v); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc:1054:6: error: 'streamsize' was not declared in this scope streamsize __off = 0; ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc:1054:17: error: expected ';' before '__off' streamsize __off = 0; ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc:1057:3: error: '__off' was not declared in this scope __off = 1; ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc:1063:45: error: '__off' was not declared in this scope __lc->_M_thousands_sep, __wp, __ws2 + __off, ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc:1071:8: error: 'streamsize' does not name a type const streamsize __w = __io.width(); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc:1072:6: error: '__w' was not declared in this scope if (__w > static_cast(__len)) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc:1072:24: error: expected type-specifier before 'streamsize' if (__w > static_cast(__len)) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc:1072:24: error: expected '>' before 'streamsize' /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc:1072:24: error: expected '(' before 'streamsize' /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc:1072:24: error: 'streamsize' was not declared in this scope /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc:1073:4: error: expected ')' before '{' token { ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc: In member function 'virtual _OutIter std::num_put<_CharT, _OutIter>::do_put(std::num_put<_CharT, _OutIter>::iter_type, std::ios_base&, std::num_put<_CharT, _OutIter>::char_type, bool) const': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc:1109:10: error: 'streamsize' does not name a type const streamsize __w = __io.width(); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc:1110:8: error: '__w' was not declared in this scope if (__w > static_cast(__len)) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc:1110:26: error: expected type-specifier before 'streamsize' if (__w > static_cast(__len)) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc:1110:26: error: expected '>' before 'streamsize' /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc:1110:26: error: expected '(' before 'streamsize' /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc:1110:26: error: 'streamsize' was not declared in this scope /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc:1111:6: error: expected ')' before '{' token { ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc: At global scope: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc:1193:8: error: 'streamsize' has not been declared streamsize __newlen, streamsize __oldlen) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/locale_facets.tcc:1193:29: error: 'streamsize' has not been declared streamsize __newlen, streamsize __oldlen) ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39:0, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:311:38: error: 'streamsize' has not been declared _M_write(const char_type* __s, streamsize __n) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:335:35: error: 'streamsize' has not been declared write(const char_type* __s, streamsize __n); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream: In member function 'void std::basic_ostream<_CharT, _Traits>::_M_write(const char_type*, int)': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:313:8: error: 'streamsize' does not name a type const streamsize __put = this->rdbuf()->sputn(__s, __n); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:314:6: error: '__put' was not declared in this scope if (__put != __n) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream: In function 'std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const _CharT*)': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:519:17: error: expected type-specifier before 'streamsize' static_cast(_Traits::length(__s))); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:519:17: error: expected '>' before 'streamsize' /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:519:17: error: expected '(' before 'streamsize' /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:519:17: error: 'streamsize' was not declared in this scope /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream: In function 'std::basic_ostream& std::operator<<(std::basic_ostream&, const char*)': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:536:17: error: expected type-specifier before 'streamsize' static_cast(_Traits::length(__s))); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:536:17: error: expected '>' before 'streamsize' /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:536:17: error: expected '(' before 'streamsize' /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:536:17: error: 'streamsize' was not declared in this scope In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/ostream:609:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:39, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ostream.tcc: At global scope: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/ostream.tcc:183:30: error: 'streamsize' has not been declared write(const _CharT* __s, streamsize __n) ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:40:0, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:82:7: error: 'streamsize' does not name a type streamsize _M_gcount; ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:268:7: error: 'streamsize' does not name a type streamsize ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:343:27: error: 'streamsize' has not been declared get(char_type* __s, streamsize __n, char_type __delim); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:354:27: error: 'streamsize' has not been declared get(char_type* __s, streamsize __n) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:416:31: error: 'streamsize' has not been declared getline(char_type* __s, streamsize __n, char_type __delim); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:427:31: error: 'streamsize' has not been declared getline(char_type* __s, streamsize __n) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:451:7: error: expected ';' at end of member declaration ignore(streamsize __n, int_type __delim); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:451:25: error: expected ')' before '__n' ignore(streamsize __n, int_type __delim); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:454:7: error: expected ';' at end of member declaration ignore(streamsize __n); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:454:14: error: redeclaration of 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::ignore' ignore(streamsize __n); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:451:14: note: previous declaration 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::ignore' ignore(streamsize __n, int_type __delim); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:454:25: error: expected ')' before '__n' ignore(streamsize __n); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:457:14: error: 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::ignore()' conflicts with a previous declaration ignore(); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:451:14: note: previous declaration 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::ignore' ignore(streamsize __n, int_type __delim); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:486:28: error: 'streamsize' has not been declared read(char_type* __s, streamsize __n); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:504:7: error: 'streamsize' does not name a type streamsize ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream: In constructor 'std::basic_istream<_CharT, _Traits>::basic_istream(std::basic_istream<_CharT, _Traits>::__streambuf_type*)': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:94:9: error: class 'std::basic_istream<_CharT, _Traits>' does not have any field named '_M_gcount' : _M_gcount(streamsize(0)) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:94:31: error: there are no arguments to 'streamsize' that depend on a template parameter, so a declaration of 'streamsize' must be available [-fpermissive] : _M_gcount(streamsize(0)) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:94:31: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream: In destructor 'virtual std::basic_istream<_CharT, _Traits>::~basic_istream()': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:104:9: error: '_M_gcount' was not declared in this scope { _M_gcount = streamsize(0); } ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:104:33: error: there are no arguments to 'streamsize' that depend on a template parameter, so a declaration of 'streamsize' must be available [-fpermissive] { _M_gcount = streamsize(0); } ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream: In constructor 'std::basic_istream<_CharT, _Traits>::basic_istream()': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:607:9: error: class 'std::basic_istream<_CharT, _Traits>' does not have any field named '_M_gcount' : _M_gcount(streamsize(0)) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:607:31: error: there are no arguments to 'streamsize' that depend on a template parameter, so a declaration of 'streamsize' must be available [-fpermissive] : _M_gcount(streamsize(0)) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream: In instantiation of 'class std::basic_istream': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:618:24: required from here /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:451:14: error: 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::ignore() [with _CharT = char; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]' conflicts with a previous declaration ignore(streamsize __n, int_type __delim); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:451:14: note: previous declaration 'std::basic_istream::__istream_type& std::basic_istream::ignore' /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream: At global scope: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:619:29: error: 'streamsize' has not been declared getline(char_type* __s, streamsize __n, char_type __delim); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:624:12: error: 'std::basic_istream& std::basic_istream::ignore' is not a static member of 'class std::basic_istream' ignore(streamsize __n); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:624:12: error: 'streamsize' was not declared in this scope /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:629:12: error: 'std::basic_istream& std::basic_istream::ignore' is not a static member of 'class std::basic_istream' ignore(streamsize __n, int_type __delim); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:629:12: error: 'streamsize' was not declared in this scope /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:629:37: error: expected primary-expression before '__delim' ignore(streamsize __n, int_type __delim); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:629:44: error: expression list treated as compound expression in initializer [-fpermissive] ignore(streamsize __n, int_type __delim); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream: In instantiation of 'class std::basic_istream': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:634:27: required from here /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:451:14: error: 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::ignore() [with _CharT = wchar_t; _Traits = std::char_traits; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream]' conflicts with a previous declaration ignore(streamsize __n, int_type __delim); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:451:14: note: previous declaration 'std::basic_istream::__istream_type& std::basic_istream::ignore' /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:635:29: error: 'streamsize' has not been declared getline(char_type* __s, streamsize __n, char_type __delim); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:640:12: error: 'std::basic_istream& std::basic_istream::ignore' is not a static member of 'class std::basic_istream' ignore(streamsize __n); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:640:12: error: 'streamsize' was not declared in this scope /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:645:12: error: 'std::basic_istream& std::basic_istream::ignore' is not a static member of 'class std::basic_istream' ignore(streamsize __n, int_type __delim); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:645:12: error: 'streamsize' was not declared in this scope /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:645:37: error: expected primary-expression before '__delim' ignore(streamsize __n, int_type __delim); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:645:44: error: expression list treated as compound expression in initializer [-fpermissive] ignore(streamsize __n, int_type __delim); ^ In file included from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/istream:879:0, from /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/iostream:40, from pbv.cpp:2: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>::int_type std::basic_istream<_CharT, _Traits>::get()': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc:240:7: error: '_M_gcount' was not declared in this scope _M_gcount = 0; ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::get(std::basic_istream<_CharT, _Traits>::char_type&)': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc:274:7: error: '_M_gcount' was not declared in this scope _M_gcount = 0; ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc: At global scope: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc:309:25: error: 'streamsize' has not been declared get(char_type* __s, streamsize __n, char_type __delim) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::get(std::basic_istream<_CharT, _Traits>::char_type*, int, std::basic_istream<_CharT, _Traits>::char_type)': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc:311:7: error: '_M_gcount' was not declared in this scope _M_gcount = 0; ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::get(std::basic_istream<_CharT, _Traits>::__streambuf_type&, std::basic_istream<_CharT, _Traits>::char_type)': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc:358:7: error: '_M_gcount' was not declared in this scope _M_gcount = 0; ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc: At global scope: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc:400:29: error: 'streamsize' has not been declared getline(char_type* __s, streamsize __n, char_type __delim) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::getline(std::basic_istream<_CharT, _Traits>::char_type*, int, std::basic_istream<_CharT, _Traits>::char_type)': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc:402:7: error: '_M_gcount' was not declared in this scope _M_gcount = 0; ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore()': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc:462:7: error: '_M_gcount' was not declared in this scope _M_gcount = 0; ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc: At global scope: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc:493:12: error: 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore' is not a static member of 'class std::basic_istream<_CharT, _Traits>' ignore(streamsize __n) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc:493:12: error: template definition of non-template 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore' /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc:493:12: error: 'streamsize' was not declared in this scope /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc:555:12: error: 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore' is not a static member of 'class std::basic_istream<_CharT, _Traits>' ignore(streamsize __n, int_type __delim) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc:555:12: error: template definition of non-template 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore' /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc:555:12: error: 'streamsize' was not declared in this scope /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc:555:37: error: expected primary-expression before '__delim' ignore(streamsize __n, int_type __delim) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>::int_type std::basic_istream<_CharT, _Traits>::peek()': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc:623:7: error: '_M_gcount' was not declared in this scope _M_gcount = 0; ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc: At global scope: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc:650:26: error: 'streamsize' has not been declared read(char_type* __s, streamsize __n) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::read(std::basic_istream<_CharT, _Traits>::char_type*, int)': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc:652:7: error: '_M_gcount' was not declared in this scope _M_gcount = 0; ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc: At global scope: /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc:677:5: error: 'streamsize' does not name a type streamsize ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::putback(std::basic_istream<_CharT, _Traits>::char_type)': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc:715:7: error: '_M_gcount' was not declared in this scope _M_gcount = 0; ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::unget()': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc:750:7: error: '_M_gcount' was not declared in this scope _M_gcount = 0; ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc: In function 'std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT2*)': /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc:963:7: error: 'streamsize' was not declared in this scope streamsize __extracted = 0; ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc:963:18: error: expected ';' before '__extracted' streamsize __extracted = 0; ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc:971:19: error: expected ';' before '__num' streamsize __num = __in.width(); ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc:972:12: error: '__num' was not declared in this scope if (__num <= 0) ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc:973:49: error: type/value mismatch at argument 1 in template parameter list for 'template struct __gnu_cxx::__numeric_traits' __num = __gnu_cxx::__numeric_traits::__max; ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc:973:49: error: expected a type, got 'streamsize' /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc:981:15: error: '__extracted' was not declared in this scope while (__extracted < __num - 1 ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc:981:29: error: '__num' was not declared in this scope while (__extracted < __num - 1 ^ /opt/rh/devtoolset-2/root/usr/include/c++/4.8.2/bits/istream.tcc:1006:12: error: '__extracted' was not declared in this scope if (!__extracted) ^