[Debian-med-packaging] Bug#811909: parsinsert: FTBFS with GCC 6: invalid conversion

Andreas Tille andreas at an3as.eu
Sat May 14 16:19:25 UTC 2016


Uploaded, thanks a lot for your effort, Andreas.

On Sat, May 14, 2016 at 04:43:40PM +0100, Sascha Steinbiss wrote:
> Dear all,
> 
> I have fixed this in SVN and also done the usual housekeeping tasks.
> 
> Cheers
> Sascha
> 
> On Tue, 19 Jan 2016 19:32:30 -0800 Martin Michlmayr <tbm at hpe.com> wrote:
> > Package: parsinsert
> > Version: 1.04-1
> > Severity: important
> > User: debian-gcc at lists.debian.org
> > Usertags: ftbfs-gcc-6 gcc-6-invalid-convert
> >
> > 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 -O3 -c -o ParsInsert.o ParsInsert.cpp
> > > In file included from ParsInsert.h:29:0,
> > >                  from ParsInsert.cpp:34:
> > > ParsimonySet.h: In member function 'void CParsimonySet::TraceSegments(const char*)':
> > > ParsimonySet.h:429:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
> > >              DisplayL("%s [", label);
> > >                                    ^
> > >
> > > ParsimonySet.h:431:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
> > >                  DisplayL(" %3d", segCounts[k]);
> > >                                               ^
> > >
> > > ParsimonySet.h:432:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
> > >              DisplayL("]\n");
> > >                            ^
> > >
> > > ParsInsert.cpp: At global scope:
> > > ParsInsert.cpp:92:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
> > >  char                *statsName      = "PI_Results.log";
> > >                                        ^~~~~~~~~~~~~~~~
> > >
> > > ParsInsert.cpp:93:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
> > >  char                *logFilename    = "ParsInsert.log";
> > >                                        ^~~~~~~~~~~~~~~~
> > >
> > > ParsInsert.cpp:94:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
> > >  char                *treeFilename   = "PI_Tree.tree";
> > >                                        ^~~~~~~~~~~~~~
> > >
> > > ParsInsert.cpp:95:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
> > >  char                *seqFilename    = "PI_Tree.fasta";
> > >                                        ^~~~~~~~~~~~~~~
> > >
> > > ParsInsert.cpp:98:42: error: invalid conversion from 'int' to 'char*' [-fpermissive]
> > >  char                *files[64]      = {64*0};
> > >                                         ~~^~
> >
> > --
> > Martin Michlmayr
> > Linux for HPE Helion, Hewlett Packard Enterprise
> >



> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging


-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list