Advertisement
jxsl13

Untitled

Jul 30th, 2015
417
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 44.17 KB | None | 0 0
  1. Last login: Thu Jul 30 16:40:54 on ttys000
  2. Johns-MBP:~ john$ ls
  3. Adore - Jasmine Thompson.mp3 Movies
  4. AndroidStudioProjects Music
  5. Applications NetBeansProjects
  6. Desktop Pictures
  7. Documents Public
  8. Downloads Twonky Library.twonky
  9. Dropbox VirtualBox VMs
  10. Google Drive Workspace
  11. IdeaProjects bin
  12. Library dogecoin.dat
  13. MEGA pebble-dev
  14. MEGA-MASTERKEY.txt test_brain
  15. Johns-MBP:~ john$ cd Workspace/
  16. Johns-MBP:Workspace john$ ls
  17. Goreworlds Java Library zcatch
  18. HClient MyPlayground.playground
  19. HClient-master bam
  20. Johns-MBP:Workspace john$ cd Goreworlds/
  21. Johns-MBP:Goreworlds john$ ls
  22. BuildTeeworlds.bat data readme.txt
  23. bam.lua datasrc scripts
  24. circle.yml license.txt src
  25. configure.lua other storage.cfg
  26. Johns-MBP:Goreworlds john$ ../bam/bam release
  27. auto configuration
  28.  
  29. configuration:
  30. AUTO compiler gcc
  31. AUTO stackprotector yes
  32. AUTO minmacosxsdk no
  33. AUTO macosxppc no
  34. AUTO zlib (in system path)
  35. AUTO sdl using osx framework
  36. AUTO freetype using freetype-config
  37.  
  38. notes:
  39. saved configuration to 'config.lua'
  40.  
  41. [ 1/327] [1] network_header > src/game/generated/protocol.h
  42. [ 2/327] [2] client_content_header > src/game/generated/client_data.h
  43. [ 3/327] [3] server_content_header > src/game/generated/server_data.h
  44. [ 4/327] [4] c src/engine/external/zlib/zutil.c
  45. [ 5/327] [5] c src/engine/external/zlib/uncompr.c
  46. [ 6/327] [6] c src/engine/external/zlib/trees.c
  47. [ 7/327] [7] c src/engine/external/zlib/inftrees.c
  48. [ 8/327] [8] c++ src/engine/shared/huffman.cpp
  49. [ 9/327] [1] cmd5 src/game/generated/nethash.cpp
  50. [ 10/327] [2] c++ src/engine/shared/console.cpp
  51. [ 11/327] [3] c++ src/engine/shared/config.cpp
  52. [ 12/327] [4] c++ src/engine/shared/compression.cpp
  53. [ 13/327] [5] c++ src/engine/shared/ringbuffer.cpp
  54. [ 14/327] [6] c++ src/engine/shared/packer.cpp
  55. [ 15/327] [7] c++ src/engine/shared/network_server.cpp
  56. [ 16/327] [8] c++ src/engine/shared/network_console_conn.cpp
  57. [ 17/327] [1] c++ src/engine/shared/network_console.cpp
  58. [ 18/327] [2] c++ src/engine/shared/network_conn.cpp
  59. [ 19/327] [3] c++ src/engine/shared/network_client.cpp
  60. [ 20/327] [4] c++ src/engine/shared/network.cpp
  61. In file included from src/engine/shared/ringbuffer.cpp:5:
  62. src/engine/shared/ringbuffer.h:25:8: warning: private field 'm_pMemory' is not
  63. used [-Wunused-private-field]
  64. void *m_pMemory;
  65. ^
  66. 1 warning generated.
  67. [ 21/327] [5] c++ src/engine/shared/netban.cpp
  68. [ 22/327] [6] c++ src/engine/shared/memheap.cpp
  69. [ 23/327] [7] c++ src/engine/shared/masterserver.cpp
  70. [ 24/327] [8] c++ src/engine/shared/mapchecker.cpp
  71. [ 25/327] [1] c++ src/engine/shared/map.cpp
  72. [ 26/327] [2] c++ src/engine/shared/linereader.cpp
  73. In file included from src/engine/shared/network_client.cpp:4:
  74. src/engine/shared/network.h:334:10: warning: private field 'm_ServerAddr' is not
  75. used [-Wunused-private-field]
  76. NETADDR m_ServerAddr;
  77. ^
  78. 1 warning generated.
  79. [ 27/327] [3] c++ src/engine/shared/kernel.cpp
  80. [ 28/327] [4] c++ src/engine/shared/jobs.cpp
  81. [ 29/327] [5] c++ src/engine/shared/datafile.cpp
  82. src/engine/shared/memheap.cpp:6:18: warning: unused variable 'CHUNK_SIZE'
  83. [-Wunused-const-variable]
  84. static const int CHUNK_SIZE = 1024*64;
  85. ^
  86. 1 warning generated.
  87. [ 30/327] [6] c src/engine/external/zlib/inflate.c
  88. [ 31/327] [7] c src/engine/external/zlib/inffast.c
  89. [ 32/327] [8] c src/engine/external/zlib/infback.c
  90. [ 33/327] [1] c src/engine/external/zlib/deflate.c
  91. [ 34/327] [2] c++ src/engine/shared/compression.cpp
  92. [ 35/327] [3] c src/engine/external/zlib/crc32.c
  93. In file included from src/engine/shared/jobs.cpp:4:
  94. src/engine/shared/jobs.h:13:12: warning: private field 'm_pPool' is not used
  95. [-Wunused-private-field]
  96. CJobPool *m_pPool;
  97. ^
  98. 1 warning generated.
  99. [ 36/327] [4] c++ src/engine/shared/config.cpp
  100. [ 37/327] [5] c src/engine/external/zlib/compress.c
  101. [ 38/327] [6] c++ src/engine/shared/console.cpp
  102. [ 39/327] [7] c src/engine/external/zlib/adler32.c
  103. [ 40/327] [8] c++ src/engine/shared/datafile.cpp
  104. [ 41/327] [1] c src/base/system.c
  105. [ 42/327] [2] c++ src/engine/shared/demo.cpp
  106. [ 43/327] [3] c++ src/engine/shared/storage.cpp
  107. [ 44/327] [4] c++ src/engine/shared/econ.cpp
  108. [ 45/327] [5] c++ src/engine/shared/snapshot.cpp
  109. [ 46/327] [6] c++ src/engine/shared/ringbuffer.cpp
  110. [ 47/327] [7] c++ src/engine/shared/packer.cpp
  111. [ 48/327] [8] c++ src/engine/shared/network_server.cpp
  112. In file included from src/base/system.c:31:
  113. In file included from /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:24:
  114. In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:35:
  115. In file included from /System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:43:
  116. In file included from /System/Library/Frameworks/CoreGraphics.framework/Headers/CGDisplayStream.h:9:
  117. In file included from /System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceAPI.h:13:
  118. In file included from /System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h:30:
  119. In file included from /usr/include/xpc/xpc.h:330:
  120. In file included from /usr/include/launch.h:29:
  121. In file included from /usr/include/mach/mach.h:67:
  122. In file included from /usr/include/mach/mach_interface.h:45:
  123. /usr/include/mach/lock_set.h:63:15: error: conflicting types for 'lock_release'
  124. kern_return_t lock_release
  125. ^
  126. src/base/system.h:408:6: note: previous declaration is here
  127. void lock_release(LOCK lock);
  128. ^
  129. In file included from src/base/system.c:31:
  130. In file included from /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:24:
  131. In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:35:
  132. In file included from /System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:43:
  133. In file included from /System/Library/Frameworks/CoreGraphics.framework/Headers/CGDisplayStream.h:9:
  134. In file included from /System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceAPI.h:13:
  135. In file included from /System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h:30:
  136. In file included from /usr/include/xpc/xpc.h:330:
  137. In file included from /usr/include/launch.h:29:
  138. In file included from /usr/include/mach/mach.h:67:
  139. In file included from /usr/include/mach/mach_interface.h:45:
  140. /usr/include/mach/lock_set.h:75:15: error: conflicting types for 'lock_try'
  141. kern_return_t lock_try
  142. ^
  143. src/base/system.h:406:5: note: previous declaration is here
  144. int lock_try(LOCK lock);
  145. ^
  146. In file included from src/base/system.c:31:
  147. In file included from /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:24:
  148. In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:35:
  149. In file included from /System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:43:
  150. In file included from /System/Library/Frameworks/CoreGraphics.framework/Headers/CGDisplayStream.h:9:
  151. In file included from /System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceAPI.h:13:
  152. In file included from /System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h:30:
  153. In file included from /usr/include/xpc/xpc.h:330:
  154. In file included from /usr/include/launch.h:29:
  155. In file included from /usr/include/mach/mach.h:67:
  156. In file included from /usr/include/mach/mach_interface.h:49:
  157. /usr/include/mach/task.h:193:15: error: conflicting types for 'thread_create'
  158. kern_return_t thread_create
  159. ^
  160. src/base/system.h:363:7: note: previous declaration is here
  161. void *thread_create(void (*threadfunc)(void *), void *user);
  162. ^
  163. src/base/system.c:1791:2: warning: implicit declaration of function
  164. 'CreateStandardAlert' is invalid in C99 [-Wimplicit-function-declaration]
  165. CreateStandardAlert(kAlertStopAlert,
  166. ^
  167. src/base/system.c:1797:2: warning: implicit declaration of function
  168. 'RunStandardAlert' is invalid in C99 [-Wimplicit-function-declaration]
  169. RunStandardAlert(theItem, NULL, &itemIndex);
  170. ^
  171. 2 warnings and 3 errors generated.
  172. bam: 'c src/base/system.c' error 256
  173. [ 49/327] [1] c++ src/engine/shared/network_console_conn.cpp
  174. [ 50/327] [2] c++ src/engine/shared/network_console.cpp
  175. [ 51/327] [3] c++ src/engine/shared/network_conn.cpp
  176. [ 52/327] [4] c++ src/engine/shared/network_client.cpp
  177. [ 53/327] [5] c++ src/engine/shared/network.cpp
  178. In file included from src/engine/shared/ringbuffer.cpp:5:
  179. src/engine/shared/ringbuffer.h:25:8: warning: private field 'm_pMemory' is not
  180. used [-Wunused-private-field]
  181. void *m_pMemory;
  182. ^
  183. 1 warning generated.
  184. [ 54/327] [6] c++ src/engine/shared/netban.cpp
  185. [ 55/327] [7] c++ src/engine/shared/memheap.cpp
  186. [ 56/327] [8] c++ src/engine/shared/masterserver.cpp
  187. [ 57/327] [1] c++ src/engine/shared/mapchecker.cpp
  188. [ 58/327] [2] c++ src/engine/shared/map.cpp
  189. [ 59/327] [3] c++ src/engine/shared/linereader.cpp
  190. In file included from src/engine/shared/network_client.cpp:4:
  191. src/engine/shared/network.h:334:10: warning: private field 'm_ServerAddr' is not
  192. used [-Wunused-private-field]
  193. NETADDR m_ServerAddr;
  194. ^
  195. 1 warning generated.
  196. [ 60/327] [4] c++ src/engine/shared/kernel.cpp
  197. [ 61/327] [5] c++ src/engine/shared/jobs.cpp
  198. [ 62/327] [6] c++ src/engine/shared/huffman.cpp
  199. src/engine/shared/memheap.cpp:6:18: warning: unused variable 'CHUNK_SIZE'
  200. [-Wunused-const-variable]
  201. static const int CHUNK_SIZE = 1024*64;
  202. ^
  203. 1 warning generated.
  204. [ 63/327] [7] c++ src/engine/shared/engine.cpp
  205. [ 64/327] [8] c++ src/engine/shared/filecollection.cpp
  206. [ 65/327] [1] c++ src/engine/shared/engine.cpp
  207. [ 66/327] [2] c++ src/engine/shared/econ.cpp
  208. [ 67/327] [3] c++ src/engine/shared/demo.cpp
  209. [ 68/327] [4] c++ src/engine/shared/filecollection.cpp
  210. In file included from src/engine/shared/jobs.cpp:4:
  211. src/engine/shared/jobs.h:13:12: warning: private field 'm_pPool' is not used
  212. [-Wunused-private-field]
  213. CJobPool *m_pPool;
  214. ^
  215. 1 warning generated.
  216. [ 69/327] [5] c src/engine/external/zlib/zutil.c
  217. [ 70/327] [6] c src/engine/external/zlib/uncompr.c
  218. [ 71/327] [7] c src/engine/external/zlib/trees.c
  219. [ 72/327] [8] c src/engine/external/zlib/inftrees.c
  220. [ 73/327] [1] c src/engine/external/zlib/inflate.c
  221. [ 74/327] [2] c src/engine/external/zlib/inffast.c
  222. [ 75/327] [3] c src/engine/external/zlib/infback.c
  223. [ 76/327] [4] c src/engine/external/zlib/deflate.c
  224. [ 77/327] [5] c src/engine/external/zlib/crc32.c
  225. [ 78/327] [6] c src/engine/external/zlib/compress.c
  226. [ 79/327] [7] c src/engine/external/zlib/adler32.c
  227. [ 80/327] [8] c src/base/system.c
  228. [ 81/327] [1] c++ src/engine/shared/storage.cpp
  229. [ 82/327] [2] c++ src/engine/shared/snapshot.cpp
  230. [ 83/327] [3] c src/engine/external/pnglite/pnglite.c
  231. [ 84/327] [4] c src/engine/external/pnglite/pnglite.c
  232. [ 85/327] [5] network_source > src/game/generated/protocol.cpp
  233. [ 86/327] [6] client_content_source > src/game/generated/client_data.cpp
  234. [ 87/327] [7] server_content_source > src/game/generated/server_data.cpp
  235. In file included from src/base/system.c:31:
  236. In file included from /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:24:
  237. In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:35:
  238. In file included from /System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:43:
  239. In file included from /System/Library/Frameworks/CoreGraphics.framework/Headers/CGDisplayStream.h:9:
  240. In file included from /System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceAPI.h:13:
  241. In file included from /System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h:30:
  242. In file included from /usr/include/xpc/xpc.h:330:
  243. In file included from /usr/include/launch.h:29:
  244. In file included from /usr/include/mach/mach.h:67:
  245. In file included from /usr/include/mach/mach_interface.h:45:
  246. /usr/include/mach/lock_set.h:63:15: error: conflicting types for 'lock_release'
  247. kern_return_t lock_release
  248. ^
  249. src/base/system.h:408:6: note: previous declaration is here
  250. void lock_release(LOCK lock);
  251. ^
  252. In file included from src/base/system.c:31:
  253. In file included from /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:24:
  254. In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:35:
  255. In file included from /System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:43:
  256. In file included from /System/Library/Frameworks/CoreGraphics.framework/Headers/CGDisplayStream.h:9:
  257. In file included from /System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceAPI.h:13:
  258. In file included from /System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h:30:
  259. In file included from /usr/include/xpc/xpc.h:330:
  260. In file included from /usr/include/launch.h:29:
  261. In file included from /usr/include/mach/mach.h:67:
  262. In file included from /usr/include/mach/mach_interface.h:45:
  263. /usr/include/mach/lock_set.h:75:15: error: conflicting types for 'lock_try'
  264. kern_return_t lock_try
  265. ^
  266. src/base/system.h:406:5: note: previous declaration is here
  267. int lock_try(LOCK lock);
  268. ^
  269. In file included from src/base/system.c:31:
  270. In file included from /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:24:
  271. In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:35:
  272. In file included from /System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:43:
  273. In file included from /System/Library/Frameworks/CoreGraphics.framework/Headers/CGDisplayStream.h:9:
  274. In file included from /System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceAPI.h:13:
  275. In file included from /System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h:30:
  276. In file included from /usr/include/xpc/xpc.h:330:
  277. In file included from /usr/include/launch.h:29:
  278. In file included from /usr/include/mach/mach.h:67:
  279. In file included from /usr/include/mach/mach_interface.h:49:
  280. /usr/include/mach/task.h:193:15: error: conflicting types for 'thread_create'
  281. kern_return_t thread_create
  282. ^
  283. src/base/system.h:363:7: note: previous declaration is here
  284. void *thread_create(void (*threadfunc)(void *), void *user);
  285. ^
  286. 3 errors generated.
  287. bam: 'c src/base/system.c' error 256
  288. [ 88/327] [8] c++ src/game/gamecore.cpp
  289. [ 89/327] [1] c++ src/game/collision.cpp
  290. [ 90/327] [2] c++ src/game/collision.cpp
  291. [ 91/327] [3] c++ src/game/generated/nethash.cpp
  292. [ 92/327] [4] c++ src/game/localization.cpp
  293. [ 93/327] [5] c++ src/game/generated/protocol.cpp
  294. [ 94/327] [6] c++ src/game/localization.cpp
  295. [ 95/327] [7] c++ src/game/layers.cpp
  296. [ 96/327] [8] c++ src/game/gamecore.cpp
  297. [ 97/327] [1] c++ src/game/generated/nethash.cpp
  298. [ 98/327] [2] c++ src/game/layers.cpp
  299. [ 99/327] [3] c++ src/game/generated/protocol.cpp
  300. [100/327] [4] c++ src/game/client/animstate.cpp
  301. [101/327] [5] c++ src/game/server/entities/laser.cpp
  302. [102/327] [6] c++ src/tools/tileset_borderset.cpp
  303. [103/327] [7] c++ src/tools/tileset_borderrem.cpp
  304. [104/327] [8] c++ src/tools/tileset_borderfix.cpp
  305. [105/327] [1] c++ src/tools/tileset_borderadd.cpp
  306. [106/327] [2] c++ src/tools/packetgen.cpp
  307. [107/327] [3] c++ src/tools/map_version.cpp
  308. [108/327] [4] c++ src/tools/map_resave.cpp
  309. [109/327] [5] c++ src/tools/fake_server.cpp
  310. [110/327] [6] c++ src/tools/dilate.cpp
  311. [111/327] [7] c++ src/tools/crapnet.cpp
  312. [112/327] [8] c++ src/mastersrv/mastersrv.cpp
  313. [113/327] [1] c++ src/versionsrv/versionsrv.cpp
  314. [114/327] [2] c src/osxlaunch/server.m
  315. [115/327] [3] c++ src/game/generated/server_data.cpp
  316. [116/327] [4] c++ src/game/server/player.cpp
  317. [117/327] [5] c++ src/game/server/gameworld.cpp
  318. [118/327] [6] c++ src/game/server/gamemodes/tdm.cpp
  319. [119/327] [7] c++ src/game/server/gamemodes/mod.cpp
  320. [120/327] [8] c++ src/game/server/gamemodes/dm.cpp
  321. [121/327] [1] c++ src/game/server/gamemodes/ctf.cpp
  322. src/osxlaunch/server.m:93:23: warning: sending 'ServerView *' to parameter of
  323. incompatible type 'id<NSWindowDelegate>'
  324. [window setDelegate: view];
  325. ^~~~
  326. /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:307:41: note:
  327. passing argument to parameter 'delegate' here
  328. @property (assign) id<NSWindowDelegate> delegate;
  329. ^
  330. 1 warning generated.
  331. [122/327] [2] c++ src/game/server/gamecontroller.cpp
  332. [123/327] [3] c++ src/game/server/gamecontext.cpp
  333. [124/327] [4] c++ src/game/server/eventhandler.cpp
  334. [125/327] [5] c++ src/game/server/entity.cpp
  335. [126/327] [6] c++ src/game/server/entities/projectile.cpp
  336. [127/327] [7] c++ src/game/server/entities/pickup.cpp
  337. [128/327] [8] c++ src/game/server/entities/laser.cpp
  338. [129/327] [1] c++ src/game/server/entities/flag.cpp
  339. [130/327] [2] c++ src/game/server/entities/character.cpp
  340. [131/327] [3] c++ src/engine/server/server.cpp
  341. [132/327] [4] c++ src/engine/server/register.cpp
  342. [133/327] [5] c src/osxlaunch/client.m
  343. [134/327] [6] c src/engine/external/wavpack/wputils.c
  344. [135/327] [7] c src/engine/external/wavpack/words.c
  345. [136/327] [8] c src/engine/external/wavpack/unpack.c
  346. [137/327] [1] c src/engine/external/wavpack/metadata.c
  347. [138/327] [2] c src/engine/external/wavpack/float.c
  348. src/engine/server/server.cpp:859:18: warning: comparison of unsigned expression
  349. < 0 is always false [-Wtautological-compare]
  350. if(ChunkSize < 0)
  351. ~~~~~~~~~ ^ ~
  352. 1 warning generated.
  353. [139/327] [3] c src/engine/external/wavpack/bits.c
  354. [140/327] [4] c++ src/game/editor/popups.cpp
  355. src/osxlaunch/client.m:216:21: warning: sending 'SDLMain *' to parameter of
  356. incompatible type 'id<NSFileManagerDelegate>'
  357. [NSApp setDelegate:sdlMain];
  358. ^~~~~~~
  359. /System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:109:47: note:
  360. passing argument to parameter 'delegate' here
  361. @property (assign) id <NSFileManagerDelegate> delegate NS_AVAILABLE(10_5, 2_0);
  362. ^
  363. 1 warning generated.
  364. [141/327] [5] c++ src/game/editor/layer_tiles.cpp
  365. [142/327] [6] c++ src/game/editor/layer_quads.cpp
  366. [143/327] [7] c++ src/game/editor/layer_game.cpp
  367. [144/327] [8] c++ src/game/editor/io.cpp
  368. [145/327] [1] c++ src/game/editor/editor.cpp
  369. [146/327] [2] c++ src/game/editor/auto_map.cpp
  370. [147/327] [3] c++ src/engine/client/text.cpp
  371. [148/327] [4] c++ src/engine/client/sound.cpp
  372. [149/327] [5] c++ src/engine/client/serverbrowser.cpp
  373. [150/327] [6] c++ src/engine/client/input.cpp
  374. [151/327] [7] c++ src/engine/client/graphics_threaded.cpp
  375. [152/327] [8] c++ src/engine/client/graphics.cpp
  376. [153/327] [1] c++ src/engine/client/friends.cpp
  377. [154/327] [2] c++ src/engine/client/client.cpp
  378. [155/327] [3] c++ src/engine/client/backend_sdl.cpp
  379. [156/327] [4] c++ src/game/generated/client_data.cpp
  380. [157/327] [5] c++ src/game/client/ui.cpp
  381. src/engine/client/input.cpp:281:33: warning: array subscript is of type 'char'
  382. [-Wchar-subscripts]
  383. m_aInputCount[m_InputCurrent]['a'].m_Presses++;
  384. ^~~~
  385. src/engine/client/input.cpp:282:33: warning: array subscript is of type 'char'
  386. [-Wchar-subscripts]
  387. m_aInputState[m_InputCurrent]['a'] = 1;
  388. ^~~~
  389. src/engine/client/input.cpp:289:33: warning: array subscript is of type 'char'
  390. [-Wchar-subscripts]
  391. m_aInputCount[m_InputCurrent]['d'].m_Presses++;
  392. ^~~~
  393. src/engine/client/input.cpp:290:33: warning: array subscript is of type 'char'
  394. [-Wchar-subscripts]
  395. m_aInputState[m_InputCurrent]['d'] = 1;
  396. ^~~~
  397. src/engine/client/input.cpp:297:33: warning: array subscript is of type 'char'
  398. [-Wchar-subscripts]
  399. m_aInputCount[m_InputCurrent]['a'].m_Presses++;
  400. ^~~~
  401. src/engine/client/input.cpp:304:33: warning: array subscript is of type 'char'
  402. [-Wchar-subscripts]
  403. m_aInputCount[m_InputCurrent]['d'].m_Presses++;
  404. ^~~~
  405. 6 warnings generated.
  406. [158/327] [6] c++ src/game/client/render_map.cpp
  407. [159/327] [7] c++ src/game/client/render.cpp
  408. In file included from src/engine/client/graphics.cpp:9:
  409. /Library/Frameworks/SDL.framework/Headers/SDL_opengl.h:3124:22: error: typedef
  410. redefinition with different types ('unsigned int' vs 'void *')
  411. typedef unsigned int GLhandleARB; /* shader object handle */
  412. ^
  413. /System/Library/Frameworks/OpenGL.framework/Headers/gltypes.h:28:18: note:
  414. previous definition is here
  415. typedef void *GLhandleARB;
  416. ^
  417. 1 error generated.
  418. bam: 'c++ src/engine/client/graphics.cpp' error 256
  419. [160/327] [8] c++ src/game/client/lineinput.cpp
  420. [161/327] [1] c++ src/game/client/gameclient.cpp
  421. In file included from src/engine/client/client.cpp:45:
  422. src/engine/client/client.h:36:8: warning: private field 'm_RLast' is not used
  423. [-Wunused-private-field]
  424. int64 m_RLast;
  425. ^
  426. src/engine/client/client.h:37:8: warning: private field 'm_TLast' is not used
  427. [-Wunused-private-field]
  428. int64 m_TLast;
  429. ^
  430. 2 warnings generated.
  431. [162/327] [2] c++ src/game/client/customstuff.cpp
  432. In file included from src/engine/client/backend_sdl.cpp:3:
  433. /Library/Frameworks/SDL.framework/Headers/SDL_opengl.h:3124:22: error: typedef
  434. redefinition with different types ('unsigned int' vs 'void *')
  435. typedef unsigned int GLhandleARB; /* shader object handle */
  436. ^
  437. /System/Library/Frameworks/OpenGL.framework/Headers/gltypes.h:28:18: note:
  438. previous definition is here
  439. typedef void *GLhandleARB;
  440. ^
  441. 1 error generated.
  442. bam: 'c++ src/engine/client/backend_sdl.cpp' error 256
  443. [163/327] [3] c++ src/game/client/customstuff/tracer.cpp
  444. [164/327] [4] c++ src/game/client/customstuff/playerinfo.cpp
  445. [165/327] [5] c++ src/game/client/customstuff/meleeweapon.cpp
  446. [166/327] [6] c++ src/game/client/components/voting.cpp
  447. [167/327] [7] c++ src/game/client/components/splatter.cpp
  448. [168/327] [8] c++ src/game/client/components/spectator.cpp
  449. src/game/client/gameclient.cpp:658:12: warning: using integer absolute value
  450. function 'abs' when argument is of floating point type [-Wabsolute-value]
  451. if (abs(CustomSt...
  452. ^
  453. src/game/client/gameclient.cpp:658:12: note: use function 'std::abs' instead
  454. if (abs(CustomSt...
  455. ^~~
  456. std::abs
  457. src/game/client/gameclient.cpp:658:12: note: include the header <cmath> or
  458. explicitly provide a declaration for 'std::abs'
  459. src/game/client/gameclient.cpp:658:76: warning: using integer absolute value
  460. function 'abs' when argument is of floating point type [-Wabsolute-value]
  461. ...(abs(CustomStuff()->m_aPlayerInfo[c].Pos().x - ev->m_X) < 250 && abs(Cus...
  462. ^
  463. src/game/client/gameclient.cpp:658:76: note: use function 'std::abs' instead
  464. ...- ev->m_X) < 250 && abs(CustomStuff()->m_aPlayerInfo[c].Pos().y - ev->m_...
  465. ^~~
  466. std::abs
  467. src/game/client/gameclient.cpp:658:76: note: include the header <cmath> or
  468. explicitly provide a declaration for 'std::abs'
  469. 2 warnings generated.
  470. [169/327] [1] c++ src/game/client/components/spark.cpp
  471. [170/327] [2] c++ src/game/client/components/sounds.cpp
  472. [171/327] [3] c++ src/game/client/components/skins.cpp
  473. [172/327] [4] c++ src/game/client/components/scoreboard.cpp
  474. src/game/client/customstuff/meleeweapon.cpp:270:8: warning: unused variable 's'
  475. [-Wunused-variable]
  476. float s = 16;
  477. ^
  478. 1 warning generated.
  479. [173/327] [5] c++ src/game/client/components/players.cpp
  480. [174/327] [6] c++ src/game/client/components/particles.cpp
  481. [175/327] [7] c++ src/game/client/components/nameplates.cpp
  482. [176/327] [8] c++ src/game/client/components/motd.cpp
  483. src/game/client/components/spark.cpp:91:8: warning: using integer absolute value
  484. function 'abs' when argument is of floating point type [-Wabsolute-value]
  485. if (abs(m_aSpark[i].m_Vel.x) + abs(m_aSpark[i].m...
  486. ^
  487. src/game/client/components/spark.cpp:91:8: note: use function 'std::abs' instead
  488. if (abs(m_aSpark[i].m_Vel.x) + abs(m_aSpark[i].m...
  489. ^~~
  490. std::abs
  491. src/game/client/components/spark.cpp:91:8: note: include the header <cmath> or
  492. explicitly provide a declaration for 'std::abs'
  493. src/game/client/components/spark.cpp:91:35: warning: using integer absolute
  494. value function 'abs' when argument is of floating point type
  495. [-Wabsolute-value]
  496. if (abs(m_aSpark[i].m_Vel.x) + abs(m_aSpark[i].m...
  497. ^
  498. src/game/client/components/spark.cpp:91:35: note: use function 'std::abs'
  499. instead
  500. if (abs(m_aSpark[i].m_Vel.x) + abs(m_aSpark[i].m...
  501. ^~~
  502. std::abs
  503. src/game/client/components/spark.cpp:91:35: note: include the header <cmath> or
  504. explicitly provide a declaration for 'std::abs'
  505. 2 warnings generated.
  506. [177/327] [1] c++ src/game/client/components/menus_settings.cpp
  507. [178/327] [2] c++ src/game/client/components/menus_ingame.cpp
  508. [179/327] [3] c++ src/game/client/components/menus_demo.cpp
  509. [180/327] [4] c++ src/game/client/components/menus_browser.cpp
  510. [181/327] [5] c++ src/game/client/components/menus.cpp
  511. [182/327] [6] c++ src/game/client/components/maplayers.cpp
  512. [183/327] [7] c++ src/game/client/components/mapimages.cpp
  513. [184/327] [8] c++ src/game/client/components/killmessages.cpp
  514. [185/327] [1] c++ src/game/client/components/items.cpp
  515. [186/327] [2] c++ src/game/client/components/hud.cpp
  516. [187/327] [3] c++ src/game/client/components/flow.cpp
  517. [188/327] [4] c++ src/game/client/components/emoticon.cpp
  518. [189/327] [5] c++ src/game/client/components/effects.cpp
  519. [190/327] [6] c++ src/game/client/components/debughud.cpp
  520. [191/327] [7] c++ src/game/client/components/damageind.cpp
  521. [192/327] [8] c++ src/game/client/components/countryflags.cpp
  522. src/game/client/components/items.cpp:295:16: warning: using integer absolute
  523. value function 'abs' when argument is of floating point type
  524. [-Wabsolute-value]
  525. float Speed = abs(m_FlagPos[Team].x - m_FlagOldPos[Team].x) / 4.0f;
  526. ^
  527. src/game/client/components/items.cpp:295:16: note: use function 'std::abs'
  528. instead
  529. float Speed = abs(m_FlagPos[Team].x - m_FlagOldPos[Team].x) / 4.0f;
  530. ^~~
  531. std::abs
  532. src/game/client/components/items.cpp:295:16: note: include the header <cmath> or
  533. explicitly provide a declaration for 'std::abs'
  534. 1 warning generated.
  535. [193/327] [1] c++ src/game/client/components/controls.cpp
  536. [194/327] [2] c++ src/game/client/components/console.cpp
  537. [195/327] [3] c++ src/game/client/components/chat.cpp
  538. [196/327] [4] c++ src/game/client/components/camera.cpp
  539. [197/327] [5] c++ src/game/client/components/broadcast.cpp
  540. [198/327] [6] c++ src/game/client/components/blood.cpp
  541. [199/327] [7] c++ src/game/client/components/binds.cpp
  542. [200/327] [8] c++ src/game/client/components/skins.cpp
  543. [201/327] [1] c++ src/game/client/components/scoreboard.cpp
  544. [202/327] [2] c++ src/game/client/components/players.cpp
  545. [203/327] [3] c++ src/game/client/components/particles.cpp
  546. [204/327] [4] c++ src/game/client/components/nameplates.cpp
  547. [205/327] [5] c++ src/game/client/components/motd.cpp
  548. src/game/client/components/blood.cpp:160:8: warning: using integer absolute
  549. value function 'abs' when argument is of floating point type
  550. [-Wabsolute-value]
  551. if (abs(m_aBlood[i].m_Vel.x) + abs(m_aBlood[i].m...
  552. ^
  553. src/game/client/components/blood.cpp:160:8: note: use function 'std::abs'
  554. instead
  555. if (abs(m_aBlood[i].m_Vel.x) + abs(m_aBlood[i].m...
  556. ^~~
  557. std::abs
  558. src/game/client/components/blood.cpp:160:8: note: include the header <cmath> or
  559. explicitly provide a declaration for 'std::abs'
  560. src/game/client/components/blood.cpp:160:35: warning: using integer absolute
  561. value function 'abs' when argument is of floating point type
  562. [-Wabsolute-value]
  563. if (abs(m_aBlood[i].m_Vel.x) + abs(m_aBlood[i].m...
  564. ^
  565. src/game/client/components/blood.cpp:160:35: note: use function 'std::abs'
  566. instead
  567. if (abs(m_aBlood[i].m_Vel.x) + abs(m_aBlood[i].m...
  568. ^~~
  569. std::abs
  570. src/game/client/components/blood.cpp:160:35: note: include the header <cmath> or
  571. explicitly provide a declaration for 'std::abs'
  572. 2 warnings generated.
  573. [206/327] [6] c++ src/game/client/components/menus_settings.cpp
  574. [207/327] [7] c++ src/game/client/components/menus_ingame.cpp
  575. [208/327] [8] c++ src/game/client/components/menus_demo.cpp
  576. [209/327] [1] c++ src/game/client/components/menus_browser.cpp
  577. [210/327] [2] c++ src/game/client/components/menus.cpp
  578. [211/327] [3] c++ src/game/client/components/maplayers.cpp
  579. [212/327] [4] c++ src/game/client/components/mapimages.cpp
  580. [213/327] [5] c++ src/game/client/components/killmessages.cpp
  581. [214/327] [6] c++ src/game/client/components/items.cpp
  582. [215/327] [7] c++ src/game/client/components/hud.cpp
  583. [216/327] [8] c++ src/game/client/components/flow.cpp
  584. [217/327] [1] c++ src/game/client/components/emoticon.cpp
  585. [218/327] [2] c++ src/game/client/components/effects.cpp
  586. [219/327] [3] c++ src/game/client/components/debughud.cpp
  587. [220/327] [4] c++ src/game/client/components/damageind.cpp
  588. [221/327] [5] c++ src/game/client/components/countryflags.cpp
  589. src/game/client/components/items.cpp:295:16: warning: using integer absolute
  590. value function 'abs' when argument is of floating point type
  591. [-Wabsolute-value]
  592. float Speed = abs(m_FlagPos[Team].x - m_FlagOldPos[Team].x) / 4.0f;
  593. ^
  594. src/game/client/components/items.cpp:295:16: note: use function 'std::abs'
  595. instead
  596. float Speed = abs(m_FlagPos[Team].x - m_FlagOldPos[Team].x) / 4.0f;
  597. ^~~
  598. std::abs
  599. src/game/client/components/items.cpp:295:16: note: include the header <cmath> or
  600. explicitly provide a declaration for 'std::abs'
  601. 1 warning generated.
  602. [222/327] [6] c++ src/game/client/components/controls.cpp
  603. [223/327] [7] c++ src/game/client/components/console.cpp
  604. [224/327] [8] c++ src/game/client/components/chat.cpp
  605. [225/327] [1] c++ src/game/client/components/camera.cpp
  606. [226/327] [2] c++ src/game/client/components/broadcast.cpp
  607. [227/327] [3] c++ src/game/client/components/blood.cpp
  608. [228/327] [4] c++ src/game/client/components/binds.cpp
  609. [229/327] [5] c++ src/game/client/animstate.cpp
  610. [230/327] [6] c++ src/tools/tileset_borderset.cpp
  611. [231/327] [7] c++ src/tools/tileset_borderrem.cpp
  612. [232/327] [8] c++ src/tools/tileset_borderfix.cpp
  613. [233/327] [1] c++ src/tools/tileset_borderadd.cpp
  614. [234/327] [2] c++ src/tools/packetgen.cpp
  615. src/game/client/components/blood.cpp:160:8: warning: using integer absolute
  616. value function 'abs' when argument is of floating point type
  617. [-Wabsolute-value]
  618. if (abs(m_aBlood[i].m_Vel.x) + abs(m_aBlood[i].m...
  619. ^
  620. src/game/client/components/blood.cpp:160:8: note: use function 'std::abs'
  621. instead
  622. if (abs(m_aBlood[i].m_Vel.x) + abs(m_aBlood[i].m...
  623. ^~~
  624. std::abs
  625. src/game/client/components/blood.cpp:160:8: note: include the header <cmath> or
  626. explicitly provide a declaration for 'std::abs'
  627. src/game/client/components/blood.cpp:160:35: warning: using integer absolute
  628. value function 'abs' when argument is of floating point type
  629. [-Wabsolute-value]
  630. if (abs(m_aBlood[i].m_Vel.x) + abs(m_aBlood[i].m...
  631. ^
  632. src/game/client/components/blood.cpp:160:35: note: use function 'std::abs'
  633. instead
  634. if (abs(m_aBlood[i].m_Vel.x) + abs(m_aBlood[i].m...
  635. ^~~
  636. std::abs
  637. src/game/client/components/blood.cpp:160:35: note: include the header <cmath> or
  638. explicitly provide a declaration for 'std::abs'
  639. 2 warnings generated.
  640. [235/327] [3] c++ src/tools/map_version.cpp
  641. [236/327] [4] c++ src/tools/map_resave.cpp
  642. [237/327] [5] c++ src/tools/fake_server.cpp
  643. [238/327] [6] c++ src/tools/dilate.cpp
  644. [239/327] [7] c++ src/tools/crapnet.cpp
  645. [240/327] [8] c++ src/mastersrv/mastersrv.cpp
  646. [241/327] [1] c++ src/versionsrv/versionsrv.cpp
  647. [242/327] [2] c src/osxlaunch/server.m
  648. [243/327] [3] c++ src/game/generated/server_data.cpp
  649. [244/327] [4] c++ src/game/server/player.cpp
  650. [245/327] [5] c++ src/game/server/gameworld.cpp
  651. [246/327] [6] c++ src/game/server/gamemodes/tdm.cpp
  652. [247/327] [7] c++ src/game/server/gamemodes/mod.cpp
  653. [248/327] [8] c++ src/game/server/gamemodes/dm.cpp
  654. [249/327] [1] c++ src/game/server/gamemodes/ctf.cpp
  655. src/osxlaunch/server.m:93:23: warning: sending 'ServerView *' to parameter of
  656. incompatible type 'id<NSWindowDelegate>'
  657. [window setDelegate: view];
  658. ^~~~
  659. /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:307:41: note:
  660. passing argument to parameter 'delegate' here
  661. @property (assign) id<NSWindowDelegate> delegate;
  662. ^
  663. 1 warning generated.
  664. [250/327] [2] c++ src/game/server/gamecontroller.cpp
  665. [251/327] [3] c++ src/game/server/gamecontext.cpp
  666. [252/327] [4] c++ src/game/server/eventhandler.cpp
  667. [253/327] [5] c++ src/game/server/entity.cpp
  668. [254/327] [6] c++ src/game/server/entities/projectile.cpp
  669. [255/327] [7] c++ src/game/server/entities/pickup.cpp
  670. [256/327] [8] c++ src/game/server/entities/flag.cpp
  671. [257/327] [1] c++ src/game/server/entities/character.cpp
  672. [258/327] [2] c++ src/engine/server/server.cpp
  673. [259/327] [3] c++ src/engine/server/register.cpp
  674. [260/327] [4] c src/osxlaunch/client.m
  675. [261/327] [5] c src/engine/external/wavpack/wputils.c
  676. [262/327] [6] c src/engine/external/wavpack/words.c
  677. [263/327] [7] c src/engine/external/wavpack/unpack.c
  678. [264/327] [8] c src/engine/external/wavpack/metadata.c
  679. [265/327] [1] c src/engine/external/wavpack/float.c
  680. src/engine/server/server.cpp:859:18: warning: comparison of unsigned expression < 0 is always
  681. false [-Wtautological-compare]
  682. if(ChunkSize < 0)
  683. ~~~~~~~~~ ^ ~
  684. 1 warning generated.
  685. [266/327] [2] c src/engine/external/wavpack/bits.c
  686. [267/327] [3] c++ src/game/editor/popups.cpp
  687. src/osxlaunch/client.m:216:21: warning: sending 'SDLMain *' to parameter of incompatible type
  688. 'id<NSFileManagerDelegate>'
  689. [NSApp setDelegate:sdlMain];
  690. ^~~~~~~
  691. /System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:109:47: note: passing
  692. argument to parameter 'delegate' here
  693. @property (assign) id <NSFileManagerDelegate> delegate NS_AVAILABLE(10_5, 2_0);
  694. ^
  695. 1 warning generated.
  696. [268/327] [4] c++ src/game/editor/layer_tiles.cpp
  697. [269/327] [5] c++ src/game/editor/layer_quads.cpp
  698. [270/327] [6] c++ src/game/editor/layer_game.cpp
  699. [271/327] [7] c++ src/game/editor/io.cpp
  700. [272/327] [8] c++ src/game/editor/editor.cpp
  701. [273/327] [1] c++ src/game/editor/auto_map.cpp
  702. [274/327] [2] c++ src/engine/client/text.cpp
  703. [275/327] [3] c++ src/engine/client/sound.cpp
  704. [276/327] [4] c++ src/engine/client/serverbrowser.cpp
  705. [277/327] [5] c++ src/engine/client/input.cpp
  706. [278/327] [6] c++ src/engine/client/graphics_threaded.cpp
  707. [279/327] [7] c++ src/engine/client/graphics.cpp
  708. [280/327] [8] c++ src/engine/client/friends.cpp
  709. [281/327] [1] c++ src/engine/client/client.cpp
  710. [282/327] [2] c++ src/engine/client/backend_sdl.cpp
  711. [283/327] [3] c++ src/game/generated/client_data.cpp
  712. [284/327] [4] c++ src/game/client/ui.cpp
  713. src/engine/client/input.cpp:281:33: warning: array subscript is of type 'char'
  714. [-Wchar-subscripts]
  715. m_aInputCount[m_InputCurrent]['a'].m_Presses++;
  716. ^~~~
  717. src/engine/client/input.cpp:282:33: warning: array subscript is of type 'char'
  718. [-Wchar-subscripts]
  719. m_aInputState[m_InputCurrent]['a'] = 1;
  720. ^~~~
  721. src/engine/client/input.cpp:289:33: warning: array subscript is of type 'char'
  722. [-Wchar-subscripts]
  723. m_aInputCount[m_InputCurrent]['d'].m_Presses++;
  724. ^~~~
  725. src/engine/client/input.cpp:290:33: warning: array subscript is of type 'char'
  726. [-Wchar-subscripts]
  727. m_aInputState[m_InputCurrent]['d'] = 1;
  728. ^~~~
  729. src/engine/client/input.cpp:297:33: warning: array subscript is of type 'char'
  730. [-Wchar-subscripts]
  731. m_aInputCount[m_InputCurrent]['a'].m_Presses++;
  732. ^~~~
  733. src/engine/client/input.cpp:304:33: warning: array subscript is of type 'char'
  734. [-Wchar-subscripts]
  735. m_aInputCount[m_InputCurrent]['d'].m_Presses++;
  736. ^~~~
  737. 6 warnings generated.
  738. [285/327] [5] c++ src/game/client/render_map.cpp
  739. [286/327] [6] c++ src/game/client/render.cpp
  740. In file included from src/engine/client/graphics.cpp:9:
  741. /Library/Frameworks/SDL.framework/Headers/SDL_opengl.h:3117:19: error: typedef redefinition with
  742. different types ('ptrdiff_t' (aka 'int') vs 'intptr_t' (aka 'long'))
  743. typedef ptrdiff_t GLintptrARB;
  744. ^
  745. /System/Library/Frameworks/OpenGL.framework/Headers/gltypes.h:55:18: note: previous definition
  746. is here
  747. typedef intptr_t GLintptrARB;
  748. ^
  749. In file included from src/engine/client/graphics.cpp:9:
  750. /Library/Frameworks/SDL.framework/Headers/SDL_opengl.h:3118:19: error: typedef redefinition with
  751. different types ('ptrdiff_t' (aka 'int') vs 'intptr_t' (aka 'long'))
  752. typedef ptrdiff_t GLsizeiptrARB;
  753. ^
  754. /System/Library/Frameworks/OpenGL.framework/Headers/gltypes.h:56:18: note: previous definition
  755. is here
  756. typedef intptr_t GLsizeiptrARB;
  757. ^
  758. In file included from src/engine/client/graphics.cpp:9:
  759. /Library/Frameworks/SDL.framework/Headers/SDL_opengl.h:3124:22: error: typedef redefinition with
  760. different types ('unsigned int' vs 'void *')
  761. typedef unsigned int GLhandleARB; /* shader object handle */
  762. ^
  763. /System/Library/Frameworks/OpenGL.framework/Headers/gltypes.h:28:18: note: previous definition
  764. is here
  765. typedef void *GLhandleARB;
  766. ^
  767. 3 errors generated.
  768. bam: 'c++ src/engine/client/graphics.cpp' error 256
  769. [287/327] [7] c++ src/game/client/lineinput.cpp
  770. [288/327] [8] c++ src/game/client/gameclient.cpp
  771. In file included from src/engine/client/client.cpp:45:
  772. src/engine/client/client.h:36:8: warning: private field 'm_RLast' is not used
  773. [-Wunused-private-field]
  774. int64 m_RLast;
  775. ^
  776. src/engine/client/client.h:37:8: warning: private field 'm_TLast' is not used
  777. [-Wunused-private-field]
  778. int64 m_TLast;
  779. ^
  780. 2 warnings generated.
  781. [289/327] [1] c++ src/game/client/customstuff.cpp
  782. In file included from src/engine/client/backend_sdl.cpp:3:
  783. /Library/Frameworks/SDL.framework/Headers/SDL_opengl.h:3117:19: error: typedef redefinition with
  784. different types ('ptrdiff_t' (aka 'int') vs 'intptr_t' (aka 'long'))
  785. typedef ptrdiff_t GLintptrARB;
  786. ^
  787. /System/Library/Frameworks/OpenGL.framework/Headers/gltypes.h:55:18: note: previous definition
  788. is here
  789. typedef intptr_t GLintptrARB;
  790. ^
  791. In file included from src/engine/client/backend_sdl.cpp:3:
  792. /Library/Frameworks/SDL.framework/Headers/SDL_opengl.h:3118:19: error: typedef redefinition with
  793. different types ('ptrdiff_t' (aka 'int') vs 'intptr_t' (aka 'long'))
  794. typedef ptrdiff_t GLsizeiptrARB;
  795. ^
  796. /System/Library/Frameworks/OpenGL.framework/Headers/gltypes.h:56:18: note: previous definition
  797. is here
  798. typedef intptr_t GLsizeiptrARB;
  799. ^
  800. In file included from src/engine/client/backend_sdl.cpp:3:
  801. /Library/Frameworks/SDL.framework/Headers/SDL_opengl.h:3124:22: error: typedef redefinition with
  802. different types ('unsigned int' vs 'void *')
  803. typedef unsigned int GLhandleARB; /* shader object handle */
  804. ^
  805. /System/Library/Frameworks/OpenGL.framework/Headers/gltypes.h:28:18: note: previous definition
  806. is here
  807. typedef void *GLhandleARB;
  808. ^
  809. 3 errors generated.
  810. bam: 'c++ src/engine/client/backend_sdl.cpp' error 256
  811. [290/327] [2] c++ src/game/client/customstuff/tracer.cpp
  812. [291/327] [3] c++ src/game/client/customstuff/playerinfo.cpp
  813. [292/327] [4] c++ src/game/client/customstuff/meleeweapon.cpp
  814. [293/327] [5] c++ src/game/client/components/voting.cpp
  815. [294/327] [6] c++ src/game/client/components/splatter.cpp
  816. [295/327] [7] c++ src/game/client/components/spectator.cpp
  817. src/game/client/gameclient.cpp:658:12: warning: using integer absolute value function 'abs' when
  818. argument is of floating point type [-Wabsolute-value]
  819. if (abs(CustomStuff()->m_aPlayer...
  820. ^
  821. src/game/client/gameclient.cpp:658:12: note: use function 'std::abs' instead
  822. if (abs(CustomStuff()->m_aPlayer...
  823. ^~~
  824. std::abs
  825. src/game/client/gameclient.cpp:658:12: note: include the header <cmath> or explicitly provide a
  826. declaration for 'std::abs'
  827. src/game/client/gameclient.cpp:658:76: warning: using integer absolute value function 'abs' when
  828. argument is of floating point type [-Wabsolute-value]
  829. ...if (abs(CustomStuff()->m_aPlayerInfo[c].Pos().x - ev->m_X) < 250 && abs(CustomStuff()->m...
  830. ^
  831. src/game/client/gameclient.cpp:658:76: note: use function 'std::abs' instead
  832. ...if (abs(CustomStuff()->m_aPlayerInfo[c].Pos().x - ev->m_X) < 250 && abs(CustomStuff()->m...
  833. ^~~
  834. std::abs
  835. src/game/client/gameclient.cpp:658:76: note: include the header <cmath> or explicitly provide a
  836. declaration for 'std::abs'
  837. 2 warnings generated.
  838. [296/327] [8] c++ src/game/client/components/spark.cpp
  839. [297/327] [1] c++ src/game/client/components/sounds.cpp
  840. [298/327] [2] link serverlaunch_x86_64
  841. [299/327] [3] link serverlaunch_x86
  842. src/game/client/customstuff/meleeweapon.cpp:270:8: warning: unused variable 's'
  843. [-Wunused-variable]
  844. float s = 16;
  845. ^
  846. 1 warning generated.
  847. src/game/client/components/spark.cpp:91:8: warning: using integer absolute value function 'abs'
  848. when argument is of floating point type [-Wabsolute-value]
  849. if (abs(m_aSpark[i].m_Vel.x) + abs(m_aSpark[i].m_Vel.y) > 60.0f)
  850. ^
  851. src/game/client/components/spark.cpp:91:8: note: use function 'std::abs' instead
  852. if (abs(m_aSpark[i].m_Vel.x) + abs(m_aSpark[i].m_Vel.y) > 60.0f)
  853. ^~~
  854. std::abs
  855. src/game/client/components/spark.cpp:91:8: note: include the header <cmath> or explicitly
  856. provide a declaration for 'std::abs'
  857. src/game/client/components/spark.cpp:91:35: warning: using integer absolute value function 'abs'
  858. when argument is of floating point type [-Wabsolute-value]
  859. if (abs(m_aSpark[i].m_Vel.x) + abs(m_aSpark[i].m_Vel.y) > 60.0f)
  860. ^
  861. src/game/client/components/spark.cpp:91:35: note: use function 'std::abs' instead
  862. if (abs(m_aSpark[i].m_Vel.x) + abs(m_aSpark[i].m_Vel.y) > 60.0f)
  863. ^~~
  864. std::abs
  865. src/game/client/components/spark.cpp:91:35: note: include the header <cmath> or explicitly
  866. provide a declaration for 'std::abs'
  867. 2 warnings generated.
  868. bam: error: a build step failed
  869. Johns-MBP:Goreworlds john$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement