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

Bug invoked during RST installation on macOS (Ventura 13.2.1) #571

Open
hjli1 opened this issue May 27, 2023 · 0 comments
Open

Bug invoked during RST installation on macOS (Ventura 13.2.1) #571

hjli1 opened this issue May 27, 2023 · 0 comments

Comments

@hjli1
Copy link

hjli1 commented May 27, 2023

A bug invoked in process of make.code when aacgm module are compiled:
"
make.version /Users/huijunli/Tools/Python/rst/codebase/analysis/src.lib/aacgm/aacgm.1.15/src/..
make.hdr /Users/huijunli/Tools/Python/rst/codebase/analysis/src.lib/aacgm/aacgm.1.15/src/../include /Users/huijunli/Tools/Python/rst/include/analysis
/Users/huijunli/Tools/Python/rst/codebase/analysis/src.lib/aacgm/aacgm.1.15/src/../include/aacgm.h
/Users/huijunli/Tools/Python/rst/codebase/analysis/src.lib/aacgm/aacgm.1.15/src/../include/aacgm.h -> /Users/huijunli/Tools/Python/rst/include/analysis/aacgm.h
cc -Wall -pedantic -O3 -D_GNU_SOURCE -D_DARWIN -I/opt/local/include -I/Users/huijunli/Tools/Python/rst/include/base -I/Users/huijunli/Tools/Python/rst/include/general -c math.c
math.c:45:33: error: implicitly declaring library function 'floor' with type 'double (double)' [-Werror,-Wimplicit-function-declaration]
if (quotient >= 0) quotient = floor(quotient);
^
math.c:45:33: note: include the header <math.h> or explicitly provide a declaration for 'floor'
"

What's wrong with it?

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

No branches or pull requests

2 participants