Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from /usr/include/c++/7/bits/stringfwd.h:40:0,
- from /usr/include/c++/7/iosfwd:39,
- from /usr/include/c++/7/ios:38,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/memoryfwd.h:50:1: error: expected unqualified-id before ‘namespace’
- namespace std _GLIBCXX_VISIBILITY(default)
- ^~~~~~~~~
- In file included from /usr/include/c++/7/iosfwd:39:0,
- from /usr/include/c++/7/ios:38,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/stringfwd.h:70:30: error: ‘allocator’ does not name a type; did you mean ‘alloca’?
- typename _Alloc = allocator<_CharT> >
- ^~~~~~~~~
- alloca
- /usr/include/c++/7/bits/stringfwd.h:70:39: error: expected ‘>’ before ‘<’ token
- typename _Alloc = allocator<_CharT> >
- ^
- /usr/include/c++/7/bits/stringfwd.h:74:28: error: template argument 3 is invalid
- typedef basic_string<char> string;
- ^
- /usr/include/c++/7/bits/stringfwd.h:78:31: error: template argument 3 is invalid
- typedef basic_string<wchar_t> wstring;
- ^
- /usr/include/c++/7/bits/stringfwd.h:84:32: error: template argument 3 is invalid
- typedef basic_string<char16_t> u16string;
- ^
- /usr/include/c++/7/bits/stringfwd.h:87:32: error: template argument 3 is invalid
- typedef basic_string<char32_t> u32string;
- ^
- In file included from /usr/include/c++/7/ios:38:0,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/iosfwd:95:24: error: ‘allocator’ does not name a type; did you mean ‘alloca’?
- typename _Alloc = allocator<_CharT> >
- ^~~~~~~~~
- alloca
- /usr/include/c++/7/iosfwd:95:33: error: expected ‘>’ before ‘<’ token
- typename _Alloc = allocator<_CharT> >
- ^
- /usr/include/c++/7/iosfwd:99:23: error: ‘allocator’ does not name a type; did you mean ‘alloca’?
- typename _Alloc = allocator<_CharT> >
- ^~~~~~~~~
- alloca
- /usr/include/c++/7/iosfwd:99:32: error: expected ‘>’ before ‘<’ token
- typename _Alloc = allocator<_CharT> >
- ^
- /usr/include/c++/7/iosfwd:103:23: error: ‘allocator’ does not name a type; did you mean ‘alloca’?
- typename _Alloc = allocator<_CharT> >
- ^~~~~~~~~
- alloca
- /usr/include/c++/7/iosfwd:103:32: error: expected ‘>’ before ‘<’ token
- typename _Alloc = allocator<_CharT> >
- ^
- /usr/include/c++/7/iosfwd:107:23: error: ‘allocator’ does not name a type; did you mean ‘alloca’?
- typename _Alloc = allocator<_CharT> >
- ^~~~~~~~~
- alloca
- /usr/include/c++/7/iosfwd:107:32: error: expected ‘>’ before ‘<’ token
- typename _Alloc = allocator<_CharT> >
- ^
- /usr/include/c++/7/iosfwd:147:31: error: template argument 3 is invalid
- typedef basic_stringbuf<char> stringbuf;
- ^
- /usr/include/c++/7/iosfwd:150:35: error: template argument 3 is invalid
- typedef basic_istringstream<char> istringstream;
- ^
- /usr/include/c++/7/iosfwd:153:35: error: template argument 3 is invalid
- typedef basic_ostringstream<char> ostringstream;
- ^
- /usr/include/c++/7/iosfwd:156:34: error: template argument 3 is invalid
- typedef basic_stringstream<char> stringstream;
- ^
- /usr/include/c++/7/iosfwd:187:34: error: template argument 3 is invalid
- typedef basic_stringbuf<wchar_t> wstringbuf;
- ^
- /usr/include/c++/7/iosfwd:190:38: error: template argument 3 is invalid
- typedef basic_istringstream<wchar_t> wistringstream;
- ^
- /usr/include/c++/7/iosfwd:193:38: error: template argument 3 is invalid
- typedef basic_ostringstream<wchar_t> wostringstream;
- ^
- /usr/include/c++/7/iosfwd:196:37: error: template argument 3 is invalid
- typedef basic_stringstream<wchar_t> wstringstream;
- ^
- In file included from /usr/include/c++/7/string:41:0,
- from /usr/include/c++/7/bits/locale_classes.h:40,
- from /usr/include/c++/7/bits/ios_base.h:41,
- from /usr/include/c++/7/ios:42,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/allocator.h:68:11: error: ‘allocator’ is not a class template
- class allocator<void>
- ^~~~~~~~~
- /usr/include/c++/7/bits/allocator.h:69:5: error: explicit specialization of non-template ‘std::allocator’
- {
- ^
- /usr/include/c++/7/bits/allocator.h:79:12: error: ‘std::allocator’ is not a template
- { typedef allocator<_Tp1> other; };
- ^~~~~~~~~
- /usr/include/c++/7/bits/allocator.h:108:11: error: ‘std::allocator’ is not a template
- class allocator: public __allocator_base<_Tp>
- ^~~~~~~~~
- /usr/include/c++/7/bits/allocator.h:68:11: note: previous declaration here
- class allocator<void>
- ^~~~~~~~~
- /usr/include/c++/7/bits/allocator.h:146:22: error: ‘std::allocator’ is not a template
- operator==(const allocator<_T1>&, const allocator<_T2>&)
- ^~~~~~~~~
- /usr/include/c++/7/bits/allocator.h:146:45: error: ‘std::allocator’ is not a template
- operator==(const allocator<_T1>&, const allocator<_T2>&)
- ^~~~~~~~~
- /usr/include/c++/7/bits/allocator.h:152:22: error: ‘std::allocator’ is not a template
- operator==(const allocator<_Tp>&, const allocator<_Tp>&)
- ^~~~~~~~~
- /usr/include/c++/7/bits/allocator.h:152:45: error: ‘std::allocator’ is not a template
- operator==(const allocator<_Tp>&, const allocator<_Tp>&)
- ^~~~~~~~~
- /usr/include/c++/7/bits/allocator.h:158:22: error: ‘std::allocator’ is not a template
- operator!=(const allocator<_T1>&, const allocator<_T2>&)
- ^~~~~~~~~
- /usr/include/c++/7/bits/allocator.h:158:45: error: ‘std::allocator’ is not a template
- operator!=(const allocator<_T1>&, const allocator<_T2>&)
- ^~~~~~~~~
- /usr/include/c++/7/bits/allocator.h:164:22: error: ‘std::allocator’ is not a template
- operator!=(const allocator<_Tp>&, const allocator<_Tp>&)
- ^~~~~~~~~
- /usr/include/c++/7/bits/allocator.h:164:45: error: ‘std::allocator’ is not a template
- operator!=(const allocator<_Tp>&, const allocator<_Tp>&)
- ^~~~~~~~~
- /usr/include/c++/7/bits/allocator.h:173:25: error: ‘allocator’ is not a class template
- extern template class allocator<char>;
- ^~~~~~~~~
- /usr/include/c++/7/bits/allocator.h:173:25: error: explicit instantiation of non-template type ‘std::allocator’
- /usr/include/c++/7/bits/allocator.h:174:25: error: ‘allocator’ is not a class template
- extern template class allocator<wchar_t>;
- ^~~~~~~~~
- /usr/include/c++/7/bits/allocator.h:174:25: error: explicit instantiation of non-template type ‘std::allocator’
- In file included from /usr/include/c++/7/ext/alloc_traits.h:36:0,
- from /usr/include/c++/7/bits/basic_string.h:40,
- from /usr/include/c++/7/string:52,
- from /usr/include/c++/7/bits/locale_classes.h:40,
- from /usr/include/c++/7/bits/ios_base.h:41,
- from /usr/include/c++/7/ios:42,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/alloc_traits.h:384:29: error: ‘std::allocator’ is not a template
- struct allocator_traits<allocator<_Tp>>
- ^~~~~~~~~
- /usr/include/c++/7/bits/alloc_traits.h:384:12: error: template parameters not deducible in partial specialization:
- struct allocator_traits<allocator<_Tp>>
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/c++/7/bits/alloc_traits.h:384:12: note: ‘_Tp’
- /usr/include/c++/7/bits/alloc_traits.h:597:33: error: ‘std::allocator’ is not a template
- struct __is_copy_insertable<allocator<_Tp>>
- ^~~~~~~~~
- /usr/include/c++/7/bits/alloc_traits.h:597:12: error: template parameters not deducible in partial specialization:
- struct __is_copy_insertable<allocator<_Tp>>
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/c++/7/bits/alloc_traits.h:597:12: note: ‘_Tp’
- In file included from /usr/include/c++/7/string:52:0,
- from /usr/include/c++/7/bits/locale_classes.h:40,
- from /usr/include/c++/7/bits/ios_base.h:41,
- from /usr/include/c++/7/ios:42,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/basic_string.h:6008:41: error: template argument 3 is invalid
- operator==(const basic_string<_CharT>& __lhs,
- ^
- /usr/include/c++/7/bits/basic_string.h:6009:34: error: template argument 3 is invalid
- const basic_string<_CharT>& __rhs) _GLIBCXX_NOEXCEPT
- ^
- In file included from /usr/include/c++/7/cstdlib:41:0,
- from /usr/include/c++/7/stdlib.h:36,
- from /usr/include/SDL2/SDL_stdinc.h:40,
- from /usr/include/SDL2/SDL_main.h:25,
- from /usr/include/SDL2/SDL.h:32,
- from uimanager.h:3:
- /usr/include/c++/7/bits/basic_string.h:6009:44: 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) _GLIBCXX_NOEXCEPT
- ^
- In file included from /usr/include/c++/7/string:52:0,
- from /usr/include/c++/7/bits/locale_classes.h:40,
- from /usr/include/c++/7/bits/ios_base.h:41,
- from /usr/include/c++/7/ios:42,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/basic_string.h:6262:60: error: template argument 3 is invalid
- operator>>(basic_istream<char>& __is, basic_string<char>& __str);
- ^
- /usr/include/c++/7/bits/basic_string.h:6262: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);
- ^~~~~~~~
- /usr/include/c++/7/bits/basic_string.h:6257:5: note: candidate is: template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
- operator>>(basic_istream<_CharT, _Traits>& __is,
- ^~~~~~~~
- /usr/include/c++/7/bits/basic_string.h:6337:57: error: template argument 3 is invalid
- getline(basic_istream<char>& __in, basic_string<char>& __str,
- ^
- /usr/include/c++/7/bits/basic_string.h:6337: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,
- ^~~~~~~
- /usr/include/c++/7/bits/basic_string.h:6330:5: note: candidates are: template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::getline(std::basic_istream<_CharT, _Traits>&&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
- getline(basic_istream<_CharT, _Traits>&& __is,
- ^~~~~~~
- /usr/include/c++/7/bits/basic_string.h:6323:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::getline(std::basic_istream<_CharT, _Traits>&&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, _CharT)
- getline(basic_istream<_CharT, _Traits>&& __is,
- ^~~~~~~
- /usr/include/c++/7/bits/basic_string.h:6315:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::getline(std::basic_istream<_CharT, _Traits>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
- getline(basic_istream<_CharT, _Traits>& __is,
- ^~~~~~~
- /usr/include/c++/7/bits/basic_string.h:6298:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::getline(std::basic_istream<_CharT, _Traits>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, _CharT)
- getline(basic_istream<_CharT, _Traits>& __is,
- ^~~~~~~
- /usr/include/c++/7/bits/basic_string.h:6343:63: error: template argument 3 is invalid
- getline(basic_istream<wchar_t>& __in, basic_string<wchar_t>& __str,
- ^
- /usr/include/c++/7/bits/basic_string.h:6343: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,
- ^~~~~~~
- /usr/include/c++/7/bits/basic_string.h:6330:5: note: candidates are: template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::getline(std::basic_istream<_CharT, _Traits>&&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
- getline(basic_istream<_CharT, _Traits>&& __is,
- ^~~~~~~
- /usr/include/c++/7/bits/basic_string.h:6323:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::getline(std::basic_istream<_CharT, _Traits>&&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, _CharT)
- getline(basic_istream<_CharT, _Traits>&& __is,
- ^~~~~~~
- /usr/include/c++/7/bits/basic_string.h:6315:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::getline(std::basic_istream<_CharT, _Traits>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
- getline(basic_istream<_CharT, _Traits>& __is,
- ^~~~~~~
- /usr/include/c++/7/bits/basic_string.h:6298:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::getline(std::basic_istream<_CharT, _Traits>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, _CharT)
- getline(basic_istream<_CharT, _Traits>& __is,
- ^~~~~~~
- In file included from /usr/include/c++/8/string:52:0,
- from /usr/include/c++/7/bits/locale_classes.h:40,
- from /usr/include/c++/7/bits/ios_base.h:41,
- from /usr/include/c++/7/ios:42,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/basic_string.h: In function ‘int std::__cxx11::stoi(const string&, std::size_t*, int)’:
- /usr/include/c++/7/bits/basic_string.h:6363:69: error: request for member ‘c_str’ in ‘__str’, which is of non-class type ‘const string {aka const int}’
- { return __gnu_cxx::__stoa<long, int>(&std::strtol, "stoi", __str.c_str(),
- ^~~~~
- /usr/include/c++/7/bits/basic_string.h: In function ‘long int std::__cxx11::stol(const string&, std::size_t*, int)’:
- /usr/include/c++/7/bits/basic_string.h:6368:58: error: request for member ‘c_str’ in ‘__str’, which is of non-class type ‘const string {aka const int}’
- { return __gnu_cxx::__stoa(&std::strtol, "stol", __str.c_str(),
- ^~~~~
- /usr/include/c++/7/bits/basic_string.h: In function ‘long unsigned int std::__cxx11::stoul(const string&, std::size_t*, int)’:
- /usr/include/c++/7/bits/basic_string.h:6373:60: error: request for member ‘c_str’ in ‘__str’, which is of non-class type ‘const string {aka const int}’
- { return __gnu_cxx::__stoa(&std::strtoul, "stoul", __str.c_str(),
- ^~~~~
- /usr/include/c++/7/bits/basic_string.h: In function ‘long long int std::__cxx11::stoll(const string&, std::size_t*, int)’:
- /usr/include/c++/7/bits/basic_string.h:6378:60: error: request for member ‘c_str’ in ‘__str’, which is of non-class type ‘const string {aka const int}’
- { return __gnu_cxx::__stoa(&std::strtoll, "stoll", __str.c_str(),
- ^~~~~
- /usr/include/c++/7/bits/basic_string.h: In function ‘long long unsigned int std::__cxx11::stoull(const string&, std::size_t*, int)’:
- /usr/include/c++/7/bits/basic_string.h:6383:62: error: request for member ‘c_str’ in ‘__str’, which is of non-class type ‘const string {aka const int}’
- { return __gnu_cxx::__stoa(&std::strtoull, "stoull", __str.c_str(),
- ^~~~~
- /usr/include/c++/7/bits/basic_string.h: In function ‘float std::__cxx11::stof(const string&, std::size_t*)’:
- /usr/include/c++/7/bits/basic_string.h:6389:58: error: request for member ‘c_str’ in ‘__str’, which is of non-class type ‘const string {aka const int}’
- { return __gnu_cxx::__stoa(&std::strtof, "stof", __str.c_str(), __idx); }
- ^~~~~
- /usr/include/c++/7/bits/basic_string.h: In function ‘double std::__cxx11::stod(const string&, std::size_t*)’:
- /usr/include/c++/7/bits/basic_string.h:6393:58: error: request for member ‘c_str’ in ‘__str’, which is of non-class type ‘const string {aka const int}’
- { return __gnu_cxx::__stoa(&std::strtod, "stod", __str.c_str(), __idx); }
- ^~~~~
- /usr/include/c++/7/bits/basic_string.h: In function ‘long double std::__cxx11::stold(const string&, std::size_t*)’:
- /usr/include/c++/7/bits/basic_string.h:6397:60: error: request for member ‘c_str’ in ‘__str’, which is of non-class type ‘const string {aka const int}’
- { return __gnu_cxx::__stoa(&std::strtold, "stold", __str.c_str(), __idx); }
- ^~~~~
- /usr/include/c++/7/bits/basic_string.h: In function ‘int std::__cxx11::stoi(const wstring&, std::size_t*, int)’:
- /usr/include/c++/7/bits/basic_string.h:6468:3: error: redefinition of ‘int std::__cxx11::stoi(const wstring&, std::size_t*, int)’
- stoi(const wstring& __str, size_t* __idx = 0, int __base = 10)
- ^~~~
- /usr/include/c++/7/bits/basic_string.h:6362:3: note: ‘int std::__cxx11::stoi(const string&, std::size_t*, int)’ previously defined here
- stoi(const string& __str, size_t* __idx = 0, int __base = 10)
- ^~~~
- /usr/include/c++/7/bits/basic_string.h:6469:69: error: request for member ‘c_str’ in ‘__str’, which is of non-class type ‘const wstring {aka const int}’
- { return __gnu_cxx::__stoa<long, int>(&std::wcstol, "stoi", __str.c_str(),
- ^~~~~
- /usr/include/c++/7/bits/basic_string.h: In function ‘long int std::__cxx11::stol(const wstring&, std::size_t*, int)’:
- /usr/include/c++/7/bits/basic_string.h:6473:3: error: redefinition of ‘long int std::__cxx11::stol(const wstring&, std::size_t*, int)’
- stol(const wstring& __str, size_t* __idx = 0, int __base = 10)
- ^~~~
- /usr/include/c++/7/bits/basic_string.h:6367:3: note: ‘long int std::__cxx11::stol(const string&, std::size_t*, int)’ previously defined here
- stol(const string& __str, size_t* __idx = 0, int __base = 10)
- ^~~~
- /usr/include/c++/7/bits/basic_string.h:6474:58: error: request for member ‘c_str’ in ‘__str’, which is of non-class type ‘const wstring {aka const int}’
- { return __gnu_cxx::__stoa(&std::wcstol, "stol", __str.c_str(),
- ^~~~~
- /usr/include/c++/7/bits/basic_string.h: In function ‘long unsigned int std::__cxx11::stoul(const wstring&, std::size_t*, int)’:
- /usr/include/c++/7/bits/basic_string.h:6478:3: error: redefinition of ‘long unsigned int std::__cxx11::stoul(const wstring&, std::size_t*, int)’
- stoul(const wstring& __str, size_t* __idx = 0, int __base = 10)
- ^~~~~
- /usr/include/c++/7/bits/basic_string.h:6372:3: note: ‘long unsigned int std::__cxx11::stoul(const string&, std::size_t*, int)’ previously defined here
- stoul(const string& __str, size_t* __idx = 0, int __base = 10)
- ^~~~~
- /usr/include/c++/7/bits/basic_string.h:6479:60: error: request for member ‘c_str’ in ‘__str’, which is of non-class type ‘const wstring {aka const int}’
- { return __gnu_cxx::__stoa(&std::wcstoul, "stoul", __str.c_str(),
- ^~~~~
- /usr/include/c++/7/bits/basic_string.h: In function ‘long long int std::__cxx11::stoll(const wstring&, std::size_t*, int)’:
- /usr/include/c++/7/bits/basic_string.h:6483:3: error: redefinition of ‘long long int std::__cxx11::stoll(const wstring&, std::size_t*, int)’
- stoll(const wstring& __str, size_t* __idx = 0, int __base = 10)
- ^~~~~
- /usr/include/c++/7/bits/basic_string.h:6377:3: note: ‘long long int std::__cxx11::stoll(const string&, std::size_t*, int)’ previously defined here
- stoll(const string& __str, size_t* __idx = 0, int __base = 10)
- ^~~~~
- /usr/include/c++/7/bits/basic_string.h:6484:60: error: request for member ‘c_str’ in ‘__str’, which is of non-class type ‘const wstring {aka const int}’
- { return __gnu_cxx::__stoa(&std::wcstoll, "stoll", __str.c_str(),
- ^~~~~
- /usr/include/c++/7/bits/basic_string.h: In function ‘long long unsigned int std::__cxx11::stoull(const wstring&, std::size_t*, int)’:
- /usr/include/c++/7/bits/basic_string.h:6488:3: error: redefinition of ‘long long unsigned int std::__cxx11::stoull(const wstring&, std::size_t*, int)’
- stoull(const wstring& __str, size_t* __idx = 0, int __base = 10)
- ^~~~~~
- /usr/include/c++/7/bits/basic_string.h:6382:3: note: ‘long long unsigned int std::__cxx11::stoull(const string&, std::size_t*, int)’ previously defined here
- stoull(const string& __str, size_t* __idx = 0, int __base = 10)
- ^~~~~~
- /usr/include/c++/7/bits/basic_string.h:6489:62: error: request for member ‘c_str’ in ‘__str’, which is of non-class type ‘const wstring {aka const int}’
- { return __gnu_cxx::__stoa(&std::wcstoull, "stoull", __str.c_str(),
- ^~~~~
- /usr/include/c++/7/bits/basic_string.h: In function ‘float std::__cxx11::stof(const wstring&, std::size_t*)’:
- /usr/include/c++/7/bits/basic_string.h:6494:3: error: redefinition of ‘float std::__cxx11::stof(const wstring&, std::size_t*)’
- stof(const wstring& __str, size_t* __idx = 0)
- ^~~~
- /usr/include/c++/7/bits/basic_string.h:6388:3: note: ‘float std::__cxx11::stof(const string&, std::size_t*)’ previously defined here
- stof(const string& __str, size_t* __idx = 0)
- ^~~~
- /usr/include/c++/7/bits/basic_string.h:6495:58: error: request for member ‘c_str’ in ‘__str’, which is of non-class type ‘const wstring {aka const int}’
- { return __gnu_cxx::__stoa(&std::wcstof, "stof", __str.c_str(), __idx); }
- ^~~~~
- /usr/include/c++/7/bits/basic_string.h: In function ‘double std::__cxx11::stod(const wstring&, std::size_t*)’:
- /usr/include/c++/7/bits/basic_string.h:6498:3: error: redefinition of ‘double std::__cxx11::stod(const wstring&, std::size_t*)’
- stod(const wstring& __str, size_t* __idx = 0)
- ^~~~
- /usr/include/c++/7/bits/basic_string.h:6392:3: note: ‘double std::__cxx11::stod(const string&, std::size_t*)’ previously defined here
- stod(const string& __str, size_t* __idx = 0)
- ^~~~
- /usr/include/c++/7/bits/basic_string.h:6499:58: error: request for member ‘c_str’ in ‘__str’, which is of non-class type ‘const wstring {aka const int}’
- { return __gnu_cxx::__stoa(&std::wcstod, "stod", __str.c_str(), __idx); }
- ^~~~~
- /usr/include/c++/7/bits/basic_string.h: In function ‘long double std::__cxx11::stold(const wstring&, std::size_t*)’:
- /usr/include/c++/7/bits/basic_string.h:6502:3: error: redefinition of ‘long double std::__cxx11::stold(const wstring&, std::size_t*)’
- stold(const wstring& __str, size_t* __idx = 0)
- ^~~~~
- /usr/include/c++/7/bits/basic_string.h:6396:3: note: ‘long double std::__cxx11::stold(const string&, std::size_t*)’ previously defined here
- stold(const string& __str, size_t* __idx = 0)
- ^~~~~
- /usr/include/c++/7/bits/basic_string.h:6503:60: error: request for member ‘c_str’ in ‘__str’, which is of non-class type ‘const wstring {aka const int}’
- { return __gnu_cxx::__stoa(&std::wcstold, "stold", __str.c_str(), __idx); }
- ^~~~~
- In file included from /usr/include/c++/7/string:52:0,
- from /usr/include/c++/7/bits/locale_classes.h:40,
- from /usr/include/c++/7/bits/ios_base.h:41,
- from /usr/include/c++/7/ios:42,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/basic_string.h: At global scope:
- /usr/include/c++/7/bits/basic_string.h:6589:12: error: redefinition of ‘struct std::hash<int>’
- struct hash<string>
- ^~~~~~~~~~~~
- In file included from /usr/include/c++/7/bits/basic_string.h:6578:0,
- from /usr/include/c++/7/string:52,
- from /usr/include/c++/7/bits/locale_classes.h:40,
- from /usr/include/c++/7/bits/ios_base.h:41,
- from /usr/include/c++/7/ios:42,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/functional_hash.h:148:3: note: previous definition of ‘struct std::hash<int>’
- _Cxx_hashtable_define_trivial_hash(int)
- ^
- In file included from /usr/include/c++/7/string:52:0,
- from /usr/include/c++/7/bits/locale_classes.h:40,
- from /usr/include/c++/7/bits/ios_base.h:41,
- from /usr/include/c++/7/ios:42,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/basic_string.h:6604:12: error: redefinition of ‘struct std::hash<int>’
- struct hash<wstring>
- ^~~~~~~~~~~~~
- In file included from /usr/include/c++/7/bits/basic_string.h:6578:0,
- from /usr/include/c++/7/string:52,
- from /usr/include/c++/7/bits/locale_classes.h:40,
- from /usr/include/c++/7/bits/ios_base.h:41,
- from /usr/include/c++/7/ios:42,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/functional_hash.h:148:3: note: previous definition of ‘struct std::hash<int>’
- _Cxx_hashtable_define_trivial_hash(int)
- ^
- In file included from /usr/include/c++/7/string:52:0,
- from /usr/include/c++/7/bits/locale_classes.h:40,
- from /usr/include/c++/7/bits/ios_base.h:41,
- from /usr/include/c++/7/ios:42,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/basic_string.h:6614:12: error: redefinition of ‘struct std::__is_fast_hash<std::hash<int> >’
- struct __is_fast_hash<hash<wstring>> : std::false_type
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/c++/7/bits/basic_string.h:6598:12: note: previous definition of ‘struct std::__is_fast_hash<std::hash<int> >’
- struct __is_fast_hash<hash<string>> : std::false_type
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/c++/7/bits/basic_string.h:6622:12: error: redefinition of ‘struct std::hash<int>’
- struct hash<u16string>
- ^~~~~~~~~~~~~~~
- In file included from /usr/include/c++/7/bits/basic_string.h:6578:0,
- from /usr/include/c++/7/string:52,
- from /usr/include/c++/7/bits/locale_classes.h:40,
- from /usr/include/c++/7/bits/ios_base.h:41,
- from /usr/include/c++/7/ios:42,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/functional_hash.h:148:3: note: previous definition of ‘struct std::hash<int>’
- _Cxx_hashtable_define_trivial_hash(int)
- ^
- In file included from /usr/include/c++/7/string:52:0,
- from /usr/include/c++/7/bits/locale_classes.h:40,
- from /usr/include/c++/7/bits/ios_base.h:41,
- from /usr/include/c++/7/ios:42,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/basic_string.h:6632:12: error: redefinition of ‘struct std::__is_fast_hash<std::hash<int> >’
- struct __is_fast_hash<hash<u16string>> : std::false_type
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/c++/7/bits/basic_string.h:6598:12: note: previous definition of ‘struct std::__is_fast_hash<std::hash<int> >’
- struct __is_fast_hash<hash<string>> : std::false_type
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/c++/7/bits/basic_string.h:6637:12: error: redefinition of ‘struct std::hash<int>’
- struct hash<u32string>
- ^~~~~~~~~~~~~~~
- In file included from /usr/include/c++/7/bits/basic_string.h:6578:0,
- from /usr/include/c++/7/string:52,
- from /usr/include/c++/7/bits/locale_classes.h:40,
- from /usr/include/c++/7/bits/ios_base.h:41,
- from /usr/include/c++/7/ios:42,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/functional_hash.h:148:3: note: previous definition of ‘struct std::hash<int>’
- _Cxx_hashtable_define_trivial_hash(int)
- ^
- In file included from /usr/include/c++/7/string:52:0,
- from /usr/include/c++/7/bits/locale_classes.h:40,
- from /usr/include/c++/7/bits/ios_base.h:41,
- from /usr/include/c++/7/ios:42,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/basic_string.h:6647:12: error: redefinition of ‘struct std::__is_fast_hash<std::hash<int> >’
- struct __is_fast_hash<hash<u32string>> : std::false_type
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/c++/7/bits/basic_string.h:6598:12: note: previous definition of ‘struct std::__is_fast_hash<std::hash<int> >’
- struct __is_fast_hash<hash<string>> : std::false_type
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/c++/7/bits/basic_string.h:6664:29: error: template argument 3 is invalid
- inline basic_string<char>
- ^
- /usr/include/c++/7/bits/basic_string.h: In function ‘int std::literals::string_literals::operator""s(const char*, std::size_t)’:
- /usr/include/c++/7/bits/basic_string.h:6666:31: error: template argument 3 is invalid
- { return basic_string<char>{__str, __len}; }
- ^
- /usr/include/c++/7/bits/basic_string.h: At global scope:
- /usr/include/c++/7/bits/basic_string.h:6670:32: error: template argument 3 is invalid
- inline basic_string<wchar_t>
- ^
- /usr/include/c++/7/bits/basic_string.h: In function ‘int std::literals::string_literals::operator""s(const wchar_t*, std::size_t)’:
- /usr/include/c++/7/bits/basic_string.h:6672:34: error: template argument 3 is invalid
- { return basic_string<wchar_t>{__str, __len}; }
- ^
- /usr/include/c++/7/bits/basic_string.h: At global scope:
- /usr/include/c++/7/bits/basic_string.h:6677:33: error: template argument 3 is invalid
- inline basic_string<char16_t>
- ^
- /usr/include/c++/7/bits/basic_string.h: In function ‘int std::literals::string_literals::operator""s(const char16_t*, std::size_t)’:
- /usr/include/c++/7/bits/basic_string.h:6679:35: error: template argument 3 is invalid
- { return basic_string<char16_t>{__str, __len}; }
- ^
- /usr/include/c++/7/bits/basic_string.h: At global scope:
- /usr/include/c++/7/bits/basic_string.h:6682:33: error: template argument 3 is invalid
- inline basic_string<char32_t>
- ^
- /usr/include/c++/7/bits/basic_string.h: In function ‘int std::literals::string_literals::operator""s(const char32_t*, std::size_t)’:
- /usr/include/c++/7/bits/basic_string.h:6684:35: error: template argument 3 is invalid
- { return basic_string<char32_t>{__str, __len}; }
- ^
- In file included from /usr/include/c++/7/string:53:0,
- from /usr/include/c++/7/bits/locale_classes.h:40,
- from /usr/include/c++/7/bits/ios_base.h:41,
- from /usr/include/c++/7/ios:42,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/basic_string.tcc: At global scope:
- /usr/include/c++/7/bits/basic_string.tcc:1607:42: error: template argument 3 is invalid
- extern template class basic_string<char>;
- ^
- /usr/include/c++/7/bits/basic_string.tcc:1617:5: error: template-id ‘operator>><>’ for ‘std::basic_istream<char>& std::operator>>(std::basic_istream<char>&, std::__cxx11::string&)’ does not match any template declaration
- operator>>(basic_istream<char>&, string&);
- ^~~~~~~~
- /usr/include/c++/7/bits/basic_string.tcc:1465:5: note: candidate is: template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
- operator>>(basic_istream<_CharT, _Traits>& __in,
- ^~~~~~~~
- /usr/include/c++/7/bits/basic_string.tcc:1620:5: error: template-id ‘operator<< <>’ for ‘std::basic_ostream<char>& std::operator<<(std::basic_ostream<char>&, const string&)’ does not match any template declaration
- operator<<(basic_ostream<char>&, const string&);
- ^~~~~~~~
- In file included from /usr/include/c++/7/string:52:0,
- from /usr/include/c++/7/bits/locale_classes.h:40,
- from /usr/include/c++/7/bits/ios_base.h:41,
- from /usr/include/c++/7/ios:42,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/basic_string.h:6275:5: note: candidate is: template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
- operator<<(basic_ostream<_CharT, _Traits>& __os,
- ^~~~~~~~
- In file included from /usr/include/c++/7/string:53:0,
- from /usr/include/c++/7/bits/locale_classes.h:40,
- from /usr/include/c++/7/bits/ios_base.h:41,
- from /usr/include/c++/7/ios:42,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/basic_string.tcc:1623:5: error: template-id ‘getline<>’ for ‘std::basic_istream<char>& std::getline(std::basic_istream<char>&, std::__cxx11::string&, char)’ does not match any template declaration
- getline(basic_istream<char>&, string&, char);
- ^~~~~~~
- In file included from /usr/include/c++/7/string:52:0,
- from /usr/include/c++/7/bits/locale_classes.h:40,
- from /usr/include/c++/7/bits/ios_base.h:41,
- from /usr/include/c++/7/ios:42,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/basic_string.h:6330:5: note: candidates are: template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::getline(std::basic_istream<_CharT, _Traits>&&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
- getline(basic_istream<_CharT, _Traits>&& __is,
- ^~~~~~~
- /usr/include/c++/7/bits/basic_string.h:6323:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::getline(std::basic_istream<_CharT, _Traits>&&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, _CharT)
- getline(basic_istream<_CharT, _Traits>&& __is,
- ^~~~~~~
- /usr/include/c++/7/bits/basic_string.h:6315:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::getline(std::basic_istream<_CharT, _Traits>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
- getline(basic_istream<_CharT, _Traits>& __is,
- ^~~~~~~
- In file included from /usr/include/c++/7/string:53:0,
- from /usr/include/c++/7/bits/locale_classes.h:40,
- from /usr/include/c++/7/bits/ios_base.h:41,
- from /usr/include/c++/7/ios:42,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/basic_string.tcc:1537:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::getline(std::basic_istream<_CharT, _Traits>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, _CharT)
- getline(basic_istream<_CharT, _Traits>& __in,
- ^~~~~~~
- /usr/include/c++/7/bits/basic_string.tcc:1626:5: error: template-id ‘getline<>’ for ‘std::basic_istream<char>& std::getline(std::basic_istream<char>&, std::__cxx11::string&)’ does not match any template declaration
- getline(basic_istream<char>&, string&);
- ^~~~~~~
- In file included from /usr/include/c++/7/string:52:0,
- from /usr/include/c++/7/bits/locale_classes.h:40,
- from /usr/include/c++/7/bits/ios_base.h:41,
- from /usr/include/c++/7/ios:42,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/basic_string.h:6330:5: note: candidates are: template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::getline(std::basic_istream<_CharT, _Traits>&&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
- getline(basic_istream<_CharT, _Traits>&& __is,
- ^~~~~~~
- /usr/include/c++/7/bits/basic_string.h:6323:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::getline(std::basic_istream<_CharT, _Traits>&&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, _CharT)
- getline(basic_istream<_CharT, _Traits>&& __is,
- ^~~~~~~
- /usr/include/c++/7/bits/basic_string.h:6315:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::getline(std::basic_istream<_CharT, _Traits>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
- getline(basic_istream<_CharT, _Traits>& __is,
- ^~~~~~~
- In file included from /usr/include/c++/7/string:53:0,
- from /usr/include/c++/7/bits/locale_classes.h:40,
- from /usr/include/c++/7/bits/ios_base.h:41,
- from /usr/include/c++/7/ios:42,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/basic_string.tcc:1537:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::getline(std::basic_istream<_CharT, _Traits>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, _CharT)
- getline(basic_istream<_CharT, _Traits>& __in,
- ^~~~~~~
- /usr/include/c++/7/bits/basic_string.tcc:1630:45: error: template argument 3 is invalid
- extern template class basic_string<wchar_t>;
- ^
- /usr/include/c++/7/bits/basic_string.tcc:1638:5: error: template-id ‘operator>><>’ for ‘std::basic_istream<wchar_t>& std::operator>>(std::basic_istream<wchar_t>&, std::__cxx11::wstring&)’ does not match any template declaration
- operator>>(basic_istream<wchar_t>&, wstring&);
- ^~~~~~~~
- /usr/include/c++/7/bits/basic_string.tcc:1465:5: note: candidate is: template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
- operator>>(basic_istream<_CharT, _Traits>& __in,
- ^~~~~~~~
- /usr/include/c++/7/bits/basic_string.tcc:1641:5: error: template-id ‘operator<< <>’ for ‘std::basic_ostream<wchar_t>& std::operator<<(std::basic_ostream<wchar_t>&, const wstring&)’ does not match any template declaration
- operator<<(basic_ostream<wchar_t>&, const wstring&);
- ^~~~~~~~
- In file included from /usr/include/c++/7/string:52:0,
- from /usr/include/c++/7/bits/locale_classes.h:40,
- from /usr/include/c++/7/bits/ios_base.h:41,
- from /usr/include/c++/7/ios:42,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/basic_string.h:6275:5: note: candidate is: template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
- operator<<(basic_ostream<_CharT, _Traits>& __os,
- ^~~~~~~~
- In file included from /usr/include/c++/7/string:53:0,
- from /usr/include/c++/7/bits/locale_classes.h:40,
- from /usr/include/c++/7/bits/ios_base.h:41,
- from /usr/include/c++/7/ios:42,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/basic_string.tcc:1644:5: error: template-id ‘getline<>’ for ‘std::basic_istream<wchar_t>& std::getline(std::basic_istream<wchar_t>&, std::__cxx11::wstring&, wchar_t)’ does not match any template declaration
- getline(basic_istream<wchar_t>&, wstring&, wchar_t);
- ^~~~~~~
- In file included from /usr/include/c++/7/string:52:0,
- from /usr/include/c++/7/bits/locale_classes.h:40,
- from /usr/include/c++/7/bits/ios_base.h:41,
- from /usr/include/c++/7/ios:42,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/basic_string.h:6330:5: note: candidates are: template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::getline(std::basic_istream<_CharT, _Traits>&&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
- getline(basic_istream<_CharT, _Traits>&& __is,
- ^~~~~~~
- /usr/include/c++/7/bits/basic_string.h:6323:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::getline(std::basic_istream<_CharT, _Traits>&&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, _CharT)
- getline(basic_istream<_CharT, _Traits>&& __is,
- ^~~~~~~
- /usr/include/c++/7/bits/basic_string.h:6315:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::getline(std::basic_istream<_CharT, _Traits>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
- getline(basic_istream<_CharT, _Traits>& __is,
- ^~~~~~~
- In file included from /usr/include/c++/7/string:53:0,
- from /usr/include/c++/7/bits/locale_classes.h:40,
- from /usr/include/c++/7/bits/ios_base.h:41,
- from /usr/include/c++/7/ios:42,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/basic_string.tcc:1537:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::getline(std::basic_istream<_CharT, _Traits>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, _CharT)
- getline(basic_istream<_CharT, _Traits>& __in,
- ^~~~~~~
- /usr/include/c++/7/bits/basic_string.tcc:1647:5: error: template-id ‘getline<>’ for ‘std::basic_istream<wchar_t>& std::getline(std::basic_istream<wchar_t>&, std::__cxx11::wstring&)’ does not match any template declaration
- getline(basic_istream<wchar_t>&, wstring&);
- ^~~~~~~
- In file included from /usr/include/c++/7/string:52:0,
- from /usr/include/c++/7/bits/locale_classes.h:40,
- from /usr/include/c++/7/bits/ios_base.h:41,
- from /usr/include/c++/7/ios:42,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/basic_string.h:6330:5: note: candidates are: template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::getline(std::basic_istream<_CharT, _Traits>&&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
- getline(basic_istream<_CharT, _Traits>&& __is,
- ^~~~~~~
- /usr/include/c++/7/bits/basic_string.h:6323:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::getline(std::basic_istream<_CharT, _Traits>&&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, _CharT)
- getline(basic_istream<_CharT, _Traits>&& __is,
- ^~~~~~~
- /usr/include/c++/7/bits/basic_string.h:6315:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::getline(std::basic_istream<_CharT, _Traits>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
- getline(basic_istream<_CharT, _Traits>& __is,
- ^~~~~~~
- In file included from /usr/include/c++/7/string:53:0,
- from /usr/include/c++/7/bits/locale_classes.h:40,
- from /usr/include/c++/7/bits/ios_base.h:41,
- from /usr/include/c++/7/ios:42,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/basic_string.tcc:1537:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::getline(std::basic_istream<_CharT, _Traits>&, std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, _CharT)
- getline(basic_istream<_CharT, _Traits>& __in,
- ^~~~~~~
- In file included from /usr/include/c++/7/bits/ios_base.h:41:0,
- from /usr/include/c++/7/ios:42,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/locale_classes.h: In constructor ‘std::locale::locale(const string&)’:
- /usr/include/c++/7/bits/locale_classes.h:163:49: error: request for member ‘c_str’ in ‘__s’, which is of non-class type ‘const string {aka const int}’
- locale(const std::string& __s) : locale(__s.c_str()) { }
- ^~~~~
- /usr/include/c++/7/bits/locale_classes.h: In constructor ‘std::locale::locale(const std::locale&, const string&, std::locale::category)’:
- /usr/include/c++/7/bits/locale_classes.h:178:26: error: request for member ‘c_str’ in ‘__s’, which is of non-class type ‘const string {aka const int}’
- : locale(__base, __s.c_str(), __cat) { }
- ^~~~~
- /usr/include/c++/7/bits/locale_classes.h: At global scope:
- /usr/include/c++/7/bits/locale_classes.h:649:34: error: template argument 3 is invalid
- typedef basic_string<_CharT> string_type;
- ^
- /usr/include/c++/7/bits/locale_classes.h:822:34: error: template argument 3 is invalid
- typedef basic_string<_CharT> string_type;
- ^
- /usr/include/c++/7/bits/locale_classes.h: In constructor ‘std::__cxx11::collate_byname<_CharT>::collate_byname(const string&, std::size_t)’:
- /usr/include/c++/7/bits/locale_classes.h:840:28: error: request for member ‘c_str’ in ‘__s’, which is of non-class type ‘const string {aka const int}’
- : collate_byname(__s.c_str(), __refs) { }
- ^~~~~
- In file included from /usr/include/c++/7/bits/locale_classes.h:851:0,
- from /usr/include/c++/7/bits/ios_base.h:41,
- from /usr/include/c++/7/ios:42,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/locale_classes.tcc: In member function ‘virtual int std::__cxx11::collate<_CharT>::do_compare(const _CharT*, const _CharT*, const _CharT*, const _CharT*) const’:
- /usr/include/c++/7/bits/locale_classes.tcc:166:43: error: expression list treated as compound expression in initializer [-fpermissive]
- const string_type __one(__lo1, __hi1);
- ^
- /usr/include/c++/7/bits/locale_classes.tcc:167:43: error: expression list treated as compound expression in initializer [-fpermissive]
- const string_type __two(__lo2, __hi2);
- ^
- /usr/include/c++/7/bits/locale_classes.tcc:169:33: error: request for member ‘c_str’ in ‘__one’, which is of non-class type ‘const string_type {aka const int}’
- const _CharT* __p = __one.c_str();
- ^~~~~
- /usr/include/c++/7/bits/locale_classes.tcc:170:36: error: request for member ‘data’ in ‘__one’, which is of non-class type ‘const string_type {aka const int}’
- const _CharT* __pend = __one.data() + __one.length();
- ^~~~
- /usr/include/c++/7/bits/locale_classes.tcc:170:51: error: request for member ‘length’ in ‘__one’, which is of non-class type ‘const string_type {aka const int}’
- const _CharT* __pend = __one.data() + __one.length();
- ^~~~~~
- /usr/include/c++/7/bits/locale_classes.tcc:171:33: error: request for member ‘c_str’ in ‘__two’, which is of non-class type ‘const string_type {aka const int}’
- const _CharT* __q = __two.c_str();
- ^~~~~
- /usr/include/c++/7/bits/locale_classes.tcc:172:36: error: request for member ‘data’ in ‘__two’, which is of non-class type ‘const string_type {aka const int}’
- const _CharT* __qend = __two.data() + __two.length();
- ^~~~
- /usr/include/c++/7/bits/locale_classes.tcc:172:51: error: request for member ‘length’ in ‘__two’, which is of non-class type ‘const string_type {aka const int}’
- const _CharT* __qend = __two.data() + __two.length();
- ^~~~~~
- /usr/include/c++/7/bits/locale_classes.tcc: In member function ‘virtual std::__cxx11::collate<_CharT>::string_type std::__cxx11::collate<_CharT>::do_transform(const _CharT*, const _CharT*) const’:
- /usr/include/c++/7/bits/locale_classes.tcc:205:41: error: expression list treated as compound expression in initializer [-fpermissive]
- const string_type __str(__lo, __hi);
- ^
- /usr/include/c++/7/bits/locale_classes.tcc:207:33: error: request for member ‘c_str’ in ‘__str’, which is of non-class type ‘const string_type {aka const int}’
- const _CharT* __p = __str.c_str();
- ^~~~~
- /usr/include/c++/7/bits/locale_classes.tcc:208:36: error: request for member ‘data’ in ‘__str’, which is of non-class type ‘const string_type {aka const int}’
- const _CharT* __pend = __str.data() + __str.length();
- ^~~~
- /usr/include/c++/7/bits/locale_classes.tcc:208:51: error: request for member ‘length’ in ‘__str’, which is of non-class type ‘const string_type {aka const int}’
- const _CharT* __pend = __str.data() + __str.length();
- ^~~~~~
- /usr/include/c++/7/bits/locale_classes.tcc:233:14: error: request for member ‘append’ in ‘__ret’, which is of non-class type ‘std::__cxx11::collate<_CharT>::string_type {aka int}’
- __ret.append(__c, __res);
- ^~~~~~
- /usr/include/c++/7/bits/locale_classes.tcc:239:14: error: request for member ‘push_back’ in ‘__ret’, which is of non-class type ‘std::__cxx11::collate<_CharT>::string_type {aka int}’
- __ret.push_back(_CharT());
- ^~~~~~~~~
- In file included from /usr/include/c++/7/system_error:41:0,
- from /usr/include/c++/7/bits/ios_base.h:46,
- from /usr/include/c++/7/ios:42,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/stdexcept: At global scope:
- /usr/include/c++/7/stdexcept:67:28: error: template argument 3 is invalid
- typedef basic_string<char> __sso_string;
- ^
- In file included from /usr/include/c++/7/bits/ios_base.h:46:0,
- from /usr/include/c++/7/ios:42,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/system_error: In constructor ‘std::system_error::system_error(std::error_code, const char*)’:
- /usr/include/c++/7/system_error:354:28: error: invalid operands of types ‘const char*’ and ‘const char*’ to binary ‘operator+’
- : runtime_error(__what + (": " + __ec.message())), _M_code(__ec) { }
- ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/include/c++/7/bits/basic_ios.h:37:0,
- from /usr/include/c++/7/ios:44,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/locale_facets.h: In constructor ‘std::ctype_byname<_CharT>::ctype_byname(const string&, std::size_t)’:
- /usr/include/c++/7/bits/locale_facets.h:1485:26: error: request for member ‘c_str’ in ‘__s’, which is of non-class type ‘const string {aka const int}’
- : ctype_byname(__s.c_str(), __refs) { }
- ^~~~~
- In file included from /usr/include/c++/7/bits/basic_ios.h:37:0,
- from /usr/include/c++/7/ios:44,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/locale_facets.h: At global scope:
- /usr/include/c++/7/bits/locale_facets.h:1673:34: error: template argument 3 is invalid
- typedef basic_string<_CharT> string_type;
- ^
- /usr/include/c++/7/bits/locale_facets.h:1903:34: error: template argument 3 is invalid
- typedef basic_string<_CharT> string_type;
- ^
- /usr/include/c++/7/bits/locale_facets.h: In constructor ‘std::__cxx11::numpunct_byname<_CharT>::numpunct_byname(const string&, std::size_t)’:
- /usr/include/c++/7/bits/locale_facets.h:1922:29: error: request for member ‘c_str’ in ‘__s’, which is of non-class type ‘const string {aka const int}’
- : numpunct_byname(__s.c_str(), __refs) { }
- ^~~~~
- In file included from /usr/include/c++/7/bits/locale_facets.h:2651:0,
- from /usr/include/c++/7/bits/basic_ios.h:37,
- from /usr/include/c++/7/ios:44,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/locale_facets.tcc: In member function ‘void std::__numpunct_cache<_CharT>::_M_cache(const std::locale&)’:
- /usr/include/c++/7/bits/locale_facets.tcc:88:27: error: request for member ‘size’ in ‘__g’, which is of non-class type ‘const string {aka const int}’
- _M_grouping_size = __g.size();
- ^~~~
- /usr/include/c++/7/bits/locale_facets.tcc:90:8: error: request for member ‘copy’ in ‘__g’, which is of non-class type ‘const string {aka const int}’
- __g.copy(__grouping, _M_grouping_size);
- ^~~~
- /usr/include/c++/7/bits/locale_facets.tcc:96:29: error: template argument 3 is invalid
- const basic_string<_CharT>& __tn = __np.truename();
- ^
- /usr/include/c++/7/bits/locale_facets.tcc:97:28: error: request for member ‘size’ in ‘__tn’, which is of non-class type ‘const int’
- _M_truename_size = __tn.size();
- ^~~~
- /usr/include/c++/7/bits/locale_facets.tcc:99:9: error: request for member ‘copy’ in ‘__tn’, which is of non-class type ‘const int’
- __tn.copy(__truename, _M_truename_size);
- ^~~~
- /usr/include/c++/7/bits/locale_facets.tcc:101:29: error: template argument 3 is invalid
- const basic_string<_CharT>& __fn = __np.falsename();
- ^
- /usr/include/c++/7/bits/locale_facets.tcc:102:29: error: request for member ‘size’ in ‘__fn’, which is of non-class type ‘const int’
- _M_falsename_size = __fn.size();
- ^~~~
- /usr/include/c++/7/bits/locale_facets.tcc:104:9: error: request for member ‘copy’ in ‘__fn’, which is of non-class type ‘const int’
- __fn.copy(__falsename, _M_falsename_size);
- ^~~~
- /usr/include/c++/7/bits/locale_facets.tcc: In member function ‘_InIter std::num_get<_CharT, _InIter>::_M_extract_float(_InIter, _InIter, std::ios_base&, std::ios_base::iostate&, std::__cxx11::string&) const’:
- /usr/include/c++/7/bits/locale_facets.tcc:211:19: error: request for member ‘reserve’ in ‘__found_grouping’, which is of non-class type ‘std::__cxx11::string {aka int}’
- __found_grouping.reserve(32);
- ^~~~~~~
- /usr/include/c++/7/bits/locale_facets.tcc:282:11: error: request for member ‘clear’ in ‘__xtrc’, which is of non-class type ‘std::__cxx11::string {aka int}’
- __xtrc.clear();
- ^~~~~
- /usr/include/c++/7/bits/locale_facets.tcc:296:28: error: request for member ‘size’ in ‘__found_grouping’, which is of non-class type ‘std::__cxx11::string {aka int}’
- if (__found_grouping.size())
- ^~~~
- /usr/include/c++/7/bits/locale_facets.tcc:319:28: error: request for member ‘size’ in ‘__found_grouping’, which is of non-class type ‘std::__cxx11::string {aka int}’
- if (__found_grouping.size() && !__found_dec)
- ^~~~
- /usr/include/c++/7/bits/locale_facets.tcc:355:28: error: request for member ‘size’ in ‘__found_grouping’, which is of non-class type ‘std::__cxx11::string {aka int}’
- if (__found_grouping.size())
- ^~~~
- /usr/include/c++/7/bits/locale_facets.tcc: In member function ‘_InIter std::num_get<_CharT, _InIter>::_M_extract_int(_InIter, _InIter, std::ios_base&, std::ios_base::iostate&, _ValueT&) const’:
- /usr/include/c++/7/bits/locale_facets.tcc:468:21: error: request for member ‘reserve’ in ‘__found_grouping’, which is of non-class type ‘std::__cxx11::string {aka int}’
- __found_grouping.reserve(32);
- ^~~~~~~
- /usr/include/c++/7/bits/locale_facets.tcc:554:23: error: request for member ‘size’ in ‘__found_grouping’, which is of non-class type ‘std::__cxx11::string {aka int}’
- if (__found_grouping.size())
- ^~~~
- /usr/include/c++/7/bits/locale_facets.tcc:567:56: error: request for member ‘size’ in ‘__found_grouping’, which is of non-class type ‘std::__cxx11::string {aka int}’
- if ((!__sep_pos && !__found_zero && !__found_grouping.size())
- ^~~~
- /usr/include/c++/7/bits/locale_facets.tcc: In member function ‘virtual _InIter std::num_get<_CharT, _InIter>::do_get(std::num_get<_CharT, _InIter>::iter_type, std::num_get<_CharT, _InIter>::iter_type, std::ios_base&, std::ios_base::iostate&, float&) const’:
- /usr/include/c++/7/bits/locale_facets.tcc:695:14: error: request for member ‘reserve’ in ‘__xtrc’, which is of non-class type ‘std::__cxx11::string {aka int}’
- __xtrc.reserve(32);
- ^~~~~~~
- /usr/include/c++/7/bits/locale_facets.tcc:697:34: error: request for member ‘c_str’ in ‘__xtrc’, which is of non-class type ‘std::__cxx11::string {aka int}’
- std::__convert_to_v(__xtrc.c_str(), __v, __err, _S_get_c_locale());
- ^~~~~
- /usr/include/c++/7/bits/locale_facets.tcc: In member function ‘virtual _InIter std::num_get<_CharT, _InIter>::do_get(std::num_get<_CharT, _InIter>::iter_type, std::num_get<_CharT, _InIter>::iter_type, std::ios_base&, std::ios_base::iostate&, double&) const’:
- /usr/include/c++/7/bits/locale_facets.tcc:710:14: error: request for member ‘reserve’ in ‘__xtrc’, which is of non-class type ‘std::__cxx11::string {aka int}’
- __xtrc.reserve(32);
- ^~~~~~~
- /usr/include/c++/7/bits/locale_facets.tcc:712:34: error: request for member ‘c_str’ in ‘__xtrc’, which is of non-class type ‘std::__cxx11::string {aka int}’
- std::__convert_to_v(__xtrc.c_str(), __v, __err, _S_get_c_locale());
- ^~~~~
- /usr/include/c++/7/bits/locale_facets.tcc: In member function ‘virtual _InIter std::num_get<_CharT, _InIter>::do_get(std::num_get<_CharT, _InIter>::iter_type, std::num_get<_CharT, _InIter>::iter_type, std::ios_base&, std::ios_base::iostate&, long double&) const’:
- /usr/include/c++/7/bits/locale_facets.tcc:742:14: error: request for member ‘reserve’ in ‘__xtrc’, which is of non-class type ‘std::__cxx11::string {aka int}’
- __xtrc.reserve(32);
- ^~~~~~~
- /usr/include/c++/7/bits/locale_facets.tcc:744:34: error: request for member ‘c_str’ in ‘__xtrc’, which is of non-class type ‘std::__cxx11::string {aka int}’
- std::__convert_to_v(__xtrc.c_str(), __v, __err, _S_get_c_locale());
- ^~~~~
- In file included from /usr/include/c++/7/sstream:826:0,
- from uimanager.cpp:5:
- /usr/include/c++/7/bits/sstream.tcc: At global scope:
- /usr/include/c++/7/bits/sstream.tcc:291:45: error: template argument 3 is invalid
- extern template class basic_stringbuf<char>;
- ^
- /usr/include/c++/7/bits/sstream.tcc:292:49: error: template argument 3 is invalid
- extern template class basic_istringstream<char>;
- ^
- /usr/include/c++/7/bits/sstream.tcc:293:49: error: template argument 3 is invalid
- extern template class basic_ostringstream<char>;
- ^
- /usr/include/c++/7/bits/sstream.tcc:294:48: error: template argument 3 is invalid
- extern template class basic_stringstream<char>;
- ^
- /usr/include/c++/7/bits/sstream.tcc:297:48: error: template argument 3 is invalid
- extern template class basic_stringbuf<wchar_t>;
- ^
- /usr/include/c++/7/bits/sstream.tcc:298:52: error: template argument 3 is invalid
- extern template class basic_istringstream<wchar_t>;
- ^
- /usr/include/c++/7/bits/sstream.tcc:299:52: error: template argument 3 is invalid
- extern template class basic_ostringstream<wchar_t>;
- ^
- /usr/include/c++/7/bits/sstream.tcc:300:51: error: template argument 3 is invalid
- extern template class basic_stringstream<wchar_t>;
- ^
- uimanager.cpp: In member function ‘void UIManager::RenderPlayerScore(const Player*)’:
- uimanager.cpp:36:7: error: request for member ‘str’ in ‘text’, which is of non-class type ‘std::stringstream {aka int}’
- text.str("");
- ^~~
- uimanager.cpp:37:7: error: invalid operands of types ‘std::stringstream {aka int}’ and ‘const char [8]’ to binary ‘operator<<’
- text << "Score: " << player->mScore ;
- ~~~~~^~~~~~~~~~~~
- uimanager.cpp:40:53: error: request for member ‘str’ in ‘text’, which is of non-class type ‘std::stringstream {aka int}’
- SDL_Surface* surface = CreateSurfaceFromText( text.str().c_str() );
- ^~~
- In file included from /usr/include/c++/7/bits/basic_string.h:6352:0,
- from /usr/include/c++/7/string:52,
- from /usr/include/c++/7/bits/locale_classes.h:40,
- from /usr/include/c++/7/bits/ios_base.h:41,
- from /usr/include/c++/7/ios:42,
- from /usr/include/c++/7/istream:38,
- from /usr/include/c++/7/sstream:38,
- from uimanager.cpp:5:
- /usr/include/c++/7/ext/string_conversions.h: In instantiation of ‘_String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, __va_list_tag*), std::size_t, const _CharT*, ...) [with _String = int; _CharT = char; std::size_t = long unsigned int]’:
- /usr/include/c++/7/bits/basic_string.h:6407:20: required from here
- /usr/include/c++/7/ext/string_conversions.h:115:14: error: expression list treated as compound expression in functional cast [-fpermissive]
- return _String(__s, __s + __len);
- ^~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/c++/7/ext/string_conversions.h:115:14: error: cast from ‘char*’ to ‘int’ loses precision [-fpermissive]
- /usr/include/c++/7/ext/string_conversions.h: In instantiation of ‘_String __gnu_cxx::__to_xstring(int (*)(_CharT*, std::size_t, const _CharT*, __va_list_tag*), std::size_t, const _CharT*, ...) [with _String = int; _CharT = wchar_t; std::size_t = long unsigned int]’:
- /usr/include/c++/7/bits/basic_string.h:6510:22: required from here
- /usr/include/c++/7/ext/string_conversions.h:115:14: error: expression list treated as compound expression in functional cast [-fpermissive]
- /usr/include/c++/9/ext/string_conversions.h:115:14: error: cast from ‘wchar_t*’ to ‘int’ loses precision [-fpermissive]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement