[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Part_combine_iterator::last_playing_ notinitialized
From: |
Reinhold Kainhofer |
Subject: |
Re: Part_combine_iterator::last_playing_ notinitialized |
Date: |
Sun, 21 Aug 2011 16:23:45 +0200 |
User-agent: |
KMail/1.13.6 (Linux/2.6.38-10-generic; KDE/4.7.0; i686; ; ) |
Am Sunday, 21. August 2011, 11:01:24 schrieb Phil Holmes:
> "Dan Eble" <address@hidden> wrote in message
> news:address@hidden
>
> >> I'm not top posting.
> >
> > % valgrind reports that a member of Part_combine_iterator is used
> > % before being initialized. Initializing last_playing_ = SOLO1 in
> > % the constructor makes the warning go away.
> > \version "2.14.2"
> >
> > \partcombine { s } { s }
>
> This compiles happily on my system. What is the example illustrating?
It compiles, but if you run ith through valgrind, you'll see that it accesses
an uninitialized variable. It usually doesn't crash, but there might be
circumstances where it does.
Cheers,
Reinhold
--
------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
* Financial & Actuarial Math., Vienna Univ. of Technology, Austria
* http://www.fam.tuwien.ac.at/, DVR: 0005886
* LilyPond, Music typesetting, http://www.lilypond.org
Re: Part_combine_iterator::last_playing_ not initialized, Dmytro O. Redchuk, 2011/08/22