[MBDyn-users] MBDyn fails to build from source with GCC 11.2.0

MBDyn users list mbdyn-users at mbdyn.org
Mon Nov 8 13:31:35 CET 2021


MBDyn 1.7.3 is no longer support. Please use the latest snapshot from 
git's develop branch, as recommended in the installation notes.

Sincerely, p.

Il 08/11/21 13:19, MBDyn users list ha scritto:
> Hello,
>
> I am building MBDyn 1.7.3 from source on Debian unstable, and I run into
> the following build failure:
>
> naivewrap.h:59:27: error: ISO C++17 does not allow dynamic exception
> specifications
>     59 |         void Factor(void) throw(LinearSolver::ErrFactor);
>        |                           ^~~~~
> In file included from naivewrap.cc:47:
> naivewrap.h:59:27: error: ISO C++17 does not allow dynamic exception
> specifications
>     59 |         void Factor(void) throw(LinearSolver::ErrFactor);
>        |                           ^~~~~
> naivewrap.cc:110:1: error: ISO C++17 does not allow dynamic exception
> specifications
>    110 | throw(LinearSolver::ErrFactor)
>        | ^~~~~
>
> It seems that allow dynamic exception specifications were deprecated
> some time ago, and now their support has been removed from GCC completely.
>
> Best,
> Andrius
>

-- 
Pierangelo Masarati
Professore Ordinario di Costruzioni e Strutture Aerospaziali
Dipartimento di Scienze e Tecnologie Aerospaziali
Politecnico di Milano
https://www.dona.polimi.it/



More information about the MBDyn-users mailing list