Advertisement
pauldacheez

citra - issue-7-fix compile output

Apr 29th, 2014
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 179.06 KB | None | 0 0
  1. Pauls-MacBook-Air:citra Paul$ cmake . && make -k
  2. -- The C compiler identification is Clang 5.1.0
  3. -- The CXX compiler identification is Clang 5.1.0
  4. -- Check for working C compiler: /usr/bin/cc
  5. -- Check for working C compiler: /usr/bin/cc -- works
  6. -- Detecting C compiler ABI info
  7. -- Detecting C compiler ABI info - done
  8. -- Check for working CXX compiler: /usr/bin/c++
  9. -- Check for working CXX compiler: /usr/bin/c++ -- works
  10. -- Detecting CXX compiler ABI info
  11. -- Detecting CXX compiler ABI info - done
  12. -- Found OpenGL: /System/Library/Frameworks/OpenGL.framework
  13. -- Looking for XOpenDisplay in /opt/local/lib/libX11.dylib;/opt/local/lib/libXext.dylib
  14. -- Looking for XOpenDisplay in /opt/local/lib/libX11.dylib;/opt/local/lib/libXext.dylib - found
  15. -- Looking for gethostbyname
  16. -- Looking for gethostbyname - found
  17. -- Looking for connect
  18. -- Looking for connect - found
  19. -- Looking for remove
  20. -- Looking for remove - found
  21. -- Looking for shmat
  22. -- Looking for shmat - found
  23. -- Looking for IceConnectionNumber in ICE
  24. -- Looking for IceConnectionNumber in ICE - found
  25. -- Found X11: /opt/local/lib/libX11.dylib
  26. -- Found PkgConfig: /opt/local/bin/pkg-config (found version "0.28")
  27. -- checking for one of the modules 'glfw3'
  28. -- Looking for Q_WS_X11
  29. -- Looking for Q_WS_X11 - not found
  30. -- Looking for Q_WS_WIN
  31. -- Looking for Q_WS_WIN - not found
  32. -- Looking for Q_WS_QWS
  33. -- Looking for Q_WS_QWS - not found
  34. -- Looking for Q_WS_MAC
  35. -- Looking for Q_WS_MAC - found
  36. -- Looking for QT_MAC_USE_COCOA
  37. -- Looking for QT_MAC_USE_COCOA - found
  38. -- Found Qt4: /opt/local/bin/qmake (found version "4.8.5")
  39. -- Found Qt4: /opt/local/bin/qmake (found version "4.8.5")
  40. -- Configuring done
  41. -- Generating done
  42. -- Build files have been written to: /Users/Paul/Desktop/repo/git/citra
  43. [ 1%] Generating moc_qhexedit_p.cxx
  44. [ 2%] Generating moc_qhexedit.cxx
  45. Scanning dependencies of target qhexedit
  46. [ 3%] Building CXX object externals/qhexedit/CMakeFiles/qhexedit.dir/commands.cpp.o
  47. [ 4%] Building CXX object externals/qhexedit/CMakeFiles/qhexedit.dir/qhexedit.cpp.o
  48. [ 5%] Building CXX object externals/qhexedit/CMakeFiles/qhexedit.dir/qhexedit_p.cpp.o
  49. [ 6%] Building CXX object externals/qhexedit/CMakeFiles/qhexedit.dir/xbytearray.cpp.o
  50. [ 7%] Building CXX object externals/qhexedit/CMakeFiles/qhexedit.dir/moc_qhexedit.cxx.o
  51. [ 8%] Building CXX object externals/qhexedit/CMakeFiles/qhexedit.dir/moc_qhexedit_p.cxx.o
  52. Linking CXX static library libqhexedit.a
  53. [ 8%] Built target qhexedit
  54. Scanning dependencies of target common
  55. [ 9%] Building CXX object src/common/CMakeFiles/common.dir/break_points.cpp.o
  56. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/break_points.cpp:5:
  57. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:43:
  58. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  59. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  60. return (T)bswap64(*(u64 *)&x);
  61. ^
  62. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  63. return (T)bswap32(*(u32 *)&x);
  64. ^
  65. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  66. return (T)bswap16(*(u16 *)&x);
  67. ^
  68. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  69. return (T)bswapf(*(float *)&x);
  70. ^~~~~~
  71. swap
  72. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  73. static T swap(T x) {
  74. ^
  75. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  76. return (T)bswapd(*(double *)&x);
  77. ^~~~~~
  78. swap
  79. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  80. static T swap(T x) {
  81. ^
  82. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/break_points.cpp:5:
  83. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  84. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  85. #define LONG long
  86. ^
  87. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  88. #define LONG int
  89. ^
  90. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/break_points.cpp:5:
  91. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  92. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  93. #define MAX_PATH PATH_MAX
  94. ^
  95. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  96. #define MAX_PATH 260
  97. ^
  98. 2 warnings and 5 errors generated.
  99. make[2]: *** [src/common/CMakeFiles/common.dir/break_points.cpp.o] Error 1
  100. [ 10%] Building CXX object src/common/CMakeFiles/common.dir/console_listener.cpp.o
  101. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/console_listener.cpp:16:
  102. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:43:
  103. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  104. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  105. return (T)bswap64(*(u64 *)&x);
  106. ^
  107. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  108. return (T)bswap32(*(u32 *)&x);
  109. ^
  110. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  111. return (T)bswap16(*(u16 *)&x);
  112. ^
  113. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  114. return (T)bswapf(*(float *)&x);
  115. ^~~~~~
  116. swap
  117. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  118. static T swap(T x) {
  119. ^
  120. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  121. return (T)bswapd(*(double *)&x);
  122. ^~~~~~
  123. swap
  124. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  125. static T swap(T x) {
  126. ^
  127. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/console_listener.cpp:16:
  128. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  129. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  130. #define LONG long
  131. ^
  132. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  133. #define LONG int
  134. ^
  135. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/console_listener.cpp:16:
  136. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  137. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  138. #define MAX_PATH PATH_MAX
  139. ^
  140. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  141. #define MAX_PATH 260
  142. ^
  143. 2 warnings and 5 errors generated.
  144. make[2]: *** [src/common/CMakeFiles/common.dir/console_listener.cpp.o] Error 1
  145. [ 11%] Building CXX object src/common/CMakeFiles/common.dir/extended_trace.cpp.o
  146. [ 12%] Building CXX object src/common/CMakeFiles/common.dir/file_search.cpp.o
  147. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/file_search.cpp:6:
  148. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:43:
  149. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  150. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  151. return (T)bswap64(*(u64 *)&x);
  152. ^
  153. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  154. return (T)bswap32(*(u32 *)&x);
  155. ^
  156. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  157. return (T)bswap16(*(u16 *)&x);
  158. ^
  159. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  160. return (T)bswapf(*(float *)&x);
  161. ^~~~~~
  162. swap
  163. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  164. static T swap(T x) {
  165. ^
  166. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  167. return (T)bswapd(*(double *)&x);
  168. ^~~~~~
  169. swap
  170. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  171. static T swap(T x) {
  172. ^
  173. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/file_search.cpp:6:
  174. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  175. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  176. #define LONG long
  177. ^
  178. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  179. #define LONG int
  180. ^
  181. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/file_search.cpp:6:
  182. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  183. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  184. #define MAX_PATH PATH_MAX
  185. ^
  186. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  187. #define MAX_PATH 260
  188. ^
  189. 2 warnings and 5 errors generated.
  190. make[2]: *** [src/common/CMakeFiles/common.dir/file_search.cpp.o] Error 1
  191. [ 13%] Building CXX object src/common/CMakeFiles/common.dir/file_util.cpp.o
  192. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/file_util.cpp:6:
  193. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:43:
  194. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  195. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  196. return (T)bswap64(*(u64 *)&x);
  197. ^
  198. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  199. return (T)bswap32(*(u32 *)&x);
  200. ^
  201. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  202. return (T)bswap16(*(u16 *)&x);
  203. ^
  204. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  205. return (T)bswapf(*(float *)&x);
  206. ^~~~~~
  207. swap
  208. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  209. static T swap(T x) {
  210. ^
  211. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  212. return (T)bswapd(*(double *)&x);
  213. ^~~~~~
  214. swap
  215. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  216. static T swap(T x) {
  217. ^
  218. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/file_util.cpp:6:
  219. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  220. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  221. #define LONG long
  222. ^
  223. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  224. #define LONG int
  225. ^
  226. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/file_util.cpp:6:
  227. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  228. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  229. #define MAX_PATH PATH_MAX
  230. ^
  231. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  232. #define MAX_PATH 260
  233. ^
  234. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/file_util.cpp:27:
  235. In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h:8:
  236. In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:68:
  237. /usr/include/MacTypes.h:535:8: error: redefinition of 'Rect'
  238. struct Rect {
  239. ^
  240. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:104:7: note: previous definition is here
  241. class Rect {
  242. ^
  243. 2 warnings and 6 errors generated.
  244. make[2]: *** [src/common/CMakeFiles/common.dir/file_util.cpp.o] Error 1
  245. [ 14%] Building CXX object src/common/CMakeFiles/common.dir/hash.cpp.o
  246. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/hash.cpp:6:
  247. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/hash.h:9:
  248. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:43:
  249. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  250. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  251. return (T)bswap64(*(u64 *)&x);
  252. ^
  253. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  254. return (T)bswap32(*(u32 *)&x);
  255. ^
  256. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  257. return (T)bswap16(*(u16 *)&x);
  258. ^
  259. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  260. return (T)bswapf(*(float *)&x);
  261. ^~~~~~
  262. swap
  263. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  264. static T swap(T x) {
  265. ^
  266. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  267. return (T)bswapd(*(double *)&x);
  268. ^~~~~~
  269. swap
  270. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  271. static T swap(T x) {
  272. ^
  273. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/hash.cpp:6:
  274. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/hash.h:9:
  275. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  276. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  277. #define LONG long
  278. ^
  279. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  280. #define LONG int
  281. ^
  282. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/hash.cpp:6:
  283. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/hash.h:9:
  284. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  285. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  286. #define MAX_PATH PATH_MAX
  287. ^
  288. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  289. #define MAX_PATH 260
  290. ^
  291. 2 warnings and 5 errors generated.
  292. make[2]: *** [src/common/CMakeFiles/common.dir/hash.cpp.o] Error 1
  293. [ 15%] Building CXX object src/common/CMakeFiles/common.dir/log_manager.cpp.o
  294. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/log_manager.cpp:7:
  295. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/log_manager.h:9:
  296. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/string_util.h:15:
  297. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:43:
  298. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  299. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  300. return (T)bswap64(*(u64 *)&x);
  301. ^
  302. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  303. return (T)bswap32(*(u32 *)&x);
  304. ^
  305. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  306. return (T)bswap16(*(u16 *)&x);
  307. ^
  308. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  309. return (T)bswapf(*(float *)&x);
  310. ^~~~~~
  311. swap
  312. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  313. static T swap(T x) {
  314. ^
  315. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  316. return (T)bswapd(*(double *)&x);
  317. ^~~~~~
  318. swap
  319. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  320. static T swap(T x) {
  321. ^
  322. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/log_manager.cpp:7:
  323. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/log_manager.h:9:
  324. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/string_util.h:15:
  325. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  326. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  327. #define LONG long
  328. ^
  329. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  330. #define LONG int
  331. ^
  332. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/log_manager.cpp:7:
  333. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/log_manager.h:9:
  334. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/string_util.h:15:
  335. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  336. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  337. #define MAX_PATH PATH_MAX
  338. ^
  339. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  340. #define MAX_PATH 260
  341. ^
  342. /Users/Paul/Desktop/repo/git/citra/src/common/log_manager.cpp:130:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  343. printf(msg); // TODO(ShizZy): RemoveMe when I no longer need this
  344. ^~~
  345. 3 warnings and 5 errors generated.
  346. make[2]: *** [src/common/CMakeFiles/common.dir/log_manager.cpp.o] Error 1
  347. [ 17%] Building CXX object src/common/CMakeFiles/common.dir/math_util.cpp.o
  348. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/math_util.cpp:6:
  349. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:43:
  350. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  351. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  352. return (T)bswap64(*(u64 *)&x);
  353. ^
  354. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  355. return (T)bswap32(*(u32 *)&x);
  356. ^
  357. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  358. return (T)bswap16(*(u16 *)&x);
  359. ^
  360. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  361. return (T)bswapf(*(float *)&x);
  362. ^~~~~~
  363. swap
  364. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  365. static T swap(T x) {
  366. ^
  367. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  368. return (T)bswapd(*(double *)&x);
  369. ^~~~~~
  370. swap
  371. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  372. static T swap(T x) {
  373. ^
  374. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/math_util.cpp:6:
  375. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  376. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  377. #define LONG long
  378. ^
  379. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  380. #define LONG int
  381. ^
  382. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/math_util.cpp:6:
  383. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  384. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  385. #define MAX_PATH PATH_MAX
  386. ^
  387. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  388. #define MAX_PATH 260
  389. ^
  390. 2 warnings and 5 errors generated.
  391. make[2]: *** [src/common/CMakeFiles/common.dir/math_util.cpp.o] Error 1
  392. [ 18%] Building CXX object src/common/CMakeFiles/common.dir/mem_arena.cpp.o
  393. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/mem_arena.cpp:21:
  394. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/mem_arena.h:29:
  395. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:43:
  396. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  397. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  398. return (T)bswap64(*(u64 *)&x);
  399. ^
  400. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  401. return (T)bswap32(*(u32 *)&x);
  402. ^
  403. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  404. return (T)bswap16(*(u16 *)&x);
  405. ^
  406. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  407. return (T)bswapf(*(float *)&x);
  408. ^~~~~~
  409. swap
  410. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  411. static T swap(T x) {
  412. ^
  413. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  414. return (T)bswapd(*(double *)&x);
  415. ^~~~~~
  416. swap
  417. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  418. static T swap(T x) {
  419. ^
  420. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/mem_arena.cpp:21:
  421. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/mem_arena.h:29:
  422. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  423. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  424. #define LONG long
  425. ^
  426. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  427. #define LONG int
  428. ^
  429. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/mem_arena.cpp:21:
  430. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/mem_arena.h:29:
  431. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  432. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  433. #define MAX_PATH PATH_MAX
  434. ^
  435. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  436. #define MAX_PATH 260
  437. ^
  438. 2 warnings and 5 errors generated.
  439. make[2]: *** [src/common/CMakeFiles/common.dir/mem_arena.cpp.o] Error 1
  440. [ 19%] Building CXX object src/common/CMakeFiles/common.dir/memory_util.cpp.o
  441. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/memory_util.cpp:6:
  442. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:43:
  443. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  444. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  445. return (T)bswap64(*(u64 *)&x);
  446. ^
  447. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  448. return (T)bswap32(*(u32 *)&x);
  449. ^
  450. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  451. return (T)bswap16(*(u16 *)&x);
  452. ^
  453. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  454. return (T)bswapf(*(float *)&x);
  455. ^~~~~~
  456. swap
  457. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  458. static T swap(T x) {
  459. ^
  460. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  461. return (T)bswapd(*(double *)&x);
  462. ^~~~~~
  463. swap
  464. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  465. static T swap(T x) {
  466. ^
  467. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/memory_util.cpp:6:
  468. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  469. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  470. #define LONG long
  471. ^
  472. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  473. #define LONG int
  474. ^
  475. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/memory_util.cpp:6:
  476. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  477. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  478. #define MAX_PATH PATH_MAX
  479. ^
  480. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  481. #define MAX_PATH 260
  482. ^
  483. 2 warnings and 5 errors generated.
  484. make[2]: *** [src/common/CMakeFiles/common.dir/memory_util.cpp.o] Error 1
  485. [ 20%] Building CXX object src/common/CMakeFiles/common.dir/misc.cpp.o
  486. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/misc.cpp:5:
  487. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:43:
  488. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  489. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  490. return (T)bswap64(*(u64 *)&x);
  491. ^
  492. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  493. return (T)bswap32(*(u32 *)&x);
  494. ^
  495. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  496. return (T)bswap16(*(u16 *)&x);
  497. ^
  498. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  499. return (T)bswapf(*(float *)&x);
  500. ^~~~~~
  501. swap
  502. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  503. static T swap(T x) {
  504. ^
  505. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  506. return (T)bswapd(*(double *)&x);
  507. ^~~~~~
  508. swap
  509. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  510. static T swap(T x) {
  511. ^
  512. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/misc.cpp:5:
  513. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  514. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  515. #define LONG long
  516. ^
  517. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  518. #define LONG int
  519. ^
  520. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/misc.cpp:5:
  521. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  522. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  523. #define MAX_PATH PATH_MAX
  524. ^
  525. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  526. #define MAX_PATH 260
  527. ^
  528. 2 warnings and 5 errors generated.
  529. make[2]: *** [src/common/CMakeFiles/common.dir/misc.cpp.o] Error 1
  530. [ 21%] Building CXX object src/common/CMakeFiles/common.dir/msg_handler.cpp.o
  531. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/msg_handler.cpp:7:
  532. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:43:
  533. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  534. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  535. return (T)bswap64(*(u64 *)&x);
  536. ^
  537. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  538. return (T)bswap32(*(u32 *)&x);
  539. ^
  540. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  541. return (T)bswap16(*(u16 *)&x);
  542. ^
  543. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  544. return (T)bswapf(*(float *)&x);
  545. ^~~~~~
  546. swap
  547. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  548. static T swap(T x) {
  549. ^
  550. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  551. return (T)bswapd(*(double *)&x);
  552. ^~~~~~
  553. swap
  554. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  555. static T swap(T x) {
  556. ^
  557. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/msg_handler.cpp:7:
  558. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  559. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  560. #define LONG long
  561. ^
  562. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  563. #define LONG int
  564. ^
  565. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/msg_handler.cpp:7:
  566. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  567. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  568. #define MAX_PATH PATH_MAX
  569. ^
  570. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  571. #define MAX_PATH 260
  572. ^
  573. 2 warnings and 5 errors generated.
  574. make[2]: *** [src/common/CMakeFiles/common.dir/msg_handler.cpp.o] Error 1
  575. [ 22%] Building CXX object src/common/CMakeFiles/common.dir/string_util.cpp.o
  576. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/string_util.cpp:9:
  577. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:43:
  578. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  579. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  580. return (T)bswap64(*(u64 *)&x);
  581. ^
  582. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  583. return (T)bswap32(*(u32 *)&x);
  584. ^
  585. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  586. return (T)bswap16(*(u16 *)&x);
  587. ^
  588. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  589. return (T)bswapf(*(float *)&x);
  590. ^~~~~~
  591. swap
  592. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  593. static T swap(T x) {
  594. ^
  595. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  596. return (T)bswapd(*(double *)&x);
  597. ^~~~~~
  598. swap
  599. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  600. static T swap(T x) {
  601. ^
  602. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/string_util.cpp:9:
  603. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  604. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  605. #define LONG long
  606. ^
  607. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  608. #define LONG int
  609. ^
  610. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/string_util.cpp:9:
  611. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  612. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  613. #define MAX_PATH PATH_MAX
  614. ^
  615. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  616. #define MAX_PATH 260
  617. ^
  618. 2 warnings and 5 errors generated.
  619. make[2]: *** [src/common/CMakeFiles/common.dir/string_util.cpp.o] Error 1
  620. [ 23%] Building CXX object src/common/CMakeFiles/common.dir/scm_rev.cpp.o
  621. [ 24%] Building CXX object src/common/CMakeFiles/common.dir/symbols.cpp.o
  622. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/symbols.cpp:5:
  623. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/symbols.h:9:
  624. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:43:
  625. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  626. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  627. return (T)bswap64(*(u64 *)&x);
  628. ^
  629. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  630. return (T)bswap32(*(u32 *)&x);
  631. ^
  632. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  633. return (T)bswap16(*(u16 *)&x);
  634. ^
  635. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  636. return (T)bswapf(*(float *)&x);
  637. ^~~~~~
  638. swap
  639. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  640. static T swap(T x) {
  641. ^
  642. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  643. return (T)bswapd(*(double *)&x);
  644. ^~~~~~
  645. swap
  646. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  647. static T swap(T x) {
  648. ^
  649. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/symbols.cpp:5:
  650. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/symbols.h:9:
  651. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  652. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  653. #define LONG long
  654. ^
  655. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  656. #define LONG int
  657. ^
  658. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/symbols.cpp:5:
  659. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/symbols.h:9:
  660. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  661. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  662. #define MAX_PATH PATH_MAX
  663. ^
  664. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  665. #define MAX_PATH 260
  666. ^
  667. /Users/Paul/Desktop/repo/git/citra/src/common/symbols.cpp:45:16: warning: returning reference to local temporary object [-Wreturn-stack-address]
  668. return GetSymbol(_address).name;
  669. ^~~~~~~~~~~~~~~~~~~~~~~~
  670. 3 warnings and 5 errors generated.
  671. make[2]: *** [src/common/CMakeFiles/common.dir/symbols.cpp.o] Error 1
  672. [ 25%] Building CXX object src/common/CMakeFiles/common.dir/thread.cpp.o
  673. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/thread.cpp:5:
  674. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/thread.h:13:
  675. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  676. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  677. return (T)bswap64(*(u64 *)&x);
  678. ^
  679. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  680. return (T)bswap32(*(u32 *)&x);
  681. ^
  682. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  683. return (T)bswap16(*(u16 *)&x);
  684. ^
  685. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  686. return (T)bswapf(*(float *)&x);
  687. ^~~~~~
  688. swap
  689. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  690. static T swap(T x) {
  691. ^
  692. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  693. return (T)bswapd(*(double *)&x);
  694. ^~~~~~
  695. swap
  696. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  697. static T swap(T x) {
  698. ^
  699. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/thread.cpp:6:
  700. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  701. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  702. #define LONG long
  703. ^
  704. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  705. #define LONG int
  706. ^
  707. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/thread.cpp:6:
  708. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  709. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  710. #define MAX_PATH PATH_MAX
  711. ^
  712. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  713. #define MAX_PATH 260
  714. ^
  715. 2 warnings and 5 errors generated.
  716. make[2]: *** [src/common/CMakeFiles/common.dir/thread.cpp.o] Error 1
  717. [ 26%] Building CXX object src/common/CMakeFiles/common.dir/timer.cpp.o
  718. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/timer.cpp:15:
  719. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:43:
  720. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  721. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  722. return (T)bswap64(*(u64 *)&x);
  723. ^
  724. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  725. return (T)bswap32(*(u32 *)&x);
  726. ^
  727. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  728. return (T)bswap16(*(u16 *)&x);
  729. ^
  730. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  731. return (T)bswapf(*(float *)&x);
  732. ^~~~~~
  733. swap
  734. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  735. static T swap(T x) {
  736. ^
  737. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  738. return (T)bswapd(*(double *)&x);
  739. ^~~~~~
  740. swap
  741. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  742. static T swap(T x) {
  743. ^
  744. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/timer.cpp:15:
  745. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  746. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  747. #define LONG long
  748. ^
  749. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  750. #define LONG int
  751. ^
  752. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/timer.cpp:15:
  753. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  754. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  755. #define MAX_PATH PATH_MAX
  756. ^
  757. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  758. #define MAX_PATH 260
  759. ^
  760. 2 warnings and 5 errors generated.
  761. make[2]: *** [src/common/CMakeFiles/common.dir/timer.cpp.o] Error 1
  762. [ 27%] Building CXX object src/common/CMakeFiles/common.dir/utf8.cpp.o
  763. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/utf8.cpp:29:
  764. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  765. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  766. return (T)bswap64(*(u64 *)&x);
  767. ^
  768. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  769. return (T)bswap32(*(u32 *)&x);
  770. ^
  771. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  772. return (T)bswap16(*(u16 *)&x);
  773. ^
  774. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  775. return (T)bswapf(*(float *)&x);
  776. ^~~~~~
  777. swap
  778. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  779. static T swap(T x) {
  780. ^
  781. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  782. return (T)bswapd(*(double *)&x);
  783. ^~~~~~
  784. swap
  785. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  786. static T swap(T x) {
  787. ^
  788. 5 errors generated.
  789. make[2]: *** [src/common/CMakeFiles/common.dir/utf8.cpp.o] Error 1
  790. make[2]: Target `src/common/CMakeFiles/common.dir/build' not remade because of errors.
  791. make[1]: *** [src/common/CMakeFiles/common.dir/all] Error 2
  792. Scanning dependencies of target core
  793. [ 28%] Building CXX object src/core/CMakeFiles/core.dir/core.cpp.o
  794. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/core.cpp:5:
  795. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  796. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  797. return (T)bswap64(*(u64 *)&x);
  798. ^
  799. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  800. return (T)bswap32(*(u32 *)&x);
  801. ^
  802. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  803. return (T)bswap16(*(u16 *)&x);
  804. ^
  805. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  806. return (T)bswapf(*(float *)&x);
  807. ^~~~~~
  808. swap
  809. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  810. static T swap(T x) {
  811. ^
  812. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  813. return (T)bswapd(*(double *)&x);
  814. ^~~~~~
  815. swap
  816. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  817. static T swap(T x) {
  818. ^
  819. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/core.cpp:7:
  820. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/core.h:7:
  821. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/arm_interface.h:7:
  822. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  823. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  824. #define LONG long
  825. ^
  826. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  827. #define LONG int
  828. ^
  829. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/core.cpp:7:
  830. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/core.h:7:
  831. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/arm_interface.h:7:
  832. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  833. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  834. #define MAX_PATH PATH_MAX
  835. ^
  836. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  837. #define MAX_PATH 260
  838. ^
  839. /Users/Paul/Desktop/repo/git/citra/src/core/core.cpp:54:5: warning: delete called on 'ARM_Interface' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor]
  840. delete g_app_core;
  841. ^
  842. /Users/Paul/Desktop/repo/git/citra/src/core/core.cpp:55:5: warning: delete called on 'ARM_Interface' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor]
  843. delete g_sys_core;
  844. ^
  845. 4 warnings and 5 errors generated.
  846. make[2]: *** [src/core/CMakeFiles/core.dir/core.cpp.o] Error 1
  847. [ 29%] Building CXX object src/core/CMakeFiles/core.dir/core_timing.cpp.o
  848. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/core_timing.cpp:10:
  849. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/atomic.h:15:
  850. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/atomic_gcc.h:8:
  851. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:43:
  852. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  853. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  854. return (T)bswap64(*(u64 *)&x);
  855. ^
  856. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  857. return (T)bswap32(*(u32 *)&x);
  858. ^
  859. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  860. return (T)bswap16(*(u16 *)&x);
  861. ^
  862. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  863. return (T)bswapf(*(float *)&x);
  864. ^~~~~~
  865. swap
  866. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  867. static T swap(T x) {
  868. ^
  869. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  870. return (T)bswapd(*(double *)&x);
  871. ^~~~~~
  872. swap
  873. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  874. static T swap(T x) {
  875. ^
  876. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/core_timing.cpp:10:
  877. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/atomic.h:15:
  878. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/atomic_gcc.h:8:
  879. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  880. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  881. #define LONG long
  882. ^
  883. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  884. #define LONG int
  885. ^
  886. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/core_timing.cpp:10:
  887. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/atomic.h:15:
  888. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/atomic_gcc.h:8:
  889. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  890. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  891. #define MAX_PATH PATH_MAX
  892. ^
  893. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  894. #define MAX_PATH 260
  895. ^
  896. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/core_timing.cpp:11:
  897. /Users/Paul/Desktop/repo/git/citra/src/common/chunk_file.h:741:13: error: use of undeclared identifier 'snappy_uncompress'
  898. snappy_uncompress((const char *)buffer, sz, (char *)uncomp_buffer, &uncomp_size);
  899. ^
  900. /Users/Paul/Desktop/repo/git/citra/src/common/chunk_file.h:799:31: error: use of undeclared identifier 'snappy_max_compressed_length'
  901. size_t comp_len = snappy_max_compressed_length(sz);
  902. ^
  903. /Users/Paul/Desktop/repo/git/citra/src/common/chunk_file.h:801:13: error: use of undeclared identifier 'snappy_compress'
  904. snappy_compress((const char *)buffer, sz, (char *)compressed_buffer, &comp_len);
  905. ^
  906. 2 warnings and 8 errors generated.
  907. make[2]: *** [src/core/CMakeFiles/core.dir/core_timing.cpp.o] Error 1
  908. [ 30%] Building CXX object src/core/CMakeFiles/core.dir/loader.cpp.o
  909. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/loader.cpp:5:
  910. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  911. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  912. return (T)bswap64(*(u64 *)&x);
  913. ^
  914. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  915. return (T)bswap32(*(u32 *)&x);
  916. ^
  917. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  918. return (T)bswap16(*(u16 *)&x);
  919. ^
  920. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  921. return (T)bswapf(*(float *)&x);
  922. ^~~~~~
  923. swap
  924. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  925. static T swap(T x) {
  926. ^
  927. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  928. return (T)bswapd(*(double *)&x);
  929. ^~~~~~
  930. swap
  931. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  932. static T swap(T x) {
  933. ^
  934. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/loader.cpp:6:
  935. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/file_util.h:15:
  936. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  937. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  938. #define LONG long
  939. ^
  940. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  941. #define LONG int
  942. ^
  943. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/loader.cpp:6:
  944. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/file_util.h:15:
  945. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  946. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  947. #define MAX_PATH PATH_MAX
  948. ^
  949. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  950. #define MAX_PATH 260
  951. ^
  952. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/loader.cpp:9:
  953. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/system.h:8:
  954. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/file_sys/meta_file_system.h:22:
  955. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/file_sys/file_sys.h:21:
  956. /Users/Paul/Desktop/repo/git/citra/src/common/chunk_file.h:741:13: error: use of undeclared identifier 'snappy_uncompress'
  957. snappy_uncompress((const char *)buffer, sz, (char *)uncomp_buffer, &uncomp_size);
  958. ^
  959. /Users/Paul/Desktop/repo/git/citra/src/common/chunk_file.h:799:31: error: use of undeclared identifier 'snappy_max_compressed_length'
  960. size_t comp_len = snappy_max_compressed_length(sz);
  961. ^
  962. /Users/Paul/Desktop/repo/git/citra/src/common/chunk_file.h:801:13: error: use of undeclared identifier 'snappy_compress'
  963. snappy_compress((const char *)buffer, sz, (char *)compressed_buffer, &comp_len);
  964. ^
  965. 2 warnings and 8 errors generated.
  966. make[2]: *** [src/core/CMakeFiles/core.dir/loader.cpp.o] Error 1
  967. [ 31%] Building CXX object src/core/CMakeFiles/core.dir/mem_map.cpp.o
  968. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/mem_map.cpp:5:
  969. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:43:
  970. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  971. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  972. return (T)bswap64(*(u64 *)&x);
  973. ^
  974. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  975. return (T)bswap32(*(u32 *)&x);
  976. ^
  977. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  978. return (T)bswap16(*(u16 *)&x);
  979. ^
  980. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  981. return (T)bswapf(*(float *)&x);
  982. ^~~~~~
  983. swap
  984. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  985. static T swap(T x) {
  986. ^
  987. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  988. return (T)bswapd(*(double *)&x);
  989. ^~~~~~
  990. swap
  991. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  992. static T swap(T x) {
  993. ^
  994. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/mem_map.cpp:5:
  995. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  996. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  997. #define LONG long
  998. ^
  999. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  1000. #define LONG int
  1001. ^
  1002. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/mem_map.cpp:5:
  1003. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  1004. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  1005. #define MAX_PATH PATH_MAX
  1006. ^
  1007. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  1008. #define MAX_PATH 260
  1009. ^
  1010. 2 warnings and 5 errors generated.
  1011. make[2]: *** [src/core/CMakeFiles/core.dir/mem_map.cpp.o] Error 1
  1012. [ 32%] Building CXX object src/core/CMakeFiles/core.dir/mem_map_funcs.cpp.o
  1013. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/mem_map_funcs.cpp:7:
  1014. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:43:
  1015. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  1016. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  1017. return (T)bswap64(*(u64 *)&x);
  1018. ^
  1019. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  1020. return (T)bswap32(*(u32 *)&x);
  1021. ^
  1022. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  1023. return (T)bswap16(*(u16 *)&x);
  1024. ^
  1025. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  1026. return (T)bswapf(*(float *)&x);
  1027. ^~~~~~
  1028. swap
  1029. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  1030. static T swap(T x) {
  1031. ^
  1032. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  1033. return (T)bswapd(*(double *)&x);
  1034. ^~~~~~
  1035. swap
  1036. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  1037. static T swap(T x) {
  1038. ^
  1039. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/mem_map_funcs.cpp:7:
  1040. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  1041. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  1042. #define LONG long
  1043. ^
  1044. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  1045. #define LONG int
  1046. ^
  1047. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/mem_map_funcs.cpp:7:
  1048. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  1049. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  1050. #define MAX_PATH PATH_MAX
  1051. ^
  1052. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  1053. #define MAX_PATH 260
  1054. ^
  1055. /Users/Paul/Desktop/repo/git/citra/src/core/mem_map_funcs.cpp:118:72: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  1056. _assert_msg_(MEMMAP, false, "unknown Write%d 0x%08X @ 0x%08X", sizeof(data) * 8,
  1057. ~~ ^~~~~~~~~~~~~~~~
  1058. %lu
  1059. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:148:34: note: expanded from macro '_assert_msg_'
  1060. if (!PanicYesNo(_fmt_, ##__VA_ARGS__)) {Crash();} \
  1061. ^
  1062. /Users/Paul/Desktop/repo/git/citra/src/common/msg_handler.h:49:71: note: expanded from macro 'PanicYesNo'
  1063. #define PanicYesNo(format, ...) MsgAlert(true, WARNING, format, ##__VA_ARGS__)
  1064. ^
  1065. /Users/Paul/Desktop/repo/git/citra/src/core/mem_map_funcs.cpp:249:5: note: in instantiation of function template specialization 'Memory::_Write<unsigned char>' requested here
  1066. _Write<u8>(addr, data);
  1067. ^
  1068. /Users/Paul/Desktop/repo/git/citra/src/core/mem_map_funcs.cpp:118:72: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  1069. _assert_msg_(MEMMAP, false, "unknown Write%d 0x%08X @ 0x%08X", sizeof(data) * 8,
  1070. ~~ ^~~~~~~~~~~~~~~~
  1071. %lu
  1072. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:148:34: note: expanded from macro '_assert_msg_'
  1073. if (!PanicYesNo(_fmt_, ##__VA_ARGS__)) {Crash();} \
  1074. ^
  1075. /Users/Paul/Desktop/repo/git/citra/src/common/msg_handler.h:49:71: note: expanded from macro 'PanicYesNo'
  1076. #define PanicYesNo(format, ...) MsgAlert(true, WARNING, format, ##__VA_ARGS__)
  1077. ^
  1078. /Users/Paul/Desktop/repo/git/citra/src/core/mem_map_funcs.cpp:253:5: note: in instantiation of function template specialization 'Memory::_Write<unsigned short>' requested here
  1079. _Write<u16_le>(addr, data);
  1080. ^
  1081. /Users/Paul/Desktop/repo/git/citra/src/core/mem_map_funcs.cpp:118:72: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  1082. _assert_msg_(MEMMAP, false, "unknown Write%d 0x%08X @ 0x%08X", sizeof(data) * 8,
  1083. ~~ ^~~~~~~~~~~~~~~~
  1084. %lu
  1085. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:148:34: note: expanded from macro '_assert_msg_'
  1086. if (!PanicYesNo(_fmt_, ##__VA_ARGS__)) {Crash();} \
  1087. ^
  1088. /Users/Paul/Desktop/repo/git/citra/src/common/msg_handler.h:49:71: note: expanded from macro 'PanicYesNo'
  1089. #define PanicYesNo(format, ...) MsgAlert(true, WARNING, format, ##__VA_ARGS__)
  1090. ^
  1091. /Users/Paul/Desktop/repo/git/citra/src/core/mem_map_funcs.cpp:257:5: note: in instantiation of function template specialization 'Memory::_Write<unsigned int>' requested here
  1092. _Write<u32_le>(addr, data);
  1093. ^
  1094. /Users/Paul/Desktop/repo/git/citra/src/core/mem_map_funcs.cpp:118:72: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  1095. _assert_msg_(MEMMAP, false, "unknown Write%d 0x%08X @ 0x%08X", sizeof(data) * 8,
  1096. ~~ ^~~~~~~~~~~~~~~~
  1097. %lu
  1098. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:148:34: note: expanded from macro '_assert_msg_'
  1099. if (!PanicYesNo(_fmt_, ##__VA_ARGS__)) {Crash();} \
  1100. ^
  1101. /Users/Paul/Desktop/repo/git/citra/src/common/msg_handler.h:49:71: note: expanded from macro 'PanicYesNo'
  1102. #define PanicYesNo(format, ...) MsgAlert(true, WARNING, format, ##__VA_ARGS__)
  1103. ^
  1104. /Users/Paul/Desktop/repo/git/citra/src/core/mem_map_funcs.cpp:261:5: note: in instantiation of function template specialization 'Memory::_Write<unsigned long long>' requested here
  1105. _Write<u64_le>(addr, data);
  1106. ^
  1107. /Users/Paul/Desktop/repo/git/citra/src/core/mem_map_funcs.cpp:119:13: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long long' [-Wformat]
  1108. data, vaddr);
  1109. ^~~~
  1110. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:148:34: note: expanded from macro '_assert_msg_'
  1111. if (!PanicYesNo(_fmt_, ##__VA_ARGS__)) {Crash();} \
  1112. ^
  1113. /Users/Paul/Desktop/repo/git/citra/src/common/msg_handler.h:49:71: note: expanded from macro 'PanicYesNo'
  1114. #define PanicYesNo(format, ...) MsgAlert(true, WARNING, format, ##__VA_ARGS__)
  1115. ^
  1116. 7 warnings and 5 errors generated.
  1117. make[2]: *** [src/core/CMakeFiles/core.dir/mem_map_funcs.cpp.o] Error 1
  1118. [ 34%] Building CXX object src/core/CMakeFiles/core.dir/system.cpp.o
  1119. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/system.cpp:5:
  1120. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/core.h:7:
  1121. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/arm_interface.h:7:
  1122. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:43:
  1123. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  1124. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  1125. return (T)bswap64(*(u64 *)&x);
  1126. ^
  1127. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  1128. return (T)bswap32(*(u32 *)&x);
  1129. ^
  1130. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  1131. return (T)bswap16(*(u16 *)&x);
  1132. ^
  1133. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  1134. return (T)bswapf(*(float *)&x);
  1135. ^~~~~~
  1136. swap
  1137. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  1138. static T swap(T x) {
  1139. ^
  1140. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  1141. return (T)bswapd(*(double *)&x);
  1142. ^~~~~~
  1143. swap
  1144. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  1145. static T swap(T x) {
  1146. ^
  1147. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/system.cpp:5:
  1148. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/core.h:7:
  1149. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/arm_interface.h:7:
  1150. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  1151. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  1152. #define LONG long
  1153. ^
  1154. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  1155. #define LONG int
  1156. ^
  1157. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/system.cpp:5:
  1158. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/core.h:7:
  1159. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/arm_interface.h:7:
  1160. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  1161. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  1162. #define MAX_PATH PATH_MAX
  1163. ^
  1164. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  1165. #define MAX_PATH 260
  1166. ^
  1167. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/system.cpp:8:
  1168. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/system.h:8:
  1169. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/file_sys/meta_file_system.h:22:
  1170. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/file_sys/file_sys.h:21:
  1171. /Users/Paul/Desktop/repo/git/citra/src/common/chunk_file.h:741:13: error: use of undeclared identifier 'snappy_uncompress'
  1172. snappy_uncompress((const char *)buffer, sz, (char *)uncomp_buffer, &uncomp_size);
  1173. ^
  1174. /Users/Paul/Desktop/repo/git/citra/src/common/chunk_file.h:799:31: error: use of undeclared identifier 'snappy_max_compressed_length'
  1175. size_t comp_len = snappy_max_compressed_length(sz);
  1176. ^
  1177. /Users/Paul/Desktop/repo/git/citra/src/common/chunk_file.h:801:13: error: use of undeclared identifier 'snappy_compress'
  1178. snappy_compress((const char *)buffer, sz, (char *)compressed_buffer, &comp_len);
  1179. ^
  1180. 2 warnings and 8 errors generated.
  1181. make[2]: *** [src/core/CMakeFiles/core.dir/system.cpp.o] Error 1
  1182. [ 35%] Building CXX object src/core/CMakeFiles/core.dir/arm/disassembler/arm_disasm.cpp.o
  1183. [ 36%] Building CXX object src/core/CMakeFiles/core.dir/arm/interpreter/arm_interpreter.cpp.o
  1184. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/arm_interpreter.cpp:5:
  1185. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/arm_interpreter.h:7:
  1186. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:43:
  1187. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  1188. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  1189. return (T)bswap64(*(u64 *)&x);
  1190. ^
  1191. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  1192. return (T)bswap32(*(u32 *)&x);
  1193. ^
  1194. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  1195. return (T)bswap16(*(u16 *)&x);
  1196. ^
  1197. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  1198. return (T)bswapf(*(float *)&x);
  1199. ^~~~~~
  1200. swap
  1201. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  1202. static T swap(T x) {
  1203. ^
  1204. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  1205. return (T)bswapd(*(double *)&x);
  1206. ^~~~~~
  1207. swap
  1208. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  1209. static T swap(T x) {
  1210. ^
  1211. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/arm_interpreter.cpp:5:
  1212. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/arm_interpreter.h:7:
  1213. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  1214. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  1215. #define LONG long
  1216. ^
  1217. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  1218. #define LONG int
  1219. ^
  1220. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/arm_interpreter.cpp:5:
  1221. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/arm_interpreter.h:7:
  1222. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  1223. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  1224. #define MAX_PATH PATH_MAX
  1225. ^
  1226. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  1227. #define MAX_PATH 260
  1228. ^
  1229. 2 warnings and 5 errors generated.
  1230. make[2]: *** [src/core/CMakeFiles/core.dir/arm/interpreter/arm_interpreter.cpp.o] Error 1
  1231. [ 37%] Building CXX object src/core/CMakeFiles/core.dir/arm/interpreter/armemu.cpp.o
  1232. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/armemu.cpp:19:
  1233. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/hle.h:7:
  1234. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  1235. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  1236. return (T)bswap64(*(u64 *)&x);
  1237. ^
  1238. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  1239. return (T)bswap32(*(u32 *)&x);
  1240. ^
  1241. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  1242. return (T)bswap16(*(u16 *)&x);
  1243. ^
  1244. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  1245. return (T)bswapf(*(float *)&x);
  1246. ^~~~~~
  1247. swap
  1248. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  1249. static T swap(T x) {
  1250. ^
  1251. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  1252. return (T)bswapd(*(double *)&x);
  1253. ^~~~~~
  1254. swap
  1255. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  1256. static T swap(T x) {
  1257. ^
  1258. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/armemu.cpp:19:
  1259. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/hle.h:8:
  1260. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/core.h:7:
  1261. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/arm_interface.h:7:
  1262. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  1263. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  1264. #define LONG long
  1265. ^
  1266. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  1267. #define LONG int
  1268. ^
  1269. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/armemu.cpp:19:
  1270. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/hle.h:8:
  1271. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/core.h:7:
  1272. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/arm_interface.h:7:
  1273. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  1274. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  1275. #define MAX_PATH PATH_MAX
  1276. ^
  1277. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  1278. #define MAX_PATH 260
  1279. ^
  1280. /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/armemu.cpp:916:22: warning: format specifies type 'unsigned long' but the argument has type 'ARMword' (aka 'unsigned int') [-Wformat]
  1281. pc, instr, state->Mode);
  1282. ^~
  1283. /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/armemu.cpp:916:26: warning: format specifies type 'unsigned long' but the argument has type 'ARMword' (aka 'unsigned int') [-Wformat]
  1284. pc, instr, state->Mode);
  1285. ^~~~~
  1286. /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/armemu.cpp:916:33: warning: format specifies type 'unsigned long' but the argument has type 'ARMword' (aka 'unsigned int') [-Wformat]
  1287. pc, instr, state->Mode);
  1288. ^~~~~~~~~~~
  1289. /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/armemu.cpp:1368:29: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
  1290. if ((Rd == 15)) {
  1291. ~~~^~~~~
  1292. /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/armemu.cpp:1368:29: note: remove extraneous parentheses around the comparison to silence this warning
  1293. if ((Rd == 15)) {
  1294. ~ ^ ~
  1295. /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/armemu.cpp:1368:29: note: use '=' to turn this equality comparison into an assignment
  1296. if ((Rd == 15)) {
  1297. ^~
  1298. =
  1299. /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/armemu.cpp:1371:34: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
  1300. else if ((Rn == 15)) {
  1301. ~~~^~~~~
  1302. /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/armemu.cpp:1371:34: note: remove extraneous parentheses around the comparison to silence this warning
  1303. else if ((Rn == 15)) {
  1304. ~ ^ ~
  1305. /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/armemu.cpp:1371:34: note: use '=' to turn this equality comparison into an assignment
  1306. else if ((Rn == 15)) {
  1307. ^~
  1308. =
  1309. 7 warnings and 5 errors generated.
  1310. make[2]: *** [src/core/CMakeFiles/core.dir/arm/interpreter/armemu.cpp.o] Error 1
  1311. [ 38%] Building CXX object src/core/CMakeFiles/core.dir/arm/interpreter/arminit.cpp.o
  1312. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/arminit.cpp:19:
  1313. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:28:
  1314. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  1315. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  1316. return (T)bswap64(*(u64 *)&x);
  1317. ^
  1318. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  1319. return (T)bswap32(*(u32 *)&x);
  1320. ^
  1321. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  1322. return (T)bswap16(*(u16 *)&x);
  1323. ^
  1324. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  1325. return (T)bswapf(*(float *)&x);
  1326. ^~~~~~
  1327. swap
  1328. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  1329. static T swap(T x) {
  1330. ^
  1331. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  1332. return (T)bswapd(*(double *)&x);
  1333. ^~~~~~
  1334. swap
  1335. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  1336. static T swap(T x) {
  1337. ^
  1338. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/arminit.cpp:19:
  1339. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  1340. #define LONG long
  1341. ^
  1342. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  1343. #define LONG int
  1344. ^
  1345. 1 warning and 5 errors generated.
  1346. make[2]: *** [src/core/CMakeFiles/core.dir/arm/interpreter/arminit.cpp.o] Error 1
  1347. [ 39%] Building CXX object src/core/CMakeFiles/core.dir/arm/interpreter/armmmu.cpp.o
  1348. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/armmmu.cpp:23:
  1349. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/armdefs.h:25:
  1350. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:28:
  1351. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  1352. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  1353. return (T)bswap64(*(u64 *)&x);
  1354. ^
  1355. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  1356. return (T)bswap32(*(u32 *)&x);
  1357. ^
  1358. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  1359. return (T)bswap16(*(u16 *)&x);
  1360. ^
  1361. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  1362. return (T)bswapf(*(float *)&x);
  1363. ^~~~~~
  1364. swap
  1365. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  1366. static T swap(T x) {
  1367. ^
  1368. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  1369. return (T)bswapd(*(double *)&x);
  1370. ^~~~~~
  1371. swap
  1372. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  1373. static T swap(T x) {
  1374. ^
  1375. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/armmmu.cpp:23:
  1376. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/armdefs.h:25:
  1377. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  1378. #define LONG long
  1379. ^
  1380. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  1381. #define LONG int
  1382. ^
  1383. 1 warning and 5 errors generated.
  1384. make[2]: *** [src/core/CMakeFiles/core.dir/arm/interpreter/armmmu.cpp.o] Error 1
  1385. [ 40%] Building CXX object src/core/CMakeFiles/core.dir/arm/interpreter/armos.cpp.o
  1386. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/armos.cpp:31:
  1387. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/skyeye_defs.h:4:
  1388. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:43:
  1389. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  1390. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  1391. return (T)bswap64(*(u64 *)&x);
  1392. ^
  1393. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  1394. return (T)bswap32(*(u32 *)&x);
  1395. ^
  1396. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  1397. return (T)bswap16(*(u16 *)&x);
  1398. ^
  1399. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  1400. return (T)bswapf(*(float *)&x);
  1401. ^~~~~~
  1402. swap
  1403. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  1404. static T swap(T x) {
  1405. ^
  1406. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  1407. return (T)bswapd(*(double *)&x);
  1408. ^~~~~~
  1409. swap
  1410. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  1411. static T swap(T x) {
  1412. ^
  1413. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/armos.cpp:31:
  1414. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/skyeye_defs.h:4:
  1415. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  1416. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  1417. #define LONG long
  1418. ^
  1419. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  1420. #define LONG int
  1421. ^
  1422. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/armos.cpp:31:
  1423. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/skyeye_defs.h:4:
  1424. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  1425. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  1426. #define MAX_PATH PATH_MAX
  1427. ^
  1428. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  1429. #define MAX_PATH 260
  1430. ^
  1431. 2 warnings and 5 errors generated.
  1432. make[2]: *** [src/core/CMakeFiles/core.dir/arm/interpreter/armos.cpp.o] Error 1
  1433. [ 41%] Building CXX object src/core/CMakeFiles/core.dir/arm/interpreter/armsupp.cpp.o
  1434. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/armsupp.cpp:18:
  1435. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/armdefs.h:25:
  1436. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:28:
  1437. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  1438. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  1439. return (T)bswap64(*(u64 *)&x);
  1440. ^
  1441. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  1442. return (T)bswap32(*(u32 *)&x);
  1443. ^
  1444. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  1445. return (T)bswap16(*(u16 *)&x);
  1446. ^
  1447. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  1448. return (T)bswapf(*(float *)&x);
  1449. ^~~~~~
  1450. swap
  1451. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  1452. static T swap(T x) {
  1453. ^
  1454. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  1455. return (T)bswapd(*(double *)&x);
  1456. ^~~~~~
  1457. swap
  1458. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  1459. static T swap(T x) {
  1460. ^
  1461. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/armsupp.cpp:18:
  1462. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/armdefs.h:25:
  1463. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  1464. #define LONG long
  1465. ^
  1466. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  1467. #define LONG int
  1468. ^
  1469. 1 warning and 5 errors generated.
  1470. make[2]: *** [src/core/CMakeFiles/core.dir/arm/interpreter/armsupp.cpp.o] Error 1
  1471. [ 42%] Building CXX object src/core/CMakeFiles/core.dir/arm/interpreter/armvirt.cpp.o
  1472. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/armvirt.cpp:26:
  1473. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/armdefs.h:25:
  1474. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:28:
  1475. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  1476. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  1477. return (T)bswap64(*(u64 *)&x);
  1478. ^
  1479. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  1480. return (T)bswap32(*(u32 *)&x);
  1481. ^
  1482. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  1483. return (T)bswap16(*(u16 *)&x);
  1484. ^
  1485. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  1486. return (T)bswapf(*(float *)&x);
  1487. ^~~~~~
  1488. swap
  1489. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  1490. static T swap(T x) {
  1491. ^
  1492. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  1493. return (T)bswapd(*(double *)&x);
  1494. ^~~~~~
  1495. swap
  1496. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  1497. static T swap(T x) {
  1498. ^
  1499. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/armvirt.cpp:26:
  1500. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/armdefs.h:25:
  1501. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  1502. #define LONG long
  1503. ^
  1504. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  1505. #define LONG int
  1506. ^
  1507. 1 warning and 5 errors generated.
  1508. make[2]: *** [src/core/CMakeFiles/core.dir/arm/interpreter/armvirt.cpp.o] Error 1
  1509. [ 43%] Building CXX object src/core/CMakeFiles/core.dir/arm/interpreter/thumbemu.cpp.o
  1510. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/thumbemu.cpp:22:
  1511. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/skyeye_defs.h:4:
  1512. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:43:
  1513. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  1514. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  1515. return (T)bswap64(*(u64 *)&x);
  1516. ^
  1517. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  1518. return (T)bswap32(*(u32 *)&x);
  1519. ^
  1520. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  1521. return (T)bswap16(*(u16 *)&x);
  1522. ^
  1523. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  1524. return (T)bswapf(*(float *)&x);
  1525. ^~~~~~
  1526. swap
  1527. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  1528. static T swap(T x) {
  1529. ^
  1530. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  1531. return (T)bswapd(*(double *)&x);
  1532. ^~~~~~
  1533. swap
  1534. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  1535. static T swap(T x) {
  1536. ^
  1537. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/thumbemu.cpp:22:
  1538. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/skyeye_defs.h:4:
  1539. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  1540. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  1541. #define LONG long
  1542. ^
  1543. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  1544. #define LONG int
  1545. ^
  1546. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/thumbemu.cpp:22:
  1547. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/interpreter/skyeye_defs.h:4:
  1548. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  1549. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  1550. #define MAX_PATH PATH_MAX
  1551. ^
  1552. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  1553. #define MAX_PATH 260
  1554. ^
  1555. 2 warnings and 5 errors generated.
  1556. make[2]: *** [src/core/CMakeFiles/core.dir/arm/interpreter/thumbemu.cpp.o] Error 1
  1557. [ 44%] Building CXX object src/core/CMakeFiles/core.dir/arm/mmu/arm1176jzf_s_mmu.cpp.o
  1558. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/mmu/arm1176jzf_s_mmu.cpp:25:
  1559. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/mem_map.h:7:
  1560. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:43:
  1561. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  1562. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  1563. return (T)bswap64(*(u64 *)&x);
  1564. ^
  1565. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  1566. return (T)bswap32(*(u32 *)&x);
  1567. ^
  1568. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  1569. return (T)bswap16(*(u16 *)&x);
  1570. ^
  1571. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  1572. return (T)bswapf(*(float *)&x);
  1573. ^~~~~~
  1574. swap
  1575. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  1576. static T swap(T x) {
  1577. ^
  1578. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  1579. return (T)bswapd(*(double *)&x);
  1580. ^~~~~~
  1581. swap
  1582. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  1583. static T swap(T x) {
  1584. ^
  1585. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/mmu/arm1176jzf_s_mmu.cpp:25:
  1586. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/mem_map.h:7:
  1587. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  1588. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  1589. #define LONG long
  1590. ^
  1591. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  1592. #define LONG int
  1593. ^
  1594. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/mmu/arm1176jzf_s_mmu.cpp:25:
  1595. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/mem_map.h:7:
  1596. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  1597. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  1598. #define MAX_PATH PATH_MAX
  1599. ^
  1600. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  1601. #define MAX_PATH 260
  1602. ^
  1603. /Users/Paul/Desktop/repo/git/citra/src/core/arm/mmu/arm1176jzf_s_mmu.cpp:769:9: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  1604. else
  1605. ^
  1606. 3 warnings and 5 errors generated.
  1607. make[2]: *** [src/core/CMakeFiles/core.dir/arm/mmu/arm1176jzf_s_mmu.cpp.o] Error 1
  1608. [ 45%] Building CXX object src/core/CMakeFiles/core.dir/elf/elf_reader.cpp.o
  1609. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:7:
  1610. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:43:
  1611. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  1612. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  1613. return (T)bswap64(*(u64 *)&x);
  1614. ^
  1615. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  1616. return (T)bswap32(*(u32 *)&x);
  1617. ^
  1618. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  1619. return (T)bswap16(*(u16 *)&x);
  1620. ^
  1621. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  1622. return (T)bswapf(*(float *)&x);
  1623. ^~~~~~
  1624. swap
  1625. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  1626. static T swap(T x) {
  1627. ^
  1628. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  1629. return (T)bswapd(*(double *)&x);
  1630. ^~~~~~
  1631. swap
  1632. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  1633. static T swap(T x) {
  1634. ^
  1635. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:7:
  1636. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  1637. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  1638. #define LONG long
  1639. ^
  1640. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  1641. #define LONG int
  1642. ^
  1643. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:7:
  1644. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  1645. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  1646. #define MAX_PATH PATH_MAX
  1647. ^
  1648. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  1649. #define MAX_PATH 260
  1650. ^
  1651. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:20:14: warning: expression result unused [-Wunused-value]
  1652. bswap(ELF_H.e_type);
  1653. ~~~~~ ^~~~~~
  1654. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:16:18: note: expanded from macro 'bswap'
  1655. #define bswap(w) w // Dirty bswap disable for now... 3DS is little endian, anyway
  1656. ^
  1657. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:21:14: warning: expression result unused [-Wunused-value]
  1658. bswap(ELF_H.e_machine);
  1659. ~~~~~ ^~~~~~~~~
  1660. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:16:18: note: expanded from macro 'bswap'
  1661. #define bswap(w) w // Dirty bswap disable for now... 3DS is little endian, anyway
  1662. ^
  1663. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:22:14: warning: expression result unused [-Wunused-value]
  1664. bswap(ELF_H.e_ehsize);
  1665. ~~~~~ ^~~~~~~~
  1666. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:16:18: note: expanded from macro 'bswap'
  1667. #define bswap(w) w // Dirty bswap disable for now... 3DS is little endian, anyway
  1668. ^
  1669. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:23:14: warning: expression result unused [-Wunused-value]
  1670. bswap(ELF_H.e_phentsize);
  1671. ~~~~~ ^~~~~~~~~~~
  1672. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:16:18: note: expanded from macro 'bswap'
  1673. #define bswap(w) w // Dirty bswap disable for now... 3DS is little endian, anyway
  1674. ^
  1675. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:24:14: warning: expression result unused [-Wunused-value]
  1676. bswap(ELF_H.e_phnum);
  1677. ~~~~~ ^~~~~~~
  1678. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:16:18: note: expanded from macro 'bswap'
  1679. #define bswap(w) w // Dirty bswap disable for now... 3DS is little endian, anyway
  1680. ^
  1681. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:25:14: warning: expression result unused [-Wunused-value]
  1682. bswap(ELF_H.e_shentsize);
  1683. ~~~~~ ^~~~~~~~~~~
  1684. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:16:18: note: expanded from macro 'bswap'
  1685. #define bswap(w) w // Dirty bswap disable for now... 3DS is little endian, anyway
  1686. ^
  1687. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:26:14: warning: expression result unused [-Wunused-value]
  1688. bswap(ELF_H.e_shnum);
  1689. ~~~~~ ^~~~~~~
  1690. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:16:18: note: expanded from macro 'bswap'
  1691. #define bswap(w) w // Dirty bswap disable for now... 3DS is little endian, anyway
  1692. ^
  1693. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:27:14: warning: expression result unused [-Wunused-value]
  1694. bswap(ELF_H.e_shstrndx);
  1695. ~~~~~ ^~~~~~~~~~
  1696. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:16:18: note: expanded from macro 'bswap'
  1697. #define bswap(w) w // Dirty bswap disable for now... 3DS is little endian, anyway
  1698. ^
  1699. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:28:14: warning: expression result unused [-Wunused-value]
  1700. bswap(ELF_H.e_version);
  1701. ~~~~~ ^~~~~~~~~
  1702. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:16:18: note: expanded from macro 'bswap'
  1703. #define bswap(w) w // Dirty bswap disable for now... 3DS is little endian, anyway
  1704. ^
  1705. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:29:14: warning: expression result unused [-Wunused-value]
  1706. bswap(ELF_H.e_entry);
  1707. ~~~~~ ^~~~~~~
  1708. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:16:18: note: expanded from macro 'bswap'
  1709. #define bswap(w) w // Dirty bswap disable for now... 3DS is little endian, anyway
  1710. ^
  1711. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:30:14: warning: expression result unused [-Wunused-value]
  1712. bswap(ELF_H.e_phoff);
  1713. ~~~~~ ^~~~~~~
  1714. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:16:18: note: expanded from macro 'bswap'
  1715. #define bswap(w) w // Dirty bswap disable for now... 3DS is little endian, anyway
  1716. ^
  1717. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:31:14: warning: expression result unused [-Wunused-value]
  1718. bswap(ELF_H.e_shoff);
  1719. ~~~~~ ^~~~~~~
  1720. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:16:18: note: expanded from macro 'bswap'
  1721. #define bswap(w) w // Dirty bswap disable for now... 3DS is little endian, anyway
  1722. ^
  1723. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:32:14: warning: expression result unused [-Wunused-value]
  1724. bswap(ELF_H.e_flags);
  1725. ~~~~~ ^~~~~~~
  1726. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:16:18: note: expanded from macro 'bswap'
  1727. #define bswap(w) w // Dirty bswap disable for now... 3DS is little endian, anyway
  1728. ^
  1729. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:37:12: warning: expression result unused [-Wunused-value]
  1730. bswap(sec.p_align);
  1731. ~~~ ^~~~~~~
  1732. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:16:18: note: expanded from macro 'bswap'
  1733. #define bswap(w) w // Dirty bswap disable for now... 3DS is little endian, anyway
  1734. ^
  1735. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:38:12: warning: expression result unused [-Wunused-value]
  1736. bswap(sec.p_filesz);
  1737. ~~~ ^~~~~~~~
  1738. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:16:18: note: expanded from macro 'bswap'
  1739. #define bswap(w) w // Dirty bswap disable for now... 3DS is little endian, anyway
  1740. ^
  1741. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:39:12: warning: expression result unused [-Wunused-value]
  1742. bswap(sec.p_flags);
  1743. ~~~ ^~~~~~~
  1744. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:16:18: note: expanded from macro 'bswap'
  1745. #define bswap(w) w // Dirty bswap disable for now... 3DS is little endian, anyway
  1746. ^
  1747. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:40:12: warning: expression result unused [-Wunused-value]
  1748. bswap(sec.p_memsz);
  1749. ~~~ ^~~~~~~
  1750. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:16:18: note: expanded from macro 'bswap'
  1751. #define bswap(w) w // Dirty bswap disable for now... 3DS is little endian, anyway
  1752. ^
  1753. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:41:12: warning: expression result unused [-Wunused-value]
  1754. bswap(sec.p_offset);
  1755. ~~~ ^~~~~~~~
  1756. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:16:18: note: expanded from macro 'bswap'
  1757. #define bswap(w) w // Dirty bswap disable for now... 3DS is little endian, anyway
  1758. ^
  1759. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:42:12: warning: expression result unused [-Wunused-value]
  1760. bswap(sec.p_paddr);
  1761. ~~~ ^~~~~~~
  1762. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:16:18: note: expanded from macro 'bswap'
  1763. #define bswap(w) w // Dirty bswap disable for now... 3DS is little endian, anyway
  1764. ^
  1765. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:43:12: warning: expression result unused [-Wunused-value]
  1766. bswap(sec.p_vaddr);
  1767. ~~~ ^~~~~~~
  1768. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:16:18: note: expanded from macro 'bswap'
  1769. #define bswap(w) w // Dirty bswap disable for now... 3DS is little endian, anyway
  1770. ^
  1771. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:44:12: warning: expression result unused [-Wunused-value]
  1772. bswap(sec.p_type);
  1773. ~~~ ^~~~~~
  1774. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:16:18: note: expanded from macro 'bswap'
  1775. #define bswap(w) w // Dirty bswap disable for now... 3DS is little endian, anyway
  1776. ^
  1777. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:49:12: warning: expression result unused [-Wunused-value]
  1778. bswap(sec.sh_addr);
  1779. ~~~ ^~~~~~~
  1780. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:16:18: note: expanded from macro 'bswap'
  1781. #define bswap(w) w // Dirty bswap disable for now... 3DS is little endian, anyway
  1782. ^
  1783. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:50:12: warning: expression result unused [-Wunused-value]
  1784. bswap(sec.sh_addralign);
  1785. ~~~ ^~~~~~~~~~~~
  1786. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:16:18: note: expanded from macro 'bswap'
  1787. #define bswap(w) w // Dirty bswap disable for now... 3DS is little endian, anyway
  1788. ^
  1789. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:51:12: warning: expression result unused [-Wunused-value]
  1790. bswap(sec.sh_entsize);
  1791. ~~~ ^~~~~~~~~~
  1792. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:16:18: note: expanded from macro 'bswap'
  1793. #define bswap(w) w // Dirty bswap disable for now... 3DS is little endian, anyway
  1794. ^
  1795. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:52:12: warning: expression result unused [-Wunused-value]
  1796. bswap(sec.sh_flags);
  1797. ~~~ ^~~~~~~~
  1798. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:16:18: note: expanded from macro 'bswap'
  1799. #define bswap(w) w // Dirty bswap disable for now... 3DS is little endian, anyway
  1800. ^
  1801. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:53:12: warning: expression result unused [-Wunused-value]
  1802. bswap(sec.sh_info);
  1803. ~~~ ^~~~~~~
  1804. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:16:18: note: expanded from macro 'bswap'
  1805. #define bswap(w) w // Dirty bswap disable for now... 3DS is little endian, anyway
  1806. ^
  1807. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:54:12: warning: expression result unused [-Wunused-value]
  1808. bswap(sec.sh_link);
  1809. ~~~ ^~~~~~~
  1810. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:16:18: note: expanded from macro 'bswap'
  1811. #define bswap(w) w // Dirty bswap disable for now... 3DS is little endian, anyway
  1812. ^
  1813. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:55:12: warning: expression result unused [-Wunused-value]
  1814. bswap(sec.sh_name);
  1815. ~~~ ^~~~~~~
  1816. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:16:18: note: expanded from macro 'bswap'
  1817. #define bswap(w) w // Dirty bswap disable for now... 3DS is little endian, anyway
  1818. ^
  1819. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:56:12: warning: expression result unused [-Wunused-value]
  1820. bswap(sec.sh_offset);
  1821. ~~~ ^~~~~~~~~
  1822. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:16:18: note: expanded from macro 'bswap'
  1823. #define bswap(w) w // Dirty bswap disable for now... 3DS is little endian, anyway
  1824. ^
  1825. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:57:12: warning: expression result unused [-Wunused-value]
  1826. bswap(sec.sh_size);
  1827. ~~~ ^~~~~~~
  1828. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:16:18: note: expanded from macro 'bswap'
  1829. #define bswap(w) w // Dirty bswap disable for now... 3DS is little endian, anyway
  1830. ^
  1831. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:58:12: warning: expression result unused [-Wunused-value]
  1832. bswap(sec.sh_type);
  1833. ~~~ ^~~~~~~
  1834. /Users/Paul/Desktop/repo/git/citra/src/core/elf/elf_reader.cpp:16:18: note: expanded from macro 'bswap'
  1835. #define bswap(w) w // Dirty bswap disable for now... 3DS is little endian, anyway
  1836. ^
  1837. 33 warnings and 5 errors generated.
  1838. make[2]: *** [src/core/CMakeFiles/core.dir/elf/elf_reader.cpp.o] Error 1
  1839. [ 46%] Building CXX object src/core/CMakeFiles/core.dir/file_sys/directory_file_system.cpp.o
  1840. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/file_sys/directory_file_system.cpp:18:
  1841. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/chunk_file.h:44:
  1842. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:43:
  1843. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  1844. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  1845. return (T)bswap64(*(u64 *)&x);
  1846. ^
  1847. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  1848. return (T)bswap32(*(u32 *)&x);
  1849. ^
  1850. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  1851. return (T)bswap16(*(u16 *)&x);
  1852. ^
  1853. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  1854. return (T)bswapf(*(float *)&x);
  1855. ^~~~~~
  1856. swap
  1857. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  1858. static T swap(T x) {
  1859. ^
  1860. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  1861. return (T)bswapd(*(double *)&x);
  1862. ^~~~~~
  1863. swap
  1864. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  1865. static T swap(T x) {
  1866. ^
  1867. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/file_sys/directory_file_system.cpp:18:
  1868. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/chunk_file.h:44:
  1869. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  1870. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  1871. #define LONG long
  1872. ^
  1873. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  1874. #define LONG int
  1875. ^
  1876. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/file_sys/directory_file_system.cpp:18:
  1877. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/chunk_file.h:44:
  1878. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  1879. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  1880. #define MAX_PATH PATH_MAX
  1881. ^
  1882. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  1883. #define MAX_PATH 260
  1884. ^
  1885. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/file_sys/directory_file_system.cpp:18:
  1886. /Users/Paul/Desktop/repo/git/citra/src/common/chunk_file.h:741:13: error: use of undeclared identifier 'snappy_uncompress'
  1887. snappy_uncompress((const char *)buffer, sz, (char *)uncomp_buffer, &uncomp_size);
  1888. ^
  1889. /Users/Paul/Desktop/repo/git/citra/src/common/chunk_file.h:799:31: error: use of undeclared identifier 'snappy_max_compressed_length'
  1890. size_t comp_len = snappy_max_compressed_length(sz);
  1891. ^
  1892. /Users/Paul/Desktop/repo/git/citra/src/common/chunk_file.h:801:13: error: use of undeclared identifier 'snappy_compress'
  1893. snappy_compress((const char *)buffer, sz, (char *)compressed_buffer, &comp_len);
  1894. ^
  1895. 2 warnings and 8 errors generated.
  1896. make[2]: *** [src/core/CMakeFiles/core.dir/file_sys/directory_file_system.cpp.o] Error 1
  1897. [ 47%] Building CXX object src/core/CMakeFiles/core.dir/file_sys/meta_file_system.cpp.o
  1898. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/file_sys/meta_file_system.cpp:21:
  1899. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/string_util.h:15:
  1900. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:43:
  1901. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  1902. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  1903. return (T)bswap64(*(u64 *)&x);
  1904. ^
  1905. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  1906. return (T)bswap32(*(u32 *)&x);
  1907. ^
  1908. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  1909. return (T)bswap16(*(u16 *)&x);
  1910. ^
  1911. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  1912. return (T)bswapf(*(float *)&x);
  1913. ^~~~~~
  1914. swap
  1915. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  1916. static T swap(T x) {
  1917. ^
  1918. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  1919. return (T)bswapd(*(double *)&x);
  1920. ^~~~~~
  1921. swap
  1922. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  1923. static T swap(T x) {
  1924. ^
  1925. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/file_sys/meta_file_system.cpp:21:
  1926. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/string_util.h:15:
  1927. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  1928. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  1929. #define LONG long
  1930. ^
  1931. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  1932. #define LONG int
  1933. ^
  1934. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/file_sys/meta_file_system.cpp:21:
  1935. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/string_util.h:15:
  1936. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  1937. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  1938. #define MAX_PATH PATH_MAX
  1939. ^
  1940. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  1941. #define MAX_PATH 260
  1942. ^
  1943. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/file_sys/meta_file_system.cpp:22:
  1944. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/file_sys/meta_file_system.h:22:
  1945. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/file_sys/file_sys.h:21:
  1946. /Users/Paul/Desktop/repo/git/citra/src/common/chunk_file.h:741:13: error: use of undeclared identifier 'snappy_uncompress'
  1947. snappy_uncompress((const char *)buffer, sz, (char *)uncomp_buffer, &uncomp_size);
  1948. ^
  1949. /Users/Paul/Desktop/repo/git/citra/src/common/chunk_file.h:799:31: error: use of undeclared identifier 'snappy_max_compressed_length'
  1950. size_t comp_len = snappy_max_compressed_length(sz);
  1951. ^
  1952. /Users/Paul/Desktop/repo/git/citra/src/common/chunk_file.h:801:13: error: use of undeclared identifier 'snappy_compress'
  1953. snappy_compress((const char *)buffer, sz, (char *)compressed_buffer, &comp_len);
  1954. ^
  1955. 2 warnings and 8 errors generated.
  1956. make[2]: *** [src/core/CMakeFiles/core.dir/file_sys/meta_file_system.cpp.o] Error 1
  1957. [ 48%] Building CXX object src/core/CMakeFiles/core.dir/hle/hle.cpp.o
  1958. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/hle.cpp:7:
  1959. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/mem_map.h:7:
  1960. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:43:
  1961. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  1962. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  1963. return (T)bswap64(*(u64 *)&x);
  1964. ^
  1965. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  1966. return (T)bswap32(*(u32 *)&x);
  1967. ^
  1968. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  1969. return (T)bswap16(*(u16 *)&x);
  1970. ^
  1971. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  1972. return (T)bswapf(*(float *)&x);
  1973. ^~~~~~
  1974. swap
  1975. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  1976. static T swap(T x) {
  1977. ^
  1978. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  1979. return (T)bswapd(*(double *)&x);
  1980. ^~~~~~
  1981. swap
  1982. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  1983. static T swap(T x) {
  1984. ^
  1985. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/hle.cpp:7:
  1986. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/mem_map.h:7:
  1987. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  1988. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  1989. #define LONG long
  1990. ^
  1991. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  1992. #define LONG int
  1993. ^
  1994. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/hle.cpp:7:
  1995. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/mem_map.h:7:
  1996. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  1997. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  1998. #define MAX_PATH PATH_MAX
  1999. ^
  2000. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  2001. #define MAX_PATH 260
  2002. ^
  2003. 2 warnings and 5 errors generated.
  2004. make[2]: *** [src/core/CMakeFiles/core.dir/hle/hle.cpp.o] Error 1
  2005. [ 50%] Building CXX object src/core/CMakeFiles/core.dir/hle/mrc.cpp.o
  2006. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/mrc.cpp:5:
  2007. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/mrc.h:7:
  2008. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  2009. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  2010. return (T)bswap64(*(u64 *)&x);
  2011. ^
  2012. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  2013. return (T)bswap32(*(u32 *)&x);
  2014. ^
  2015. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  2016. return (T)bswap16(*(u16 *)&x);
  2017. ^
  2018. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  2019. return (T)bswapf(*(float *)&x);
  2020. ^~~~~~
  2021. swap
  2022. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  2023. static T swap(T x) {
  2024. ^
  2025. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  2026. return (T)bswapd(*(double *)&x);
  2027. ^~~~~~
  2028. swap
  2029. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  2030. static T swap(T x) {
  2031. ^
  2032. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/mrc.cpp:6:
  2033. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/hle.h:8:
  2034. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/core.h:7:
  2035. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/arm_interface.h:7:
  2036. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  2037. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  2038. #define LONG long
  2039. ^
  2040. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  2041. #define LONG int
  2042. ^
  2043. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/mrc.cpp:6:
  2044. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/hle.h:8:
  2045. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/core.h:7:
  2046. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/arm_interface.h:7:
  2047. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  2048. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  2049. #define MAX_PATH PATH_MAX
  2050. ^
  2051. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  2052. #define MAX_PATH 260
  2053. ^
  2054. 2 warnings and 5 errors generated.
  2055. make[2]: *** [src/core/CMakeFiles/core.dir/hle/mrc.cpp.o] Error 1
  2056. [ 51%] Building CXX object src/core/CMakeFiles/core.dir/hle/syscall.cpp.o
  2057. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/syscall.cpp:7:
  2058. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/mem_map.h:7:
  2059. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:43:
  2060. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  2061. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  2062. return (T)bswap64(*(u64 *)&x);
  2063. ^
  2064. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  2065. return (T)bswap32(*(u32 *)&x);
  2066. ^
  2067. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  2068. return (T)bswap16(*(u16 *)&x);
  2069. ^
  2070. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  2071. return (T)bswapf(*(float *)&x);
  2072. ^~~~~~
  2073. swap
  2074. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  2075. static T swap(T x) {
  2076. ^
  2077. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  2078. return (T)bswapd(*(double *)&x);
  2079. ^~~~~~
  2080. swap
  2081. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  2082. static T swap(T x) {
  2083. ^
  2084. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/syscall.cpp:7:
  2085. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/mem_map.h:7:
  2086. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  2087. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  2088. #define LONG long
  2089. ^
  2090. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  2091. #define LONG int
  2092. ^
  2093. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/syscall.cpp:7:
  2094. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/mem_map.h:7:
  2095. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  2096. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  2097. #define MAX_PATH PATH_MAX
  2098. ^
  2099. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  2100. #define MAX_PATH 260
  2101. ^
  2102. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/syscall.cpp:9:
  2103. /Users/Paul/Desktop/repo/git/citra/src/core/hle/function_wrappers.h:87:5: error: use of undeclared identifier 'RETURNF'
  2104. RETURNF(func());
  2105. ^
  2106. /Users/Paul/Desktop/repo/git/citra/src/core/hle/function_wrappers.h:92:28: error: use of undeclared identifier 'PARAMF'
  2107. RETURNF(func(PARAM(0), PARAMF(0), PARAM(1)));
  2108. ^
  2109. /Users/Paul/Desktop/repo/git/citra/src/core/hle/function_wrappers.h:132:33: error: use of undeclared identifier 'PARAMF'
  2110. int retval = func(PARAM(0), PARAMF(0), PARAMF(1));
  2111. ^
  2112. 2 warnings and 8 errors generated.
  2113. make[2]: *** [src/core/CMakeFiles/core.dir/hle/syscall.cpp.o] Error 1
  2114. [ 52%] Building CXX object src/core/CMakeFiles/core.dir/hle/service/apt.cpp.o
  2115. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/service/apt.cpp:8:
  2116. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/hle.h:7:
  2117. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  2118. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  2119. return (T)bswap64(*(u64 *)&x);
  2120. ^
  2121. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  2122. return (T)bswap32(*(u32 *)&x);
  2123. ^
  2124. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  2125. return (T)bswap16(*(u16 *)&x);
  2126. ^
  2127. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  2128. return (T)bswapf(*(float *)&x);
  2129. ^~~~~~
  2130. swap
  2131. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  2132. static T swap(T x) {
  2133. ^
  2134. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  2135. return (T)bswapd(*(double *)&x);
  2136. ^~~~~~
  2137. swap
  2138. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  2139. static T swap(T x) {
  2140. ^
  2141. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/service/apt.cpp:8:
  2142. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/hle.h:8:
  2143. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/core.h:7:
  2144. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/arm_interface.h:7:
  2145. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  2146. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  2147. #define LONG long
  2148. ^
  2149. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  2150. #define LONG int
  2151. ^
  2152. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/service/apt.cpp:8:
  2153. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/hle.h:8:
  2154. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/core.h:7:
  2155. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/arm_interface.h:7:
  2156. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  2157. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  2158. #define MAX_PATH PATH_MAX
  2159. ^
  2160. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  2161. #define MAX_PATH 260
  2162. ^
  2163. 2 warnings and 5 errors generated.
  2164. make[2]: *** [src/core/CMakeFiles/core.dir/hle/service/apt.cpp.o] Error 1
  2165. [ 53%] Building CXX object src/core/CMakeFiles/core.dir/hle/service/gsp.cpp.o
  2166. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/service/gsp.cpp:8:
  2167. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/mem_map.h:7:
  2168. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:43:
  2169. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  2170. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  2171. return (T)bswap64(*(u64 *)&x);
  2172. ^
  2173. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  2174. return (T)bswap32(*(u32 *)&x);
  2175. ^
  2176. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  2177. return (T)bswap16(*(u16 *)&x);
  2178. ^
  2179. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  2180. return (T)bswapf(*(float *)&x);
  2181. ^~~~~~
  2182. swap
  2183. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  2184. static T swap(T x) {
  2185. ^
  2186. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  2187. return (T)bswapd(*(double *)&x);
  2188. ^~~~~~
  2189. swap
  2190. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  2191. static T swap(T x) {
  2192. ^
  2193. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/service/gsp.cpp:8:
  2194. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/mem_map.h:7:
  2195. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  2196. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  2197. #define LONG long
  2198. ^
  2199. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  2200. #define LONG int
  2201. ^
  2202. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/service/gsp.cpp:8:
  2203. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/mem_map.h:7:
  2204. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  2205. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  2206. #define MAX_PATH PATH_MAX
  2207. ^
  2208. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  2209. #define MAX_PATH 260
  2210. ^
  2211. 2 warnings and 5 errors generated.
  2212. make[2]: *** [src/core/CMakeFiles/core.dir/hle/service/gsp.cpp.o] Error 1
  2213. [ 54%] Building CXX object src/core/CMakeFiles/core.dir/hle/service/hid.cpp.o
  2214. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/service/hid.cpp:7:
  2215. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/hle.h:7:
  2216. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  2217. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  2218. return (T)bswap64(*(u64 *)&x);
  2219. ^
  2220. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  2221. return (T)bswap32(*(u32 *)&x);
  2222. ^
  2223. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  2224. return (T)bswap16(*(u16 *)&x);
  2225. ^
  2226. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  2227. return (T)bswapf(*(float *)&x);
  2228. ^~~~~~
  2229. swap
  2230. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  2231. static T swap(T x) {
  2232. ^
  2233. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  2234. return (T)bswapd(*(double *)&x);
  2235. ^~~~~~
  2236. swap
  2237. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  2238. static T swap(T x) {
  2239. ^
  2240. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/service/hid.cpp:7:
  2241. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/hle.h:8:
  2242. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/core.h:7:
  2243. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/arm_interface.h:7:
  2244. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  2245. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  2246. #define LONG long
  2247. ^
  2248. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  2249. #define LONG int
  2250. ^
  2251. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/service/hid.cpp:7:
  2252. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/hle.h:8:
  2253. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/core.h:7:
  2254. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/arm_interface.h:7:
  2255. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  2256. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  2257. #define MAX_PATH PATH_MAX
  2258. ^
  2259. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  2260. #define MAX_PATH 260
  2261. ^
  2262. 2 warnings and 5 errors generated.
  2263. make[2]: *** [src/core/CMakeFiles/core.dir/hle/service/hid.cpp.o] Error 1
  2264. [ 55%] Building CXX object src/core/CMakeFiles/core.dir/hle/service/service.cpp.o
  2265. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/service/service.cpp:5:
  2266. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:43:
  2267. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  2268. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  2269. return (T)bswap64(*(u64 *)&x);
  2270. ^
  2271. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  2272. return (T)bswap32(*(u32 *)&x);
  2273. ^
  2274. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  2275. return (T)bswap16(*(u16 *)&x);
  2276. ^
  2277. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  2278. return (T)bswapf(*(float *)&x);
  2279. ^~~~~~
  2280. swap
  2281. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  2282. static T swap(T x) {
  2283. ^
  2284. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  2285. return (T)bswapd(*(double *)&x);
  2286. ^~~~~~
  2287. swap
  2288. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  2289. static T swap(T x) {
  2290. ^
  2291. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/service/service.cpp:5:
  2292. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  2293. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  2294. #define LONG long
  2295. ^
  2296. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  2297. #define LONG int
  2298. ^
  2299. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/service/service.cpp:5:
  2300. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  2301. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  2302. #define MAX_PATH PATH_MAX
  2303. ^
  2304. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  2305. #define MAX_PATH 260
  2306. ^
  2307. 2 warnings and 5 errors generated.
  2308. make[2]: *** [src/core/CMakeFiles/core.dir/hle/service/service.cpp.o] Error 1
  2309. [ 56%] Building CXX object src/core/CMakeFiles/core.dir/hle/service/srv.cpp.o
  2310. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/service/srv.cpp:5:
  2311. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/hle.h:7:
  2312. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  2313. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  2314. return (T)bswap64(*(u64 *)&x);
  2315. ^
  2316. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  2317. return (T)bswap32(*(u32 *)&x);
  2318. ^
  2319. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  2320. return (T)bswap16(*(u16 *)&x);
  2321. ^
  2322. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  2323. return (T)bswapf(*(float *)&x);
  2324. ^~~~~~
  2325. swap
  2326. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  2327. static T swap(T x) {
  2328. ^
  2329. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  2330. return (T)bswapd(*(double *)&x);
  2331. ^~~~~~
  2332. swap
  2333. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  2334. static T swap(T x) {
  2335. ^
  2336. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/service/srv.cpp:5:
  2337. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/hle.h:8:
  2338. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/core.h:7:
  2339. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/arm_interface.h:7:
  2340. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  2341. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  2342. #define LONG long
  2343. ^
  2344. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  2345. #define LONG int
  2346. ^
  2347. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/service/srv.cpp:5:
  2348. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hle/hle.h:8:
  2349. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/core.h:7:
  2350. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/arm_interface.h:7:
  2351. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  2352. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  2353. #define MAX_PATH PATH_MAX
  2354. ^
  2355. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  2356. #define MAX_PATH 260
  2357. ^
  2358. 2 warnings and 5 errors generated.
  2359. make[2]: *** [src/core/CMakeFiles/core.dir/hle/service/srv.cpp.o] Error 1
  2360. [ 57%] Building CXX object src/core/CMakeFiles/core.dir/hw/hw.cpp.o
  2361. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hw/hw.cpp:5:
  2362. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  2363. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  2364. return (T)bswap64(*(u64 *)&x);
  2365. ^
  2366. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  2367. return (T)bswap32(*(u32 *)&x);
  2368. ^
  2369. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  2370. return (T)bswap16(*(u16 *)&x);
  2371. ^
  2372. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  2373. return (T)bswapf(*(float *)&x);
  2374. ^~~~~~
  2375. swap
  2376. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  2377. static T swap(T x) {
  2378. ^
  2379. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  2380. return (T)bswapd(*(double *)&x);
  2381. ^~~~~~
  2382. swap
  2383. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  2384. static T swap(T x) {
  2385. ^
  2386. /Users/Paul/Desktop/repo/git/citra/src/core/hw/hw.cpp:54:50: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  2387. ERROR_LOG(HW, "unknown Read%d @ 0x%08X", sizeof(var) * 8, addr);
  2388. ~~ ^~~~~~~~~~~~~~~
  2389. %lu
  2390. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:108:74: note: expanded from macro 'ERROR_LOG'
  2391. #define ERROR_LOG(t,...) do { GENERIC_LOG(LogTypes::t, LogTypes::LERROR, __VA_ARGS__) } while (0)
  2392. ^
  2393. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:104:46: note: expanded from macro 'GENERIC_LOG'
  2394. GenericLog(v, t, __FILE__, __LINE__, __VA_ARGS__); \
  2395. ^
  2396. /Users/Paul/Desktop/repo/git/citra/src/core/hw/hw.cpp:78:15: note: in instantiation of function template specialization 'HW::Read<unsigned long long>' requested here
  2397. template void Read<u64>(u64 &var, const u32 addr);
  2398. ^
  2399. /Users/Paul/Desktop/repo/git/citra/src/core/hw/hw.cpp:54:50: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  2400. ERROR_LOG(HW, "unknown Read%d @ 0x%08X", sizeof(var) * 8, addr);
  2401. ~~ ^~~~~~~~~~~~~~~
  2402. %lu
  2403. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:108:74: note: expanded from macro 'ERROR_LOG'
  2404. #define ERROR_LOG(t,...) do { GENERIC_LOG(LogTypes::t, LogTypes::LERROR, __VA_ARGS__) } while (0)
  2405. ^
  2406. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:104:46: note: expanded from macro 'GENERIC_LOG'
  2407. GenericLog(v, t, __FILE__, __LINE__, __VA_ARGS__); \
  2408. ^
  2409. /Users/Paul/Desktop/repo/git/citra/src/core/hw/hw.cpp:79:15: note: in instantiation of function template specialization 'HW::Read<unsigned int>' requested here
  2410. template void Read<u32>(u32 &var, const u32 addr);
  2411. ^
  2412. /Users/Paul/Desktop/repo/git/citra/src/core/hw/hw.cpp:54:50: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  2413. ERROR_LOG(HW, "unknown Read%d @ 0x%08X", sizeof(var) * 8, addr);
  2414. ~~ ^~~~~~~~~~~~~~~
  2415. %lu
  2416. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:108:74: note: expanded from macro 'ERROR_LOG'
  2417. #define ERROR_LOG(t,...) do { GENERIC_LOG(LogTypes::t, LogTypes::LERROR, __VA_ARGS__) } while (0)
  2418. ^
  2419. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:104:46: note: expanded from macro 'GENERIC_LOG'
  2420. GenericLog(v, t, __FILE__, __LINE__, __VA_ARGS__); \
  2421. ^
  2422. /Users/Paul/Desktop/repo/git/citra/src/core/hw/hw.cpp:80:15: note: in instantiation of function template specialization 'HW::Read<unsigned short>' requested here
  2423. template void Read<u16>(u16 &var, const u32 addr);
  2424. ^
  2425. /Users/Paul/Desktop/repo/git/citra/src/core/hw/hw.cpp:54:50: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  2426. ERROR_LOG(HW, "unknown Read%d @ 0x%08X", sizeof(var) * 8, addr);
  2427. ~~ ^~~~~~~~~~~~~~~
  2428. %lu
  2429. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:108:74: note: expanded from macro 'ERROR_LOG'
  2430. #define ERROR_LOG(t,...) do { GENERIC_LOG(LogTypes::t, LogTypes::LERROR, __VA_ARGS__) } while (0)
  2431. ^
  2432. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:104:46: note: expanded from macro 'GENERIC_LOG'
  2433. GenericLog(v, t, __FILE__, __LINE__, __VA_ARGS__); \
  2434. ^
  2435. /Users/Paul/Desktop/repo/git/citra/src/core/hw/hw.cpp:81:15: note: in instantiation of function template specialization 'HW::Read<unsigned char>' requested here
  2436. template void Read<u8>(u8 &var, const u32 addr);
  2437. ^
  2438. /Users/Paul/Desktop/repo/git/citra/src/core/hw/hw.cpp:72:58: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  2439. ERROR_LOG(HW, "unknown Write%d 0x%08X @ 0x%08X", sizeof(data) * 8, data, addr);
  2440. ~~ ^~~~~~~~~~~~~~~~
  2441. %lu
  2442. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:108:74: note: expanded from macro 'ERROR_LOG'
  2443. #define ERROR_LOG(t,...) do { GENERIC_LOG(LogTypes::t, LogTypes::LERROR, __VA_ARGS__) } while (0)
  2444. ^
  2445. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:104:46: note: expanded from macro 'GENERIC_LOG'
  2446. GenericLog(v, t, __FILE__, __LINE__, __VA_ARGS__); \
  2447. ^
  2448. /Users/Paul/Desktop/repo/git/citra/src/core/hw/hw.cpp:83:15: note: in instantiation of function template specialization 'HW::Write<unsigned long long>' requested here
  2449. template void Write<u64>(u32 addr, const u64 data);
  2450. ^
  2451. /Users/Paul/Desktop/repo/git/citra/src/core/hw/hw.cpp:72:76: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long long' [-Wformat]
  2452. ERROR_LOG(HW, "unknown Write%d 0x%08X @ 0x%08X", sizeof(data) * 8, data, addr);
  2453. ~~~~ ^~~~
  2454. %08llX
  2455. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:108:74: note: expanded from macro 'ERROR_LOG'
  2456. #define ERROR_LOG(t,...) do { GENERIC_LOG(LogTypes::t, LogTypes::LERROR, __VA_ARGS__) } while (0)
  2457. ^
  2458. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:104:46: note: expanded from macro 'GENERIC_LOG'
  2459. GenericLog(v, t, __FILE__, __LINE__, __VA_ARGS__); \
  2460. ^
  2461. /Users/Paul/Desktop/repo/git/citra/src/core/hw/hw.cpp:72:58: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  2462. ERROR_LOG(HW, "unknown Write%d 0x%08X @ 0x%08X", sizeof(data) * 8, data, addr);
  2463. ~~ ^~~~~~~~~~~~~~~~
  2464. %lu
  2465. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:108:74: note: expanded from macro 'ERROR_LOG'
  2466. #define ERROR_LOG(t,...) do { GENERIC_LOG(LogTypes::t, LogTypes::LERROR, __VA_ARGS__) } while (0)
  2467. ^
  2468. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:104:46: note: expanded from macro 'GENERIC_LOG'
  2469. GenericLog(v, t, __FILE__, __LINE__, __VA_ARGS__); \
  2470. ^
  2471. /Users/Paul/Desktop/repo/git/citra/src/core/hw/hw.cpp:84:15: note: in instantiation of function template specialization 'HW::Write<unsigned int>' requested here
  2472. template void Write<u32>(u32 addr, const u32 data);
  2473. ^
  2474. /Users/Paul/Desktop/repo/git/citra/src/core/hw/hw.cpp:72:58: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  2475. ERROR_LOG(HW, "unknown Write%d 0x%08X @ 0x%08X", sizeof(data) * 8, data, addr);
  2476. ~~ ^~~~~~~~~~~~~~~~
  2477. %lu
  2478. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:108:74: note: expanded from macro 'ERROR_LOG'
  2479. #define ERROR_LOG(t,...) do { GENERIC_LOG(LogTypes::t, LogTypes::LERROR, __VA_ARGS__) } while (0)
  2480. ^
  2481. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:104:46: note: expanded from macro 'GENERIC_LOG'
  2482. GenericLog(v, t, __FILE__, __LINE__, __VA_ARGS__); \
  2483. ^
  2484. /Users/Paul/Desktop/repo/git/citra/src/core/hw/hw.cpp:85:15: note: in instantiation of function template specialization 'HW::Write<unsigned short>' requested here
  2485. template void Write<u16>(u32 addr, const u16 data);
  2486. ^
  2487. /Users/Paul/Desktop/repo/git/citra/src/core/hw/hw.cpp:72:58: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  2488. ERROR_LOG(HW, "unknown Write%d 0x%08X @ 0x%08X", sizeof(data) * 8, data, addr);
  2489. ~~ ^~~~~~~~~~~~~~~~
  2490. %lu
  2491. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:108:74: note: expanded from macro 'ERROR_LOG'
  2492. #define ERROR_LOG(t,...) do { GENERIC_LOG(LogTypes::t, LogTypes::LERROR, __VA_ARGS__) } while (0)
  2493. ^
  2494. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:104:46: note: expanded from macro 'GENERIC_LOG'
  2495. GenericLog(v, t, __FILE__, __LINE__, __VA_ARGS__); \
  2496. ^
  2497. /Users/Paul/Desktop/repo/git/citra/src/core/hw/hw.cpp:86:15: note: in instantiation of function template specialization 'HW::Write<unsigned char>' requested here
  2498. template void Write<u8>(u32 addr, const u8 data);
  2499. ^
  2500. 9 warnings and 5 errors generated.
  2501. make[2]: *** [src/core/CMakeFiles/core.dir/hw/hw.cpp.o] Error 1
  2502. [ 58%] Building CXX object src/core/CMakeFiles/core.dir/hw/lcd.cpp.o
  2503. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hw/lcd.cpp:5:
  2504. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  2505. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  2506. return (T)bswap64(*(u64 *)&x);
  2507. ^
  2508. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  2509. return (T)bswap32(*(u32 *)&x);
  2510. ^
  2511. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  2512. return (T)bswap16(*(u16 *)&x);
  2513. ^
  2514. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  2515. return (T)bswapf(*(float *)&x);
  2516. ^~~~~~
  2517. swap
  2518. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  2519. static T swap(T x) {
  2520. ^
  2521. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  2522. return (T)bswapd(*(double *)&x);
  2523. ^~~~~~
  2524. swap
  2525. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  2526. static T swap(T x) {
  2527. ^
  2528. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hw/lcd.cpp:8:
  2529. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/core.h:7:
  2530. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/arm_interface.h:7:
  2531. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  2532. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  2533. #define LONG long
  2534. ^
  2535. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  2536. #define LONG int
  2537. ^
  2538. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hw/lcd.cpp:8:
  2539. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/core.h:7:
  2540. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/arm/arm_interface.h:7:
  2541. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  2542. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  2543. #define MAX_PATH PATH_MAX
  2544. ^
  2545. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  2546. #define MAX_PATH 260
  2547. ^
  2548. /Users/Paul/Desktop/repo/git/citra/src/core/hw/lcd.cpp:27:13: warning: enumeration value 'FRAMEBUFFER_LOCATION_UNKNOWN' not handled in switch [-Wswitch]
  2549. switch (mode) {
  2550. ^
  2551. /Users/Paul/Desktop/repo/git/citra/src/core/hw/lcd.cpp:106:51: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  2552. ERROR_LOG(LCD, "unknown Read%d @ 0x%08X", sizeof(var) * 8, addr);
  2553. ~~ ^~~~~~~~~~~~~~~
  2554. %lu
  2555. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:108:74: note: expanded from macro 'ERROR_LOG'
  2556. #define ERROR_LOG(t,...) do { GENERIC_LOG(LogTypes::t, LogTypes::LERROR, __VA_ARGS__) } while (0)
  2557. ^
  2558. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:104:46: note: expanded from macro 'GENERIC_LOG'
  2559. GenericLog(v, t, __FILE__, __LINE__, __VA_ARGS__); \
  2560. ^
  2561. /Users/Paul/Desktop/repo/git/citra/src/core/hw/lcd.cpp:119:15: note: in instantiation of function template specialization 'LCD::Read<unsigned long long>' requested here
  2562. template void Read<u64>(u64 &var, const u32 addr);
  2563. ^
  2564. /Users/Paul/Desktop/repo/git/citra/src/core/hw/lcd.cpp:106:51: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  2565. ERROR_LOG(LCD, "unknown Read%d @ 0x%08X", sizeof(var) * 8, addr);
  2566. ~~ ^~~~~~~~~~~~~~~
  2567. %lu
  2568. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:108:74: note: expanded from macro 'ERROR_LOG'
  2569. #define ERROR_LOG(t,...) do { GENERIC_LOG(LogTypes::t, LogTypes::LERROR, __VA_ARGS__) } while (0)
  2570. ^
  2571. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:104:46: note: expanded from macro 'GENERIC_LOG'
  2572. GenericLog(v, t, __FILE__, __LINE__, __VA_ARGS__); \
  2573. ^
  2574. /Users/Paul/Desktop/repo/git/citra/src/core/hw/lcd.cpp:120:15: note: in instantiation of function template specialization 'LCD::Read<unsigned int>' requested here
  2575. template void Read<u32>(u32 &var, const u32 addr);
  2576. ^
  2577. /Users/Paul/Desktop/repo/git/citra/src/core/hw/lcd.cpp:106:51: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  2578. ERROR_LOG(LCD, "unknown Read%d @ 0x%08X", sizeof(var) * 8, addr);
  2579. ~~ ^~~~~~~~~~~~~~~
  2580. %lu
  2581. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:108:74: note: expanded from macro 'ERROR_LOG'
  2582. #define ERROR_LOG(t,...) do { GENERIC_LOG(LogTypes::t, LogTypes::LERROR, __VA_ARGS__) } while (0)
  2583. ^
  2584. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:104:46: note: expanded from macro 'GENERIC_LOG'
  2585. GenericLog(v, t, __FILE__, __LINE__, __VA_ARGS__); \
  2586. ^
  2587. /Users/Paul/Desktop/repo/git/citra/src/core/hw/lcd.cpp:121:15: note: in instantiation of function template specialization 'LCD::Read<unsigned short>' requested here
  2588. template void Read<u16>(u16 &var, const u32 addr);
  2589. ^
  2590. /Users/Paul/Desktop/repo/git/citra/src/core/hw/lcd.cpp:106:51: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  2591. ERROR_LOG(LCD, "unknown Read%d @ 0x%08X", sizeof(var) * 8, addr);
  2592. ~~ ^~~~~~~~~~~~~~~
  2593. %lu
  2594. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:108:74: note: expanded from macro 'ERROR_LOG'
  2595. #define ERROR_LOG(t,...) do { GENERIC_LOG(LogTypes::t, LogTypes::LERROR, __VA_ARGS__) } while (0)
  2596. ^
  2597. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:104:46: note: expanded from macro 'GENERIC_LOG'
  2598. GenericLog(v, t, __FILE__, __LINE__, __VA_ARGS__); \
  2599. ^
  2600. /Users/Paul/Desktop/repo/git/citra/src/core/hw/lcd.cpp:122:15: note: in instantiation of function template specialization 'LCD::Read<unsigned char>' requested here
  2601. template void Read<u8>(u8 &var, const u32 addr);
  2602. ^
  2603. /Users/Paul/Desktop/repo/git/citra/src/core/hw/lcd.cpp:114:55: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  2604. ERROR_LOG(LCD, "unknown Write%d 0x%08X @ 0x%08X", sizeof(data) * 8, data, addr);
  2605. ~~ ^~~~~~~~~~~~~~~~
  2606. %lu
  2607. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:108:74: note: expanded from macro 'ERROR_LOG'
  2608. #define ERROR_LOG(t,...) do { GENERIC_LOG(LogTypes::t, LogTypes::LERROR, __VA_ARGS__) } while (0)
  2609. ^
  2610. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:104:46: note: expanded from macro 'GENERIC_LOG'
  2611. GenericLog(v, t, __FILE__, __LINE__, __VA_ARGS__); \
  2612. ^
  2613. /Users/Paul/Desktop/repo/git/citra/src/core/hw/lcd.cpp:124:15: note: in instantiation of function template specialization 'LCD::Write<unsigned long long>' requested here
  2614. template void Write<u64>(u32 addr, const u64 data);
  2615. ^
  2616. /Users/Paul/Desktop/repo/git/citra/src/core/hw/lcd.cpp:114:73: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long long' [-Wformat]
  2617. ERROR_LOG(LCD, "unknown Write%d 0x%08X @ 0x%08X", sizeof(data) * 8, data, addr);
  2618. ~~~~ ^~~~
  2619. %08llX
  2620. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:108:74: note: expanded from macro 'ERROR_LOG'
  2621. #define ERROR_LOG(t,...) do { GENERIC_LOG(LogTypes::t, LogTypes::LERROR, __VA_ARGS__) } while (0)
  2622. ^
  2623. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:104:46: note: expanded from macro 'GENERIC_LOG'
  2624. GenericLog(v, t, __FILE__, __LINE__, __VA_ARGS__); \
  2625. ^
  2626. /Users/Paul/Desktop/repo/git/citra/src/core/hw/lcd.cpp:114:55: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  2627. ERROR_LOG(LCD, "unknown Write%d 0x%08X @ 0x%08X", sizeof(data) * 8, data, addr);
  2628. ~~ ^~~~~~~~~~~~~~~~
  2629. %lu
  2630. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:108:74: note: expanded from macro 'ERROR_LOG'
  2631. #define ERROR_LOG(t,...) do { GENERIC_LOG(LogTypes::t, LogTypes::LERROR, __VA_ARGS__) } while (0)
  2632. ^
  2633. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:104:46: note: expanded from macro 'GENERIC_LOG'
  2634. GenericLog(v, t, __FILE__, __LINE__, __VA_ARGS__); \
  2635. ^
  2636. /Users/Paul/Desktop/repo/git/citra/src/core/hw/lcd.cpp:125:15: note: in instantiation of function template specialization 'LCD::Write<unsigned int>' requested here
  2637. template void Write<u32>(u32 addr, const u32 data);
  2638. ^
  2639. /Users/Paul/Desktop/repo/git/citra/src/core/hw/lcd.cpp:114:55: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  2640. ERROR_LOG(LCD, "unknown Write%d 0x%08X @ 0x%08X", sizeof(data) * 8, data, addr);
  2641. ~~ ^~~~~~~~~~~~~~~~
  2642. %lu
  2643. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:108:74: note: expanded from macro 'ERROR_LOG'
  2644. #define ERROR_LOG(t,...) do { GENERIC_LOG(LogTypes::t, LogTypes::LERROR, __VA_ARGS__) } while (0)
  2645. ^
  2646. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:104:46: note: expanded from macro 'GENERIC_LOG'
  2647. GenericLog(v, t, __FILE__, __LINE__, __VA_ARGS__); \
  2648. ^
  2649. /Users/Paul/Desktop/repo/git/citra/src/core/hw/lcd.cpp:126:15: note: in instantiation of function template specialization 'LCD::Write<unsigned short>' requested here
  2650. template void Write<u16>(u32 addr, const u16 data);
  2651. ^
  2652. /Users/Paul/Desktop/repo/git/citra/src/core/hw/lcd.cpp:114:55: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  2653. ERROR_LOG(LCD, "unknown Write%d 0x%08X @ 0x%08X", sizeof(data) * 8, data, addr);
  2654. ~~ ^~~~~~~~~~~~~~~~
  2655. %lu
  2656. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:108:74: note: expanded from macro 'ERROR_LOG'
  2657. #define ERROR_LOG(t,...) do { GENERIC_LOG(LogTypes::t, LogTypes::LERROR, __VA_ARGS__) } while (0)
  2658. ^
  2659. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:104:46: note: expanded from macro 'GENERIC_LOG'
  2660. GenericLog(v, t, __FILE__, __LINE__, __VA_ARGS__); \
  2661. ^
  2662. /Users/Paul/Desktop/repo/git/citra/src/core/hw/lcd.cpp:127:15: note: in instantiation of function template specialization 'LCD::Write<unsigned char>' requested here
  2663. template void Write<u8>(u32 addr, const u8 data);
  2664. ^
  2665. 12 warnings and 5 errors generated.
  2666. make[2]: *** [src/core/CMakeFiles/core.dir/hw/lcd.cpp.o] Error 1
  2667. [ 59%] Building CXX object src/core/CMakeFiles/core.dir/hw/ndma.cpp.o
  2668. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hw/ndma.cpp:5:
  2669. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  2670. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  2671. return (T)bswap64(*(u64 *)&x);
  2672. ^
  2673. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  2674. return (T)bswap32(*(u32 *)&x);
  2675. ^
  2676. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  2677. return (T)bswap16(*(u16 *)&x);
  2678. ^
  2679. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  2680. return (T)bswapf(*(float *)&x);
  2681. ^~~~~~
  2682. swap
  2683. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  2684. static T swap(T x) {
  2685. ^
  2686. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  2687. return (T)bswapd(*(double *)&x);
  2688. ^~~~~~
  2689. swap
  2690. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  2691. static T swap(T x) {
  2692. ^
  2693. /Users/Paul/Desktop/repo/git/citra/src/core/hw/ndma.cpp:14:48: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  2694. ERROR_LOG(NDMA, "unknown Read%d @ 0x%08X", sizeof(var) * 8, addr);
  2695. ~~ ^~~~~~~~~~~~~~~
  2696. %lu
  2697. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:108:74: note: expanded from macro 'ERROR_LOG'
  2698. #define ERROR_LOG(t,...) do { GENERIC_LOG(LogTypes::t, LogTypes::LERROR, __VA_ARGS__) } while (0)
  2699. ^
  2700. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:104:46: note: expanded from macro 'GENERIC_LOG'
  2701. GenericLog(v, t, __FILE__, __LINE__, __VA_ARGS__); \
  2702. ^
  2703. /Users/Paul/Desktop/repo/git/citra/src/core/hw/ndma.cpp:24:15: note: in instantiation of function template specialization 'NDMA::Read<unsigned long long>' requested here
  2704. template void Read<u64>(u64 &var, const u32 addr);
  2705. ^
  2706. /Users/Paul/Desktop/repo/git/citra/src/core/hw/ndma.cpp:14:48: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  2707. ERROR_LOG(NDMA, "unknown Read%d @ 0x%08X", sizeof(var) * 8, addr);
  2708. ~~ ^~~~~~~~~~~~~~~
  2709. %lu
  2710. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:108:74: note: expanded from macro 'ERROR_LOG'
  2711. #define ERROR_LOG(t,...) do { GENERIC_LOG(LogTypes::t, LogTypes::LERROR, __VA_ARGS__) } while (0)
  2712. ^
  2713. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:104:46: note: expanded from macro 'GENERIC_LOG'
  2714. GenericLog(v, t, __FILE__, __LINE__, __VA_ARGS__); \
  2715. ^
  2716. /Users/Paul/Desktop/repo/git/citra/src/core/hw/ndma.cpp:25:15: note: in instantiation of function template specialization 'NDMA::Read<unsigned int>' requested here
  2717. template void Read<u32>(u32 &var, const u32 addr);
  2718. ^
  2719. /Users/Paul/Desktop/repo/git/citra/src/core/hw/ndma.cpp:14:48: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  2720. ERROR_LOG(NDMA, "unknown Read%d @ 0x%08X", sizeof(var) * 8, addr);
  2721. ~~ ^~~~~~~~~~~~~~~
  2722. %lu
  2723. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:108:74: note: expanded from macro 'ERROR_LOG'
  2724. #define ERROR_LOG(t,...) do { GENERIC_LOG(LogTypes::t, LogTypes::LERROR, __VA_ARGS__) } while (0)
  2725. ^
  2726. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:104:46: note: expanded from macro 'GENERIC_LOG'
  2727. GenericLog(v, t, __FILE__, __LINE__, __VA_ARGS__); \
  2728. ^
  2729. /Users/Paul/Desktop/repo/git/citra/src/core/hw/ndma.cpp:26:15: note: in instantiation of function template specialization 'NDMA::Read<unsigned short>' requested here
  2730. template void Read<u16>(u16 &var, const u32 addr);
  2731. ^
  2732. /Users/Paul/Desktop/repo/git/citra/src/core/hw/ndma.cpp:14:48: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  2733. ERROR_LOG(NDMA, "unknown Read%d @ 0x%08X", sizeof(var) * 8, addr);
  2734. ~~ ^~~~~~~~~~~~~~~
  2735. %lu
  2736. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:108:74: note: expanded from macro 'ERROR_LOG'
  2737. #define ERROR_LOG(t,...) do { GENERIC_LOG(LogTypes::t, LogTypes::LERROR, __VA_ARGS__) } while (0)
  2738. ^
  2739. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:104:46: note: expanded from macro 'GENERIC_LOG'
  2740. GenericLog(v, t, __FILE__, __LINE__, __VA_ARGS__); \
  2741. ^
  2742. /Users/Paul/Desktop/repo/git/citra/src/core/hw/ndma.cpp:27:15: note: in instantiation of function template specialization 'NDMA::Read<unsigned char>' requested here
  2743. template void Read<u8>(u8 &var, const u32 addr);
  2744. ^
  2745. /Users/Paul/Desktop/repo/git/citra/src/core/hw/ndma.cpp:19:56: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  2746. ERROR_LOG(NDMA, "unknown Write%d 0x%08X @ 0x%08X", sizeof(data) * 8, data, addr);
  2747. ~~ ^~~~~~~~~~~~~~~~
  2748. %lu
  2749. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:108:74: note: expanded from macro 'ERROR_LOG'
  2750. #define ERROR_LOG(t,...) do { GENERIC_LOG(LogTypes::t, LogTypes::LERROR, __VA_ARGS__) } while (0)
  2751. ^
  2752. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:104:46: note: expanded from macro 'GENERIC_LOG'
  2753. GenericLog(v, t, __FILE__, __LINE__, __VA_ARGS__); \
  2754. ^
  2755. /Users/Paul/Desktop/repo/git/citra/src/core/hw/ndma.cpp:29:15: note: in instantiation of function template specialization 'NDMA::Write<unsigned long long>' requested here
  2756. template void Write<u64>(u32 addr, const u64 data);
  2757. ^
  2758. /Users/Paul/Desktop/repo/git/citra/src/core/hw/ndma.cpp:19:74: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long long' [-Wformat]
  2759. ERROR_LOG(NDMA, "unknown Write%d 0x%08X @ 0x%08X", sizeof(data) * 8, data, addr);
  2760. ~~~~ ^~~~
  2761. %08llX
  2762. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:108:74: note: expanded from macro 'ERROR_LOG'
  2763. #define ERROR_LOG(t,...) do { GENERIC_LOG(LogTypes::t, LogTypes::LERROR, __VA_ARGS__) } while (0)
  2764. ^
  2765. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:104:46: note: expanded from macro 'GENERIC_LOG'
  2766. GenericLog(v, t, __FILE__, __LINE__, __VA_ARGS__); \
  2767. ^
  2768. /Users/Paul/Desktop/repo/git/citra/src/core/hw/ndma.cpp:19:56: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  2769. ERROR_LOG(NDMA, "unknown Write%d 0x%08X @ 0x%08X", sizeof(data) * 8, data, addr);
  2770. ~~ ^~~~~~~~~~~~~~~~
  2771. %lu
  2772. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:108:74: note: expanded from macro 'ERROR_LOG'
  2773. #define ERROR_LOG(t,...) do { GENERIC_LOG(LogTypes::t, LogTypes::LERROR, __VA_ARGS__) } while (0)
  2774. ^
  2775. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:104:46: note: expanded from macro 'GENERIC_LOG'
  2776. GenericLog(v, t, __FILE__, __LINE__, __VA_ARGS__); \
  2777. ^
  2778. /Users/Paul/Desktop/repo/git/citra/src/core/hw/ndma.cpp:30:15: note: in instantiation of function template specialization 'NDMA::Write<unsigned int>' requested here
  2779. template void Write<u32>(u32 addr, const u32 data);
  2780. ^
  2781. /Users/Paul/Desktop/repo/git/citra/src/core/hw/ndma.cpp:19:56: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  2782. ERROR_LOG(NDMA, "unknown Write%d 0x%08X @ 0x%08X", sizeof(data) * 8, data, addr);
  2783. ~~ ^~~~~~~~~~~~~~~~
  2784. %lu
  2785. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:108:74: note: expanded from macro 'ERROR_LOG'
  2786. #define ERROR_LOG(t,...) do { GENERIC_LOG(LogTypes::t, LogTypes::LERROR, __VA_ARGS__) } while (0)
  2787. ^
  2788. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:104:46: note: expanded from macro 'GENERIC_LOG'
  2789. GenericLog(v, t, __FILE__, __LINE__, __VA_ARGS__); \
  2790. ^
  2791. /Users/Paul/Desktop/repo/git/citra/src/core/hw/ndma.cpp:31:15: note: in instantiation of function template specialization 'NDMA::Write<unsigned short>' requested here
  2792. template void Write<u16>(u32 addr, const u16 data);
  2793. ^
  2794. /Users/Paul/Desktop/repo/git/citra/src/core/hw/ndma.cpp:19:56: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  2795. ERROR_LOG(NDMA, "unknown Write%d 0x%08X @ 0x%08X", sizeof(data) * 8, data, addr);
  2796. ~~ ^~~~~~~~~~~~~~~~
  2797. %lu
  2798. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:108:74: note: expanded from macro 'ERROR_LOG'
  2799. #define ERROR_LOG(t,...) do { GENERIC_LOG(LogTypes::t, LogTypes::LERROR, __VA_ARGS__) } while (0)
  2800. ^
  2801. /Users/Paul/Desktop/repo/git/citra/src/common/log.h:104:46: note: expanded from macro 'GENERIC_LOG'
  2802. GenericLog(v, t, __FILE__, __LINE__, __VA_ARGS__); \
  2803. ^
  2804. /Users/Paul/Desktop/repo/git/citra/src/core/hw/ndma.cpp:32:15: note: in instantiation of function template specialization 'NDMA::Write<unsigned char>' requested here
  2805. template void Write<u8>(u32 addr, const u8 data);
  2806. ^
  2807. 9 warnings and 5 errors generated.
  2808. make[2]: *** [src/core/CMakeFiles/core.dir/hw/ndma.cpp.o] Error 1
  2809. make[2]: Target `src/core/CMakeFiles/core.dir/build' not remade because of errors.
  2810. make[1]: *** [src/core/CMakeFiles/core.dir/all] Error 2
  2811. Scanning dependencies of target video_core
  2812. [ 60%] Building CXX object src/video_core/CMakeFiles/video_core.dir/video_core.cpp.o
  2813. In file included from /Users/Paul/Desktop/repo/git/citra/src/video_core/video_core.cpp:5:
  2814. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:43:
  2815. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  2816. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  2817. return (T)bswap64(*(u64 *)&x);
  2818. ^
  2819. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  2820. return (T)bswap32(*(u32 *)&x);
  2821. ^
  2822. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  2823. return (T)bswap16(*(u16 *)&x);
  2824. ^
  2825. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  2826. return (T)bswapf(*(float *)&x);
  2827. ^~~~~~
  2828. swap
  2829. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  2830. static T swap(T x) {
  2831. ^
  2832. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  2833. return (T)bswapd(*(double *)&x);
  2834. ^~~~~~
  2835. swap
  2836. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  2837. static T swap(T x) {
  2838. ^
  2839. In file included from /Users/Paul/Desktop/repo/git/citra/src/video_core/video_core.cpp:5:
  2840. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  2841. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  2842. #define LONG long
  2843. ^
  2844. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  2845. #define LONG int
  2846. ^
  2847. In file included from /Users/Paul/Desktop/repo/git/citra/src/video_core/video_core.cpp:5:
  2848. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  2849. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  2850. #define MAX_PATH PATH_MAX
  2851. ^
  2852. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  2853. #define MAX_PATH 260
  2854. ^
  2855. In file included from /Users/Paul/Desktop/repo/git/citra/src/video_core/video_core.cpp:13:
  2856. /Users/Paul/Desktop/repo/git/citra/src/video_core/renderer_opengl/renderer_opengl.h:62:26: error: extra qualification on member 'FlipFramebuffer'
  2857. void RendererOpenGL::FlipFramebuffer(const u8* in, u8* out);
  2858. ~~~~~~~~~~~~~~~~^
  2859. /Users/Paul/Desktop/repo/git/citra/src/video_core/video_core.cpp:46:5: warning: delete called on 'RendererBase' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor]
  2860. delete g_renderer;
  2861. ^
  2862. 3 warnings and 6 errors generated.
  2863. make[2]: *** [src/video_core/CMakeFiles/video_core.dir/video_core.cpp.o] Error 1
  2864. [ 61%] Building CXX object src/video_core/CMakeFiles/video_core.dir/utils.cpp.o
  2865. In file included from /Users/Paul/Desktop/repo/git/citra/src/video_core/utils.cpp:8:
  2866. In file included from /Users/Paul/Desktop/repo/git/citra/src/video_core/utils.h:9:
  2867. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  2868. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  2869. return (T)bswap64(*(u64 *)&x);
  2870. ^
  2871. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  2872. return (T)bswap32(*(u32 *)&x);
  2873. ^
  2874. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  2875. return (T)bswap16(*(u16 *)&x);
  2876. ^
  2877. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  2878. return (T)bswapf(*(float *)&x);
  2879. ^~~~~~
  2880. swap
  2881. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  2882. static T swap(T x) {
  2883. ^
  2884. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  2885. return (T)bswapd(*(double *)&x);
  2886. ^~~~~~
  2887. swap
  2888. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  2889. static T swap(T x) {
  2890. ^
  2891. 5 errors generated.
  2892. make[2]: *** [src/video_core/CMakeFiles/video_core.dir/utils.cpp.o] Error 1
  2893. [ 62%] Building CXX object src/video_core/CMakeFiles/video_core.dir/renderer_opengl/renderer_opengl.cpp.o
  2894. In file included from /Users/Paul/Desktop/repo/git/citra/src/video_core/renderer_opengl/renderer_opengl.cpp:5:
  2895. In file included from /Users/Paul/Desktop/repo/git/citra/src/core/hw/lcd.h:7:
  2896. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:65:
  2897. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:456:19: error: use of undeclared identifier 'bswap64'
  2898. return (T)bswap64(*(u64 *)&x);
  2899. ^
  2900. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:463:19: error: use of undeclared identifier 'bswap32'
  2901. return (T)bswap32(*(u32 *)&x);
  2902. ^
  2903. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:470:19: error: use of undeclared identifier 'bswap16'
  2904. return (T)bswap16(*(u16 *)&x);
  2905. ^
  2906. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:477:19: error: use of undeclared identifier 'bswapf'; did you mean 'swap'?
  2907. return (T)bswapf(*(float *)&x);
  2908. ^~~~~~
  2909. swap
  2910. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:476:14: note: 'swap' declared here
  2911. static T swap(T x) {
  2912. ^
  2913. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:484:19: error: use of undeclared identifier 'bswapd'; did you mean 'swap'?
  2914. return (T)bswapd(*(double *)&x);
  2915. ^~~~~~
  2916. swap
  2917. /Users/Paul/Desktop/repo/git/citra/src/common/swap.h:483:14: note: 'swap' declared here
  2918. static T swap(T x) {
  2919. ^
  2920. In file included from /Users/Paul/Desktop/repo/git/citra/src/video_core/renderer_opengl/renderer_opengl.cpp:7:
  2921. In file included from /Users/Paul/Desktop/repo/git/citra/src/video_core/video_core.h:7:
  2922. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  2923. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:90:9: warning: 'LONG' macro redefined
  2924. #define LONG long
  2925. ^
  2926. /Users/Paul/Desktop/repo/git/citra/src/common/common_types.h:58:9: note: previous definition is here
  2927. #define LONG int
  2928. ^
  2929. In file included from /Users/Paul/Desktop/repo/git/citra/src/video_core/renderer_opengl/renderer_opengl.cpp:7:
  2930. In file included from /Users/Paul/Desktop/repo/git/citra/src/video_core/video_core.h:7:
  2931. In file included from /Users/Paul/Desktop/repo/git/citra/src/common/common.h:47:
  2932. /Users/Paul/Desktop/repo/git/citra/src/common/platform.h:100:9: warning: 'MAX_PATH' macro redefined
  2933. #define MAX_PATH PATH_MAX
  2934. ^
  2935. /Users/Paul/Desktop/repo/git/citra/src/common/common_paths.h:16:9: note: previous definition is here
  2936. #define MAX_PATH 260
  2937. ^
  2938. In file included from /Users/Paul/Desktop/repo/git/citra/src/video_core/renderer_opengl/renderer_opengl.cpp:8:
  2939. /Users/Paul/Desktop/repo/git/citra/src/video_core/renderer_opengl/renderer_opengl.h:62:26: error: extra qualification on member 'FlipFramebuffer'
  2940. void RendererOpenGL::FlipFramebuffer(const u8* in, u8* out);
  2941. ~~~~~~~~~~~~~~~~^
  2942. 2 warnings and 6 errors generated.
  2943. make[2]: *** [src/video_core/CMakeFiles/video_core.dir/renderer_opengl/renderer_opengl.cpp.o] Error 1
  2944. make[2]: Target `src/video_core/CMakeFiles/video_core.dir/build' not remade because of errors.
  2945. make[1]: *** [src/video_core/CMakeFiles/video_core.dir/all] Error 2
  2946. make[1]: Target `all' not remade because of errors.
  2947. make: *** [all] Error 2
  2948. make: Target `default_target' not remade because of errors.
  2949. Pauls-MacBook-Air:citra Paul$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement