Advertisement
dtorkin

Untitled

Apr 7th, 2025
13
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.47 KB | None | 0 0
  1. dtorkin@ubuntu1:~/Desktop/v0_12$ make
  2. gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -c -o svm/svm_main.o svm/svm_main.c
  3. gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -c -o svm/svm_handlers.o svm/svm_handlers.c
  4. gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -c -o svm/svm_timers.o svm/svm_timers.c
  5. gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -c -o protocol/message_utils.o protocol/message_utils.c
  6. gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -c -o protocol/message_builder.o protocol/message_builder.c
  7. gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -c -o io/io_common.o io/io_common.c
  8. gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -c -o io/io_ethernet.o io/io_ethernet.c
  9. gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -c -o config/config.o config/config.c
  10. gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -c -o config/ini.o config/ini.c
  11. gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig svm/svm_main.o svm/svm_handlers.o svm/svm_timers.o protocol/message_utils.o protocol/message_builder.o io/io_common.o io/io_ethernet.o config/config.o config/ini.o -o svm_app -lrt
  12. gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -c -o uvm/uvm_main.o uvm/uvm_main.c
  13. uvm/uvm_main.c: In function ‘main’:
  14. uvm/uvm_main.c:83:101: warning: passing argument 2 of ‘send_init_channel_and_receive_confirm’ from incompatible pointer type [-Wincompatible-pointer-types]
  15. 83 | Body = send_init_channel_and_receive_confirm(connection_handle, io, &currentMessageCounter, &receivedMessage);
  16. | ^~
  17. | |
  18. | IOInterface *
  19.  
  20. In file included from uvm/uvm_main.c:10:
  21. uvm/uvm_comm.h:23:86: note: expected ‘uint16_t *’ {aka ‘short unsigned int *’} but argument is of type ‘IOInterface *’
  22. 23 | _init_channel_and_receive_confirm(int clientSocketFD, uint16_t *messageCounter, Message *receivedMessage);
  23. | ~~~~~~~~~~^~~~~~~~~~~~~~
  24.  
  25. uvm/uvm_main.c:83:105: warning: passing argument 3 of ‘send_init_channel_and_receive_confirm’ from incompatible pointer type [-Wincompatible-pointer-types]
  26. 83 | = send_init_channel_and_receive_confirm(connection_handle, io, &currentMessageCounter, &receivedMessage);
  27. | ^~~~~~~~~~~~~~~~~~~~~~
  28. | |
  29. | uint16_t * {aka short unsigned int *}
  30.  
  31. uvm/uvm_comm.h:23:111: note: expected ‘Message *’ but argument is of type ‘uint16_t *’ {aka ‘short unsigned int *’}
  32. 23 | _confirm(int clientSocketFD, uint16_t *messageCounter, Message *receivedMessage);
  33. | ~~~~~~~~~^~~~~~~~~~~~~~~
  34.  
  35. uvm/uvm_main.c:83:44: error: too many arguments to function ‘send_init_channel_and_receive_confirm’
  36. 83 | ConfirmInitBody* confirmInitBody = send_init_channel_and_receive_confirm(connection_handle, io, &currentMessageCounter, &receivedMessage);
  37. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  38. uvm/uvm_comm.h:23:18: note: declared here
  39. 23 | ConfirmInitBody* send_init_channel_and_receive_confirm(int clientSocketFD, uint16_t *messageCounter, Message *receivedMessage);
  40. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  41. uvm/uvm_main.c:90:132: warning: passing argument 2 of ‘send_provesti_kontrol_and_receive_podtverzhdenie’ from incompatible pointer type [-Wincompatible-pointer-types]
  42. 90 | _provesti_kontrol_and_receive_podtverzhdenie(connection_handle, io, &currentMessageCounter, &receivedMessage, tk_request);
  43. | ^~
  44. | |
  45. | IOInterface *
  46.  
  47. uvm/uvm_comm.h:34:109: note: expected ‘uint16_t *’ {aka ‘short unsigned int *’} but argument is of type ‘IOInterface *’
  48. 34 | ontrol_and_receive_podtverzhdenie(int clientSocketFD, uint16_t *messageCounter, Message *receivedMessage, uint8_t tk);
  49. | ~~~~~~~~~~^~~~~~~~~~~~~~
  50.  
  51. uvm/uvm_main.c:90:136: warning: passing argument 3 of ‘send_provesti_kontrol_and_receive_podtverzhdenie’ from incompatible pointer type [-Wincompatible-pointer-types]
  52. 90 | vesti_kontrol_and_receive_podtverzhdenie(connection_handle, io, &currentMessageCounter, &receivedMessage, tk_request);
  53. | ^~~~~~~~~~~~~~~~~~~~~~
  54. | |
  55. | uint16_t * {aka short unsigned int *}
  56.  
  57. uvm/uvm_comm.h:34:134: note: expected ‘Message *’ but argument is of type ‘uint16_t *’ {aka ‘short unsigned int *’}
  58. 34 | rzhdenie(int clientSocketFD, uint16_t *messageCounter, Message *receivedMessage, uint8_t tk);
  59. | ~~~~~~~~~^~~~~~~~~~~~~~~
  60.  
  61. uvm/uvm_main.c:90:160: warning: passing argument 4 of ‘send_provesti_kontrol_and_receive_podtverzhdenie’ makes integer from pointer without a cast [-Wint-conversion]
  62. 90 | e_podtverzhdenie(connection_handle, io, &currentMessageCounter, &receivedMessage, tk_request);
  63. | ^~~~~~~~~~~~~~~~
  64. | |
  65. | Message *
  66.  
  67. uvm/uvm_comm.h:34:159: note: expected ‘uint8_t’ {aka ‘unsigned char’} but argument is of type ‘Message *’
  68. 34 | tSocketFD, uint16_t *messageCounter, Message *receivedMessage, uint8_t tk);
  69. | ~~~~~~~~^~
  70.  
  71. uvm/uvm_main.c:90:64: error: too many arguments to function ‘send_provesti_kontrol_and_receive_podtverzhdenie’
  72. 90 | PodtverzhdenieKontrolyaBody* podtverzhdenieKontrolyaBody = send_provesti_kontrol_and_receive_podtverzhdenie(connection_handle, io, &currentMessageCounter, &receivedMessage, tk_request);
  73. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  74. uvm/uvm_comm.h:34:30: note: declared here
  75. 34 | PodtverzhdenieKontrolyaBody* send_provesti_kontrol_and_receive_podtverzhdenie(int clientSocketFD, uint16_t *messageCounter, Message *receivedMessage, uint8_t tk);
  76. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  77. uvm/uvm_main.c:97:126: warning: passing argument 2 of ‘send_vydat_rezultaty_kontrolya_and_receive_rezultaty’ from incompatible pointer type [-Wincompatible-pointer-types]
  78. 97 | at_rezultaty_kontrolya_and_receive_rezultaty(connection_handle, io, &currentMessageCounter, &receivedMessage, vpk_request);
  79. | ^~
  80. | |
  81. | IOInterface *
  82.  
  83. uvm/uvm_comm.h:45:108: note: expected ‘uint16_t *’ {aka ‘short unsigned int *’} but argument is of type ‘IOInterface *’
  84. 45 | y_kontrolya_and_receive_rezultaty(int clientSocketFD, uint16_t *messageCounter, Message *receivedMessage, uint8_t vpk);
  85. | ~~~~~~~~~~^~~~~~~~~~~~~~
  86.  
  87. uvm/uvm_main.c:97:130: warning: passing argument 3 of ‘send_vydat_rezultaty_kontrolya_and_receive_rezultaty’ from incompatible pointer type [-Wincompatible-pointer-types]
  88. 97 | ezultaty_kontrolya_and_receive_rezultaty(connection_handle, io, &currentMessageCounter, &receivedMessage, vpk_request);
  89. | ^~~~~~~~~~~~~~~~~~~~~~
  90. | |
  91. | uint16_t * {aka short unsigned int *}
  92.  
  93. uvm/uvm_comm.h:45:133: note: expected ‘Message *’ but argument is of type ‘uint16_t *’ {aka ‘short unsigned int *’}
  94. 45 | ezultaty(int clientSocketFD, uint16_t *messageCounter, Message *receivedMessage, uint8_t vpk);
  95. | ~~~~~~~~~^~~~~~~~~~~~~~~
  96.  
  97. uvm/uvm_main.c:97:154: warning: passing argument 4 of ‘send_vydat_rezultaty_kontrolya_and_receive_rezultaty’ makes integer from pointer without a cast [-Wint-conversion]
  98. 97 | eceive_rezultaty(connection_handle, io, &currentMessageCounter, &receivedMessage, vpk_request);
  99. | ^~~~~~~~~~~~~~~~
  100. | |
  101. | Message *
  102.  
  103. uvm/uvm_comm.h:45:158: note: expected ‘uint8_t’ {aka ‘unsigned char’} but argument is of type ‘Message *’
  104. 45 | SocketFD, uint16_t *messageCounter, Message *receivedMessage, uint8_t vpk);
  105. | ~~~~~~~~^~~
  106.  
  107. uvm/uvm_main.c:97:54: error: too many arguments to function ‘send_vydat_rezultaty_kontrolya_and_receive_rezultaty’
  108. 97 | RezultatyKontrolyaBody* rezultatyKontrolyaBody = send_vydat_rezultaty_kontrolya_and_receive_rezultaty(connection_handle, io, &currentMessageCounter, &receivedMessage, vpk_request);
  109. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  110. uvm/uvm_comm.h:45:25: note: declared here
  111. 45 | RezultatyKontrolyaBody* send_vydat_rezultaty_kontrolya_and_receive_rezultaty(int clientSocketFD, uint16_t *messageCounter, Message *receivedMessage, uint8_t vpk);
  112. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  113. uvm/uvm_main.c:103:118: warning: passing argument 2 of ‘send_vydat_sostoyanie_linii_and_receive_sostoyanie’ from incompatible pointer type [-Wincompatible-pointer-types]
  114. 103 | ydat_sostoyanie_linii_and_receive_sostoyanie(connection_handle, io, &currentMessageCounter, &receivedMessage);
  115. | ^~
  116. | |
  117. | IOInterface *
  118.  
  119. uvm/uvm_comm.h:55:103: note: expected ‘uint16_t *’ {aka ‘short unsigned int *’} but argument is of type ‘IOInterface *’
  120. 55 | anie_linii_and_receive_sostoyanie(int clientSocketFD, uint16_t *messageCounter, Message *receivedMessage);
  121. | ~~~~~~~~~~^~~~~~~~~~~~~~
  122.  
  123. uvm/uvm_main.c:103:122: warning: passing argument 3 of ‘send_vydat_sostoyanie_linii_and_receive_sostoyanie’ from incompatible pointer type [-Wincompatible-pointer-types]
  124. 103 | _sostoyanie_linii_and_receive_sostoyanie(connection_handle, io, &currentMessageCounter, &receivedMessage);
  125. | ^~~~~~~~~~~~~~~~~~~~~~
  126. | |
  127. | uint16_t * {aka short unsigned int *}
  128.  
  129. uvm/uvm_comm.h:55:128: note: expected ‘Message *’ but argument is of type ‘uint16_t *’ {aka ‘short unsigned int *’}
  130. 55 | stoyanie(int clientSocketFD, uint16_t *messageCounter, Message *receivedMessage);
  131. | ~~~~~~~~~^~~~~~~~~~~~~~~
  132.  
  133. uvm/uvm_main.c:103:48: error: too many arguments to function ‘send_vydat_sostoyanie_linii_and_receive_sostoyanie’
  134. 103 | SostoyanieLiniiBody* sostoyanieLiniiBody = send_vydat_sostoyanie_linii_and_receive_sostoyanie(connection_handle, io, &currentMessageCounter, &receivedMessage);
  135. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  136. uvm/uvm_comm.h:55:22: note: declared here
  137. 55 | SostoyanieLiniiBody* send_vydat_sostoyanie_linii_and_receive_sostoyanie(int clientSocketFD, uint16_t *messageCounter, Message *receivedMessage);
  138. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  139. uvm/uvm_main.c:117:78: warning: passing argument 2 of ‘send_prinyat_parametry_sdr’ from incompatible pointer type [-Wincompatible-pointer-types]
  140. 117 | send_status |= send_prinyat_parametry_sdr(connection_handle, io, &currentMessageCounter);
  141. | ^~
  142. | |
  143. | IOInterface *
  144.  
  145. uvm/uvm_comm.h:90:62: note: expected ‘uint16_t *’ {aka ‘short unsigned int *’} but argument is of type ‘IOInterface *’
  146. 90 | int send_prinyat_parametry_sdr(int clientSocketFD, uint16_t *messageCounter);
  147. | ~~~~~~~~~~^~~~~~~~~~~~~~
  148. uvm/uvm_main.c:117:32: error: too many arguments to function ‘send_prinyat_parametry_sdr’
  149. 117 | send_status |= send_prinyat_parametry_sdr(connection_handle, io, &currentMessageCounter);
  150. | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  151. uvm/uvm_comm.h:90:5: note: declared here
  152. 90 | int send_prinyat_parametry_sdr(int clientSocketFD, uint16_t *messageCounter);
  153. | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  154. uvm/uvm_main.c:118:78: warning: passing argument 2 of ‘send_prinyat_parametry_tsd’ from incompatible pointer type [-Wincompatible-pointer-types]
  155. 118 | send_status |= send_prinyat_parametry_tsd(connection_handle, io, &currentMessageCounter);
  156. | ^~
  157. | |
  158. | IOInterface *
  159.  
  160. uvm/uvm_comm.h:114:62: note: expected ‘uint16_t *’ {aka ‘short unsigned int *’} but argument is of type ‘IOInterface *’
  161. 114 | int send_prinyat_parametry_tsd(int clientSocketFD, uint16_t *messageCounter);
  162. | ~~~~~~~~~~^~~~~~~~~~~~~~
  163. uvm/uvm_main.c:118:32: error: too many arguments to function ‘send_prinyat_parametry_tsd’
  164. 118 | send_status |= send_prinyat_parametry_tsd(connection_handle, io, &currentMessageCounter);
  165. | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  166. uvm/uvm_comm.h:114:5: note: declared here
  167. 114 | int send_prinyat_parametry_tsd(int clientSocketFD, uint16_t *messageCounter);
  168. | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  169. uvm/uvm_main.c:119:78: warning: passing argument 2 of ‘send_navigatsionnye_dannye’ from incompatible pointer type [-Wincompatible-pointer-types]
  170. 119 | send_status |= send_navigatsionnye_dannye(connection_handle, io, &currentMessageCounter);
  171. | ^~
  172. | |
  173. | IOInterface *
  174.  
  175. uvm/uvm_comm.h:122:62: note: expected ‘uint16_t *’ {aka ‘short unsigned int *’} but argument is of type ‘IOInterface *’
  176. 122 | int send_navigatsionnye_dannye(int clientSocketFD, uint16_t *messageCounter);
  177. | ~~~~~~~~~~^~~~~~~~~~~~~~
  178. uvm/uvm_main.c:119:32: error: too many arguments to function ‘send_navigatsionnye_dannye’
  179. 119 | send_status |= send_navigatsionnye_dannye(connection_handle, io, &currentMessageCounter);
  180. | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  181. uvm/uvm_comm.h:122:5: note: declared here
  182. 122 | int send_navigatsionnye_dannye(int clientSocketFD, uint16_t *messageCounter);
  183. | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  184. uvm/uvm_main.c:123:77: warning: passing argument 2 of ‘send_prinyat_parametry_so’ from incompatible pointer type [-Wincompatible-pointer-types]
  185. 123 | send_status |= send_prinyat_parametry_so(connection_handle, io, &currentMessageCounter);
  186. | ^~
  187. | |
  188. | IOInterface *
  189.  
  190. uvm/uvm_comm.h:66:61: note: expected ‘uint16_t *’ {aka ‘short unsigned int *’} but argument is of type ‘IOInterface *’
  191. 66 | int send_prinyat_parametry_so(int clientSocketFD, uint16_t *messageCounter);
  192. | ~~~~~~~~~~^~~~~~~~~~~~~~
  193. uvm/uvm_main.c:123:32: error: too many arguments to function ‘send_prinyat_parametry_so’
  194. 123 | send_status |= send_prinyat_parametry_so(connection_handle, io, &currentMessageCounter);
  195. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  196. uvm/uvm_comm.h:66:5: note: declared here
  197. 66 | int send_prinyat_parametry_so(int clientSocketFD, uint16_t *messageCounter);
  198. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  199. uvm/uvm_main.c:124:79: warning: passing argument 2 of ‘send_prinyat_parametry_3tso’ from incompatible pointer type [-Wincompatible-pointer-types]
  200. 124 | send_status |= send_prinyat_parametry_3tso(connection_handle, io, &currentMessageCounter);
  201. | ^~
  202. | |
  203. | IOInterface *
  204.  
  205. uvm/uvm_comm.h:98:63: note: expected ‘uint16_t *’ {aka ‘short unsigned int *’} but argument is of type ‘IOInterface *’
  206. 98 | int send_prinyat_parametry_3tso(int clientSocketFD, uint16_t *messageCounter);
  207. | ~~~~~~~~~~^~~~~~~~~~~~~~
  208. uvm/uvm_main.c:124:32: error: too many arguments to function ‘send_prinyat_parametry_3tso’
  209. 124 | send_status |= send_prinyat_parametry_3tso(connection_handle, io, &currentMessageCounter);
  210. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  211. uvm/uvm_comm.h:98:5: note: declared here
  212. 98 | int send_prinyat_parametry_3tso(int clientSocketFD, uint16_t *messageCounter);
  213. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  214. uvm/uvm_main.c:125:78: warning: passing argument 2 of ‘send_navigatsionnye_dannye’ from incompatible pointer type [-Wincompatible-pointer-types]
  215. 125 | send_status |= send_navigatsionnye_dannye(connection_handle, io, &currentMessageCounter);
  216. | ^~
  217. | |
  218. | IOInterface *
  219.  
  220. uvm/uvm_comm.h:122:62: note: expected ‘uint16_t *’ {aka ‘short unsigned int *’} but argument is of type ‘IOInterface *’
  221. 122 | int send_navigatsionnye_dannye(int clientSocketFD, uint16_t *messageCounter);
  222. | ~~~~~~~~~~^~~~~~~~~~~~~~
  223. uvm/uvm_main.c:125:32: error: too many arguments to function ‘send_navigatsionnye_dannye’
  224. 125 | send_status |= send_navigatsionnye_dannye(connection_handle, io, &currentMessageCounter);
  225. | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  226. uvm/uvm_comm.h:122:5: note: declared here
  227. 122 | int send_navigatsionnye_dannye(int clientSocketFD, uint16_t *messageCounter);
  228. | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  229. uvm/uvm_main.c:129:77: warning: passing argument 2 of ‘send_prinyat_parametry_so’ from incompatible pointer type [-Wincompatible-pointer-types]
  230. 129 | send_status |= send_prinyat_parametry_so(connection_handle, io, &currentMessageCounter);
  231. | ^~
  232. | |
  233. | IOInterface *
  234.  
  235. uvm/uvm_comm.h:66:61: note: expected ‘uint16_t *’ {aka ‘short unsigned int *’} but argument is of type ‘IOInterface *’
  236. 66 | int send_prinyat_parametry_so(int clientSocketFD, uint16_t *messageCounter);
  237. | ~~~~~~~~~~^~~~~~~~~~~~~~
  238. uvm/uvm_main.c:129:32: error: too many arguments to function ‘send_prinyat_parametry_so’
  239. 129 | send_status |= send_prinyat_parametry_so(connection_handle, io, &currentMessageCounter);
  240. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  241. uvm/uvm_comm.h:66:5: note: declared here
  242. 66 | int send_prinyat_parametry_so(int clientSocketFD, uint16_t *messageCounter);
  243. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  244. uvm/uvm_main.c:130:79: warning: passing argument 2 of ‘send_prinyat_time_ref_range’ from incompatible pointer type [-Wincompatible-pointer-types]
  245. 130 | send_status |= send_prinyat_time_ref_range(connection_handle, io, &currentMessageCounter);
  246. | ^~
  247. | |
  248. | IOInterface *
  249.  
  250. uvm/uvm_comm.h:74:63: note: expected ‘uint16_t *’ {aka ‘short unsigned int *’} but argument is of type ‘IOInterface *’
  251. 74 | int send_prinyat_time_ref_range(int clientSocketFD, uint16_t *messageCounter);
  252. | ~~~~~~~~~~^~~~~~~~~~~~~~
  253. uvm/uvm_main.c:130:32: error: too many arguments to function ‘send_prinyat_time_ref_range’
  254. 130 | send_status |= send_prinyat_time_ref_range(connection_handle, io, &currentMessageCounter);
  255. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  256. uvm/uvm_comm.h:74:5: note: declared here
  257. 74 | int send_prinyat_time_ref_range(int clientSocketFD, uint16_t *messageCounter);
  258. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  259. uvm/uvm_main.c:131:70: warning: passing argument 2 of ‘send_prinyat_reper’ from incompatible pointer type [-Wincompatible-pointer-types]
  260. 131 | send_status |= send_prinyat_reper(connection_handle, io, &currentMessageCounter);
  261. | ^~
  262. | |
  263. | IOInterface *
  264.  
  265. uvm/uvm_comm.h:82:54: note: expected ‘uint16_t *’ {aka ‘short unsigned int *’} but argument is of type ‘IOInterface *’
  266. 82 | int send_prinyat_reper(int clientSocketFD, uint16_t *messageCounter);
  267. | ~~~~~~~~~~^~~~~~~~~~~~~~
  268. uvm/uvm_main.c:131:32: error: too many arguments to function ‘send_prinyat_reper’
  269. 131 | send_status |= send_prinyat_reper(connection_handle, io, &currentMessageCounter);
  270. | ^~~~~~~~~~~~~~~~~~
  271. uvm/uvm_comm.h:82:5: note: declared here
  272. 82 | int send_prinyat_reper(int clientSocketFD, uint16_t *messageCounter);
  273. | ^~~~~~~~~~~~~~~~~~
  274. uvm/uvm_main.c:132:79: warning: passing argument 2 of ‘send_prinyat_parametry_3tso’ from incompatible pointer type [-Wincompatible-pointer-types]
  275. 132 | send_status |= send_prinyat_parametry_3tso(connection_handle, io, &currentMessageCounter);
  276. | ^~
  277. | |
  278. | IOInterface *
  279.  
  280. uvm/uvm_comm.h:98:63: note: expected ‘uint16_t *’ {aka ‘short unsigned int *’} but argument is of type ‘IOInterface *’
  281. 98 | int send_prinyat_parametry_3tso(int clientSocketFD, uint16_t *messageCounter);
  282. | ~~~~~~~~~~^~~~~~~~~~~~~~
  283. uvm/uvm_main.c:132:32: error: too many arguments to function ‘send_prinyat_parametry_3tso’
  284. 132 | send_status |= send_prinyat_parametry_3tso(connection_handle, io, &currentMessageCounter);
  285. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  286. uvm/uvm_comm.h:98:5: note: declared here
  287. 98 | int send_prinyat_parametry_3tso(int clientSocketFD, uint16_t *messageCounter);
  288. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  289. uvm/uvm_main.c:133:76: warning: passing argument 2 of ‘send_prinyat_ref_azimuth’ from incompatible pointer type [-Wincompatible-pointer-types]
  290. 133 | send_status |= send_prinyat_ref_azimuth(connection_handle, io, &currentMessageCounter);
  291. | ^~
  292. | |
  293. | IOInterface *
  294.  
  295. uvm/uvm_comm.h:106:60: note: expected ‘uint16_t *’ {aka ‘short unsigned int *’} but argument is of type ‘IOInterface *’
  296. 106 | int send_prinyat_ref_azimuth(int clientSocketFD, uint16_t *messageCounter);
  297. | ~~~~~~~~~~^~~~~~~~~~~~~~
  298. uvm/uvm_main.c:133:32: error: too many arguments to function ‘send_prinyat_ref_azimuth’
  299. 133 | send_status |= send_prinyat_ref_azimuth(connection_handle, io, &currentMessageCounter);
  300. | ^~~~~~~~~~~~~~~~~~~~~~~~
  301. uvm/uvm_comm.h:106:5: note: declared here
  302. 106 | int send_prinyat_ref_azimuth(int clientSocketFD, uint16_t *messageCounter);
  303. | ^~~~~~~~~~~~~~~~~~~~~~~~
  304. uvm/uvm_main.c:134:78: warning: passing argument 2 of ‘send_navigatsionnye_dannye’ from incompatible pointer type [-Wincompatible-pointer-types]
  305. 134 | send_status |= send_navigatsionnye_dannye(connection_handle, io, &currentMessageCounter);
  306. | ^~
  307. | |
  308. | IOInterface *
  309.  
  310. uvm/uvm_comm.h:122:62: note: expected ‘uint16_t *’ {aka ‘short unsigned int *’} but argument is of type ‘IOInterface *’
  311. 122 | int send_navigatsionnye_dannye(int clientSocketFD, uint16_t *messageCounter);
  312. | ~~~~~~~~~~^~~~~~~~~~~~~~
  313. uvm/uvm_main.c:134:32: error: too many arguments to function ‘send_navigatsionnye_dannye’
  314. 134 | send_status |= send_navigatsionnye_dannye(connection_handle, io, &currentMessageCounter);
  315. | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  316. uvm/uvm_comm.h:122:5: note: declared here
  317. 122 | int send_navigatsionnye_dannye(int clientSocketFD, uint16_t *messageCounter);
  318. | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  319. uvm/uvm_main.c:25:14: warning: unused parameter ‘argc’ [-Wunused-parameter]
  320. 25 | int main(int argc, char* argv[] ) {
  321. | ~~~~^~~~
  322. uvm/uvm_main.c:25:26: warning: unused parameter ‘argv’ [-Wunused-parameter]
  323. 25 | int main(int argc, char* argv[] ) {
  324. | ~~~~~~^~~~~~
  325. make: *** [<встроенное>: uvm/uvm_main.o] Ошибка 1
  326. dtorkin@ubuntu1:~/Desktop/v0_12$
  327.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement