Bug#811781: inventor: FTBFS with GCC 6: narrowing conversion
Martin Michlmayr
tbm at hpe.com
Wed Jan 20 01:59:39 UTC 2016
Package: inventor
Version: 2.1.5-10-18
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
...
> /usr/bin/g++ -g -D_REENTRANT -O3 -DIVBINDIR=\"/usr/bin\" -DIVLIBDIR=\"/usr/lib\" -DIVHDRTOP=\"/usr/include/Inventor\" -DIVFONTPATH=\"/usr/share/inventor/fonts\" -DIVHELPDIR=\"/usr/share/inventor/help\" -DIVDATADIR=\"/usr/share/inventor/data/models\" -DIVMATERIALSDIR=\"/usr/share/inventor/data/materials\" -DIVTEXTURESDIR=\"/usr/share/inventor/data/textures\" -DIVDEMOBINDIR=\"/usr/lib/inventor\" -DIVDEMODATADIR=\"/usr/share/inventor/data/demos\" -DPDFVIEWER=\"xdg-open\" -I/usr/X11R6/include -I. -I../../../../lib/database/include -I../../../../lib/interaction/include -I../../../../lib/nodekits/include -I../../../../libSoXt/include -fPIC -O -DNDEBUG -c SoCenterballDragger.c++
> In file included from SoCenterballDragger.c++:78:0:
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '153' from 'int' to 'char' inside { } [-Wnarrowing]
> };
> ^
>
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '153' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '154' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '128' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '153' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '153' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '154' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '128' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '130' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '211' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '130' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '211' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '130' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '211' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '255' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '255' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '201' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '166' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '255' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '255' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '201' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '166' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '153' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '153' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '154' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '128' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '204' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '204' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '205' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '246' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '201' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '138' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '128' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '158' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '158' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '128' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '201' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '138' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '246' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '190' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '190' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '201' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '138' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '246' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '191' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '158' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '128' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '191' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '128' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '158' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '191' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '246' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '201' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '138' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '191' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '191' from 'int' to 'char' inside { } [-Wnarrowing]
> geom/SoCenterballDraggerGeom.h:39:1: error: narrowing conversion of '190' from 'int' to 'char' inside { } [-Wnarrowing]
...
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise
More information about the debian-science-maintainers
mailing list