Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- archishmaan@Archishmaans-MBP src % git fetch origin
- remote: Enumerating objects: 5, done.
- remote: Counting objects: 100% (5/5), done.
- remote: Compressing objects: 100% (2/2), done.
- remote: Total 5 (delta 3), reused 4 (delta 3), pack-reused 0
- Unpacking objects: 100% (5/5), 1.03 KiB | 527.00 KiB/s, done.
- From https://github.com/lucametehau/CloverEngine
- 05c5923..56e9b0d mac-fix -> origin/mac-fix
- a8dd595..ca7d2bb master -> origin/master
- archishmaan@Archishmaans-MBP src % git reset --hard origin/mac-fix
- HEAD is now at 56e9b0d fix again?
- archishmaan@Archishmaans-MBP src % make
- g++ *.cpp tbprobe.c -DEVALFILE=\"weights-4buckets-epoch330.nnue\" -Wall -g -std=c++17 -O3 -lpthread -mno-avx512f -march=native -o Clover
- clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
- In file included from main.cpp:19:
- In file included from ./init.h:19:
- In file included from ./board.h:21:
- ./defs.h:338:8: warning: array subscript is of type 'char' [-Wchar-subscripts]
- cod['p'] = 1, cod['n'] = 2, cod['b'] = 3, cod['r'] = 4, cod['q'] = 5, cod['k'] = 6;
- ^~~~
- ./defs.h:338:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
- cod['p'] = 1, cod['n'] = 2, cod['b'] = 3, cod['r'] = 4, cod['q'] = 5, cod['k'] = 6;
- ^~~~
- ./defs.h:338:36: warning: array subscript is of type 'char' [-Wchar-subscripts]
- cod['p'] = 1, cod['n'] = 2, cod['b'] = 3, cod['r'] = 4, cod['q'] = 5, cod['k'] = 6;
- ^~~~
- ./defs.h:338:50: warning: array subscript is of type 'char' [-Wchar-subscripts]
- cod['p'] = 1, cod['n'] = 2, cod['b'] = 3, cod['r'] = 4, cod['q'] = 5, cod['k'] = 6;
- ^~~~
- ./defs.h:338:64: warning: array subscript is of type 'char' [-Wchar-subscripts]
- cod['p'] = 1, cod['n'] = 2, cod['b'] = 3, cod['r'] = 4, cod['q'] = 5, cod['k'] = 6;
- ^~~~
- ./defs.h:338:78: warning: array subscript is of type 'char' [-Wchar-subscripts]
- cod['p'] = 1, cod['n'] = 2, cod['b'] = 3, cod['r'] = 4, cod['q'] = 5, cod['k'] = 6;
- ^~~~
- ./defs.h:339:8: warning: array subscript is of type 'char' [-Wchar-subscripts]
- cod['P'] = 7, cod['N'] = 8, cod['B'] = 9, cod['R'] = 10, cod['Q'] = 11, cod['K'] = 12;
- ^~~~
- ./defs.h:339:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
- cod['P'] = 7, cod['N'] = 8, cod['B'] = 9, cod['R'] = 10, cod['Q'] = 11, cod['K'] = 12;
- ^~~~
- ./defs.h:339:36: warning: array subscript is of type 'char' [-Wchar-subscripts]
- cod['P'] = 7, cod['N'] = 8, cod['B'] = 9, cod['R'] = 10, cod['Q'] = 11, cod['K'] = 12;
- ^~~~
- ./defs.h:339:50: warning: array subscript is of type 'char' [-Wchar-subscripts]
- cod['P'] = 7, cod['N'] = 8, cod['B'] = 9, cod['R'] = 10, cod['Q'] = 11, cod['K'] = 12;
- ^~~~
- ./defs.h:339:65: warning: array subscript is of type 'char' [-Wchar-subscripts]
- cod['P'] = 7, cod['N'] = 8, cod['B'] = 9, cod['R'] = 10, cod['Q'] = 11, cod['K'] = 12;
- ^~~~
- ./defs.h:339:80: warning: array subscript is of type 'char' [-Wchar-subscripts]
- cod['P'] = 7, cod['N'] = 8, cod['B'] = 9, cod['R'] = 10, cod['Q'] = 11, cod['K'] = 12;
- ^~~~
- In file included from main.cpp:19:
- In file included from ./init.h:19:
- In file included from ./board.h:22:
- ./net.h:135:9: error: unknown type name '__m128i'
- __m128i b = _mm_add_epi32(a, _mm_srli_si128(a, 8));
- ^
- ./net.h:135:35: error: use of undeclared identifier 'a'
- __m128i b = _mm_add_epi32(a, _mm_srli_si128(a, 8));
- ^
- ./net.h:135:53: error: use of undeclared identifier 'a'
- __m128i b = _mm_add_epi32(a, _mm_srli_si128(a, 8));
- ^
- ./net.h:136:9: error: unknown type name '__m128i'
- __m128i c = _mm_add_epi32(b, _mm_srli_si128(b, 4));
- ^
- ./net.h:237:24: error: non-const lvalue reference to type 'int32x4_t' (vector of 4 'int32_t' values) cannot bind to a value of unrelated type 'int16x8_t' (vector of 8 'int16_t' values)
- sum += get_sum(acc);
- ^~~
- ./net.h:122:33: note: passing argument to parameter 'x' here
- int32_t get_sum(reg_type_s& x) {
- ^
- ./net.h:249:27: error: assigning to 'int16x8_t' (vector of 8 'int16_t' values) from incompatible type 'poly128_t' (aka 'unsigned __int128')
- regs[i] = reg_load(®_in[i]);
- ^~~~~~~~~~~~~~~~~~~~
- ./net.h:76:21: note: expanded from macro 'reg_load'
- #define reg_load vldrq_p128
- ^
- /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/arm_neon.h:54742:26: note: expanded from macro 'vldrq_p128'
- #define vldrq_p128(__p0) __extension__ ({ \
- ^~~~~~~~~~~~~~~~~~
- In file included from main.cpp:19:
- In file included from ./init.h:19:
- In file included from ./board.h:22:
- ./net.h:257:17: error: cannot initialize a variable of type 'poly128_t' (aka 'unsigned __int128') with an lvalue of type 'int16x8_t' (vector of 8 'int16_t' values)
- reg_save(®_out[i], regs[i]);
- ^ ~~~~~~~
- ./net.h:77:21: note: expanded from macro 'reg_save'
- #define reg_save vstrq_p128
- ^
- /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/arm_neon.h:63978:13: note: expanded from macro 'vstrq_p128'
- poly128_t __s1 = __p1; \
- ^ ~~~~
- In file included from main.cpp:19:
- In file included from ./init.h:19:
- In file included from ./board.h:22:
- ./net.h:270:27: error: assigning to 'int16x8_t' (vector of 8 'int16_t' values) from incompatible type 'poly128_t' (aka 'unsigned __int128')
- regs[i] = reg_load(®_in[i]);
- ^~~~~~~~~~~~~~~~~~~~
- ./net.h:76:21: note: expanded from macro 'reg_load'
- #define reg_load vldrq_p128
- ^
- /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/arm_neon.h:54742:26: note: expanded from macro 'vldrq_p128'
- #define vldrq_p128(__p0) __extension__ ({ \
- ^~~~~~~~~~~~~~~~~~
- In file included from main.cpp:19:
- In file included from ./init.h:19:
- In file included from ./board.h:22:
- ./net.h:281:17: error: cannot initialize a variable of type 'poly128_t' (aka 'unsigned __int128') with an lvalue of type 'int16x8_t' (vector of 8 'int16_t' values)
- reg_save(®_out[i], regs[i]);
- ^ ~~~~~~~
- ./net.h:77:21: note: expanded from macro 'reg_save'
- #define reg_save vstrq_p128
- ^
- /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/arm_neon.h:63978:13: note: expanded from macro 'vstrq_p128'
- poly128_t __s1 = __p1; \
- ^ ~~~~
- In file included from main.cpp:19:
- In file included from ./init.h:19:
- In file included from ./board.h:22:
- ./net.h:295:27: error: assigning to 'int16x8_t' (vector of 8 'int16_t' values) from incompatible type 'poly128_t' (aka 'unsigned __int128')
- regs[i] = reg_load(®_in[i]);
- ^~~~~~~~~~~~~~~~~~~~
- ./net.h:76:21: note: expanded from macro 'reg_load'
- #define reg_load vldrq_p128
- ^
- /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/arm_neon.h:54742:26: note: expanded from macro 'vldrq_p128'
- #define vldrq_p128(__p0) __extension__ ({ \
- ^~~~~~~~~~~~~~~~~~
- In file included from main.cpp:19:
- In file included from ./init.h:19:
- In file included from ./board.h:22:
- ./net.h:309:17: error: cannot initialize a variable of type 'poly128_t' (aka 'unsigned __int128') with an lvalue of type 'int16x8_t' (vector of 8 'int16_t' values)
- reg_save(®_out[i], regs[i]);
- ^ ~~~~~~~
- ./net.h:77:21: note: expanded from macro 'reg_save'
- #define reg_save vstrq_p128
- ^
- /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/arm_neon.h:63978:13: note: expanded from macro 'vstrq_p128'
- poly128_t __s1 = __p1; \
- ^ ~~~~
- In file included from main.cpp:19:
- In file included from ./init.h:19:
- In file included from ./board.h:22:
- ./net.h:324:27: error: assigning to 'int16x8_t' (vector of 8 'int16_t' values) from incompatible type 'poly128_t' (aka 'unsigned __int128')
- regs[i] = reg_load(®_in[i]);
- ^~~~~~~~~~~~~~~~~~~~
- ./net.h:76:21: note: expanded from macro 'reg_load'
- #define reg_load vldrq_p128
- ^
- /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/arm_neon.h:54742:26: note: expanded from macro 'vldrq_p128'
- #define vldrq_p128(__p0) __extension__ ({ \
- ^~~~~~~~~~~~~~~~~~
- In file included from main.cpp:19:
- In file included from ./init.h:19:
- In file included from ./board.h:22:
- ./net.h:341:17: error: cannot initialize a variable of type 'poly128_t' (aka 'unsigned __int128') with an lvalue of type 'int16x8_t' (vector of 8 'int16_t' values)
- reg_save(®_out[i], regs[i]);
- ^ ~~~~~~~
- ./net.h:77:21: note: expanded from macro 'reg_save'
- #define reg_save vstrq_p128
- ^
- /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/include/arm_neon.h:63978:13: note: expanded from macro 'vstrq_p128'
- poly128_t __s1 = __p1; \
- ^ ~~~~
- 12 warnings and 13 errors generated.
- In file included from tbprobe.c:138:
- ./tbcore.c:439:9: 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(str, "K%cvK", pchr[i]);
- ^
- /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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)))
- ^
- In file included from tbprobe.c:138:
- ./tbcore.c:446:13: 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(str, "K%cvK%c", pchr[i], pchr[j]);
- ^
- /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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)))
- ^
- In file included from tbprobe.c:138:
- ./tbcore.c:453:13: 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(str, "K%c%cvK", pchr[i], pchr[j]);
- ^
- /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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)))
- ^
- In file included from tbprobe.c:138:
- ./tbcore.c:461:17: 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(str, "K%c%cvK%c", pchr[i], pchr[j], pchr[k]);
- ^
- /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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)))
- ^
- In file included from tbprobe.c:138:
- ./tbcore.c:469:17: 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(str, "K%c%c%cvK", pchr[i], pchr[j], pchr[k]);
- ^
- /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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)))
- ^
- In file included from tbprobe.c:138:
- ./tbcore.c:478:21: 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(str, "K%c%cvK%c%c", pchr[i], pchr[j], pchr[k], pchr[l]);
- ^
- /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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)))
- ^
- In file included from tbprobe.c:138:
- ./tbcore.c:487:21: 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(str, "K%c%c%cvK%c", pchr[i], pchr[j], pchr[k], pchr[l]);
- ^
- /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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)))
- ^
- In file included from tbprobe.c:138:
- ./tbcore.c:496:21: 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(str, "K%c%c%c%cvK", pchr[i], pchr[j], pchr[k], pchr[l]);
- ^
- /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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)))
- ^
- 8 warnings generated.
- make: *** [ob] Error 1
- archishmaan@Archishmaans-MBP src %
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement