rapidfuzz / rapidfuzz-cpp

Rapid fuzzy string matching in C++ using the Levenshtein Distance
https://rapidfuzz.github.io/rapidfuzz-cpp
MIT License
238 stars 37 forks source link

fix GCC and Clang warnings #72

Closed yaoyuan0553 closed 2 years ago

yaoyuan0553 commented 2 years ago
  1. change most of the indexing types from std::ptrdiff_t to std::size_t
  2. fix GCC -Wshadow warnings
  3. fix a GCC -Wnull-dereference false positive by suppressing the error
maxbachmann commented 2 years ago

Thanks :+1: