Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use isfinite function for ARM compatibility #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alexreg
Copy link

@alexreg alexreg commented May 13, 2024

The finite function doesn't exist on ARM architectures.

admutils.c:459:9: error: call to undeclared library function 'finite' with type 'int (double)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   if (!finite(a[i])) fatalx("(testnan) fails:  index %d\n",i) ;
        ^
admutils.c:459:9: note: include the header <math.h> or explicitly provide a declaration for 'finite'
1 error generated.
make: *** [admutils.o] Error 1

@alexreg
Copy link
Author

alexreg commented May 13, 2024

A new release following this would be great too, if you wouldn't mind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant