Package: pstoedit Version: 3.62-2 Severity: important User: [email protected] Usertags: ftbfs-gcc-6
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 ... > libtool: compile: c++ -Wl,--as-needed -Wl,-O1 -DHAVE_CONFIG_H -I. > -DHAVE_LIBPLOTTER -DHAVE_MKSTEMP -DHAVE_MAGIC -I/usr/include/GraphicsMagick > -DHAVE_LIBPNG -DDEFAULTGS=/usr/bin/gs > -DPSTOEDITDATADIR=\"/usr/share/pstoedit\" > -DPSTOEDITLIBDIR=\"/usr/lib/x86_64-linux-gnu/pstoedit\" -DBUGGYGPP -Wall > -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-long-long -Wdate-time > -D_FORTIFY_SOURCE=2 -D_LITTLE_ENDIAN -g -O2 -fstack-protector-strong -Wformat > -Werror=format-security -DINTERNALBOOL -c drvdxf.cpp -fPIC -DPIC -o > .libs/drvdxf.o > drvdxf.cpp:545:45: error: size of array 'LayerTable' is not an integral > constant-expression > Layer * LayerTable[DXFColor::numberOfColors]; > ^ > > drvdxf.cpp: In static member function 'static RSString > DXFLayers::normalizeColorName(const RSString&)': > drvdxf.cpp:521:41: warning: cast from type 'const char*' to type 'char*' > casts away qualifiers [-Wcast-qual] > char * cp = (char *) normalized.value(); > ^ > > Makefile:867: recipe for target 'drvdxf.lo' failed -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise

