lilypond-devel
[Top][All Lists]
Advanced

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

Re: Lilypond miscompiled on Fedora 17


From: David Kastrup
Subject: Re: Lilypond miscompiled on Fedora 17
Date: Fri, 04 May 2012 20:57:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

Pavel Roskin <address@hidden> writes:

> Quoting David Kastrup <address@hidden>:
>
>> That would have been my most likely guess.  Probably the "min" function
>> call.
>
> You are absolultely right!  I was able to work around the gcc bug by
> making a separate function for Moment comparison and using it instead
> of min():
>
> Moment
> min_moment (Moment m1, Moment m2)
> {
>   return min (m1, m2);
> }

What happens if you declare this

(Moment const &m1, Moment const &m2)

...


-- 
David Kastrup




reply via email to

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