flatsurf / e-antic

Embedded algebraic number fields
https://flatsurf.github.io/e-antic/libeantic/
GNU Lesser General Public License v3.0
12 stars 11 forks source link

2.0.0 FTBFS #268

Closed antonio-rojas closed 10 months ago

antonio-rojas commented 11 months ago

With GCC 13.2.1

renf_elem/t-get_d.cpp: In function ‘void C_A_T_C_H_T_E_S_T_0()’:
renf_elem/t-get_d.cpp:114:25: error: ‘isinf’ was not declared in this scope; did you mean ‘std::isinf’?
  114 |                 REQUIRE(isinf(floor));
      |                         ^~~~~
SnarkBoojum commented 10 months ago

Is it a problem with gcc or with boost 1.83?

antonio-rojas commented 10 months ago

It's just a missing

#include <math.h>
SnarkBoojum commented 10 months ago

I uploaded 2.0.0 to Debian just changing s/isinf/std::isinf/ for t-get_d.cpp, but you might want to release a 2.0.1 with a better fix.