octave-patch-tracker
[Top][All Lists]
Advanced

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

[Octave-patch-tracker] [patch #8906] configure check support for c11 and


From: John W. Eaton
Subject: [Octave-patch-tracker] [patch #8906] configure check support for c11 and c++11
Date: Thu, 11 Feb 2016 18:47:40 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.2.1

Follow-up Comment #2, patch #8906 (project octave):

To the statement "it's ok to use as long as it's not a requirement", I'd like
to add that it is not OK to use C++11 for basic functionality that could be
implemented without C++11 features.  So the change I proposed for acos is OK
because it allows acos to work even if C11 and C++11 features are not
available.  But that means more work for us now because to use the shiny new
C++11 feature, we still need to provide a fallback method.

On the brighter side, I think we may be close to being able to just use at
least some C++11 features without requiring fallback methods if they are
supported by reasonably recent versions of GCC and Clang.  With mxe-octave, we
have a way to build Octave with a current version of GCC when the system
compiler is not sufficient.

Perhaps after 4.2 (or will it be 5.0?) we could start using C++11 features and
if people want to build Octave with ten year old compilers, we can tell them
that they either upgrade their compiler (possibly using mxe-octave to do it)
or build an old version of Octave with their old compiler.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?8906>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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