Advertisement
Guest User

Untitled

a guest
Jul 18th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.90 KB | None | 0 0
  1. ns_ext.c
  2. 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
  3. cc1.exe: warning: command line option '-fpermissive' is valid for C++/ObjC++ but not for C
  4. In file included from C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:1:
  5. C:/Users/code/Desktop/flog-launcher/source/ns_ext.h:21:8: error: conflicting types for 'nsPushApplicationRecord'
  6. Result nsPushApplicationRecord(u64 title_id, u8 last_modified_event, ContentStorageRecord *content_records_buf, size_t buf_size);
  7. ^~~~~~~~~~~~~~~~~~~~~~~
  8. In file included from D:/devkitPro/libnx/include/switch.h:56,
  9. from C:/Users/code/Desktop/flog-launcher/source/ns_ext.h:3,
  10. from C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:1:
  11. D:/devkitPro/libnx/include/switch/services/ns.h:38:8: note: previous declaration of 'nsPushApplicationRecord' was here
  12. Result nsPushApplicationRecord(u64 tid, u64 num, AppRecord *apprec);
  13. ^~~~~~~~~~~~~~~~~~~~~~~
  14. In file included from C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:1:
  15. C:/Users/code/Desktop/flog-launcher/source/ns_ext.h:22:8: error: conflicting types for 'nsListApplicationRecord'
  16. Result nsListApplicationRecord(u64 offset, void *out_buf, size_t out_buf_size, u32 *entries_read_out);
  17. ^~~~~~~~~~~~~~~~~~~~~~~
  18. In file included from D:/devkitPro/libnx/include/switch.h:56,
  19. from C:/Users/code/Desktop/flog-launcher/source/ns_ext.h:3,
  20. from C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:1:
  21. D:/devkitPro/libnx/include/switch/services/ns.h:30:8: note: previous declaration of 'nsListApplicationRecord' was here
  22. Result nsListApplicationRecord(AppRecord *out, u64 offset);
  23. ^~~~~~~~~~~~~~~~~~~~~~~
  24. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:79:8: error: conflicting types for 'nsListApplicationRecord'
  25. Result nsListApplicationRecord(u64 offset, void *out_buf, size_t out_buf_size, u32 *entries_read_out)
  26. ^~~~~~~~~~~~~~~~~~~~~~~
  27. In file included from D:/devkitPro/libnx/include/switch.h:56,
  28. from C:/Users/code/Desktop/flog-launcher/source/ns_ext.h:3,
  29. from C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:1:
  30. D:/devkitPro/libnx/include/switch/services/ns.h:30:8: note: previous declaration of 'nsListApplicationRecord' was here
  31. Result nsListApplicationRecord(AppRecord *out, u64 offset);
  32. ^~~~~~~~~~~~~~~~~~~~~~~
  33. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:119:8: error: conflicting types for 'nsPushApplicationRecord'
  34. Result nsPushApplicationRecord(u64 title_id, u8 last_modified_event, ContentStorageRecord *content_records_buf, size_t buf_size)
  35. ^~~~~~~~~~~~~~~~~~~~~~~
  36. In file included from D:/devkitPro/libnx/include/switch.h:56,
  37. from C:/Users/code/Desktop/flog-launcher/source/ns_ext.h:3,
  38. from C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:1:
  39. D:/devkitPro/libnx/include/switch/services/ns.h:38:8: note: previous declaration of 'nsPushApplicationRecord' was here
  40. Result nsPushApplicationRecord(u64 tid, u64 num, AppRecord *apprec);
  41. ^~~~~~~~~~~~~~~~~~~~~~~
  42. make[1]: *** [/opt/devkitpro/devkitA64/base_rules:19: ns_ext.o] Error 1
  43. make: *** [Makefile:166: build] Error 2
  44.  
  45. C:\Users\code\Desktop\flog-launcher>make
  46. src.cpp
  47. 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
  48. In file included from C:/Users/code/Desktop/flog-launcher/source/src.cpp:1:
  49. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result _nsGetInterface(Service*, u64)':
  50. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:53:27: warning: invalid conversion from 'void*' to '_nsGetInterface(Service*, u64)::<unnamed struct>*' [-fpermissive]
  51. raw = ipcPrepareHeader(&c, sizeof(*raw));
  52. ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
  53. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:67:21: warning: invalid conversion from 'void*' to '_nsGetInterface(Service*, u64)::<unnamed struct>*' [-fpermissive]
  54. } *resp = r.Raw;
  55. ~~^~~
  56. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result nsListApplicationRecord(u64, void*, size_t, u32*)':
  57. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:83:49: warning: invalid conversion from 'int' to 'BufferType' [-fpermissive]
  58. ipcAddRecvBuffer(&c, out_buf, out_buf_size, 0);
  59. ^
  60. In file included from D:/devkitPro/libnx/include/switch.h:33,
  61. from C:/Users/code/Desktop/flog-launcher/source/ns_ext.h:3,
  62. from C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:1,
  63. from C:/Users/code/Desktop/flog-launcher/source/src.cpp:1:
  64. D:/devkitPro/libnx/include/switch/kernel/ipc.h:138:92: note: initializing argument 4 of 'void ipcAddRecvBuffer(IpcCommand*, void*, size_t, BufferType)'
  65. static inline void ipcAddRecvBuffer(IpcCommand* cmd, void* buffer, size_t size, BufferType type) {
  66. ~~~~~~~~~~~^~~~
  67. In file included from C:/Users/code/Desktop/flog-launcher/source/src.cpp:1:
  68. 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]
  69. raw = ipcPrepareHeader(&c, sizeof(*raw));
  70. ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
  71. 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]
  72. } *resp = r.Raw;
  73. ~~^~~
  74. In file included from C:/Users/code/Desktop/flog-launcher/source/src.cpp:1:
  75. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result nsPushApplicationRecord(u64, u8, ContentStorageRecord*, size_t)':
  76. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:123:57: warning: invalid conversion from 'int' to 'BufferType' [-fpermissive]
  77. ipcAddSendBuffer(&c, content_records_buf, buf_size, 0);
  78. ^
  79. In file included from D:/devkitPro/libnx/include/switch.h:33,
  80. from C:/Users/code/Desktop/flog-launcher/source/ns_ext.h:3,
  81. from C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:1,
  82. from C:/Users/code/Desktop/flog-launcher/source/src.cpp:1:
  83. D:/devkitPro/libnx/include/switch/kernel/ipc.h:123:98: note: initializing argument 4 of 'void ipcAddSendBuffer(IpcCommand*, const void*, size_t, BufferType)'
  84. static inline void ipcAddSendBuffer(IpcCommand* cmd, const void* buffer, size_t size, BufferType type) {
  85. ~~~~~~~~~~~^~~~
  86. In file included from C:/Users/code/Desktop/flog-launcher/source/src.cpp:1:
  87. 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]
  88. raw = ipcPrepareHeader(&c, sizeof(*raw));
  89. ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
  90. 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]
  91. } *resp = r.Raw;
  92. ~~^~~
  93. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result nsCalculateApplicationOccupiedSize(u64, void*)':
  94. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:167:27: warning: invalid conversion from 'void*' to 'nsCalculateApplicationOccupiedSize(u64, void*)::<unnamed struct>*' [-fpermissive]
  95. raw = ipcPrepareHeader(&c, sizeof(*raw));
  96. ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
  97. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:182:21: warning: invalid conversion from 'void*' to 'nsCalculateApplicationOccupiedSize(u64, void*)::<unnamed struct>*' [-fpermissive]
  98. } *resp = r.Raw;
  99. ~~^~~
  100. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result nsListApplicationRecordContentMeta(u64, u64, void*, size_t, u32*)':
  101. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:198:49: warning: invalid conversion from 'int' to 'BufferType' [-fpermissive]
  102. ipcAddRecvBuffer(&c, out_buf, out_buf_size, 0);
  103. ^
  104. In file included from D:/devkitPro/libnx/include/switch.h:33,
  105. from C:/Users/code/Desktop/flog-launcher/source/ns_ext.h:3,
  106. from C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:1,
  107. from C:/Users/code/Desktop/flog-launcher/source/src.cpp:1:
  108. D:/devkitPro/libnx/include/switch/kernel/ipc.h:138:92: note: initializing argument 4 of 'void ipcAddRecvBuffer(IpcCommand*, void*, size_t, BufferType)'
  109. static inline void ipcAddRecvBuffer(IpcCommand* cmd, void* buffer, size_t size, BufferType type) {
  110. ~~~~~~~~~~~^~~~
  111. In file included from C:/Users/code/Desktop/flog-launcher/source/src.cpp:1:
  112. 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]
  113. raw = ipcPrepareHeader(&c, sizeof(*raw));
  114. ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
  115. 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]
  116. } *resp = r.Raw;
  117. ~~^~~
  118. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result nsTouchApplication(u64)':
  119. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:247:27: warning: invalid conversion from 'void*' to 'nsTouchApplication(u64)::<unnamed struct>*' [-fpermissive]
  120. raw = ipcPrepareHeader(&c, sizeof(*raw));
  121. ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
  122. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:262:21: warning: invalid conversion from 'void*' to 'nsTouchApplication(u64)::<unnamed struct>*' [-fpermissive]
  123. } *resp = r.Raw;
  124. ~~^~~
  125. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result nsDeleteApplicationRecord(u64)':
  126. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:281:27: warning: invalid conversion from 'void*' to 'nsDeleteApplicationRecord(u64)::<unnamed struct>*' [-fpermissive]
  127. raw = ipcPrepareHeader(&c, sizeof(*raw));
  128. ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
  129. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:296:21: warning: invalid conversion from 'void*' to 'nsDeleteApplicationRecord(u64)::<unnamed struct>*' [-fpermissive]
  130. } *resp = r.Raw;
  131. ~~^~~
  132. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result nsLaunchApplication(u64)':
  133. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:315:27: warning: invalid conversion from 'void*' to 'nsLaunchApplication(u64)::<unnamed struct>*' [-fpermissive]
  134. raw = ipcPrepareHeader(&c, sizeof(*raw));
  135. ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
  136. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:329:21: warning: invalid conversion from 'void*' to 'nsLaunchApplication(u64)::<unnamed struct>*' [-fpermissive]
  137. } *resp = r.Raw;
  138. ~~^~~
  139. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result nsPushLaunchVersion(u64, u32)':
  140. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:350:27: warning: invalid conversion from 'void*' to 'nsPushLaunchVersion(u64, u32)::<unnamed struct>*' [-fpermissive]
  141. raw = ipcPrepareHeader(&c, sizeof(*raw));
  142. ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
  143. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:365:21: warning: invalid conversion from 'void*' to 'nsPushLaunchVersion(u64, u32)::<unnamed struct>*' [-fpermissive]
  144. } *resp = r.Raw;
  145. ~~^~~
  146. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result nsCheckApplicationLaunchVersion(u64)':
  147. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:384:27: warning: invalid conversion from 'void*' to 'nsCheckApplicationLaunchVersion(u64)::<unnamed struct>*' [-fpermissive]
  148. raw = ipcPrepareHeader(&c, sizeof(*raw));
  149. ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
  150. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:398:21: warning: invalid conversion from 'void*' to 'nsCheckApplicationLaunchVersion(u64)::<unnamed struct>*' [-fpermissive]
  151. } *resp = r.Raw;
  152. ~~^~~
  153. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result nsDisableApplicationAutoUpdate(u64)':
  154. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:417:27: warning: invalid conversion from 'void*' to 'nsDisableApplicationAutoUpdate(u64)::<unnamed struct>*' [-fpermissive]
  155. raw = ipcPrepareHeader(&c, sizeof(*raw));
  156. ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
  157. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:431:21: warning: invalid conversion from 'void*' to 'nsDisableApplicationAutoUpdate(u64)::<unnamed struct>*' [-fpermissive]
  158. } *resp = r.Raw;
  159. ~~^~~
  160. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result nsGetContentMetaStorage(const NcmMetaRecord*, u8*)':
  161. 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]
  162. raw = ipcPrepareHeader(&c, sizeof(*raw));
  163. ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
  164. 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]
  165. } *resp = r.Raw;
  166. ~~^~~
  167. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result nsBeginInstallApplication(u64, u32, u8)':
  168. 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]
  169. raw = ipcPrepareHeader(&c, sizeof(*raw));
  170. ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
  171. 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]
  172. } *resp = r.Raw;
  173. ~~^~~
  174. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result nsInvalidateAllApplicationControlCache()':
  175. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:523:27: warning: invalid conversion from 'void*' to 'nsInvalidateAllApplicationControlCache()::<unnamed struct>*' [-fpermissive]
  176. raw = ipcPrepareHeader(&c, sizeof(*raw));
  177. ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
  178. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:537:21: warning: invalid conversion from 'void*' to 'nsInvalidateAllApplicationControlCache()::<unnamed struct>*' [-fpermissive]
  179. } *resp = r.Raw;
  180. ~~^~~
  181. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result nsInvalidateApplicationControlCache(u64)':
  182. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:555:27: warning: invalid conversion from 'void*' to 'nsInvalidateApplicationControlCache(u64)::<unnamed struct>*' [-fpermissive]
  183. raw = ipcPrepareHeader(&c, sizeof(*raw));
  184. ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
  185. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:570:21: warning: invalid conversion from 'void*' to 'nsInvalidateApplicationControlCache(u64)::<unnamed struct>*' [-fpermissive]
  186. } *resp = r.Raw;
  187. ~~^~~
  188. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result nsCheckApplicationLaunchRights(u64)':
  189. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:589:27: warning: invalid conversion from 'void*' to 'nsCheckApplicationLaunchRights(u64)::<unnamed struct>*' [-fpermissive]
  190. raw = ipcPrepareHeader(&c, sizeof(*raw));
  191. ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
  192. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:604:21: warning: invalid conversion from 'void*' to 'nsCheckApplicationLaunchRights(u64)::<unnamed struct>*' [-fpermissive]
  193. } *resp = r.Raw;
  194. ~~^~~
  195. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c: In function 'Result nsGetApplicationContentPath(u64, u8, char*, size_t)':
  196. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:615:41: warning: invalid conversion from 'int' to 'BufferType' [-fpermissive]
  197. ipcAddRecvBuffer(&c, out, buf_size, 0);
  198. ^
  199. In file included from D:/devkitPro/libnx/include/switch.h:33,
  200. from C:/Users/code/Desktop/flog-launcher/source/ns_ext.h:3,
  201. from C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:1,
  202. from C:/Users/code/Desktop/flog-launcher/source/src.cpp:1:
  203. D:/devkitPro/libnx/include/switch/kernel/ipc.h:138:92: note: initializing argument 4 of 'void ipcAddRecvBuffer(IpcCommand*, void*, size_t, BufferType)'
  204. static inline void ipcAddRecvBuffer(IpcCommand* cmd, void* buffer, size_t size, BufferType type) {
  205. ~~~~~~~~~~~^~~~
  206. In file included from C:/Users/code/Desktop/flog-launcher/source/src.cpp:1:
  207. 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]
  208. raw = ipcPrepareHeader(&c, sizeof(*raw));
  209. ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
  210. 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]
  211. } *resp = r.Raw;
  212. ~~^~~
  213. ns_ext.c
  214. 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
  215. cc1.exe: warning: command line option '-fpermissive' is valid for C++/ObjC++ but not for C
  216. In file included from C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:1:
  217. C:/Users/code/Desktop/flog-launcher/source/ns_ext.h:21:8: error: conflicting types for 'nsPushApplicationRecord'
  218. Result nsPushApplicationRecord(u64 title_id, u8 last_modified_event, ContentStorageRecord *content_records_buf, size_t buf_size);
  219. ^~~~~~~~~~~~~~~~~~~~~~~
  220. In file included from D:/devkitPro/libnx/include/switch.h:56,
  221. from C:/Users/code/Desktop/flog-launcher/source/ns_ext.h:3,
  222. from C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:1:
  223. D:/devkitPro/libnx/include/switch/services/ns.h:38:8: note: previous declaration of 'nsPushApplicationRecord' was here
  224. Result nsPushApplicationRecord(u64 tid, u64 num, AppRecord *apprec);
  225. ^~~~~~~~~~~~~~~~~~~~~~~
  226. In file included from C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:1:
  227. C:/Users/code/Desktop/flog-launcher/source/ns_ext.h:22:8: error: conflicting types for 'nsListApplicationRecord'
  228. Result nsListApplicationRecord(u64 offset, void *out_buf, size_t out_buf_size, u32 *entries_read_out);
  229. ^~~~~~~~~~~~~~~~~~~~~~~
  230. In file included from D:/devkitPro/libnx/include/switch.h:56,
  231. from C:/Users/code/Desktop/flog-launcher/source/ns_ext.h:3,
  232. from C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:1:
  233. D:/devkitPro/libnx/include/switch/services/ns.h:30:8: note: previous declaration of 'nsListApplicationRecord' was here
  234. Result nsListApplicationRecord(AppRecord *out, u64 offset);
  235. ^~~~~~~~~~~~~~~~~~~~~~~
  236. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:79:8: error: conflicting types for 'nsListApplicationRecord'
  237. Result nsListApplicationRecord(u64 offset, void *out_buf, size_t out_buf_size, u32 *entries_read_out)
  238. ^~~~~~~~~~~~~~~~~~~~~~~
  239. In file included from D:/devkitPro/libnx/include/switch.h:56,
  240. from C:/Users/code/Desktop/flog-launcher/source/ns_ext.h:3,
  241. from C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:1:
  242. D:/devkitPro/libnx/include/switch/services/ns.h:30:8: note: previous declaration of 'nsListApplicationRecord' was here
  243. Result nsListApplicationRecord(AppRecord *out, u64 offset);
  244. ^~~~~~~~~~~~~~~~~~~~~~~
  245. C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:119:8: error: conflicting types for 'nsPushApplicationRecord'
  246. Result nsPushApplicationRecord(u64 title_id, u8 last_modified_event, ContentStorageRecord *content_records_buf, size_t buf_size)
  247. ^~~~~~~~~~~~~~~~~~~~~~~
  248. In file included from D:/devkitPro/libnx/include/switch.h:56,
  249. from C:/Users/code/Desktop/flog-launcher/source/ns_ext.h:3,
  250. from C:/Users/code/Desktop/flog-launcher/source/ns_ext.c:1:
  251. D:/devkitPro/libnx/include/switch/services/ns.h:38:8: note: previous declaration of 'nsPushApplicationRecord' was here
  252. Result nsPushApplicationRecord(u64 tid, u64 num, AppRecord *apprec);
  253. ^~~~~~~~~~~~~~~~~~~~~~~
  254. make[1]: *** [/opt/devkitpro/devkitA64/base_rules:19: ns_ext.o] Error 1
  255. make: *** [Makefile:166: build] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement