NLinker

Failed compilation of basil forks under MacOS

May 27th, 2021 (edited)
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 20.29 KB | None | 0 0
  1. bwapi-xi ➤ git subtree add --prefix library/3rdparty/openbw https://github.com/basil-ladder/openbw master
  2. Added 'library/3rdparty/openbw/' from commit 'f754cd5e0ab7dd5ee1c52342f0e92f0c9aca0e6f'
  3.  
  4. bwapi-xi ➤ git subtree add --prefix library/3rdparty/bwapi https://github.com/basil-ladder/bwapi develop-openbw
  5. Added 'library/3rdparty/bwapi/' from commit 'f26404dad7a1b429e9bae454c079a8ef74ab71aa'
  6.  
  7. bwapi-xi ➤ cd library/3rdparty
  8. 3rdparty ➤ mkdir build
  9. 3rdparty ➤ ll
  10. total 0
  11. drwxr-xr-x   2 nick  staff    64B May 27 17:33 build
  12. drwxr-xr-x  12 nick  staff   384B May 27 01:44 bwapi
  13. drwxr-xr-x  28 nick  staff   896B May 27 01:46 openbw
  14. 3rdparty ➤ cd build
  15.  
  16. build ➤ cmake ../bwapi -DOPENBW_DIR=../openbw -DOPENBW_ENABLE_UI=1
  17. -- The C compiler identification is AppleClang 10.0.1.10010046
  18. -- The CXX compiler identification is AppleClang 10.0.1.10010046
  19. -- Detecting C compiler ABI info
  20. -- Detecting C compiler ABI info - done
  21. -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
  22. -- Detecting C compile features
  23. -- Detecting C compile features - done
  24. -- Detecting CXX compiler ABI info
  25. -- Detecting CXX compiler ABI info - done
  26. -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
  27. -- Detecting CXX compile features
  28. -- Detecting CXX compile features - done
  29. -- Found SDL2: /usr/local/lib/libSDL2.dylib  
  30. -- Found SDL2_mixer: /usr/local/lib/libSDL2_mixer.dylib (found version "2.0.4")
  31. -- Looking for pthread.h
  32. -- Looking for pthread.h - found
  33. -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
  34. -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
  35. -- Found Threads: TRUE  
  36. -- Configuring done
  37. -- Generating done
  38. -- Build files have been written to: /Users/nick/rust/scai/bwapi-xi/library/3rdparty/build
  39.  
  40. build ➤
  41. build ➤ make
  42. [  1%] Building CXX object bwapi/OpenBWData/openbw_ui/CMakeFiles/openbw_ui.dir/sdl2.cpp.o
  43. [  2%] Linking CXX static library ../../../lib/libopenbw_ui.a
  44. [  2%] Built target openbw_ui
  45. [  3%] Building CXX object bwapi/OpenBWData/CMakeFiles/OpenBWData.dir/BW/BWData.cpp.o
  46. In file included from /Users/nick/rust/scai/bwapi-xi/library/3rdparty/bwapi/bwapi/OpenBWData/BW/BWData.cpp:8:
  47. In file included from /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/sync_server_asio_tcp.h:4:
  48. In file included from /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/sync_server_asio_socket.h:7:
  49. In file included from /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/deps/asio/asio.hpp:19:
  50. In file included from /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/deps/asio/asio/basic_datagram_socket.hpp:20:
  51. In file included from /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/deps/asio/asio/./basic_socket.hpp:20:
  52. In file included from /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/deps/asio/asio/./basic_io_object.hpp:19:
  53. In file included from /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/deps/asio/asio/detail/../io_service.hpp:765:
  54. In file included from /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/deps/asio/asio/impl/io_service.hpp:69:
  55. In file included from /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/deps/asio/asio/impl/../detail/task_io_service.hpp:194:
  56. In file included from /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/deps/asio/asio/detail/impl/task_io_service.hpp:19:
  57. In file included from /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/deps/asio/asio/detail/impl/../completion_handler.hpp:20:
  58. In file included from /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/deps/asio/asio/detail/./fenced_block.hpp:24:
  59. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/deps/asio/asio/detail/./macos_fenced_block.hpp:44:5: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use
  60.       std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
  61.     OSMemoryBarrier();
  62.     ^
  63. /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/libkern/OSAtomicDeprecated.h:749:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
  64. void    OSMemoryBarrier( void );
  65.         ^
  66. In file included from /Users/nick/rust/scai/bwapi-xi/library/3rdparty/bwapi/bwapi/OpenBWData/BW/BWData.cpp:8:
  67. In file included from /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/sync_server_asio_tcp.h:4:
  68. In file included from /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/sync_server_asio_socket.h:7:
  69. In file included from /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/deps/asio/asio.hpp:19:
  70. In file included from /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/deps/asio/asio/basic_datagram_socket.hpp:20:
  71. In file included from /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/deps/asio/asio/./basic_socket.hpp:20:
  72. In file included from /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/deps/asio/asio/./basic_io_object.hpp:19:
  73. In file included from /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/deps/asio/asio/detail/../io_service.hpp:765:
  74. In file included from /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/deps/asio/asio/impl/io_service.hpp:69:
  75. In file included from /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/deps/asio/asio/impl/../detail/task_io_service.hpp:194:
  76. In file included from /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/deps/asio/asio/detail/impl/task_io_service.hpp:19:
  77. In file included from /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/deps/asio/asio/detail/impl/../completion_handler.hpp:20:
  78. In file included from /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/deps/asio/asio/detail/./fenced_block.hpp:24:
  79. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/deps/asio/asio/detail/./macos_fenced_block.hpp:50:5: warning: 'OSMemoryBarrier' is deprecated: first deprecated in macOS 10.12 - Use
  80.       std::atomic_thread_fence() from <atomic> instead [-Wdeprecated-declarations]
  81.     OSMemoryBarrier();
  82.     ^
  83. /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/libkern/OSAtomicDeprecated.h:749:9: note: 'OSMemoryBarrier' has been explicitly marked deprecated here
  84. void    OSMemoryBarrier( void );
  85.         ^
  86. 2 warnings generated.
  87. [  4%] Linking CXX shared library ../../lib/libOpenBWData.dylib
  88. [  4%] Built target OpenBWData
  89. [  5%] Building CXX object bwapi/OpenBWData/openbw_ui/CMakeFiles/gfx.dir/dlmalloc.cc.o
  90. In file included from /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:1466:
  91. In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/stdlib.h:94:
  92. In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:128:
  93. /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/malloc/_malloc.h:42:7: error: 'free' is missing exception specification 'throw()'
  94. void     free(void *);
  95.          ^
  96. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:872:23: note: previous declaration is here
  97. DLMALLOC_EXPORT void  dlfree(void*) DLTHROW;
  98.                       ^
  99. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:826:32: note: expanded from macro 'dlfree'
  100. #define dlfree                 free
  101.                                ^
  102. In file included from /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:1466:
  103. In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/stdlib.h:94:
  104. In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:128:
  105. /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/malloc/_malloc.h:45:7: error: 'valloc' is missing exception specification 'throw()'
  106. void    *valloc(size_t) __alloc_size(1);
  107.          ^
  108. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:949:23: note: previous declaration is here
  109. DLMALLOC_EXPORT void* dlvalloc(size_t) DLTHROW;
  110.                       ^
  111. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:832:32: note: expanded from macro 'dlvalloc'
  112. #define dlvalloc               valloc
  113.                                ^
  114. In file included from /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:1466:
  115. In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/stdlib.h:94:
  116. In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:128:
  117. /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/malloc/_malloc.h:47:7: error: 'posix_memalign' is missing exception specification 'throw()'
  118. int      posix_memalign(void **__memptr, size_t __alignment, size_t __size) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_0);
  119.          ^
  120. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:942:21: note: previous declaration is here
  121. DLMALLOC_EXPORT int dlposix_memalign(void**, size_t, size_t) DLTHROW;
  122.                     ^
  123. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:829:32: note: expanded from macro 'dlposix_memalign'
  124. #define dlposix_memalign       posix_memalign
  125.                                ^
  126. In file included from /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:1492:
  127. /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/unistd.h:738:7: error: 'valloc' is missing exception specification 'throw()'
  128. void    *valloc(size_t);                        
  129.          ^
  130. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:949:23: note: previous declaration is here
  131. DLMALLOC_EXPORT void* dlvalloc(size_t) DLTHROW;
  132.                       ^
  133. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:832:32: note: expanded from macro 'dlvalloc'
  134. #define dlvalloc               valloc
  135.                                ^
  136. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:4182:33: warning: 'sbrk' is deprecated [-Wdeprecated-declarations]
  137.             char* base = (char*)CALL_MORECORE(0);
  138.                                 ^
  139. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:1710:37: note: expanded from macro 'CALL_MORECORE'
  140.         #define CALL_MORECORE(S)    MORECORE_DEFAULT(S)
  141.                                     ^
  142. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:680:26: note: expanded from macro 'MORECORE_DEFAULT'
  143. #define MORECORE_DEFAULT sbrk
  144.                          ^
  145. /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/unistd.h:585:1: note: 'sbrk' has been explicitly marked deprecated here
  146. __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED
  147. ^
  148. /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/sys/cdefs.h:176:40: note: expanded from macro '__deprecated'
  149. #define __deprecated    __attribute__((deprecated))
  150.                                        ^
  151. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:4192:35: warning: 'sbrk' is deprecated [-Wdeprecated-declarations]
  152.                     (br = (char*)(CALL_MORECORE(ssize))) == base) {
  153.                                   ^
  154. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:1710:37: note: expanded from macro 'CALL_MORECORE'
  155.         #define CALL_MORECORE(S)    MORECORE_DEFAULT(S)
  156.                                     ^
  157. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:680:26: note: expanded from macro 'MORECORE_DEFAULT'
  158. #define MORECORE_DEFAULT sbrk
  159.                          ^
  160. /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/unistd.h:585:1: note: 'sbrk' has been explicitly marked deprecated here
  161. __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED
  162. ^
  163. /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/sys/cdefs.h:176:40: note: expanded from macro '__deprecated'
  164. #define __deprecated    __attribute__((deprecated))
  165.                                        ^
  166. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:4203:31: warning: 'sbrk' is deprecated [-Wdeprecated-declarations]
  167.                 (br = (char*)(CALL_MORECORE(ssize))) == ss->_base+ss->_size) {
  168.                               ^
  169. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:1710:37: note: expanded from macro 'CALL_MORECORE'
  170.         #define CALL_MORECORE(S)    MORECORE_DEFAULT(S)
  171.                                     ^
  172. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:680:26: note: expanded from macro 'MORECORE_DEFAULT'
  173. #define MORECORE_DEFAULT sbrk
  174.                          ^
  175. /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/unistd.h:585:1: note: 'sbrk' has been explicitly marked deprecated here
  176. __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED
  177. ^
  178. /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/sys/cdefs.h:176:40: note: expanded from macro '__deprecated'
  179. #define __deprecated    __attribute__((deprecated))
  180.                                        ^
  181. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:4217:44: warning: 'sbrk' is deprecated [-Wdeprecated-declarations]
  182.                         char* end = (char*)CALL_MORECORE(esize);
  183.                                            ^
  184. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:1710:37: note: expanded from macro 'CALL_MORECORE'
  185.         #define CALL_MORECORE(S)    MORECORE_DEFAULT(S)
  186.                                     ^
  187. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:680:26: note: expanded from macro 'MORECORE_DEFAULT'
  188. #define MORECORE_DEFAULT sbrk
  189.                          ^
  190. /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/unistd.h:585:1: note: 'sbrk' has been explicitly marked deprecated here
  191. __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED
  192. ^
  193. /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/sys/cdefs.h:176:40: note: expanded from macro '__deprecated'
  194. #define __deprecated    __attribute__((deprecated))
  195.                                        ^
  196. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:4222:36: warning: 'sbrk' is deprecated [-Wdeprecated-declarations]
  197.                             (void) CALL_MORECORE(-ssize);
  198.                                    ^
  199. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:1710:37: note: expanded from macro 'CALL_MORECORE'
  200.         #define CALL_MORECORE(S)    MORECORE_DEFAULT(S)
  201.                                     ^
  202. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:680:26: note: expanded from macro 'MORECORE_DEFAULT'
  203. #define MORECORE_DEFAULT sbrk
  204.                          ^
  205. /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/unistd.h:585:1: note: 'sbrk' has been explicitly marked deprecated here
  206. __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED
  207. ^
  208. /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/sys/cdefs.h:176:40: note: expanded from macro '__deprecated'
  209. #define __deprecated    __attribute__((deprecated))
  210.                                        ^
  211. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:4256:26: warning: 'sbrk' is deprecated [-Wdeprecated-declarations]
  212.             br = (char*)(CALL_MORECORE(asize));
  213.                          ^
  214. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:1710:37: note: expanded from macro 'CALL_MORECORE'
  215.         #define CALL_MORECORE(S)    MORECORE_DEFAULT(S)
  216.                                     ^
  217. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:680:26: note: expanded from macro 'MORECORE_DEFAULT'
  218. #define MORECORE_DEFAULT sbrk
  219.                          ^
  220. /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/unistd.h:585:1: note: 'sbrk' has been explicitly marked deprecated here
  221. __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED
  222. ^
  223. /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/sys/cdefs.h:176:40: note: expanded from macro '__deprecated'
  224. #define __deprecated    __attribute__((deprecated))
  225.                                        ^
  226. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:4257:27: warning: 'sbrk' is deprecated [-Wdeprecated-declarations]
  227.             end = (char*)(CALL_MORECORE(0));
  228.                           ^
  229. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:1710:37: note: expanded from macro 'CALL_MORECORE'
  230.         #define CALL_MORECORE(S)    MORECORE_DEFAULT(S)
  231.                                     ^
  232. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:680:26: note: expanded from macro 'MORECORE_DEFAULT'
  233. #define MORECORE_DEFAULT sbrk
  234.                          ^
  235. /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/unistd.h:585:1: note: 'sbrk' has been explicitly marked deprecated here
  236. __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED
  237. ^
  238. /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/sys/cdefs.h:176:40: note: expanded from macro '__deprecated'
  239. #define __deprecated    __attribute__((deprecated))
  240.                                        ^
  241. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:4431:48: warning: 'sbrk' is deprecated [-Wdeprecated-declarations]
  242.                         char* old_br = (char*)(CALL_MORECORE(0));
  243.                                                ^
  244. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:1710:37: note: expanded from macro 'CALL_MORECORE'
  245.         #define CALL_MORECORE(S)    MORECORE_DEFAULT(S)
  246.                                     ^
  247. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:680:26: note: expanded from macro 'MORECORE_DEFAULT'
  248. #define MORECORE_DEFAULT sbrk
  249.                          ^
  250. /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/unistd.h:585:1: note: 'sbrk' has been explicitly marked deprecated here
  251. __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED
  252. ^
  253. /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/sys/cdefs.h:176:40: note: expanded from macro '__deprecated'
  254. #define __deprecated    __attribute__((deprecated))
  255.                                        ^
  256. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:4433:52: warning: 'sbrk' is deprecated [-Wdeprecated-declarations]
  257.                             char* rel_br = (char*)(CALL_MORECORE(-extra));
  258.                                                    ^
  259. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:1710:37: note: expanded from macro 'CALL_MORECORE'
  260.         #define CALL_MORECORE(S)    MORECORE_DEFAULT(S)
  261.                                     ^
  262. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:680:26: note: expanded from macro 'MORECORE_DEFAULT'
  263. #define MORECORE_DEFAULT sbrk
  264.                          ^
  265. /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/unistd.h:585:1: note: 'sbrk' has been explicitly marked deprecated here
  266. __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED
  267. ^
  268. /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/sys/cdefs.h:176:40: note: expanded from macro '__deprecated'
  269. #define __deprecated    __attribute__((deprecated))
  270.                                        ^
  271. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:4434:52: warning: 'sbrk' is deprecated [-Wdeprecated-declarations]
  272.                             char* new_br = (char*)(CALL_MORECORE(0));
  273.                                                    ^
  274. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:1710:37: note: expanded from macro 'CALL_MORECORE'
  275.         #define CALL_MORECORE(S)    MORECORE_DEFAULT(S)
  276.                                     ^
  277. /Users/nick/rust/scai/bwapi-xi/library/3rdparty/openbw/ui/dlmalloc.cc:680:26: note: expanded from macro 'MORECORE_DEFAULT'
  278. #define MORECORE_DEFAULT sbrk
  279.                          ^
  280. /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/unistd.h:585:1: note: 'sbrk' has been explicitly marked deprecated here
  281. __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED
  282. ^
  283. /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/sys/cdefs.h:176:40: note: expanded from macro '__deprecated'
  284. #define __deprecated    __attribute__((deprecated))
  285.                                        ^
  286. 10 warnings and 4 errors generated.
  287. make[2]: *** [bwapi/OpenBWData/openbw_ui/CMakeFiles/gfx.dir/dlmalloc.cc.o] Error 1
  288. make[1]: *** [bwapi/OpenBWData/openbw_ui/CMakeFiles/gfx.dir/all] Error 2
  289. make: *** [all] Error 2
  290. build ➤  
Add Comment
Please, Sign In to add comment