Open masmangan opened 6 years ago
/Users/marco/openalpr/src/openalpr/support/utf8.cpp:19:13: warning: comparison of constant 237 with expression of type 'const std::1::basic_string<char, std::__1::char_traits, std::1::allocator >::value_type' (aka 'const char') is always false [-Wtautological-constant-out-of-range-compare] if (u[0]==0xed && (u[1] & 0xa0) == 0xa0) return -1; //code points, 0xd800 to 0xdfff
1
https://stackoverflow.com/questions/42344476/clang-tautological-constant-out-of-range-compare-warning
/Users/marco/openalpr/src/openalpr/support/utf8.cpp:19:13: warning: comparison of constant 237 with expression of type 'const std::1::basic_string<char, std::__1::char_traits, std:: 1::allocator >::value_type' (aka 'const char') is always false [-Wtautological-constant-out-of-range-compare]
if (u[0]==0xed && (u[1] & 0xa0) == 0xa0) return -1; //code points, 0xd800 to 0xdfff