[Top][All Lists]

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

LilyPond + Clang

From: Jonas Hahnfeld
Subject: LilyPond + Clang
Date: Thu, 14 Nov 2019 10:02:18 +0100
User-agent: Evolution 3.34.1

Hi all,

I spent some time trying to understand why LilyPond fails to build with
Clang and how a possible fix might look like. TLDR, I've posted a patch
in which works on

Please find attached another reduced test case: The approach with
'using' (currently in LilyPond's code) only works with GCC, whereas my
proposed solution of re-declaring the base template member compiles
with both GCC and Clang (on Linux).
I'm planning to also test on FreeBSD (which defaults to Clang
nowadays), just don't have time right now. However I don't own Apple
products, so it would be great if somebody could test on macOS...

For context, here are the prior discussions:


P.S.: Werner is too fast in discovering new patches 😄

Attachment: test.cpp
Description: Text Data

Attachment: signature.asc
Description: This is a digitally signed message part

reply via email to

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