Advertisement
pipboy101

g++ Compile Error

Feb 5th, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 68.06 KB | None | 0 0
  1. In file included from /usr/include/c++/7/bits/stringfwd.h:40:0,
  2.                  from /usr/include/c++/7/iosfwd:39,
  3.                  from /usr/include/c++/7/ios:38,
  4.                  from /usr/include/c++/7/istream:38,
  5.                  from /usr/include/c++/7/sstream:38,
  6.                  from uimanager.cpp:5:
  7. /usr/include/c++/7/bits/memoryfwd.h:50:1: error: expected unqualified-id before ‘namespace
  8.  namespace std _GLIBCXX_VISIBILITY(default)
  9.  ^~~~~~~~~
  10. In file included from /usr/include/c++/7/iosfwd:39:0,
  11.                  from /usr/include/c++/7/ios:38,
  12.                  from /usr/include/c++/7/istream:38,
  13.                  from /usr/include/c++/7/sstream:38,
  14.                  from uimanager.cpp:5:
  15. /usr/include/c++/7/bits/stringfwd.h:70:30: error: ‘allocator’ does not name a type; did you mean ‘alloca’?
  16.             typename _Alloc = allocator<_CharT> >
  17.                               ^~~~~~~~~
  18.                               alloca
  19. /usr/include/c++/7/bits/stringfwd.h:70:39: error: expected ‘>’ before ‘<’ token
  20.             typename _Alloc = allocator<_CharT> >
  21.                                        ^
  22. /usr/include/c++/7/bits/stringfwd.h:74:28: error: template argument 3 is invalid
  23.    typedef basic_string<char>    string;
  24.                             ^
  25. /usr/include/c++/7/bits/stringfwd.h:78:31: error: template argument 3 is invalid
  26.    typedef basic_string<wchar_t> wstring;
  27.                                ^
  28. /usr/include/c++/7/bits/stringfwd.h:84:32: error: template argument 3 is invalid
  29.    typedef basic_string<char16_t> u16string;
  30.                                 ^
  31. /usr/include/c++/7/bits/stringfwd.h:87:32: error: template argument 3 is invalid
  32.    typedef basic_string<char32_t> u32string;
  33.                                 ^
  34. In file included from /usr/include/c++/7/ios:38:0,
  35.                  from /usr/include/c++/7/istream:38,
  36.                  from /usr/include/c++/7/sstream:38,
  37.                  from uimanager.cpp:5:
  38. /usr/include/c++/7/iosfwd:95:24: error: ‘allocator’ does not name a type; did you mean ‘alloca’?
  39.       typename _Alloc = allocator<_CharT> >
  40.                         ^~~~~~~~~
  41.                         alloca
  42. /usr/include/c++/7/iosfwd:95:33: error: expected ‘>’ before ‘<’ token
  43.       typename _Alloc = allocator<_CharT> >
  44.                                  ^
  45. /usr/include/c++/7/iosfwd:99:23: error: ‘allocator’ does not name a type; did you mean ‘alloca’?
  46.      typename _Alloc = allocator<_CharT> >
  47.                        ^~~~~~~~~
  48.                        alloca
  49. /usr/include/c++/7/iosfwd:99:32: error: expected ‘>’ before ‘<’ token
  50.      typename _Alloc = allocator<_CharT> >
  51.                                 ^
  52. /usr/include/c++/7/iosfwd:103:23: error: ‘allocator’ does not name a type; did you mean ‘alloca’?
  53.      typename _Alloc = allocator<_CharT> >
  54.                        ^~~~~~~~~
  55.                        alloca
  56. /usr/include/c++/7/iosfwd:103:32: error: expected ‘>’ before ‘<’ token
  57.      typename _Alloc = allocator<_CharT> >
  58.                                 ^
  59. /usr/include/c++/7/iosfwd:107:23: error: ‘allocator’ does not name a type; did you mean ‘alloca’?
  60.      typename _Alloc = allocator<_CharT> >
  61.                        ^~~~~~~~~
  62.                        alloca
  63. /usr/include/c++/7/iosfwd:107:32: error: expected ‘>’ before ‘<’ token
  64.      typename _Alloc = allocator<_CharT> >
  65.                                 ^
  66. /usr/include/c++/7/iosfwd:147:31: error: template argument 3 is invalid
  67.    typedef basic_stringbuf<char>  stringbuf;
  68.                                ^
  69. /usr/include/c++/7/iosfwd:150:35: error: template argument 3 is invalid
  70.    typedef basic_istringstream<char>  istringstream;
  71.                                    ^
  72. /usr/include/c++/7/iosfwd:153:35: error: template argument 3 is invalid
  73.    typedef basic_ostringstream<char>  ostringstream;
  74.                                    ^
  75. /usr/include/c++/7/iosfwd:156:34: error: template argument 3 is invalid
  76.    typedef basic_stringstream<char>  stringstream;
  77.                                   ^
  78. /usr/include/c++/7/iosfwd:187:34: error: template argument 3 is invalid
  79.    typedef basic_stringbuf<wchar_t>  wstringbuf;
  80.                                   ^
  81. /usr/include/c++/7/iosfwd:190:38: error: template argument 3 is invalid
  82.    typedef basic_istringstream<wchar_t>  wistringstream;
  83.                                       ^
  84. /usr/include/c++/7/iosfwd:193:38: error: template argument 3 is invalid
  85.    typedef basic_ostringstream<wchar_t>  wostringstream;
  86.                                       ^
  87. /usr/include/c++/7/iosfwd:196:37: error: template argument 3 is invalid
  88.    typedef basic_stringstream<wchar_t>  wstringstream;
  89.                                      ^
  90. In file included from /usr/include/c++/7/string:41:0,
  91.                  from /usr/include/c++/7/bits/locale_classes.h:40,
  92.                  from /usr/include/c++/7/bits/ios_base.h:41,
  93.                  from /usr/include/c++/7/ios:42,
  94.                  from /usr/include/c++/7/istream:38,
  95.                  from /usr/include/c++/7/sstream:38,
  96.                  from uimanager.cpp:5:
  97. /usr/include/c++/7/bits/allocator.h:68:11: error: ‘allocator’ is not a class template
  98.      class allocator<void>
  99.            ^~~~~~~~~
  100. /usr/include/c++/7/bits/allocator.h:69:5: error: explicit specialization of non-template ‘std::allocator
  101.      {
  102.      ^
  103. /usr/include/c++/7/bits/allocator.h:79:12: error: ‘std::allocator’ is not a template
  104.   { typedef allocator<_Tp1> other; };
  105.             ^~~~~~~~~
  106. /usr/include/c++/7/bits/allocator.h:108:11: error: ‘std::allocator’ is not a template
  107.      class allocator: public __allocator_base<_Tp>
  108.            ^~~~~~~~~
  109. /usr/include/c++/7/bits/allocator.h:68:11: note: previous declaration here
  110.      class allocator<void>
  111.            ^~~~~~~~~
  112. /usr/include/c++/7/bits/allocator.h:146:22: error: ‘std::allocator’ is not a template
  113.      operator==(const allocator<_T1>&, const allocator<_T2>&)
  114.                       ^~~~~~~~~
  115. /usr/include/c++/7/bits/allocator.h:146:45: error: ‘std::allocator’ is not a template
  116.      operator==(const allocator<_T1>&, const allocator<_T2>&)
  117.                                              ^~~~~~~~~
  118. /usr/include/c++/7/bits/allocator.h:152:22: error: ‘std::allocator’ is not a template
  119.      operator==(const allocator<_Tp>&, const allocator<_Tp>&)
  120.                       ^~~~~~~~~
  121. /usr/include/c++/7/bits/allocator.h:152:45: error: ‘std::allocator’ is not a template
  122.      operator==(const allocator<_Tp>&, const allocator<_Tp>&)
  123.                                              ^~~~~~~~~
  124. /usr/include/c++/7/bits/allocator.h:158:22: error: ‘std::allocator’ is not a template
  125.      operator!=(const allocator<_T1>&, const allocator<_T2>&)
  126.                       ^~~~~~~~~
  127. /usr/include/c++/7/bits/allocator.h:158:45: error: ‘std::allocator’ is not a template
  128.      operator!=(const allocator<_T1>&, const allocator<_T2>&)
  129.                                              ^~~~~~~~~
  130. /usr/include/c++/7/bits/allocator.h:164:22: error: ‘std::allocator’ is not a template
  131.      operator!=(const allocator<_Tp>&, const allocator<_Tp>&)
  132.                       ^~~~~~~~~
  133. /usr/include/c++/7/bits/allocator.h:164:45: error: ‘std::allocator’ is not a template
  134.      operator!=(const allocator<_Tp>&, const allocator<_Tp>&)
  135.                                              ^~~~~~~~~
  136. /usr/include/c++/7/bits/allocator.h:173:25: error: ‘allocator’ is not a class template
  137.    extern template class allocator<char>;
  138.                          ^~~~~~~~~
  139. /usr/include/c++/7/bits/allocator.h:173:25: error: explicit instantiation of non-template type ‘std::allocator
  140. /usr/include/c++/7/bits/allocator.h:174:25: error: ‘allocator’ is not a class template
  141.    extern template class allocator<wchar_t>;
  142.                          ^~~~~~~~~
  143. /usr/include/c++/7/bits/allocator.h:174:25: error: explicit instantiation of non-template type ‘std::allocator
  144. In file included from /usr/include/c++/7/ext/alloc_traits.h:36:0,
  145.                  from /usr/include/c++/7/bits/basic_string.h:40,
  146.                  from /usr/include/c++/7/string:52,
  147.                  from /usr/include/c++/7/bits/locale_classes.h:40,
  148.                  from /usr/include/c++/7/bits/ios_base.h:41,
  149.                  from /usr/include/c++/7/ios:42,
  150.                  from /usr/include/c++/7/istream:38,
  151.                  from /usr/include/c++/7/sstream:38,
  152.                  from uimanager.cpp:5:
  153. /usr/include/c++/7/bits/alloc_traits.h:384:29: error: ‘std::allocator’ is not a template
  154.      struct allocator_traits<allocator<_Tp>>
  155.                              ^~~~~~~~~
  156. /usr/include/c++/7/bits/alloc_traits.h:384:12: error: template parameters not deducible in partial specialization:
  157.      struct allocator_traits<allocator<_Tp>>
  158.             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  159. /usr/include/c++/7/bits/alloc_traits.h:384:12: note:         ‘_Tp’
  160. /usr/include/c++/7/bits/alloc_traits.h:597:33: error: ‘std::allocator’ is not a template
  161.      struct __is_copy_insertable<allocator<_Tp>>
  162.                                  ^~~~~~~~~
  163. /usr/include/c++/7/bits/alloc_traits.h:597:12: error: template parameters not deducible in partial specialization:
  164.      struct __is_copy_insertable<allocator<_Tp>>
  165.             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  166. /usr/include/c++/7/bits/alloc_traits.h:597:12: note:         ‘_Tp’
  167. In file included from /usr/include/c++/7/string:52:0,
  168.                  from /usr/include/c++/7/bits/locale_classes.h:40,
  169.                  from /usr/include/c++/7/bits/ios_base.h:41,
  170.                  from /usr/include/c++/7/ios:42,
  171.                  from /usr/include/c++/7/istream:38,
  172.                  from /usr/include/c++/7/sstream:38,
  173.                  from uimanager.cpp:5:
  174. /usr/include/c++/7/bits/basic_string.h:6008:41: error: template argument 3 is invalid
  175.      operator==(const basic_string<_CharT>& __lhs,
  176.                                          ^
  177. /usr/include/c++/7/bits/basic_string.h:6009:34: error: template argument 3 is invalid
  178.          const basic_string<_CharT>& __rhs) _GLIBCXX_NOEXCEPT
  179.                                   ^
  180. In file included from /usr/include/c++/7/cstdlib:41:0,
  181.                  from /usr/include/c++/7/stdlib.h:36,
  182.                  from /usr/include/SDL2/SDL_stdinc.h:40,
  183.                  from /usr/include/SDL2/SDL_main.h:25,
  184.                  from /usr/include/SDL2/SDL.h:32,
  185.                  from uimanager.h:3:
  186. /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
  187.          const basic_string<_CharT>& __rhs) _GLIBCXX_NOEXCEPT
  188.                                             ^
  189. In file included from /usr/include/c++/7/string:52:0,
  190.                  from /usr/include/c++/7/bits/locale_classes.h:40,
  191.                  from /usr/include/c++/7/bits/ios_base.h:41,
  192.                  from /usr/include/c++/7/ios:42,
  193.                  from /usr/include/c++/7/istream:38,
  194.                  from /usr/include/c++/7/sstream:38,
  195.                  from uimanager.cpp:5:
  196. /usr/include/c++/7/bits/basic_string.h:6262:60: error: template argument 3 is invalid
  197.      operator>>(basic_istream<char>& __is, basic_string<char>& __str);
  198.                                                             ^
  199. /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
  200.      operator>>(basic_istream<char>& __is, basic_string<char>& __str);
  201.      ^~~~~~~~
  202. /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>&)
  203.      operator>>(basic_istream<_CharT, _Traits>& __is,
  204.      ^~~~~~~~
  205. /usr/include/c++/7/bits/basic_string.h:6337:57: error: template argument 3 is invalid
  206.      getline(basic_istream<char>& __in, basic_string<char>& __str,
  207.                                                          ^
  208. /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
  209.      getline(basic_istream<char>& __in, basic_string<char>& __str,
  210.      ^~~~~~~
  211. /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>&)
  212.      getline(basic_istream<_CharT, _Traits>&& __is,
  213.      ^~~~~~~
  214. /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)
  215.      getline(basic_istream<_CharT, _Traits>&& __is,
  216.      ^~~~~~~
  217. /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>&)
  218.      getline(basic_istream<_CharT, _Traits>& __is,
  219.      ^~~~~~~
  220. /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)
  221.      getline(basic_istream<_CharT, _Traits>& __is,
  222.      ^~~~~~~
  223. /usr/include/c++/7/bits/basic_string.h:6343:63: error: template argument 3 is invalid
  224.      getline(basic_istream<wchar_t>& __in, basic_string<wchar_t>& __str,
  225.                                                                ^
  226. /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
  227.      getline(basic_istream<wchar_t>& __in, basic_string<wchar_t>& __str,
  228.      ^~~~~~~
  229. /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>&)
  230.      getline(basic_istream<_CharT, _Traits>&& __is,
  231.      ^~~~~~~
  232. /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)
  233.      getline(basic_istream<_CharT, _Traits>&& __is,
  234.      ^~~~~~~
  235. /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>&)
  236.      getline(basic_istream<_CharT, _Traits>& __is,
  237.      ^~~~~~~
  238. /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)
  239.      getline(basic_istream<_CharT, _Traits>& __is,
  240.      ^~~~~~~
  241. In file included from /usr/include/c++/8/string:52:0,
  242.                  from /usr/include/c++/7/bits/locale_classes.h:40,
  243.                  from /usr/include/c++/7/bits/ios_base.h:41,
  244.                  from /usr/include/c++/7/ios:42,
  245.                  from /usr/include/c++/7/istream:38,
  246.                  from /usr/include/c++/7/sstream:38,
  247.                  from uimanager.cpp:5:
  248. /usr/include/c++/7/bits/basic_string.h: In function ‘int std::__cxx11::stoi(const string&, std::size_t*, int):
  249. /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}
  250.    { return __gnu_cxx::__stoa<long, int>(&std::strtol, "stoi", __str.c_str(),
  251.                                                                      ^~~~~
  252. /usr/include/c++/7/bits/basic_string.h: In function ‘long int std::__cxx11::stol(const string&, std::size_t*, int):
  253. /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}
  254.    { return __gnu_cxx::__stoa(&std::strtol, "stol", __str.c_str(),
  255.                                                           ^~~~~
  256. /usr/include/c++/7/bits/basic_string.h: In function ‘long unsigned int std::__cxx11::stoul(const string&, std::size_t*, int):
  257. /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}
  258.    { return __gnu_cxx::__stoa(&std::strtoul, "stoul", __str.c_str(),
  259.                                                             ^~~~~
  260. /usr/include/c++/7/bits/basic_string.h: In function ‘long long int std::__cxx11::stoll(const string&, std::size_t*, int):
  261. /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}
  262.    { return __gnu_cxx::__stoa(&std::strtoll, "stoll", __str.c_str(),
  263.                                                             ^~~~~
  264. /usr/include/c++/7/bits/basic_string.h: In function ‘long long unsigned int std::__cxx11::stoull(const string&, std::size_t*, int):
  265. /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}
  266.    { return __gnu_cxx::__stoa(&std::strtoull, "stoull", __str.c_str(),
  267.                                                               ^~~~~
  268. /usr/include/c++/7/bits/basic_string.h: In function ‘float std::__cxx11::stof(const string&, std::size_t*):
  269. /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}
  270.    { return __gnu_cxx::__stoa(&std::strtof, "stof", __str.c_str(), __idx); }
  271.                                                           ^~~~~
  272. /usr/include/c++/7/bits/basic_string.h: In function ‘double std::__cxx11::stod(const string&, std::size_t*):
  273. /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}
  274.    { return __gnu_cxx::__stoa(&std::strtod, "stod", __str.c_str(), __idx); }
  275.                                                           ^~~~~
  276. /usr/include/c++/7/bits/basic_string.h: In function ‘long double std::__cxx11::stold(const string&, std::size_t*):
  277. /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}
  278.    { return __gnu_cxx::__stoa(&std::strtold, "stold", __str.c_str(), __idx); }
  279.                                                             ^~~~~
  280. /usr/include/c++/7/bits/basic_string.h: In function ‘int std::__cxx11::stoi(const wstring&, std::size_t*, int):
  281. /usr/include/c++/7/bits/basic_string.h:6468:3: error: redefinition of ‘int std::__cxx11::stoi(const wstring&, std::size_t*, int)
  282.    stoi(const wstring& __str, size_t* __idx = 0, int __base = 10)
  283.    ^~~~
  284. /usr/include/c++/7/bits/basic_string.h:6362:3: note:int std::__cxx11::stoi(const string&, std::size_t*, int)’ previously defined here
  285.    stoi(const string& __str, size_t* __idx = 0, int __base = 10)
  286.    ^~~~
  287. /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}
  288.    { return __gnu_cxx::__stoa<long, int>(&std::wcstol, "stoi", __str.c_str(),
  289.                                                                      ^~~~~
  290. /usr/include/c++/7/bits/basic_string.h: In function ‘long int std::__cxx11::stol(const wstring&, std::size_t*, int):
  291. /usr/include/c++/7/bits/basic_string.h:6473:3: error: redefinition of ‘long int std::__cxx11::stol(const wstring&, std::size_t*, int)
  292.    stol(const wstring& __str, size_t* __idx = 0, int __base = 10)
  293.    ^~~~
  294. /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
  295.    stol(const string& __str, size_t* __idx = 0, int __base = 10)
  296.    ^~~~
  297. /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}
  298.    { return __gnu_cxx::__stoa(&std::wcstol, "stol", __str.c_str(),
  299.                                                           ^~~~~
  300. /usr/include/c++/7/bits/basic_string.h: In function ‘long unsigned int std::__cxx11::stoul(const wstring&, std::size_t*, int):
  301. /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)
  302.    stoul(const wstring& __str, size_t* __idx = 0, int __base = 10)
  303.    ^~~~~
  304. /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
  305.    stoul(const string& __str, size_t* __idx = 0, int __base = 10)
  306.    ^~~~~
  307. /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}
  308.    { return __gnu_cxx::__stoa(&std::wcstoul, "stoul", __str.c_str(),
  309.                                                             ^~~~~
  310. /usr/include/c++/7/bits/basic_string.h: In function ‘long long int std::__cxx11::stoll(const wstring&, std::size_t*, int):
  311. /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)
  312.    stoll(const wstring& __str, size_t* __idx = 0, int __base = 10)
  313.    ^~~~~
  314. /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
  315.    stoll(const string& __str, size_t* __idx = 0, int __base = 10)
  316.    ^~~~~
  317. /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}
  318.    { return __gnu_cxx::__stoa(&std::wcstoll, "stoll", __str.c_str(),
  319.                                                             ^~~~~
  320. /usr/include/c++/7/bits/basic_string.h: In function ‘long long unsigned int std::__cxx11::stoull(const wstring&, std::size_t*, int):
  321. /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)
  322.    stoull(const wstring& __str, size_t* __idx = 0, int __base = 10)
  323.    ^~~~~~
  324. /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
  325.    stoull(const string& __str, size_t* __idx = 0, int __base = 10)
  326.    ^~~~~~
  327. /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}
  328.    { return __gnu_cxx::__stoa(&std::wcstoull, "stoull", __str.c_str(),
  329.                                                               ^~~~~
  330. /usr/include/c++/7/bits/basic_string.h: In function ‘float std::__cxx11::stof(const wstring&, std::size_t*):
  331. /usr/include/c++/7/bits/basic_string.h:6494:3: error: redefinition of ‘float std::__cxx11::stof(const wstring&, std::size_t*)
  332.    stof(const wstring& __str, size_t* __idx = 0)
  333.    ^~~~
  334. /usr/include/c++/7/bits/basic_string.h:6388:3: note:float std::__cxx11::stof(const string&, std::size_t*)’ previously defined here
  335.    stof(const string& __str, size_t* __idx = 0)
  336.    ^~~~
  337. /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}
  338.    { return __gnu_cxx::__stoa(&std::wcstof, "stof", __str.c_str(), __idx); }
  339.                                                           ^~~~~
  340. /usr/include/c++/7/bits/basic_string.h: In function ‘double std::__cxx11::stod(const wstring&, std::size_t*):
  341. /usr/include/c++/7/bits/basic_string.h:6498:3: error: redefinition of ‘double std::__cxx11::stod(const wstring&, std::size_t*)
  342.    stod(const wstring& __str, size_t* __idx = 0)
  343.    ^~~~
  344. /usr/include/c++/7/bits/basic_string.h:6392:3: note:double std::__cxx11::stod(const string&, std::size_t*)’ previously defined here
  345.    stod(const string& __str, size_t* __idx = 0)
  346.    ^~~~
  347. /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}
  348.    { return __gnu_cxx::__stoa(&std::wcstod, "stod", __str.c_str(), __idx); }
  349.                                                           ^~~~~
  350. /usr/include/c++/7/bits/basic_string.h: In function ‘long double std::__cxx11::stold(const wstring&, std::size_t*):
  351. /usr/include/c++/7/bits/basic_string.h:6502:3: error: redefinition of ‘long double std::__cxx11::stold(const wstring&, std::size_t*)
  352.    stold(const wstring& __str, size_t* __idx = 0)
  353.    ^~~~~
  354. /usr/include/c++/7/bits/basic_string.h:6396:3: note:long double std::__cxx11::stold(const string&, std::size_t*)’ previously defined here
  355.    stold(const string& __str, size_t* __idx = 0)
  356.    ^~~~~
  357. /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}
  358.    { return __gnu_cxx::__stoa(&std::wcstold, "stold", __str.c_str(), __idx); }
  359.                                                             ^~~~~
  360. In file included from /usr/include/c++/7/string:52:0,
  361.                  from /usr/include/c++/7/bits/locale_classes.h:40,
  362.                  from /usr/include/c++/7/bits/ios_base.h:41,
  363.                  from /usr/include/c++/7/ios:42,
  364.                  from /usr/include/c++/7/istream:38,
  365.                  from /usr/include/c++/7/sstream:38,
  366.                  from uimanager.cpp:5:
  367. /usr/include/c++/7/bits/basic_string.h: At global scope:
  368. /usr/include/c++/7/bits/basic_string.h:6589:12: error: redefinition of ‘struct std::hash<int>
  369.      struct hash<string>
  370.             ^~~~~~~~~~~~
  371. In file included from /usr/include/c++/7/bits/basic_string.h:6578:0,
  372.                  from /usr/include/c++/7/string:52,
  373.                  from /usr/include/c++/7/bits/locale_classes.h:40,
  374.                  from /usr/include/c++/7/bits/ios_base.h:41,
  375.                  from /usr/include/c++/7/ios:42,
  376.                  from /usr/include/c++/7/istream:38,
  377.                  from /usr/include/c++/7/sstream:38,
  378.                  from uimanager.cpp:5:
  379. /usr/include/c++/7/bits/functional_hash.h:148:3: note: previous definition of ‘struct std::hash<int>
  380.    _Cxx_hashtable_define_trivial_hash(int)
  381.    ^
  382. In file included from /usr/include/c++/7/string:52:0,
  383.                  from /usr/include/c++/7/bits/locale_classes.h:40,
  384.                  from /usr/include/c++/7/bits/ios_base.h:41,
  385.                  from /usr/include/c++/7/ios:42,
  386.                  from /usr/include/c++/7/istream:38,
  387.                  from /usr/include/c++/7/sstream:38,
  388.                  from uimanager.cpp:5:
  389. /usr/include/c++/7/bits/basic_string.h:6604:12: error: redefinition of ‘struct std::hash<int>
  390.      struct hash<wstring>
  391.             ^~~~~~~~~~~~~
  392. In file included from /usr/include/c++/7/bits/basic_string.h:6578:0,
  393.                  from /usr/include/c++/7/string:52,
  394.                  from /usr/include/c++/7/bits/locale_classes.h:40,
  395.                  from /usr/include/c++/7/bits/ios_base.h:41,
  396.                  from /usr/include/c++/7/ios:42,
  397.                  from /usr/include/c++/7/istream:38,
  398.                  from /usr/include/c++/7/sstream:38,
  399.                  from uimanager.cpp:5:
  400. /usr/include/c++/7/bits/functional_hash.h:148:3: note: previous definition of ‘struct std::hash<int>
  401.    _Cxx_hashtable_define_trivial_hash(int)
  402.    ^
  403. In file included from /usr/include/c++/7/string:52:0,
  404.                  from /usr/include/c++/7/bits/locale_classes.h:40,
  405.                  from /usr/include/c++/7/bits/ios_base.h:41,
  406.                  from /usr/include/c++/7/ios:42,
  407.                  from /usr/include/c++/7/istream:38,
  408.                  from /usr/include/c++/7/sstream:38,
  409.                  from uimanager.cpp:5:
  410. /usr/include/c++/7/bits/basic_string.h:6614:12: error: redefinition of ‘struct std::__is_fast_hash<std::hash<int> >
  411.      struct __is_fast_hash<hash<wstring>> : std::false_type
  412.             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  413. /usr/include/c++/7/bits/basic_string.h:6598:12: note: previous definition of ‘struct std::__is_fast_hash<std::hash<int> >
  414.      struct __is_fast_hash<hash<string>> : std::false_type
  415.             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  416. /usr/include/c++/7/bits/basic_string.h:6622:12: error: redefinition of ‘struct std::hash<int>
  417.      struct hash<u16string>
  418.             ^~~~~~~~~~~~~~~
  419. In file included from /usr/include/c++/7/bits/basic_string.h:6578:0,
  420.                  from /usr/include/c++/7/string:52,
  421.                  from /usr/include/c++/7/bits/locale_classes.h:40,
  422.                  from /usr/include/c++/7/bits/ios_base.h:41,
  423.                  from /usr/include/c++/7/ios:42,
  424.                  from /usr/include/c++/7/istream:38,
  425.                  from /usr/include/c++/7/sstream:38,
  426.                  from uimanager.cpp:5:
  427. /usr/include/c++/7/bits/functional_hash.h:148:3: note: previous definition of ‘struct std::hash<int>
  428.    _Cxx_hashtable_define_trivial_hash(int)
  429.    ^
  430. In file included from /usr/include/c++/7/string:52:0,
  431.                  from /usr/include/c++/7/bits/locale_classes.h:40,
  432.                  from /usr/include/c++/7/bits/ios_base.h:41,
  433.                  from /usr/include/c++/7/ios:42,
  434.                  from /usr/include/c++/7/istream:38,
  435.                  from /usr/include/c++/7/sstream:38,
  436.                  from uimanager.cpp:5:
  437. /usr/include/c++/7/bits/basic_string.h:6632:12: error: redefinition of ‘struct std::__is_fast_hash<std::hash<int> >
  438.      struct __is_fast_hash<hash<u16string>> : std::false_type
  439.             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  440. /usr/include/c++/7/bits/basic_string.h:6598:12: note: previous definition of ‘struct std::__is_fast_hash<std::hash<int> >
  441.      struct __is_fast_hash<hash<string>> : std::false_type
  442.             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  443. /usr/include/c++/7/bits/basic_string.h:6637:12: error: redefinition of ‘struct std::hash<int>
  444.      struct hash<u32string>
  445.             ^~~~~~~~~~~~~~~
  446. In file included from /usr/include/c++/7/bits/basic_string.h:6578:0,
  447.                  from /usr/include/c++/7/string:52,
  448.                  from /usr/include/c++/7/bits/locale_classes.h:40,
  449.                  from /usr/include/c++/7/bits/ios_base.h:41,
  450.                  from /usr/include/c++/7/ios:42,
  451.                  from /usr/include/c++/7/istream:38,
  452.                  from /usr/include/c++/7/sstream:38,
  453.                  from uimanager.cpp:5:
  454. /usr/include/c++/7/bits/functional_hash.h:148:3: note: previous definition of ‘struct std::hash<int>
  455.    _Cxx_hashtable_define_trivial_hash(int)
  456.    ^
  457. In file included from /usr/include/c++/7/string:52:0,
  458.                  from /usr/include/c++/7/bits/locale_classes.h:40,
  459.                  from /usr/include/c++/7/bits/ios_base.h:41,
  460.                  from /usr/include/c++/7/ios:42,
  461.                  from /usr/include/c++/7/istream:38,
  462.                  from /usr/include/c++/7/sstream:38,
  463.                  from uimanager.cpp:5:
  464. /usr/include/c++/7/bits/basic_string.h:6647:12: error: redefinition of ‘struct std::__is_fast_hash<std::hash<int> >
  465.      struct __is_fast_hash<hash<u32string>> : std::false_type
  466.             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  467. /usr/include/c++/7/bits/basic_string.h:6598:12: note: previous definition of ‘struct std::__is_fast_hash<std::hash<int> >
  468.      struct __is_fast_hash<hash<string>> : std::false_type
  469.             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  470. /usr/include/c++/7/bits/basic_string.h:6664:29: error: template argument 3 is invalid
  471.      inline basic_string<char>
  472.                              ^
  473. /usr/include/c++/7/bits/basic_string.h: In function ‘int std::literals::string_literals::operator""s(const char*, std::size_t):
  474. /usr/include/c++/7/bits/basic_string.h:6666:31: error: template argument 3 is invalid
  475.      { return basic_string<char>{__str, __len}; }
  476.                                ^
  477. /usr/include/c++/7/bits/basic_string.h: At global scope:
  478. /usr/include/c++/7/bits/basic_string.h:6670:32: error: template argument 3 is invalid
  479.      inline basic_string<wchar_t>
  480.                                 ^
  481. /usr/include/c++/7/bits/basic_string.h: In function ‘int std::literals::string_literals::operator""s(const wchar_t*, std::size_t):
  482. /usr/include/c++/7/bits/basic_string.h:6672:34: error: template argument 3 is invalid
  483.      { return basic_string<wchar_t>{__str, __len}; }
  484.                                   ^
  485. /usr/include/c++/7/bits/basic_string.h: At global scope:
  486. /usr/include/c++/7/bits/basic_string.h:6677:33: error: template argument 3 is invalid
  487.      inline basic_string<char16_t>
  488.                                  ^
  489. /usr/include/c++/7/bits/basic_string.h: In function ‘int std::literals::string_literals::operator""s(const char16_t*, std::size_t):
  490. /usr/include/c++/7/bits/basic_string.h:6679:35: error: template argument 3 is invalid
  491.      { return basic_string<char16_t>{__str, __len}; }
  492.                                    ^
  493. /usr/include/c++/7/bits/basic_string.h: At global scope:
  494. /usr/include/c++/7/bits/basic_string.h:6682:33: error: template argument 3 is invalid
  495.      inline basic_string<char32_t>
  496.                                  ^
  497. /usr/include/c++/7/bits/basic_string.h: In function ‘int std::literals::string_literals::operator""s(const char32_t*, std::size_t):
  498. /usr/include/c++/7/bits/basic_string.h:6684:35: error: template argument 3 is invalid
  499.      { return basic_string<char32_t>{__str, __len}; }
  500.                                    ^
  501. In file included from /usr/include/c++/7/string:53:0,
  502.                  from /usr/include/c++/7/bits/locale_classes.h:40,
  503.                  from /usr/include/c++/7/bits/ios_base.h:41,
  504.                  from /usr/include/c++/7/ios:42,
  505.                  from /usr/include/c++/7/istream:38,
  506.                  from /usr/include/c++/7/sstream:38,
  507.                  from uimanager.cpp:5:
  508. /usr/include/c++/7/bits/basic_string.tcc: At global scope:
  509. /usr/include/c++/7/bits/basic_string.tcc:1607:42: error: template argument 3 is invalid
  510.    extern template class basic_string<char>;
  511.                                           ^
  512. /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
  513.      operator>>(basic_istream<char>&, string&);
  514.      ^~~~~~~~
  515. /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>&)
  516.      operator>>(basic_istream<_CharT, _Traits>& __in,
  517.      ^~~~~~~~
  518. /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
  519.      operator<<(basic_ostream<char>&, const string&);
  520.      ^~~~~~~~
  521. In file included from /usr/include/c++/7/string:52:0,
  522.                  from /usr/include/c++/7/bits/locale_classes.h:40,
  523.                  from /usr/include/c++/7/bits/ios_base.h:41,
  524.                  from /usr/include/c++/7/ios:42,
  525.                  from /usr/include/c++/7/istream:38,
  526.                  from /usr/include/c++/7/sstream:38,
  527.                  from uimanager.cpp:5:
  528. /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>&)
  529.      operator<<(basic_ostream<_CharT, _Traits>& __os,
  530.      ^~~~~~~~
  531. In file included from /usr/include/c++/7/string:53:0,
  532.                  from /usr/include/c++/7/bits/locale_classes.h:40,
  533.                  from /usr/include/c++/7/bits/ios_base.h:41,
  534.                  from /usr/include/c++/7/ios:42,
  535.                  from /usr/include/c++/7/istream:38,
  536.                  from /usr/include/c++/7/sstream:38,
  537.                  from uimanager.cpp:5:
  538. /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
  539.      getline(basic_istream<char>&, string&, char);
  540.      ^~~~~~~
  541. In file included from /usr/include/c++/7/string:52:0,
  542.                  from /usr/include/c++/7/bits/locale_classes.h:40,
  543.                  from /usr/include/c++/7/bits/ios_base.h:41,
  544.                  from /usr/include/c++/7/ios:42,
  545.                  from /usr/include/c++/7/istream:38,
  546.                  from /usr/include/c++/7/sstream:38,
  547.                  from uimanager.cpp:5:
  548. /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>&)
  549.      getline(basic_istream<_CharT, _Traits>&& __is,
  550.      ^~~~~~~
  551. /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)
  552.      getline(basic_istream<_CharT, _Traits>&& __is,
  553.      ^~~~~~~
  554. /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>&)
  555.      getline(basic_istream<_CharT, _Traits>& __is,
  556.      ^~~~~~~
  557. In file included from /usr/include/c++/7/string:53:0,
  558.                  from /usr/include/c++/7/bits/locale_classes.h:40,
  559.                  from /usr/include/c++/7/bits/ios_base.h:41,
  560.                  from /usr/include/c++/7/ios:42,
  561.                  from /usr/include/c++/7/istream:38,
  562.                  from /usr/include/c++/7/sstream:38,
  563.                  from uimanager.cpp:5:
  564. /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)
  565.      getline(basic_istream<_CharT, _Traits>& __in,
  566.      ^~~~~~~
  567. /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
  568.      getline(basic_istream<char>&, string&);
  569.      ^~~~~~~
  570. In file included from /usr/include/c++/7/string:52:0,
  571.                  from /usr/include/c++/7/bits/locale_classes.h:40,
  572.                  from /usr/include/c++/7/bits/ios_base.h:41,
  573.                  from /usr/include/c++/7/ios:42,
  574.                  from /usr/include/c++/7/istream:38,
  575.                  from /usr/include/c++/7/sstream:38,
  576.                  from uimanager.cpp:5:
  577. /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>&)
  578.      getline(basic_istream<_CharT, _Traits>&& __is,
  579.      ^~~~~~~
  580. /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)
  581.      getline(basic_istream<_CharT, _Traits>&& __is,
  582.      ^~~~~~~
  583. /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>&)
  584.      getline(basic_istream<_CharT, _Traits>& __is,
  585.      ^~~~~~~
  586. In file included from /usr/include/c++/7/string:53:0,
  587.                  from /usr/include/c++/7/bits/locale_classes.h:40,
  588.                  from /usr/include/c++/7/bits/ios_base.h:41,
  589.                  from /usr/include/c++/7/ios:42,
  590.                  from /usr/include/c++/7/istream:38,
  591.                  from /usr/include/c++/7/sstream:38,
  592.                  from uimanager.cpp:5:
  593. /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)
  594.      getline(basic_istream<_CharT, _Traits>& __in,
  595.      ^~~~~~~
  596. /usr/include/c++/7/bits/basic_string.tcc:1630:45: error: template argument 3 is invalid
  597.    extern template class basic_string<wchar_t>;
  598.                                              ^
  599. /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
  600.      operator>>(basic_istream<wchar_t>&, wstring&);
  601.      ^~~~~~~~
  602. /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>&)
  603.      operator>>(basic_istream<_CharT, _Traits>& __in,
  604.      ^~~~~~~~
  605. /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
  606.      operator<<(basic_ostream<wchar_t>&, const wstring&);
  607.      ^~~~~~~~
  608. In file included from /usr/include/c++/7/string:52:0,
  609.                  from /usr/include/c++/7/bits/locale_classes.h:40,
  610.                  from /usr/include/c++/7/bits/ios_base.h:41,
  611.                  from /usr/include/c++/7/ios:42,
  612.                  from /usr/include/c++/7/istream:38,
  613.                  from /usr/include/c++/7/sstream:38,
  614.                  from uimanager.cpp:5:
  615. /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>&)
  616.      operator<<(basic_ostream<_CharT, _Traits>& __os,
  617.      ^~~~~~~~
  618. In file included from /usr/include/c++/7/string:53:0,
  619.                  from /usr/include/c++/7/bits/locale_classes.h:40,
  620.                  from /usr/include/c++/7/bits/ios_base.h:41,
  621.                  from /usr/include/c++/7/ios:42,
  622.                  from /usr/include/c++/7/istream:38,
  623.                  from /usr/include/c++/7/sstream:38,
  624.                  from uimanager.cpp:5:
  625. /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
  626.      getline(basic_istream<wchar_t>&, wstring&, wchar_t);
  627.      ^~~~~~~
  628. In file included from /usr/include/c++/7/string:52:0,
  629.                  from /usr/include/c++/7/bits/locale_classes.h:40,
  630.                  from /usr/include/c++/7/bits/ios_base.h:41,
  631.                  from /usr/include/c++/7/ios:42,
  632.                  from /usr/include/c++/7/istream:38,
  633.                  from /usr/include/c++/7/sstream:38,
  634.                  from uimanager.cpp:5:
  635. /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>&)
  636.      getline(basic_istream<_CharT, _Traits>&& __is,
  637.      ^~~~~~~
  638. /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)
  639.      getline(basic_istream<_CharT, _Traits>&& __is,
  640.      ^~~~~~~
  641. /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>&)
  642.      getline(basic_istream<_CharT, _Traits>& __is,
  643.      ^~~~~~~
  644. In file included from /usr/include/c++/7/string:53:0,
  645.                  from /usr/include/c++/7/bits/locale_classes.h:40,
  646.                  from /usr/include/c++/7/bits/ios_base.h:41,
  647.                  from /usr/include/c++/7/ios:42,
  648.                  from /usr/include/c++/7/istream:38,
  649.                  from /usr/include/c++/7/sstream:38,
  650.                  from uimanager.cpp:5:
  651. /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)
  652.      getline(basic_istream<_CharT, _Traits>& __in,
  653.      ^~~~~~~
  654. /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
  655.      getline(basic_istream<wchar_t>&, wstring&);
  656.      ^~~~~~~
  657. In file included from /usr/include/c++/7/string:52:0,
  658.                  from /usr/include/c++/7/bits/locale_classes.h:40,
  659.                  from /usr/include/c++/7/bits/ios_base.h:41,
  660.                  from /usr/include/c++/7/ios:42,
  661.                  from /usr/include/c++/7/istream:38,
  662.                  from /usr/include/c++/7/sstream:38,
  663.                  from uimanager.cpp:5:
  664. /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>&)
  665.      getline(basic_istream<_CharT, _Traits>&& __is,
  666.      ^~~~~~~
  667. /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)
  668.      getline(basic_istream<_CharT, _Traits>&& __is,
  669.      ^~~~~~~
  670. /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>&)
  671.      getline(basic_istream<_CharT, _Traits>& __is,
  672.      ^~~~~~~
  673. In file included from /usr/include/c++/7/string:53:0,
  674.                  from /usr/include/c++/7/bits/locale_classes.h:40,
  675.                  from /usr/include/c++/7/bits/ios_base.h:41,
  676.                  from /usr/include/c++/7/ios:42,
  677.                  from /usr/include/c++/7/istream:38,
  678.                  from /usr/include/c++/7/sstream:38,
  679.                  from uimanager.cpp:5:
  680. /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)
  681.      getline(basic_istream<_CharT, _Traits>& __in,
  682.      ^~~~~~~
  683. In file included from /usr/include/c++/7/bits/ios_base.h:41:0,
  684.                  from /usr/include/c++/7/ios:42,
  685.                  from /usr/include/c++/7/istream:38,
  686.                  from /usr/include/c++/7/sstream:38,
  687.                  from uimanager.cpp:5:
  688. /usr/include/c++/7/bits/locale_classes.h: In constructor ‘std::locale::locale(const string&):
  689. /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}
  690.      locale(const std::string& __s) : locale(__s.c_str()) { }
  691.                                                  ^~~~~
  692. /usr/include/c++/7/bits/locale_classes.h: In constructor ‘std::locale::locale(const std::locale&, const string&, std::locale::category):
  693. /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}
  694.      : locale(__base, __s.c_str(), __cat) { }
  695.                           ^~~~~
  696. /usr/include/c++/7/bits/locale_classes.h: At global scope:
  697. /usr/include/c++/7/bits/locale_classes.h:649:34: error: template argument 3 is invalid
  698.        typedef basic_string<_CharT> string_type;
  699.                                   ^
  700. /usr/include/c++/7/bits/locale_classes.h:822:34: error: template argument 3 is invalid
  701.        typedef basic_string<_CharT> string_type;
  702.                                   ^
  703. /usr/include/c++/7/bits/locale_classes.h: In constructor ‘std::__cxx11::collate_byname<_CharT>::collate_byname(const string&, std::size_t):
  704. /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}
  705.        : collate_byname(__s.c_str(), __refs) { }
  706.                             ^~~~~
  707. In file included from /usr/include/c++/7/bits/locale_classes.h:851:0,
  708.                  from /usr/include/c++/7/bits/ios_base.h:41,
  709.                  from /usr/include/c++/7/ios:42,
  710.                  from /usr/include/c++/7/istream:38,
  711.                  from /usr/include/c++/7/sstream:38,
  712.                  from uimanager.cpp:5:
  713. /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:
  714. /usr/include/c++/7/bits/locale_classes.tcc:166:43: error: expression list treated as compound expression in initializer [-fpermissive]
  715.        const string_type __one(__lo1, __hi1);
  716.                                            ^
  717. /usr/include/c++/7/bits/locale_classes.tcc:167:43: error: expression list treated as compound expression in initializer [-fpermissive]
  718.        const string_type __two(__lo2, __hi2);
  719.                                            ^
  720. /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}
  721.        const _CharT* __p = __one.c_str();
  722.                                  ^~~~~
  723. /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}
  724.        const _CharT* __pend = __one.data() + __one.length();
  725.                                     ^~~~
  726. /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}
  727.        const _CharT* __pend = __one.data() + __one.length();
  728.                                                    ^~~~~~
  729. /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}
  730.        const _CharT* __q = __two.c_str();
  731.                                  ^~~~~
  732. /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}
  733.        const _CharT* __qend = __two.data() + __two.length();
  734.                                     ^~~~
  735. /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}
  736.        const _CharT* __qend = __two.data() + __two.length();
  737.                                                    ^~~~~~
  738. /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:
  739. /usr/include/c++/7/bits/locale_classes.tcc:205:41: error: expression list treated as compound expression in initializer [-fpermissive]
  740.        const string_type __str(__lo, __hi);
  741.                                          ^
  742. /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}
  743.        const _CharT* __p = __str.c_str();
  744.                                  ^~~~~
  745. /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}
  746.        const _CharT* __pend = __str.data() + __str.length();
  747.                                     ^~~~
  748. /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}
  749.        const _CharT* __pend = __str.data() + __str.length();
  750.                                                    ^~~~~~
  751. /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}
  752.         __ret.append(__c, __res);
  753.               ^~~~~~
  754. /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}
  755.         __ret.push_back(_CharT());
  756.               ^~~~~~~~~
  757. In file included from /usr/include/c++/7/system_error:41:0,
  758.                  from /usr/include/c++/7/bits/ios_base.h:46,
  759.                  from /usr/include/c++/7/ios:42,
  760.                  from /usr/include/c++/7/istream:38,
  761.                  from /usr/include/c++/7/sstream:38,
  762.                  from uimanager.cpp:5:
  763. /usr/include/c++/7/stdexcept: At global scope:
  764. /usr/include/c++/7/stdexcept:67:28: error: template argument 3 is invalid
  765.    typedef basic_string<char> __sso_string;
  766.                             ^
  767. In file included from /usr/include/c++/7/bits/ios_base.h:46:0,
  768.                  from /usr/include/c++/7/ios:42,
  769.                  from /usr/include/c++/7/istream:38,
  770.                  from /usr/include/c++/7/sstream:38,
  771.                  from uimanager.cpp:5:
  772. /usr/include/c++/7/system_error: In constructor ‘std::system_error::system_error(std::error_code, const char*):
  773. /usr/include/c++/7/system_error:354:28: error: invalid operands of types ‘const char*’ and ‘const char*’ to binary ‘operator+
  774.      : runtime_error(__what + (": " + __ec.message())), _M_code(__ec) { }
  775.                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
  776. In file included from /usr/include/c++/7/bits/basic_ios.h:37:0,
  777.                  from /usr/include/c++/7/ios:44,
  778.                  from /usr/include/c++/7/istream:38,
  779.                  from /usr/include/c++/7/sstream:38,
  780.                  from uimanager.cpp:5:
  781. /usr/include/c++/7/bits/locale_facets.h: In constructor ‘std::ctype_byname<_CharT>::ctype_byname(const string&, std::size_t):
  782. /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}
  783.        : ctype_byname(__s.c_str(), __refs) { }
  784.                           ^~~~~
  785. In file included from /usr/include/c++/7/bits/basic_ios.h:37:0,
  786.                  from /usr/include/c++/7/ios:44,
  787.                  from /usr/include/c++/7/istream:38,
  788.                  from /usr/include/c++/7/sstream:38,
  789.                  from uimanager.cpp:5:
  790. /usr/include/c++/7/bits/locale_facets.h: At global scope:
  791. /usr/include/c++/7/bits/locale_facets.h:1673:34: error: template argument 3 is invalid
  792.        typedef basic_string<_CharT> string_type;
  793.                                   ^
  794. /usr/include/c++/7/bits/locale_facets.h:1903:34: error: template argument 3 is invalid
  795.        typedef basic_string<_CharT> string_type;
  796.                                   ^
  797. /usr/include/c++/7/bits/locale_facets.h: In constructor ‘std::__cxx11::numpunct_byname<_CharT>::numpunct_byname(const string&, std::size_t):
  798. /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}
  799.        : numpunct_byname(__s.c_str(), __refs) { }
  800.                              ^~~~~
  801. In file included from /usr/include/c++/7/bits/locale_facets.h:2651:0,
  802.                  from /usr/include/c++/7/bits/basic_ios.h:37,
  803.                  from /usr/include/c++/7/ios:44,
  804.                  from /usr/include/c++/7/istream:38,
  805.                  from /usr/include/c++/7/sstream:38,
  806.                  from uimanager.cpp:5:
  807. /usr/include/c++/7/bits/locale_facets.tcc: In member function ‘void std::__numpunct_cache<_CharT>::_M_cache(const std::locale&):
  808. /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}
  809.     _M_grouping_size = __g.size();
  810.                            ^~~~
  811. /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}
  812.     __g.copy(__grouping, _M_grouping_size);
  813.         ^~~~
  814. /usr/include/c++/7/bits/locale_facets.tcc:96:29: error: template argument 3 is invalid
  815.     const basic_string<_CharT>& __tn = __np.truename();
  816.                              ^
  817. /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
  818.     _M_truename_size = __tn.size();
  819.                             ^~~~
  820. /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
  821.     __tn.copy(__truename, _M_truename_size);
  822.          ^~~~
  823. /usr/include/c++/7/bits/locale_facets.tcc:101:29: error: template argument 3 is invalid
  824.     const basic_string<_CharT>& __fn = __np.falsename();
  825.                              ^
  826. /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
  827.     _M_falsename_size = __fn.size();
  828.                              ^~~~
  829. /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
  830.     __fn.copy(__falsename, _M_falsename_size);
  831.          ^~~~
  832. /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:
  833. /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}
  834.   __found_grouping.reserve(32);
  835.                    ^~~~~~~
  836. /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}
  837.     __xtrc.clear();
  838.            ^~~~~
  839. /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}
  840.        if (__found_grouping.size())
  841.                             ^~~~
  842. /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}
  843.        if (__found_grouping.size() && !__found_dec)
  844.                             ^~~~
  845. /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}
  846.        if (__found_grouping.size())
  847.                             ^~~~
  848. /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:
  849. /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}
  850.     __found_grouping.reserve(32);
  851.                      ^~~~~~~
  852. /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}
  853.   if (__found_grouping.size())
  854.                        ^~~~
  855. /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}
  856.   if ((!__sep_pos && !__found_zero && !__found_grouping.size())
  857.                                                         ^~~~
  858. /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:
  859. /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}
  860.        __xtrc.reserve(32);
  861.               ^~~~~~~
  862. /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}
  863.        std::__convert_to_v(__xtrc.c_str(), __v, __err, _S_get_c_locale());
  864.                                   ^~~~~
  865. /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:
  866. /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}
  867.        __xtrc.reserve(32);
  868.               ^~~~~~~
  869. /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}
  870.        std::__convert_to_v(__xtrc.c_str(), __v, __err, _S_get_c_locale());
  871.                                   ^~~~~
  872. /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:
  873. /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}
  874.        __xtrc.reserve(32);
  875.               ^~~~~~~
  876. /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}
  877.        std::__convert_to_v(__xtrc.c_str(), __v, __err, _S_get_c_locale());
  878.                                   ^~~~~
  879. In file included from /usr/include/c++/7/sstream:826:0,
  880.                  from uimanager.cpp:5:
  881. /usr/include/c++/7/bits/sstream.tcc: At global scope:
  882. /usr/include/c++/7/bits/sstream.tcc:291:45: error: template argument 3 is invalid
  883.    extern template class basic_stringbuf<char>;
  884.                                              ^
  885. /usr/include/c++/7/bits/sstream.tcc:292:49: error: template argument 3 is invalid
  886.    extern template class basic_istringstream<char>;
  887.                                                  ^
  888. /usr/include/c++/7/bits/sstream.tcc:293:49: error: template argument 3 is invalid
  889.    extern template class basic_ostringstream<char>;
  890.                                                  ^
  891. /usr/include/c++/7/bits/sstream.tcc:294:48: error: template argument 3 is invalid
  892.    extern template class basic_stringstream<char>;
  893.                                                 ^
  894. /usr/include/c++/7/bits/sstream.tcc:297:48: error: template argument 3 is invalid
  895.    extern template class basic_stringbuf<wchar_t>;
  896.                                                 ^
  897. /usr/include/c++/7/bits/sstream.tcc:298:52: error: template argument 3 is invalid
  898.    extern template class basic_istringstream<wchar_t>;
  899.                                                     ^
  900. /usr/include/c++/7/bits/sstream.tcc:299:52: error: template argument 3 is invalid
  901.    extern template class basic_ostringstream<wchar_t>;
  902.                                                     ^
  903. /usr/include/c++/7/bits/sstream.tcc:300:51: error: template argument 3 is invalid
  904.    extern template class basic_stringstream<wchar_t>;
  905.                                                    ^
  906. uimanager.cpp: In member function ‘void UIManager::RenderPlayerScore(const Player*):
  907. uimanager.cpp:36:7: error: request for member ‘str’ in ‘text’, which is of non-class type ‘std::stringstream {aka int}
  908.   text.str("");
  909.        ^~~
  910. uimanager.cpp:37:7: error: invalid operands of types ‘std::stringstream {aka int}’ and ‘const char [8]’ to binary ‘operator<<
  911.   text << "Score: " << player->mScore ;
  912.   ~~~~~^~~~~~~~~~~~
  913. uimanager.cpp:40:53: error: request for member ‘str’ in ‘text’, which is of non-class type ‘std::stringstream {aka int}
  914.   SDL_Surface* surface = CreateSurfaceFromText( text.str().c_str() );
  915.                                                      ^~~
  916. In file included from /usr/include/c++/7/bits/basic_string.h:6352:0,
  917.                  from /usr/include/c++/7/string:52,
  918.                  from /usr/include/c++/7/bits/locale_classes.h:40,
  919.                  from /usr/include/c++/7/bits/ios_base.h:41,
  920.                  from /usr/include/c++/7/ios:42,
  921.                  from /usr/include/c++/7/istream:38,
  922.                  from /usr/include/c++/7/sstream:38,
  923.                  from uimanager.cpp:5:
  924. /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]:
  925. /usr/include/c++/7/bits/basic_string.h:6407:20:   required from here
  926. /usr/include/c++/7/ext/string_conversions.h:115:14: error: expression list treated as compound expression in functional cast [-fpermissive]
  927.        return _String(__s, __s + __len);
  928.               ^~~~~~~~~~~~~~~~~~~~~~~~~
  929. /usr/include/c++/7/ext/string_conversions.h:115:14: error: cast from ‘char*’ to ‘int’ loses precision [-fpermissive]
  930. /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]:
  931. /usr/include/c++/7/bits/basic_string.h:6510:22:   required from here
  932. /usr/include/c++/7/ext/string_conversions.h:115:14: error: expression list treated as compound expression in functional cast [-fpermissive]
  933. /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