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 03:58:05 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0 Iceweasel/35.0.1

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

Also worth noting that the test for C++11 is testing for quite a few language
features, and it doesn't fall back to allow for example an older version of
g++ that supports some but not all of the new library or language features.

My intent is to hopefully allow C++11 if the compiler is new enough, but
gracefully fall back to older compilers if not. And primarily to start
allowing use of new library features, not necessarily language features.

Maybe instead of having such a strict check for C++11, we should just add one
of the flags -std={gnu++11,c++11,gnu++0x,c++0x}, whichever one the compiler
accepts first, and then use other discrete feature tests for specific things
we may want to use. I may work up an alternate patch to that effect.

    _______________________________________________________

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]