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

Cephes build warnings on Arch Linux #637

Open
girzel opened this issue Mar 23, 2023 · 0 comments
Open

Cephes build warnings on Arch Linux #637

girzel opened this issue Mar 23, 2023 · 0 comments

Comments

@girzel
Copy link

girzel commented Mar 23, 2023

Hi there,

I'm working on a project that uses Owl and Owl-Plplot. Installing the packages works fine, but if I use anything from plplot in my own code, then run dune build, I get a ≈1min slowdown, and the following warnings:

../../_opam/.opam-switch/build/owl.1.0.2-1/_build/default/src/owl/src/owl/maths/cephes_single/ivf.c:61:15: warning: type of ‘MAXNUMF’ does not match original declaration [-Wlto-type-mismatch] ../../_opam/.opam-switch/build/owl.1.0.2-1/_build/default/src/owl/src/owl/maths/cephes_single/constf.c:9:7: note: type ‘float’ should match type ‘double’ ../../_opam/.opam-switch/build/owl.1.0.2-1/_build/default/src/owl/src/owl/maths/cephes_single/constf.c:9:7: note: ‘MAXNUMF’ was previously declared here ../../_opam/.opam-switch/build/owl.1.0.2-1/_build/default/src/owl/src/owl/maths/cephes_single/constf.c:9:7: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used
The built code works just fine, but the warnings and especially the long wait are annoying.

You can see the Owl version above, I'm not sure what other information would be of use. Please let me know what else I can provide!

Thanks
Eric

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

No branches or pull requests

1 participant