Advertisement
Guest User

Untitled

a guest
Dec 6th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 51.66 KB | None | 0 0
  1. glazed@glazed-pc:~/Documents/DeSmuME-PSP/build$ make
  2. psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -fno-exceptions -D_PSP_FW_VERSION=150 -c -o ../source/arm_instructions.o ../source/arm_instructions.cpp
  3. In file included from ../source/MMU.h:24:0,
  4. from ../source/arm_instructions.cpp:32:
  5. ../source/firmware.h: In constructor ‘CFIRMWARE::CFIRMWARE()’:
  6. ../source/firmware.h:90:7: warning: ‘CFIRMWARE::patched’ will be initialized after [-Wreorder]
  7. bool patched;
  8. ^
  9. ../source/firmware.h:42:7: warning: ‘u32 CFIRMWARE::userDataAddr’ [-Wreorder]
  10. u32 userDataAddr;
  11. ^
  12. ../source/firmware.h:51:2: warning: when initialized here [-Wreorder]
  13. CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {};
  14. ^
  15. In file included from ../source/arm_instructions.cpp:34:0:
  16. ../source/NDSSystem.h: In constructor ‘GameInfo::GameInfo()’:
  17. ../source/NDSSystem.h:324:6: warning: ‘GameInfo::chipID’ will be initialized after [-Wreorder]
  18. u32 chipID;
  19. ^
  20. ../source/NDSSystem.h:320:6: warning: ‘u32 GameInfo::romsize’ [-Wreorder]
  21. u32 romsize;
  22. ^
  23. ../source/NDSSystem.h:337:2: warning: when initialized here [-Wreorder]
  24. GameInfo() : fROM(NULL),
  25. ^
  26. ../source/NDSSystem.h: In constructor ‘TCommonSettings::TCommonSettings()’:
  27. ../source/NDSSystem.h:611:6: warning: ‘TCommonSettings::jit_max_block_size’ will be initialized after [-Wreorder]
  28. u32 jit_max_block_size;
  29. ^
  30. ../source/NDSSystem.h:579:7: warning: ‘bool TCommonSettings::loadToMemory’ [-Wreorder]
  31. bool loadToMemory;
  32. ^
  33. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  34. TCommonSettings()
  35. ^
  36. ../source/NDSSystem.h:634:6: warning: ‘TCommonSettings::manualBackupType’ will be initialized after [-Wreorder]
  37. int manualBackupType;
  38. ^
  39. ../source/NDSSystem.h:632:6: warning: ‘int TCommonSettings::autodetectBackupMethod’ [-Wreorder]
  40. int autodetectBackupMethod;
  41. ^
  42. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  43. TCommonSettings()
  44. ^
  45. ../source/NDSSystem.h:642:7: warning: ‘TCommonSettings::spu_advanced’ will be initialized after [-Wreorder]
  46. bool spu_advanced;
  47. ^
  48. ../source/NDSSystem.h:603:6: warning: ‘int TCommonSettings::StylusPressure’ [-Wreorder]
  49. int StylusPressure;
  50. ^
  51. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  52. TCommonSettings()
  53. ^
  54. ../source/NDSSystem.h:603:6: warning: ‘TCommonSettings::StylusPressure’ will be initialized after [-Wreorder]
  55. int StylusPressure;
  56. ^
  57. ../source/NDSSystem.h:593:19: warning: ‘NDS_CONSOLE_TYPE TCommonSettings::ConsoleType’ [-Wreorder]
  58. NDS_CONSOLE_TYPE ConsoleType;
  59. ^
  60. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  61. TCommonSettings()
  62. ^
  63. ../source/arm_instructions.cpp: In instantiation of ‘u32 OP_STR_P_IMM_OFF_POSTIND(u32) [with int PROCNUM = 0; u32 = unsigned int]’:
  64. ../source/arm_instructions.cpp:6327:2: required from here
  65. ../source/arm_instructions.cpp:4278:28: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  66. vdDejaLog(" ENTROOOPPP ");
  67. ^
  68. ../source/arm_instructions.cpp:4283:27: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  69. vdDejaLog(" WRITTTE32 ");
  70. ^
  71. ../source/arm_instructions.cpp:4289:62: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘void*’ [-Wformat=]
  72. sprintf(achJJJ," DATA %d adr %d ", cpu->mem_if->data, adr);
  73. ^
  74. ../source/arm_instructions.cpp:4289:62: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘void*’ [-Wformat=]
  75. ../source/arm_instructions.cpp:4297:26: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  76. vdDejaLog(" CPPUUUUU ");
  77. ^
  78. ../source/arm_instructions.cpp:4302:27: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  79. vdDejaLog(" RETURNNNN ");
  80. ^
  81. ../source/arm_instructions.cpp: In instantiation of ‘u32 OP_STR_P_IMM_OFF_POSTIND(u32) [with int PROCNUM = 1; u32 = unsigned int]’:
  82. ../source/arm_instructions.cpp:6327:2: required from here
  83. ../source/arm_instructions.cpp:4278:28: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  84. vdDejaLog(" ENTROOOPPP ");
  85. ^
  86. ../source/arm_instructions.cpp:4283:27: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  87. vdDejaLog(" WRITTTE32 ");
  88. ^
  89. ../source/arm_instructions.cpp:4289:62: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘void*’ [-Wformat=]
  90. sprintf(achJJJ," DATA %d adr %d ", cpu->mem_if->data, adr);
  91. ^
  92. ../source/arm_instructions.cpp:4289:62: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘void*’ [-Wformat=]
  93. ../source/arm_instructions.cpp:4297:26: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  94. vdDejaLog(" CPPUUUUU ");
  95. ^
  96. ../source/arm_instructions.cpp:4302:27: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  97. vdDejaLog(" RETURNNNN ");
  98. ^
  99. psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -fno-exceptions -D_PSP_FW_VERSION=150 -c -o ../source/armcpu.o ../source/armcpu.cpp
  100. In file included from ../source/MMU.h:24:0,
  101. from ../source/armcpu.h:24,
  102. from ../source/armcpu.cpp:24:
  103. ../source/firmware.h: In constructor ‘CFIRMWARE::CFIRMWARE()’:
  104. ../source/firmware.h:90:7: warning: ‘CFIRMWARE::patched’ will be initialized after [-Wreorder]
  105. bool patched;
  106. ^
  107. ../source/firmware.h:42:7: warning: ‘u32 CFIRMWARE::userDataAddr’ [-Wreorder]
  108. u32 userDataAddr;
  109. ^
  110. ../source/firmware.h:51:2: warning: when initialized here [-Wreorder]
  111. CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {};
  112. ^
  113. In file included from ../source/armcpu.cpp:31:0:
  114. ../source/NDSSystem.h: In constructor ‘GameInfo::GameInfo()’:
  115. ../source/NDSSystem.h:324:6: warning: ‘GameInfo::chipID’ will be initialized after [-Wreorder]
  116. u32 chipID;
  117. ^
  118. ../source/NDSSystem.h:320:6: warning: ‘u32 GameInfo::romsize’ [-Wreorder]
  119. u32 romsize;
  120. ^
  121. ../source/NDSSystem.h:337:2: warning: when initialized here [-Wreorder]
  122. GameInfo() : fROM(NULL),
  123. ^
  124. ../source/NDSSystem.h: In constructor ‘TCommonSettings::TCommonSettings()’:
  125. ../source/NDSSystem.h:611:6: warning: ‘TCommonSettings::jit_max_block_size’ will be initialized after [-Wreorder]
  126. u32 jit_max_block_size;
  127. ^
  128. ../source/NDSSystem.h:579:7: warning: ‘bool TCommonSettings::loadToMemory’ [-Wreorder]
  129. bool loadToMemory;
  130. ^
  131. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  132. TCommonSettings()
  133. ^
  134. ../source/NDSSystem.h:634:6: warning: ‘TCommonSettings::manualBackupType’ will be initialized after [-Wreorder]
  135. int manualBackupType;
  136. ^
  137. ../source/NDSSystem.h:632:6: warning: ‘int TCommonSettings::autodetectBackupMethod’ [-Wreorder]
  138. int autodetectBackupMethod;
  139. ^
  140. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  141. TCommonSettings()
  142. ^
  143. ../source/NDSSystem.h:642:7: warning: ‘TCommonSettings::spu_advanced’ will be initialized after [-Wreorder]
  144. bool spu_advanced;
  145. ^
  146. ../source/NDSSystem.h:603:6: warning: ‘int TCommonSettings::StylusPressure’ [-Wreorder]
  147. int StylusPressure;
  148. ^
  149. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  150. TCommonSettings()
  151. ^
  152. ../source/NDSSystem.h:603:6: warning: ‘TCommonSettings::StylusPressure’ will be initialized after [-Wreorder]
  153. int StylusPressure;
  154. ^
  155. ../source/NDSSystem.h:593:19: warning: ‘NDS_CONSOLE_TYPE TCommonSettings::ConsoleType’ [-Wreorder]
  156. NDS_CONSOLE_TYPE ConsoleType;
  157. ^
  158. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  159. TCommonSettings()
  160. ^
  161. psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -fno-exceptions -D_PSP_FW_VERSION=150 -c -o ../source/bios.o ../source/bios.cpp
  162. In file included from ../source/MMU.h:24:0,
  163. from ../source/armcpu.h:24,
  164. from ../source/bios.cpp:23:
  165. ../source/firmware.h: In constructor ‘CFIRMWARE::CFIRMWARE()’:
  166. ../source/firmware.h:90:7: warning: ‘CFIRMWARE::patched’ will be initialized after [-Wreorder]
  167. bool patched;
  168. ^
  169. ../source/firmware.h:42:7: warning: ‘u32 CFIRMWARE::userDataAddr’ [-Wreorder]
  170. u32 userDataAddr;
  171. ^
  172. ../source/firmware.h:51:2: warning: when initialized here [-Wreorder]
  173. CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {};
  174. ^
  175. In file included from ../source/bios.cpp:29:0:
  176. ../source/NDSSystem.h: In constructor ‘GameInfo::GameInfo()’:
  177. ../source/NDSSystem.h:324:6: warning: ‘GameInfo::chipID’ will be initialized after [-Wreorder]
  178. u32 chipID;
  179. ^
  180. ../source/NDSSystem.h:320:6: warning: ‘u32 GameInfo::romsize’ [-Wreorder]
  181. u32 romsize;
  182. ^
  183. ../source/NDSSystem.h:337:2: warning: when initialized here [-Wreorder]
  184. GameInfo() : fROM(NULL),
  185. ^
  186. ../source/NDSSystem.h: In constructor ‘TCommonSettings::TCommonSettings()’:
  187. ../source/NDSSystem.h:611:6: warning: ‘TCommonSettings::jit_max_block_size’ will be initialized after [-Wreorder]
  188. u32 jit_max_block_size;
  189. ^
  190. ../source/NDSSystem.h:579:7: warning: ‘bool TCommonSettings::loadToMemory’ [-Wreorder]
  191. bool loadToMemory;
  192. ^
  193. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  194. TCommonSettings()
  195. ^
  196. ../source/NDSSystem.h:634:6: warning: ‘TCommonSettings::manualBackupType’ will be initialized after [-Wreorder]
  197. int manualBackupType;
  198. ^
  199. ../source/NDSSystem.h:632:6: warning: ‘int TCommonSettings::autodetectBackupMethod’ [-Wreorder]
  200. int autodetectBackupMethod;
  201. ^
  202. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  203. TCommonSettings()
  204. ^
  205. ../source/NDSSystem.h:642:7: warning: ‘TCommonSettings::spu_advanced’ will be initialized after [-Wreorder]
  206. bool spu_advanced;
  207. ^
  208. ../source/NDSSystem.h:603:6: warning: ‘int TCommonSettings::StylusPressure’ [-Wreorder]
  209. int StylusPressure;
  210. ^
  211. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  212. TCommonSettings()
  213. ^
  214. ../source/NDSSystem.h:603:6: warning: ‘TCommonSettings::StylusPressure’ will be initialized after [-Wreorder]
  215. int StylusPressure;
  216. ^
  217. ../source/NDSSystem.h:593:19: warning: ‘NDS_CONSOLE_TYPE TCommonSettings::ConsoleType’ [-Wreorder]
  218. NDS_CONSOLE_TYPE ConsoleType;
  219. ^
  220. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  221. TCommonSettings()
  222. ^
  223. psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -fno-exceptions -D_PSP_FW_VERSION=150 -c -o ../source/common.o ../source/common.cpp
  224. ../source/common.cpp:392:12: warning: ‘int WritePNGChunk(FILE*, uint32, const char*, const uint8*)’ defined but not used [-Wunused-function]
  225. static int WritePNGChunk(FILE *fp, uint32 size, const char *type, const uint8 *data)
  226. ^
  227. psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -fno-exceptions -D_PSP_FW_VERSION=150 -c -o ../source/commandline.o ../source/commandline.cpp
  228. In file included from ../source/MMU.h:24:0,
  229. from ../source/slot1.h:24,
  230. from ../source/commandline.cpp:26:
  231. ../source/firmware.h: In constructor ‘CFIRMWARE::CFIRMWARE()’:
  232. ../source/firmware.h:90:7: warning: ‘CFIRMWARE::patched’ will be initialized after [-Wreorder]
  233. bool patched;
  234. ^
  235. ../source/firmware.h:42:7: warning: ‘u32 CFIRMWARE::userDataAddr’ [-Wreorder]
  236. u32 userDataAddr;
  237. ^
  238. ../source/firmware.h:51:2: warning: when initialized here [-Wreorder]
  239. CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {};
  240. ^
  241. In file included from ../source/commandline.cpp:28:0:
  242. ../source/NDSSystem.h: In constructor ‘GameInfo::GameInfo()’:
  243. ../source/NDSSystem.h:324:6: warning: ‘GameInfo::chipID’ will be initialized after [-Wreorder]
  244. u32 chipID;
  245. ^
  246. ../source/NDSSystem.h:320:6: warning: ‘u32 GameInfo::romsize’ [-Wreorder]
  247. u32 romsize;
  248. ^
  249. ../source/NDSSystem.h:337:2: warning: when initialized here [-Wreorder]
  250. GameInfo() : fROM(NULL),
  251. ^
  252. ../source/NDSSystem.h: In constructor ‘TCommonSettings::TCommonSettings()’:
  253. ../source/NDSSystem.h:611:6: warning: ‘TCommonSettings::jit_max_block_size’ will be initialized after [-Wreorder]
  254. u32 jit_max_block_size;
  255. ^
  256. ../source/NDSSystem.h:579:7: warning: ‘bool TCommonSettings::loadToMemory’ [-Wreorder]
  257. bool loadToMemory;
  258. ^
  259. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  260. TCommonSettings()
  261. ^
  262. ../source/NDSSystem.h:634:6: warning: ‘TCommonSettings::manualBackupType’ will be initialized after [-Wreorder]
  263. int manualBackupType;
  264. ^
  265. ../source/NDSSystem.h:632:6: warning: ‘int TCommonSettings::autodetectBackupMethod’ [-Wreorder]
  266. int autodetectBackupMethod;
  267. ^
  268. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  269. TCommonSettings()
  270. ^
  271. ../source/NDSSystem.h:642:7: warning: ‘TCommonSettings::spu_advanced’ will be initialized after [-Wreorder]
  272. bool spu_advanced;
  273. ^
  274. ../source/NDSSystem.h:603:6: warning: ‘int TCommonSettings::StylusPressure’ [-Wreorder]
  275. int StylusPressure;
  276. ^
  277. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  278. TCommonSettings()
  279. ^
  280. ../source/NDSSystem.h:603:6: warning: ‘TCommonSettings::StylusPressure’ will be initialized after [-Wreorder]
  281. int StylusPressure;
  282. ^
  283. ../source/NDSSystem.h:593:19: warning: ‘NDS_CONSOLE_TYPE TCommonSettings::ConsoleType’ [-Wreorder]
  284. NDS_CONSOLE_TYPE ConsoleType;
  285. ^
  286. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  287. TCommonSettings()
  288. ^
  289. In file included from ../source/commandline.cpp:23:0:
  290. ../source/commandline.h: In constructor ‘CommandLine::CommandLine()’:
  291. ../source/commandline.h:91:6: warning: ‘CommandLine::_load_to_memory’ will be initialized after [-Wreorder]
  292. int _load_to_memory;
  293. ^
  294. ../source/commandline.h:79:10: warning: ‘GError* CommandLine::error’ [-Wreorder]
  295. GError *error;
  296. ^
  297. ../source/commandline.cpp:34:1: warning: when initialized here [-Wreorder]
  298. CommandLine::CommandLine()
  299. ^
  300. In file included from ../source/commandline.cpp:23:0:
  301. ../source/commandline.h:92:6: warning: ‘CommandLine::_bios_swi’ will be initialized after [-Wreorder]
  302. int _bios_swi;
  303. ^
  304. ../source/commandline.h:82:6: warning: ‘int CommandLine::_spu_sync_mode’ [-Wreorder]
  305. int _spu_sync_mode;
  306. ^
  307. ../source/commandline.cpp:34:1: warning: when initialized here [-Wreorder]
  308. CommandLine::CommandLine()
  309. ^
  310. In file included from ../source/commandline.cpp:23:0:
  311. ../source/commandline.h:102:8: warning: ‘CommandLine::_slot1_fat_dir’ will be initialized after [-Wreorder]
  312. char *_slot1_fat_dir;
  313. ^
  314. ../source/commandline.h:53:7: warning: ‘bool CommandLine::_slot1_fat_dir_type’ [-Wreorder]
  315. bool _slot1_fat_dir_type;
  316. ^
  317. ../source/commandline.cpp:34:1: warning: when initialized here [-Wreorder]
  318. CommandLine::CommandLine()
  319. ^
  320. In file included from ../source/commandline.cpp:23:0:
  321. ../source/commandline.h:104:8: warning: ‘CommandLine::_advanscene_import’ will be initialized after [-Wreorder]
  322. char* _advanscene_import;
  323. ^
  324. ../source/commandline.h:40:6: warning: ‘int CommandLine::depth_threshold’ [-Wreorder]
  325. int depth_threshold;
  326. ^
  327. ../source/commandline.cpp:34:1: warning: when initialized here [-Wreorder]
  328. CommandLine::CommandLine()
  329. ^
  330. In file included from ../source/commandline.cpp:23:0:
  331. ../source/commandline.h:40:6: warning: ‘CommandLine::depth_threshold’ will be initialized after [-Wreorder]
  332. int depth_threshold;
  333. ^
  334. ../source/commandline.h:39:6: warning: ‘int CommandLine::load_slot’ [-Wreorder]
  335. int load_slot;
  336. ^
  337. ../source/commandline.cpp:34:1: warning: when initialized here [-Wreorder]
  338. CommandLine::CommandLine()
  339. ^
  340. In file included from ../source/commandline.cpp:23:0:
  341. ../source/commandline.h:46:6: warning: ‘CommandLine::start_paused’ will be initialized after [-Wreorder]
  342. int start_paused;
  343. ^
  344. ../source/commandline.h:41:6: warning: ‘int CommandLine::autodetect_method’ [-Wreorder]
  345. int autodetect_method;
  346. ^
  347. ../source/commandline.cpp:34:1: warning: when initialized here [-Wreorder]
  348. CommandLine::CommandLine()
  349. ^
  350. psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -fno-exceptions -D_PSP_FW_VERSION=150 -c -o ../source/cp15.o ../source/cp15.cpp
  351. In file included from ../source/MMU.h:24:0,
  352. from ../source/armcpu.h:24,
  353. from ../source/cp15.cpp:21:
  354. ../source/firmware.h: In constructor ‘CFIRMWARE::CFIRMWARE()’:
  355. ../source/firmware.h:90:7: warning: ‘CFIRMWARE::patched’ will be initialized after [-Wreorder]
  356. bool patched;
  357. ^
  358. ../source/firmware.h:42:7: warning: ‘u32 CFIRMWARE::userDataAddr’ [-Wreorder]
  359. u32 userDataAddr;
  360. ^
  361. ../source/firmware.h:51:2: warning: when initialized here [-Wreorder]
  362. CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {};
  363. ^
  364. psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -fno-exceptions -D_PSP_FW_VERSION=150 -c -o ../source/debug.o ../source/debug.cpp
  365. In file included from ../source/MMU.h:24:0,
  366. from ../source/debug.cpp:24:
  367. ../source/firmware.h: In constructor ‘CFIRMWARE::CFIRMWARE()’:
  368. ../source/firmware.h:90:7: warning: ‘CFIRMWARE::patched’ will be initialized after [-Wreorder]
  369. bool patched;
  370. ^
  371. ../source/firmware.h:42:7: warning: ‘u32 CFIRMWARE::userDataAddr’ [-Wreorder]
  372. u32 userDataAddr;
  373. ^
  374. ../source/firmware.h:51:2: warning: when initialized here [-Wreorder]
  375. CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {};
  376. ^
  377. In file included from ../source/debug.cpp:28:0:
  378. ../source/NDSSystem.h: In constructor ‘GameInfo::GameInfo()’:
  379. ../source/NDSSystem.h:324:6: warning: ‘GameInfo::chipID’ will be initialized after [-Wreorder]
  380. u32 chipID;
  381. ^
  382. ../source/NDSSystem.h:320:6: warning: ‘u32 GameInfo::romsize’ [-Wreorder]
  383. u32 romsize;
  384. ^
  385. ../source/NDSSystem.h:337:2: warning: when initialized here [-Wreorder]
  386. GameInfo() : fROM(NULL),
  387. ^
  388. ../source/NDSSystem.h: In constructor ‘TCommonSettings::TCommonSettings()’:
  389. ../source/NDSSystem.h:611:6: warning: ‘TCommonSettings::jit_max_block_size’ will be initialized after [-Wreorder]
  390. u32 jit_max_block_size;
  391. ^
  392. ../source/NDSSystem.h:579:7: warning: ‘bool TCommonSettings::loadToMemory’ [-Wreorder]
  393. bool loadToMemory;
  394. ^
  395. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  396. TCommonSettings()
  397. ^
  398. ../source/NDSSystem.h:634:6: warning: ‘TCommonSettings::manualBackupType’ will be initialized after [-Wreorder]
  399. int manualBackupType;
  400. ^
  401. ../source/NDSSystem.h:632:6: warning: ‘int TCommonSettings::autodetectBackupMethod’ [-Wreorder]
  402. int autodetectBackupMethod;
  403. ^
  404. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  405. TCommonSettings()
  406. ^
  407. ../source/NDSSystem.h:642:7: warning: ‘TCommonSettings::spu_advanced’ will be initialized after [-Wreorder]
  408. bool spu_advanced;
  409. ^
  410. ../source/NDSSystem.h:603:6: warning: ‘int TCommonSettings::StylusPressure’ [-Wreorder]
  411. int StylusPressure;
  412. ^
  413. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  414. TCommonSettings()
  415. ^
  416. ../source/NDSSystem.h:603:6: warning: ‘TCommonSettings::StylusPressure’ will be initialized after [-Wreorder]
  417. int StylusPressure;
  418. ^
  419. ../source/NDSSystem.h:593:19: warning: ‘NDS_CONSOLE_TYPE TCommonSettings::ConsoleType’ [-Wreorder]
  420. NDS_CONSOLE_TYPE ConsoleType;
  421. ^
  422. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  423. TCommonSettings()
  424. ^
  425. ../source/debug.cpp: In function ‘void DEBUG_reset()’:
  426. ../source/debug.cpp:225:54: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 2 has type ‘void (DebugStatistics::*)()’ [-Wformat=]
  427. printf("DEBUG_reset: %08X\n",&DebugStatistics::print); //force a reference to this function
  428. ^
  429. ../source/debug.cpp:225:54: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 2 has type ‘void (DebugStatistics::*)()’ [-Wformat=]
  430. ../source/debug.cpp: At global scope:
  431. ../source/debug.cpp:67:13: warning: ‘bool CheckRange(u32, u32, u32)’ defined but not used [-Wunused-function]
  432. static bool CheckRange(u32 adr, u32 min, u32 len)
  433. ^
  434. ../source/debug.cpp:228:13: warning: ‘void DEBUG_dumpMemory_fill(EMUFILE*, u32)’ defined but not used [-Wunused-function]
  435. static void DEBUG_dumpMemory_fill(EMUFILE *fp, u32 size)
  436. ^
  437. psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -fno-exceptions -D_PSP_FW_VERSION=150 -c -o ../source/driver.o ../source/driver.cpp
  438. ../source/driver.cpp: In member function ‘void BaseDriver::VIEW3D_Shutdown()’:
  439. ../source/driver.cpp:35:35: warning: deleting object of polymorphic class type ‘VIEW3D_Driver’ which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
  440. if(view3d != &nullView3d) delete view3d;
  441. ^
  442. psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -fno-exceptions -D_PSP_FW_VERSION=150 -c -o ../source/encrypt.o ../source/encrypt.cpp
  443. In file included from ../source/MMU.h:24:0,
  444. from ../source/armcpu.h:24,
  445. from ../source/encrypt.cpp:19:
  446. ../source/firmware.h: In constructor ‘CFIRMWARE::CFIRMWARE()’:
  447. ../source/firmware.h:90:7: warning: ‘CFIRMWARE::patched’ will be initialized after [-Wreorder]
  448. bool patched;
  449. ^
  450. ../source/firmware.h:42:7: warning: ‘u32 CFIRMWARE::userDataAddr’ [-Wreorder]
  451. u32 userDataAddr;
  452. ^
  453. ../source/firmware.h:51:2: warning: when initialized here [-Wreorder]
  454. CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {};
  455. ^
  456. psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -fno-exceptions -D_PSP_FW_VERSION=150 -c -o ../source/FIFO.o ../source/FIFO.cpp
  457. In file included from ../source/MMU.h:24:0,
  458. from ../source/armcpu.h:24,
  459. from ../source/FIFO.cpp:24:
  460. ../source/firmware.h: In constructor ‘CFIRMWARE::CFIRMWARE()’:
  461. ../source/firmware.h:90:7: warning: ‘CFIRMWARE::patched’ will be initialized after [-Wreorder]
  462. bool patched;
  463. ^
  464. ../source/firmware.h:42:7: warning: ‘u32 CFIRMWARE::userDataAddr’ [-Wreorder]
  465. u32 userDataAddr;
  466. ^
  467. ../source/firmware.h:51:2: warning: when initialized here [-Wreorder]
  468. CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {};
  469. ^
  470. In file included from ../source/FIFO.cpp:29:0:
  471. ../source/NDSSystem.h: In constructor ‘GameInfo::GameInfo()’:
  472. ../source/NDSSystem.h:324:6: warning: ‘GameInfo::chipID’ will be initialized after [-Wreorder]
  473. u32 chipID;
  474. ^
  475. ../source/NDSSystem.h:320:6: warning: ‘u32 GameInfo::romsize’ [-Wreorder]
  476. u32 romsize;
  477. ^
  478. ../source/NDSSystem.h:337:2: warning: when initialized here [-Wreorder]
  479. GameInfo() : fROM(NULL),
  480. ^
  481. ../source/NDSSystem.h: In constructor ‘TCommonSettings::TCommonSettings()’:
  482. ../source/NDSSystem.h:611:6: warning: ‘TCommonSettings::jit_max_block_size’ will be initialized after [-Wreorder]
  483. u32 jit_max_block_size;
  484. ^
  485. ../source/NDSSystem.h:579:7: warning: ‘bool TCommonSettings::loadToMemory’ [-Wreorder]
  486. bool loadToMemory;
  487. ^
  488. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  489. TCommonSettings()
  490. ^
  491. ../source/NDSSystem.h:634:6: warning: ‘TCommonSettings::manualBackupType’ will be initialized after [-Wreorder]
  492. int manualBackupType;
  493. ^
  494. ../source/NDSSystem.h:632:6: warning: ‘int TCommonSettings::autodetectBackupMethod’ [-Wreorder]
  495. int autodetectBackupMethod;
  496. ^
  497. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  498. TCommonSettings()
  499. ^
  500. ../source/NDSSystem.h:642:7: warning: ‘TCommonSettings::spu_advanced’ will be initialized after [-Wreorder]
  501. bool spu_advanced;
  502. ^
  503. ../source/NDSSystem.h:603:6: warning: ‘int TCommonSettings::StylusPressure’ [-Wreorder]
  504. int StylusPressure;
  505. ^
  506. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  507. TCommonSettings()
  508. ^
  509. ../source/NDSSystem.h:603:6: warning: ‘TCommonSettings::StylusPressure’ will be initialized after [-Wreorder]
  510. int StylusPressure;
  511. ^
  512. ../source/NDSSystem.h:593:19: warning: ‘NDS_CONSOLE_TYPE TCommonSettings::ConsoleType’ [-Wreorder]
  513. NDS_CONSOLE_TYPE ConsoleType;
  514. ^
  515. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  516. TCommonSettings()
  517. ^
  518. psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -fno-exceptions -D_PSP_FW_VERSION=150 -c -o ../source/firmware.o ../source/firmware.cpp
  519. In file included from ../source/firmware.cpp:19:0:
  520. ../source/firmware.h: In constructor ‘CFIRMWARE::CFIRMWARE()’:
  521. ../source/firmware.h:90:7: warning: ‘CFIRMWARE::patched’ will be initialized after [-Wreorder]
  522. bool patched;
  523. ^
  524. ../source/firmware.h:42:7: warning: ‘u32 CFIRMWARE::userDataAddr’ [-Wreorder]
  525. u32 userDataAddr;
  526. ^
  527. ../source/firmware.h:51:2: warning: when initialized here [-Wreorder]
  528. CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {};
  529. ^
  530. In file included from ../source/firmware.cpp:21:0:
  531. ../source/NDSSystem.h: In constructor ‘GameInfo::GameInfo()’:
  532. ../source/NDSSystem.h:324:6: warning: ‘GameInfo::chipID’ will be initialized after [-Wreorder]
  533. u32 chipID;
  534. ^
  535. ../source/NDSSystem.h:320:6: warning: ‘u32 GameInfo::romsize’ [-Wreorder]
  536. u32 romsize;
  537. ^
  538. ../source/NDSSystem.h:337:2: warning: when initialized here [-Wreorder]
  539. GameInfo() : fROM(NULL),
  540. ^
  541. ../source/NDSSystem.h: In constructor ‘TCommonSettings::TCommonSettings()’:
  542. ../source/NDSSystem.h:611:6: warning: ‘TCommonSettings::jit_max_block_size’ will be initialized after [-Wreorder]
  543. u32 jit_max_block_size;
  544. ^
  545. ../source/NDSSystem.h:579:7: warning: ‘bool TCommonSettings::loadToMemory’ [-Wreorder]
  546. bool loadToMemory;
  547. ^
  548. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  549. TCommonSettings()
  550. ^
  551. ../source/NDSSystem.h:634:6: warning: ‘TCommonSettings::manualBackupType’ will be initialized after [-Wreorder]
  552. int manualBackupType;
  553. ^
  554. ../source/NDSSystem.h:632:6: warning: ‘int TCommonSettings::autodetectBackupMethod’ [-Wreorder]
  555. int autodetectBackupMethod;
  556. ^
  557. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  558. TCommonSettings()
  559. ^
  560. ../source/NDSSystem.h:642:7: warning: ‘TCommonSettings::spu_advanced’ will be initialized after [-Wreorder]
  561. bool spu_advanced;
  562. ^
  563. ../source/NDSSystem.h:603:6: warning: ‘int TCommonSettings::StylusPressure’ [-Wreorder]
  564. int StylusPressure;
  565. ^
  566. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  567. TCommonSettings()
  568. ^
  569. ../source/NDSSystem.h:603:6: warning: ‘TCommonSettings::StylusPressure’ will be initialized after [-Wreorder]
  570. int StylusPressure;
  571. ^
  572. ../source/NDSSystem.h:593:19: warning: ‘NDS_CONSOLE_TYPE TCommonSettings::ConsoleType’ [-Wreorder]
  573. NDS_CONSOLE_TYPE ConsoleType;
  574. ^
  575. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  576. TCommonSettings()
  577. ^
  578. In file included from ../source/firmware.cpp:23:0:
  579. ../source/path.h: In member function ‘void PathInfo::formatname(char*)’:
  580. ../source/path.h:386:38: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
  581. char format[] = { '%', *p, NULL };
  582. ^
  583. psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -fno-exceptions -D_PSP_FW_VERSION=150 -c -o ../source/gfx3d.o ../source/gfx3d.cpp
  584. In file included from ../source/MMU.h:24:0,
  585. from ../source/armcpu.h:24,
  586. from ../source/gfx3d.cpp:39:
  587. ../source/firmware.h: In constructor ‘CFIRMWARE::CFIRMWARE()’:
  588. ../source/firmware.h:90:7: warning: ‘CFIRMWARE::patched’ will be initialized after [-Wreorder]
  589. bool patched;
  590. ^
  591. ../source/firmware.h:42:7: warning: ‘u32 CFIRMWARE::userDataAddr’ [-Wreorder]
  592. u32 userDataAddr;
  593. ^
  594. ../source/firmware.h:51:2: warning: when initialized here [-Wreorder]
  595. CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {};
  596. ^
  597. In file included from ../source/gfx3d.cpp:50:0:
  598. ../source/NDSSystem.h: In constructor ‘GameInfo::GameInfo()’:
  599. ../source/NDSSystem.h:324:6: warning: ‘GameInfo::chipID’ will be initialized after [-Wreorder]
  600. u32 chipID;
  601. ^
  602. ../source/NDSSystem.h:320:6: warning: ‘u32 GameInfo::romsize’ [-Wreorder]
  603. u32 romsize;
  604. ^
  605. ../source/NDSSystem.h:337:2: warning: when initialized here [-Wreorder]
  606. GameInfo() : fROM(NULL),
  607. ^
  608. ../source/NDSSystem.h: In constructor ‘TCommonSettings::TCommonSettings()’:
  609. ../source/NDSSystem.h:611:6: warning: ‘TCommonSettings::jit_max_block_size’ will be initialized after [-Wreorder]
  610. u32 jit_max_block_size;
  611. ^
  612. ../source/NDSSystem.h:579:7: warning: ‘bool TCommonSettings::loadToMemory’ [-Wreorder]
  613. bool loadToMemory;
  614. ^
  615. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  616. TCommonSettings()
  617. ^
  618. ../source/NDSSystem.h:634:6: warning: ‘TCommonSettings::manualBackupType’ will be initialized after [-Wreorder]
  619. int manualBackupType;
  620. ^
  621. ../source/NDSSystem.h:632:6: warning: ‘int TCommonSettings::autodetectBackupMethod’ [-Wreorder]
  622. int autodetectBackupMethod;
  623. ^
  624. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  625. TCommonSettings()
  626. ^
  627. ../source/NDSSystem.h:642:7: warning: ‘TCommonSettings::spu_advanced’ will be initialized after [-Wreorder]
  628. bool spu_advanced;
  629. ^
  630. ../source/NDSSystem.h:603:6: warning: ‘int TCommonSettings::StylusPressure’ [-Wreorder]
  631. int StylusPressure;
  632. ^
  633. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  634. TCommonSettings()
  635. ^
  636. ../source/NDSSystem.h:603:6: warning: ‘TCommonSettings::StylusPressure’ will be initialized after [-Wreorder]
  637. int StylusPressure;
  638. ^
  639. ../source/NDSSystem.h:593:19: warning: ‘NDS_CONSOLE_TYPE TCommonSettings::ConsoleType’ [-Wreorder]
  640. NDS_CONSOLE_TYPE ConsoleType;
  641. ^
  642. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  643. TCommonSettings()
  644. ^
  645. ../source/gfx3d.cpp: In function ‘void gfx3d_init()’:
  646. ../source/gfx3d.cpp:508:6: warning: unused variable ‘zzz’ [-Wunused-variable]
  647. int zzz=9;
  648. ^
  649. ../source/gfx3d.cpp: In function ‘void gfx3d_glNormal(s32)’:
  650. ../source/gfx3d.cpp:1220:14: warning: narrowing conversion of ‘(((int)dsDiffuse) & 31)’ from ‘int’ to ‘u8 {aka unsigned char}’ inside { } is ill-formed in C++11 [-Wnarrowing]
  651. (dsDiffuse)&0x1F,
  652. ^
  653. ../source/gfx3d.cpp:1221:17: warning: narrowing conversion of ‘((((int)dsDiffuse) >> 5) & 31)’ from ‘int’ to ‘u8 {aka unsigned char}’ inside { } is ill-formed in C++11 [-Wnarrowing]
  654. (dsDiffuse>>5)&0x1F,
  655. ^
  656. ../source/gfx3d.cpp:1222:18: warning: narrowing conversion of ‘((((int)dsDiffuse) >> 10) & 31)’ from ‘int’ to ‘u8 {aka unsigned char}’ inside { } is ill-formed in C++11 [-Wnarrowing]
  657. (dsDiffuse>>10)&0x1F };
  658. ^
  659. ../source/gfx3d.cpp:1225:14: warning: narrowing conversion of ‘(((int)dsAmbient) & 31)’ from ‘int’ to ‘u8 {aka unsigned char}’ inside { } is ill-formed in C++11 [-Wnarrowing]
  660. (dsAmbient)&0x1F,
  661. ^
  662. ../source/gfx3d.cpp:1226:17: warning: narrowing conversion of ‘((((int)dsAmbient) >> 5) & 31)’ from ‘int’ to ‘u8 {aka unsigned char}’ inside { } is ill-formed in C++11 [-Wnarrowing]
  663. (dsAmbient>>5)&0x1F,
  664. ^
  665. ../source/gfx3d.cpp:1227:18: warning: narrowing conversion of ‘((((int)dsAmbient) >> 10) & 31)’ from ‘int’ to ‘u8 {aka unsigned char}’ inside { } is ill-formed in C++11 [-Wnarrowing]
  666. (dsAmbient>>10)&0x1F };
  667. ^
  668. ../source/gfx3d.cpp:1230:15: warning: narrowing conversion of ‘(((int)dsEmission) & 31)’ from ‘int’ to ‘u8 {aka unsigned char}’ inside { } is ill-formed in C++11 [-Wnarrowing]
  669. (dsEmission)&0x1F,
  670. ^
  671. ../source/gfx3d.cpp:1231:18: warning: narrowing conversion of ‘((((int)dsEmission) >> 5) & 31)’ from ‘int’ to ‘u8 {aka unsigned char}’ inside { } is ill-formed in C++11 [-Wnarrowing]
  672. (dsEmission>>5)&0x1F,
  673. ^
  674. ../source/gfx3d.cpp:1232:19: warning: narrowing conversion of ‘((((int)dsEmission) >> 10) & 31)’ from ‘int’ to ‘u8 {aka unsigned char}’ inside { } is ill-formed in C++11 [-Wnarrowing]
  675. (dsEmission>>10)&0x1F };
  676. ^
  677. ../source/gfx3d.cpp:1235:15: warning: narrowing conversion of ‘(((int)dsSpecular) & 31)’ from ‘int’ to ‘u8 {aka unsigned char}’ inside { } is ill-formed in C++11 [-Wnarrowing]
  678. (dsSpecular)&0x1F,
  679. ^
  680. ../source/gfx3d.cpp:1236:18: warning: narrowing conversion of ‘((((int)dsSpecular) >> 5) & 31)’ from ‘int’ to ‘u8 {aka unsigned char}’ inside { } is ill-formed in C++11 [-Wnarrowing]
  681. (dsSpecular>>5)&0x1F,
  682. ^
  683. ../source/gfx3d.cpp:1237:19: warning: narrowing conversion of ‘((((int)dsSpecular) >> 10) & 31)’ from ‘int’ to ‘u8 {aka unsigned char}’ inside { } is ill-formed in C++11 [-Wnarrowing]
  684. (dsSpecular>>10)&0x1F };
  685. ^
  686. ../source/gfx3d.cpp:1246:19: warning: narrowing conversion of ‘(lightColor[i] & 31u)’ from ‘u32 {aka unsigned int}’ to ‘u8 {aka unsigned char}’ inside { } is ill-formed in C++11 [-Wnarrowing]
  687. (lightColor[i])&0x1F,
  688. ^
  689. ../source/gfx3d.cpp:1247:22: warning: narrowing conversion of ‘((lightColor[i] >> 5) & 31u)’ from ‘u32 {aka unsigned int}’ to ‘u8 {aka unsigned char}’ inside { } is ill-formed in C++11 [-Wnarrowing]
  690. (lightColor[i]>>5)&0x1F,
  691. ^
  692. ../source/gfx3d.cpp:1248:23: warning: narrowing conversion of ‘((lightColor[i] >> 10) & 31u)’ from ‘u32 {aka unsigned int}’ to ‘u8 {aka unsigned char}’ inside { } is ill-formed in C++11 [-Wnarrowing]
  693. (lightColor[i]>>10)&0x1F };
  694. ^
  695. ../source/gfx3d.cpp: In function ‘BOOL gfx3d_glBoxTest(u32)’:
  696. ../source/gfx3d.cpp:1614:24: warning: unused variable ‘vert’ [-Wunused-variable]
  697. ALIGN(16) VERT_POS4f vert = { verts[i].x, verts[i].y, verts[i].z, verts[i].w };
  698. ^
  699. psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -fno-exceptions -D_PSP_FW_VERSION=150 -c -o ../source/GPU.o ../source/GPU.cpp
  700. In file included from ../source/MMU.h:24:0,
  701. from ../source/GPU.cpp:29:
  702. ../source/firmware.h: In constructor ‘CFIRMWARE::CFIRMWARE()’:
  703. ../source/firmware.h:90:7: warning: ‘CFIRMWARE::patched’ will be initialized after [-Wreorder]
  704. bool patched;
  705. ^
  706. ../source/firmware.h:42:7: warning: ‘u32 CFIRMWARE::userDataAddr’ [-Wreorder]
  707. u32 userDataAddr;
  708. ^
  709. ../source/firmware.h:51:2: warning: when initialized here [-Wreorder]
  710. CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {};
  711. ^
  712. In file included from ../source/GPU.cpp:37:0:
  713. ../source/NDSSystem.h: In constructor ‘GameInfo::GameInfo()’:
  714. ../source/NDSSystem.h:324:6: warning: ‘GameInfo::chipID’ will be initialized after [-Wreorder]
  715. u32 chipID;
  716. ^
  717. ../source/NDSSystem.h:320:6: warning: ‘u32 GameInfo::romsize’ [-Wreorder]
  718. u32 romsize;
  719. ^
  720. ../source/NDSSystem.h:337:2: warning: when initialized here [-Wreorder]
  721. GameInfo() : fROM(NULL),
  722. ^
  723. ../source/NDSSystem.h: In constructor ‘TCommonSettings::TCommonSettings()’:
  724. ../source/NDSSystem.h:611:6: warning: ‘TCommonSettings::jit_max_block_size’ will be initialized after [-Wreorder]
  725. u32 jit_max_block_size;
  726. ^
  727. ../source/NDSSystem.h:579:7: warning: ‘bool TCommonSettings::loadToMemory’ [-Wreorder]
  728. bool loadToMemory;
  729. ^
  730. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  731. TCommonSettings()
  732. ^
  733. ../source/NDSSystem.h:634:6: warning: ‘TCommonSettings::manualBackupType’ will be initialized after [-Wreorder]
  734. int manualBackupType;
  735. ^
  736. ../source/NDSSystem.h:632:6: warning: ‘int TCommonSettings::autodetectBackupMethod’ [-Wreorder]
  737. int autodetectBackupMethod;
  738. ^
  739. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  740. TCommonSettings()
  741. ^
  742. ../source/NDSSystem.h:642:7: warning: ‘TCommonSettings::spu_advanced’ will be initialized after [-Wreorder]
  743. bool spu_advanced;
  744. ^
  745. ../source/NDSSystem.h:603:6: warning: ‘int TCommonSettings::StylusPressure’ [-Wreorder]
  746. int StylusPressure;
  747. ^
  748. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  749. TCommonSettings()
  750. ^
  751. ../source/NDSSystem.h:603:6: warning: ‘TCommonSettings::StylusPressure’ will be initialized after [-Wreorder]
  752. int StylusPressure;
  753. ^
  754. ../source/NDSSystem.h:593:19: warning: ‘NDS_CONSOLE_TYPE TCommonSettings::ConsoleType’ [-Wreorder]
  755. NDS_CONSOLE_TYPE ConsoleType;
  756. ^
  757. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  758. TCommonSettings()
  759. ^
  760. psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -fno-exceptions -D_PSP_FW_VERSION=150 -c -o ../source/GPU_osd_stub.o ../source/GPU_osd_stub.cpp
  761. psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -fno-exceptions -D_PSP_FW_VERSION=150 -c -o ../source/matrix.o ../source/matrix.cpp
  762. In file included from ../source/MMU.h:24:0,
  763. from ../source/matrix.cpp:25:
  764. ../source/firmware.h: In constructor ‘CFIRMWARE::CFIRMWARE()’:
  765. ../source/firmware.h:90:7: warning: ‘CFIRMWARE::patched’ will be initialized after [-Wreorder]
  766. bool patched;
  767. ^
  768. ../source/firmware.h:42:7: warning: ‘u32 CFIRMWARE::userDataAddr’ [-Wreorder]
  769. u32 userDataAddr;
  770. ^
  771. ../source/firmware.h:51:2: warning: when initialized here [-Wreorder]
  772. CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {};
  773. ^
  774. psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -fno-exceptions -D_PSP_FW_VERSION=150 -c -o ../source/mc.o ../source/mc.cpp
  775. In file included from ../source/MMU.h:24:0,
  776. from ../source/armcpu.h:24,
  777. from ../source/mc.cpp:26:
  778. ../source/firmware.h: In constructor ‘CFIRMWARE::CFIRMWARE()’:
  779. ../source/firmware.h:90:7: warning: ‘CFIRMWARE::patched’ will be initialized after [-Wreorder]
  780. bool patched;
  781. ^
  782. ../source/firmware.h:42:7: warning: ‘u32 CFIRMWARE::userDataAddr’ [-Wreorder]
  783. u32 userDataAddr;
  784. ^
  785. ../source/firmware.h:51:2: warning: when initialized here [-Wreorder]
  786. CFIRMWARE(): size9(0), size7(0), ARM9bootAddr(0), ARM7bootAddr(0), patched(0), userDataAddr(0x3FE00), successLoad(false) {};
  787. ^
  788. In file included from ../source/mc.cpp:31:0:
  789. ../source/NDSSystem.h: In constructor ‘GameInfo::GameInfo()’:
  790. ../source/NDSSystem.h:324:6: warning: ‘GameInfo::chipID’ will be initialized after [-Wreorder]
  791. u32 chipID;
  792. ^
  793. ../source/NDSSystem.h:320:6: warning: ‘u32 GameInfo::romsize’ [-Wreorder]
  794. u32 romsize;
  795. ^
  796. ../source/NDSSystem.h:337:2: warning: when initialized here [-Wreorder]
  797. GameInfo() : fROM(NULL),
  798. ^
  799. ../source/NDSSystem.h: In constructor ‘TCommonSettings::TCommonSettings()’:
  800. ../source/NDSSystem.h:611:6: warning: ‘TCommonSettings::jit_max_block_size’ will be initialized after [-Wreorder]
  801. u32 jit_max_block_size;
  802. ^
  803. ../source/NDSSystem.h:579:7: warning: ‘bool TCommonSettings::loadToMemory’ [-Wreorder]
  804. bool loadToMemory;
  805. ^
  806. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  807. TCommonSettings()
  808. ^
  809. ../source/NDSSystem.h:634:6: warning: ‘TCommonSettings::manualBackupType’ will be initialized after [-Wreorder]
  810. int manualBackupType;
  811. ^
  812. ../source/NDSSystem.h:632:6: warning: ‘int TCommonSettings::autodetectBackupMethod’ [-Wreorder]
  813. int autodetectBackupMethod;
  814. ^
  815. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  816. TCommonSettings()
  817. ^
  818. ../source/NDSSystem.h:642:7: warning: ‘TCommonSettings::spu_advanced’ will be initialized after [-Wreorder]
  819. bool spu_advanced;
  820. ^
  821. ../source/NDSSystem.h:603:6: warning: ‘int TCommonSettings::StylusPressure’ [-Wreorder]
  822. int StylusPressure;
  823. ^
  824. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  825. TCommonSettings()
  826. ^
  827. ../source/NDSSystem.h:603:6: warning: ‘TCommonSettings::StylusPressure’ will be initialized after [-Wreorder]
  828. int StylusPressure;
  829. ^
  830. ../source/NDSSystem.h:593:19: warning: ‘NDS_CONSOLE_TYPE TCommonSettings::ConsoleType’ [-Wreorder]
  831. NDS_CONSOLE_TYPE ConsoleType;
  832. ^
  833. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  834. TCommonSettings()
  835. ^
  836. In file included from ../source/mc.cpp:32:0:
  837. ../source/path.h: In member function ‘void PathInfo::formatname(char*)’:
  838. ../source/path.h:386:38: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
  839. char format[] = { '%', *p, NULL };
  840. ^
  841. In file included from ../source/mc.cpp:33:0:
  842. ../source/utils/advanscene.h: In constructor ‘ADVANsCEne::ADVANsCEne()’:
  843. ../source/utils/advanscene.h:32:8: warning: ‘ADVANsCEne::saveType’ will be initialized after [-Wreorder]
  844. u8 saveType;
  845. ^
  846. ../source/utils/advanscene.h:28:9: warning: ‘u32 ADVANsCEne::crc32’ [-Wreorder]
  847. u32 crc32;
  848. ^
  849. ../source/utils/advanscene.h:45:2: warning: when initialized here [-Wreorder]
  850. ADVANsCEne()
  851. ^
  852. ../source/mc.cpp: In constructor ‘BackupDevice::BackupDevice()’:
  853. ../source/mc.cpp:377:7: warning: variable ‘left’ set but not used [-Wunused-but-set-variable]
  854. u32 left = 0;
  855. ^
  856. ../source/mc.cpp:417:8: warning: variable ‘_Mbit’ set but not used [-Wunused-but-set-variable]
  857. bool _Mbit = false;
  858. ^
  859. ../source/mc.cpp: In member function ‘int BackupDevice::readFooter()’:
  860. ../source/mc.cpp:444:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  861. if (fpMC->size() < (strlen(kDesmumeSaveCookie) + strlen(DESMUME_BACKUP_FOOTER_TXT) + 24))
  862. ^
  863. ../source/mc.cpp: In member function ‘u8 BackupDevice::searchFileSaveType(u32)’:
  864. ../source/mc.cpp:660:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  865. if (size == save_types[i].size)
  866. ^
  867. ../source/mc.cpp: In function ‘int no_gba_unpackSAV(void*, u32, void*, u32&)’:
  868. ../source/mc.cpp:1185:6: warning: variable ‘size_packed’ set but not used [-Wunused-but-set-variable]
  869. u32 size_packed = 0;
  870. ^
  871. psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -I. -I/usr/local/pspdev/psp/sdk/include -O2 -ffast-math -fweb -fomit-frame-pointer -G0 -Wall -D PSP -I/usr/local/pspdev/psp/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -fno-exceptions -D_PSP_FW_VERSION=150 -c -o ../source/mic.o ../source/mic.cpp
  872. In file included from ../source/mic.cpp:26:0:
  873. ../source/NDSSystem.h:318:2: error: ‘FILE’ does not name a type
  874. FILE *fROM;
  875. ^
  876. ../source/NDSSystem.h: In constructor ‘GameInfo::GameInfo()’:
  877. ../source/NDSSystem.h:337:15: error: class ‘GameInfo’ does not have any field named ‘fROM’
  878. GameInfo() : fROM(NULL),
  879. ^
  880. ../source/NDSSystem.h:324:6: warning: ‘GameInfo::chipID’ will be initialized after [-Wreorder]
  881. u32 chipID;
  882. ^
  883. ../source/NDSSystem.h:320:6: warning: ‘u32 GameInfo::romsize’ [-Wreorder]
  884. u32 romsize;
  885. ^
  886. ../source/NDSSystem.h:337:2: warning: when initialized here [-Wreorder]
  887. GameInfo() : fROM(NULL),
  888. ^
  889. ../source/NDSSystem.h: In constructor ‘TCommonSettings::TCommonSettings()’:
  890. ../source/NDSSystem.h:611:6: warning: ‘TCommonSettings::jit_max_block_size’ will be initialized after [-Wreorder]
  891. u32 jit_max_block_size;
  892. ^
  893. ../source/NDSSystem.h:579:7: warning: ‘bool TCommonSettings::loadToMemory’ [-Wreorder]
  894. bool loadToMemory;
  895. ^
  896. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  897. TCommonSettings()
  898. ^
  899. ../source/NDSSystem.h:634:6: warning: ‘TCommonSettings::manualBackupType’ will be initialized after [-Wreorder]
  900. int manualBackupType;
  901. ^
  902. ../source/NDSSystem.h:632:6: warning: ‘int TCommonSettings::autodetectBackupMethod’ [-Wreorder]
  903. int autodetectBackupMethod;
  904. ^
  905. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  906. TCommonSettings()
  907. ^
  908. ../source/NDSSystem.h:642:7: warning: ‘TCommonSettings::spu_advanced’ will be initialized after [-Wreorder]
  909. bool spu_advanced;
  910. ^
  911. ../source/NDSSystem.h:603:6: warning: ‘int TCommonSettings::StylusPressure’ [-Wreorder]
  912. int StylusPressure;
  913. ^
  914. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  915. TCommonSettings()
  916. ^
  917. ../source/NDSSystem.h:603:6: warning: ‘TCommonSettings::StylusPressure’ will be initialized after [-Wreorder]
  918. int StylusPressure;
  919. ^
  920. ../source/NDSSystem.h:593:19: warning: ‘NDS_CONSOLE_TYPE TCommonSettings::ConsoleType’ [-Wreorder]
  921. NDS_CONSOLE_TYPE ConsoleType;
  922. ^
  923. ../source/NDSSystem.h:479:2: warning: when initialized here [-Wreorder]
  924. TCommonSettings()
  925. ^
  926. ../source/mic.cpp: At global scope:
  927. ../source/mic.cpp:164:11: warning: ‘u8 Mic_GenerateWhiteNoiseSample()’ defined but not used [-Wunused-function]
  928. static u8 Mic_GenerateWhiteNoiseSample(void)
  929. ^
  930. ../source/mic.cpp:169:11: warning: ‘u8 Mic_GenerateNullSample()’ defined but not used [-Wunused-function]
  931. static u8 Mic_GenerateNullSample(void)
  932. ^
  933. <builtin>: recipe for target '../source/mic.o' failed
  934. make: *** [../source/mic.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement