Bug#811726: swfmill: FTBFS with GCC 6: narrowing conversion
Martin Michlmayr
tbm at hpe.com
Wed Jan 20 01:43:46 UTC 2016
Package: swfmill
Version: 0.3.2-1.1
Severity: important
User: debian-gcc at lists.debian.org
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
...
> x86_64-linux-gnu-g++ -DPACKAGE_NAME=\"swfmill\" -DPACKAGE_TARNAME=\"swfmill\" -DPACKAGE_VERSION=\"0.3.2\" -DPACKAGE_STRING=\"swfmill\ 0.3.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"swfmill\" -DVERSION=\"0.3.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ICONV=1 -DICONV_CONST= -I. -I/usr/include/libxml2 -I/usr/include/libxml2 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng12 -I./swft/ -I./xslt/ -g -O2 -MT swft/swfmill-swft_import_jpeg.o -MD -MP -MF swft/.deps/swfmill-swft_import_jpeg.Tpo -c -o swft/swfmill-swft_import_jpeg.o `test -f 'swft/swft_import_jpeg.cpp' || echo './'`swft/swft_import_jpeg.cpp
> swft/swft_import_jpeg.cpp:13:56: error: narrowing conversion of '255' from 'int' to 'char' inside { } [-Wnarrowing]
> const char jpeg_header[] = { 0xff, 0xd9, 0xff, 0xd8, 0 };
> ^
>
> swft/swft_import_jpeg.cpp:13:56: error: narrowing conversion of '217' from 'int' to 'char' inside { } [-Wnarrowing]
> swft/swft_import_jpeg.cpp:13:56: error: narrowing conversion of '255' from 'int' to 'char' inside { } [-Wnarrowing]
> swft/swft_import_jpeg.cpp:13:56: error: narrowing conversion of '216' from 'int' to 'char' inside { } [-Wnarrowing]
> Makefile:755: recipe for target 'swft/swfmill-swft_import_jpeg.o' failed
> make[3]: *** [swft/swfmill-swft_import_jpeg.o] Error 1
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise
More information about the pkg-flash-devel
mailing list