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: John W. Eaton
Subject: [Octave-bug-tracker] [bug #44965] configure.ac: Enable C++11 support if possible
Date: Thu, 07 May 2015 20:22:03 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.2.0

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

I see this problem with GCC 4.4.7 on a CentOS 6 system when trying to build
the image package as part of an mxe-octave installation.

+verabtim+
try_install ('image-2.4.0.tar.gz')
configure: error: *** A compiler with support for C++11 language features is
required.
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=gnu++11... no
checking whether g++ supports C++11 features with -std=gnu++0x... no
checking whether g++ supports C++11 features with -std=c++11... no
checking whether g++ supports C++11 features with -std=c++0x... no


I'm building Octave and most dependencies with mxe-octave so I could just
enable building a newer compiler too, but unless that's absolutely necessary,
it seems better to me to use the system compiler.

Or, at least maybe it could fail a bit more gracefully and just disable the
functions that actually require C++11 features for which there is no
reasonable workaround.

    _______________________________________________________

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]