Replies: 1 comment
-
Sorry I don't do support for Mac |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
thi is problem:
keyhunt % make legacy
g++ -march=native -mtune=native -Wall -Wextra -Ofast -ftree-vectorize -flto -c oldbloom/bloom.cpp -o oldbloom.o
g++ -march=native -mtune=native -Wall -Wextra -Ofast -ftree-vectorize -flto -c bloom/bloom.cpp -o bloom.o
gcc -march=native -mtune=native -Wno-unused-result -Ofast -ftree-vectorize -c base58/base58.c -o base58.o
gcc -march=native -mtune=native -Wall -Wextra -Ofast -ftree-vectorize -c xxhash/xxhash.c -o xxhash.o
g++ -march=native -mtune=native -Wall -Wextra -Ofast -ftree-vectorize -c util.c -o util.o
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
util.c:104:2: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf((char*) (buffer + offset),"%.2x",c);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) attribute((deprecated(_msg)))
^
util.c:116:2: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf((char*) (dst + offset),"%.2x",c);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) attribute((deprecated(_msg)))
^
2 warnings generated.
g++ -march=native -mtune=native -Wall -Wextra -Ofast -ftree-vectorize -c sha3/sha3.c -o sha3.o
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
g++ -march=native -mtune=native -Wall -Wextra -Ofast -ftree-vectorize -c sha3/keccak.c -o keccak.o
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
sha3/keccak.c:59:2: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
FOR5(y, {
^~~~~~~~~
sha3/keccak.c:37:11: note: expanded from macro 'FOR5'
(X) = 0; (STMT);
^
sha3/keccak.c:59:10: note: '{' token is here
FOR5(y, {
^
sha3/keccak.c:37:12: note: expanded from macro 'FOR5'
(X) = 0; (STMT);
^~~~
sha3/keccak.c:65:2: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
});
^
sha3/keccak.c:37:12: note: expanded from macro 'FOR5'
(X) = 0; (STMT);
^~~~
sha3/keccak.c:59:2: note: ')' token is here
FOR5(y, {
^~~~~~~~~
sha3/keccak.c:37:16: note: expanded from macro 'FOR5'
(X) = 0; (STMT);
^
sha3/keccak.c:59:2: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
FOR5(y, {
^~~~~~~~~
sha3/keccak.c:38:11: note: expanded from macro 'FOR5'
(X) = 1; (STMT);
^
sha3/keccak.c:59:10: note: '{' token is here
FOR5(y, {
^
sha3/keccak.c:38:12: note: expanded from macro 'FOR5'
(X) = 1; (STMT);
^~~~
sha3/keccak.c:65:2: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
});
^
sha3/keccak.c:38:12: note: expanded from macro 'FOR5'
(X) = 1; (STMT);
^~~~
sha3/keccak.c:59:2: note: ')' token is here
FOR5(y, {
^~~~~~~~~
sha3/keccak.c:38:16: note: expanded from macro 'FOR5'
(X) = 1; (STMT);
^
sha3/keccak.c:59:2: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
FOR5(y, {
^~~~~~~~~
sha3/keccak.c:39:11: note: expanded from macro 'FOR5'
(X) = 2; (STMT);
^
sha3/keccak.c:59:10: note: '{' token is here
FOR5(y, {
^
sha3/keccak.c:39:12: note: expanded from macro 'FOR5'
(X) = 2; (STMT);
^~~~
sha3/keccak.c:65:2: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
});
^
sha3/keccak.c:39:12: note: expanded from macro 'FOR5'
(X) = 2; (STMT);
^~~~
sha3/keccak.c:59:2: note: ')' token is here
FOR5(y, {
^~~~~~~~~
sha3/keccak.c:39:16: note: expanded from macro 'FOR5'
(X) = 2; (STMT);
^
sha3/keccak.c:59:2: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
FOR5(y, {
^~~~~~~~~
sha3/keccak.c:40:11: note: expanded from macro 'FOR5'
(X) = 3; (STMT);
^
sha3/keccak.c:59:10: note: '{' token is here
FOR5(y, {
^
sha3/keccak.c:40:12: note: expanded from macro 'FOR5'
(X) = 3; (STMT);
^~~~
sha3/keccak.c:65:2: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
});
^
sha3/keccak.c:40:12: note: expanded from macro 'FOR5'
(X) = 3; (STMT);
^~~~
sha3/keccak.c:59:2: note: ')' token is here
FOR5(y, {
^~~~~~~~~
sha3/keccak.c:40:16: note: expanded from macro 'FOR5'
(X) = 3; (STMT);
^
sha3/keccak.c:59:2: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
FOR5(y, {
^~~~~~~~~
sha3/keccak.c:41:11: note: expanded from macro 'FOR5'
(X) = 4; (STMT);
^
sha3/keccak.c:59:10: note: '{' token is here
FOR5(y, {
^
sha3/keccak.c:41:12: note: expanded from macro 'FOR5'
(X) = 4; (STMT);
^~~~
sha3/keccak.c:65:2: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
});
^
sha3/keccak.c:41:12: note: expanded from macro 'FOR5'
(X) = 4; (STMT);
^~~~
sha3/keccak.c:59:2: note: ')' token is here
FOR5(y, {
^~~~~~~~~
sha3/keccak.c:41:16: note: expanded from macro 'FOR5'
(X) = 4; (STMT);
^
sha3/keccak.c:66:2: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
FOR5(y, {
^~~~~~~~~
sha3/keccak.c:37:11: note: expanded from macro 'FOR5'
(X) = 0; (STMT);
^
sha3/keccak.c:66:10: note: '{' token is here
FOR5(y, {
^
sha3/keccak.c:37:12: note: expanded from macro 'FOR5'
(X) = 0; (STMT);
^~~~
sha3/keccak.c:72:2: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
});
^
sha3/keccak.c:37:12: note: expanded from macro 'FOR5'
(X) = 0; (STMT);
^~~~
sha3/keccak.c:66:2: note: ')' token is here
FOR5(y, {
^~~~~~~~~
sha3/keccak.c:37:16: note: expanded from macro 'FOR5'
(X) = 0; (STMT);
^
sha3/keccak.c:66:2: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
FOR5(y, {
^~~~~~~~~
sha3/keccak.c:38:11: note: expanded from macro 'FOR5'
(X) = 1; (STMT);
^
sha3/keccak.c:66:10: note: '{' token is here
FOR5(y, {
^
sha3/keccak.c:38:12: note: expanded from macro 'FOR5'
(X) = 1; (STMT);
^~~~
sha3/keccak.c:72:2: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
});
^
sha3/keccak.c:38:12: note: expanded from macro 'FOR5'
(X) = 1; (STMT);
^~~~
sha3/keccak.c:66:2: note: ')' token is here
FOR5(y, {
^~~~~~~~~
sha3/keccak.c:38:16: note: expanded from macro 'FOR5'
(X) = 1; (STMT);
^
sha3/keccak.c:66:2: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
FOR5(y, {
^~~~~~~~~
sha3/keccak.c:39:11: note: expanded from macro 'FOR5'
(X) = 2; (STMT);
^
sha3/keccak.c:66:10: note: '{' token is here
FOR5(y, {
^
sha3/keccak.c:39:12: note: expanded from macro 'FOR5'
(X) = 2; (STMT);
^~~~
sha3/keccak.c:72:2: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
});
^
sha3/keccak.c:39:12: note: expanded from macro 'FOR5'
(X) = 2; (STMT);
^~~~
sha3/keccak.c:66:2: note: ')' token is here
FOR5(y, {
^~~~~~~~~
sha3/keccak.c:39:16: note: expanded from macro 'FOR5'
(X) = 2; (STMT);
^
sha3/keccak.c:66:2: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
FOR5(y, {
^~~~~~~~~
sha3/keccak.c:40:11: note: expanded from macro 'FOR5'
(X) = 3; (STMT);
^
sha3/keccak.c:66:10: note: '{' token is here
FOR5(y, {
^
sha3/keccak.c:40:12: note: expanded from macro 'FOR5'
(X) = 3; (STMT);
^~~~
sha3/keccak.c:72:2: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
});
^
sha3/keccak.c:40:12: note: expanded from macro 'FOR5'
(X) = 3; (STMT);
^~~~
sha3/keccak.c:66:2: note: ')' token is here
FOR5(y, {
^~~~~~~~~
sha3/keccak.c:40:16: note: expanded from macro 'FOR5'
(X) = 3; (STMT);
^
sha3/keccak.c:66:2: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
FOR5(y, {
^~~~~~~~~
sha3/keccak.c:41:11: note: expanded from macro 'FOR5'
(X) = 4; (STMT);
^
sha3/keccak.c:66:10: note: '{' token is here
FOR5(y, {
^
sha3/keccak.c:41:12: note: expanded from macro 'FOR5'
(X) = 4; (STMT);
^~~~
sha3/keccak.c:72:2: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
});
^
sha3/keccak.c:41:12: note: expanded from macro 'FOR5'
(X) = 4; (STMT);
^~~~
sha3/keccak.c:66:2: note: ')' token is here
FOR5(y, {
^~~~~~~~~
sha3/keccak.c:41:16: note: expanded from macro 'FOR5'
(X) = 4; (STMT);
^
sha3/keccak.c:73:24: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
#pragma GCC diagnostic pop
^
sha3/keccak.c:119:2: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
FOR5(y, {
^~~~~~~~~
sha3/keccak.c:37:11: note: expanded from macro 'FOR5'
(X) = 0; (STMT);
^
sha3/keccak.c:119:10: note: '{' token is here
FOR5(y, {
^
sha3/keccak.c:37:12: note: expanded from macro 'FOR5'
(X) = 0; (STMT);
^~~~
sha3/keccak.c:130:2: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
});
^
sha3/keccak.c:37:12: note: expanded from macro 'FOR5'
(X) = 0; (STMT);
^~~~
sha3/keccak.c:119:2: note: ')' token is here
FOR5(y, {
^~~~~~~~~
sha3/keccak.c:37:16: note: expanded from macro 'FOR5'
(X) = 0; (STMT);
^
sha3/keccak.c:119:2: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
FOR5(y, {
^~~~~~~~~
sha3/keccak.c:38:11: note: expanded from macro 'FOR5'
(X) = 1; (STMT);
^
sha3/keccak.c:119:10: note: '{' token is here
FOR5(y, {
^
sha3/keccak.c:38:12: note: expanded from macro 'FOR5'
(X) = 1; (STMT);
^~~~
sha3/keccak.c:130:2: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
});
^
sha3/keccak.c:38:12: note: expanded from macro 'FOR5'
(X) = 1; (STMT);
^~~~
sha3/keccak.c:119:2: note: ')' token is here
FOR5(y, {
^~~~~~~~~
sha3/keccak.c:38:16: note: expanded from macro 'FOR5'
(X) = 1; (STMT);
^
sha3/keccak.c:119:2: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
FOR5(y, {
^~~~~~~~~
sha3/keccak.c:39:11: note: expanded from macro 'FOR5'
(X) = 2; (STMT);
^
sha3/keccak.c:119:10: note: '{' token is here
FOR5(y, {
^
sha3/keccak.c:39:12: note: expanded from macro 'FOR5'
(X) = 2; (STMT);
^~~~
sha3/keccak.c:130:2: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
});
^
sha3/keccak.c:39:12: note: expanded from macro 'FOR5'
(X) = 2; (STMT);
^~~~
sha3/keccak.c:119:2: note: ')' token is here
FOR5(y, {
^~~~~~~~~
sha3/keccak.c:39:16: note: expanded from macro 'FOR5'
(X) = 2; (STMT);
^
sha3/keccak.c:119:2: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
FOR5(y, {
^~~~~~~~~
sha3/keccak.c:40:11: note: expanded from macro 'FOR5'
(X) = 3; (STMT);
^
sha3/keccak.c:119:10: note: '{' token is here
FOR5(y, {
^
sha3/keccak.c:40:12: note: expanded from macro 'FOR5'
(X) = 3; (STMT);
^~~~
sha3/keccak.c:130:2: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
});
^
sha3/keccak.c:40:12: note: expanded from macro 'FOR5'
(X) = 3; (STMT);
^~~~
sha3/keccak.c:119:2: note: ')' token is here
FOR5(y, {
^~~~~~~~~
sha3/keccak.c:40:16: note: expanded from macro 'FOR5'
(X) = 3; (STMT);
^
sha3/keccak.c:119:2: warning: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
FOR5(y, {
^~~~~~~~~
sha3/keccak.c:41:11: note: expanded from macro 'FOR5'
(X) = 4; (STMT);
^
sha3/keccak.c:119:10: note: '{' token is here
FOR5(y, {
^
sha3/keccak.c:41:12: note: expanded from macro 'FOR5'
(X) = 4; (STMT);
^~~~
sha3/keccak.c:130:2: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]
});
^
sha3/keccak.c:41:12: note: expanded from macro 'FOR5'
(X) = 4; (STMT);
^~~~
sha3/keccak.c:119:2: note: ')' token is here
FOR5(y, {
^~~~~~~~~
sha3/keccak.c:41:16: note: expanded from macro 'FOR5'
(X) = 4; (STMT);
^
sha3/keccak.c:131:24: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
#pragma GCC diagnostic pop
^
32 warnings generated.
g++ -march=native -mtune=native -Wall -Wextra -Ofast -ftree-vectorize -c hashing.c -o hashing.o
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
hashing.c:11:9: warning: 'SHA256_Init' is deprecated [-Wdeprecated-declarations]
if (SHA256_Init(&ctx) != 1) {
^
/usr/local/include/openssl/sha.h:73:1: note: 'SHA256_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
^
/usr/local/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
define OSSL_DEPRECATED(since) attribute((deprecated))
hashing.c:15:9: warning: 'SHA256_Update' is deprecated [-Wdeprecated-declarations]
if (SHA256_Update(&ctx, data, length) != 1) {
^
/usr/local/include/openssl/sha.h:74:1: note: 'SHA256_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
^
/usr/local/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
define OSSL_DEPRECATED(since) attribute((deprecated))
hashing.c:19:9: warning: 'SHA256_Final' is deprecated [-Wdeprecated-declarations]
if (SHA256_Final(digest, &ctx) != 1) {
^
/usr/local/include/openssl/sha.h:76:1: note: 'SHA256_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
^
/usr/local/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
define OSSL_DEPRECATED(since) attribute((deprecated))
hashing.c:32:9: warning: 'SHA256_Init' is deprecated [-Wdeprecated-declarations]
if (SHA256_Init(&ctx[0]) != 1 || SHA256_Init(&ctx[1]) != 1 ||
^
/usr/local/include/openssl/sha.h:73:1: note: 'SHA256_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
^
/usr/local/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
define OSSL_DEPRECATED(since) attribute((deprecated))
hashing.c:32:38: warning: 'SHA256_Init' is deprecated [-Wdeprecated-declarations]
if (SHA256_Init(&ctx[0]) != 1 || SHA256_Init(&ctx[1]) != 1 ||
^
/usr/local/include/openssl/sha.h:73:1: note: 'SHA256_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
^
/usr/local/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
define OSSL_DEPRECATED(since) attribute((deprecated))
hashing.c:33:9: warning: 'SHA256_Init' is deprecated [-Wdeprecated-declarations]
SHA256_Init(&ctx[2]) != 1 || SHA256_Init(&ctx[3]) != 1) {
^
/usr/local/include/openssl/sha.h:73:1: note: 'SHA256_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
^
/usr/local/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
define OSSL_DEPRECATED(since) attribute((deprecated))
hashing.c:33:38: warning: 'SHA256_Init' is deprecated [-Wdeprecated-declarations]
SHA256_Init(&ctx[2]) != 1 || SHA256_Init(&ctx[3]) != 1) {
^
/usr/local/include/openssl/sha.h:73:1: note: 'SHA256_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
^
/usr/local/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
define OSSL_DEPRECATED(since) attribute((deprecated))
hashing.c:38:9: warning: 'SHA256_Update' is deprecated [-Wdeprecated-declarations]
if (SHA256_Update(&ctx[0], data0, length) != 1 ||
^
/usr/local/include/openssl/sha.h:74:1: note: 'SHA256_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
^
/usr/local/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
define OSSL_DEPRECATED(since) attribute((deprecated))
hashing.c:39:9: warning: 'SHA256_Update' is deprecated [-Wdeprecated-declarations]
SHA256_Update(&ctx[1], data1, length) != 1 ||
^
/usr/local/include/openssl/sha.h:74:1: note: 'SHA256_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
^
/usr/local/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
define OSSL_DEPRECATED(since) attribute((deprecated))
hashing.c:40:9: warning: 'SHA256_Update' is deprecated [-Wdeprecated-declarations]
SHA256_Update(&ctx[2], data2, length) != 1 ||
^
/usr/local/include/openssl/sha.h:74:1: note: 'SHA256_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
^
/usr/local/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
define OSSL_DEPRECATED(since) attribute((deprecated))
hashing.c:41:9: warning: 'SHA256_Update' is deprecated [-Wdeprecated-declarations]
SHA256_Update(&ctx[3], data3, length) != 1) {
^
/usr/local/include/openssl/sha.h:74:1: note: 'SHA256_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
^
/usr/local/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
define OSSL_DEPRECATED(since) attribute((deprecated))
hashing.c:46:9: warning: 'SHA256_Final' is deprecated [-Wdeprecated-declarations]
if (SHA256_Final(digest0, &ctx[0]) != 1 ||
^
/usr/local/include/openssl/sha.h:76:1: note: 'SHA256_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
^
/usr/local/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
define OSSL_DEPRECATED(since) attribute((deprecated))
hashing.c:47:9: warning: 'SHA256_Final' is deprecated [-Wdeprecated-declarations]
SHA256_Final(digest1, &ctx[1]) != 1 ||
^
/usr/local/include/openssl/sha.h:76:1: note: 'SHA256_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
^
/usr/local/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
define OSSL_DEPRECATED(since) attribute((deprecated))
hashing.c:48:9: warning: 'SHA256_Final' is deprecated [-Wdeprecated-declarations]
SHA256_Final(digest2, &ctx[2]) != 1 ||
^
/usr/local/include/openssl/sha.h:76:1: note: 'SHA256_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
^
/usr/local/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
define OSSL_DEPRECATED(since) attribute((deprecated))
hashing.c:49:9: warning: 'SHA256_Final' is deprecated [-Wdeprecated-declarations]
SHA256_Final(digest3, &ctx[3]) != 1) {
^
/usr/local/include/openssl/sha.h:76:1: note: 'SHA256_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
^
/usr/local/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
define OSSL_DEPRECATED(since) attribute((deprecated))
hashing.c:70:9: warning: 'RIPEMD160_Init' is deprecated [-Wdeprecated-declarations]
if (RIPEMD160_Init(&ctx) != 1) {
^
/usr/local/include/openssl/ripemd.h:45:1: note: 'RIPEMD160_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int RIPEMD160_Init(RIPEMD160_CTX *c);
^
/usr/local/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
define OSSL_DEPRECATED(since) attribute((deprecated))
hashing.c:74:9: warning: 'RIPEMD160_Update' is deprecated [-Wdeprecated-declarations]
if (RIPEMD160_Update(&ctx, data, length) != 1) {
^
/usr/local/include/openssl/ripemd.h:46:1: note: 'RIPEMD160_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int RIPEMD160_Update(RIPEMD160_CTX *c, const void *data,
^
/usr/local/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
define OSSL_DEPRECATED(since) attribute((deprecated))
hashing.c:78:9: warning: 'RIPEMD160_Final' is deprecated [-Wdeprecated-declarations]
if (RIPEMD160_Final(digest, &ctx) != 1) {
^
/usr/local/include/openssl/ripemd.h:48:1: note: 'RIPEMD160_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c);
^
/usr/local/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
define OSSL_DEPRECATED(since) attribute((deprecated))
hashing.c:91:9: warning: 'RIPEMD160_Init' is deprecated [-Wdeprecated-declarations]
if (RIPEMD160_Init(&ctx[0]) != 1 || RIPEMD160_Init(&ctx[1]) != 1 ||
^
/usr/local/include/openssl/ripemd.h:45:1: note: 'RIPEMD160_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int RIPEMD160_Init(RIPEMD160_CTX *c);
^
/usr/local/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
define OSSL_DEPRECATED(since) attribute((deprecated))
hashing.c:91:41: warning: 'RIPEMD160_Init' is deprecated [-Wdeprecated-declarations]
if (RIPEMD160_Init(&ctx[0]) != 1 || RIPEMD160_Init(&ctx[1]) != 1 ||
^
/usr/local/include/openssl/ripemd.h:45:1: note: 'RIPEMD160_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int RIPEMD160_Init(RIPEMD160_CTX *c);
^
/usr/local/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
define OSSL_DEPRECATED(since) attribute((deprecated))
hashing.c:92:9: warning: 'RIPEMD160_Init' is deprecated [-Wdeprecated-declarations]
RIPEMD160_Init(&ctx[2]) != 1 || RIPEMD160_Init(&ctx[3]) != 1) {
^
/usr/local/include/openssl/ripemd.h:45:1: note: 'RIPEMD160_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int RIPEMD160_Init(RIPEMD160_CTX *c);
^
/usr/local/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
define OSSL_DEPRECATED(since) attribute((deprecated))
hashing.c:92:41: warning: 'RIPEMD160_Init' is deprecated [-Wdeprecated-declarations]
RIPEMD160_Init(&ctx[2]) != 1 || RIPEMD160_Init(&ctx[3]) != 1) {
^
/usr/local/include/openssl/ripemd.h:45:1: note: 'RIPEMD160_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int RIPEMD160_Init(RIPEMD160_CTX *c);
^
/usr/local/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
define OSSL_DEPRECATED(since) attribute((deprecated))
hashing.c:97:9: warning: 'RIPEMD160_Update' is deprecated [-Wdeprecated-declarations]
if (RIPEMD160_Update(&ctx[0], data0, length) != 1 ||
^
/usr/local/include/openssl/ripemd.h:46:1: note: 'RIPEMD160_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int RIPEMD160_Update(RIPEMD160_CTX *c, const void *data,
^
/usr/local/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
define OSSL_DEPRECATED(since) attribute((deprecated))
hashing.c:98:9: warning: 'RIPEMD160_Update' is deprecated [-Wdeprecated-declarations]
RIPEMD160_Update(&ctx[1], data1, length) != 1 ||
^
/usr/local/include/openssl/ripemd.h:46:1: note: 'RIPEMD160_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int RIPEMD160_Update(RIPEMD160_CTX *c, const void *data,
^
/usr/local/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
define OSSL_DEPRECATED(since) attribute((deprecated))
hashing.c:99:9: warning: 'RIPEMD160_Update' is deprecated [-Wdeprecated-declarations]
RIPEMD160_Update(&ctx[2], data2, length) != 1 ||
^
/usr/local/include/openssl/ripemd.h:46:1: note: 'RIPEMD160_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int RIPEMD160_Update(RIPEMD160_CTX *c, const void *data,
^
/usr/local/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
define OSSL_DEPRECATED(since) attribute((deprecated))
hashing.c:100:9: warning: 'RIPEMD160_Update' is deprecated [-Wdeprecated-declarations]
RIPEMD160_Update(&ctx[3], data3, length) != 1) {
^
/usr/local/include/openssl/ripemd.h:46:1: note: 'RIPEMD160_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int RIPEMD160_Update(RIPEMD160_CTX *c, const void *data,
^
/usr/local/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
define OSSL_DEPRECATED(since) attribute((deprecated))
hashing.c:105:9: warning: 'RIPEMD160_Final' is deprecated [-Wdeprecated-declarations]
if (RIPEMD160_Final(digest0, &ctx[0]) != 1 ||
^
/usr/local/include/openssl/ripemd.h:48:1: note: 'RIPEMD160_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c);
^
/usr/local/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
define OSSL_DEPRECATED(since) attribute((deprecated))
hashing.c:106:9: warning: 'RIPEMD160_Final' is deprecated [-Wdeprecated-declarations]
RIPEMD160_Final(digest1, &ctx[1]) != 1 ||
^
/usr/local/include/openssl/ripemd.h:48:1: note: 'RIPEMD160_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c);
^
/usr/local/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
define OSSL_DEPRECATED(since) attribute((deprecated))
hashing.c:107:9: warning: 'RIPEMD160_Final' is deprecated [-Wdeprecated-declarations]
RIPEMD160_Final(digest2, &ctx[2]) != 1 ||
^
/usr/local/include/openssl/ripemd.h:48:1: note: 'RIPEMD160_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c);
^
/usr/local/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
define OSSL_DEPRECATED(since) attribute((deprecated))
hashing.c:108:9: warning: 'RIPEMD160_Final' is deprecated [-Wdeprecated-declarations]
RIPEMD160_Final(digest3, &ctx[3]) != 1) {
^
/usr/local/include/openssl/ripemd.h:48:1: note: 'RIPEMD160_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c);
^
/usr/local/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
define OSSL_DEPRECATED(since) attribute((deprecated))
hashing.c:127:9: warning: 'SHA256_Init' is deprecated [-Wdeprecated-declarations]
if (SHA256_Init(&ctx) != 1) {
^
/usr/local/include/openssl/sha.h:73:1: note: 'SHA256_Init' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
^
/usr/local/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
define OSSL_DEPRECATED(since) attribute((deprecated))
hashing.c:134:13: warning: 'SHA256_Update' is deprecated [-Wdeprecated-declarations]
if (SHA256_Update(&ctx, buffer, bytes_read) != 1) {
^
/usr/local/include/openssl/sha.h:74:1: note: 'SHA256_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
^
/usr/local/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
define OSSL_DEPRECATED(since) attribute((deprecated))
hashing.c:141:9: warning: 'SHA256_Final' is deprecated [-Wdeprecated-declarations]
if (SHA256_Final(digest, &ctx) != 1) {
^
/usr/local/include/openssl/sha.h:76:1: note: 'SHA256_Final' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
^
/usr/local/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
/usr/local/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
define OSSL_DEPRECATED(since) attribute((deprecated))
33 warnings generated.
g++ -march=native -mtune=native -Wall -Wextra -Ofast -ftree-vectorize -c gmp256k1/Int.cpp -o Int.o
In file included from gmp256k1/Int.cpp:20:
gmp256k1/Int.h:32:9: fatal error: 'gmp.h' file not found
#include<gmp.h>
^~~~~~~
1 error generated.
make: *** [legacy] Error 1
Beta Was this translation helpful? Give feedback.
All reactions