lilypond-devel
[Top][All Lists]
Advanced

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

Re: compilation with clang


From: David Kastrup
Subject: Re: compilation with clang
Date: Tue, 06 Nov 2018 11:13:07 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Werner LEMBERG <address@hidden> writes:

>> And answers are trickling in; see thread starting with
>> 
>>   http://lists.llvm.org/pipermail/cfe-users/2018-November/001417.html
>
> Is the work-around shown in
>
>   https://godbolt.org/z/cTq06R
>
> usable for lilypond?

No.  It's not C++08 syntax, and LilyPond actually makes use of the
overloading resolution (which of the templates is called depends on
where in the hierarchy the function that the function pointer refers to
is defined) as part of the macro framework used here and thus it's not
possible to manually resolve the override and kill all the prospective
alternatives.

If the Clang developers refuse to fix the bug, we'll just stick with the
current scheme: we don't need Clang to compile the MacOSX version of
LilyPond.

-- 
David Kastrup



reply via email to

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