2
I'm compiling on mac, and I get this error:
unsigned char *SHA256(const unsigned char *d, size_t n,unsigned char *md) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
Why does this happen, and how do I fix it?
2
I'm compiling on mac, and I get this error:
unsigned char *SHA256(const unsigned char *d, size_t n,unsigned char *md) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
Why does this happen, and how do I fix it?
1
In Mac OS X 10.7, Apple wants you to use their own crypto library instead of OpenSSL. This is pretty unlikely to ever be done by the bitcoin devs, so here's how to turn the warning off:
Edit your ./configure file, and add this to CXX_FLAGS
-Wno-deprecated-declarations
I don't actually own a mac; could someone try this and see if I got something wrong?
Only in 10.7? Then you're out of luck (with me). Only 10.6 and 10.9 here. – Mathias711 – 2014-09-13T16:13:02.433