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

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

[Octave-bug-tracker] [bug #44965] configure.ac: Enable C++11 support if


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #44965] configure.ac: Enable C++11 support if possible
Date: Mon, 04 May 2015 14:48:01 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Firefox/31.0

Follow-up Comment #4, bug #44965 (project octave):

All good questions, maybe we should have a wiki page with some guidelines
about what C++ (in general) features we want to use and which we want to avoid
in the Octave code base?

Maybe I'm being naive, but I was hoping to introduce the option to enable
C++11 (or C++0x for older compilers) and have not much change immediately. But
I would like the option to be there for some configure tests to be useful, for
example with newer versions of LLVM that *require* C++11 (see bug #41061). Or
newer math library functions that are only available in the library with C++11
enabled (see bug #44310), with a fallback for approximations using the
functions we use today.

It may be worth looking at the set of features available and making some
decision about a minimum compiler version we want to continue to support, and
let that dictate what C++ features we can allow to be added? Basically what
distros do we want to continue to support out of the box with Octave 4.2?

I am definitely one of those who wants to continue to support older compilers
as much as reasonably possible, I hope it's possible to strike a balance
without too much duplication of code, which I agree would easily become a big
hassle.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44965>

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




reply via email to

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