Closed tanja84dk closed 1 year ago
Thanks, I'll take a look at that one.
Can confirm that the error/warning has disappeared with the changes there has been made to master
Tried to build https://github.com/jarro2783/cxxopts/commit/120205ac5a61d7e715f184fce0328ac5eb3d6712 still with "CXXOPTS_USE_UNICODE_HELP ON" and also with "CXXOPTS_BUILD_EXAMPLES ON" just to test and the build succeeded with no warnings or errors
Just wanna inform that I'm receiving a sign-conversion warning/error about when ever I build with CXXOPTS_USE_UNICODE_HELP ON on clang 14 It gives no warnings as soon as I don't build with the CXXOPTS_USE_UNICODE_HELP OFF The version I'm using is the 3.1.1 from releases. compiled with "-g -Werror -Wall -Wextra -pedantic -Wconversion -Wundef -Wshadow -Wno-gnu-zero-variadic-macro-arguments -Wzero-as-null-pointer-constant -std=gnu++20"
It looks like its because legth actually is returning a int32_t and not size_t so it looks like change from signed to unsigned within the defined CXXOPTS_USE_UNICODE in the std::size_t stringLength function.