swift-everywhere-toolchain icon indicating copy to clipboard operation
swift-everywhere-toolchain copied to clipboard

CMath build errors

Open johnburkey opened this issue 2 years ago • 1 comments

/usr/local/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1/cmath:317:9: error: no member named 'signbit' in the global namespace; did you mean 'sigwait'? using ::signbit; ~~^ /usr/local/ndk/21.4.7075529/sysroot/usr/include/signal.h:129:5: note: 'sigwait' declared here int sigwait(const sigset_t* __set, int* __signal);

I forget, how do we solve these when building with the toolchain.

johnburkey avatar Jan 27 '22 15:01 johnburkey

Looks like the issue due the order of included headers (in header search paths).

vgorloff avatar Jan 28 '22 09:01 vgorloff