dna.cpp: In function 'void init(std::string, std::string)':
dna.cpp:35:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | for (int i = 0; i <= a.length(); i++) {
| ~~^~~~~~~~~~~~~
dna.cpp:38:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | for (int i = 0; i <= b.length(); i++) {
| ~~^~~~~~~~~~~~~
dna.cpp:41:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | for (int i = 1; i <= a.length(); i++) {
| ~~^~~~~~~~~~~~~
dna.cpp:47:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | for (int i = 1; i <= b.length(); i++) {
| ~~^~~~~~~~~~~~~
dna.cpp:54:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
54 | for (int i = 0; i <= a.length(); i++) {
| ~~^~~~~~~~~~~~~
dna.cpp:60:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
60 | for (int i = 1; i <= a.length(); i++) {
| ~~^~~~~~~~~~~~~
dna.cpp: In function 'int value(char)':
dna.cpp:26:1: warning: control reaches end of non-void function [-Wreturn-type]
26 | }
| ^