[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help needed to fix gcc 4.7 bug in jellyfish package



Hi,


On Wed, May 02, 2012 at 07:32:50AM +0000, Sune Vuorela wrote:
> On 2012-05-02, Andreas Tille <andreas@an3as.eu> wrote:
> > Hi,
> >
> > I tried to fix the problem in the jellyfish package but the general
> > hints given did not helped me really.  Any more precise help to fix
> > this problem:
> >
> > parse_dna.cc:97:3: error: narrowing conversion of '-3' from 'int' to 'const uint_t {aka const long unsigned int}' inside { } is ill-formed in C++11 [-Werror=narrowing]
> >
> > --- jellyfish.orig/jellyfish/parse_dna.cc
> > +++ jellyfish/jellyfish/parse_dna.cc
> > @@ -57,7 +57,7 @@
> 
> It looks like you aren't the right place. It complains about line 97 and
> you have edits in line 60 ?

Huh?  The file has only 78 lines and the build log says the problem is
in line 77 - which is consistent with my try to fix the problem because
it concerns a field of integers which starts in line 60 and ends in line
77.  No idea where this 97 came from - but the patch is done at the
right place.  Any other ideas?

Kind regards

       Andreas.

-- 
http://fam-tille.de


Reply to: