[GRASS-dev] Errored: GRASS-GIS/grass-ci#1349 (master - 6ab9f89)

Build #1349 has errored.

30 minutes and 12 seconds

Václav Petráš

6ab9f89 Changeset →

use exception specifiers only for C++ versions older than C++11

Tested using GCC 5.2.1.

No exception specifiers (throw(…)) fail with -std=c++98 -fexceptions.
Omitting noexcept (or throw()) fails with -std=c++11 and -std=c++14.

Using __cplusplus to get C++ standard version which defines
how the definitions in the standard library look like
and using GRASS_MM_USE_EXCEPTION_SPECIFIER we then use the right ones.

This contains old fix for -fexceptions with GCC 4.7 (see #1533, r50130)
and new fix for GCC 6 where -std=gnu++14 is by default (see #2871
and Debian Bug 811886).

Works also with clang++ -std=c++14.

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@68818 15284696-431f-4ddb-bdfa-cd5b030d7da7

System message:

We are experiencing Mac build issues. Please see http://stspg.io/2W7w for updates. Mac builds at the top of your build queue prevents Linux builds from running.

Want to know about upcoming build environment updates?

Would you like to stay up-to-date with the upcoming Travis CI build environment updates? We set up a mailing list for you! Sign up here.

Documentation about Travis CI
For help please join our IRC channel irc.freenode.net#travis.
Choose who receives these build notification emails in your configuration file.

Would you like to test your private code?

Travis CI for Private Projects could be your new best friend!