Hi,

I saw the news from Niels in December, so in the absence of a current
maintainer I'm posting this here.  I've just moved to gcc-7.1 and
dcraw.cc no longer compiles -

dcraw.cc:9245:16: error: call of overloaded 'abs(unsigned int&)' is
ambiguous
       if (abs(i) < abs(c)) {

The attached patch (not sure if attachments on this list are visible
in the archives, so I'll spell it out: at line 8769 delete i and c
from unsigned, add them to int on the following line) builds.

I've no idea what sort of camera this is for (possibly an Olympus),
so I wasn't looking forward to testing this, but I see that Dave
Coffin has now updated dcraw.c to 9.27 and his code seems to match
this change.  This also seems to work with both of my Olympuses,
which may or may not be relevant.

ĸen
-- 
I live in a city. I know sparrows from starlings.  After that
everything is a duck as far as I'm concerned.  -- Monstrous Regiment

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
ufraw-devel mailing list
ufraw-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ufraw-devel

Reply via email to