0_0_25084615_17558.cpp:4:1: error: expected unqualified-id before numeric constant
2
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/c++allocator.h:33:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/allocator.h:46,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:61,
from 0_0_25084615_17558.cpp:6:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/new_allocator.h: In member function '_Tp* __gnu_cxx::new_allocator<_Tp>::allocate(__gnu_cxx::new_allocator<_Tp>::size_type, const void*)':
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/new_allocator.h:102:4: error: '__throw_bad_alloc' is not a member of 'std'
std::__throw_bad_alloc();
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from 0_0_25084615_17558.cpp:6:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h: In member function 'std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::_M_check_len(std::vector<_Tp, _Alloc>::size_type, const char*) const':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1425:33: error: there are no arguments to '__throw_length_error' that depend on a template parameter, so a declaration of '__throw_length_error' must be available [-fpermissive]
__throw_length_error(__N(__s));
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1425:33: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:65:0,
from 0_0_25084615_17558.cpp:6:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h: In member function 'void std::vector<bool, _Alloc>::reserve(std::vector<bool, _Alloc>::size_type)':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:807:45: error: there are no arguments to '__throw_length_error' that depend on a template parameter, so a declaration of '__throw_length_error' must be available [-fpermissive]
__throw_length_error(__N("vector::reserve"));
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h: In member function 'std::vector<bool, _Alloc>::size_type std::vector<bool, _Alloc>::_M_check_len(std::vector<bool, _Alloc>::size_type, const char*) const':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_bvector.h:1159:31: error: there are no arguments to '__throw_length_error' that depend on a template parameter, so a declaration of '__throw_length_error' must be available [-fpermissive]
__throw_length_error(__N(__s));
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:69:0,
from 0_0_25084615_17558.cpp:6:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::reserve(std::vector<_Tp, _Alloc>::size_type)':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/vector.tcc:69:45: error: there are no arguments to '__throw_length_error' that depend on a template parameter, so a declaration of '__throw_length_error' must be available [-fpermissive]
__throw_length_error(__N("vector::reserve"));
^
0_0_25084615_17558.cpp: At global scope:
0_0_25084615_17558.cpp:9:1: error: expected unqualified-id before numeric constant
3
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_25084615_17558.cpp:11:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h: In member function 'void std::basic_string<_CharT, _Traits, _Alloc>::_M_check_length(std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const char*) const':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:334:33: error: there are no arguments to '__throw_length_error' that depend on a template parameter, so a declaration of '__throw_length_error' must be available [-fpermissive]
__throw_length_error(__N(__s));
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h: At global scope:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2512:41: error: wrong number of template arguments (1, should be 3)
operator==(const basic_string<_CharT>& __lhs,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:112:11: error: provided for 'template<class _CharT, class _Traits, class _Alloc> class std::basic_string'
class basic_string
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2513:34: error: wrong number of template arguments (1, should be 3)
const basic_string<_CharT>& __rhs)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:112:11: error: provided for 'template<class _CharT, class _Traits, class _Alloc> class std::basic_string'
class basic_string
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2513:42: error: 'typename __gnu_cxx::__enable_if<std::__is_char<_Tp>::__value, bool>::__type std::operator==(const int&, const int&)' must have an argument of class or enumerated type
const basic_string<_CharT>& __rhs)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2759:60: error: wrong number of template arguments (1, should be 3)
operator>>(basic_istream<char>& __is, basic_string<char>& __str);
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:112:11: error: provided for 'template<class _CharT, class _Traits, class _Alloc> class std::basic_string'
class basic_string
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2759:5: error: template-id 'operator>><>' for 'std::basic_istream<char>& std::operator>>(std::basic_istream<char>&, int&)' does not match any template declaration
operator>>(basic_istream<char>& __is, basic_string<char>& __str);
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2834:57: error: wrong number of template arguments (1, should be 3)
getline(basic_istream<char>& __in, basic_string<char>& __str,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:112:11: error: provided for 'template<class _CharT, class _Traits, class _Alloc> class std::basic_string'
class basic_string
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2834:5: error: template-id 'getline<>' for 'std::basic_istream<char>& std::getline(std::basic_istream<char>&, int&, char)' does not match any template declaration
getline(basic_istream<char>& __in, basic_string<char>& __str,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2840:63: error: wrong number of template arguments (1, should be 3)
getline(basic_istream<wchar_t>& __in, basic_string<wchar_t>& __str,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:112:11: error: provided for 'template<class _CharT, class _Traits, class _Alloc> class std::basic_string'
class basic_string
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2840:5: error: template-id 'getline<>' for 'std::basic_istream<wchar_t>& std::getline(std::basic_istream<wchar_t>&, int&, wchar_t)' does not match any template declaration
getline(basic_istream<wchar_t>& __in, basic_string<wchar_t>& __str,
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2850:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_25084615_17558.cpp:11:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/string_conversions.h: In function '_Ret __gnu_cxx::__stoa(_TRet (*)(const _CharT*, _CharT**, _Base ...), const char*, const _CharT*, std::size_t*, _Base ...)':
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/string_conversions.h:65:2: error: '__throw_invalid_argument' is not a member of 'std'
std::__throw_invalid_argument(__name);
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/string_conversions.h:70:2: error: '__throw_out_of_range' is not a member of 'std'
std::__throw_out_of_range(
|