You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When defining STBI_NO_JPEG, the GCC compiler starts to show warnings:
stb_image.h:1078:12: warning: 'int stbi__mul2shorts_valid(int, int)' defined but not used [-Wunused-function] 1078 | static int stbi__mul2shorts_valid(int a, int b) stb_image.h:1070:12: warning: 'int stbi__addints_valid(int, int)' defined but not used [-Wunused-function] 1070 | static int stbi__addints_valid(int a, int b)
So, these functions must be wrapped into #ifndef STBI_NO_JPEG (maybe something else).
The text was updated successfully, but these errors were encountered:
When defining
STBI_NO_JPEG
, theGCC
compiler starts to show warnings:stb_image.h:1078:12: warning: 'int stbi__mul2shorts_valid(int, int)' defined but not used [-Wunused-function] 1078 | static int stbi__mul2shorts_valid(int a, int b) stb_image.h:1070:12: warning: 'int stbi__addints_valid(int, int)' defined but not used [-Wunused-function] 1070 | static int stbi__addints_valid(int a, int b)
So, these functions must be wrapped into
#ifndef STBI_NO_JPEG
(maybe something else).The text was updated successfully, but these errors were encountered: