Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ns_ext.c
- aarch64-none-elf-gcc -MMD -MP -MF /home/code/Desktop/flog-launcher/build/ns_ext.d -g -Wall -O2 -ffunction-sections -fpermissive -march=armv8-a -mtune=cortex-a57 -mtp=soft -fPIE -I/home/code/Desktop/flog-launcher/include -I/opt/devkitpro/portlibs/switch/include -I/opt/devkitpro/libnx/include -I/home/code/Desktop/flog-launcher/build -D__SWITCH__ -c /home/code/Desktop/flog-launcher/source/ns_ext.c -o ns_ext.o
- cc1.exe: warning: command line option '-fpermissive' is valid for C++/ObjC++ but not for C
- In file included from C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:1:
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.h:21:8: error: conflicting types for 'nsPushApplicationRecord'
- Result nsPushApplicationRecord(u64 title_id, u8 last_modified_event, ContentStorageRecord *content_records_buf, size_t buf_size);
- ^~~~~~~~~~~~~~~~~~~~~~~
- In file included from D:/devkitPro/libnx/include/switch.h:56,
- from C:/Users/code/Desktop/flog-launcher/source/ns_ext.h:3,
- from C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:1:
- D:/devkitPro/libnx/include/switch/services/ns.h:38:8: note: previous declaration of 'nsPushApplicationRecord' was here
- Result nsPushApplicationRecord(u64 tid, u64 num, AppRecord *apprec);
- ^~~~~~~~~~~~~~~~~~~~~~~
- In file included from C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:1:
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.h:22:8: error: conflicting types for 'nsListApplicationRecord'
- Result nsListApplicationRecord(u64 offset, void *out_buf, size_t out_buf_size, u32 *entries_read_out);
- ^~~~~~~~~~~~~~~~~~~~~~~
- In file included from D:/devkitPro/libnx/include/switch.h:56,
- from C:/Users/code/Desktop/flog-launcher/source/ns_ext.h:3,
- from C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:1:
- D:/devkitPro/libnx/include/switch/services/ns.h:30:8: note: previous declaration of 'nsListApplicationRecord' was here
- Result nsListApplicationRecord(AppRecord *out, u64 offset);
- ^~~~~~~~~~~~~~~~~~~~~~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:79:8: error: conflicting types for 'nsListApplicationRecord'
- Result nsListApplicationRecord(u64 offset, void *out_buf, size_t out_buf_size, u32 *entries_read_out)
- ^~~~~~~~~~~~~~~~~~~~~~~
- In file included from D:/devkitPro/libnx/include/switch.h:56,
- from C:/Users/code/Desktop/flog-launcher/source/ns_ext.h:3,
- from C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:1:
- D:/devkitPro/libnx/include/switch/services/ns.h:30:8: note: previous declaration of 'nsListApplicationRecord' was here
- Result nsListApplicationRecord(AppRecord *out, u64 offset);
- ^~~~~~~~~~~~~~~~~~~~~~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:119:8: error: conflicting types for 'nsPushApplicationRecord'
- Result nsPushApplicationRecord(u64 title_id, u8 last_modified_event, ContentStorageRecord *content_records_buf, size_t buf_size)
- ^~~~~~~~~~~~~~~~~~~~~~~
- In file included from D:/devkitPro/libnx/include/switch.h:56,
- from C:/Users/code/Desktop/flog-launcher/source/ns_ext.h:3,
- from C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:1:
- D:/devkitPro/libnx/include/switch/services/ns.h:38:8: note: previous declaration of 'nsPushApplicationRecord' was here
- Result nsPushApplicationRecord(u64 tid, u64 num, AppRecord *apprec);
- ^~~~~~~~~~~~~~~~~~~~~~~
- make[1]: *** [/opt/devkitpro/devkitA64/base_rules:19: ns_ext.o] Error 1
- make: *** [Makefile:166: build] Error 2
- C:\Users\code\Desktop\flog-launcher>make
- src.cpp
- aarch64-none-elf-g++ -MMD -MP -MF /home/code/Desktop/flog-launcher/build/src.d -g -Wall -O2 -ffunction-sections -fpermissive -march=armv8-a -mtune=cortex-a57 -mtp=soft -fPIE -I/home/code/Desktop/flog-launcher/include -I/opt/devkitpro/portlibs/switch/include -I/opt/devkitpro/libnx/include -I/home/code/Desktop/flog-launcher/build -D__SWITCH__ -fno-rtti -fno-exceptions -std=gnu++11 -c /home/code/Desktop/flog-launcher/source/src.cpp -o src.o
- In file included from C:/Users/code/Desktop/flog-launcher/source/src.cpp:1:
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result _nsGetInterface(Service*, u64)':
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:53:27: warning: invalid conversion from 'void*' to '_nsGetInterface(Service*, u64)::<unnamed struct>*' [-fpermissive]
- raw = ipcPrepareHeader(&c, sizeof(*raw));
- ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:67:21: warning: invalid conversion from 'void*' to '_nsGetInterface(Service*, u64)::<unnamed struct>*' [-fpermissive]
- } *resp = r.Raw;
- ~~^~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result nsListApplicationRecord(u64, void*, size_t, u32*)':
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:83:49: warning: invalid conversion from 'int' to 'BufferType' [-fpermissive]
- ipcAddRecvBuffer(&c, out_buf, out_buf_size, 0);
- ^
- In file included from D:/devkitPro/libnx/include/switch.h:33,
- from C:/Users/code/Desktop/flog-launcher/source/ns_ext.h:3,
- from C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:1,
- from C:/Users/code/Desktop/flog-launcher/source/src.cpp:1:
- D:/devkitPro/libnx/include/switch/kernel/ipc.h:138:92: note: initializing argument 4 of 'void ipcAddRecvBuffer(IpcCommand*, void*, size_t, BufferType)'
- static inline void ipcAddRecvBuffer(IpcCommand* cmd, void* buffer, size_t size, BufferType type) {
- ~~~~~~~~~~~^~~~
- In file included from C:/Users/code/Desktop/flog-launcher/source/src.cpp:1:
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:91:27: warning: invalid conversion from 'void*' to 'nsListApplicationRecord(u64, void*, size_t, u32*)::<unnamed struct>*' [-fpermissive]
- raw = ipcPrepareHeader(&c, sizeof(*raw));
- ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:106:21: warning: invalid conversion from 'void*' to 'nsListApplicationRecord(u64, void*, size_t, u32*)::<unnamed struct>*' [-fpermissive]
- } *resp = r.Raw;
- ~~^~~
- In file included from C:/Users/code/Desktop/flog-launcher/source/src.cpp:1:
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result nsPushApplicationRecord(u64, u8, ContentStorageRecord*, size_t)':
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:123:57: warning: invalid conversion from 'int' to 'BufferType' [-fpermissive]
- ipcAddSendBuffer(&c, content_records_buf, buf_size, 0);
- ^
- In file included from D:/devkitPro/libnx/include/switch.h:33,
- from C:/Users/code/Desktop/flog-launcher/source/ns_ext.h:3,
- from C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:1,
- from C:/Users/code/Desktop/flog-launcher/source/src.cpp:1:
- D:/devkitPro/libnx/include/switch/kernel/ipc.h:123:98: note: initializing argument 4 of 'void ipcAddSendBuffer(IpcCommand*, const void*, size_t, BufferType)'
- static inline void ipcAddSendBuffer(IpcCommand* cmd, const void* buffer, size_t size, BufferType type) {
- ~~~~~~~~~~~^~~~
- In file included from C:/Users/code/Desktop/flog-launcher/source/src.cpp:1:
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:133:27: warning: invalid conversion from 'void*' to 'nsPushApplicationRecord(u64, u8, ContentStorageRecord*, size_t)::<unnamed struct>*' [-fpermissive]
- raw = ipcPrepareHeader(&c, sizeof(*raw));
- ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:148:21: warning: invalid conversion from 'void*' to 'nsPushApplicationRecord(u64, u8, ContentStorageRecord*, size_t)::<unnamed struct>*' [-fpermissive]
- } *resp = r.Raw;
- ~~^~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result nsCalculateApplicationOccupiedSize(u64, void*)':
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:167:27: warning: invalid conversion from 'void*' to 'nsCalculateApplicationOccupiedSize(u64, void*)::<unnamed struct>*' [-fpermissive]
- raw = ipcPrepareHeader(&c, sizeof(*raw));
- ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:182:21: warning: invalid conversion from 'void*' to 'nsCalculateApplicationOccupiedSize(u64, void*)::<unnamed struct>*' [-fpermissive]
- } *resp = r.Raw;
- ~~^~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result nsListApplicationRecordContentMeta(u64, u64, void*, size_t, u32*)':
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:198:49: warning: invalid conversion from 'int' to 'BufferType' [-fpermissive]
- ipcAddRecvBuffer(&c, out_buf, out_buf_size, 0);
- ^
- In file included from D:/devkitPro/libnx/include/switch.h:33,
- from C:/Users/code/Desktop/flog-launcher/source/ns_ext.h:3,
- from C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:1,
- from C:/Users/code/Desktop/flog-launcher/source/src.cpp:1:
- D:/devkitPro/libnx/include/switch/kernel/ipc.h:138:92: note: initializing argument 4 of 'void ipcAddRecvBuffer(IpcCommand*, void*, size_t, BufferType)'
- static inline void ipcAddRecvBuffer(IpcCommand* cmd, void* buffer, size_t size, BufferType type) {
- ~~~~~~~~~~~^~~~
- In file included from C:/Users/code/Desktop/flog-launcher/source/src.cpp:1:
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:207:27: warning: invalid conversion from 'void*' to 'nsListApplicationRecordContentMeta(u64, u64, void*, size_t, u32*)::<unnamed struct>*' [-fpermissive]
- raw = ipcPrepareHeader(&c, sizeof(*raw));
- ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:223:21: warning: invalid conversion from 'void*' to 'nsListApplicationRecordContentMeta(u64, u64, void*, size_t, u32*)::<unnamed struct>*' [-fpermissive]
- } *resp = r.Raw;
- ~~^~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result nsTouchApplication(u64)':
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:247:27: warning: invalid conversion from 'void*' to 'nsTouchApplication(u64)::<unnamed struct>*' [-fpermissive]
- raw = ipcPrepareHeader(&c, sizeof(*raw));
- ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:262:21: warning: invalid conversion from 'void*' to 'nsTouchApplication(u64)::<unnamed struct>*' [-fpermissive]
- } *resp = r.Raw;
- ~~^~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result nsDeleteApplicationRecord(u64)':
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:281:27: warning: invalid conversion from 'void*' to 'nsDeleteApplicationRecord(u64)::<unnamed struct>*' [-fpermissive]
- raw = ipcPrepareHeader(&c, sizeof(*raw));
- ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:296:21: warning: invalid conversion from 'void*' to 'nsDeleteApplicationRecord(u64)::<unnamed struct>*' [-fpermissive]
- } *resp = r.Raw;
- ~~^~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result nsLaunchApplication(u64)':
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:315:27: warning: invalid conversion from 'void*' to 'nsLaunchApplication(u64)::<unnamed struct>*' [-fpermissive]
- raw = ipcPrepareHeader(&c, sizeof(*raw));
- ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:329:21: warning: invalid conversion from 'void*' to 'nsLaunchApplication(u64)::<unnamed struct>*' [-fpermissive]
- } *resp = r.Raw;
- ~~^~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result nsPushLaunchVersion(u64, u32)':
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:350:27: warning: invalid conversion from 'void*' to 'nsPushLaunchVersion(u64, u32)::<unnamed struct>*' [-fpermissive]
- raw = ipcPrepareHeader(&c, sizeof(*raw));
- ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:365:21: warning: invalid conversion from 'void*' to 'nsPushLaunchVersion(u64, u32)::<unnamed struct>*' [-fpermissive]
- } *resp = r.Raw;
- ~~^~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result nsCheckApplicationLaunchVersion(u64)':
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:384:27: warning: invalid conversion from 'void*' to 'nsCheckApplicationLaunchVersion(u64)::<unnamed struct>*' [-fpermissive]
- raw = ipcPrepareHeader(&c, sizeof(*raw));
- ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:398:21: warning: invalid conversion from 'void*' to 'nsCheckApplicationLaunchVersion(u64)::<unnamed struct>*' [-fpermissive]
- } *resp = r.Raw;
- ~~^~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result nsDisableApplicationAutoUpdate(u64)':
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:417:27: warning: invalid conversion from 'void*' to 'nsDisableApplicationAutoUpdate(u64)::<unnamed struct>*' [-fpermissive]
- raw = ipcPrepareHeader(&c, sizeof(*raw));
- ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:431:21: warning: invalid conversion from 'void*' to 'nsDisableApplicationAutoUpdate(u64)::<unnamed struct>*' [-fpermissive]
- } *resp = r.Raw;
- ~~^~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result nsGetContentMetaStorage(const NcmMetaRecord*, u8*)':
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:450:27: warning: invalid conversion from 'void*' to 'nsGetContentMetaStorage(const NcmMetaRecord*, u8*)::<unnamed struct>*' [-fpermissive]
- raw = ipcPrepareHeader(&c, sizeof(*raw));
- ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:465:21: warning: invalid conversion from 'void*' to 'nsGetContentMetaStorage(const NcmMetaRecord*, u8*)::<unnamed struct>*' [-fpermissive]
- } *resp = r.Raw;
- ~~^~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result nsBeginInstallApplication(u64, u32, u8)':
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:489:27: warning: invalid conversion from 'void*' to 'nsBeginInstallApplication(u64, u32, u8)::<unnamed struct>*' [-fpermissive]
- raw = ipcPrepareHeader(&c, sizeof(*raw));
- ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:506:21: warning: invalid conversion from 'void*' to 'nsBeginInstallApplication(u64, u32, u8)::<unnamed struct>*' [-fpermissive]
- } *resp = r.Raw;
- ~~^~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result nsInvalidateAllApplicationControlCache()':
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:523:27: warning: invalid conversion from 'void*' to 'nsInvalidateAllApplicationControlCache()::<unnamed struct>*' [-fpermissive]
- raw = ipcPrepareHeader(&c, sizeof(*raw));
- ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:537:21: warning: invalid conversion from 'void*' to 'nsInvalidateAllApplicationControlCache()::<unnamed struct>*' [-fpermissive]
- } *resp = r.Raw;
- ~~^~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result nsInvalidateApplicationControlCache(u64)':
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:555:27: warning: invalid conversion from 'void*' to 'nsInvalidateApplicationControlCache(u64)::<unnamed struct>*' [-fpermissive]
- raw = ipcPrepareHeader(&c, sizeof(*raw));
- ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:570:21: warning: invalid conversion from 'void*' to 'nsInvalidateApplicationControlCache(u64)::<unnamed struct>*' [-fpermissive]
- } *resp = r.Raw;
- ~~^~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result nsCheckApplicationLaunchRights(u64)':
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:589:27: warning: invalid conversion from 'void*' to 'nsCheckApplicationLaunchRights(u64)::<unnamed struct>*' [-fpermissive]
- raw = ipcPrepareHeader(&c, sizeof(*raw));
- ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:604:21: warning: invalid conversion from 'void*' to 'nsCheckApplicationLaunchRights(u64)::<unnamed struct>*' [-fpermissive]
- } *resp = r.Raw;
- ~~^~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result nsGetApplicationContentPath(u64, u8, char*, size_t)':
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:615:41: warning: invalid conversion from 'int' to 'BufferType' [-fpermissive]
- ipcAddRecvBuffer(&c, out, buf_size, 0);
- ^
- In file included from D:/devkitPro/libnx/include/switch.h:33,
- from C:/Users/code/Desktop/flog-launcher/source/ns_ext.h:3,
- from C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:1,
- from C:/Users/code/Desktop/flog-launcher/source/src.cpp:1:
- D:/devkitPro/libnx/include/switch/kernel/ipc.h:138:92: note: initializing argument 4 of 'void ipcAddRecvBuffer(IpcCommand*, void*, size_t, BufferType)'
- static inline void ipcAddRecvBuffer(IpcCommand* cmd, void* buffer, size_t size, BufferType type) {
- ~~~~~~~~~~~^~~~
- In file included from C:/Users/code/Desktop/flog-launcher/source/src.cpp:1:
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:625:27: warning: invalid conversion from 'void*' to 'nsGetApplicationContentPath(u64, u8, char*, size_t)::<unnamed struct>*' [-fpermissive]
- raw = ipcPrepareHeader(&c, sizeof(*raw));
- ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:641:21: warning: invalid conversion from 'void*' to 'nsGetApplicationContentPath(u64, u8, char*, size_t)::<unnamed struct>*' [-fpermissive]
- } *resp = r.Raw;
- ~~^~~
- ns_ext.c
- aarch64-none-elf-gcc -MMD -MP -MF /home/code/Desktop/flog-launcher/build/ns_ext.d -g -Wall -O2 -ffunction-sections -fpermissive -march=armv8-a -mtune=cortex-a57 -mtp=soft -fPIE -I/home/code/Desktop/flog-launcher/include -I/opt/devkitpro/portlibs/switch/include -I/opt/devkitpro/libnx/include -I/home/code/Desktop/flog-launcher/build -D__SWITCH__ -c /home/code/Desktop/flog-launcher/source/ns_ext.c -o ns_ext.o
- cc1.exe: warning: command line option '-fpermissive' is valid for C++/ObjC++ but not for C
- In file included from C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:1:
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.h:21:8: error: conflicting types for 'nsPushApplicationRecord'
- Result nsPushApplicationRecord(u64 title_id, u8 last_modified_event, ContentStorageRecord *content_records_buf, size_t buf_size);
- ^~~~~~~~~~~~~~~~~~~~~~~
- In file included from D:/devkitPro/libnx/include/switch.h:56,
- from C:/Users/code/Desktop/flog-launcher/source/ns_ext.h:3,
- from C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:1:
- D:/devkitPro/libnx/include/switch/services/ns.h:38:8: note: previous declaration of 'nsPushApplicationRecord' was here
- Result nsPushApplicationRecord(u64 tid, u64 num, AppRecord *apprec);
- ^~~~~~~~~~~~~~~~~~~~~~~
- In file included from C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:1:
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.h:22:8: error: conflicting types for 'nsListApplicationRecord'
- Result nsListApplicationRecord(u64 offset, void *out_buf, size_t out_buf_size, u32 *entries_read_out);
- ^~~~~~~~~~~~~~~~~~~~~~~
- In file included from D:/devkitPro/libnx/include/switch.h:56,
- from C:/Users/code/Desktop/flog-launcher/source/ns_ext.h:3,
- from C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:1:
- D:/devkitPro/libnx/include/switch/services/ns.h:30:8: note: previous declaration of 'nsListApplicationRecord' was here
- Result nsListApplicationRecord(AppRecord *out, u64 offset);
- ^~~~~~~~~~~~~~~~~~~~~~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:79:8: error: conflicting types for 'nsListApplicationRecord'
- Result nsListApplicationRecord(u64 offset, void *out_buf, size_t out_buf_size, u32 *entries_read_out)
- ^~~~~~~~~~~~~~~~~~~~~~~
- In file included from D:/devkitPro/libnx/include/switch.h:56,
- from C:/Users/code/Desktop/flog-launcher/source/ns_ext.h:3,
- from C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:1:
- D:/devkitPro/libnx/include/switch/services/ns.h:30:8: note: previous declaration of 'nsListApplicationRecord' was here
- Result nsListApplicationRecord(AppRecord *out, u64 offset);
- ^~~~~~~~~~~~~~~~~~~~~~~
- C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:119:8: error: conflicting types for 'nsPushApplicationRecord'
- Result nsPushApplicationRecord(u64 title_id, u8 last_modified_event, ContentStorageRecord *content_records_buf, size_t buf_size)
- ^~~~~~~~~~~~~~~~~~~~~~~
- In file included from D:/devkitPro/libnx/include/switch.h:56,
- from C:/Users/code/Desktop/flog-launcher/source/ns_ext.h:3,
- from C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:1:
- D:/devkitPro/libnx/include/switch/services/ns.h:38:8: note: previous declaration of 'nsPushApplicationRecord' was here
- Result nsPushApplicationRecord(u64 tid, u64 num, AppRecord *apprec);
- ^~~~~~~~~~~~~~~~~~~~~~~
- make[1]: *** [/opt/devkitpro/devkitA64/base_rules:19: ns_ext.o] Error 1
- make: *** [Makefile:166: build] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement