lilypond-devel
[Top][All Lists]
Advanced

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

Re: C++ standards


From: David Kastrup
Subject: Re: C++ standards
Date: Fri, 06 Jul 2018 00:33:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Dan Eble <address@hidden> writes:

> On Jul 5, 2018, at 15:20, Hans Åberg <address@hidden> wrote:
>> 
>>> On 5 Jul 2018, at 20:02, David Kastrup <address@hidden> wrote:
>>> 
>>> What C++ standard should we be able to ask for?  I think that at the
>>> current point of time, C++11 should be reasonably fine for the asking.
>> 
>> The g++7 default, and clang++6, is C++14, but supports C++17 with
>> the --std=c++17 flag.
>
> Good angle.  At my place of employment, rather than ask which C++
> version to use, they determine which minimum versions of which
> compilers to require and then enable the latest commonly supported
> standard.

I lean towards being conservative here since LilyPond is one heck of an
ugly application to debug compiler/library errors with.  And I've
tracked down and reported several compiler errors in the assembly code
of LilyPond in past years.

-- 
David Kastrup



reply via email to

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