stb_ds: arrins and -Wsign-compare #1386
Unanswered
ennorehling
asked this question in
Q&A
Replies: 1 comment 4 replies
-
i don't understand the error. ptrdiff_t is a signed type, and 0 is a signed type. Furthermore, the definition of arrlen() is unchanged from 0.65. The intermediate macros have changed, but apparently only to convert the name from arraddindex from arraddoff. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After upgrading from version 0.65 to 0.67, when compiling with -Wsigned-compare, I get this warning from stb_ds.h:
My compiler is gcc 10.2:
This is my sample to reproduce the problem:
Beta Was this translation helpful? Give feedback.
All reactions