bug-lilypond
[Top][All Lists]
Advanced

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

Re: Part_combine_iterator::last_playing_ notinitialized


From: Phil Holmes
Subject: Re: Part_combine_iterator::last_playing_ notinitialized
Date: Sun, 21 Aug 2011 15:35:19 +0100

"Reinhold Kainhofer" <address@hidden> wrote in message news:address@hidden
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

You want this adding to the tracker?

--
Phil Holmes
Bug Squad





reply via email to

[Prev in Thread] Current Thread [Next in Thread]