Advertisement
adfasdfadsfasdf

Untitled

Apr 19th, 2023
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.84 KB | None | 0 0
  1. archishmaan@Archishmaans-MBP src % git fetch origin
  2. remote: Enumerating objects: 4, done.
  3. remote: Counting objects: 100% (4/4), done.
  4. remote: Total 4 (delta 3), reused 4 (delta 3), pack-reused 0
  5. Unpacking objects: 100% (4/4), 627 bytes | 313.00 KiB/s, done.
  6. From https://github.com/lucametehau/CloverEngine
  7. 79ada3f..05c5923 mac-fix -> origin/mac-fix
  8. archishmaan@Archishmaans-MBP src % git reset --hard origin/mac-fix
  9. HEAD is now at 05c5923 again fix
  10. archishmaan@Archishmaans-MBP src % make
  11. g++ *.cpp tbprobe.c -DEVALFILE=\"weights-4buckets-epoch330.nnue\" -Wall -g -std=c++17 -O3 -lpthread -mno-avx512f -march=native -o Clover
  12. clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
  13. In file included from main.cpp:19:
  14. In file included from ./init.h:19:
  15. In file included from ./board.h:21:
  16. ./defs.h:338:8: warning: array subscript is of type 'char' [-Wchar-subscripts]
  17. cod['p'] = 1, cod['n'] = 2, cod['b'] = 3, cod['r'] = 4, cod['q'] = 5, cod['k'] = 6;
  18. ^~~~
  19. ./defs.h:338:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
  20. cod['p'] = 1, cod['n'] = 2, cod['b'] = 3, cod['r'] = 4, cod['q'] = 5, cod['k'] = 6;
  21. ^~~~
  22. ./defs.h:338:36: warning: array subscript is of type 'char' [-Wchar-subscripts]
  23. cod['p'] = 1, cod['n'] = 2, cod['b'] = 3, cod['r'] = 4, cod['q'] = 5, cod['k'] = 6;
  24. ^~~~
  25. ./defs.h:338:50: warning: array subscript is of type 'char' [-Wchar-subscripts]
  26. cod['p'] = 1, cod['n'] = 2, cod['b'] = 3, cod['r'] = 4, cod['q'] = 5, cod['k'] = 6;
  27. ^~~~
  28. ./defs.h:338:64: warning: array subscript is of type 'char' [-Wchar-subscripts]
  29. cod['p'] = 1, cod['n'] = 2, cod['b'] = 3, cod['r'] = 4, cod['q'] = 5, cod['k'] = 6;
  30. ^~~~
  31. ./defs.h:338:78: warning: array subscript is of type 'char' [-Wchar-subscripts]
  32. cod['p'] = 1, cod['n'] = 2, cod['b'] = 3, cod['r'] = 4, cod['q'] = 5, cod['k'] = 6;
  33. ^~~~
  34. ./defs.h:339:8: warning: array subscript is of type 'char' [-Wchar-subscripts]
  35. cod['P'] = 7, cod['N'] = 8, cod['B'] = 9, cod['R'] = 10, cod['Q'] = 11, cod['K'] = 12;
  36. ^~~~
  37. ./defs.h:339:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
  38. cod['P'] = 7, cod['N'] = 8, cod['B'] = 9, cod['R'] = 10, cod['Q'] = 11, cod['K'] = 12;
  39. ^~~~
  40. ./defs.h:339:36: warning: array subscript is of type 'char' [-Wchar-subscripts]
  41. cod['P'] = 7, cod['N'] = 8, cod['B'] = 9, cod['R'] = 10, cod['Q'] = 11, cod['K'] = 12;
  42. ^~~~
  43. ./defs.h:339:50: warning: array subscript is of type 'char' [-Wchar-subscripts]
  44. cod['P'] = 7, cod['N'] = 8, cod['B'] = 9, cod['R'] = 10, cod['Q'] = 11, cod['K'] = 12;
  45. ^~~~
  46. ./defs.h:339:65: warning: array subscript is of type 'char' [-Wchar-subscripts]
  47. cod['P'] = 7, cod['N'] = 8, cod['B'] = 9, cod['R'] = 10, cod['Q'] = 11, cod['K'] = 12;
  48. ^~~~
  49. ./defs.h:339:80: warning: array subscript is of type 'char' [-Wchar-subscripts]
  50. cod['P'] = 7, cod['N'] = 8, cod['B'] = 9, cod['R'] = 10, cod['Q'] = 11, cod['K'] = 12;
  51. ^~~~
  52. In file included from main.cpp:19:
  53. In file included from ./init.h:19:
  54. In file included from ./board.h:22:
  55. ./net.h:135:9: error: unknown type name '__m128i'
  56. __m128i b = _mm_add_epi32(a, _mm_srli_si128(a, 8));
  57. ^
  58. ./net.h:135:35: error: use of undeclared identifier 'a'
  59. __m128i b = _mm_add_epi32(a, _mm_srli_si128(a, 8));
  60. ^
  61. ./net.h:135:53: error: use of undeclared identifier 'a'
  62. __m128i b = _mm_add_epi32(a, _mm_srli_si128(a, 8));
  63. ^
  64. ./net.h:136:9: error: unknown type name '__m128i'
  65. __m128i c = _mm_add_epi32(b, _mm_srli_si128(b, 4));
  66. ^
  67. ./net.h:224:34: error: use of undeclared identifier 'a'
  68. acc = reg_add32(acc, reg_madd16(reg_max16(w[2 * j], zero), v[2 * j]));
  69. ^
  70. ./net.h:75:56: note: expanded from macro 'reg_madd16'
  71. #define reg_madd16 (vpaddq_s32(vmull_s16(vget_low_s16(a), vget_low_s16(b)), vmull_high_s16(a, b)))
  72. ^
  73. ./net.h:224:34: error: use of undeclared identifier 'b'
  74. ./net.h:75:73: note: expanded from macro 'reg_madd16'
  75. #define reg_madd16 (vpaddq_s32(vmull_s16(vget_low_s16(a), vget_low_s16(b)), vmull_high_s16(a, b)))
  76. ^
  77. ./net.h:224:34: error: use of undeclared identifier 'a'
  78. ./net.h:75:93: note: expanded from macro 'reg_madd16'
  79. #define reg_madd16 (vpaddq_s32(vmull_s16(vget_low_s16(a), vget_low_s16(b)), vmull_high_s16(a, b)))
  80. ^
  81. ./net.h:224:34: error: use of undeclared identifier 'b'
  82. ./net.h:75:96: note: expanded from macro 'reg_madd16'
  83. #define reg_madd16 (vpaddq_s32(vmull_s16(vget_low_s16(a), vget_low_s16(b)), vmull_high_s16(a, b)))
  84. ^
  85. ./net.h:225:36: error: use of undeclared identifier 'a'
  86. acc2 = reg_add32(acc2, reg_madd16(reg_max16(w[2 * j + 1], zero), v[2 * j + 1]));
  87. ^
  88. ./net.h:75:56: note: expanded from macro 'reg_madd16'
  89. #define reg_madd16 (vpaddq_s32(vmull_s16(vget_low_s16(a), vget_low_s16(b)), vmull_high_s16(a, b)))
  90. ^
  91. ./net.h:225:36: error: use of undeclared identifier 'b'
  92. ./net.h:75:73: note: expanded from macro 'reg_madd16'
  93. #define reg_madd16 (vpaddq_s32(vmull_s16(vget_low_s16(a), vget_low_s16(b)), vmull_high_s16(a, b)))
  94. ^
  95. ./net.h:225:36: error: use of undeclared identifier 'a'
  96. ./net.h:75:93: note: expanded from macro 'reg_madd16'
  97. #define reg_madd16 (vpaddq_s32(vmull_s16(vget_low_s16(a), vget_low_s16(b)), vmull_high_s16(a, b)))
  98. ^
  99. ./net.h:225:36: error: use of undeclared identifier 'b'
  100. ./net.h:75:96: note: expanded from macro 'reg_madd16'
  101. #define reg_madd16 (vpaddq_s32(vmull_s16(vget_low_s16(a), vget_low_s16(b)), vmull_high_s16(a, b)))
  102. ^
  103. ./net.h:231:34: error: use of undeclared identifier 'a'
  104. acc = reg_add32(acc, reg_madd16(reg_max16(w2[2 * j], zero), v[2 * j + NUM_REGS]));
  105. ^
  106. ./net.h:75:56: note: expanded from macro 'reg_madd16'
  107. #define reg_madd16 (vpaddq_s32(vmull_s16(vget_low_s16(a), vget_low_s16(b)), vmull_high_s16(a, b)))
  108. ^
  109. ./net.h:231:34: error: use of undeclared identifier 'b'
  110. ./net.h:75:73: note: expanded from macro 'reg_madd16'
  111. #define reg_madd16 (vpaddq_s32(vmull_s16(vget_low_s16(a), vget_low_s16(b)), vmull_high_s16(a, b)))
  112. ^
  113. ./net.h:231:34: error: use of undeclared identifier 'a'
  114. ./net.h:75:93: note: expanded from macro 'reg_madd16'
  115. #define reg_madd16 (vpaddq_s32(vmull_s16(vget_low_s16(a), vget_low_s16(b)), vmull_high_s16(a, b)))
  116. ^
  117. ./net.h:231:34: error: use of undeclared identifier 'b'
  118. ./net.h:75:96: note: expanded from macro 'reg_madd16'
  119. #define reg_madd16 (vpaddq_s32(vmull_s16(vget_low_s16(a), vget_low_s16(b)), vmull_high_s16(a, b)))
  120. ^
  121. ./net.h:232:36: error: use of undeclared identifier 'a'
  122. acc2 = reg_add32(acc2, reg_madd16(reg_max16(w2[2 * j + 1], zero), v[2 * j + 1 + NUM_REGS]));
  123. ^
  124. ./net.h:75:56: note: expanded from macro 'reg_madd16'
  125. #define reg_madd16 (vpaddq_s32(vmull_s16(vget_low_s16(a), vget_low_s16(b)), vmull_high_s16(a, b)))
  126. ^
  127. ./net.h:232:36: error: use of undeclared identifier 'b'
  128. ./net.h:75:73: note: expanded from macro 'reg_madd16'
  129. #define reg_madd16 (vpaddq_s32(vmull_s16(vget_low_s16(a), vget_low_s16(b)), vmull_high_s16(a, b)))
  130. ^
  131. ./net.h:232:36: error: use of undeclared identifier 'a'
  132. ./net.h:75:93: note: expanded from macro 'reg_madd16'
  133. #define reg_madd16 (vpaddq_s32(vmull_s16(vget_low_s16(a), vget_low_s16(b)), vmull_high_s16(a, b)))
  134. ^
  135. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  136. 12 warnings and 20 errors generated.
  137. In file included from tbprobe.c:138:
  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]
  139. sprintf(str, "K%cvK", pchr[i]);
  140. ^
  141. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
  142. __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.")
  143. ^
  144. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
  145. #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
  146. ^
  147. In file included from tbprobe.c:138:
  148. ./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]
  149. sprintf(str, "K%cvK%c", pchr[i], pchr[j]);
  150. ^
  151. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
  152. __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.")
  153. ^
  154. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
  155. #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
  156. ^
  157. In file included from tbprobe.c:138:
  158. ./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]
  159. sprintf(str, "K%c%cvK", pchr[i], pchr[j]);
  160. ^
  161. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
  162. __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.")
  163. ^
  164. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
  165. #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
  166. ^
  167. In file included from tbprobe.c:138:
  168. ./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]
  169. sprintf(str, "K%c%cvK%c", pchr[i], pchr[j], pchr[k]);
  170. ^
  171. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
  172. __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.")
  173. ^
  174. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
  175. #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
  176. ^
  177. In file included from tbprobe.c:138:
  178. ./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]
  179. sprintf(str, "K%c%c%cvK", pchr[i], pchr[j], pchr[k]);
  180. ^
  181. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
  182. __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.")
  183. ^
  184. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
  185. #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
  186. ^
  187. In file included from tbprobe.c:138:
  188. ./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]
  189. sprintf(str, "K%c%cvK%c%c", pchr[i], pchr[j], pchr[k], pchr[l]);
  190. ^
  191. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
  192. __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.")
  193. ^
  194. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
  195. #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
  196. ^
  197. In file included from tbprobe.c:138:
  198. ./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]
  199. sprintf(str, "K%c%c%cvK%c", pchr[i], pchr[j], pchr[k], pchr[l]);
  200. ^
  201. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
  202. __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.")
  203. ^
  204. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
  205. #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
  206. ^
  207. In file included from tbprobe.c:138:
  208. ./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]
  209. sprintf(str, "K%c%c%c%cvK", pchr[i], pchr[j], pchr[k], pchr[l]);
  210. ^
  211. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
  212. __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.")
  213. ^
  214. /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
  215. #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
  216. ^
  217. 8 warnings generated.
  218. make: *** [ob] Error 1
  219.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement