If compiler warnings are turned up, they will give:
lodepng.cpp: In function ‘filter’:
lodepng.cpp:5437:3: error: comparison of unsigned expression >= 0 is always true [-Werror=type-limits]
It's not a terribly useful warning here. But it is in some cases informative and can catch misunderstandings, so nice to not have to disable it in a build that treats warnings as errors.
On the line that says:
If compiler warnings are turned up, they will give:
It's not a terribly useful warning here. But it is in some cases informative and can catch misunderstandings, so nice to not have to disable it in a build that treats warnings as errors.