Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- src/common/src/config.h:235:17: warning: enumeration values 'RENDERER_NULL' and 'NUMBER_OF_VIDEO_CONFIGS' not handled in switch [-Wswitch]
- switch (renderer) {
- ^
- src/common/src/config.h:261:17: warning: enumeration values 'CPU_NULL' and 'NUMBER_OF_CPU_CONFIGS' not handled in switch [-Wswitch]
- switch (cpu) {
- ^
- ## These two fucking warnings appear so many fucking times that removing all duplicates shortened this log by ~200 lines.
- src/core/src/memory.cpp:23:15: warning: expected '=' following '#pragma align' - ignored
- #pragma align 4096
- ^
- src/core/src/hle/hle_general.h:85:23: warning: implicit conversion of NULL constant to 'u32' (aka 'unsigned int') [-Wnull-conversion]
- dvdfilehandle[i] = NULL;
- ~ ^~~~
- src/core/src/hle/hle_audio.cpp:84:1: warning: '/*' within block comment [-Wcomment]
- /*
- ^
- src/core/src/hle/hle.cpp:672:34: warning: format specifies type 'unsigned int' but the argument has type 'uintptr_t' (aka 'unsigned long') [-Wformat]
- sprintf(fData, "0x%08X:\t%s\t0x%08X/0x%08X\t0x%08X\n", rFunction.address, rFunction.funcName.c_str(), rFunction.funcSize, rFunction.DetectedSize, rFunction.CRC);
- ~~~^ ~~~~~~~~~~~~~~~~~
- %08lX
- src/core/src/hw/hw_exi.cpp:66:21: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
- else if((offset >= 0x00000000) && (offset < 0x08000000))
- ~~~~~~ ^ ~~~~~~~~~~
- src/core/src/hw/hw_exi.cpp:147:73: warning: more '%' conversions than data arguments [-Wformat]
- printf(".EXI Unknown DMA transfer: Chan %d Device %d Len %08X Data %08X\n", Chan, Device, exi.len[Chan]);
- ~~~^
- src/core/src/hw/hw_exi.cpp:257:28: warning: '&' within '|' [-Wbitwise-op-parentheses]
- exi.csr[CRVal] &= ~(data & EXI_CSR_EXIINT | EXI_CSR_EXTINT | EXI_CSR_TCINT);
- ~~~~~^~~~~~~~~~~~~~~~ ~
- src/core/src/hw/hw_exi.cpp:257:28: note: place parentheses around the '&' expression to silence this warning
- exi.csr[CRVal] &= ~(data & EXI_CSR_EXIINT | EXI_CSR_EXTINT | EXI_CSR_TCINT);
- ~~~~~^~~~~~~~~~~~~~~~
- src/core/src/powerpc/cpu_core.cpp:524:22: warning: invalid conversion specifier 'I' [-Wformat-invalid-specifier]
- printf("TBR: 0x%016I64X", ireg.TBR.TBR);
- ~~~~^
- src/core/src/powerpc/cpu_core.cpp:526:29: warning: invalid conversion specifier 'I' [-Wformat-invalid-specifier]
- printf("\tCorrect: 0x%016I64X\n", CompareRegs.TBR.TBR);
- ~~~~^
- src/core/src/powerpc/cpu_core.cpp:583:32: warning: invalid conversion specifier 'I' [-Wformat-invalid-specifier]
- printf("FPR %d Start: 0x%016I64X-%016I64X\nFPR %d End:0x%016I64X-%016I64X\n", x, iregBackup.fpr[x].ps1._u64, iregBackup.fpr[x].ps0._u64, x, ireg.fpr[x].ps1._u64,...
- ~~~~^
- src/core/src/powerpc/cpu_core.cpp:583:41: warning: invalid conversion specifier 'I' [-Wformat-invalid-specifier]
- printf("FPR %d Start: 0x%016I64X-%016I64X\nFPR %d End:0x%016I64X-%016I64X\n", x, iregBackup.fpr[x].ps1._u64, iregBackup.fpr[x].ps0._u64, x, ireg.fpr[x].ps1._u64,...
- ~~~~^
- src/core/src/powerpc/cpu_core.cpp:583:64: warning: invalid conversion specifier 'I' [-Wformat-invalid-specifier]
- printf("FPR %d Start: 0x%016I64X-%016I64X\nFPR %d End:0x%016I64X-%016I64X\n", x, iregBackup.fpr[x].ps1._u64, iregBackup.fpr[x].ps0._u64, x, ireg.fpr[x].ps1._u64,...
- ~~~~^
- src/core/src/powerpc/cpu_core.cpp:583:73: warning: invalid conversion specifier 'I' [-Wformat-invalid-specifier]
- printf("FPR %d Start: 0x%016I64X-%016I64X\nFPR %d End:0x%016I64X-%016I64X\n", x, iregBackup.fpr[x].ps1._u64, iregBackup.fpr[x].ps0._u64, x, ireg.fpr[x].ps1._u64,...
- ~~~~^
- src/core/src/powerpc/cpu_core.cpp:590:35: warning: invalid conversion specifier 'I' [-Wformat-invalid-specifier]
- printf("FPR %d Correct: 0x%016I64X-%016I64X\n", x, CompareRegs.fpr[x].ps1._u64, CompareRegs.fpr[x].ps0._u64);
- ~~~~^
- src/core/src/powerpc/cpu_core.cpp:590:44: warning: invalid conversion specifier 'I' [-Wformat-invalid-specifier]
- printf("FPR %d Correct: 0x%016I64X-%016I64X\n", x, CompareRegs.fpr[x].ps1._u64, CompareRegs.fpr[x].ps0._u64);
- ~~~~^
- src/core/src/powerpc/disassembler/ppc_disasm.cpp:375:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
- if (cnd = trap_condition[PPCGETD(in)]) {
- ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/core/src/powerpc/disassembler/ppc_disasm.cpp:375:11: note: place parentheses around the assignment to silence this warning
- if (cnd = trap_condition[PPCGETD(in)]) {
- ^
- ( )
- src/core/src/powerpc/disassembler/ppc_disasm.cpp:375:11: note: use '==' to turn this assignment into an equality comparison
- if (cnd = trap_condition[PPCGETD(in)]) {
- ^
- ==
- src/core/src/powerpc/disassembler/ppc_disasm.cpp:394:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
- if (i = (int)PPCGETCRD(in)) {
- ~~^~~~~~~~~~~~~~~~
- src/core/src/powerpc/disassembler/ppc_disasm.cpp:394:11: note: place parentheses around the assignment to silence this warning
- if (i = (int)PPCGETCRD(in)) {
- ^
- ( )
- src/core/src/powerpc/disassembler/ppc_disasm.cpp:394:11: note: use '==' to turn this assignment into an equality comparison
- if (i = (int)PPCGETCRD(in)) {
- ^
- ==
- src/core/src/powerpc/disassembler/ppc_disasm.cpp:478:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
- if (offs = branch(dp,in,"",(in&2)?1:0,d)) {
- ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/core/src/powerpc/disassembler/ppc_disasm.cpp:478:12: note: place parentheses around the assignment to silence this warning
- if (offs = branch(dp,in,"",(in&2)?1:0,d)) {
- ^
- ( )
- src/core/src/powerpc/disassembler/ppc_disasm.cpp:478:12: note: use '==' to turn this assignment into an equality comparison
- if (offs = branch(dp,in,"",(in&2)?1:0,d)) {
- ^
- ==
- src/core/src/powerpc/disassembler/ppc_disasm.cpp:484:32: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
- sprintf(dp->operands,"0x%.8X",(unsigned long)d);
- ~~~^ ~~~~~~~~~~~~~~~~
- %.8lX
- src/core/src/powerpc/disassembler/ppc_disasm.cpp:486:24: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
- sprintf(oper,"0x%.8X",(unsigned long)(*dp->iaddr) + d);
- ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- %.8lX
- src/core/src/powerpc/disassembler/ppc_disasm.cpp:500:32: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
- sprintf(dp->operands,"0x%.8X",(unsigned long)d);
- ~~~^ ~~~~~~~~~~~~~~~~
- %.8lX
- src/core/src/powerpc/disassembler/ppc_disasm.cpp:502:32: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
- sprintf(dp->operands,"0x%.8X",(unsigned long)(*dp->iaddr) + d);
- ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- %.8lX
- src/core/src/powerpc/disassembler/ppc_disasm.cpp:592:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
- if (i = (int)PPCGETCRD(in))
- ~~^~~~~~~~~~~~~~~~
- src/core/src/powerpc/disassembler/ppc_disasm.cpp:592:11: note: place parentheses around the assignment to silence this warning
- if (i = (int)PPCGETCRD(in))
- ^
- ( )
- src/core/src/powerpc/disassembler/ppc_disasm.cpp:592:11: note: use '==' to turn this assignment into an equality comparison
- if (i = (int)PPCGETCRD(in))
- ^
- ==
- src/core/src/powerpc/disassembler/ppc_disasm.cpp:606:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
- if (cnd = trap_condition[to]) {
- ~~~~^~~~~~~~~~~~~~~~~~~~
- src/core/src/powerpc/disassembler/ppc_disasm.cpp:606:11: note: place parentheses around the assignment to silence this warning
- if (cnd = trap_condition[to]) {
- ^
- ( )
- src/core/src/powerpc/disassembler/ppc_disasm.cpp:606:11: note: use '==' to turn this assignment into an equality comparison
- if (cnd = trap_condition[to]) {
- ^
- ==
- src/core/src/powerpc/disassembler/ppc_disasm.cpp:800:28: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
- sprintf(buf, "%i", val);
- ~^ ~~~
- %li
- src/core/src/powerpc/disassembler/ppc_disasm.cpp:806:33: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
- sprintf(buf, "-0x%.4X", ((~val) & 0xffff) + 1);
- ~~~^ ~~~~~~~~~~~~~~~~~~~~~
- %.4lX
- src/core/src/powerpc/disassembler/ppc_disasm.cpp:810:32: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
- sprintf(buf, "0x%.4X", val);
- ~~~^ ~~~
- %.4lX
- src/core/src/powerpc/disassembler/ppc_disasm.cpp:919:28: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
- sprintf(buf, "%i", val);
- ~^ ~~~
- %li
- src/core/src/powerpc/disassembler/ppc_disasm.cpp:925:33: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
- sprintf(buf, "-0x%.4X", ((~val) & 0xfff) + 1);
- ~~~^ ~~~~~~~~~~~~~~~~~~~~
- %.4lX
- src/core/src/powerpc/disassembler/ppc_disasm.cpp:929:32: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
- sprintf(buf, "0x%.4X", val);
- ~~~^ ~~~
- %.4lX
- src/core/src/powerpc/disassembler/ppc_disasm.cpp:942:41: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
- sprintf(dp->operands, "f%d, %s (%s), %d, %d", s, ps_ldst_offs(d), regnames[a], (in >> 15) & 1, (in >> 12) & 7);
- ~^ ~~~~~~~~~~~~~~
- %ld
- src/core/src/powerpc/disassembler/ppc_disasm.cpp:942:45: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
- sprintf(dp->operands, "f%d, %s (%s), %d, %d", s, ps_ldst_offs(d), regnames[a], (in >> 15) & 1, (in >> 12) & 7);
- ~^ ~~~~~~~~~~~~~~
- %ld
- src/core/src/powerpc/disassembler/ppc_disasm.cpp:949:42: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
- sprintf(dp->operands, "f%d, %s, %s, %d, %d", (int)PPCGETD(in), regnames[a], regnames[b], (in >> 10) & 1, (in >> 7) & 7);
- ~^ ~~~~~~~~~~~~~~
- %ld
- src/core/src/powerpc/disassembler/ppc_disasm.cpp:949:46: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
- sprintf(dp->operands, "f%d, %s, %s, %d, %d", (int)PPCGETD(in), regnames[a], regnames[b], (in >> 10) & 1, (in >> 7) & 7);
- ~^ ~~~~~~~~~~~~~
- %ld
- src/core/src/powerpc/interpreter/cpu_int_opcodes.cpp:177:26: warning: format specifies type 'char *' but the argument has type 'char' [-Wformat]
- sprintf(dumpfilename, "%slastops.txt", '.');
- ~^ ~~~
- %hhd
- src/core/src/video/gx_fifo.cpp:66:2: warning: '/*' within block comment [-Wcomment]
- /*memset(&dl_cache[0], 0, 0x10000*sizeof(DLCache));
- ^
- src/video_core/src/renderer_gl3/shader_manager.cpp:258:27: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
- _SHADER_FSDEF(temp);
- ~~~~~~~~~~~~~~^~~~~
- src/video_core/src/renderer_gl3/shader_manager.cpp:188:72: note: expanded from macro '_SHADER_FSDEF'
- #define _SHADER_FSDEF(...) _fs_offset += sprintf(&_fs_def[_fs_offset], __VA_ARGS__)
- ^
- Linking CXX executable gekko
- ld: library not found for -lrt
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
- ## librt doesn't exist on OS X, we need to replace it.
- src/gekko_qt/src/main.cpp:284:13: warning: enumeration value 'Style_None' not handled in switch [-Wswitch]
- switch (style)
- ^
- Linking CXX executable gekko-qt
- ld: library not found for -lrt
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
- ## Fucking librt.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement