yallop / ocaml-ctypes

Library for binding to C libraries using pure OCaml
MIT License
369 stars 95 forks source link

Eliminate uses of <complex.h> on Android. #579

Closed yallop closed 5 years ago

yallop commented 6 years ago

Closes #271. Closes #554.

yallop commented 6 years ago

@whitequark: would you like to take a look at this?

whitequark commented 6 years ago

LGTM. _Complex is in C11. I don't recall why I did not use this... maybe for C11-nonconforming implementations?

yallop commented 5 years ago

The Travis build is reporting some new errors, which appear unrelated:

# arm-linux-androideabi-gcc: error: unrecognized command line option '-m64'
# arm-linux-androideabi-gcc: error: unrecognized command line option '-mno-red-zone'

I'm going to merge this and open a new issue for those.