[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

rawtherapee FTBFS on arm (C++11 issue)



Hi,

I need some help understanding what happens.
I uploaded a new version of rawtherapee to cope with new sigc++ and glibmm2.4 
versions. This involved bulding rawtherapee with -std=c++11. Now rawtherapee 
FTBFS on arm64, armel, armhf, powerpc, ppc64el and s390x but not on amd64, i386, 
mips, mipsel, mips64el, ...

The error is the same on all failing architectures:

[...]
> rtengine/dcraw.cc: In member function 'void DCraw::kodak_radc_load_raw()':
> rtengine/dcraw.cc:2076:3: error: narrowing conversion of '-2' from 'int' to 'char' inside { } [-Wnarrowing]
[...]

The full build log is here [1] and the source code at [2] (don't get confused 
by differing line numbers, the file is patched during the build). GCC is 5.2.1 
on all architectures.

Do you have any ideas why it FTBFS on arm? And - in the best case - do you have 
an idea how to fix?


Thanks for your help!
Philip


[1] 
https://buildd.debian.org/status/fetch.php?pkg=rawtherapee&arch=arm64&ver=4.2-3&stamp=1446572775

[2] 
https://anonscm.debian.org/cgit/collab-maint/rawtherapee.git/tree/rtengine/dcraw.cc#n2054

Attachment: signature.asc
Description: PGP signature


Reply to: