lilypond-devel
[Top][All Lists]
Advanced

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

Re: C++ standards


From: Hans Åberg
Subject: Re: C++ standards
Date: Thu, 5 Jul 2018 21:20:06 +0200

> 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.

> Should we provide some --std=c++11 option or similar at least to gcc?

If you want to ensure the right version is used.

One can also use the __cplusplus preprocessor macro.





reply via email to

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