lilypond-devel
[Top][All Lists]
Advanced

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

upgrade to c++11


From: Frédéric Bron
Subject: upgrade to c++11
Date: Sun, 14 Jul 2013 18:05:38 +0200

Hi,

g++ defaults to the C++ standard of 2003. 2 years ago a new standard
has been published with a log of improvements.
Today the g++ commands in the build process of lilypond do not specify
any standard so that it defaults to c++03.
Could we switch to c++11?
I suspect that a test would be required. Can somebody tell me where I
should add the option -std=c++11 to test this?
For example, can I just replace the following line of aclocal.m4:
CFLAGS=" -pipe $CFLAGS"
by
CFLAGS=" -pipe -std=c++11 $CFLAGS"

Regards,

Frédéric



reply via email to

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