bug-lilypond
[Top][All Lists]
Advanced

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

Re: Compiling lilypond


From: David Kastrup
Subject: Re: Compiling lilypond
Date: Sun, 17 Jul 2016 00:47:54 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

[For the record: compiling LilyPond with Clang++ currently fails]

Mojca Miklavec <address@hidden> writes:

> Hi,
>
> It seems that this is also a problem on the latest OS X, not just on
> my ancient box. We'll probably drop an email on the bug mailing list.

Here is an example you can report to the Clang++ mailing list.  This
overloading resolution seems to be what essentially fails with the
current LilyPond source.

class A {
public:
  template <void (A::*mf)()>
  void zip () { }
  void fun () { }
};

class B : public A
{
public:
  using A::zip; // Fails to involve A::zip in overloading resolution
  template <void (B::*mf)()>
  void zip () { }
} bex;


void x ()
{
  bex.zip <&B::fun> ();
}
Unfortunately, I don't see much of a way to circumvent this one in the
current code base without completely throwing large reorganizations and
simplifications away.

Sorry, you'll need to use GCC for now.

-- 
David Kastrup

reply via email to

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