<div dir="ltr"><div><div>Build with gcc-6 of libraw 0.17.2-3 fails with<br><br>internal/dcraw_common.cpp: In member function ‘void LibRaw::vng_interpolate()’:<br>internal/dcraw_common.cpp:4539:3: error: narrowing conversion of ‘128’ from ‘int’ to ‘signed char’ inside { } [-Wnarrowing]<br>   }, chood[] = { -1,-1, -1,0, -1,+1, 0,+1, +1,+1, +1,0, +1,-1, 0,-1 };<br>   ^<br>internal/dcraw_common.cpp:4539:3: error: narrowing conversion of ‘136’ from ‘int’ to ‘signed char’ inside { } [-Wnarrowing]<br>internal/dcraw_common.cpp:4539:3: error: narrowing conversion of ‘128’ from ‘int’ to ‘signed char’ inside { } [-Wnarrowing]<br>internal/dcraw_common.cpp:4539:3: error: narrowing conversion of ‘136’ from ‘int’ to ‘signed char’ inside { } [-Wnarrowing]<br>internal/dcraw_common.cpp:4539:3: error: narrowing conversion of ‘128’ from ‘int’ to ‘signed char’ inside { } [-Wnarrowing]<br>internal/dcraw_common.cpp:4539:3: error: narrowing conversion of ‘136’ from ‘int’ to ‘signed char’ inside { } [-Wnarrowing]<br>Makefile:863: recipe for target 'internal/dcraw_common.lo' failed<br>make[1]: *** [internal/dcraw_common.lo] Error 1<br>make[1]: Leaving directory '/«PKGBUILDDIR»'<br>dh_auto_build: make -j1 returned exit code 2<br>debian/rules:6: recipe for target 'build' failed<br>make: *** [build] Error 2<br>dpkg-buildpackage: error: debian/rules build gave error exit status 2<br>Command exited with non-zero status 2<br><br><br></div>While 0001-Fix_dcraw_narrowing_for_gcc6.patch fixes dcraw/dcraw.c, it doesn't  modify internal/dcraw_common.cpp <br>which is derived (pre-processed) from the latter, cf. the "regenerate" target in Makefile.devel.<br><br></div>Cheers, Roderich<br></div>