* installing *source* package ‘Familias’ ...
** this is package ‘Familias’ version ‘2.6.3’
** package ‘Familias’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’
using C++ compiler: ‘g++ (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/Familias/src'
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Element.cpp -o Element.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c FamInterface.cpp -o FamInterface.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c GroupOfPersons.cpp -o GroupOfPersons.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Node.cpp -o Node.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Pedigree.cpp -o Pedigree.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c PedigreeList.cpp -o PedigreeList.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c PedigreeSet.cpp -o PedigreeSet.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c aldata.cpp -o aldata.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c alsys.cpp -o alsys.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cutset.cpp -o cutset.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c family.cpp -o family.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c help.cpp -o help.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c main.cpp -o main.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c odds.cpp -o odds.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c pater.cpp -o pater.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c person.cpp -o person.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c read.cpp -o read.o
gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -c registerDynamicSymbol.c -o registerDynamicSymbol.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c special.cpp -o special.o
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c table.cpp -o table.o
GroupOfPersons.cpp: In member function ‘void GroupOfPersons::readData(std::ifstream&)’:
GroupOfPersons.cpp:60:9: error: no match for ‘operator>>’ (operand types are ‘std::ifstream’ {aka ‘std::basic_ifstream<char>’} and ‘char*’)
60 | is>>namesWomen[i];
| ~~^~~~~~~~~~~~~~~
| | |
| | char*
| std::ifstream {aka std::basic_ifstream<char>}
GroupOfPersons.cpp:60:9: note: there are 26 candidates
60 | is>>namesWomen[i];
| ~~^~~~~~~~~~~~~~~
In file included from /usr/include/c++/15/iostream:44,
from special.h:14,
from GroupOfPersons.cpp:5:
/usr/include/c++/15/istream:172:7: note: candidate 1: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(bool&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
172 | operator>>(bool& __n)
| ^~~~~~~~
/usr/include/c++/15/istream:172:7: note: conversion of argument 1 would be ill-formed:
GroupOfPersons.cpp:60:23: error: cannot bind non-const lvalue reference of type ‘bool&’ to a value of type ‘char*’
60 | is>>namesWomen[i];
| ~~~~~~~~~~~~^
/usr/include/c++/15/istream:176:7: note: candidate 2: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(short int&) [with _CharT = char; _Traits = std::char_traits<char>]’ (near match)
176 | operator>>(short& __n);
| ^~~~~~~~
/usr/include/c++/15/istream:176:7: note: conversion of argument 1 would be ill-formed:
GroupOfPersons.cpp:60:23: error: invalid conversion from ‘char*’ to ‘short int’ [-fpermissive]
60 | is>>namesWomen[i];
| ~~~~~~~~~~~~^
| |
| char*
table.cpp: In function ‘char* my_place_in_string(double)’:
table.cpp:55:8: error: no match for ‘operator>>’ (operand types are ‘std::stringstream’ {aka ‘std::__cxx11::basic_stringstream<char>’} and ‘char*’)
55 | ss >> result;
| ~~ ^~ ~~~~~~
| | |
| | char*
| std::stringstream {aka std::__cxx11::basic_stringstream<char>}
GroupOfPersons.cpp:60:23: error: cannot bind rvalue ‘(short int)(*(((GroupOfPersons*)this)->GroupOfPersons::namesWomen + ((sizetype)(((long unsigned int)i) * 8))))’ to ‘short int&’
/usr/include/c++/15/istream:179:7: note: candidate 3: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(short unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
179 | operator>>(unsigned short& __n)
| ^~~~~~~~
/usr/include/c++/15/istream:179:7: note: conversion of argument 1 would be ill-formed:
table.cpp:55:8: note: there are 26 candidates
55 | ss >> result;
| ~~~^~~~~~~~~
GroupOfPersons.cpp:60:23: error: invalid conversion from ‘char*’ to ‘short unsigned int’ [-fpermissive]
60 | is>>namesWomen[i];
| ~~~~~~~~~~~~^
| |
| char*
GroupOfPersons.cpp:60:23: error: cannot bind rvalue ‘(short unsigned int)(*(((GroupOfPersons*)this)->GroupOfPersons::namesWomen + ((sizetype)(((long unsigned int)i) * 8))))’ to ‘short unsigned int&’
/usr/include/c++/15/istream:183:7: note: candidate 4: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(int&) [with _CharT = char; _Traits = std::char_traits<char>]’ (near match)
183 | operator>>(int& __n);
| ^~~~~~~~
/usr/include/c++/15/istream:183:7: note: conversion of argument 1 would be ill-formed:
GroupOfPersons.cpp:60:23: error: invalid conversion from ‘char*’ to ‘int’ [-fpermissive]
60 | is>>namesWomen[i];
| ~~~~~~~~~~~~^
| |
| char*
GroupOfPersons.cpp:60:23: error: cannot bind rvalue ‘(int)(*(((GroupOfPersons*)this)->GroupOfPersons::namesWomen + ((sizetype)(((long unsigned int)i) * 8))))’ to ‘int&’
In file included from /usr/include/c++/15/sstream:42,
from table.cpp:5:
/usr/include/c++/15/istream:172:7: note: candidate 1: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(bool&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
172 | operator>>(bool& __n)
| ^~~~~~~~
/usr/include/c++/15/istream:172:7: note: conversion of argument 1 would be ill-formed:
/usr/include/c++/15/istream:186:7: note: candidate 5: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
186 | operator>>(unsigned int& __n)
| ^~~~~~~~
table.cpp:55:11: error: cannot bind non-const lvalue reference of type ‘bool&’ to a value of type ‘char*’
55 | ss >> result;
| ^~~~~~
/usr/include/c++/15/istream:186:7: note: conversion of argument 1 would be ill-formed:
GroupOfPersons.cpp:60:23: error: invalid conversion from ‘char*’ to ‘unsigned int’ [-fpermissive]
60 | is>>namesWomen[i];
| ~~~~~~~~~~~~^
| |
| char*
/usr/include/c++/15/istream:176:7: note: candidate 2: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(short int&) [with _CharT = char; _Traits = std::char_traits<char>]’ (near match)
176 | operator>>(short& __n);
| ^~~~~~~~
GroupOfPersons.cpp:60:23: error: cannot bind rvalue ‘(unsigned int)(*(((GroupOfPersons*)this)->GroupOfPersons::namesWomen + ((sizetype)(((long unsigned int)i) * 8))))’ to ‘unsigned int&’
/usr/include/c++/15/istream:176:7: note: conversion of argument 1 would be ill-formed:
table.cpp:55:11: error: invalid conversion from ‘char*’ to ‘short int’ [-fpermissive]
55 | ss >> result;
| ^~~~~~
| |
| char*
table.cpp:55:11: error: cannot bind rvalue ‘(short int)result’ to ‘short int&’
/usr/include/c++/15/istream:179:7: note: candidate 3: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(short unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
179 | operator>>(unsigned short& __n)
| ^~~~~~~~
/usr/include/c++/15/istream:190:7: note: candidate 6: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
190 | operator>>(long& __n)
| ^~~~~~~~
/usr/include/c++/15/istream:179:7: note: conversion of argument 1 would be ill-formed:
/usr/include/c++/15/istream:190:7: note: conversion of argument 1 would be ill-formed:
table.cpp:55:11: error: invalid conversion from ‘char*’ to ‘short unsigned int’ [-fpermissive]
55 | ss >> result;
| ^~~~~~
| |
| char*
GroupOfPersons.cpp:60:23: error: invalid conversion from ‘char*’ to ‘long int’ [-fpermissive]
60 | is>>namesWomen[i];
| ~~~~~~~~~~~~^
| |
| char*
table.cpp:55:11: error: cannot bind rvalue ‘(short unsigned int)result’ to ‘short unsigned int&’
GroupOfPersons.cpp:60:23: error: cannot bind rvalue ‘(long int)(*(((GroupOfPersons*)this)->GroupOfPersons::namesWomen + ((sizetype)(((long unsigned int)i) * 8))))’ to ‘long int&’
/usr/include/c++/15/istream:183:7: note: candidate 4: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(int&) [with _CharT = char; _Traits = std::char_traits<char>]’ (near match)
183 | operator>>(int& __n);
| ^~~~~~~~
/usr/include/c++/15/istream:183:7: note: conversion of argument 1 would be ill-formed:
table.cpp:55:11: error: invalid conversion from ‘char*’ to ‘int’ [-fpermissive]
55 | ss >> result;
| ^~~~~~
| |
| char*
table.cpp:55:11: error: cannot bind rvalue ‘(int)result’ to ‘int&’
/usr/include/c++/15/istream:194:7: note: candidate 7: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
194 | operator>>(unsigned long& __n)
| ^~~~~~~~
/usr/include/c++/15/istream:194:7: note: conversion of argument 1 would be ill-formed:
GroupOfPersons.cpp:60:23: error: invalid conversion from ‘char*’ to ‘long unsigned int’ [-fpermissive]
60 | is>>namesWomen[i];
| ~~~~~~~~~~~~^
| |
| char*
/usr/include/c++/15/istream:186:7: note: candidate 5: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
186 | operator>>(unsigned int& __n)
| ^~~~~~~~
GroupOfPersons.cpp:60:23: error: cannot bind rvalue ‘(long unsigned int)(*(((GroupOfPersons*)this)->GroupOfPersons::namesWomen + ((sizetype)(((long unsigned int)i) * 8))))’ to ‘long unsigned int&’
/usr/include/c++/15/istream:186:7: note: conversion of argument 1 would be ill-formed:
/usr/include/c++/15/istream:201:7: note: candidate 8: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long long int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
201 | operator>>(long long& __n)
| ^~~~~~~~
/usr/include/c++/15/istream:201:7: note: conversion of argument 1 would be ill-formed:
table.cpp:55:11: error: invalid conversion from ‘char*’ to ‘unsigned int’ [-fpermissive]
55 | ss >> result;
| ^~~~~~
| |
| char*
table.cpp:55:11: error: cannot bind rvalue ‘(unsigned int)result’ to ‘unsigned int&’
GroupOfPersons.cpp:60:23: error: invalid conversion from ‘char*’ to ‘long long int’ [-fpermissive]
60 | is>>namesWomen[i];
| ~~~~~~~~~~~~^
| |
| char*
GroupOfPersons.cpp:60:23: error: cannot bind rvalue ‘(long long int)(*(((GroupOfPersons*)this)->GroupOfPersons::namesWomen + ((sizetype)(((long unsigned int)i) * 8))))’ to ‘long long int&’
/usr/include/c++/15/istream:205:7: note: candidate 9: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long long unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
205 | operator>>(unsigned long long& __n)
| ^~~~~~~~
/usr/include/c++/15/istream:205:7: note: conversion of argument 1 would be ill-formed:
/usr/include/c++/15/istream:190:7: note: candidate 6: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
190 | operator>>(long& __n)
| ^~~~~~~~
/usr/include/c++/15/istream:190:7: note: conversion of argument 1 would be ill-formed:
GroupOfPersons.cpp:60:23: error: invalid conversion from ‘char*’ to ‘long long unsigned int’ [-fpermissive]
60 | is>>namesWomen[i];
| ~~~~~~~~~~~~^
| |
| char*
GroupOfPersons.cpp:60:23: error: cannot bind rvalue ‘(long long unsigned int)(*(((GroupOfPersons*)this)->GroupOfPersons::namesWomen + ((sizetype)(((long unsigned int)i) * 8))))’ to ‘long long unsigned int&’
table.cpp:55:11: error: invalid conversion from ‘char*’ to ‘long int’ [-fpermissive]
55 | ss >> result;
| ^~~~~~
| |
| char*
table.cpp:55:11: error: cannot bind rvalue ‘(long int)result’ to ‘long int&’
/usr/include/c++/15/istream:330:7: note: candidate 10: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(void*&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
330 | operator>>(void*& __p)
| ^~~~~~~~
/usr/include/c++/15/istream:330:7: note: conversion of argument 1 would be ill-formed:
GroupOfPersons.cpp:60:23: error: cannot bind non-const lvalue reference of type ‘void*&’ to an rvalue of type ‘void*’
60 | is>>namesWomen[i];
| ~~~~~~~~~~~~^
/usr/include/c++/15/istream:221:7: note: candidate 11: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(float&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’
221 | operator>>(float& __f)
| ^~~~~~~~
/usr/include/c++/15/istream:194:7: note: candidate 7: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
194 | operator>>(unsigned long& __n)
| ^~~~~~~~
/usr/include/c++/15/istream:221:25: note: no known conversion for argument 1 from ‘char*’ to ‘float&’
221 | operator>>(float& __f)
| ~~~~~~~^~~
/usr/include/c++/15/istream:194:7: note: conversion of argument 1 would be ill-formed:
/usr/include/c++/15/istream:225:7: note: candidate 12: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(double&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’
225 | operator>>(double& __f)
| ^~~~~~~~
table.cpp:55:11: error: invalid conversion from ‘char*’ to ‘long unsigned int’ [-fpermissive]
55 | ss >> result;
| ^~~~~~
| |
| char*
/usr/include/c++/15/istream:225:26: note: no known conversion for argument 1 from ‘char*’ to ‘double&’
225 | operator>>(double& __f)
| ~~~~~~~~^~~
table.cpp:55:11: error: cannot bind rvalue ‘(long unsigned int)result’ to ‘long unsigned int&’
/usr/include/c++/15/istream:229:7: note: candidate 13: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long double&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’
229 | operator>>(long double& __f)
| ^~~~~~~~
/usr/include/c++/15/istream:201:7: note: candidate 8: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long long int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
201 | operator>>(long long& __n)
| ^~~~~~~~
/usr/include/c++/15/istream:229:31: note: no known conversion for argument 1 from ‘char*’ to ‘long double&’
229 | operator>>(long double& __f)
| ~~~~~~~~~~~~~^~~
/usr/include/c++/15/istream:201:7: note: conversion of argument 1 would be ill-formed:
/usr/include/c++/15/istream:124:7: note: candidate 14: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(__istream_type& (*)(__istream_type&)) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’
124 | operator>>(__istream_type& (*__pf)(__istream_type&))
| ^~~~~~~~
table.cpp:55:11: error: invalid conversion from ‘char*’ to ‘long long int’ [-fpermissive]
55 | ss >> result;
| ^~~~~~
| |
| char*
/usr/include/c++/15/istream:124:36: note: no known conversion for argument 1 from ‘char*’ to ‘std::basic_istream<char>::__istream_type& (*)(std::basic_istream<char>::__istream_type&)’ {aka ‘std::basic_istream<char>& (*)(std::basic_istream<char>&)’}
124 | operator>>(__istream_type& (*__pf)(__istream_type&))
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
table.cpp:55:11: error: cannot bind rvalue ‘(long long int)result’ to ‘long long int&’
/usr/include/c++/15/istream:205:7: note: candidate 9: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long long unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
205 | operator>>(unsigned long long& __n)
| ^~~~~~~~
/usr/include/c++/15/istream:128:7: note: candidate 15: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(__ios_type& (*)(__ios_type&)) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>; __ios_type = std::basic_ios<char>]’
128 | operator>>(__ios_type& (*__pf)(__ios_type&))
| ^~~~~~~~
/usr/include/c++/15/istream:205:7: note: conversion of argument 1 would be ill-formed:
/usr/include/c++/15/istream:128:32: note: no known conversion for argument 1 from ‘char*’ to ‘std::basic_istream<char>::__ios_type& (*)(std::basic_istream<char>::__ios_type&)’ {aka ‘std::basic_ios<char>& (*)(std::basic_ios<char>&)’}
128 | operator>>(__ios_type& (*__pf)(__ios_type&))
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
table.cpp:55:11: error: invalid conversion from ‘char*’ to ‘long long unsigned int’ [-fpermissive]
55 | ss >> result;
| ^~~~~~
| |
| char*
table.cpp:55:11: error: cannot bind rvalue ‘(long long unsigned int)result’ to ‘long long unsigned int&’
/usr/include/c++/15/istream:135:7: note: candidate 16: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’
135 | operator>>(ios_base& (*__pf)(ios_base&))
| ^~~~~~~~
/usr/include/c++/15/istream:135:30: note: no known conversion for argument 1 from ‘char*’ to ‘std::ios_base& (*)(std::ios_base&)’
135 | operator>>(ios_base& (*__pf)(ios_base&))
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/usr/include/c++/15/istream:330:7: note: candidate 10: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(void*&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
330 | operator>>(void*& __p)
| ^~~~~~~~
/usr/include/c++/15/istream:330:7: note: conversion of argument 1 would be ill-formed:
/usr/include/c++/15/istream:354:7: note: candidate 17: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(__streambuf_type*) [with _CharT = char; _Traits = std::char_traits<char>; __streambuf_type = std::basic_streambuf<char>]’
354 | operator>>(__streambuf_type* __sb);
| ^~~~~~~~
table.cpp:55:11: error: cannot bind non-const lvalue reference of type ‘void*&’ to an rvalue of type ‘void*’
55 | ss >> result;
| ^~~~~~
/usr/include/c++/15/istream:354:36: note: no known conversion for argument 1 from ‘char*’ to ‘std::basic_istream<char>::__streambuf_type*’ {aka ‘std::basic_streambuf<char>*’}
354 | operator>>(__streambuf_type* __sb);
| ~~~~~~~~~~~~~~~~~~^~~~
In file included from /usr/include/c++/15/string:57,
from /usr/include/c++/15/bits/locale_classes.h:42,
from /usr/include/c++/15/bits/ios_base.h:43,
from /usr/include/c++/15/ios:46,
from /usr/include/c++/15/bits/ostream.h:43,
from /usr/include/c++/15/ostream:42,
from /usr/include/c++/15/iostream:43:
/usr/include/c++/15/bits/basic_string.tcc:866:5: note: candidate 18: ‘template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, __cxx11::basic_string<_CharT, _Traits, _Alloc>&)’
866 | operator>>(basic_istream<_CharT, _Traits>& __in,
| ^~~~~~~~
/usr/include/c++/15/bits/basic_string.tcc:866:5: note: template argument deduction/substitution failed:
GroupOfPersons.cpp:60:23: note: mismatched types ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘char*’
60 | is>>namesWomen[i];
| ^
In file included from /usr/include/c++/15/bits/memory_resource.h:40,
from /usr/include/c++/15/string:72:
/usr/include/c++/15/cstddef:136:5: note: candidate 19: ‘template<class _IntegerType> constexpr std::__byte_op_t<_IntegerType> std::operator>>(byte, _IntegerType)’
136 | operator>>(byte __b, _IntegerType __shift) noexcept
| ^~~~~~~~
/usr/include/c++/15/cstddef:136:5: note: template argument deduction/substitution failed:
GroupOfPersons.cpp:60:7: note: cannot convert ‘is’ (type ‘std::ifstream’ {aka ‘std::basic_ifstream<char>’}) to type ‘std::byte’
60 | is>>namesWomen[i];
| ^~
In file included from /usr/include/c++/15/istream:1111:
/usr/include/c++/15/bits/istream.tcc:983:5: note: candidate 20: ‘template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, _CharT&)’
983 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c)
| ^~~~~~~~
/usr/include/c++/15/bits/istream.tcc:983:5: note: template argument deduction/substitution failed:
GroupOfPersons.cpp:60:23: note: deduced conflicting types for parameter ‘_CharT’ (‘char’ and ‘char*’)
60 | is>>namesWomen[i];
| ^
/usr/include/c++/15/istream:851:5: note: candidate 21: ‘template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(basic_istream<char, _Traits>&, unsigned char&)’
851 | operator>>(basic_istream<char, _Traits>& __in, unsigned char& __c)
| ^~~~~~~~
/usr/include/c++/15/istream:851:5: note: template argument deduction/substitution failed:
GroupOfPersons.cpp:60:23: note: cannot convert ‘*(((GroupOfPersons*)this)->GroupOfPersons::namesWomen + ((sizetype)(((long unsigned int)i) * 8)))’ (type ‘char*’) to type ‘unsigned char&’
60 | is>>namesWomen[i];
| ~~~~~~~~~~~~^
/usr/include/c++/15/istream:856:5: note: candidate 22: ‘template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(basic_istream<char, _Traits>&, signed char&)’
856 | operator>>(basic_istream<char, _Traits>& __in, signed char& __c)
| ^~~~~~~~
/usr/include/c++/15/istream:856:5: note: template argument deduction/substitution failed:
GroupOfPersons.cpp:60:23: note: cannot convert ‘*(((GroupOfPersons*)this)->GroupOfPersons::namesWomen + ((sizetype)(((long unsigned int)i) * 8)))’ (type ‘char*’) to type ‘signed char&’
60 | is>>namesWomen[i];
| ~~~~~~~~~~~~^
/usr/include/c++/15/istream:954:5: note: candidate 23: ‘template<class _CharT, class _Traits, long unsigned int _Num> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, _CharT (&)[_Num])’
954 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT (&__s)[_Num])
| ^~~~~~~~
/usr/include/c++/15/istream:954:5: note: template argument deduction/substitution failed:
GroupOfPersons.cpp:60:23: note: mismatched types ‘_CharT [_Num]’ and ‘char*’
60 | is>>namesWomen[i];
| ^
/usr/include/c++/15/istream:963:5: note: candidate 24: ‘template<class _Traits, long unsigned int _Num> std::basic_istream<char, _Traits>& std::operator>>(basic_istream<char, _Traits>&, unsigned char (&)[_Num])’
963 | operator>>(basic_istream<char, _Traits>& __in, unsigned char (&__s)[_Num])
| ^~~~~~~~
/usr/include/c++/15/istream:963:5: note: template argument deduction/substitution failed:
GroupOfPersons.cpp:60:23: note: mismatched types ‘unsigned char [_Num]’ and ‘char*’
60 | is>>namesWomen[i];
| ^
/usr/include/c++/15/istream:968:5: note: candidate 25: ‘template<class _Traits, long unsigned int _Num> std::basic_istream<char, _Traits>& std::operator>>(basic_istream<char, _Traits>&, signed char (&)[_Num])’
968 | operator>>(basic_istream<char, _Traits>& __in, signed char (&__s)[_Num])
| ^~~~~~~~
/usr/include/c++/15/istream:968:5: note: template argument deduction/substitution failed:
GroupOfPersons.cpp:60:23: note: mismatched types ‘signed char [_Num]’ and ‘char*’
60 | is>>namesWomen[i];
| ^
/usr/include/c++/15/istream:1101:5: note: candidate 26: ‘template<class _Istream, class _Tp> _Istream&& std::operator>>(_Istream&&, _Tp&&)’
1101 | operator>>(_Istream&& __is, _Tp&& __x)
| ^~~~~~~~
/usr/include/c++/15/istream:1101:5: note: template argument deduction/substitution failed:
/usr/include/c++/15/istream: In substitution of ‘template<class _Istream, class _Tp> _Istream&& std::operator>>(_Istream&&, _Tp&&) [with _Istream = std::basic_ifstream<char>&; _Tp = char*&]’:
GroupOfPersons.cpp:60:23: required from here
60 | is>>namesWomen[i];
| ^
/usr/include/c++/15/istream:1101:5: error: template constraint failure for ‘template<class _Is, class _Tp> requires (__derived_from_ios_base<_Is>) && requires(_Is& __is, _Tp&& __t) {__is >> (forward<_Tp>)(__t);} using std::__rvalue_stream_extraction_t = _Is&&’
1101 | operator>>(_Istream&& __is, _Tp&& __x)
| ^~~~~~~~
/usr/include/c++/15/istream:1101:5: note: constraints not satisfied
/usr/include/c++/15/bits/ostream.h: In substitution of ‘template<class _Is, class _Tp> requires (__derived_from_ios_base<_Is>) && requires(_Is& __is, _Tp&& __t) {__is >> (forward<_Tp>)(__t);} using std::__rvalue_stream_extraction_t = _Is&& [with _Is = std::basic_ifstream<char>&; _Tp = char*&]’:
/usr/include/c++/15/istream:1101:5: required by substitution of ‘template<class _Istream, class _Tp> _Istream&& std::operator>>(_Istream&&, _Tp&&) [with _Istream = std::basic_ifstream<char>&; _Tp = char*&]’
GroupOfPersons.cpp:60:23: required from here
60 | is>>namesWomen[i];
| ^
/usr/include/c++/15/bits/ostream.h:803:13: required for the satisfaction of ‘__derived_from_ios_base<_Is>’ [with _Is = std::basic_ifstream<char, std::char_traits<char> >&]
/usr/include/c++/15/bits/ostream.h:803:39: note: the expression ‘is_class_v<_Tp> [with _Tp = std::basic_ifstream<char, std::char_traits<char> >&]’ evaluated to ‘false’
803 | concept __derived_from_ios_base = is_class_v<_Tp>
| ^~~~~~~~~~~~~~~
GroupOfPersons.cpp:67:9: error: no match for ‘operator>>’ (operand types are ‘std::ifstream’ {aka ‘std::basic_ifstream<char>’} and ‘char*’)
67 | is>>namesMen[i];
| ~~^~~~~~~~~~~~~
| | |
| | char*
| std::ifstream {aka std::basic_ifstream<char>}
GroupOfPersons.cpp:67:9: note: there are 26 candidates
67 | is>>namesMen[i];
| ~~^~~~~~~~~~~~~
/usr/include/c++/15/istream:221:7: note: candidate 11: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(float&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’
221 | operator>>(float& __f)
| ^~~~~~~~
/usr/include/c++/15/istream:221:25: note: no known conversion for argument 1 from ‘char*’ to ‘float&’
221 | operator>>(float& __f)
| ~~~~~~~^~~
/usr/include/c++/15/istream:225:7: note: candidate 12: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(double&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’
225 | operator>>(double& __f)
| ^~~~~~~~
/usr/include/c++/15/istream:225:26: note: no known conversion for argument 1 from ‘char*’ to ‘double&’
225 | operator>>(double& __f)
| ~~~~~~~~^~~
/usr/include/c++/15/istream:229:7: note: candidate 13: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long double&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’
229 | operator>>(long double& __f)
| ^~~~~~~~
/usr/include/c++/15/istream:172:7: note: candidate 1: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(bool&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
172 | operator>>(bool& __n)
| ^~~~~~~~
/usr/include/c++/15/istream:229:31: note: no known conversion for argument 1 from ‘char*’ to ‘long double&’
229 | operator>>(long double& __f)
| ~~~~~~~~~~~~~^~~
/usr/include/c++/15/istream:172:7: note: conversion of argument 1 would be ill-formed:
/usr/include/c++/15/istream:124:7: note: candidate 14: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(__istream_type& (*)(__istream_type&)) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’
124 | operator>>(__istream_type& (*__pf)(__istream_type&))
| ^~~~~~~~
/usr/include/c++/15/istream:124:36: note: no known conversion for argument 1 from ‘char*’ to ‘std::basic_istream<char>::__istream_type& (*)(std::basic_istream<char>::__istream_type&)’ {aka ‘std::basic_istream<char>& (*)(std::basic_istream<char>&)’}
124 | operator>>(__istream_type& (*__pf)(__istream_type&))
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
GroupOfPersons.cpp:67:21: error: cannot bind non-const lvalue reference of type ‘bool&’ to a value of type ‘char*’
67 | is>>namesMen[i];
| ~~~~~~~~~~^
/usr/include/c++/15/istream:128:7: note: candidate 15: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(__ios_type& (*)(__ios_type&)) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>; __ios_type = std::basic_ios<char>]’
128 | operator>>(__ios_type& (*__pf)(__ios_type&))
| ^~~~~~~~
/usr/include/c++/15/istream:128:32: note: no known conversion for argument 1 from ‘char*’ to ‘std::basic_istream<char>::__ios_type& (*)(std::basic_istream<char>::__ios_type&)’ {aka ‘std::basic_ios<char>& (*)(std::basic_ios<char>&)’}
128 | operator>>(__ios_type& (*__pf)(__ios_type&))
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/usr/include/c++/15/istream:135:7: note: candidate 16: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’
135 | operator>>(ios_base& (*__pf)(ios_base&))
| ^~~~~~~~
/usr/include/c++/15/istream:135:30: note: no known conversion for argument 1 from ‘char*’ to ‘std::ios_base& (*)(std::ios_base&)’
135 | operator>>(ios_base& (*__pf)(ios_base&))
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/usr/include/c++/15/istream:354:7: note: candidate 17: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(__streambuf_type*) [with _CharT = char; _Traits = std::char_traits<char>; __streambuf_type = std::basic_streambuf<char>]’
354 | operator>>(__streambuf_type* __sb);
| ^~~~~~~~
/usr/include/c++/15/istream:176:7: note: candidate 2: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(short int&) [with _CharT = char; _Traits = std::char_traits<char>]’ (near match)
176 | operator>>(short& __n);
| ^~~~~~~~
/usr/include/c++/15/istream:354:36: note: no known conversion for argument 1 from ‘char*’ to ‘std::basic_istream<char>::__streambuf_type*’ {aka ‘std::basic_streambuf<char>*’}
354 | operator>>(__streambuf_type* __sb);
| ~~~~~~~~~~~~~~~~~~^~~~
/usr/include/c++/15/istream:176:7: note: conversion of argument 1 would be ill-formed:
GroupOfPersons.cpp:67:21: error: invalid conversion from ‘char*’ to ‘short int’ [-fpermissive]
67 | is>>namesMen[i];
| ~~~~~~~~~~^
| |
| char*
GroupOfPersons.cpp:67:21: error: cannot bind rvalue ‘(short int)(*(((GroupOfPersons*)this)->GroupOfPersons::namesMen + ((sizetype)(((long unsigned int)i) * 8))))’ to ‘short int&’
In file included from /usr/include/c++/15/string:57,
from /usr/include/c++/15/bits/locale_classes.h:42,
from /usr/include/c++/15/bits/ios_base.h:43,
from /usr/include/c++/15/ios:46,
from /usr/include/c++/15/istream:42:
/usr/include/c++/15/bits/basic_string.tcc:866:5: note: candidate 18: ‘template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, __cxx11::basic_string<_CharT, _Traits, _Alloc>&)’
866 | operator>>(basic_istream<_CharT, _Traits>& __in,
| ^~~~~~~~
/usr/include/c++/15/bits/basic_string.tcc:866:5: note: template argument deduction/substitution failed:
table.cpp:55:11: note: mismatched types ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘char*’
55 | ss >> result;
| ^~~~~~
In file included from /usr/include/c++/15/bits/memory_resource.h:40,
from /usr/include/c++/15/string:72:
/usr/include/c++/15/cstddef:136:5: note: candidate 19: ‘template<class _IntegerType> constexpr std::__byte_op_t<_IntegerType> std::operator>>(byte, _IntegerType)’
136 | operator>>(byte __b, _IntegerType __shift) noexcept
| ^~~~~~~~
/usr/include/c++/15/cstddef:136:5: note: template argument deduction/substitution failed:
table.cpp:55:5: note: cannot convert ‘ss’ (type ‘std::stringstream’ {aka ‘std::__cxx11::basic_stringstream<char>’}) to type ‘std::byte’
55 | ss >> result;
| ^~
In file included from /usr/include/c++/15/istream:1111:
/usr/include/c++/15/bits/istream.tcc:983:5: note: candidate 20: ‘template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, _CharT&)’
983 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c)
| ^~~~~~~~
/usr/include/c++/15/bits/istream.tcc:983:5: note: template argument deduction/substitution failed:
table.cpp:55:11: note: deduced conflicting types for parameter ‘_CharT’ (‘char’ and ‘char*’)
55 | ss >> result;
| ^~~~~~
/usr/include/c++/15/istream:851:5: note: candidate 21: ‘template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(basic_istream<char, _Traits>&, unsigned char&)’
851 | operator>>(basic_istream<char, _Traits>& __in, unsigned char& __c)
| ^~~~~~~~
/usr/include/c++/15/istream:851:5: note: template argument deduction/substitution failed:
table.cpp:55:11: note: cannot convert ‘result’ (type ‘char*’) to type ‘unsigned char&’
55 | ss >> result;
| ^~~~~~
/usr/include/c++/15/istream:856:5: note: candidate 22: ‘template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(basic_istream<char, _Traits>&, signed char&)’
856 | operator>>(basic_istream<char, _Traits>& __in, signed char& __c)
| ^~~~~~~~
/usr/include/c++/15/istream:856:5: note: template argument deduction/substitution failed:
table.cpp:55:11: note: cannot convert ‘result’ (type ‘char*’) to type ‘signed char&’
55 | ss >> result;
| ^~~~~~
/usr/include/c++/15/istream:954:5: note: candidate 23: ‘template<class _CharT, class _Traits, long unsigned int _Num> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, _CharT (&)[_Num])’
954 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT (&__s)[_Num])
| ^~~~~~~~
/usr/include/c++/15/istream:954:5: note: template argument deduction/substitution failed:
table.cpp:55:11: note: mismatched types ‘_CharT [_Num]’ and ‘char*’
55 | ss >> result;
| ^~~~~~
/usr/include/c++/15/istream:963:5: note: candidate 24: ‘template<class _Traits, long unsigned int _Num> std::basic_istream<char, _Traits>& std::operator>>(basic_istream<char, _Traits>&, unsigned char (&)[_Num])’
963 | operator>>(basic_istream<char, _Traits>& __in, unsigned char (&__s)[_Num])
| ^~~~~~~~
/usr/include/c++/15/istream:963:5: note: template argument deduction/substitution failed:
table.cpp:55:11: note: mismatched types ‘unsigned char [_Num]’ and ‘char*’
55 | ss >> result;
| ^~~~~~
/usr/include/c++/15/istream:968:5: note: candidate 25: ‘template<class _Traits, long unsigned int _Num> std::basic_istream<char, _Traits>& std::operator>>(basic_istream<char, _Traits>&, signed char (&)[_Num])’
968 | operator>>(basic_istream<char, _Traits>& __in, signed char (&__s)[_Num])
| ^~~~~~~~
/usr/include/c++/15/istream:968:5: note: template argument deduction/substitution failed:
table.cpp:55:11: note: mismatched types ‘signed char [_Num]’ and ‘char*’
55 | ss >> result;
| ^~~~~~
/usr/include/c++/15/istream:1101:5: note: candidate 26: ‘template<class _Istream, class _Tp> _Istream&& std::operator>>(_Istream&&, _Tp&&)’
1101 | operator>>(_Istream&& __is, _Tp&& __x)
| ^~~~~~~~
/usr/include/c++/15/istream:1101:5: note: template argument deduction/substitution failed:
/usr/include/c++/15/istream: In substitution of ‘template<class _Istream, class _Tp> _Istream&& std::operator>>(_Istream&&, _Tp&&) [with _Istream = std::__cxx11::basic_stringstream<char>&; _Tp = char*&]’:
table.cpp:55:11: required from here
55 | ss >> result;
| ^~~~~~
/usr/include/c++/15/istream:1101:5: error: template constraint failure for ‘template<class _Is, class _Tp> requires (__derived_from_ios_base<_Is>) && requires(_Is& __is, _Tp&& __t) {__is >> (forward<_Tp>)(__t);} using std::__rvalue_stream_extraction_t = _Is&&’
1101 | operator>>(_Istream&& __is, _Tp&& __x)
| ^~~~~~~~
/usr/include/c++/15/istream:1101:5: note: constraints not satisfied
In file included from /usr/include/c++/15/ostream:42,
from /usr/include/c++/15/istream:43:
/usr/include/c++/15/bits/ostream.h: In substitution of ‘template<class _Is, class _Tp> requires (__derived_from_ios_base<_Is>) && requires(_Is& __is, _Tp&& __t) {__is >> (forward<_Tp>)(__t);} using std::__rvalue_stream_extraction_t = _Is&& [with _Is = std::__cxx11::basic_stringstream<char>&; _Tp = char*&]’:
/usr/include/c++/15/istream:1101:5: required by substitution of ‘template<class _Istream, class _Tp> _Istream&& std::operator>>(_Istream&&, _Tp&&) [with _Istream = std::__cxx11::basic_stringstream<char>&; _Tp = char*&]’
table.cpp:55:11: required from here
55 | ss >> result;
| ^~~~~~
/usr/include/c++/15/bits/ostream.h:803:13: required for the satisfaction of ‘__derived_from_ios_base<_Is>’ [with _Is = std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >&]
/usr/include/c++/15/bits/ostream.h:803:39: note: the expression ‘is_class_v<_Tp> [with _Tp = std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >&]’ evaluated to ‘false’
803 | concept __derived_from_ios_base = is_class_v<_Tp>
| ^~~~~~~~~~~~~~~
/usr/include/c++/15/istream:179:7: note: candidate 3: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(short unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
179 | operator>>(unsigned short& __n)
| ^~~~~~~~
/usr/include/c++/15/istream:179:7: note: conversion of argument 1 would be ill-formed:
GroupOfPersons.cpp:67:21: error: invalid conversion from ‘char*’ to ‘short unsigned int’ [-fpermissive]
67 | is>>namesMen[i];
| ~~~~~~~~~~^
| |
| char*
GroupOfPersons.cpp:67:21: error: cannot bind rvalue ‘(short unsigned int)(*(((GroupOfPersons*)this)->GroupOfPersons::namesMen + ((sizetype)(((long unsigned int)i) * 8))))’ to ‘short unsigned int&’
/usr/include/c++/15/istream:183:7: note: candidate 4: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(int&) [with _CharT = char; _Traits = std::char_traits<char>]’ (near match)
183 | operator>>(int& __n);
| ^~~~~~~~
/usr/include/c++/15/istream:183:7: note: conversion of argument 1 would be ill-formed:
GroupOfPersons.cpp:67:21: error: invalid conversion from ‘char*’ to ‘int’ [-fpermissive]
67 | is>>namesMen[i];
| ~~~~~~~~~~^
| |
| char*
GroupOfPersons.cpp:67:21: error: cannot bind rvalue ‘(int)(*(((GroupOfPersons*)this)->GroupOfPersons::namesMen + ((sizetype)(((long unsigned int)i) * 8))))’ to ‘int&’
/usr/include/c++/15/istream:186:7: note: candidate 5: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
186 | operator>>(unsigned int& __n)
| ^~~~~~~~
/usr/include/c++/15/istream:186:7: note: conversion of argument 1 would be ill-formed:
GroupOfPersons.cpp:67:21: error: invalid conversion from ‘char*’ to ‘unsigned int’ [-fpermissive]
67 | is>>namesMen[i];
| ~~~~~~~~~~^
| |
| char*
GroupOfPersons.cpp:67:21: error: cannot bind rvalue ‘(unsigned int)(*(((GroupOfPersons*)this)->GroupOfPersons::namesMen + ((sizetype)(((long unsigned int)i) * 8))))’ to ‘unsigned int&’
/usr/include/c++/15/istream:190:7: note: candidate 6: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
190 | operator>>(long& __n)
| ^~~~~~~~
/usr/include/c++/15/istream:190:7: note: conversion of argument 1 would be ill-formed:
GroupOfPersons.cpp:67:21: error: invalid conversion from ‘char*’ to ‘long int’ [-fpermissive]
67 | is>>namesMen[i];
| ~~~~~~~~~~^
| |
| char*
GroupOfPersons.cpp:67:21: error: cannot bind rvalue ‘(long int)(*(((GroupOfPersons*)this)->GroupOfPersons::namesMen + ((sizetype)(((long unsigned int)i) * 8))))’ to ‘long int&’
/usr/include/c++/15/istream:194:7: note: candidate 7: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
194 | operator>>(unsigned long& __n)
| ^~~~~~~~
/usr/include/c++/15/istream:194:7: note: conversion of argument 1 would be ill-formed:
GroupOfPersons.cpp:67:21: error: invalid conversion from ‘char*’ to ‘long unsigned int’ [-fpermissive]
67 | is>>namesMen[i];
| ~~~~~~~~~~^
| |
| char*
GroupOfPersons.cpp:67:21: error: cannot bind rvalue ‘(long unsigned int)(*(((GroupOfPersons*)this)->GroupOfPersons::namesMen + ((sizetype)(((long unsigned int)i) * 8))))’ to ‘long unsigned int&’
/usr/include/c++/15/istream:201:7: note: candidate 8: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long long int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
201 | operator>>(long long& __n)
| ^~~~~~~~
/usr/include/c++/15/istream:201:7: note: conversion of argument 1 would be ill-formed:
GroupOfPersons.cpp:67:21: error: invalid conversion from ‘char*’ to ‘long long int’ [-fpermissive]
67 | is>>namesMen[i];
| ~~~~~~~~~~^
| |
| char*
GroupOfPersons.cpp:67:21: error: cannot bind rvalue ‘(long long int)(*(((GroupOfPersons*)this)->GroupOfPersons::namesMen + ((sizetype)(((long unsigned int)i) * 8))))’ to ‘long long int&’
/usr/include/c++/15/istream:205:7: note: candidate 9: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long long unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
205 | operator>>(unsigned long long& __n)
| ^~~~~~~~
/usr/include/c++/15/istream:205:7: note: conversion of argument 1 would be ill-formed:
GroupOfPersons.cpp:67:21: error: invalid conversion from ‘char*’ to ‘long long unsigned int’ [-fpermissive]
67 | is>>namesMen[i];
| ~~~~~~~~~~^
| |
| char*
GroupOfPersons.cpp:67:21: error: cannot bind rvalue ‘(long long unsigned int)(*(((GroupOfPersons*)this)->GroupOfPersons::namesMen + ((sizetype)(((long unsigned int)i) * 8))))’ to ‘long long unsigned int&’
/usr/include/c++/15/istream:330:7: note: candidate 10: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(void*&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
330 | operator>>(void*& __p)
| ^~~~~~~~
/usr/include/c++/15/istream:330:7: note: conversion of argument 1 would be ill-formed:
GroupOfPersons.cpp:67:21: error: cannot bind non-const lvalue reference of type ‘void*&’ to an rvalue of type ‘void*’
67 | is>>namesMen[i];
| ~~~~~~~~~~^
/usr/include/c++/15/istream:221:7: note: candidate 11: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(float&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’
221 | operator>>(float& __f)
| ^~~~~~~~
/usr/include/c++/15/istream:221:25: note: no known conversion for argument 1 from ‘char*’ to ‘float&’
221 | operator>>(float& __f)
| ~~~~~~~^~~
/usr/include/c++/15/istream:225:7: note: candidate 12: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(double&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’
225 | operator>>(double& __f)
| ^~~~~~~~
/usr/include/c++/15/istream:225:26: note: no known conversion for argument 1 from ‘char*’ to ‘double&’
225 | operator>>(double& __f)
| ~~~~~~~~^~~
/usr/include/c++/15/istream:229:7: note: candidate 13: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long double&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’
229 | operator>>(long double& __f)
| ^~~~~~~~
/usr/include/c++/15/istream:229:31: note: no known conversion for argument 1 from ‘char*’ to ‘long double&’
229 | operator>>(long double& __f)
| ~~~~~~~~~~~~~^~~
/usr/include/c++/15/istream:124:7: note: candidate 14: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(__istream_type& (*)(__istream_type&)) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’
124 | operator>>(__istream_type& (*__pf)(__istream_type&))
| ^~~~~~~~
/usr/include/c++/15/istream:124:36: note: no known conversion for argument 1 from ‘char*’ to ‘std::basic_istream<char>::__istream_type& (*)(std::basic_istream<char>::__istream_type&)’ {aka ‘std::basic_istream<char>& (*)(std::basic_istream<char>&)’}
124 | operator>>(__istream_type& (*__pf)(__istream_type&))
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/15/istream:128:7: note: candidate 15: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(__ios_type& (*)(__ios_type&)) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>; __ios_type = std::basic_ios<char>]’
128 | operator>>(__ios_type& (*__pf)(__ios_type&))
| ^~~~~~~~
/usr/include/c++/15/istream:128:32: note: no known conversion for argument 1 from ‘char*’ to ‘std::basic_istream<char>::__ios_type& (*)(std::basic_istream<char>::__ios_type&)’ {aka ‘std::basic_ios<char>& (*)(std::basic_ios<char>&)’}
128 | operator>>(__ios_type& (*__pf)(__ios_type&))
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/usr/include/c++/15/istream:135:7: note: candidate 16: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’
135 | operator>>(ios_base& (*__pf)(ios_base&))
| ^~~~~~~~
/usr/include/c++/15/istream:135:30: note: no known conversion for argument 1 from ‘char*’ to ‘std::ios_base& (*)(std::ios_base&)’
135 | operator>>(ios_base& (*__pf)(ios_base&))
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/usr/include/c++/15/istream:354:7: note: candidate 17: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(__streambuf_type*) [with _CharT = char; _Traits = std::char_traits<char>; __streambuf_type = std::basic_streambuf<char>]’
354 | operator>>(__streambuf_type* __sb);
| ^~~~~~~~
/usr/include/c++/15/istream:354:36: note: no known conversion for argument 1 from ‘char*’ to ‘std::basic_istream<char>::__streambuf_type*’ {aka ‘std::basic_streambuf<char>*’}
354 | operator>>(__streambuf_type* __sb);
| ~~~~~~~~~~~~~~~~~~^~~~
/usr/include/c++/15/bits/basic_string.tcc:866:5: note: candidate 18: ‘template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, __cxx11::basic_string<_CharT, _Traits, _Alloc>&)’
866 | operator>>(basic_istream<_CharT, _Traits>& __in,
| ^~~~~~~~
/usr/include/c++/15/bits/basic_string.tcc:866:5: note: template argument deduction/substitution failed:
GroupOfPersons.cpp:67:21: note: mismatched types ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘char*’
67 | is>>namesMen[i];
| ^
/usr/include/c++/15/cstddef:136:5: note: candidate 19: ‘template<class _IntegerType> constexpr std::__byte_op_t<_IntegerType> std::operator>>(byte, _IntegerType)’
136 | operator>>(byte __b, _IntegerType __shift) noexcept
| ^~~~~~~~
/usr/include/c++/15/cstddef:136:5: note: template argument deduction/substitution failed:
GroupOfPersons.cpp:67:7: note: cannot convert ‘is’ (type ‘std::ifstream’ {aka ‘std::basic_ifstream<char>’}) to type ‘std::byte’
67 | is>>namesMen[i];
| ^~
/usr/include/c++/15/bits/istream.tcc:983:5: note: candidate 20: ‘template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, _CharT&)’
983 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c)
| ^~~~~~~~
/usr/include/c++/15/bits/istream.tcc:983:5: note: template argument deduction/substitution failed:
GroupOfPersons.cpp:67:21: note: deduced conflicting types for parameter ‘_CharT’ (‘char’ and ‘char*’)
67 | is>>namesMen[i];
| ^
/usr/include/c++/15/istream:851:5: note: candidate 21: ‘template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(basic_istream<char, _Traits>&, unsigned char&)’
851 | operator>>(basic_istream<char, _Traits>& __in, unsigned char& __c)
| ^~~~~~~~
/usr/include/c++/15/istream:851:5: note: template argument deduction/substitution failed:
GroupOfPersons.cpp:67:21: note: cannot convert ‘*(((GroupOfPersons*)this)->GroupOfPersons::namesMen + ((sizetype)(((long unsigned int)i) * 8)))’ (type ‘char*’) to type ‘unsigned char&’
67 | is>>namesMen[i];
| ~~~~~~~~~~^
/usr/include/c++/15/istream:856:5: note: candidate 22: ‘template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(basic_istream<char, _Traits>&, signed char&)’
856 | operator>>(basic_istream<char, _Traits>& __in, signed char& __c)
| ^~~~~~~~
/usr/include/c++/15/istream:856:5: note: template argument deduction/substitution failed:
GroupOfPersons.cpp:67:21: note: cannot convert ‘*(((GroupOfPersons*)this)->GroupOfPersons::namesMen + ((sizetype)(((long unsigned int)i) * 8)))’ (type ‘char*’) to type ‘signed char&’
67 | is>>namesMen[i];
| ~~~~~~~~~~^
/usr/include/c++/15/istream:954:5: note: candidate 23: ‘template<class _CharT, class _Traits, long unsigned int _Num> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, _CharT (&)[_Num])’
954 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT (&__s)[_Num])
| ^~~~~~~~
/usr/include/c++/15/istream:954:5: note: template argument deduction/substitution failed:
GroupOfPersons.cpp:67:21: note: mismatched types ‘_CharT [_Num]’ and ‘char*’
67 | is>>namesMen[i];
| ^
/usr/include/c++/15/istream:963:5: note: candidate 24: ‘template<class _Traits, long unsigned int _Num> std::basic_istream<char, _Traits>& std::operator>>(basic_istream<char, _Traits>&, unsigned char (&)[_Num])’
963 | operator>>(basic_istream<char, _Traits>& __in, unsigned char (&__s)[_Num])
| ^~~~~~~~
/usr/include/c++/15/istream:963:5: note: template argument deduction/substitution failed:
GroupOfPersons.cpp:67:21: note: mismatched types ‘unsigned char [_Num]’ and ‘char*’
67 | is>>namesMen[i];
| ^
/usr/include/c++/15/istream:968:5: note: candidate 25: ‘template<class _Traits, long unsigned int _Num> std::basic_istream<char, _Traits>& std::operator>>(basic_istream<char, _Traits>&, signed char (&)[_Num])’
968 | operator>>(basic_istream<char, _Traits>& __in, signed char (&__s)[_Num])
| ^~~~~~~~
/usr/include/c++/15/istream:968:5: note: template argument deduction/substitution failed:
GroupOfPersons.cpp:67:21: note: mismatched types ‘signed char [_Num]’ and ‘char*’
67 | is>>namesMen[i];
| ^
/usr/include/c++/15/istream:1101:5: note: candidate 26: ‘template<class _Istream, class _Tp> _Istream&& std::operator>>(_Istream&&, _Tp&&)’
1101 | operator>>(_Istream&& __is, _Tp&& __x)
| ^~~~~~~~
/usr/include/c++/15/istream:1101:5: note: template argument deduction/substitution failed:
/usr/include/c++/15/istream: In substitution of ‘template<class _Istream, class _Tp> _Istream&& std::operator>>(_Istream&&, _Tp&&) [with _Istream = std::basic_ifstream<char>&; _Tp = char*&]’:
GroupOfPersons.cpp:67:21: required from here
67 | is>>namesMen[i];
| ^
/usr/include/c++/15/istream:1101:5: error: template constraint failure for ‘template<class _Is, class _Tp> requires (__derived_from_ios_base<_Is>) && requires(_Is& __is, _Tp&& __t) {__is >> (forward<_Tp>)(__t);} using std::__rvalue_stream_extraction_t = _Is&&’
1101 | operator>>(_Istream&& __is, _Tp&& __x)
| ^~~~~~~~
/usr/include/c++/15/istream:1101:5: note: constraints not satisfied
/usr/include/c++/15/bits/ostream.h: In substitution of ‘template<class _Is, class _Tp> requires (__derived_from_ios_base<_Is>) && requires(_Is& __is, _Tp&& __t) {__is >> (forward<_Tp>)(__t);} using std::__rvalue_stream_extraction_t = _Is&& [with _Is = std::basic_ifstream<char>&; _Tp = char*&]’:
/usr/include/c++/15/istream:1101:5: required by substitution of ‘template<class _Istream, class _Tp> _Istream&& std::operator>>(_Istream&&, _Tp&&) [with _Istream = std::basic_ifstream<char>&; _Tp = char*&]’
GroupOfPersons.cpp:67:21: required from here
67 | is>>namesMen[i];
| ^
/usr/include/c++/15/bits/ostream.h:803:13: required for the satisfaction of ‘__derived_from_ios_base<_Is>’ [with _Is = std::basic_ifstream<char, std::char_traits<char> >&]
/usr/include/c++/15/bits/ostream.h:803:39: note: the expression ‘is_class_v<_Tp> [with _Tp = std::basic_ifstream<char, std::char_traits<char> >&]’ evaluated to ‘false’
803 | concept __derived_from_ios_base = is_class_v<_Tp>
| ^~~~~~~~~~~~~~~
GroupOfPersons.cpp:74:9: error: no match for ‘operator>>’ (operand types are ‘std::ifstream’ {aka ‘std::basic_ifstream<char>’} and ‘char*’)
74 | is>>namesChildren[i];
| ~~^~~~~~~~~~~~~~~~~~
| | |
| | char*
| std::ifstream {aka std::basic_ifstream<char>}
GroupOfPersons.cpp:74:9: note: there are 26 candidates
74 | is>>namesChildren[i];
| ~~^~~~~~~~~~~~~~~~~~
/usr/include/c++/15/istream:172:7: note: candidate 1: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(bool&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
172 | operator>>(bool& __n)
| ^~~~~~~~
/usr/include/c++/15/istream:172:7: note: conversion of argument 1 would be ill-formed:
GroupOfPersons.cpp:74:26: error: cannot bind non-const lvalue reference of type ‘bool&’ to a value of type ‘char*’
74 | is>>namesChildren[i];
| ~~~~~~~~~~~~~~~^
/usr/include/c++/15/istream:176:7: note: candidate 2: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(short int&) [with _CharT = char; _Traits = std::char_traits<char>]’ (near match)
176 | operator>>(short& __n);
| ^~~~~~~~
/usr/include/c++/15/istream:176:7: note: conversion of argument 1 would be ill-formed:
GroupOfPersons.cpp:74:26: error: invalid conversion from ‘char*’ to ‘short int’ [-fpermissive]
74 | is>>namesChildren[i];
| ~~~~~~~~~~~~~~~^
| |
| char*
GroupOfPersons.cpp:74:26: error: cannot bind rvalue ‘(short int)(*(((GroupOfPersons*)this)->GroupOfPersons::namesChildren + ((sizetype)(((long unsigned int)i) * 8))))’ to ‘short int&’
/usr/include/c++/15/istream:179:7: note: candidate 3: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(short unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
179 | operator>>(unsigned short& __n)
| ^~~~~~~~
/usr/include/c++/15/istream:179:7: note: conversion of argument 1 would be ill-formed:
GroupOfPersons.cpp:74:26: error: invalid conversion from ‘char*’ to ‘short unsigned int’ [-fpermissive]
74 | is>>namesChildren[i];
| ~~~~~~~~~~~~~~~^
| |
| char*
GroupOfPersons.cpp:74:26: error: cannot bind rvalue ‘(short unsigned int)(*(((GroupOfPersons*)this)->GroupOfPersons::namesChildren + ((sizetype)(((long unsigned int)i) * 8))))’ to ‘short unsigned int&’
/usr/include/c++/15/istream:183:7: note: candidate 4: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(int&) [with _CharT = char; _Traits = std::char_traits<char>]’ (near match)
183 | operator>>(int& __n);
| ^~~~~~~~
/usr/include/c++/15/istream:183:7: note: conversion of argument 1 would be ill-formed:
GroupOfPersons.cpp:74:26: error: invalid conversion from ‘char*’ to ‘int’ [-fpermissive]
74 | is>>namesChildren[i];
| ~~~~~~~~~~~~~~~^
| |
| char*
GroupOfPersons.cpp:74:26: error: cannot bind rvalue ‘(int)(*(((GroupOfPersons*)this)->GroupOfPersons::namesChildren + ((sizetype)(((long unsigned int)i) * 8))))’ to ‘int&’
/usr/include/c++/15/istream:186:7: note: candidate 5: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
186 | operator>>(unsigned int& __n)
| ^~~~~~~~
/usr/include/c++/15/istream:186:7: note: conversion of argument 1 would be ill-formed:
GroupOfPersons.cpp:74:26: error: invalid conversion from ‘char*’ to ‘unsigned int’ [-fpermissive]
74 | is>>namesChildren[i];
| ~~~~~~~~~~~~~~~^
| |
| char*
GroupOfPersons.cpp:74:26: error: cannot bind rvalue ‘(unsigned int)(*(((GroupOfPersons*)this)->GroupOfPersons::namesChildren + ((sizetype)(((long unsigned int)i) * 8))))’ to ‘unsigned int&’
/usr/include/c++/15/istream:190:7: note: candidate 6: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
190 | operator>>(long& __n)
| ^~~~~~~~
/usr/include/c++/15/istream:190:7: note: conversion of argument 1 would be ill-formed:
GroupOfPersons.cpp:74:26: error: invalid conversion from ‘char*’ to ‘long int’ [-fpermissive]
74 | is>>namesChildren[i];
| ~~~~~~~~~~~~~~~^
| |
| char*
GroupOfPersons.cpp:74:26: error: cannot bind rvalue ‘(long int)(*(((GroupOfPersons*)this)->GroupOfPersons::namesChildren + ((sizetype)(((long unsigned int)i) * 8))))’ to ‘long int&’
/usr/include/c++/15/istream:194:7: note: candidate 7: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
194 | operator>>(unsigned long& __n)
| ^~~~~~~~
/usr/include/c++/15/istream:194:7: note: conversion of argument 1 would be ill-formed:
GroupOfPersons.cpp:74:26: error: invalid conversion from ‘char*’ to ‘long unsigned int’ [-fpermissive]
74 | is>>namesChildren[i];
| ~~~~~~~~~~~~~~~^
| |
| char*
GroupOfPersons.cpp:74:26: error: cannot bind rvalue ‘(long unsigned int)(*(((GroupOfPersons*)this)->GroupOfPersons::namesChildren + ((sizetype)(((long unsigned int)i) * 8))))’ to ‘long unsigned int&’
/usr/include/c++/15/istream:201:7: note: candidate 8: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long long int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
201 | operator>>(long long& __n)
| ^~~~~~~~
/usr/include/c++/15/istream:201:7: note: conversion of argument 1 would be ill-formed:
GroupOfPersons.cpp:74:26: error: invalid conversion from ‘char*’ to ‘long long int’ [-fpermissive]
74 | is>>namesChildren[i];
| ~~~~~~~~~~~~~~~^
| |
| char*
GroupOfPersons.cpp:74:26: error: cannot bind rvalue ‘(long long int)(*(((GroupOfPersons*)this)->GroupOfPersons::namesChildren + ((sizetype)(((long unsigned int)i) * 8))))’ to ‘long long int&’
/usr/include/c++/15/istream:205:7: note: candidate 9: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long long unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
205 | operator>>(unsigned long long& __n)
| ^~~~~~~~
/usr/include/c++/15/istream:205:7: note: conversion of argument 1 would be ill-formed:
GroupOfPersons.cpp:74:26: error: invalid conversion from ‘char*’ to ‘long long unsigned int’ [-fpermissive]
74 | is>>namesChildren[i];
| ~~~~~~~~~~~~~~~^
| |
| char*
GroupOfPersons.cpp:74:26: error: cannot bind rvalue ‘(long long unsigned int)(*(((GroupOfPersons*)this)->GroupOfPersons::namesChildren + ((sizetype)(((long unsigned int)i) * 8))))’ to ‘long long unsigned int&’
/usr/include/c++/15/istream:330:7: note: candidate 10: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(void*&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’ (near match)
330 | operator>>(void*& __p)
| ^~~~~~~~
/usr/include/c++/15/istream:330:7: note: conversion of argument 1 would be ill-formed:
GroupOfPersons.cpp:74:26: error: cannot bind non-const lvalue reference of type ‘void*&’ to an rvalue of type ‘void*’
74 | is>>namesChildren[i];
| ~~~~~~~~~~~~~~~^
/usr/include/c++/15/istream:221:7: note: candidate 11: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(float&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’
221 | operator>>(float& __f)
| ^~~~~~~~
/usr/include/c++/15/istream:221:25: note: no known conversion for argument 1 from ‘char*’ to ‘float&’
221 | operator>>(float& __f)
| ~~~~~~~^~~
/usr/include/c++/15/istream:225:7: note: candidate 12: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(double&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’
225 | operator>>(double& __f)
| ^~~~~~~~
/usr/include/c++/15/istream:225:26: note: no known conversion for argument 1 from ‘char*’ to ‘double&’
225 | operator>>(double& __f)
| ~~~~~~~~^~~
/usr/include/c++/15/istream:229:7: note: candidate 13: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long double&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’
229 | operator>>(long double& __f)
| ^~~~~~~~
/usr/include/c++/15/istream:229:31: note: no known conversion for argument 1 from ‘char*’ to ‘long double&’
229 | operator>>(long double& __f)
| ~~~~~~~~~~~~~^~~
/usr/include/c++/15/istream:124:7: note: candidate 14: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(__istream_type& (*)(__istream_type&)) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’
124 | operator>>(__istream_type& (*__pf)(__istream_type&))
| ^~~~~~~~
/usr/include/c++/15/istream:124:36: note: no known conversion for argument 1 from ‘char*’ to ‘std::basic_istream<char>::__istream_type& (*)(std::basic_istream<char>::__istream_type&)’ {aka ‘std::basic_istream<char>& (*)(std::basic_istream<char>&)’}
124 | operator>>(__istream_type& (*__pf)(__istream_type&))
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/15/istream:128:7: note: candidate 15: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(__ios_type& (*)(__ios_type&)) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>; __ios_type = std::basic_ios<char>]’
128 | operator>>(__ios_type& (*__pf)(__ios_type&))
| ^~~~~~~~
/usr/include/c++/15/istream:128:32: note: no known conversion for argument 1 from ‘char*’ to ‘std::basic_istream<char>::__ios_type& (*)(std::basic_istream<char>::__ios_type&)’ {aka ‘std::basic_ios<char>& (*)(std::basic_ios<char>&)’}
128 | operator>>(__ios_type& (*__pf)(__ios_type&))
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/usr/include/c++/15/istream:135:7: note: candidate 16: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’
135 | operator>>(ios_base& (*__pf)(ios_base&))
| ^~~~~~~~
/usr/include/c++/15/istream:135:30: note: no known conversion for argument 1 from ‘char*’ to ‘std::ios_base& (*)(std::ios_base&)’
135 | operator>>(ios_base& (*__pf)(ios_base&))
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/usr/include/c++/15/istream:354:7: note: candidate 17: ‘std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(__streambuf_type*) [with _CharT = char; _Traits = std::char_traits<char>; __streambuf_type = std::basic_streambuf<char>]’
354 | operator>>(__streambuf_type* __sb);
| ^~~~~~~~
/usr/include/c++/15/istream:354:36: note: no known conversion for argument 1 from ‘char*’ to ‘std::basic_istream<char>::__streambuf_type*’ {aka ‘std::basic_streambuf<char>*’}
354 | operator>>(__streambuf_type* __sb);
| ~~~~~~~~~~~~~~~~~~^~~~
/usr/include/c++/15/bits/basic_string.tcc:866:5: note: candidate 18: ‘template<class _CharT, class _Traits, class _Alloc> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, __cxx11::basic_string<_CharT, _Traits, _Alloc>&)’
866 | operator>>(basic_istream<_CharT, _Traits>& __in,
| ^~~~~~~~
/usr/include/c++/15/bits/basic_string.tcc:866:5: note: template argument deduction/substitution failed:
GroupOfPersons.cpp:74:26: note: mismatched types ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’ and ‘char*’
74 | is>>namesChildren[i];
| ^
/usr/include/c++/15/cstddef:136:5: note: candidate 19: ‘template<class _IntegerType> constexpr std::__byte_op_t<_IntegerType> std::operator>>(byte, _IntegerType)’
136 | operator>>(byte __b, _IntegerType __shift) noexcept
| ^~~~~~~~
/usr/include/c++/15/cstddef:136:5: note: template argument deduction/substitution failed:
GroupOfPersons.cpp:74:7: note: cannot convert ‘is’ (type ‘std::ifstream’ {aka ‘std::basic_ifstream<char>’}) to type ‘std::byte’
74 | is>>namesChildren[i];
| ^~
/usr/include/c++/15/bits/istream.tcc:983:5: note: candidate 20: ‘template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, _CharT&)’
983 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT& __c)
| ^~~~~~~~
/usr/include/c++/15/bits/istream.tcc:983:5: note: template argument deduction/substitution failed:
GroupOfPersons.cpp:74:26: note: deduced conflicting types for parameter ‘_CharT’ (‘char’ and ‘char*’)
74 | is>>namesChildren[i];
| ^
/usr/include/c++/15/istream:851:5: note: candidate 21: ‘template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(basic_istream<char, _Traits>&, unsigned char&)’
851 | operator>>(basic_istream<char, _Traits>& __in, unsigned char& __c)
| ^~~~~~~~
/usr/include/c++/15/istream:851:5: note: template argument deduction/substitution failed:
GroupOfPersons.cpp:74:26: note: cannot convert ‘*(((GroupOfPersons*)this)->GroupOfPersons::namesChildren + ((sizetype)(((long unsigned int)i) * 8)))’ (type ‘char*’) to type ‘unsigned char&’
74 | is>>namesChildren[i];
| ~~~~~~~~~~~~~~~^
/usr/include/c++/15/istream:856:5: note: candidate 22: ‘template<class _Traits> std::basic_istream<char, _Traits>& std::operator>>(basic_istream<char, _Traits>&, signed char&)’
856 | operator>>(basic_istream<char, _Traits>& __in, signed char& __c)
| ^~~~~~~~
/usr/include/c++/15/istream:856:5: note: template argument deduction/substitution failed:
GroupOfPersons.cpp:74:26: note: cannot convert ‘*(((GroupOfPersons*)this)->GroupOfPersons::namesChildren + ((sizetype)(((long unsigned int)i) * 8)))’ (type ‘char*’) to type ‘signed char&’
74 | is>>namesChildren[i];
| ~~~~~~~~~~~~~~~^
/usr/include/c++/15/istream:954:5: note: candidate 23: ‘template<class _CharT, class _Traits, long unsigned int _Num> std::basic_istream<_CharT, _Traits>& std::operator>>(basic_istream<_CharT, _Traits>&, _CharT (&)[_Num])’
954 | operator>>(basic_istream<_CharT, _Traits>& __in, _CharT (&__s)[_Num])
| ^~~~~~~~
/usr/include/c++/15/istream:954:5: note: template argument deduction/substitution failed:
GroupOfPersons.cpp:74:26: note: mismatched types ‘_CharT [_Num]’ and ‘char*’
74 | is>>namesChildren[i];
| ^
/usr/include/c++/15/istream:963:5: note: candidate 24: ‘template<class _Traits, long unsigned int _Num> std::basic_istream<char, _Traits>& std::operator>>(basic_istream<char, _Traits>&, unsigned char (&)[_Num])’
963 | operator>>(basic_istream<char, _Traits>& __in, unsigned char (&__s)[_Num])
| ^~~~~~~~
/usr/include/c++/15/istream:963:5: note: template argument deduction/substitution failed:
GroupOfPersons.cpp:74:26: note: mismatched types ‘unsigned char [_Num]’ and ‘char*’
74 | is>>namesChildren[i];
| ^
/usr/include/c++/15/istream:968:5: note: candidate 25: ‘template<class _Traits, long unsigned int _Num> std::basic_istream<char, _Traits>& std::operator>>(basic_istream<char, _Traits>&, signed char (&)[_Num])’
968 | operator>>(basic_istream<char, _Traits>& __in, signed char (&__s)[_Num])
| ^~~~~~~~
/usr/include/c++/15/istream:968:5: note: template argument deduction/substitution failed:
GroupOfPersons.cpp:74:26: note: mismatched types ‘signed char [_Num]’ and ‘char*’
74 | is>>namesChildren[i];
| ^
/usr/include/c++/15/istream:1101:5: note: candidate 26: ‘template<class _Istream, class _Tp> _Istream&& std::operator>>(_Istream&&, _Tp&&)’
1101 | operator>>(_Istream&& __is, _Tp&& __x)
| ^~~~~~~~
/usr/include/c++/15/istream:1101:5: note: template argument deduction/substitution failed:
/usr/include/c++/15/istream: In substitution of ‘template<class _Istream, class _Tp> _Istream&& std::operator>>(_Istream&&, _Tp&&) [with _Istream = std::basic_ifstream<char>&; _Tp = char*&]’:
GroupOfPersons.cpp:74:26: required from here
74 | is>>namesChildren[i];
| ^
/usr/include/c++/15/istream:1101:5: error: template constraint failure for ‘template<class _Is, class _Tp> requires (__derived_from_ios_base<_Is>) && requires(_Is& __is, _Tp&& __t) {__is >> (forward<_Tp>)(__t);} using std::__rvalue_stream_extraction_t = _Is&&’
1101 | operator>>(_Istream&& __is, _Tp&& __x)
| ^~~~~~~~
/usr/include/c++/15/istream:1101:5: note: constraints not satisfied
/usr/include/c++/15/bits/ostream.h: In substitution of ‘template<class _Is, class _Tp> requires (__derived_from_ios_base<_Is>) && requires(_Is& __is, _Tp&& __t) {__is >> (forward<_Tp>)(__t);} using std::__rvalue_stream_extraction_t = _Is&& [with _Is = std::basic_ifstream<char>&; _Tp = char*&]’:
/usr/include/c++/15/istream:1101:5: required by substitution of ‘template<class _Istream, class _Tp> _Istream&& std::operator>>(_Istream&&, _Tp&&) [with _Istream = std::basic_ifstream<char>&; _Tp = char*&]’
GroupOfPersons.cpp:74:26: required from here
74 | is>>namesChildren[i];
| ^
/usr/include/c++/15/bits/ostream.h:803:13: required for the satisfaction of ‘__derived_from_ios_base<_Is>’ [with _Is = std::basic_ifstream<char, std::char_traits<char> >&]
/usr/include/c++/15/bits/ostream.h:803:39: note: the expression ‘is_class_v<_Tp> [with _Tp = std::basic_ifstream<char, std::char_traits<char> >&]’ evaluated to ‘false’
803 | concept __derived_from_ios_base = is_class_v<_Tp>
| ^~~~~~~~~~~~~~~
make[1]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:201: table.o] Error 1
make[1]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:201: GroupOfPersons.o] Error 1
make[1]: Target 'all' not remade because of errors.
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/Familias/src'
ERROR: compilation failed for package ‘Familias’
* removing ‘/data/gannet/ripley/R/packages/tests-devel/Familias.Rcheck/Familias’