MPSolve icon indicating copy to clipboard operation
MPSolve copied to clipboard

Compilation fails with clang-16: error: ISO C++17 does not allow 'register' storage class specifier

Open yurivict opened this issue 2 years ago • 0 comments

In file included from common/nroots-polynomial.cpp:11:
In file included from ../../include/mps/mps.h:66:
../../include/mps/mpc.h:114:37: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
void mpc_pow_si (mpc_t rc, mpc_t c, register signed long int i);
                                    ^~~~~~~~~

Version: 3.2.1 FreeBSD 13.2

yurivict avatar Jul 05 '23 16:07 yurivict