Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from C:/devkitPro/libnx/include/switch.h:13,
- from C:/mania-decomp/dependencies/RSDKv5/dependencies/switch/libnx-dyn/dyn.h:
- from C:/mania-decomp/dependencies/RSDKv5/dependencies/switch/libnx-dyn/dyn.c:
- C:/mania-decomp/dependencies/RSDKv5/dependencies/switch/libnx-dyn/dyn.c: In function '_dynLoad
- C:/mania-decomp/dependencies/RSDKv5/dependencies/switch/libnx-dyn/dyn.c:157:70: error: passing
- ent 2 of 'svcMapProcessCodeMemory' makes integer from pointer without a cast [-Wint-conversion
- 157 | if (R_FAILED(res = svcMapProcessCodeMemory(ownHandle, seg->dst, seg->src,
- ize))) {
- | ~~~^~~~~
- | |
- | void *
- In file included from C:/devkitPro/libnx/include/switch.h:22:
- C:/devkitPro/libnx/include/switch/kernel/svc.h:1493:49: note: expected 'u64' {aka 'long unsign
- '} but argument is of type 'void *'
- 1493 | Result svcMapProcessCodeMemory(Handle proc, u64 dst, u64 src, u64 size);
- | ~~~~^~~
- C:/mania-decomp/dependencies/RSDKv5/dependencies/switch/libnx-dyn/dyn.c:157:80: error: passing
- ent 3 of 'svcMapProcessCodeMemory' makes integer from pointer without a cast [-Wint-conversion
- 157 | if (R_FAILED(res = svcMapProcessCodeMemory(ownHandle, seg->dst, seg->src,
- ize))) {
- | ~~~^~~~~
- | |
- | void *
- C:/devkitPro/libnx/include/switch/kernel/svc.h:1493:58: note: expected 'u64' {aka 'long unsign
- '} but argument is of type 'void *'
- 1493 | Result svcMapProcessCodeMemory(Handle proc, u64 dst, u64 src, u64 size);
- | ~~~~^~~
- C:/mania-decomp/dependencies/RSDKv5/dependencies/switch/libnx-dyn/dyn.c: In function '_dynLoad
- c':
- C:/mania-decomp/dependencies/RSDKv5/dependencies/switch/libnx-dyn/dyn.c:252:29: error: assignm
- 'void *' from 'u64' {aka 'long unsigned int'} makes pointer from integer without a cast [-Win
- ersion]
- 252 | mod->input.base = nro_addr;
- | ^
- C:/mania-decomp/dependencies/RSDKv5/dependencies/switch/libnx-dyn/dyn.c: In function '_dynScan
- C:/mania-decomp/dependencies/RSDKv5/dependencies/switch/libnx-dyn/dyn.c:279:51: error: passing
- ent 3 of 'dynElfFindOffset' from incompatible pointer type [-Wincompatible-pointer-types]
- 279 | Result r = dynElfFindOffset(dynamic, DT_HASH, &mod->hash, module_base);
- | ^~~~~~~~~~
- | |
- | u32 ** {aka unsigned int **}
- C:/mania-decomp/dependencies/RSDKv5/dependencies/switch/libnx-dyn/dyn.c:34:61: note: expected
- **' but argument is of type 'u32 **' {aka 'unsigned int **'}
- 34 | Result dynElfFindOffset(Elf64_Dyn *dynamic, s64 tag, void **value, void *aslr_base)
- | ~~~~~~~^~~~~
- C:/mania-decomp/dependencies/RSDKv5/dependencies/switch/libnx-dyn/dyn.c:283:46: error: passing
- ent 3 of 'dynElfFindOffset' from incompatible pointer type [-Wincompatible-pointer-types]
- 283 | r = dynElfFindOffset(dynamic, DT_STRTAB, &mod->strtab, module_base);
- | ^~~~~~~~~~~~
- | |
- | const char **
- C:/mania-decomp/dependencies/RSDKv5/dependencies/switch/libnx-dyn/dyn.c:34:61: note: expected
- **' but argument is of type 'const char **'
- 34 | Result dynElfFindOffset(Elf64_Dyn *dynamic, s64 tag, void **value, void *aslr_base)
- | ~~~~~~~^~~~~
- C:/mania-decomp/dependencies/RSDKv5/dependencies/switch/libnx-dyn/dyn.c:287:51: error: passing
- ent 3 of 'dynElfFindOffset' from incompatible pointer type [-Wincompatible-pointer-types]
- 287 | r = dynElfFindOffset(mod->dynamic, DT_SYMTAB, &mod->symtab, module_base);
- | ^~~~~~~~~~~~
- | |
- | Elf64_Sym **
- C:/mania-decomp/dependencies/RSDKv5/dependencies/switch/libnx-dyn/dyn.c:34:61: note: expected
- **' but argument is of type 'Elf64_Sym **'
- 34 | Result dynElfFindOffset(Elf64_Dyn *dynamic, s64 tag, void **value, void *aslr_base)
- | ~~~~~~~^~~~~
- C:/mania-decomp/dependencies/RSDKv5/dependencies/switch/libnx-dyn/dyn.c: In function '_dynUnlo
- C:/mania-decomp/dependencies/RSDKv5/dependencies/switch/libnx-dyn/dyn.c:655:57: error: passing
- ent 2 of 'svcUnmapProcessCodeMemory' makes integer from pointer without a cast [-Wint-conversi
- 655 | svcUnmapProcessCodeMemory(ownHandle, seg->dst, seg->src, seg->size);
- | ~~~^~~~~
- | |
- | void *
- C:/devkitPro/libnx/include/switch/kernel/svc.h:1505:51: note: expected 'u64' {aka 'long unsign
- '} but argument is of type 'void *'
- 1505 | Result svcUnmapProcessCodeMemory(Handle proc, u64 dst, u64 src, u64 size);
- | ~~~~^~~
- C:/mania-decomp/dependencies/RSDKv5/dependencies/switch/libnx-dyn/dyn.c:655:67: error: passing
- ent 3 of 'svcUnmapProcessCodeMemory' makes integer from pointer without a cast [-Wint-conversi
- 655 | svcUnmapProcessCodeMemory(ownHandle, seg->dst, seg->src, seg->size);
- | ~~~^~~~~
- | |
- | void *
- C:/devkitPro/libnx/include/switch/kernel/svc.h:1505:60: note: expected 'u64' {aka 'long unsign
- '} but argument is of type 'void *'
- 1505 | Result svcUnmapProcessCodeMemory(Handle proc, u64 dst, u64 src, u64 size);
- | ~~~~^~~
- make[2]: *** [dependencies/RSDKv5/CMakeFiles/RetroEngine.dir/build.make:527: dependencies/RSDKkeFiles/RetroEngine.dir/dependencies/switch/libnx-dyn/dyn.o] Error 1
- make[1]: *** [CMakeFiles/Makefile2:141: dependencies/RSDKv5/CMakeFiles/RetroEngine.dir/all] Er
- make: *** [Makefile:91: all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement