David Kastrup <d...@gnu.org> 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

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to