Closed bjornwah closed 7 months ago
strlen returns size_t which is unsigned so it is always >= 0. If the intention was that strlen(message) > 0 then the fix is something else.
Error with gcc 11.4.0: glm-src/glm/gtx/string_cast.inl:25:40: error: comparison of unsigned expression in ‘>= 0’ is always true [-Werror=type-limits]
glm-src/glm/gtx/string_cast.inl:25:40: error: comparison of unsigned expression in ‘>= 0’ is always true [-Werror=type-limits]
Thanks for contributing!
strlen returns size_t which is unsigned so it is always >= 0. If the intention was that strlen(message) > 0 then the fix is something else.
Error with gcc 11.4.0:
glm-src/glm/gtx/string_cast.inl:25:40: error: comparison of unsigned expression in ‘>= 0’ is always true [-Werror=type-limits]