Job 5823

Owner
Gergely David
Problem
Bitcount
Source
0.17KB
Result
Compile error (Non-zero exit status: 1)

Compiler output

prog.cpp:1:1: error: 'fork' does not name a type
In file included from /usr/include/c++/4.7/iosfwd:42:0,
                 from /usr/include/c++/4.7/ios:39,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/postypes.h:100:11: error: 'ptrdiff_t' does not name a type
In file included from /usr/include/c++/4.7/exception:154:0,
                 from /usr/include/c++/4.7/ios:40,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/exception_ptr.h:93:30: error: field 'nullptr_t' has incomplete type
/usr/include/c++/4.7/bits/exception_ptr.h:93:30: error: expected ';' at end of member declaration
/usr/include/c++/4.7/bits/exception_ptr.h:93:32: error: expected unqualified-id before 'noexcept'
In file included from /usr/include/c++/4.7/bits/move.h:57:0,
                 from /usr/include/c++/4.7/bits/stl_pair.h:61,
                 from /usr/include/c++/4.7/bits/stl_algobase.h:65,
                 from /usr/include/c++/4.7/bits/char_traits.h:41,
                 from /usr/include/c++/4.7/ios:41,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/type_traits:273:31: error: 'std::size_t' has not been declared
/usr/include/c++/4.7/type_traits:407:34: error: 'nullptr_t' is not a member of 'std'
/usr/include/c++/4.7/type_traits:407:34: error: 'nullptr_t' is not a member of 'std'
/usr/include/c++/4.7/type_traits:407:48: error: template argument 1 is invalid
/usr/include/c++/4.7/type_traits:1185:32: error: 'size_t' is not a member of 'std'
/usr/include/c++/4.7/type_traits:1185:32: note: suggested alternative:
In file included from /usr/include/wchar.h:52:0,
                 from /usr/include/c++/4.7/cwchar:46,
                 from /usr/include/c++/4.7/bits/postypes.h:42,
                 from /usr/include/c++/4.7/iosfwd:42,
                 from /usr/include/c++/4.7/ios:39,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h:213:23: note:   'size_t'
In file included from /usr/include/c++/4.7/bits/move.h:57:0,
                 from /usr/include/c++/4.7/bits/stl_pair.h:61,
                 from /usr/include/c++/4.7/bits/stl_algobase.h:65,
                 from /usr/include/c++/4.7/bits/char_traits.h:41,
                 from /usr/include/c++/4.7/ios:41,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/type_traits:1185:32: error: 'size_t' is not a member of 'std'
/usr/include/c++/4.7/type_traits:1185:32: note: suggested alternative:
In file included from /usr/include/wchar.h:52:0,
                 from /usr/include/c++/4.7/cwchar:46,
                 from /usr/include/c++/4.7/bits/postypes.h:42,
                 from /usr/include/c++/4.7/iosfwd:42,
                 from /usr/include/c++/4.7/ios:39,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h:213:23: note:   'size_t'
In file included from /usr/include/c++/4.7/bits/move.h:57:0,
                 from /usr/include/c++/4.7/bits/stl_pair.h:61,
                 from /usr/include/c++/4.7/bits/stl_algobase.h:65,
                 from /usr/include/c++/4.7/bits/char_traits.h:41,
                 from /usr/include/c++/4.7/ios:41,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/type_traits:1185:61: error: template argument 1 is invalid
/usr/include/c++/4.7/type_traits:1185:61: note: invalid template non-type parameter
/usr/include/c++/4.7/type_traits:1190:32: error: 'size_t' is not a member of 'std'
/usr/include/c++/4.7/type_traits:1190:32: note: suggested alternative:
In file included from /usr/include/wchar.h:52:0,
                 from /usr/include/c++/4.7/cwchar:46,
                 from /usr/include/c++/4.7/bits/postypes.h:42,
                 from /usr/include/c++/4.7/iosfwd:42,
                 from /usr/include/c++/4.7/ios:39,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h:213:23: note:   'size_t'
In file included from /usr/include/c++/4.7/bits/move.h:57:0,
                 from /usr/include/c++/4.7/bits/stl_pair.h:61,
                 from /usr/include/c++/4.7/bits/stl_algobase.h:65,
                 from /usr/include/c++/4.7/bits/char_traits.h:41,
                 from /usr/include/c++/4.7/ios:41,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/type_traits:1190:32: error: 'size_t' is not a member of 'std'
/usr/include/c++/4.7/type_traits:1190:32: note: suggested alternative:
In file included from /usr/include/wchar.h:52:0,
                 from /usr/include/c++/4.7/cwchar:46,
                 from /usr/include/c++/4.7/bits/postypes.h:42,
                 from /usr/include/c++/4.7/iosfwd:42,
                 from /usr/include/c++/4.7/ios:39,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h:213:23: note:   'size_t'
In file included from /usr/include/c++/4.7/bits/move.h:57:0,
                 from /usr/include/c++/4.7/bits/stl_pair.h:61,
                 from /usr/include/c++/4.7/bits/stl_algobase.h:65,
                 from /usr/include/c++/4.7/bits/char_traits.h:41,
                 from /usr/include/c++/4.7/ios:41,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/type_traits:1190:46: error: template argument 1 is invalid
/usr/include/c++/4.7/type_traits:1190:46: note: invalid template non-type parameter
/usr/include/c++/4.7/type_traits:1192:31: error: 'std::size_t' has not been declared
/usr/include/c++/4.7/type_traits:1194:32: error: 'size_t' is not a member of 'std'
/usr/include/c++/4.7/type_traits:1194:32: note: suggested alternative:
In file included from /usr/include/wchar.h:52:0,
                 from /usr/include/c++/4.7/cwchar:46,
                 from /usr/include/c++/4.7/bits/postypes.h:42,
                 from /usr/include/c++/4.7/iosfwd:42,
                 from /usr/include/c++/4.7/ios:39,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h:213:23: note:   'size_t'
In file included from /usr/include/c++/4.7/bits/move.h:57:0,
                 from /usr/include/c++/4.7/bits/stl_pair.h:61,
                 from /usr/include/c++/4.7/bits/stl_algobase.h:65,
                 from /usr/include/c++/4.7/bits/char_traits.h:41,
                 from /usr/include/c++/4.7/ios:41,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/type_traits:1194:32: error: 'size_t' is not a member of 'std'
/usr/include/c++/4.7/type_traits:1194:32: note: suggested alternative:
In file included from /usr/include/wchar.h:52:0,
                 from /usr/include/c++/4.7/cwchar:46,
                 from /usr/include/c++/4.7/bits/postypes.h:42,
                 from /usr/include/c++/4.7/iosfwd:42,
                 from /usr/include/c++/4.7/ios:39,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h:213:23: note:   'size_t'
In file included from /usr/include/c++/4.7/bits/move.h:57:0,
                 from /usr/include/c++/4.7/bits/stl_pair.h:61,
                 from /usr/include/c++/4.7/bits/stl_algobase.h:65,
                 from /usr/include/c++/4.7/bits/char_traits.h:41,
                 from /usr/include/c++/4.7/ios:41,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/type_traits:1194:65: error: template argument 1 is invalid
/usr/include/c++/4.7/type_traits:1194:65: note: invalid template non-type parameter
/usr/include/c++/4.7/type_traits:1198:32: error: 'size_t' is not a member of 'std'
/usr/include/c++/4.7/type_traits:1198:32: note: suggested alternative:
In file included from /usr/include/wchar.h:52:0,
                 from /usr/include/c++/4.7/cwchar:46,
                 from /usr/include/c++/4.7/bits/postypes.h:42,
                 from /usr/include/c++/4.7/iosfwd:42,
                 from /usr/include/c++/4.7/ios:39,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h:213:23: note:   'size_t'
In file included from /usr/include/c++/4.7/bits/move.h:57:0,
                 from /usr/include/c++/4.7/bits/stl_pair.h:61,
                 from /usr/include/c++/4.7/bits/stl_algobase.h:65,
                 from /usr/include/c++/4.7/bits/char_traits.h:41,
                 from /usr/include/c++/4.7/ios:41,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/type_traits:1198:32: error: 'size_t' is not a member of 'std'
/usr/include/c++/4.7/type_traits:1198:32: note: suggested alternative:
In file included from /usr/include/wchar.h:52:0,
                 from /usr/include/c++/4.7/cwchar:46,
                 from /usr/include/c++/4.7/bits/postypes.h:42,
                 from /usr/include/c++/4.7/iosfwd:42,
                 from /usr/include/c++/4.7/ios:39,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h:213:23: note:   'size_t'
In file included from /usr/include/c++/4.7/bits/move.h:57:0,
                 from /usr/include/c++/4.7/bits/stl_pair.h:61,
                 from /usr/include/c++/4.7/bits/stl_algobase.h:65,
                 from /usr/include/c++/4.7/bits/char_traits.h:41,
                 from /usr/include/c++/4.7/ios:41,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/type_traits:1198:65: error: template argument 1 is invalid
/usr/include/c++/4.7/type_traits:1198:65: note: invalid template non-type parameter
/usr/include/c++/4.7/type_traits:1203:32: error: 'size_t' is not a member of 'std'
/usr/include/c++/4.7/type_traits:1203:32: note: suggested alternative:
In file included from /usr/include/wchar.h:52:0,
                 from /usr/include/c++/4.7/cwchar:46,
                 from /usr/include/c++/4.7/bits/postypes.h:42,
                 from /usr/include/c++/4.7/iosfwd:42,
                 from /usr/include/c++/4.7/ios:39,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h:213:23: note:   'size_t'
In file included from /usr/include/c++/4.7/bits/move.h:57:0,
                 from /usr/include/c++/4.7/bits/stl_pair.h:61,
                 from /usr/include/c++/4.7/bits/stl_algobase.h:65,
                 from /usr/include/c++/4.7/bits/char_traits.h:41,
                 from /usr/include/c++/4.7/ios:41,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/type_traits:1203:32: error: 'size_t' is not a member of 'std'
/usr/include/c++/4.7/type_traits:1203:32: note: suggested alternative:
In file included from /usr/include/wchar.h:52:0,
                 from /usr/include/c++/4.7/cwchar:46,
                 from /usr/include/c++/4.7/bits/postypes.h:42,
                 from /usr/include/c++/4.7/iosfwd:42,
                 from /usr/include/c++/4.7/ios:39,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h:213:23: note:   'size_t'
In file included from /usr/include/c++/4.7/bits/move.h:57:0,
                 from /usr/include/c++/4.7/bits/stl_pair.h:61,
                 from /usr/include/c++/4.7/bits/stl_algobase.h:65,
                 from /usr/include/c++/4.7/bits/char_traits.h:41,
                 from /usr/include/c++/4.7/ios:41,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/type_traits:1203:46: error: template argument 1 is invalid
/usr/include/c++/4.7/type_traits:1203:46: note: invalid template non-type parameter
/usr/include/c++/4.7/type_traits:1205:47: error: 'std::size_t' has not been declared
/usr/include/c++/4.7/type_traits:1207:32: error: 'size_t' is not a member of 'std'
/usr/include/c++/4.7/type_traits:1207:32: note: suggested alternative:
In file included from /usr/include/wchar.h:52:0,
                 from /usr/include/c++/4.7/cwchar:46,
                 from /usr/include/c++/4.7/bits/postypes.h:42,
                 from /usr/include/c++/4.7/iosfwd:42,
                 from /usr/include/c++/4.7/ios:39,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h:213:23: note:   'size_t'
In file included from /usr/include/c++/4.7/bits/move.h:57:0,
                 from /usr/include/c++/4.7/bits/stl_pair.h:61,
                 from /usr/include/c++/4.7/bits/stl_algobase.h:65,
                 from /usr/include/c++/4.7/bits/char_traits.h:41,
                 from /usr/include/c++/4.7/ios:41,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/type_traits:1207:32: error: 'size_t' is not a member of 'std'
/usr/include/c++/4.7/type_traits:1207:32: note: suggested alternative:
In file included from /usr/include/wchar.h:52:0,
                 from /usr/include/c++/4.7/cwchar:46,
                 from /usr/include/c++/4.7/bits/postypes.h:42,
                 from /usr/include/c++/4.7/iosfwd:42,
                 from /usr/include/c++/4.7/ios:39,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h:213:23: note:   'size_t'
In file included from /usr/include/c++/4.7/bits/move.h:57:0,
                 from /usr/include/c++/4.7/bits/stl_pair.h:61,
                 from /usr/include/c++/4.7/bits/stl_algobase.h:65,
                 from /usr/include/c++/4.7/bits/char_traits.h:41,
                 from /usr/include/c++/4.7/ios:41,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/type_traits:1209:28: error: template argument 1 is invalid
/usr/include/c++/4.7/type_traits:1209:28: note: invalid template non-type parameter
/usr/include/c++/4.7/type_traits:1214:32: error: 'size_t' is not a member of 'std'
/usr/include/c++/4.7/type_traits:1214:32: note: suggested alternative:
In file included from /usr/include/wchar.h:52:0,
                 from /usr/include/c++/4.7/cwchar:46,
                 from /usr/include/c++/4.7/bits/postypes.h:42,
                 from /usr/include/c++/4.7/iosfwd:42,
                 from /usr/include/c++/4.7/ios:39,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h:213:23: note:   'size_t'
In file included from /usr/include/c++/4.7/bits/move.h:57:0,
                 from /usr/include/c++/4.7/bits/stl_pair.h:61,
                 from /usr/include/c++/4.7/bits/stl_algobase.h:65,
                 from /usr/include/c++/4.7/bits/char_traits.h:41,
                 from /usr/include/c++/4.7/ios:41,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/type_traits:1214:32: error: 'size_t' is not a member of 'std'
/usr/include/c++/4.7/type_traits:1214:32: note: suggested alternative:
In file included from /usr/include/wchar.h:52:0,
                 from /usr/include/c++/4.7/cwchar:46,
                 from /usr/include/c++/4.7/bits/postypes.h:42,
                 from /usr/include/c++/4.7/iosfwd:42,
                 from /usr/include/c++/4.7/ios:39,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h:213:23: note:   'size_t'
In file included from /usr/include/c++/4.7/bits/move.h:57:0,
                 from /usr/include/c++/4.7/bits/stl_pair.h:61,
                 from /usr/include/c++/4.7/bits/stl_algobase.h:65,
                 from /usr/include/c++/4.7/bits/char_traits.h:41,
                 from /usr/include/c++/4.7/ios:41,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/type_traits:1216:31: error: template argument 1 is invalid
/usr/include/c++/4.7/type_traits:1216:31: note: invalid template non-type parameter
/usr/include/c++/4.7/type_traits:1579:31: error: 'std::size_t' has not been declared
/usr/include/c++/4.7/type_traits:1592:31: error: 'std::size_t' has not been declared
/usr/include/c++/4.7/type_traits:1623:17: error: 'std::size_t' has not been declared
/usr/include/c++/4.7/type_traits:1643:17: error: 'std::size_t' has not been declared
/usr/include/c++/4.7/type_traits:1643:35: error: 'std::size_t' has not been declared
In file included from /usr/include/c++/4.7/bits/stl_algobase.h:65:0,
                 from /usr/include/c++/4.7/bits/char_traits.h:41,
                 from /usr/include/c++/4.7/ios:41,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/stl_pair.h:82:17: error: 'std::size_t' has not been declared
/usr/include/c++/4.7/bits/stl_pair.h:196:41: error: 'std::size_t' has not been declared
/usr/include/c++/4.7/bits/stl_pair.h:197:41: error: 'std::size_t' has not been declared
In file included from /usr/include/c++/4.7/bits/stl_algobase.h:66:0,
                 from /usr/include/c++/4.7/bits/char_traits.h:41,
                 from /usr/include/c++/4.7/ios:41,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/stl_iterator_base_types.h:117:67: error: expected type-specifier before 'ptrdiff_t'
/usr/include/c++/4.7/bits/stl_iterator_base_types.h:117:67: error: expected '>' before 'ptrdiff_t'
/usr/include/c++/4.7/bits/stl_iterator_base_types.h:128:15: error: '_Pointer' does not name a type
/usr/include/c++/4.7/bits/stl_iterator_base_types.h:130:15: error: '_Reference' does not name a type
/usr/include/c++/4.7/bits/stl_iterator_base_types.h:180:15: error: 'ptrdiff_t' does not name a type
/usr/include/c++/4.7/bits/stl_iterator_base_types.h:191:15: error: 'ptrdiff_t' does not name a type
In file included from /usr/include/c++/4.7/bits/stl_algobase.h:68:0,
                 from /usr/include/c++/4.7/bits/char_traits.h:41,
                 from /usr/include/c++/4.7/ios:41,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/stl_iterator.h:103:69: error: wrong number of template arguments (5, should be 3)
In file included from /usr/include/c++/4.7/bits/stl_algobase.h:66:0,
                 from /usr/include/c++/4.7/bits/char_traits.h:41,
                 from /usr/include/c++/4.7/ios:41,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/stl_iterator_base_types.h:119:12: error: provided for 'template<class _Category, class _Tp, class _Distance> struct std::iterator'
In file included from /usr/include/c++/4.7/bits/stl_algobase.h:68:0,
                 from /usr/include/c++/4.7/bits/char_traits.h:41,
                 from /usr/include/c++/4.7/ios:41,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/stl_iterator.h:405:66: error: wrong number of template arguments (5, should be 3)
In file included from /usr/include/c++/4.7/bits/stl_algobase.h:66:0,
                 from /usr/include/c++/4.7/bits/char_traits.h:41,
                 from /usr/include/c++/4.7/ios:41,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/stl_iterator_base_types.h:119:12: error: provided for 'template<class _Category, class _Tp, class _Distance> struct std::iterator'
In file included from /usr/include/c++/4.7/bits/stl_algobase.h:68:0,
                 from /usr/include/c++/4.7/bits/char_traits.h:41,
                 from /usr/include/c++/4.7/ios:41,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/stl_iterator.h:496:66: error: wrong number of template arguments (5, should be 3)
In file included from /usr/include/c++/4.7/bits/stl_algobase.h:66:0,
                 from /usr/include/c++/4.7/bits/char_traits.h:41,
                 from /usr/include/c++/4.7/ios:41,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/stl_iterator_base_types.h:119:12: error: provided for 'template<class _Category, class _Tp, class _Distance> struct std::iterator'
In file included from /usr/include/c++/4.7/bits/stl_algobase.h:68:0,
                 from /usr/include/c++/4.7/bits/char_traits.h:41,
                 from /usr/include/c++/4.7/ios:41,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/stl_iterator.h:590:66: error: wrong number of template arguments (5, should be 3)
In file included from /usr/include/c++/4.7/bits/stl_algobase.h:66:0,
                 from /usr/include/c++/4.7/bits/char_traits.h:41,
                 from /usr/include/c++/4.7/ios:41,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/stl_iterator_base_types.h:119:12: error: provided for 'template<class _Category, class _Tp, class _Distance> struct std::iterator'
In file included from /usr/include/c++/4.7/bits/char_traits.h:41:0,
                 from /usr/include/c++/4.7/ios:41,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/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.7/bits/stl_algobase.h:364:10: error: 'ptrdiff_t' does not name a type
/usr/include/c++/4.7/bits/stl_algobase.h:365:8: error: '_Num' was not declared in this scope
/usr/include/c++/4.7/bits/stl_algobase.h:367:22: error: '_Num' was not declared in this scope
/usr/include/c++/4.7/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.7/bits/stl_algobase.h:559:10: error: 'ptrdiff_t' does not name a type
/usr/include/c++/4.7/bits/stl_algobase.h:560:8: error: '_Num' was not declared in this scope
/usr/include/c++/4.7/bits/stl_algobase.h:562:22: error: '_Num' was not declared in this scope
In file included from /usr/include/c++/4.7/ios:41:0,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/char_traits.h: At global scope:
/usr/include/c++/4.7/bits/char_traits.h:106:66: error: 'std::size_t' has not been declared
/usr/include/c++/4.7/bits/char_traits.h:108:14: error: 'size_t' in namespace 'std' does not name a type
/usr/include/c++/4.7/bits/char_traits.h:112:39: error: 'std::size_t' has not been declared
/usr/include/c++/4.7/bits/char_traits.h:115:57: error: 'std::size_t' has not been declared
/usr/include/c++/4.7/bits/char_traits.h:118:57: error: 'std::size_t' has not been declared
/usr/include/c++/4.7/bits/char_traits.h:121:35: error: 'std::size_t' has not been declared
/usr/include/c++/4.7/bits/char_traits.h:147:64: error: 'std::size_t' has not been declared
/usr/include/c++/4.7/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.7/bits/char_traits.h:149:12: error: 'size_t' is not a member of 'std'
/usr/include/c++/4.7/bits/char_traits.h:149:12: note: suggested alternative:
In file included from /usr/include/wchar.h:52:0,
                 from /usr/include/c++/4.7/cwchar:46,
                 from /usr/include/c++/4.7/bits/postypes.h:42,
                 from /usr/include/c++/4.7/iosfwd:42,
                 from /usr/include/c++/4.7/ios:39,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h:213:23: note:   'size_t'
In file included from /usr/include/c++/4.7/ios:41:0,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/char_traits.h:149:24: error: expected ';' before '__i'
/usr/include/c++/4.7/bits/char_traits.h:149:33: error: '__i' was not declared in this scope
/usr/include/c++/4.7/bits/char_traits.h: At global scope:
/usr/include/c++/4.7/bits/char_traits.h:158:5: error: 'size_t' in namespace 'std' does not name a type
/usr/include/c++/4.7/bits/char_traits.h:171:37: error: 'std::size_t' has not been declared
/usr/include/c++/4.7/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.7/bits/char_traits.h:173:12: error: 'size_t' is not a member of 'std'
/usr/include/c++/4.7/bits/char_traits.h:173:12: note: suggested alternative:
In file included from /usr/include/wchar.h:52:0,
                 from /usr/include/c++/4.7/cwchar:46,
                 from /usr/include/c++/4.7/bits/postypes.h:42,
                 from /usr/include/c++/4.7/iosfwd:42,
                 from /usr/include/c++/4.7/ios:39,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h:213:23: note:   'size_t'
In file included from /usr/include/c++/4.7/ios:41:0,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/char_traits.h:173:24: error: expected ';' before '__i'
/usr/include/c++/4.7/bits/char_traits.h:173:33: error: '__i' was not declared in this scope
/usr/include/c++/4.7/bits/char_traits.h: At global scope:
/usr/include/c++/4.7/bits/char_traits.h:182:55: error: 'std::size_t' has not been declared
/usr/include/c++/4.7/bits/char_traits.h:191:55: error: 'std::size_t' has not been declared
/usr/include/c++/4.7/bits/char_traits.h:201:33: error: 'std::size_t' has not been declared
In file included from /usr/include/c++/4.7/ext/new_allocator.h:34:0,
                 from /usr/include/c++/4.7/x86_64-linux-gnu/bits/c++allocator.h:34,
                 from /usr/include/c++/4.7/bits/allocator.h:48,
                 from /usr/include/c++/4.7/string:43,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/new:93:31: error: declaration of 'operator new' as non-function
/usr/include/c++/4.7/new:93:20: error: 'size_t' is not a member of 'std'
/usr/include/c++/4.7/new:93:20: note: suggested alternative:
In file included from /usr/include/wchar.h:52:0,
                 from /usr/include/c++/4.7/cwchar:46,
                 from /usr/include/c++/4.7/bits/postypes.h:42,
                 from /usr/include/c++/4.7/iosfwd:42,
                 from /usr/include/c++/4.7/ios:39,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h:213:23: note:   'size_t'
In file included from /usr/include/c++/4.7/ext/new_allocator.h:34:0,
                 from /usr/include/c++/4.7/x86_64-linux-gnu/bits/c++allocator.h:34,
                 from /usr/include/c++/4.7/bits/allocator.h:48,
                 from /usr/include/c++/4.7/string:43,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/new:95:33: error: declaration of 'operator new []' as non-function
/usr/include/c++/4.7/new:95:22: error: 'size_t' is not a member of 'std'
/usr/include/c++/4.7/new:95:22: note: suggested alternative:
In file included from /usr/include/wchar.h:52:0,
                 from /usr/include/c++/4.7/cwchar:46,
                 from /usr/include/c++/4.7/bits/postypes.h:42,
                 from /usr/include/c++/4.7/iosfwd:42,
                 from /usr/include/c++/4.7/ios:39,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h:213:23: note:   'size_t'
In file included from /usr/include/c++/4.7/ext/new_allocator.h:34:0,
                 from /usr/include/c++/4.7/x86_64-linux-gnu/bits/c++allocator.h:34,
                 from /usr/include/c++/4.7/bits/allocator.h:48,
                 from /usr/include/c++/4.7/string:43,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/new:101:25: error: declaration of 'operator new' as non-function
/usr/include/c++/4.7/new:101:20: error: 'size_t' is not a member of 'std'
/usr/include/c++/4.7/new:101:20: note: suggested alternative:
In file included from /usr/include/wchar.h:52:0,
                 from /usr/include/c++/4.7/cwchar:46,
                 from /usr/include/c++/4.7/bits/postypes.h:42,
                 from /usr/include/c++/4.7/iosfwd:42,
                 from /usr/include/c++/4.7/ios:39,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h:213:23: note:   'size_t'
In file included from /usr/include/c++/4.7/ext/new_allocator.h:34:0,
                 from /usr/include/c++/4.7/x86_64-linux-gnu/bits/c++allocator.h:34,
                 from /usr/include/c++/4.7/bits/allocator.h:48,
                 from /usr/include/c++/4.7/string:43,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/new:101:33: error: expected primary-expression before 'const'
/usr/include/c++/4.7/new:103:27: error: declaration of 'operator new []' as non-function
/usr/include/c++/4.7/new:103:22: error: 'size_t' is not a member of 'std'
/usr/include/c++/4.7/new:103:22: note: suggested alternative:
In file included from /usr/include/wchar.h:52:0,
                 from /usr/include/c++/4.7/cwchar:46,
                 from /usr/include/c++/4.7/bits/postypes.h:42,
                 from /usr/include/c++/4.7/iosfwd:42,
                 from /usr/include/c++/4.7/ios:39,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h:213:23: note:   'size_t'
In file included from /usr/include/c++/4.7/ext/new_allocator.h:34:0,
                 from /usr/include/c++/4.7/x86_64-linux-gnu/bits/c++allocator.h:34,
                 from /usr/include/c++/4.7/bits/allocator.h:48,
                 from /usr/include/c++/4.7/string:43,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/new:103:35: error: expected primary-expression before 'const'
/usr/include/c++/4.7/new:111:32: error: declaration of 'operator new' as non-function
/usr/include/c++/4.7/new:111:27: error: 'size_t' is not a member of 'std'
/usr/include/c++/4.7/new:111:27: note: suggested alternative:
In file included from /usr/include/wchar.h:52:0,
                 from /usr/include/c++/4.7/cwchar:46,
                 from /usr/include/c++/4.7/bits/postypes.h:42,
                 from /usr/include/c++/4.7/iosfwd:42,
                 from /usr/include/c++/4.7/ios:39,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h:213:23: note:   'size_t'
In file included from /usr/include/c++/4.7/ext/new_allocator.h:34:0,
                 from /usr/include/c++/4.7/x86_64-linux-gnu/bits/c++allocator.h:34,
                 from /usr/include/c++/4.7/bits/allocator.h:48,
                 from /usr/include/c++/4.7/string:43,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/new:111:40: error: expected primary-expression before 'void'
/usr/include/c++/4.7/new:113:34: error: declaration of 'operator new []' as non-function
/usr/include/c++/4.7/new:113:29: error: 'size_t' is not a member of 'std'
/usr/include/c++/4.7/new:113:29: note: suggested alternative:
In file included from /usr/include/wchar.h:52:0,
                 from /usr/include/c++/4.7/cwchar:46,
                 from /usr/include/c++/4.7/bits/postypes.h:42,
                 from /usr/include/c++/4.7/iosfwd:42,
                 from /usr/include/c++/4.7/ios:39,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h:213:23: note:   'size_t'
In file included from /usr/include/c++/4.7/ext/new_allocator.h:34:0,
                 from /usr/include/c++/4.7/x86_64-linux-gnu/bits/c++allocator.h:34,
                 from /usr/include/c++/4.7/bits/allocator.h:48,
                 from /usr/include/c++/4.7/string:43,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/new:113:42: error: expected primary-expression before 'void'
In file included from /usr/include/c++/4.7/x86_64-linux-gnu/bits/c++allocator.h:34:0,
                 from /usr/include/c++/4.7/bits/allocator.h:48,
                 from /usr/include/c++/4.7/string:43,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/new_allocator.h:42:14: error: 'std::size_t' has not been declared
/usr/include/c++/4.7/ext/new_allocator.h:43:14: error: 'std::ptrdiff_t' has not been declared
/usr/include/c++/4.7/ext/new_allocator.h:58:15: error: 'ptrdiff_t' does not name a type
In file included from /usr/include/c++/4.7/string:43:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/allocator.h:72:15: error: 'ptrdiff_t' does not name a type
/usr/include/c++/4.7/bits/allocator.h:93:15: error: 'ptrdiff_t' does not name a type
In file included from /usr/include/c++/4.7/string:46:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/ostream_insert.h:45:26: error: 'streamsize' has not been declared
/usr/include/c++/4.7/bits/ostream_insert.h: In function 'void std::__ostream_write(std::basic_ostream<_CharT, _Traits>&, const _CharT*, int)':
/usr/include/c++/4.7/bits/ostream_insert.h:50:13: error: 'streamsize' does not name a type
/usr/include/c++/4.7/bits/ostream_insert.h:51:11: error: '__put' was not declared in this scope
/usr/include/c++/4.7/bits/ostream_insert.h: At global scope:
/usr/include/c++/4.7/bits/ostream_insert.h:57:59: error: 'streamsize' has not been declared
/usr/include/c++/4.7/bits/ostream_insert.h:77:27: error: 'streamsize' has not been declared
/usr/include/c++/4.7/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.7/bits/ostream_insert.h:87:14: error: 'streamsize' does not name a type
/usr/include/c++/4.7/bits/ostream_insert.h:88:12: error: '__w' was not declared in this scope
/usr/include/c++/4.7/bits/ostream_insert.h: At global scope:
/usr/include/c++/4.7/bits/ostream_insert.h:118:68: error: 'streamsize' has not been declared
/usr/include/c++/4.7/bits/ostream_insert.h:122:11: error: 'streamsize' has not been declared
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:51:51: error: 'std::size_t' has not been declared
/usr/include/c++/4.7/ext/string_conversions.h:79:48: error: 'std::size_t' has not been declared
/usr/include/c++/4.7/ext/string_conversions.h:80:31: error: 'std::size_t' has not been declared
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h: In instantiation of 'class std::basic_string<char>':
/usr/include/c++/4.7/bits/basic_string.h:2823:68:   required from here
/usr/include/c++/4.7/bits/basic_string.h:119:61: error: no type named 'difference_type' in 'std::basic_string<char>::_CharT_alloc_type {aka class std::allocator<char>}'
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h: In function 'int std::stoi(const string&, size_t*, int)':
/usr/include/c++/4.7/bits/basic_string.h:2824:19: error: no matching function for call to '__stoa(long int (*)(const char*, char**, int)throw (), const char [5], const char*, size_t*&, int&)'
/usr/include/c++/4.7/bits/basic_string.h:2824:19: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:50:5: note: template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)
/usr/include/c++/4.7/ext/string_conversions.h:50:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:2824:19: note:   cannot convert '__idx' (type 'size_t* {aka long unsigned int*}') to type 'int*'
/usr/include/c++/4.7/bits/basic_string.h: In function 'long int std::stol(const string&, size_t*, int)':
/usr/include/c++/4.7/bits/basic_string.h:2829:22: error: no matching function for call to '__stoa(long int (*)(const char*, char**, int)throw (), const char [5], const char*, size_t*&, int&)'
/usr/include/c++/4.7/bits/basic_string.h:2829:22: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:50:5: note: template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)
/usr/include/c++/4.7/ext/string_conversions.h:50:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:2829:22: note:   cannot convert '__idx' (type 'size_t* {aka long unsigned int*}') to type 'int*'
/usr/include/c++/4.7/bits/basic_string.h: In function 'long unsigned int std::stoul(const string&, size_t*, int)':
/usr/include/c++/4.7/bits/basic_string.h:2834:22: error: no matching function for call to '__stoa(long unsigned int (*)(const char*, char**, int)throw (), const char [6], const char*, size_t*&, int&)'
/usr/include/c++/4.7/bits/basic_string.h:2834:22: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:50:5: note: template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)
/usr/include/c++/4.7/ext/string_conversions.h:50:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:2834:22: note:   cannot convert '__idx' (type 'size_t* {aka long unsigned int*}') to type 'int*'
/usr/include/c++/4.7/bits/basic_string.h: In function 'long long int std::stoll(const string&, size_t*, int)':
/usr/include/c++/4.7/bits/basic_string.h:2839:22: error: no matching function for call to '__stoa(long long int (*)(const char*, char**, int)throw (), const char [6], const char*, size_t*&, int&)'
/usr/include/c++/4.7/bits/basic_string.h:2839:22: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:50:5: note: template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)
/usr/include/c++/4.7/ext/string_conversions.h:50:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:2839:22: note:   cannot convert '__idx' (type 'size_t* {aka long unsigned int*}') to type 'int*'
/usr/include/c++/4.7/bits/basic_string.h: In function 'long long unsigned int std::stoull(const string&, size_t*, int)':
/usr/include/c++/4.7/bits/basic_string.h:2844:22: error: no matching function for call to '__stoa(long long unsigned int (*)(const char*, char**, int)throw (), const char [7], const char*, size_t*&, int&)'
/usr/include/c++/4.7/bits/basic_string.h:2844:22: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:50:5: note: template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)
/usr/include/c++/4.7/ext/string_conversions.h:50:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:2844:22: note:   cannot convert '__idx' (type 'size_t* {aka long unsigned int*}') to type 'int*'
/usr/include/c++/4.7/bits/basic_string.h: In function 'float std::stof(const string&, size_t*)':
/usr/include/c++/4.7/bits/basic_string.h:2849:72: error: no matching function for call to '__stoa(float (*)(const char*, char**)throw (), const char [5], const char*, size_t*&)'
/usr/include/c++/4.7/bits/basic_string.h:2849:72: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:50:5: note: template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)
/usr/include/c++/4.7/ext/string_conversions.h:50:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:2849:72: note:   cannot convert '__idx' (type 'size_t* {aka long unsigned int*}') to type 'int*'
/usr/include/c++/4.7/bits/basic_string.h: In function 'double std::stod(const string&, size_t*)':
/usr/include/c++/4.7/bits/basic_string.h:2853:72: error: no matching function for call to '__stoa(double (*)(const char*, char**)throw (), const char [5], const char*, size_t*&)'
/usr/include/c++/4.7/bits/basic_string.h:2853:72: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:50:5: note: template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)
/usr/include/c++/4.7/ext/string_conversions.h:50:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:2853:72: note:   cannot convert '__idx' (type 'size_t* {aka long unsigned int*}') to type 'int*'
/usr/include/c++/4.7/bits/basic_string.h: In function 'long double std::stold(const string&, size_t*)':
/usr/include/c++/4.7/bits/basic_string.h:2857:74: error: no matching function for call to '__stoa(long double (*)(const char*, char**)throw (), const char [6], const char*, size_t*&)'
/usr/include/c++/4.7/bits/basic_string.h:2857:74: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:50:5: note: template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)
/usr/include/c++/4.7/ext/string_conversions.h:50:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:2857:74: note:   cannot convert '__idx' (type 'size_t* {aka long unsigned int*}') to type 'int*'
/usr/include/c++/4.7/bits/basic_string.h: In function 'std::string std::to_string(int)':
/usr/include/c++/4.7/bits/basic_string.h:2865:20: error: no matching function for call to '__to_xstring(int (*)(char*, size_t, const char*, __va_list_tag*)throw (), long unsigned int, const char [3], int&)'
/usr/include/c++/4.7/bits/basic_string.h:2865:20: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:2865:20: note:   mismatched types 'int' and 'size_t {aka long unsigned int}'
/usr/include/c++/4.7/bits/basic_string.h: In function 'std::string std::to_string(unsigned int)':
/usr/include/c++/4.7/bits/basic_string.h:2871:20: error: no matching function for call to '__to_xstring(int (*)(char*, size_t, const char*, __va_list_tag*)throw (), long unsigned int, const char [3], unsigned int&)'
/usr/include/c++/4.7/bits/basic_string.h:2871:20: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:2871:20: note:   mismatched types 'int' and 'size_t {aka long unsigned int}'
/usr/include/c++/4.7/bits/basic_string.h: In function 'std::string std::to_string(long int)':
/usr/include/c++/4.7/bits/basic_string.h:2876:21: error: no matching function for call to '__to_xstring(int (*)(char*, size_t, const char*, __va_list_tag*)throw (), long unsigned int, const char [4], long int&)'
/usr/include/c++/4.7/bits/basic_string.h:2876:21: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:2876:21: note:   mismatched types 'int' and 'size_t {aka long unsigned int}'
/usr/include/c++/4.7/bits/basic_string.h: In function 'std::string std::to_string(long unsigned int)':
/usr/include/c++/4.7/bits/basic_string.h:2882:21: error: no matching function for call to '__to_xstring(int (*)(char*, size_t, const char*, __va_list_tag*)throw (), long unsigned int, const char [4], long unsigned int&)'
/usr/include/c++/4.7/bits/basic_string.h:2882:21: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:2882:21: note:   mismatched types 'int' and 'size_t {aka long unsigned int}'
/usr/include/c++/4.7/bits/basic_string.h: In function 'std::string std::to_string(long long int)':
/usr/include/c++/4.7/bits/basic_string.h:2888:22: error: no matching function for call to '__to_xstring(int (*)(char*, size_t, const char*, __va_list_tag*)throw (), long unsigned int, const char [5], long long int&)'
/usr/include/c++/4.7/bits/basic_string.h:2888:22: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:2888:22: note:   mismatched types 'int' and 'size_t {aka long unsigned int}'
/usr/include/c++/4.7/bits/basic_string.h: In function 'std::string std::to_string(long long unsigned int)':
/usr/include/c++/4.7/bits/basic_string.h:2894:22: error: no matching function for call to '__to_xstring(int (*)(char*, size_t, const char*, __va_list_tag*)throw (), long unsigned int, const char [5], long long unsigned int&)'
/usr/include/c++/4.7/bits/basic_string.h:2894:22: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:2894:22: note:   mismatched types 'int' and 'size_t {aka long unsigned int}'
/usr/include/c++/4.7/bits/basic_string.h: In function 'std::string std::to_string(float)':
/usr/include/c++/4.7/bits/basic_string.h:2902:20: error: no matching function for call to '__to_xstring(int (*)(char*, size_t, const char*, __va_list_tag*)throw (), const int&, const char [3], float&)'
/usr/include/c++/4.7/bits/basic_string.h:2902:20: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:2902:20: note:   mismatched types 'int' and 'size_t {aka long unsigned int}'
/usr/include/c++/4.7/bits/basic_string.h: In function 'std::string std::to_string(double)':
/usr/include/c++/4.7/bits/basic_string.h:2911:20: error: no matching function for call to '__to_xstring(int (*)(char*, size_t, const char*, __va_list_tag*)throw (), const int&, const char [3], double&)'
/usr/include/c++/4.7/bits/basic_string.h:2911:20: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:2911:20: note:   mismatched types 'int' and 'size_t {aka long unsigned int}'
/usr/include/c++/4.7/bits/basic_string.h: In function 'std::string std::to_string(long double)':
/usr/include/c++/4.7/bits/basic_string.h:2920:21: error: no matching function for call to '__to_xstring(int (*)(char*, size_t, const char*, __va_list_tag*)throw (), const int&, const char [4], long double&)'
/usr/include/c++/4.7/bits/basic_string.h:2920:21: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:2920:21: note:   mismatched types 'int' and 'size_t {aka long unsigned int}'
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h: In instantiation of 'class std::basic_string<wchar_t>':
/usr/include/c++/4.7/bits/basic_string.h:2926:68:   required from here
/usr/include/c++/4.7/bits/basic_string.h:119: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.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h: In function 'int std::stoi(const wstring&, size_t*, int)':
/usr/include/c++/4.7/bits/basic_string.h:2927:19: error: no matching function for call to '__stoa(long int (*)(const wchar_t*, wchar_t**, int)throw (), const char [5], const wchar_t*, size_t*&, int&)'
/usr/include/c++/4.7/bits/basic_string.h:2927:19: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:50:5: note: template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)
/usr/include/c++/4.7/ext/string_conversions.h:50:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:2927:19: note:   cannot convert '__idx' (type 'size_t* {aka long unsigned int*}') to type 'int*'
/usr/include/c++/4.7/bits/basic_string.h: In function 'long int std::stol(const wstring&, size_t*, int)':
/usr/include/c++/4.7/bits/basic_string.h:2932:22: error: no matching function for call to '__stoa(long int (*)(const wchar_t*, wchar_t**, int)throw (), const char [5], const wchar_t*, size_t*&, int&)'
/usr/include/c++/4.7/bits/basic_string.h:2932:22: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:50:5: note: template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)
/usr/include/c++/4.7/ext/string_conversions.h:50:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:2932:22: note:   cannot convert '__idx' (type 'size_t* {aka long unsigned int*}') to type 'int*'
/usr/include/c++/4.7/bits/basic_string.h: In function 'long unsigned int std::stoul(const wstring&, size_t*, int)':
/usr/include/c++/4.7/bits/basic_string.h:2937:22: error: no matching function for call to '__stoa(long unsigned int (*)(const wchar_t*, wchar_t**, int)throw (), const char [6], const wchar_t*, size_t*&, int&)'
/usr/include/c++/4.7/bits/basic_string.h:2937:22: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:50:5: note: template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)
/usr/include/c++/4.7/ext/string_conversions.h:50:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:2937:22: note:   cannot convert '__idx' (type 'size_t* {aka long unsigned int*}') to type 'int*'
/usr/include/c++/4.7/bits/basic_string.h: In function 'long long int std::stoll(const wstring&, size_t*, int)':
/usr/include/c++/4.7/bits/basic_string.h:2942:22: error: no matching function for call to '__stoa(long long int (*)(const wchar_t*, wchar_t**, int)throw (), const char [6], const wchar_t*, size_t*&, int&)'
/usr/include/c++/4.7/bits/basic_string.h:2942:22: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:50:5: note: template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)
/usr/include/c++/4.7/ext/string_conversions.h:50:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:2942:22: note:   cannot convert '__idx' (type 'size_t* {aka long unsigned int*}') to type 'int*'
/usr/include/c++/4.7/bits/basic_string.h: In function 'long long unsigned int std::stoull(const wstring&, size_t*, int)':
/usr/include/c++/4.7/bits/basic_string.h:2947:22: error: no matching function for call to '__stoa(long long unsigned int (*)(const wchar_t*, wchar_t**, int)throw (), const char [7], const wchar_t*, size_t*&, int&)'
/usr/include/c++/4.7/bits/basic_string.h:2947:22: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:50:5: note: template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)
/usr/include/c++/4.7/ext/string_conversions.h:50:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:2947:22: note:   cannot convert '__idx' (type 'size_t* {aka long unsigned int*}') to type 'int*'
/usr/include/c++/4.7/bits/basic_string.h: In function 'float std::stof(const wstring&, size_t*)':
/usr/include/c++/4.7/bits/basic_string.h:2952:72: error: no matching function for call to '__stoa(float (*)(const wchar_t*, wchar_t**)throw (), const char [5], const wchar_t*, size_t*&)'
/usr/include/c++/4.7/bits/basic_string.h:2952:72: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:50:5: note: template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)
/usr/include/c++/4.7/ext/string_conversions.h:50:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:2952:72: note:   cannot convert '__idx' (type 'size_t* {aka long unsigned int*}') to type 'int*'
/usr/include/c++/4.7/bits/basic_string.h: In function 'double std::stod(const wstring&, size_t*)':
/usr/include/c++/4.7/bits/basic_string.h:2956:72: error: no matching function for call to '__stoa(double (*)(const wchar_t*, wchar_t**)throw (), const char [5], const wchar_t*, size_t*&)'
/usr/include/c++/4.7/bits/basic_string.h:2956:72: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:50:5: note: template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)
/usr/include/c++/4.7/ext/string_conversions.h:50:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:2956:72: note:   cannot convert '__idx' (type 'size_t* {aka long unsigned int*}') to type 'int*'
/usr/include/c++/4.7/bits/basic_string.h: In function 'long double std::stold(const wstring&, size_t*)':
/usr/include/c++/4.7/bits/basic_string.h:2960:74: error: no matching function for call to '__stoa(long double (*)(const wchar_t*, wchar_t**)throw (), const char [6], const wchar_t*, size_t*&)'
/usr/include/c++/4.7/bits/basic_string.h:2960:74: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:50:5: note: template<class _TRet, class _Ret, class _CharT, class ... _Base> _Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, int*, _Base ...)
/usr/include/c++/4.7/ext/string_conversions.h:50:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:2960:74: note:   cannot convert '__idx' (type 'size_t* {aka long unsigned int*}') to type 'int*'
/usr/include/c++/4.7/bits/basic_string.h: In function 'std::wstring std::to_wstring(int)':
/usr/include/c++/4.7/bits/basic_string.h:2966:22: error: no matching function for call to '__to_xstring(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*)throw (), long unsigned int, const wchar_t [3], int&)'
/usr/include/c++/4.7/bits/basic_string.h:2966:22: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:2966:22: note:   mismatched types 'int' and 'size_t {aka long unsigned int}'
/usr/include/c++/4.7/bits/basic_string.h: In function 'std::wstring std::to_wstring(unsigned int)':
/usr/include/c++/4.7/bits/basic_string.h:2972:22: error: no matching function for call to '__to_xstring(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*)throw (), long unsigned int, const wchar_t [3], unsigned int&)'
/usr/include/c++/4.7/bits/basic_string.h:2972:22: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:2972:22: note:   mismatched types 'int' and 'size_t {aka long unsigned int}'
/usr/include/c++/4.7/bits/basic_string.h: In function 'std::wstring std::to_wstring(long int)':
/usr/include/c++/4.7/bits/basic_string.h:2977:23: error: no matching function for call to '__to_xstring(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*)throw (), long unsigned int, const wchar_t [4], long int&)'
/usr/include/c++/4.7/bits/basic_string.h:2977:23: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:2977:23: note:   mismatched types 'int' and 'size_t {aka long unsigned int}'
/usr/include/c++/4.7/bits/basic_string.h: In function 'std::wstring std::to_wstring(long unsigned int)':
/usr/include/c++/4.7/bits/basic_string.h:2983:23: error: no matching function for call to '__to_xstring(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*)throw (), long unsigned int, const wchar_t [4], long unsigned int&)'
/usr/include/c++/4.7/bits/basic_string.h:2983:23: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:2983:23: note:   mismatched types 'int' and 'size_t {aka long unsigned int}'
/usr/include/c++/4.7/bits/basic_string.h: In function 'std::wstring std::to_wstring(long long int)':
/usr/include/c++/4.7/bits/basic_string.h:2989:24: error: no matching function for call to '__to_xstring(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*)throw (), long unsigned int, const wchar_t [5], long long int&)'
/usr/include/c++/4.7/bits/basic_string.h:2989:24: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:2989:24: note:   mismatched types 'int' and 'size_t {aka long unsigned int}'
/usr/include/c++/4.7/bits/basic_string.h: In function 'std::wstring std::to_wstring(long long unsigned int)':
/usr/include/c++/4.7/bits/basic_string.h:2995:24: error: no matching function for call to '__to_xstring(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*)throw (), long unsigned int, const wchar_t [5], long long unsigned int&)'
/usr/include/c++/4.7/bits/basic_string.h:2995:24: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:2995:24: note:   mismatched types 'int' and 'size_t {aka long unsigned int}'
/usr/include/c++/4.7/bits/basic_string.h: In function 'std::wstring std::to_wstring(float)':
/usr/include/c++/4.7/bits/basic_string.h:3003:22: error: no matching function for call to '__to_xstring(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*)throw (), const int&, const wchar_t [3], float&)'
/usr/include/c++/4.7/bits/basic_string.h:3003:22: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:3003:22: note:   mismatched types 'int' and 'size_t {aka long unsigned int}'
/usr/include/c++/4.7/bits/basic_string.h: In function 'std::wstring std::to_wstring(double)':
/usr/include/c++/4.7/bits/basic_string.h:3012:22: error: no matching function for call to '__to_xstring(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*)throw (), const int&, const wchar_t [3], double&)'
/usr/include/c++/4.7/bits/basic_string.h:3012:22: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:3012:22: note:   mismatched types 'int' and 'size_t {aka long unsigned int}'
/usr/include/c++/4.7/bits/basic_string.h: In function 'std::wstring std::to_wstring(long double)':
/usr/include/c++/4.7/bits/basic_string.h:3021:23: error: no matching function for call to '__to_xstring(int (*)(wchar_t*, size_t, const wchar_t*, __va_list_tag*)throw (), const int&, const wchar_t [4], long double&)'
/usr/include/c++/4.7/bits/basic_string.h:3021:23: note: candidate is:
In file included from /usr/include/c++/4.7/bits/basic_string.h:2814:0,
                 from /usr/include/c++/4.7/string:54,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note: template<class _String, class _CharT> _String __gnu_cxx::__to_xstring(int (*)(_CharT*, int, const _CharT*, __va_list_tag*), int, const _CharT*, ...)
/usr/include/c++/4.7/ext/string_conversions.h:79:5: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h:3021:23: note:   mismatched types 'int' and 'size_t {aka long unsigned int}'
In file included from /usr/include/c++/4.7/string:54:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/basic_string.h: In instantiation of 'class std::basic_string<char16_t>':
/usr/include/c++/4.7/bits/basic_string.h:3073:41:   required from here
/usr/include/c++/4.7/bits/basic_string.h:119:61: error: no type named 'difference_type' in 'std::basic_string<char16_t>::_CharT_alloc_type {aka class std::allocator<char16_t>}'
/usr/include/c++/4.7/bits/basic_string.h: In instantiation of 'class std::basic_string<char32_t>':
/usr/include/c++/4.7/bits/basic_string.h:3084:41:   required from here
/usr/include/c++/4.7/bits/basic_string.h:119:61: error: no type named 'difference_type' in 'std::basic_string<char32_t>::_CharT_alloc_type {aka class std::allocator<char32_t>}'
In file included from /usr/include/c++/4.7/string:55:0,
                 from /usr/include/c++/4.7/bits/locale_classes.h:42,
                 from /usr/include/c++/4.7/bits/ios_base.h:43,
                 from /usr/include/c++/4.7/ios:43,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/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.7/bits/basic_string.tcc:1020:14: error: 'streamsize' does not name a type
/usr/include/c++/4.7/bits/basic_string.tcc:1021:32: error: '__w' was not declared in this scope
In file included from /usr/include/c++/4.7/ios:43:0,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/ios_base.h: At global scope:
/usr/include/c++/4.7/bits/ios_base.h:454:5: error: 'streamsize' does not name a type
/usr/include/c++/4.7/bits/ios_base.h:455:5: error: 'streamsize' does not name a type
/usr/include/c++/4.7/bits/ios_base.h:622:5: error: 'streamsize' does not name a type
/usr/include/c++/4.7/bits/ios_base.h:631:5: error: 'streamsize' does not name a type
/usr/include/c++/4.7/bits/ios_base.h:645:5: error: 'streamsize' does not name a type
/usr/include/c++/4.7/bits/ios_base.h:654:5: error: 'streamsize' does not name a type
In file included from /usr/include/c++/4.7/ios:44:0,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/streambuf:51:5: error: 'streamsize' does not name a type
/usr/include/c++/4.7/streambuf:144:14: error: 'streamsize' does not name a type
/usr/include/c++/4.7/streambuf:237:33: error: 'streamsize' has not been declared
/usr/include/c++/4.7/streambuf:281:7: error: 'streamsize' does not name a type
/usr/include/c++/4.7/streambuf:354:7: error: 'streamsize' does not name a type
/usr/include/c++/4.7/streambuf:447:7: error: 'streamsize' does not name a type
/usr/include/c++/4.7/streambuf:589:26: error: 'streamsize' has not been declared
/usr/include/c++/4.7/streambuf:646:15: error: 'streamsize' does not name a type
/usr/include/c++/4.7/streambuf:662:15: error: 'streamsize' does not name a type
/usr/include/c++/4.7/streambuf:739:15: error: 'streamsize' does not name a type
/usr/include/c++/4.7/streambuf:792:20: error: 'streamsize' has not been declared
/usr/include/c++/4.7/streambuf:795:20: error: 'streamsize' has not been declared
/usr/include/c++/4.7/streambuf:813:5: error: 'streamsize' does not name a type
/usr/include/c++/4.7/streambuf:818:5: error: 'streamsize' does not name a type
In file included from /usr/include/c++/4.7/streambuf:826:0,
                 from /usr/include/c++/4.7/ios:44,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/streambuf.tcc:45:5: error: 'streamsize' does not name a type
/usr/include/c++/4.7/bits/streambuf.tcc:79:5: error: 'streamsize' does not name a type
/usr/include/c++/4.7/bits/streambuf.tcc:116:5: error: 'streamsize' does not name a type
/usr/include/c++/4.7/bits/streambuf.tcc:139:12: error: 'streamsize' does not name a type
/usr/include/c++/4.7/bits/streambuf.tcc:152:5: error: explicit instantiation of non-template 'int std::streamsize'
/usr/include/c++/4.7/bits/streambuf.tcc:153:5: error: expected ';' before '__copy_streambufs'
/usr/include/c++/4.7/bits/streambuf.tcc:156:5: error: explicit instantiation of non-template 'int std::streamsize'
/usr/include/c++/4.7/bits/streambuf.tcc:157:5: error: expected ';' before '__copy_streambufs_eof'
/usr/include/c++/4.7/bits/streambuf.tcc:163:5: error: explicit instantiation of non-template 'int std::streamsize'
/usr/include/c++/4.7/bits/streambuf.tcc:164:5: error: expected ';' before '__copy_streambufs'
/usr/include/c++/4.7/bits/streambuf.tcc:167:5: error: explicit instantiation of non-template 'int std::streamsize'
/usr/include/c++/4.7/bits/streambuf.tcc:168:5: error: expected ';' before '__copy_streambufs_eof'
In file included from /usr/include/c++/4.7/bits/locale_facets.h:50:0,
                 from /usr/include/c++/4.7/bits/basic_ios.h:39,
                 from /usr/include/c++/4.7/ios:45,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/streambuf_iterator.h:57:15: error: wrong number of template arguments (5, should be 3)
In file included from /usr/include/c++/4.7/bits/stl_algobase.h:66:0,
                 from /usr/include/c++/4.7/bits/char_traits.h:41,
                 from /usr/include/c++/4.7/ios:41,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/stl_iterator_base_types.h:119:12: error: provided for 'template<class _Category, class _Tp, class _Distance> struct std::iterator'
In file included from /usr/include/c++/4.7/bits/locale_facets.h:50:0,
                 from /usr/include/c++/4.7/bits/basic_ios.h:39,
                 from /usr/include/c++/4.7/ios:45,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/streambuf_iterator.h:219:66: error: wrong number of template arguments (5, should be 3)
In file included from /usr/include/c++/4.7/bits/stl_algobase.h:66:0,
                 from /usr/include/c++/4.7/bits/char_traits.h:41,
                 from /usr/include/c++/4.7/ios:41,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/stl_iterator_base_types.h:119:12: error: provided for 'template<class _Category, class _Tp, class _Distance> struct std::iterator'
In file included from /usr/include/c++/4.7/bits/locale_facets.h:50:0,
                 from /usr/include/c++/4.7/bits/basic_ios.h:39,
                 from /usr/include/c++/4.7/ios:45,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/streambuf_iterator.h:281:34: error: 'streamsize' has not been declared
/usr/include/c++/4.7/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.7/bits/streambuf_iterator.h:315:13: error: 'streamsize' does not name a type
/usr/include/c++/4.7/bits/streambuf_iterator.h:316:11: error: '__num' was not declared in this scope
/usr/include/c++/4.7/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.7/bits/streambuf_iterator.h:327:13: error: 'streamsize' does not name a type
/usr/include/c++/4.7/bits/streambuf_iterator.h:328:11: error: '__num' was not declared in this scope
/usr/include/c++/4.7/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.7/bits/streambuf_iterator.h:350:14: error: 'streamsize' does not name a type
/usr/include/c++/4.7/bits/streambuf_iterator.h:351:12: error: '__n' was not declared in this scope
/usr/include/c++/4.7/bits/streambuf_iterator.h: In function 'typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT2, std::char_traits<_CharT> > >::__type std::find(std::istreambuf_iterator<_CharT2, std::char_traits<_CharT> >, std::istreambuf_iterator<_CharT2, std::char_traits<_CharT> >, const _CharT2&)':
/usr/include/c++/4.7/bits/streambuf_iterator.h:387:8: error: 'streamsize' was not declared in this scope
/usr/include/c++/4.7/bits/streambuf_iterator.h:387:19: error: expected ';' before '__n'
/usr/include/c++/4.7/bits/streambuf_iterator.h:388:12: error: '__n' was not declared in this scope
In file included from /usr/include/c++/4.7/bits/basic_ios.h:39:0,
                 from /usr/include/c++/4.7/ios:45,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/locale_facets.h: At global scope:
/usr/include/c++/4.7/bits/locale_facets.h:94:29: error: 'streamsize' has not been declared
/usr/include/c++/4.7/bits/locale_facets.h:94:50: error: 'streamsize' has not been declared
In file included from /usr/include/c++/4.7/bits/basic_ios.h:39:0,
                 from /usr/include/c++/4.7/ios:45,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/locale_facets.h:2448:32: error: 'streamsize' has not been declared
In file included from /usr/include/c++/4.7/bits/locale_facets.h:2607:0,
                 from /usr/include/c++/4.7/bits/basic_ios.h:39,
                 from /usr/include/c++/4.7/ios:45,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/locale_facets.tcc:777:27: error: 'streamsize' has not been declared
/usr/include/c++/4.7/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.7/bits/locale_facets.tcc:918:8: error: 'streamsize' does not name a type
/usr/include/c++/4.7/bits/locale_facets.tcc:919:6: error: '__w' was not declared in this scope
/usr/include/c++/4.7/bits/locale_facets.tcc:919:24: error: expected type-specifier before 'streamsize'
/usr/include/c++/4.7/bits/locale_facets.tcc:919:24: error: expected '>' before 'streamsize'
/usr/include/c++/4.7/bits/locale_facets.tcc:919:24: error: expected '(' before 'streamsize'
/usr/include/c++/4.7/bits/locale_facets.tcc:919:24: error: 'streamsize' was not declared in this scope
/usr/include/c++/4.7/bits/locale_facets.tcc:920:4: error: expected ')' before '{' token
/usr/include/c++/4.7/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.7/bits/locale_facets.tcc:981:8: error: 'streamsize' does not name a type
/usr/include/c++/4.7/bits/locale_facets.tcc:998:19: error: '__prec' was not declared in this scope
/usr/include/c++/4.7/bits/locale_facets.tcc:1056:6: error: 'streamsize' was not declared in this scope
/usr/include/c++/4.7/bits/locale_facets.tcc:1056:17: error: expected ';' before '__off'
/usr/include/c++/4.7/bits/locale_facets.tcc:1059:3: error: '__off' was not declared in this scope
/usr/include/c++/4.7/bits/locale_facets.tcc:1065:45: error: '__off' was not declared in this scope
/usr/include/c++/4.7/bits/locale_facets.tcc:1073:8: error: 'streamsize' does not name a type
/usr/include/c++/4.7/bits/locale_facets.tcc:1074:6: error: '__w' was not declared in this scope
/usr/include/c++/4.7/bits/locale_facets.tcc:1074:24: error: expected type-specifier before 'streamsize'
/usr/include/c++/4.7/bits/locale_facets.tcc:1074:24: error: expected '>' before 'streamsize'
/usr/include/c++/4.7/bits/locale_facets.tcc:1074:24: error: expected '(' before 'streamsize'
/usr/include/c++/4.7/bits/locale_facets.tcc:1074:24: error: 'streamsize' was not declared in this scope
/usr/include/c++/4.7/bits/locale_facets.tcc:1075:4: error: expected ')' before '{' token
/usr/include/c++/4.7/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.7/bits/locale_facets.tcc:1111:10: error: 'streamsize' does not name a type
/usr/include/c++/4.7/bits/locale_facets.tcc:1112:8: error: '__w' was not declared in this scope
/usr/include/c++/4.7/bits/locale_facets.tcc:1112:26: error: expected type-specifier before 'streamsize'
/usr/include/c++/4.7/bits/locale_facets.tcc:1112:26: error: expected '>' before 'streamsize'
/usr/include/c++/4.7/bits/locale_facets.tcc:1112:26: error: expected '(' before 'streamsize'
/usr/include/c++/4.7/bits/locale_facets.tcc:1112:26: error: 'streamsize' was not declared in this scope
/usr/include/c++/4.7/bits/locale_facets.tcc:1113:6: error: expected ')' before '{' token
/usr/include/c++/4.7/bits/locale_facets.tcc: At global scope:
/usr/include/c++/4.7/bits/locale_facets.tcc:1195:8: error: 'streamsize' has not been declared
/usr/include/c++/4.7/bits/locale_facets.tcc:1195:29: error: 'streamsize' has not been declared
In file included from /usr/include/c++/4.7/iostream:40:0,
                 from prog.cpp:2:
/usr/include/c++/4.7/ostream:309:38: error: 'streamsize' has not been declared
/usr/include/c++/4.7/ostream:333:35: error: 'streamsize' has not been declared
/usr/include/c++/4.7/ostream: In member function 'void std::basic_ostream<_CharT, _Traits>::_M_write(const char_type*, int)':
/usr/include/c++/4.7/ostream:311:8: error: 'streamsize' does not name a type
/usr/include/c++/4.7/ostream:312:6: error: '__put' was not declared in this scope
/usr/include/c++/4.7/ostream: In function 'std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const _CharT*)':
/usr/include/c++/4.7/ostream:517:17: error: expected type-specifier before 'streamsize'
/usr/include/c++/4.7/ostream:517:17: error: expected '>' before 'streamsize'
/usr/include/c++/4.7/ostream:517:17: error: expected '(' before 'streamsize'
/usr/include/c++/4.7/ostream:517:17: error: 'streamsize' was not declared in this scope
/usr/include/c++/4.7/ostream: In function 'std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const char*)':
/usr/include/c++/4.7/ostream:534:17: error: expected type-specifier before 'streamsize'
/usr/include/c++/4.7/ostream:534:17: error: expected '>' before 'streamsize'
/usr/include/c++/4.7/ostream:534:17: error: expected '(' before 'streamsize'
/usr/include/c++/4.7/ostream:534:17: error: 'streamsize' was not declared in this scope
In file included from /usr/include/c++/4.7/ostream:607:0,
                 from /usr/include/c++/4.7/iostream:40,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/ostream.tcc: At global scope:
/usr/include/c++/4.7/bits/ostream.tcc:185:30: error: 'streamsize' has not been declared
In file included from /usr/include/c++/4.7/iostream:41:0,
                 from prog.cpp:2:
/usr/include/c++/4.7/istream:80:7: error: 'streamsize' does not name a type
/usr/include/c++/4.7/istream:266:7: error: 'streamsize' does not name a type
/usr/include/c++/4.7/istream:341:27: error: 'streamsize' has not been declared
/usr/include/c++/4.7/istream:352:27: error: 'streamsize' has not been declared
/usr/include/c++/4.7/istream:414:31: error: 'streamsize' has not been declared
/usr/include/c++/4.7/istream:425:31: error: 'streamsize' has not been declared
/usr/include/c++/4.7/istream:449:7: error: expected ';' at end of member declaration
/usr/include/c++/4.7/istream:449:25: error: expected ')' before '__n'
/usr/include/c++/4.7/istream:452:7: error: expected ';' at end of member declaration
/usr/include/c++/4.7/istream:452:14: error: redeclaration of 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::ignore'
/usr/include/c++/4.7/istream:449:14: note: previous declaration 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::ignore'
/usr/include/c++/4.7/istream:452:25: error: expected ')' before '__n'
/usr/include/c++/4.7/istream:455:14: error: 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::ignore()' conflicts with a previous declaration
/usr/include/c++/4.7/istream:449:14: note: previous declaration 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::ignore'
/usr/include/c++/4.7/istream:484:28: error: 'streamsize' has not been declared
/usr/include/c++/4.7/istream:502:7: error: 'streamsize' does not name a type
/usr/include/c++/4.7/istream: In constructor 'std::basic_istream<_CharT, _Traits>::basic_istream(std::basic_istream<_CharT, _Traits>::__streambuf_type*)':
/usr/include/c++/4.7/istream:92:9: error: class 'std::basic_istream<_CharT, _Traits>' does not have any field named '_M_gcount'
/usr/include/c++/4.7/istream:92:31: error: there are no arguments to 'streamsize' that depend on a template parameter, so a declaration of 'streamsize' must be available [-fpermissive]
/usr/include/c++/4.7/istream:92: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.7/istream: In destructor 'virtual std::basic_istream<_CharT, _Traits>::~basic_istream()':
/usr/include/c++/4.7/istream:102:9: error: '_M_gcount' was not declared in this scope
/usr/include/c++/4.7/istream:102:33: error: there are no arguments to 'streamsize' that depend on a template parameter, so a declaration of 'streamsize' must be available [-fpermissive]
/usr/include/c++/4.7/istream: In constructor 'std::basic_istream<_CharT, _Traits>::basic_istream()':
/usr/include/c++/4.7/istream:605:9: error: class 'std::basic_istream<_CharT, _Traits>' does not have any field named '_M_gcount'
/usr/include/c++/4.7/istream:605:31: error: there are no arguments to 'streamsize' that depend on a template parameter, so a declaration of 'streamsize' must be available [-fpermissive]
/usr/include/c++/4.7/istream: In instantiation of 'class std::basic_istream<char>':
/usr/include/c++/4.7/istream:616:24:   required from here
/usr/include/c++/4.7/istream:449: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
/usr/include/c++/4.7/istream:449:14: note: previous declaration 'std::basic_istream<char>::__istream_type& std::basic_istream<char>::ignore'
/usr/include/c++/4.7/istream: At global scope:
/usr/include/c++/4.7/istream:617:29: error: 'streamsize' has not been declared
/usr/include/c++/4.7/istream:622:12: error: 'std::basic_istream<char>& std::basic_istream<char>::ignore' is not a static member of 'class std::basic_istream<char>'
/usr/include/c++/4.7/istream:622:12: error: 'streamsize' was not declared in this scope
/usr/include/c++/4.7/istream:627:12: error: 'std::basic_istream<char>& std::basic_istream<char>::ignore' is not a static member of 'class std::basic_istream<char>'
/usr/include/c++/4.7/istream:627:12: error: 'streamsize' was not declared in this scope
/usr/include/c++/4.7/istream:627:37: error: expected primary-expression before '__delim'
/usr/include/c++/4.7/istream:627:44: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/c++/4.7/istream: In instantiation of 'class std::basic_istream<wchar_t>':
/usr/include/c++/4.7/istream:632:27:   required from here
/usr/include/c++/4.7/istream:449: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
/usr/include/c++/4.7/istream:449:14: note: previous declaration 'std::basic_istream<wchar_t>::__istream_type& std::basic_istream<wchar_t>::ignore'
/usr/include/c++/4.7/istream:633:29: error: 'streamsize' has not been declared
/usr/include/c++/4.7/istream:638: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>'
/usr/include/c++/4.7/istream:638:12: error: 'streamsize' was not declared in this scope
/usr/include/c++/4.7/istream:643: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>'
/usr/include/c++/4.7/istream:643:12: error: 'streamsize' was not declared in this scope
/usr/include/c++/4.7/istream:643:37: error: expected primary-expression before '__delim'
/usr/include/c++/4.7/istream:643:44: error: expression list treated as compound expression in initializer [-fpermissive]
In file included from /usr/include/c++/4.7/istream:873:0,
                 from /usr/include/c++/4.7/iostream:41,
                 from prog.cpp:2:
/usr/include/c++/4.7/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>::int_type std::basic_istream<_CharT, _Traits>::get()':
/usr/include/c++/4.7/bits/istream.tcc:242:7: error: '_M_gcount' was not declared in this scope
/usr/include/c++/4.7/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.7/bits/istream.tcc:276:7: error: '_M_gcount' was not declared in this scope
/usr/include/c++/4.7/bits/istream.tcc: At global scope:
/usr/include/c++/4.7/bits/istream.tcc:311:25: error: 'streamsize' has not been declared
/usr/include/c++/4.7/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.7/bits/istream.tcc:313:7: error: '_M_gcount' was not declared in this scope
/usr/include/c++/4.7/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.7/bits/istream.tcc:360:7: error: '_M_gcount' was not declared in this scope
/usr/include/c++/4.7/bits/istream.tcc: At global scope:
/usr/include/c++/4.7/bits/istream.tcc:402:29: error: 'streamsize' has not been declared
/usr/include/c++/4.7/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.7/bits/istream.tcc:404:7: error: '_M_gcount' was not declared in this scope
/usr/include/c++/4.7/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore()':
/usr/include/c++/4.7/bits/istream.tcc:464:7: error: '_M_gcount' was not declared in this scope
/usr/include/c++/4.7/bits/istream.tcc: At global scope:
/usr/include/c++/4.7/bits/istream.tcc:495: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>'
/usr/include/c++/4.7/bits/istream.tcc:495:12: error: template definition of non-template 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore'
/usr/include/c++/4.7/bits/istream.tcc:495:12: error: 'streamsize' was not declared in this scope
/usr/include/c++/4.7/bits/istream.tcc:557: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>'
/usr/include/c++/4.7/bits/istream.tcc:557:12: error: template definition of non-template 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore'
/usr/include/c++/4.7/bits/istream.tcc:557:12: error: 'streamsize' was not declared in this scope
/usr/include/c++/4.7/bits/istream.tcc:557:37: error: expected primary-expression before '__delim'
/usr/include/c++/4.7/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>::int_type std::basic_istream<_CharT, _Traits>::peek()':
/usr/include/c++/4.7/bits/istream.tcc:625:7: error: '_M_gcount' was not declared in this scope
/usr/include/c++/4.7/bits/istream.tcc: At global scope:
/usr/include/c++/4.7/bits/istream.tcc:652:26: error: 'streamsize' has not been declared
/usr/include/c++/4.7/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.7/bits/istream.tcc:654:7: error: '_M_gcount' was not declared in this scope
/usr/include/c++/4.7/bits/istream.tcc: At global scope:
/usr/include/c++/4.7/bits/istream.tcc:679:5: error: 'streamsize' does not name a type
/usr/include/c++/4.7/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.7/bits/istream.tcc:717:7: error: '_M_gcount' was not declared in this scope
/usr/include/c++/4.7/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::unget()':
/usr/include/c++/4.7/bits/istream.tcc:752:7: error: '_M_gcount' was not declared in this scope
/usr/include/c++/4.7/bits/istream.tcc: In function 'std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT2*)':
/usr/include/c++/4.7/bits/istream.tcc:965:7: error: 'streamsize' was not declared in this scope
/usr/include/c++/4.7/bits/istream.tcc:965:18: error: expected ';' before '__extracted'
/usr/include/c++/4.7/bits/istream.tcc:973:19: error: expected ';' before '__num'
/usr/include/c++/4.7/bits/istream.tcc:974:12: error: '__num' was not declared in this scope
/usr/include/c++/4.7/bits/istream.tcc:975:39: error: the value of 'streamsize' is not usable in a constant expression
/usr/include/c++/4.7/bits/istream.tcc:965:7: note: 'streamsize' was not declared 'constexpr'
/usr/include/c++/4.7/bits/istream.tcc:975:49: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Value> struct __gnu_cxx::__numeric_traits'
/usr/include/c++/4.7/bits/istream.tcc:975:49: error:   expected a type, got 'streamsize'
/usr/include/c++/4.7/bits/istream.tcc:983:15: error: '__extracted' was not declared in this scope
/usr/include/c++/4.7/bits/istream.tcc:983:29: error: '__num' was not declared in this scope
/usr/include/c++/4.7/bits/istream.tcc:1008:12: error: '__extracted' was not declared in this scope

Questions?

Sponsors Gold