Closed Beep6581 closed 6 years ago
The project manager says "just put the title somewhere and let's get on with ...".
Which project manager? ;-)
No comment/objections since 6 days, I'll commit in few minutes.
Pushed in commit 3fe9cae2c376bd89aac7286144fdcc776fe43e69
Closing.
@Hombre57 Your commit introduced new warnings to the Clang build:
/home/user/src/rawtherapee/rtexif/stdattribs.cc:469:57: warning: comparison of constant 239 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare]
if (count % 2 || (count >= 11 && (buffer[0] == 0xEF && buffer[1] == 0xBB && buffer[2] == 0xBF))) {
~~~~~~~~~ ^ ~~~~
/home/user/src/rawtherapee/rtexif/stdattribs.cc:469:78: warning: comparison of constant 187 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare]
if (count % 2 || (count >= 11 && (buffer[0] == 0xEF && buffer[1] == 0xBB && buffer[2] == 0xBF))) {
~~~~~~~~~ ^ ~~~~
/home/user/src/rawtherapee/rtexif/stdattribs.cc:469:99: warning: comparison of constant 191 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare]
if (count % 2 || (count >= 11 && (buffer[0] == 0xEF && buffer[1] == 0xBB && buffer[2] == 0xBF))) {
~~~~~~~~~ ^ ~~~~
/home/user/src/rawtherapee/rtexif/stdattribs.cc:475:31: warning: comparison of constant 255 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare]
if (buffer[0] == 0xFF && buffer[1] == 0xFE) {
~~~~~~~~~ ^ ~~~~
/home/user/src/rawtherapee/rtexif/stdattribs.cc:475:52: warning: comparison of constant 254 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare]
if (buffer[0] == 0xFF && buffer[1] == 0xFE) {
~~~~~~~~~ ^ ~~~~
/home/user/src/rawtherapee/rtexif/stdattribs.cc:478:38: warning: comparison of constant 254 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare]
} else if (buffer[0] == 0xFE && buffer[1] == 0xFF) {
~~~~~~~~~ ^ ~~~~
/home/user/src/rawtherapee/rtexif/stdattribs.cc:478:59: warning: comparison of constant 255 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare]
} else if (buffer[0] == 0xFE && buffer[1] == 0xFF) {
~~~~~~~~~ ^ ~~~~
Best, Flössie
@Floessie Could you try branch rtexif-clang-warnings ? I don't have any warning before and after this patch, so can't say if it fix the problem.
@Hombre57 Perfect. 👍 for merge.
@Floessie Merge to dev done.
-- UPDATE 2017-12-28 In summary, it seems that currently RT treats compressed TIFF files as if tunnel metadata was always enabled. - Morgan
Originally reported on Google Code with ID 2033
Reported by
nobrowser
on 2013-11-07 07:41:14