Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- archishmaan@Archishmaans-MBP src % git fetch origin
- remote: Enumerating objects: 4, done.
- remote: Counting objects: 100% (4/4), done.
- remote: Total 4 (delta 3), reused 4 (delta 3), pack-reused 0
- Unpacking objects: 100% (4/4), 627 bytes | 313.00 KiB/s, done.
- From https://github.com/lucametehau/CloverEngine
- 79ada3f..05c5923 mac-fix -> origin/mac-fix
- archishmaan@Archishmaans-MBP src % git reset --hard origin/mac-fix
- HEAD is now at 05c5923 again fix
- 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:224:34: error: use of undeclared identifier 'a'
- acc = reg_add32(acc, reg_madd16(reg_max16(w[2 * j], zero), v[2 * j]));
- ^
- ./net.h:75:56: note: expanded from macro 'reg_madd16'
- #define reg_madd16 (vpaddq_s32(vmull_s16(vget_low_s16(a), vget_low_s16(b)), vmull_high_s16(a, b)))
- ^
- ./net.h:224:34: error: use of undeclared identifier 'b'
- ./net.h:75:73: note: expanded from macro 'reg_madd16'
- #define reg_madd16 (vpaddq_s32(vmull_s16(vget_low_s16(a), vget_low_s16(b)), vmull_high_s16(a, b)))
- ^
- ./net.h:224:34: error: use of undeclared identifier 'a'
- ./net.h:75:93: note: expanded from macro 'reg_madd16'
- #define reg_madd16 (vpaddq_s32(vmull_s16(vget_low_s16(a), vget_low_s16(b)), vmull_high_s16(a, b)))
- ^
- ./net.h:224:34: error: use of undeclared identifier 'b'
- ./net.h:75:96: note: expanded from macro 'reg_madd16'
- #define reg_madd16 (vpaddq_s32(vmull_s16(vget_low_s16(a), vget_low_s16(b)), vmull_high_s16(a, b)))
- ^
- ./net.h:225:36: error: use of undeclared identifier 'a'
- acc2 = reg_add32(acc2, reg_madd16(reg_max16(w[2 * j + 1], zero), v[2 * j + 1]));
- ^
- ./net.h:75:56: note: expanded from macro 'reg_madd16'
- #define reg_madd16 (vpaddq_s32(vmull_s16(vget_low_s16(a), vget_low_s16(b)), vmull_high_s16(a, b)))
- ^
- ./net.h:225:36: error: use of undeclared identifier 'b'
- ./net.h:75:73: note: expanded from macro 'reg_madd16'
- #define reg_madd16 (vpaddq_s32(vmull_s16(vget_low_s16(a), vget_low_s16(b)), vmull_high_s16(a, b)))
- ^
- ./net.h:225:36: error: use of undeclared identifier 'a'
- ./net.h:75:93: note: expanded from macro 'reg_madd16'
- #define reg_madd16 (vpaddq_s32(vmull_s16(vget_low_s16(a), vget_low_s16(b)), vmull_high_s16(a, b)))
- ^
- ./net.h:225:36: error: use of undeclared identifier 'b'
- ./net.h:75:96: note: expanded from macro 'reg_madd16'
- #define reg_madd16 (vpaddq_s32(vmull_s16(vget_low_s16(a), vget_low_s16(b)), vmull_high_s16(a, b)))
- ^
- ./net.h:231:34: error: use of undeclared identifier 'a'
- acc = reg_add32(acc, reg_madd16(reg_max16(w2[2 * j], zero), v[2 * j + NUM_REGS]));
- ^
- ./net.h:75:56: note: expanded from macro 'reg_madd16'
- #define reg_madd16 (vpaddq_s32(vmull_s16(vget_low_s16(a), vget_low_s16(b)), vmull_high_s16(a, b)))
- ^
- ./net.h:231:34: error: use of undeclared identifier 'b'
- ./net.h:75:73: note: expanded from macro 'reg_madd16'
- #define reg_madd16 (vpaddq_s32(vmull_s16(vget_low_s16(a), vget_low_s16(b)), vmull_high_s16(a, b)))
- ^
- ./net.h:231:34: error: use of undeclared identifier 'a'
- ./net.h:75:93: note: expanded from macro 'reg_madd16'
- #define reg_madd16 (vpaddq_s32(vmull_s16(vget_low_s16(a), vget_low_s16(b)), vmull_high_s16(a, b)))
- ^
- ./net.h:231:34: error: use of undeclared identifier 'b'
- ./net.h:75:96: note: expanded from macro 'reg_madd16'
- #define reg_madd16 (vpaddq_s32(vmull_s16(vget_low_s16(a), vget_low_s16(b)), vmull_high_s16(a, b)))
- ^
- ./net.h:232:36: error: use of undeclared identifier 'a'
- acc2 = reg_add32(acc2, reg_madd16(reg_max16(w2[2 * j + 1], zero), v[2 * j + 1 + NUM_REGS]));
- ^
- ./net.h:75:56: note: expanded from macro 'reg_madd16'
- #define reg_madd16 (vpaddq_s32(vmull_s16(vget_low_s16(a), vget_low_s16(b)), vmull_high_s16(a, b)))
- ^
- ./net.h:232:36: error: use of undeclared identifier 'b'
- ./net.h:75:73: note: expanded from macro 'reg_madd16'
- #define reg_madd16 (vpaddq_s32(vmull_s16(vget_low_s16(a), vget_low_s16(b)), vmull_high_s16(a, b)))
- ^
- ./net.h:232:36: error: use of undeclared identifier 'a'
- ./net.h:75:93: note: expanded from macro 'reg_madd16'
- #define reg_madd16 (vpaddq_s32(vmull_s16(vget_low_s16(a), vget_low_s16(b)), vmull_high_s16(a, b)))
- ^
- fatal error: too many errors emitted, stopping now [-ferror-limit=]
- 12 warnings and 20 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement