octave-maintainers
[Top][All Lists]
Advanced

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

A word about C++11 (my humble opinion)


From: Julien Bect
Subject: A word about C++11 (my humble opinion)
Date: Wed, 22 Jun 2016 11:26:48 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.1.0

Hello everyone,

Just wanted to share my disappointment: I just realized that, because of the introduction of C++11 features, the "parallel" package cannot be installed on Ubuntu 12.04 LTS.

(DISCLAIMER : I don't personally use Ubuntu 12.04 LTS, the problem happened for a colleague that has to use it.)

The reason is that Ubuntu 12.04 LTS has gcc 4.6.3, which only has a limited support for C++11 features (and apparently not the ones needed by the parallel package, I have bypassed the configure check and can confirm than compilation indeed fails).

I wouldn't call Ubuntu 12.04 LTS a *very* old release. It is certainly old in some sense, but Ubuntu 12.04 LTS was release only four years ago, Ubuntu 12.04.5 two years ago, and this distribution hasn't reached its "end of life" date...

I haven't tested, but the same can be said of Debian Wheezy (7.0), which was released in 2013 and will reach its LTS end of life in May 2018. Wheezy has gcc 4.7, with a better but still incomplete support of C++11...

I have seen messages in the mailing list suggesting that more and more C++11 feature are starting to be used in Octave itself...

Does anyone know what is currently the oldest version of gcc that can compile octave stable ? default ?

Wouldn't it be a reasonable policy to refrain from using C++11 features that are unsupported in versions of gcc that are still "in production" ?

Just my two cents.

@++
Julien


address@hidden: please don't take it personally, the parallel package is just the one that triggered theses thoughts this morning ;-)





reply via email to

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