In file included from levenshtein.cpp:10:
./implementation.hpp: In instantiation of ‘void EditDistance<C, DIST, DEBUG>::init(DIST, DIST) [with C = unsigned int; DIST = long unsigned int; bool DEBUG = true]’:
levenshtein.cpp:68:15: required from ‘std::size_t computeDistance(std::vector<unsigned int>, const std::vector<unsigned int>&) [with bool DEBUG = true; std::size_t = long unsigned int]’
68 | distance.init(str1.size(), str2.size());
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
levenshtein.cpp:115:27: required from here
115 | ? computeDistance<true>(str1, str2)
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
./implementation.hpp:49:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const std::size_t’ {aka ‘const long unsigned int’} [-Wsign-compare]
49 | for (int j = 0; j < blockSize; j++)
| ~~^~~~~~~~~~~
./implementation.hpp: In instantiation of ‘void EditDistance<C, DIST, DEBUG>::init(DIST, DIST) [with C = unsigned int; DIST = long unsigned int; bool DEBUG = false]’:
levenshtein.cpp:68:15: required from ‘std::size_t computeDistance(std::vector<unsigned int>, const std::vector<unsigned int>&) [with bool DEBUG = false; std::size_t = long unsigned int]’
68 | distance.init(str1.size(), str2.size());
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
levenshtein.cpp:116:28: required from here
116 | : computeDistance<false>(str1, str2);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
./implementation.hpp:49:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const std::size_t’ {aka ‘const long unsigned int’} [-Wsign-compare]
49 | for (int j = 0; j < blockSize; j++)
| ~~^~~~~~~~~~~
./implementation.hpp: In instantiation of ‘RowInfo<DIST> EditDistance<C, DIST, DEBUG>::getNewRowInfo(std::size_t, const C*, const C*) [with C = unsigned int; DIST = long unsigned int; bool DEBUG = true; std::size_t = long unsigned int]’:
./implementation.hpp:148:30: required from ‘DIST EditDistance<C, DIST, DEBUG>::compute_h(const std::vector<C>&, const std::vector<C>&) [with C = unsigned int; DIST = long unsigned int; bool DEBUG = true]’
148 | rowsW[row] = getNewRowInfo(row, s1, s2);
| ^~~~~~~~~~~~~
./implementation.hpp:118:16: required from ‘DIST EditDistance<C, DIST, DEBUG>::compute(const std::vector<C>&, const std::vector<C>&) [with C = unsigned int; DIST = long unsigned int; bool DEBUG = true]’
118 | return compute_h(shorter, longer);
| ^~~~~~~~~
levenshtein.cpp:72:36: required from ‘std::size_t computeDistance(std::vector<unsigned int>, const std::vector<unsigned int>&) [with bool DEBUG = true; std::size_t = long unsigned int]’
72 | std::size_t res = distance.compute(str1, str2);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
levenshtein.cpp:115:27: required from here
115 | ? computeDistance<true>(str1, str2)
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
./implementation.hpp:71:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const std::size_t’ {aka ‘const long unsigned int’} [-Wsign-compare]
71 | for (int i = 0; i < blockSize; i++)
| ~~^~~~~~~~~~~
./implementation.hpp: In instantiation of ‘RowInfo<DIST> EditDistance<C, DIST, DEBUG>::getNewRowInfo(std::size_t, const C*, const C*) [with C = unsigned int; DIST = long unsigned int; bool DEBUG = false; std::size_t = long unsigned int]’:
./implementation.hpp:148:30: required from ‘DIST EditDistance<C, DIST, DEBUG>::compute_h(const std::vector<C>&, const std::vector<C>&) [with C = unsigned int; DIST = long unsigned int; bool DEBUG = false]’
148 | rowsW[row] = getNewRowInfo(row, s1, s2);
| ^~~~~~~~~~~~~
./implementation.hpp:118:16: required from ‘DIST EditDistance<C, DIST, DEBUG>::compute(const std::vector<C>&, const std::vector<C>&) [with C = unsigned int; DIST = long unsigned int; bool DEBUG = false]’
118 | return compute_h(shorter, longer);
| ^~~~~~~~~
levenshtein.cpp:72:36: required from ‘std::size_t computeDistance(std::vector<unsigned int>, const std::vector<unsigned int>&) [with bool DEBUG = false; std::size_t = long unsigned int]’
72 | std::size_t res = distance.compute(str1, str2);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
levenshtein.cpp:116:28: required from here
116 | : computeDistance<false>(str1, str2);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
./implementation.hpp:71:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const std::size_t’ {aka ‘const long unsigned int’} [-Wsign-compare]
71 | for (int i = 0; i < blockSize; i++)
| ~~^~~~~~~~~~~