Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Compile warnings in plugin/ppm
Compile warnings in plugin/ppm [message #54756] |
Mon, 07 September 2020 19:35 |
wimpie
Messages: 46 Registered: March 2013 Location: holland
|
Member |
|
|
Hello
I was running clang with option "-Wall" and this caught the following :
/home/tommie/Programming/ultimatepp/uppsrc/plugin/ppm/ppm.cpp:32:18: warning: overlapping comparisons always evaluate to false [-Wtautological-overlap-compare]
if(maxval <= 0 && maxval > 65535)
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/home/tommie/Programming/ultimatepp/uppsrc/plugin/ppm/ppm.cpp:27:19: warning: overlapping comparisons always evaluate to false [-Wtautological-overlap-compare]
if(size.cx <= 0 && size.cx > 99999 || size.cy <= 0 || size.cy >= 99999)
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
which, I assume, is indeed not intended like this?
|
|
|
|
Goto Forum:
Current Time: Fri Sep 20 06:17:44 CEST 2024
Total time taken to generate the page: 0.04358 seconds
|