lilypond-devel
[Top][All Lists]
Advanced

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

Re: compiling lilypond fails


From: David Kastrup
Subject: Re: compiling lilypond fails
Date: Sat, 25 Jun 2016 22:48:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

David Kastrup <address@hidden> writes:

> Not with my current patch-in-progress.  g++-4.8 seems to do some kind
> of "overloading resolution" by just randomly picking a candidate from
> several it fails to distinguish and then complaining when it does not
> fit.  The errors I am getting seem sort of arbitrary regarding the
> failing template argument candidates.

Ok, I got it.  It's Slur_engraver::listen_slur which is available in two
overloaded versions.  Renaming the two-argument version to something
else brings g++-4.8 back into understanding.  Gratuitous complexity.
I should have known better than that.

Admittedly, that was rather ugly.  A useful error message would have
been nice, but instead GCC resolved something else prematurely and then
got stuck.  Or so.  At any rate, it's reasonably easy to get this out of
the way.

-- 
David Kastrup



reply via email to

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