----------  Forwarded Message  ----------

Subject: Bug#811784: exactimage: FTBFS with GCC 6: narrowing conversion
Date: Tuesday 19 January 2016, 18:00:17
From: Martin Michlmayr <[email protected]>
To: [email protected]

Package: exactimage
Version: 0.9.1-10
Severity: important
User: [email protected]
Usertags: ftbfs-gcc-6 gcc-6-narrowing

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fopenmp 
> -ffunction-sections -fdata-sections -flto -fPIC -Wno-sign-compare -fPIC 
> -funroll-loops -fomit-frame-pointer -funswitch-loops -fpeel-loops -ftracer 
> -funit-at-a-time -frename-registers -ftree-vectorize -Wno-switch 
> -Wno-switch-enum -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I . 
> -I/usr/include/agg2 -I/usr/include/freetype2 -I lib -I utility -pthread 
> -I/usr/include/OpenEXR -I codecs/ -I bardecode -I utility -I utility 
> -I/usr/X11/include -I/usr/include/efl-1 -I/usr/include/evas-1 
> -I/usr/include/libpng12 -I/usr/include/fribidi -I/usr/include/freetype2 
> -I/usr/include/efl-1 -I/usr/include/eet-1 -I/usr/include/p11-kit-1 
> -I/usr/include/efl-1 -I/usr/include/eo-1 -I/usr/include/efl-1 
> -I/usr/include/eina-1 -I/usr/include/eina-1/eina -Igfx -D 
> WITHEVAS_COLOR_PREMUL -I . -I lib -I gfx -D WITHEVAS_X11_CONNECTION -D 
> WITHEVAS_X11_SCREEN  -c  -MMD -MP -MF 'objdir/codecs/pdf.d' -o 
> 'objdir/codecs/pdf.o' 'code
> cs/pdf.cc'
> codecs/dcraw.h: In function 'void dcraw::vng_interpolate()':
> codecs/dcraw.h:4110:3: error: narrowing conversion of '128' from 'int' to 
> 'signed char' inside { } [-Wnarrowing]
>    }, chood[] = { -1,-1, -1,0, -1,+1, 0,+1, +1,+1, +1,0, +1,-1, 0,-1 };
>    ^
> 
> codecs/dcraw.h:4110:3: error: narrowing conversion of '136' from 'int' to 
> 'signed char' inside { } [-Wnarrowing]
> codecs/dcraw.h:4110:3: error: narrowing conversion of '128' from 'int' to 
> 'signed char' inside { } [-Wnarrowing]
> codecs/dcraw.h:4110:3: error: narrowing conversion of '136' from 'int' to 
> 'signed char' inside { } [-Wnarrowing]
> codecs/dcraw.h:4110:3: error: narrowing conversion of '128' from 'int' to 
> 'signed char' inside { } [-Wnarrowing]
> codecs/dcraw.h:4110:3: error: narrowing conversion of '136' from 'int' to 
> 'signed char' inside { } [-Wnarrowing]
> codecs/dcraw.h: In function 'void dcraw::adobe_coeff(const char*, const 
> char*)':
> codecs/dcraw.h:7406:3: error: narrowing conversion of '65535' from 'int' to 
> 'short int' inside { } [-Wnarrowing]
>    };
>    ^
> 

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise

-----------------------------------------

Attachment: signature.asc
Description: This is a digitally signed message part.

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe exact-image

Reply via email to