Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

/prog/ Challenge #1245239 - Guess that Seeple's Error!

Name: Anonymous 2015-06-08 3:42

Are you enough of an F*CK*NG ENTERPRISE PROGRAMMER to figure out the syntax error that caused this mess? There is only one, I swear it. There are only two files, lel.cc (63 bytes over 6 lines), and lel.h (48 bytes over 5 lines). I'll photoshop a the Touhou of the winner's choice onto a nude photo themselves. Second place gets a gift certificate to Russia. Third gets a kick in the ass. Good luck!

[b]Error: Comment too long[/c] ... Fucking Admin-jew is trying to hide my thread. Well, I'll just post the second half in >>2 to spite him.

In file included from /usr/include/c++/4.8/iostream:38:0,
from lel.cc:2:
/usr/include/arm-linux-gnueabihf/c++/4.8/bits/c++config.h:184:1: error: expected unqualified-id before 'namespace'
namespace std
^
In file included from /usr/include/c++/4.8/iosfwd:40:0,
from /usr/include/c++/4.8/ios:38,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/bits/postypes.h:98:11: error: 'ptrdiff_t' does not name a type
typedef ptrdiff_t streamsize; // Signed integral type
^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:65:0,
from /usr/include/c++/4.8/bits/char_traits.h:39,
from /usr/include/c++/4.8/ios:40,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/bits/stl_iterator_base_types.h:116:67: error: expected type-specifier before 'ptrdiff_t'
template<typename _Category, typename _Tp, typename _Distance = ptrdiff_t,
^
/usr/include/c++/4.8/bits/stl_iterator_base_types.h:116:67: error: expected '>' before 'ptrdiff_t'
/usr/include/c++/4.8/bits/stl_iterator_base_types.h:127:15: error: '_Pointer' does not name a type
typedef _Pointer pointer;
^
/usr/include/c++/4.8/bits/stl_iterator_base_types.h:129:15: error: '_Reference' does not name a type
typedef _Reference reference;
^
/usr/include/c++/4.8/bits/stl_iterator_base_types.h:179:15: error: 'ptrdiff_t' does not name a type
typedef ptrdiff_t difference_type;
^
/usr/include/c++/4.8/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 /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
from /usr/include/c++/4.8/bits/char_traits.h:39,
from /usr/include/c++/4.8/ios:40,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/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 /usr/include/c++/4.8/bits/stl_algobase.h:65:0,
from /usr/include/c++/4.8/bits/char_traits.h:39,
from /usr/include/c++/4.8/ios:40,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/bits/stl_iterator_base_types.h:118:12: error: provided for 'template<class _Category, class _Tp, class _Distance> struct std::iterator'
struct iterator
^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
from /usr/include/c++/4.8/bits/char_traits.h:39,
from /usr/include/c++/4.8/ios:40,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/bits/stl_iterator.h:403:66: error: wrong number of template arguments (5, should be 3)
: public iterator<output_iterator_tag, void, void, void, void>
^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:65:0,
from /usr/include/c++/4.8/bits/char_traits.h:39,
from /usr/include/c++/4.8/ios:40,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/bits/stl_iterator_base_types.h:118:12: error: provided for 'template<class _Category, class _Tp, class _Distance> struct std::iterator'
struct iterator
^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
from /usr/include/c++/4.8/bits/char_traits.h:39,
from /usr/include/c++/4.8/ios:40,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/bits/stl_iterator.h:494:66: error: wrong number of template arguments (5, should be 3)
: public iterator<output_iterator_tag, void, void, void, void>
^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:65:0,
from /usr/include/c++/4.8/bits/char_traits.h:39,
from /usr/include/c++/4.8/ios:40,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/bits/stl_iterator_base_types.h:118:12: error: provided for 'template<class _Category, class _Tp, class _Distance> struct std::iterator'
struct iterator
^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
from /usr/include/c++/4.8/bits/char_traits.h:39,
from /usr/include/c++/4.8/ios:40,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/bits/stl_iterator.h:588:66: error: wrong number of template arguments (5, should be 3)
: public iterator<output_iterator_tag, void, void, void, void>
^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:65:0,
from /usr/include/c++/4.8/bits/char_traits.h:39,
from /usr/include/c++/4.8/ios:40,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/bits/stl_iterator_base_types.h:118:12: error: provided for 'template<class _Category, class _Tp, class _Distance> struct std::iterator'
struct iterator
^
In file included from /usr/include/c++/4.8/bits/char_traits.h:39:0,
from /usr/include/c++/4.8/ios:40,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/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*)':
/usr/include/c++/4.8/bits/stl_algobase.h:370:10: error: 'ptrdiff_t' does not name a type
const ptrdiff_t _Num = __last - __first;
^
/usr/include/c++/4.8/bits/stl_algobase.h:371:8: error: '_Num' was not declared in this scope
if (_Num)
^
/usr/include/c++/4.8/bits/stl_algobase.h:373:22: error: '_Num' was not declared in this scope
return __result + _Num;
^
/usr/include/c++/4.8/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*)':
/usr/include/c++/4.8/bits/stl_algobase.h:565:10: error: 'ptrdiff_t' does not name a type
const ptrdiff_t _Num = __last - __first;
^
/usr/include/c++/4.8/bits/stl_algobase.h:566:8: error: '_Num' was not declared in this scope
if (_Num)
^
/usr/include/c++/4.8/bits/stl_algobase.h:568:22: error: '_Num' was not declared in this scope
return __result - _Num;
^
In file included from /usr/include/c++/4.8/ios:40:0,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/bits/char_traits.h: At global scope:
/usr/include/c++/4.8/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);
^
/usr/include/c++/4.8/bits/char_traits.h:106:14: error: 'size_t' in namespace 'std' does not name a type
static std::size_t
^
/usr/include/c++/4.8/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);
^
/usr/include/c++/4.8/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);
^
/usr/include/c++/4.8/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);
^
/usr/include/c++/4.8/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);
^
/usr/include/c++/4.8/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)
^
/usr/include/c++/4.8/bits/char_traits.h: In static member function 'static int __gnu_cxx::char_traits<_CharT>::compare(const char_type*, const char_type*, int)':
/usr/include/c++/4.8/bits/char_traits.h:147:12: error: 'size_t' is not a member of 'std'
for (std::size_t __i = 0; __i < __n; ++__i)
^
/usr/include/c++/4.8/bits/char_traits.h:147:12: note: suggested alternative:
In file included from /usr/include/wchar.h:52:0,
from /usr/include/c++/4.8/cwchar:44,
from /usr/include/c++/4.8/bits/postypes.h:40,
from /usr/include/c++/4.8/iosfwd:40,
from /usr/include/c++/4.8/ios:38,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/lib/gcc/arm-linux-gnueabihf/4.8/include/stddef.h:212:23: note: 'size_t'
typedef __SIZE_TYPE__ size_t;
^
In file included from /usr/include/c++/4.8/ios:40:0,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/bits/char_traits.h:147:24: error: expected ';' before '__i'
for (std::size_t __i = 0; __i < __n; ++__i)
^
/usr/include/c++/4.8/bits/char_traits.h:147:33: error: '__i' was not declared in this scope
for (std::size_t __i = 0; __i < __n; ++__i)
^
/usr/include/c++/4.8/bits/char_traits.h: At global scope:
/usr/include/c++/4.8/bits/char_traits.h:156:5: error: 'size_t' in namespace 'std' does not name a type
std::size_t
^
/usr/include/c++/4.8/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)
^
/usr/include/c++/4.8/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&)':
/usr/include/c++/4.8/bits/char_traits.h:171:12: error: 'size_t' is not a member of 'std'
for (std::size_t __i = 0; __i < __n; ++__i)
^
/usr/include/c++/4.8/bits/char_traits.h:171:12: note: suggested alternative:
In file included from /usr/include/wchar.h:52:0,
from /usr/include/c++/4.8/cwchar:44,
from /usr/include/c++/4.8/bits/postypes.h:40,
from /usr/include/c++/4.8/iosfwd:40,
from /usr/include/c++/4.8/ios:38,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/lib/gcc/arm-linux-gnueabihf/4.8/include/stddef.h:212:23: note: 'size_t'
typedef __SIZE_TYPE__ size_t;
^
In file included from /usr/include/c++/4.8/ios:40:0,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/bits/char_traits.h:171:24: error: expected ';' before '__i'
for (std::size_t __i = 0; __i < __n; ++__i)
^
/usr/include/c++/4.8/bits/char_traits.h:171:33: error: '__i' was not declared in this scope
for (std::size_t __i = 0; __i < __n; ++__i)
^
/usr/include/c++/4.8/bits/char_traits.h: At global scope:
/usr/include/c++/4.8/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)
^
/usr/include/c++/4.8/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)
^
/usr/include/c++/4.8/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 /usr/include/c++/4.8/ext/new_allocator.h:33:0,
from /usr/include/arm-linux-gnueabihf/c++/4.8/bits/c++allocator.h:33,
from /usr/include/c++/4.8/bits/allocator.h:46,
from /usr/include/c++/4.8/string:41,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/new:91:31: error: declaration of 'operator new' as non-function
void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc)
^
/usr/include/c++/4.8/new:91:20: error: 'size_t' is not a member of 'std'
void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc)
^
/usr/include/c++/4.8/new:91:20: note: suggested alternative:
In file included from /usr/include/wchar.h:52:0,
from /usr/include/c++/4.8/cwchar:44,
from /usr/include/c++/4.8/bits/postypes.h:40,
from /usr/include/c++/4.8/iosfwd:40,
from /usr/include/c++/4.8/ios:38,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/lib/gcc/arm-linux-gnueabihf/4.8/include/stddef.h:212:23: note: 'size_t'
typedef __SIZE_TYPE__ size_t;
^
In file included from /usr/include/c++/4.8/ext/new_allocator.h:33:0,
from /usr/include/arm-linux-gnueabihf/c++/4.8/bits/c++allocator.h:33,
from /usr/include/c++/4.8/bits/allocator.h:46,
from /usr/include/c++/4.8/string:41,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/new:93:33: error: declaration of 'operator new []' as non-function
void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
^
/usr/include/c++/4.8/new:93:22: error: 'size_t' is not a member of 'std'
void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
^
/usr/include/c++/4.8/new:93:22: note: suggested alternative:
In file included from /usr/include/wchar.h:52:0,
from /usr/include/c++/4.8/cwchar:44,
from /usr/include/c++/4.8/bits/postypes.h:40,
from /usr/include/c++/4.8/iosfwd:40,
from /usr/include/c++/4.8/ios:38,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/lib/gcc/arm-linux-gnueabihf/4.8/include/stddef.h:212:23: note: 'size_t'
typedef __SIZE_TYPE__ size_t;
^
In file included from /usr/include/c++/4.8/ext/new_allocator.h:33:0,
from /usr/include/arm-linux-gnueabihf/c++/4.8/bits/c++allocator.h:33,
from /usr/include/c++/4.8/bits/allocator.h:46,
from /usr/include/c++/4.8/string:41,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/new:99:25: error: declaration of 'operator new' as non-function
void* operator new(std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
^
/usr/include/c++/4.8/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
^
/usr/include/c++/4.8/new:99:20: note: suggested alternative:
In file included from /usr/include/wchar.h:52:0,
from /usr/include/c++/4.8/cwchar:44,
from /usr/include/c++/4.8/bits/postypes.h:40,
from /usr/include/c++/4.8/iosfwd:40,
from /usr/include/c++/4.8/ios:38,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/lib/gcc/arm-linux-gnueabihf/4.8/include/stddef.h:212:23: note: 'size_t'
typedef __SIZE_TYPE__ size_t;
^
In file included from /usr/include/c++/4.8/ext/new_allocator.h:33:0,
from /usr/include/arm-linux-gnueabihf/c++/4.8/bits/c++allocator.h:33,
from /usr/include/c++/4.8/bits/allocator.h:46,
from /usr/include/c++/4.8/string:41,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/new:99:33: error: expected primary-expression before 'const'
void* operator new(std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
^
/usr/include/c++/4.8/new:101:27: error: declaration of 'operator new []' as non-function
void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
^
/usr/include/c++/4.8/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
^
/usr/include/c++/4.8/new:101:22: note: suggested alternative:
In file included from /usr/include/wchar.h:52:0,
from /usr/include/c++/4.8/cwchar:44,
from /usr/include/c++/4.8/bits/postypes.h:40,
from /usr/include/c++/4.8/iosfwd:40,
from /usr/include/c++/4.8/ios:38,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/lib/gcc/arm-linux-gnueabihf/4.8/include/stddef.h:212:23: note: 'size_t'
typedef __SIZE_TYPE__ size_t;
^
In file included from /usr/include/c++/4.8/ext/new_allocator.h:33:0,
from /usr/include/arm-linux-gnueabihf/c++/4.8/bits/c++allocator.h:33,
from /usr/include/c++/4.8/bits/allocator.h:46,
from /usr/include/c++/4.8/string:41,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/new:101:35: error: expected primary-expression before 'const'
void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
^
/usr/include/c++/4.8/new:109:32: error: declaration of 'operator new' as non-function
inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
^
/usr/include/c++/4.8/new:109:27: error: 'size_t' is not a member of 'std'
inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
^
/usr/include/c++/4.8/new:109:27: note: suggested alternative:
In file included from /usr/include/wchar.h:52:0,
from /usr/include/c++/4.8/cwchar:44,
from /usr/include/c++/4.8/bits/postypes.h:40,
from /usr/include/c++/4.8/iosfwd:40,
from /usr/include/c++/4.8/ios:38,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/lib/gcc/arm-linux-gnueabihf/4.8/include/stddef.h:212:23: note: 'size_t'
typedef __SIZE_TYPE__ size_t;
^
In file included from /usr/include/c++/4.8/ext/new_allocator.h:33:0,
from /usr/include/arm-linux-gnueabihf/c++/4.8/bits/c++allocator.h:33,
from /usr/include/c++/4.8/bits/allocator.h:46,
from /usr/include/c++/4.8/string:41,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/new:109:40: error: expected primary-expression before 'void'
inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
^
/usr/include/c++/4.8/new:111:34: error: declaration of 'operator new []' as non-function
inline void* operator new[](std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
^
/usr/include/c++/4.8/new:111:29: error: 'size_t' is not a member of 'std'
inline void* operator new[](std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
^
/usr/include/c++/4.8/new:111:29: note: suggested alternative:
In file included from /usr/include/wchar.h:52:0,
from /usr/include/c++/4.8/cwchar:44,
from /usr/include/c++/4.8/bits/postypes.h:40,
from /usr/include/c++/4.8/iosfwd:40,
from /usr/include/c++/4.8/ios:38,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/lib/gcc/arm-linux-gnueabihf/4.8/include/stddef.h:212:23: note: 'size_t'
typedef __SIZE_TYPE__ size_t;
^
In file included from /usr/include/c++/4.8/ext/new_allocator.h:33:0,
from /usr/include/arm-linux-gnueabihf/c++/4.8/bits/c++allocator.h:33,
from /usr/include/c++/4.8/bits/allocator.h:46,
from /usr/include/c++/4.8/string:41,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/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 /usr/include/arm-linux-gnueabihf/c++/4.8/bits/c++allocator.h:33:0,
from /usr/include/c++/4.8/bits/allocator.h:46,
from /usr/include/c++/4.8/string:41,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/ext/new_allocator.h:44:14: error: 'std::size_t' has not been declared
using std::size_t;
^
/usr/include/c++/4.8/ext/new_allocator.h:45:14: error: 'std::ptrdiff_t' has not been declared
using std::ptrdiff_t;
^
/usr/include/c++/4.8/ext/new_allocator.h:62:15: error: 'ptrdiff_t' does not name a type
typedef ptrdiff_t difference_type;
^
In file included from /usr/include/c++/4.8/string:41:0,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/bits/allocator.h:67:15: error: 'ptrdiff_t' does not name a type
typedef ptrdiff_t difference_type;
^
/usr/include/c++/4.8/bits/allocator.h:96:15: error: 'ptrdiff_t' does not name a type
typedef ptrdiff_t difference_type;
^
In file included from /usr/include/c++/4.8/string:44:0,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/bits/ostream_insert.h:45:26: error: 'streamsize' has not been declared
const _CharT* __s, streamsize __n)
^
/usr/include/c++/4.8/bits/ostream_insert.h: In function 'void std::__ostream_write(std::basic_ostream<_CharT, _Traits>&, const _CharT*, int)':
/usr/include/c++/4.8/bits/ostream_insert.h:50:13: error: 'streamsize' does not name a type
const streamsize __put = __out.rdbuf()->sputn(__s, __n);
^
/usr/include/c++/4.8/bits/ostream_insert.h:51:11: error: '__put' was not declared in this scope
if (__put != __n)
^
/usr/include/c++/4.8/bits/ostream_insert.h: At global scope:
/usr/include/c++/4.8/bits/ostream_insert.h:57:59: error: 'streamsize' has not been declared
__ostream_fill(basic_ostream<_CharT, _Traits>& __out, streamsize __n)
^
/usr/include/c++/4.8/bits/ostream_insert.h:77:27: error: 'streamsize' has not been declared
const _CharT* __s, streamsize __n)
^

Name: Anonymous 2015-06-08 3:43

Error: Comment too long again! Look's like this is going to be a three parter.
/usr/include/c++/4.8/bits/ostream_insert.h: In function 'std::basic_ostream<_CharT, _Traits>& std::__ostream_insert(std::basic_ostream<_CharT, _Traits>&, const _CharT*, int)':
/usr/include/c++/4.8/bits/ostream_insert.h:87:14: error: 'streamsize' does not name a type
const streamsize __w = __out.width();
^
/usr/include/c++/4.8/bits/ostream_insert.h:88:12: error: '__w' was not declared in this scope
if (__w > __n)
^
/usr/include/c++/4.8/bits/ostream_insert.h: At global scope:
/usr/include/c++/4.8/bits/ostream_insert.h:118:68: error: 'streamsize' has not been declared
extern template ostream& __ostream_insert(ostream&, const char*, streamsize);
^
/usr/include/c++/4.8/bits/ostream_insert.h:122:11: error: 'streamsize' has not been declared
streamsize);
^
In file included from /usr/include/c++/4.8/string:53:0,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/bits/basic_string.tcc: In function 'std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::basic_string<_CharT, _Traits, _Alloc>&)':
/usr/include/c++/4.8/bits/basic_string.tcc:1018:14: error: 'streamsize' does not name a type
const streamsize __w = __in.width();
^
/usr/include/c++/4.8/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 /usr/include/c++/4.8/string:52:0,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/bits/basic_string.h: In instantiation of 'class std::basic_string<char>':
/usr/include/c++/4.8/bits/basic_string.tcc:1132:25: required from here
/usr/include/c++/4.8/bits/basic_string.h:122:61: error: no type named 'difference_type' in 'std::basic_string<char>::_CharT_alloc_type {aka class std::allocator<char>}'
typedef typename _CharT_alloc_type::difference_type difference_type;
^
/usr/include/c++/4.8/bits/basic_string.h: In instantiation of 'class std::basic_string<wchar_t>':
/usr/include/c++/4.8/bits/basic_string.tcc:1147:25: required from here
/usr/include/c++/4.8/bits/basic_string.h:122:61: error: no type named 'difference_type' in 'std::basic_string<wchar_t>::_CharT_alloc_type {aka class std::allocator<wchar_t>}'
In file included from /usr/include/c++/4.8/ios:42:0,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/bits/ios_base.h: At global scope:
/usr/include/c++/4.8/bits/ios_base.h:452:5: error: 'streamsize' does not name a type
streamsize _M_precision;
^
/usr/include/c++/4.8/bits/ios_base.h:453:5: error: 'streamsize' does not name a type
streamsize _M_width;
^
/usr/include/c++/4.8/bits/ios_base.h:620:5: error: 'streamsize' does not name a type
streamsize
^
/usr/include/c++/4.8/bits/ios_base.h:629:5: error: 'streamsize' does not name a type
streamsize
^
/usr/include/c++/4.8/bits/ios_base.h:643:5: error: 'streamsize' does not name a type
streamsize
^
/usr/include/c++/4.8/bits/ios_base.h:652:5: error: 'streamsize' does not name a type
streamsize
^
In file included from /usr/include/c++/4.8/ios:43:0,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/streambuf:50:5: error: 'streamsize' does not name a type
streamsize
^
/usr/include/c++/4.8/streambuf:147:14: error: 'streamsize' does not name a type
friend streamsize
^
/usr/include/c++/4.8/streambuf:239:33: error: 'streamsize' has not been declared
pubsetbuf(char_type* __s, streamsize __n)
^
/usr/include/c++/4.8/streambuf:283:7: error: 'streamsize' does not name a type
streamsize
^
/usr/include/c++/4.8/streambuf:356:7: error: 'streamsize' does not name a type
streamsize
^
/usr/include/c++/4.8/streambuf:449:7: error: 'streamsize' does not name a type
streamsize
^
/usr/include/c++/4.8/streambuf:591:26: error: 'streamsize' has not been declared
setbuf(char_type*, streamsize)
^
/usr/include/c++/4.8/streambuf:648:15: error: 'streamsize' does not name a type
virtual streamsize
^
/usr/include/c++/4.8/streambuf:664:15: error: 'streamsize' does not name a type
virtual streamsize
^
/usr/include/c++/4.8/streambuf:741:15: error: 'streamsize' does not name a type
virtual streamsize
^
/usr/include/c++/4.8/streambuf:794:20: error: 'streamsize' has not been declared
__safe_gbump(streamsize __n) { _M_in_cur += __n; }
^
/usr/include/c++/4.8/streambuf:797:20: error: 'streamsize' has not been declared
__safe_pbump(streamsize __n) { _M_out_cur += __n; }
^
/usr/include/c++/4.8/streambuf:815:5: error: 'streamsize' does not name a type
streamsize
^
/usr/include/c++/4.8/streambuf:820:5: error: 'streamsize' does not name a type
streamsize
^
In file included from /usr/include/c++/4.8/streambuf:828:0,
from /usr/include/c++/4.8/ios:43,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/bits/streambuf.tcc:44:5: error: 'streamsize' does not name a type
streamsize
^
/usr/include/c++/4.8/bits/streambuf.tcc:78:5: error: 'streamsize' does not name a type
streamsize
^
/usr/include/c++/4.8/bits/streambuf.tcc:115:5: error: 'streamsize' does not name a type
streamsize
^
/usr/include/c++/4.8/bits/streambuf.tcc:138:12: error: 'streamsize' does not name a type
inline streamsize
^
/usr/include/c++/4.8/bits/streambuf.tcc:151:5: error: explicit instantiation of non-template 'int std::streamsize'
streamsize
^
/usr/include/c++/4.8/bits/streambuf.tcc:152:5: error: expected ';' before '__copy_streambufs'
__copy_streambufs(basic_streambuf<char>*,
^
/usr/include/c++/4.8/bits/streambuf.tcc:155:5: error: explicit instantiation of non-template 'int std::streamsize'
streamsize
^
/usr/include/c++/4.8/bits/streambuf.tcc:156:5: error: expected ';' before '__copy_streambufs_eof'
__copy_streambufs_eof(basic_streambuf<char>*,
^
/usr/include/c++/4.8/bits/streambuf.tcc:162:5: error: explicit instantiation of non-template 'int std::streamsize'
streamsize
^
/usr/include/c++/4.8/bits/streambuf.tcc:163:5: error: expected ';' before '__copy_streambufs'
__copy_streambufs(basic_streambuf<wchar_t>*,
^
/usr/include/c++/4.8/bits/streambuf.tcc:166:5: error: explicit instantiation of non-template 'int std::streamsize'
streamsize
^
/usr/include/c++/4.8/bits/streambuf.tcc:167:5: error: expected ';' before '__copy_streambufs_eof'
__copy_streambufs_eof(basic_streambuf<wchar_t>*,
^
In file included from /usr/include/c++/4.8/bits/locale_facets.h:48:0,
from /usr/include/c++/4.8/bits/basic_ios.h:37,
from /usr/include/c++/4.8/ios:44,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/bits/streambuf_iterator.h:57:16: error: wrong number of template arguments (5, should be 3)
_CharT&>
^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:65:0,
from /usr/include/c++/4.8/bits/char_traits.h:39,
from /usr/include/c++/4.8/ios:40,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/bits/stl_iterator_base_types.h:118:12: error: provided for 'template<class _Category, class _Tp, class _Distance> struct std::iterator'
struct iterator
^
In file included from /usr/include/c++/4.8/bits/locale_facets.h:48:0,
from /usr/include/c++/4.8/bits/basic_ios.h:37,
from /usr/include/c++/4.8/ios:44,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/bits/streambuf_iterator.h:217:66: error: wrong number of template arguments (5, should be 3)
: public iterator<output_iterator_tag, void, void, void, void>
^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:65:0,
from /usr/include/c++/4.8/bits/char_traits.h:39,
from /usr/include/c++/4.8/ios:40,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/bits/stl_iterator_base_types.h:118:12: error: provided for 'template<class _Category, class _Tp, class _Distance> struct std::iterator'
struct iterator
^
In file included from /usr/include/c++/4.8/bits/locale_facets.h:48:0,
from /usr/include/c++/4.8/bits/basic_ios.h:37,
from /usr/include/c++/4.8/ios:44,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/bits/streambuf_iterator.h:279:34: error: 'streamsize' has not been declared
_M_put(const _CharT* __ws, streamsize __len)
^
/usr/include/c++/4.8/bits/streambuf_iterator.h: In function 'typename __gnu_cxx::__enable_if<std::__is_char<_CharT>::__value, std::ostreambuf_iterator<_CharT, std::char_traits<_CharT> > >::__type std::__copy_move_a2(_CharT*, _CharT*, std::ostreambuf_iterator<_CharT, std::char_traits<_CharT> >)':
/usr/include/c++/4.8/bits/streambuf_iterator.h:313:13: error: 'streamsize' does not name a type
const streamsize __num = __last - __first;
^
/usr/include/c++/4.8/bits/streambuf_iterator.h:314:11: error: '__num' was not declared in this scope
if (__num > 0)
^
/usr/include/c++/4.8/bits/streambuf_iterator.h: In function 'typename __gnu_cxx::__enable_if<std::__is_char<_CharT>::__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> >)':
/usr/include/c++/4.8/bits/streambuf_iterator.h:325:13: error: 'streamsize' does not name a type
const streamsize __num = __last - __first;
^
/usr/include/c++/4.8/bits/streambuf_iterator.h:326:11: error: '__num' was not declared in this scope
if (__num > 0)
^
/usr/include/c++/4.8/bits/streambuf_iterator.h: In function 'typename __gnu_cxx::__enable_if<std::__is_char<_CharT>::__value, _CharT*>::__type std::__copy_move_a2(std::istreambuf_iterator<_CharT, std::char_traits<_CharT> >, std::istreambuf_iterator<_CharT, std::char_traits<_CharT> >, _CharT*)':
/usr/include/c++/4.8/bits/streambuf_iterator.h:348:14: error: 'streamsize' does not name a type
const streamsize __n = __sb->egptr() - __sb->gptr();
^
/usr/include/c++/4.8/bits/streambuf_iterator.h:349:12: error: '__n' was not declared in this scope
if (__n > 1)
^
/usr/include/c++/4.8/bits/streambuf_iterator.h: In function 'typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(std::istreambuf_iterator<_CharT>, std::istreambuf_iterator<_CharT>, const _CharT2&)':
/usr/include/c++/4.8/bits/streambuf_iterator.h:385:8: error: 'streamsize' was not declared in this scope
streamsize __n = __sb->egptr() - __sb->gptr();
^
/usr/include/c++/4.8/bits/streambuf_iterator.h:385:19: error: expected ';' before '__n'
streamsize __n = __sb->egptr() - __sb->gptr();
^
/usr/include/c++/4.8/bits/streambuf_iterator.h:386:12: error: '__n' was not declared in this scope
if (__n > 1)
^
In file included from /usr/include/c++/4.8/bits/basic_ios.h:37:0,
from /usr/include/c++/4.8/ios:44,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/bits/locale_facets.h: At global scope:
/usr/include/c++/4.8/bits/locale_facets.h:92:29: error: 'streamsize' has not been declared
const _CharT* __olds, streamsize __newlen, streamsize __oldlen);
^
/usr/include/c++/4.8/bits/locale_facets.h:92:50: error: 'streamsize' has not been declared
const _CharT* __olds, streamsize __newlen, streamsize __oldlen);
^
In file included from /usr/include/c++/4.8/bits/basic_ios.h:37:0,
from /usr/include/c++/4.8/ios:44,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/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 /usr/include/c++/4.8/bits/locale_facets.h:2608:0,
from /usr/include/c++/4.8/bits/basic_ios.h:37,
from /usr/include/c++/4.8/ios:44,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/bits/locale_facets.tcc:775:27: error: 'streamsize' has not been declared
_M_pad(_CharT __fill, streamsize __w, ios_base& __io,
^
/usr/include/c++/4.8/bits/locale_facets.tcc: In member function '_OutIter std::num_put<_CharT, _OutIter>::_M_insert_int(_OutIter, std::ios_base&, _CharT, _ValueT) const':
/usr/include/c++/4.8/bits/locale_facets.tcc:916:8: error: 'streamsize' does not name a type
const streamsize __w = __io.width();
^
/usr/include/c++/4.8/bits/locale_facets.tcc:917:6: error: '__w' was not declared in this scope
if (__w > static_cast<streamsize>(__len))
^
/usr/include/c++/4.8/bits/locale_facets.tcc:917:24: error: expected type-specifier before 'streamsize'
if (__w > static_cast<streamsize>(__len))
^
/usr/include/c++/4.8/bits/locale_facets.tcc:917:24: error: expected '>' before 'streamsize'
/usr/include/c++/4.8/bits/locale_facets.tcc:917:24: error: expected '(' before 'streamsize'
/usr/include/c++/4.8/bits/locale_facets.tcc:917:24: error: 'streamsize' was not declared in this scope
/usr/include/c++/4.8/bits/locale_facets.tcc:918:4: error: expected ')' before '{' token
{
^
/usr/include/c++/4.8/bits/locale_facets.tcc: In member function '_OutIter std::num_put<_CharT, _OutIter>::_M_insert_float(_OutIter, std::ios_base&, _CharT, char, _ValueT) const':
/usr/include/c++/4.8/bits/locale_facets.tcc:979:8: error: 'streamsize' does not name a type
const streamsize __prec = __io.precision() < 0 ? 6 : __io.precision();
^
/usr/include/c++/4.8/bits/locale_facets.tcc:996:19: error: '__prec' was not declared in this scope
__fbuf, __prec, __v);
^
/usr/include/c++/4.8/bits/locale_facets.tcc:1054:6: error: 'streamsize' was not declared in this scope
streamsize __off = 0;
^
/usr/include/c++/4.8/bits/locale_facets.tcc:1054:17: error: expected ';' before '__off'
streamsize __off = 0;
^
/usr/include/c++/4.8/bits/locale_facets.tcc:1057:3: error: '__off' was not declared in this scope
__off = 1;
^
/usr/include/c++/4.8/bits/locale_facets.tcc:1063:45: error: '__off' was not declared in this scope
__lc->_M_thousands_sep, __wp, __ws2 + __off,
^
/usr/include/c++/4.8/bits/locale_facets.tcc:1071:8: error: 'streamsize' does not name a type
const streamsize __w = __io.width();
^
/usr/include/c++/4.8/bits/locale_facets.tcc:1072:6: error: '__w' was not declared in this scope
if (__w > static_cast<streamsize>(__len))
^
/usr/include/c++/4.8/bits/locale_facets.tcc:1072:24: error: expected type-specifier before 'streamsize'
if (__w > static_cast<streamsize>(__len))
^
/usr/include/c++/4.8/bits/locale_facets.tcc:1072:24: error: expected '>' before 'streamsize'
/usr/include/c++/4.8/bits/locale_facets.tcc:1072:24: error: expected '(' before 'streamsize'
/usr/include/c++/4.8/bits/locale_facets.tcc:1072:24: error: 'streamsize' was not declared in this scope
/usr/include/c++/4.8/bits/locale_facets.tcc:1073:4: error: expected ')' before '{' token
{
^

Name: Anonymous 2015-06-08 3:44

/usr/include/c++/4.8/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':
/usr/include/c++/4.8/bits/locale_facets.tcc:1109:10: error: 'streamsize' does not name a type
const streamsize __w = __io.width();
^
/usr/include/c++/4.8/bits/locale_facets.tcc:1110:8: error: '__w' was not declared in this scope
if (__w > static_cast<streamsize>(__len))
^
/usr/include/c++/4.8/bits/locale_facets.tcc:1110:26: error: expected type-specifier before 'streamsize'
if (__w > static_cast<streamsize>(__len))
^
/usr/include/c++/4.8/bits/locale_facets.tcc:1110:26: error: expected '>' before 'streamsize'
/usr/include/c++/4.8/bits/locale_facets.tcc:1110:26: error: expected '(' before 'streamsize'
/usr/include/c++/4.8/bits/locale_facets.tcc:1110:26: error: 'streamsize' was not declared in this scope
/usr/include/c++/4.8/bits/locale_facets.tcc:1111:6: error: expected ')' before '{' token
{
^
/usr/include/c++/4.8/bits/locale_facets.tcc: At global scope:
/usr/include/c++/4.8/bits/locale_facets.tcc:1193:8: error: 'streamsize' has not been declared
streamsize __newlen, streamsize __oldlen)
^
/usr/include/c++/4.8/bits/locale_facets.tcc:1193:29: error: 'streamsize' has not been declared
streamsize __newlen, streamsize __oldlen)
^
In file included from /usr/include/c++/4.8/iostream:39:0,
from lel.cc:2:
/usr/include/c++/4.8/ostream:311:38: error: 'streamsize' has not been declared
_M_write(const char_type* __s, streamsize __n)
^
/usr/include/c++/4.8/ostream:335:35: error: 'streamsize' has not been declared
write(const char_type* __s, streamsize __n);
^
/usr/include/c++/4.8/ostream: In member function 'void std::basic_ostream<_CharT, _Traits>::_M_write(const char_type*, int)':
/usr/include/c++/4.8/ostream:313:8: error: 'streamsize' does not name a type
const streamsize __put = this->rdbuf()->sputn(__s, __n);
^
/usr/include/c++/4.8/ostream:314:6: error: '__put' was not declared in this scope
if (__put != __n)
^
/usr/include/c++/4.8/ostream: In function 'std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const _CharT*)':
/usr/include/c++/4.8/ostream:519:17: error: expected type-specifier before 'streamsize'
static_cast<streamsize>(_Traits::length(__s)));
^
/usr/include/c++/4.8/ostream:519:17: error: expected '>' before 'streamsize'
/usr/include/c++/4.8/ostream:519:17: error: expected '(' before 'streamsize'
/usr/include/c++/4.8/ostream:519:17: error: 'streamsize' was not declared in this scope
/usr/include/c++/4.8/ostream: In function 'std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const char*)':
/usr/include/c++/4.8/ostream:536:17: error: expected type-specifier before 'streamsize'
static_cast<streamsize>(_Traits::length(__s)));
^
/usr/include/c++/4.8/ostream:536:17: error: expected '>' before 'streamsize'
/usr/include/c++/4.8/ostream:536:17: error: expected '(' before 'streamsize'
/usr/include/c++/4.8/ostream:536:17: error: 'streamsize' was not declared in this scope
In file included from /usr/include/c++/4.8/ostream:609:0,
from /usr/include/c++/4.8/iostream:39,
from lel.cc:2:
/usr/include/c++/4.8/bits/ostream.tcc: At global scope:
/usr/include/c++/4.8/bits/ostream.tcc:183:30: error: 'streamsize' has not been declared
write(const _CharT* __s, streamsize __n)
^
In file included from /usr/include/c++/4.8/iostream:40:0,
from lel.cc:2:
/usr/include/c++/4.8/istream:82:7: error: 'streamsize' does not name a type
streamsize _M_gcount;
^
/usr/include/c++/4.8/istream:268:7: error: 'streamsize' does not name a type
streamsize
^
/usr/include/c++/4.8/istream:343:27: error: 'streamsize' has not been declared
get(char_type* __s, streamsize __n, char_type __delim);
^
/usr/include/c++/4.8/istream:354:27: error: 'streamsize' has not been declared
get(char_type* __s, streamsize __n)
^
/usr/include/c++/4.8/istream:416:31: error: 'streamsize' has not been declared
getline(char_type* __s, streamsize __n, char_type __delim);
^
/usr/include/c++/4.8/istream:427:31: error: 'streamsize' has not been declared
getline(char_type* __s, streamsize __n)
^
/usr/include/c++/4.8/istream:451:7: error: expected ';' at end of member declaration
ignore(streamsize __n, int_type __delim);
^
/usr/include/c++/4.8/istream:451:25: error: expected ')' before '__n'
ignore(streamsize __n, int_type __delim);
^
/usr/include/c++/4.8/istream:454:7: error: expected ';' at end of member declaration
ignore(streamsize __n);
^
/usr/include/c++/4.8/istream:454:14: error: redeclaration of 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::ignore'
ignore(streamsize __n);
^
/usr/include/c++/4.8/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);
^
/usr/include/c++/4.8/istream:454:25: error: expected ')' before '__n'
ignore(streamsize __n);
^
/usr/include/c++/4.8/istream:457:14: error: 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::ignore()' conflicts with a previous declaration
ignore();
^
/usr/include/c++/4.8/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);
^
/usr/include/c++/4.8/istream:486:28: error: 'streamsize' has not been declared
read(char_type* __s, streamsize __n);
^
/usr/include/c++/4.8/istream:504:7: error: 'streamsize' does not name a type
streamsize
^
/usr/include/c++/4.8/istream: In constructor 'std::basic_istream<_CharT, _Traits>::basic_istream(std::basic_istream<_CharT, _Traits>::__streambuf_type*)':
/usr/include/c++/4.8/istream:94:9: error: class 'std::basic_istream<_CharT, _Traits>' does not have any field named '_M_gcount'
: _M_gcount(streamsize(0))
^
/usr/include/c++/4.8/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))
^
/usr/include/c++/4.8/istream:94:31: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/usr/include/c++/4.8/istream: In destructor 'virtual std::basic_istream<_CharT, _Traits>::~basic_istream()':
/usr/include/c++/4.8/istream:104:9: error: '_M_gcount' was not declared in this scope
{ _M_gcount = streamsize(0); }
^
/usr/include/c++/4.8/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); }
^
/usr/include/c++/4.8/istream: In constructor 'std::basic_istream<_CharT, _Traits>::basic_istream()':
/usr/include/c++/4.8/istream:607:9: error: class 'std::basic_istream<_CharT, _Traits>' does not have any field named '_M_gcount'
: _M_gcount(streamsize(0))
^
/usr/include/c++/4.8/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))
^
/usr/include/c++/4.8/istream: In instantiation of 'class std::basic_istream<char>':
/usr/include/c++/4.8/istream:618:24: required from here
/usr/include/c++/4.8/istream:451:14: error: 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::ignore() [with _CharT = char; _Traits = std::char_traits<char>; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream<char>]' conflicts with a previous declaration
ignore(streamsize __n, int_type __delim);
^
/usr/include/c++/4.8/istream:451:14: note: previous declaration 'std::basic_istream<char>::__istream_type& std::basic_istream<char>::ignore'
/usr/include/c++/4.8/istream: At global scope:
/usr/include/c++/4.8/istream:619:29: error: 'streamsize' has not been declared
getline(char_type* __s, streamsize __n, char_type __delim);
^
/usr/include/c++/4.8/istream:624:12: error: 'std::basic_istream<char>& std::basic_istream<char>::ignore' is not a static member of 'class std::basic_istream<char>'
ignore(streamsize __n);
^
/usr/include/c++/4.8/istream:624:12: error: 'streamsize' was not declared in this scope
/usr/include/c++/4.8/istream:629:12: error: 'std::basic_istream<char>& std::basic_istream<char>::ignore' is not a static member of 'class std::basic_istream<char>'
ignore(streamsize __n, int_type __delim);
^
/usr/include/c++/4.8/istream:629:12: error: 'streamsize' was not declared in this scope
/usr/include/c++/4.8/istream:629:37: error: expected primary-expression before '__delim'
ignore(streamsize __n, int_type __delim);
^
/usr/include/c++/4.8/istream:629:44: error: expression list treated as compound expression in initializer [-fpermissive]
ignore(streamsize __n, int_type __delim);
^
/usr/include/c++/4.8/istream: In instantiation of 'class std::basic_istream<wchar_t>':
/usr/include/c++/4.8/istream:634:27: required from here
/usr/include/c++/4.8/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<wchar_t>; std::basic_istream<_CharT, _Traits>::__istream_type = std::basic_istream<wchar_t>]' conflicts with a previous declaration
ignore(streamsize __n, int_type __delim);
^
/usr/include/c++/4.8/istream:451:14: note: previous declaration 'std::basic_istream<wchar_t>::__istream_type& std::basic_istream<wchar_t>::ignore'
/usr/include/c++/4.8/istream:635:29: error: 'streamsize' has not been declared
getline(char_type* __s, streamsize __n, char_type __delim);
^
/usr/include/c++/4.8/istream:640:12: error: 'std::basic_istream<wchar_t>& std::basic_istream<wchar_t>::ignore' is not a static member of 'class std::basic_istream<wchar_t>'
ignore(streamsize __n);
^
/usr/include/c++/4.8/istream:640:12: error: 'streamsize' was not declared in this scope
/usr/include/c++/4.8/istream:645:12: error: 'std::basic_istream<wchar_t>& std::basic_istream<wchar_t>::ignore' is not a static member of 'class std::basic_istream<wchar_t>'
ignore(streamsize __n, int_type __delim);
^
/usr/include/c++/4.8/istream:645:12: error: 'streamsize' was not declared in this scope
/usr/include/c++/4.8/istream:645:37: error: expected primary-expression before '__delim'
ignore(streamsize __n, int_type __delim);
^
/usr/include/c++/4.8/istream:645:44: error: expression list treated as compound expression in initializer [-fpermissive]
ignore(streamsize __n, int_type __delim);
^
In file included from /usr/include/c++/4.8/istream:879:0,
from /usr/include/c++/4.8/iostream:40,
from lel.cc:2:
/usr/include/c++/4.8/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>::int_type std::basic_istream<_CharT, _Traits>::get()':
/usr/include/c++/4.8/bits/istream.tcc:240:7: error: '_M_gcount' was not declared in this scope
_M_gcount = 0;
^
/usr/include/c++/4.8/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::get(std::basic_istream<_CharT, _Traits>::char_type&)':
/usr/include/c++/4.8/bits/istream.tcc:274:7: error: '_M_gcount' was not declared in this scope
_M_gcount = 0;
^
/usr/include/c++/4.8/bits/istream.tcc: At global scope:
/usr/include/c++/4.8/bits/istream.tcc:309:25: error: 'streamsize' has not been declared
get(char_type* __s, streamsize __n, char_type __delim)
^
/usr/include/c++/4.8/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)':
/usr/include/c++/4.8/bits/istream.tcc:311:7: error: '_M_gcount' was not declared in this scope
_M_gcount = 0;
^
/usr/include/c++/4.8/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)':
/usr/include/c++/4.8/bits/istream.tcc:358:7: error: '_M_gcount' was not declared in this scope
_M_gcount = 0;
^
/usr/include/c++/4.8/bits/istream.tcc: At global scope:
/usr/include/c++/4.8/bits/istream.tcc:400:29: error: 'streamsize' has not been declared
getline(char_type* __s, streamsize __n, char_type __delim)
^
/usr/include/c++/4.8/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)':
/usr/include/c++/4.8/bits/istream.tcc:402:7: error: '_M_gcount' was not declared in this scope
_M_gcount = 0;
^
/usr/include/c++/4.8/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore()':
/usr/include/c++/4.8/bits/istream.tcc:462:7: error: '_M_gcount' was not declared in this scope
_M_gcount = 0;
^
/usr/include/c++/4.8/bits/istream.tcc: At global scope:
/usr/include/c++/4.8/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)
^
/usr/include/c++/4.8/bits/istream.tcc:493:12: error: template definition of non-template 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore'
/usr/include/c++/4.8/bits/istream.tcc:493:12: error: 'streamsize' was not declared in this scope
/usr/include/c++/4.8/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)
^
/usr/include/c++/4.8/bits/istream.tcc:555:12: error: template definition of non-template 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore'
/usr/include/c++/4.8/bits/istream.tcc:555:12: error: 'streamsize' was not declared in this scope
/usr/include/c++/4.8/bits/istream.tcc:555:37: error: expected primary-expression before '__delim'
ignore(streamsize __n, int_type __delim)
^
/usr/include/c++/4.8/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>::int_type std::basic_istream<_CharT, _Traits>::peek()':
/usr/include/c++/4.8/bits/istream.tcc:623:7: error: '_M_gcount' was not declared in this scope
_M_gcount = 0;
^
/usr/include/c++/4.8/bits/istream.tcc: At global scope:
/usr/include/c++/4.8/bits/istream.tcc:650:26: error: 'streamsize' has not been declared
read(char_type* __s, streamsize __n)
^
/usr/include/c++/4.8/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)':
/usr/include/c++/4.8/bits/istream.tcc:652:7: error: '_M_gcount' was not declared in this scope
_M_gcount = 0;
^
/usr/include/c++/4.8/bits/istream.tcc: At global scope:
/usr/include/c++/4.8/bits/istream.tcc:677:5: error: 'streamsize' does not name a type
streamsize
^
/usr/include/c++/4.8/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::putback(std::basic_istream<_CharT, _Traits>::char_type)':
/usr/include/c++/4.8/bits/istream.tcc:715:7: error: '_M_gcount' was not declared in this scope
_M_gcount = 0;
^
/usr/include/c++/4.8/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::unget()':
/usr/include/c++/4.8/bits/istream.tcc:750:7: error: '_M_gcount' was not declared in this scope
_M_gcount = 0;
^
/usr/include/c++/4.8/bits/istream.tcc: In function 'std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT2*)':
/usr/include/c++/4.8/bits/istream.tcc:963:7: error: 'streamsize' was not declared in this scope
streamsize __extracted = 0;
^
/usr/include/c++/4.8/bits/istream.tcc:963:18: error: expected ';' before '__extracted'
streamsize __extracted = 0;
^
/usr/include/c++/4.8/bits/istream.tcc:971:19: error: expected ';' before '__num'
streamsize __num = __in.width();
^
/usr/include/c++/4.8/bits/istream.tcc:972:12: error: '__num' was not declared in this scope
if (__num <= 0)
^
/usr/include/c++/4.8/bits/istream.tcc:973:49: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Value> struct __gnu_cxx::__numeric_traits'
__num = __gnu_cxx::__numeric_traits<streamsize>::__max;
^
/usr/include/c++/4.8/bits/istream.tcc:973:49: error: expected a type, got 'streamsize'
/usr/include/c++/4.8/bits/istream.tcc:981:15: error: '__extracted' was not declared in this scope
while (__extracted < __num - 1
^
/usr/include/c++/4.8/bits/istream.tcc:981:29: error: '__num' was not declared in this scope
while (__extracted < __num - 1
^
/usr/include/c++/4.8/bits/istream.tcc:1006:12: error: '__extracted' was not declared in this scope
if (!__extracted)
^

Name: Anonymous 2015-06-08 4:35

Maybe it would be better to put this on a paste service so as to not clutter the board. Especially if it takes multiple posts. But then we have to deal with it not being in the archive and the link can 404. Not to mention that visiting more sites than necessary can be dangerous, as some of them are malicious. Ugh, so stressful.

Name: Anonymous 2015-06-08 6:56

Forgotten semicolon at the end of a class definition. This is my favourite compiler behaviour, I think MSVC crashes when you do this.

Name: Anonymous 2015-06-08 7:15

>>1
oozing namespace std; ?

Name: Cudder !cXCudderUE 2015-06-08 12:44

Missing semicolon, duh.

You should always ignore anything after the first error message, fix your code to get rid of it, then try again. Anything after the first error message is usually useless as it's just a side-effect of it. Piping the compiler's stderr to head is strongly advised.

Name: Anonymous 2015-06-08 14:08

>>7
what are you wasting hard drive space for by making a separate command like head, when you can just type sed 10q

do you always use stupid, un-optimised software?

what the fuck would intel think of that, cudder? what the fuck would intel think of that?

Name: Cudder !cXCudderUE 2015-06-08 14:49

>>8
sed is far more bloated than head for such a simple task.

Name: Action Man 2015-06-08 15:03

>>9
tell it to the judge, lawn boy

Name: Anonymous 2015-06-08 15:36

Please photoshop Marisa on Cudder's naked body, OP!

Name: Action Man 2015-06-08 15:42

>>11
YOU GOT IT! ONE MARISA-CUDDER MILKSHAKE COMING RIGHT UP!
http://s1.postimg.org/t76qp42pb/marisa.jpg

Name: Anonymous 2015-06-09 4:52

>>1-3
The more I scrolled, the more I laughed.

>>4
Just post it here. Pastebins expire.

Name: Anonymous 2015-06-09 18:30

>>7
I always wonder why all the compilers for shitty and bloated languages like Scala and C++ print out all of the error messages. Printing just the first 20 lines would be enough 95% percent of the time.

Name: Anonymous 2015-06-09 18:48

>>7
>>14
It's because of C-based syntax. That end case stuff in Ada (for example) is not only for readability, but also so compilers can have more accurate error reporting.

Name: Anonymous 2015-06-09 19:10

>>15
I think you're misunderstanding. We don't mean the size of the total error message, we mean that only a small fraction of an error message is relevant or useful. Thus it is very stupid of compilers to spam the visual space with all the 9000 errors and force us to scroll up and try to find the beginning of the error-barf. Giving us just the first error or couple of errors would be a lot saner.

Name: Anonymous 2015-06-09 22:40

>>14
Because deciding which parts of an error message are relevant or not is an AI-complete problem.

Name: Anonymous 2015-06-10 20:22

>>17
It is almost always the first error or two. There's nothing to decide, just give us 20 lines and make full error reports an opt-in.

Name: Anonymous 2016-09-29 16:27

>>14-18
GCC has an option to quit compiling at the first error. That means you're only told of the first error, and don't end up wasting time trying to compile something with errors.

Name: Anonymous 2016-09-29 16:49

suckless more like SUCKS MORE

Name: Anonymous 2016-09-29 17:20

>>16
I was amazed at how reasonable and apt this post is. But then I realized it's my own post from months ago. Damnit.

Name: Adblock detected 2016-09-29 17:48

We have detected that you are using adblock on your web browser. Please disable adblock to view this content.

Name: Anonymous 2016-09-30 4:34

>>22
Subscribe to adblock warning removal list and antiadblock

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List