Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dtorkin@ubuntu1:~/Desktop/v0_12$ make
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -c -o svm/svm_main.o svm/svm_main.c
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -c -o svm/svm_handlers.o svm/svm_handlers.c
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -c -o svm/svm_timers.o svm/svm_timers.c
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -c -o protocol/message_utils.o protocol/message_utils.c
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -c -o protocol/message_builder.o protocol/message_builder.c
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -c -o io/io_common.o io/io_common.c
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -c -o io/io_ethernet.o io/io_ethernet.c
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -c -o config/config.o config/config.c
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -c -o config/ini.o config/ini.c
- 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
- gcc -Wall -Wextra -g -Iprotocol -Iio -Isvm -Iuvm -Iconfig -c -o uvm/uvm_main.o uvm/uvm_main.c
- uvm/uvm_main.c: In function ‘main’:
- uvm/uvm_main.c:83:101: warning: passing argument 2 of ‘send_init_channel_and_receive_confirm’ from incompatible pointer type [-Wincompatible-pointer-types]
- 83 | Body = send_init_channel_and_receive_confirm(connection_handle, io, ¤tMessageCounter, &receivedMessage);
- | ^~
- | |
- | IOInterface *
- In file included from uvm/uvm_main.c:10:
- uvm/uvm_comm.h:23:86: note: expected ‘uint16_t *’ {aka ‘short unsigned int *’} but argument is of type ‘IOInterface *’
- 23 | _init_channel_and_receive_confirm(int clientSocketFD, uint16_t *messageCounter, Message *receivedMessage);
- | ~~~~~~~~~~^~~~~~~~~~~~~~
- uvm/uvm_main.c:83:105: warning: passing argument 3 of ‘send_init_channel_and_receive_confirm’ from incompatible pointer type [-Wincompatible-pointer-types]
- 83 | = send_init_channel_and_receive_confirm(connection_handle, io, ¤tMessageCounter, &receivedMessage);
- | ^~~~~~~~~~~~~~~~~~~~~~
- | |
- | uint16_t * {aka short unsigned int *}
- uvm/uvm_comm.h:23:111: note: expected ‘Message *’ but argument is of type ‘uint16_t *’ {aka ‘short unsigned int *’}
- 23 | _confirm(int clientSocketFD, uint16_t *messageCounter, Message *receivedMessage);
- | ~~~~~~~~~^~~~~~~~~~~~~~~
- uvm/uvm_main.c:83:44: error: too many arguments to function ‘send_init_channel_and_receive_confirm’
- 83 | ConfirmInitBody* confirmInitBody = send_init_channel_and_receive_confirm(connection_handle, io, ¤tMessageCounter, &receivedMessage);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- uvm/uvm_comm.h:23:18: note: declared here
- 23 | ConfirmInitBody* send_init_channel_and_receive_confirm(int clientSocketFD, uint16_t *messageCounter, Message *receivedMessage);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- uvm/uvm_main.c:90:132: warning: passing argument 2 of ‘send_provesti_kontrol_and_receive_podtverzhdenie’ from incompatible pointer type [-Wincompatible-pointer-types]
- 90 | _provesti_kontrol_and_receive_podtverzhdenie(connection_handle, io, ¤tMessageCounter, &receivedMessage, tk_request);
- | ^~
- | |
- | IOInterface *
- uvm/uvm_comm.h:34:109: note: expected ‘uint16_t *’ {aka ‘short unsigned int *’} but argument is of type ‘IOInterface *’
- 34 | ontrol_and_receive_podtverzhdenie(int clientSocketFD, uint16_t *messageCounter, Message *receivedMessage, uint8_t tk);
- | ~~~~~~~~~~^~~~~~~~~~~~~~
- uvm/uvm_main.c:90:136: warning: passing argument 3 of ‘send_provesti_kontrol_and_receive_podtverzhdenie’ from incompatible pointer type [-Wincompatible-pointer-types]
- 90 | vesti_kontrol_and_receive_podtverzhdenie(connection_handle, io, ¤tMessageCounter, &receivedMessage, tk_request);
- | ^~~~~~~~~~~~~~~~~~~~~~
- | |
- | uint16_t * {aka short unsigned int *}
- uvm/uvm_comm.h:34:134: note: expected ‘Message *’ but argument is of type ‘uint16_t *’ {aka ‘short unsigned int *’}
- 34 | rzhdenie(int clientSocketFD, uint16_t *messageCounter, Message *receivedMessage, uint8_t tk);
- | ~~~~~~~~~^~~~~~~~~~~~~~~
- 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]
- 90 | e_podtverzhdenie(connection_handle, io, ¤tMessageCounter, &receivedMessage, tk_request);
- | ^~~~~~~~~~~~~~~~
- | |
- | Message *
- uvm/uvm_comm.h:34:159: note: expected ‘uint8_t’ {aka ‘unsigned char’} but argument is of type ‘Message *’
- 34 | tSocketFD, uint16_t *messageCounter, Message *receivedMessage, uint8_t tk);
- | ~~~~~~~~^~
- uvm/uvm_main.c:90:64: error: too many arguments to function ‘send_provesti_kontrol_and_receive_podtverzhdenie’
- 90 | PodtverzhdenieKontrolyaBody* podtverzhdenieKontrolyaBody = send_provesti_kontrol_and_receive_podtverzhdenie(connection_handle, io, ¤tMessageCounter, &receivedMessage, tk_request);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- uvm/uvm_comm.h:34:30: note: declared here
- 34 | PodtverzhdenieKontrolyaBody* send_provesti_kontrol_and_receive_podtverzhdenie(int clientSocketFD, uint16_t *messageCounter, Message *receivedMessage, uint8_t tk);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 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]
- 97 | at_rezultaty_kontrolya_and_receive_rezultaty(connection_handle, io, ¤tMessageCounter, &receivedMessage, vpk_request);
- | ^~
- | |
- | IOInterface *
- uvm/uvm_comm.h:45:108: note: expected ‘uint16_t *’ {aka ‘short unsigned int *’} but argument is of type ‘IOInterface *’
- 45 | y_kontrolya_and_receive_rezultaty(int clientSocketFD, uint16_t *messageCounter, Message *receivedMessage, uint8_t vpk);
- | ~~~~~~~~~~^~~~~~~~~~~~~~
- 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]
- 97 | ezultaty_kontrolya_and_receive_rezultaty(connection_handle, io, ¤tMessageCounter, &receivedMessage, vpk_request);
- | ^~~~~~~~~~~~~~~~~~~~~~
- | |
- | uint16_t * {aka short unsigned int *}
- uvm/uvm_comm.h:45:133: note: expected ‘Message *’ but argument is of type ‘uint16_t *’ {aka ‘short unsigned int *’}
- 45 | ezultaty(int clientSocketFD, uint16_t *messageCounter, Message *receivedMessage, uint8_t vpk);
- | ~~~~~~~~~^~~~~~~~~~~~~~~
- 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]
- 97 | eceive_rezultaty(connection_handle, io, ¤tMessageCounter, &receivedMessage, vpk_request);
- | ^~~~~~~~~~~~~~~~
- | |
- | Message *
- uvm/uvm_comm.h:45:158: note: expected ‘uint8_t’ {aka ‘unsigned char’} but argument is of type ‘Message *’
- 45 | SocketFD, uint16_t *messageCounter, Message *receivedMessage, uint8_t vpk);
- | ~~~~~~~~^~~
- uvm/uvm_main.c:97:54: error: too many arguments to function ‘send_vydat_rezultaty_kontrolya_and_receive_rezultaty’
- 97 | RezultatyKontrolyaBody* rezultatyKontrolyaBody = send_vydat_rezultaty_kontrolya_and_receive_rezultaty(connection_handle, io, ¤tMessageCounter, &receivedMessage, vpk_request);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- uvm/uvm_comm.h:45:25: note: declared here
- 45 | RezultatyKontrolyaBody* send_vydat_rezultaty_kontrolya_and_receive_rezultaty(int clientSocketFD, uint16_t *messageCounter, Message *receivedMessage, uint8_t vpk);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 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]
- 103 | ydat_sostoyanie_linii_and_receive_sostoyanie(connection_handle, io, ¤tMessageCounter, &receivedMessage);
- | ^~
- | |
- | IOInterface *
- uvm/uvm_comm.h:55:103: note: expected ‘uint16_t *’ {aka ‘short unsigned int *’} but argument is of type ‘IOInterface *’
- 55 | anie_linii_and_receive_sostoyanie(int clientSocketFD, uint16_t *messageCounter, Message *receivedMessage);
- | ~~~~~~~~~~^~~~~~~~~~~~~~
- 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]
- 103 | _sostoyanie_linii_and_receive_sostoyanie(connection_handle, io, ¤tMessageCounter, &receivedMessage);
- | ^~~~~~~~~~~~~~~~~~~~~~
- | |
- | uint16_t * {aka short unsigned int *}
- uvm/uvm_comm.h:55:128: note: expected ‘Message *’ but argument is of type ‘uint16_t *’ {aka ‘short unsigned int *’}
- 55 | stoyanie(int clientSocketFD, uint16_t *messageCounter, Message *receivedMessage);
- | ~~~~~~~~~^~~~~~~~~~~~~~~
- uvm/uvm_main.c:103:48: error: too many arguments to function ‘send_vydat_sostoyanie_linii_and_receive_sostoyanie’
- 103 | SostoyanieLiniiBody* sostoyanieLiniiBody = send_vydat_sostoyanie_linii_and_receive_sostoyanie(connection_handle, io, ¤tMessageCounter, &receivedMessage);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- uvm/uvm_comm.h:55:22: note: declared here
- 55 | SostoyanieLiniiBody* send_vydat_sostoyanie_linii_and_receive_sostoyanie(int clientSocketFD, uint16_t *messageCounter, Message *receivedMessage);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- uvm/uvm_main.c:117:78: warning: passing argument 2 of ‘send_prinyat_parametry_sdr’ from incompatible pointer type [-Wincompatible-pointer-types]
- 117 | send_status |= send_prinyat_parametry_sdr(connection_handle, io, ¤tMessageCounter);
- | ^~
- | |
- | IOInterface *
- uvm/uvm_comm.h:90:62: note: expected ‘uint16_t *’ {aka ‘short unsigned int *’} but argument is of type ‘IOInterface *’
- 90 | int send_prinyat_parametry_sdr(int clientSocketFD, uint16_t *messageCounter);
- | ~~~~~~~~~~^~~~~~~~~~~~~~
- uvm/uvm_main.c:117:32: error: too many arguments to function ‘send_prinyat_parametry_sdr’
- 117 | send_status |= send_prinyat_parametry_sdr(connection_handle, io, ¤tMessageCounter);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- uvm/uvm_comm.h:90:5: note: declared here
- 90 | int send_prinyat_parametry_sdr(int clientSocketFD, uint16_t *messageCounter);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- uvm/uvm_main.c:118:78: warning: passing argument 2 of ‘send_prinyat_parametry_tsd’ from incompatible pointer type [-Wincompatible-pointer-types]
- 118 | send_status |= send_prinyat_parametry_tsd(connection_handle, io, ¤tMessageCounter);
- | ^~
- | |
- | IOInterface *
- uvm/uvm_comm.h:114:62: note: expected ‘uint16_t *’ {aka ‘short unsigned int *’} but argument is of type ‘IOInterface *’
- 114 | int send_prinyat_parametry_tsd(int clientSocketFD, uint16_t *messageCounter);
- | ~~~~~~~~~~^~~~~~~~~~~~~~
- uvm/uvm_main.c:118:32: error: too many arguments to function ‘send_prinyat_parametry_tsd’
- 118 | send_status |= send_prinyat_parametry_tsd(connection_handle, io, ¤tMessageCounter);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- uvm/uvm_comm.h:114:5: note: declared here
- 114 | int send_prinyat_parametry_tsd(int clientSocketFD, uint16_t *messageCounter);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- uvm/uvm_main.c:119:78: warning: passing argument 2 of ‘send_navigatsionnye_dannye’ from incompatible pointer type [-Wincompatible-pointer-types]
- 119 | send_status |= send_navigatsionnye_dannye(connection_handle, io, ¤tMessageCounter);
- | ^~
- | |
- | IOInterface *
- uvm/uvm_comm.h:122:62: note: expected ‘uint16_t *’ {aka ‘short unsigned int *’} but argument is of type ‘IOInterface *’
- 122 | int send_navigatsionnye_dannye(int clientSocketFD, uint16_t *messageCounter);
- | ~~~~~~~~~~^~~~~~~~~~~~~~
- uvm/uvm_main.c:119:32: error: too many arguments to function ‘send_navigatsionnye_dannye’
- 119 | send_status |= send_navigatsionnye_dannye(connection_handle, io, ¤tMessageCounter);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- uvm/uvm_comm.h:122:5: note: declared here
- 122 | int send_navigatsionnye_dannye(int clientSocketFD, uint16_t *messageCounter);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- uvm/uvm_main.c:123:77: warning: passing argument 2 of ‘send_prinyat_parametry_so’ from incompatible pointer type [-Wincompatible-pointer-types]
- 123 | send_status |= send_prinyat_parametry_so(connection_handle, io, ¤tMessageCounter);
- | ^~
- | |
- | IOInterface *
- uvm/uvm_comm.h:66:61: note: expected ‘uint16_t *’ {aka ‘short unsigned int *’} but argument is of type ‘IOInterface *’
- 66 | int send_prinyat_parametry_so(int clientSocketFD, uint16_t *messageCounter);
- | ~~~~~~~~~~^~~~~~~~~~~~~~
- uvm/uvm_main.c:123:32: error: too many arguments to function ‘send_prinyat_parametry_so’
- 123 | send_status |= send_prinyat_parametry_so(connection_handle, io, ¤tMessageCounter);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- uvm/uvm_comm.h:66:5: note: declared here
- 66 | int send_prinyat_parametry_so(int clientSocketFD, uint16_t *messageCounter);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- uvm/uvm_main.c:124:79: warning: passing argument 2 of ‘send_prinyat_parametry_3tso’ from incompatible pointer type [-Wincompatible-pointer-types]
- 124 | send_status |= send_prinyat_parametry_3tso(connection_handle, io, ¤tMessageCounter);
- | ^~
- | |
- | IOInterface *
- uvm/uvm_comm.h:98:63: note: expected ‘uint16_t *’ {aka ‘short unsigned int *’} but argument is of type ‘IOInterface *’
- 98 | int send_prinyat_parametry_3tso(int clientSocketFD, uint16_t *messageCounter);
- | ~~~~~~~~~~^~~~~~~~~~~~~~
- uvm/uvm_main.c:124:32: error: too many arguments to function ‘send_prinyat_parametry_3tso’
- 124 | send_status |= send_prinyat_parametry_3tso(connection_handle, io, ¤tMessageCounter);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- uvm/uvm_comm.h:98:5: note: declared here
- 98 | int send_prinyat_parametry_3tso(int clientSocketFD, uint16_t *messageCounter);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- uvm/uvm_main.c:125:78: warning: passing argument 2 of ‘send_navigatsionnye_dannye’ from incompatible pointer type [-Wincompatible-pointer-types]
- 125 | send_status |= send_navigatsionnye_dannye(connection_handle, io, ¤tMessageCounter);
- | ^~
- | |
- | IOInterface *
- uvm/uvm_comm.h:122:62: note: expected ‘uint16_t *’ {aka ‘short unsigned int *’} but argument is of type ‘IOInterface *’
- 122 | int send_navigatsionnye_dannye(int clientSocketFD, uint16_t *messageCounter);
- | ~~~~~~~~~~^~~~~~~~~~~~~~
- uvm/uvm_main.c:125:32: error: too many arguments to function ‘send_navigatsionnye_dannye’
- 125 | send_status |= send_navigatsionnye_dannye(connection_handle, io, ¤tMessageCounter);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- uvm/uvm_comm.h:122:5: note: declared here
- 122 | int send_navigatsionnye_dannye(int clientSocketFD, uint16_t *messageCounter);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- uvm/uvm_main.c:129:77: warning: passing argument 2 of ‘send_prinyat_parametry_so’ from incompatible pointer type [-Wincompatible-pointer-types]
- 129 | send_status |= send_prinyat_parametry_so(connection_handle, io, ¤tMessageCounter);
- | ^~
- | |
- | IOInterface *
- uvm/uvm_comm.h:66:61: note: expected ‘uint16_t *’ {aka ‘short unsigned int *’} but argument is of type ‘IOInterface *’
- 66 | int send_prinyat_parametry_so(int clientSocketFD, uint16_t *messageCounter);
- | ~~~~~~~~~~^~~~~~~~~~~~~~
- uvm/uvm_main.c:129:32: error: too many arguments to function ‘send_prinyat_parametry_so’
- 129 | send_status |= send_prinyat_parametry_so(connection_handle, io, ¤tMessageCounter);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- uvm/uvm_comm.h:66:5: note: declared here
- 66 | int send_prinyat_parametry_so(int clientSocketFD, uint16_t *messageCounter);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~
- uvm/uvm_main.c:130:79: warning: passing argument 2 of ‘send_prinyat_time_ref_range’ from incompatible pointer type [-Wincompatible-pointer-types]
- 130 | send_status |= send_prinyat_time_ref_range(connection_handle, io, ¤tMessageCounter);
- | ^~
- | |
- | IOInterface *
- uvm/uvm_comm.h:74:63: note: expected ‘uint16_t *’ {aka ‘short unsigned int *’} but argument is of type ‘IOInterface *’
- 74 | int send_prinyat_time_ref_range(int clientSocketFD, uint16_t *messageCounter);
- | ~~~~~~~~~~^~~~~~~~~~~~~~
- uvm/uvm_main.c:130:32: error: too many arguments to function ‘send_prinyat_time_ref_range’
- 130 | send_status |= send_prinyat_time_ref_range(connection_handle, io, ¤tMessageCounter);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- uvm/uvm_comm.h:74:5: note: declared here
- 74 | int send_prinyat_time_ref_range(int clientSocketFD, uint16_t *messageCounter);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- uvm/uvm_main.c:131:70: warning: passing argument 2 of ‘send_prinyat_reper’ from incompatible pointer type [-Wincompatible-pointer-types]
- 131 | send_status |= send_prinyat_reper(connection_handle, io, ¤tMessageCounter);
- | ^~
- | |
- | IOInterface *
- uvm/uvm_comm.h:82:54: note: expected ‘uint16_t *’ {aka ‘short unsigned int *’} but argument is of type ‘IOInterface *’
- 82 | int send_prinyat_reper(int clientSocketFD, uint16_t *messageCounter);
- | ~~~~~~~~~~^~~~~~~~~~~~~~
- uvm/uvm_main.c:131:32: error: too many arguments to function ‘send_prinyat_reper’
- 131 | send_status |= send_prinyat_reper(connection_handle, io, ¤tMessageCounter);
- | ^~~~~~~~~~~~~~~~~~
- uvm/uvm_comm.h:82:5: note: declared here
- 82 | int send_prinyat_reper(int clientSocketFD, uint16_t *messageCounter);
- | ^~~~~~~~~~~~~~~~~~
- uvm/uvm_main.c:132:79: warning: passing argument 2 of ‘send_prinyat_parametry_3tso’ from incompatible pointer type [-Wincompatible-pointer-types]
- 132 | send_status |= send_prinyat_parametry_3tso(connection_handle, io, ¤tMessageCounter);
- | ^~
- | |
- | IOInterface *
- uvm/uvm_comm.h:98:63: note: expected ‘uint16_t *’ {aka ‘short unsigned int *’} but argument is of type ‘IOInterface *’
- 98 | int send_prinyat_parametry_3tso(int clientSocketFD, uint16_t *messageCounter);
- | ~~~~~~~~~~^~~~~~~~~~~~~~
- uvm/uvm_main.c:132:32: error: too many arguments to function ‘send_prinyat_parametry_3tso’
- 132 | send_status |= send_prinyat_parametry_3tso(connection_handle, io, ¤tMessageCounter);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- uvm/uvm_comm.h:98:5: note: declared here
- 98 | int send_prinyat_parametry_3tso(int clientSocketFD, uint16_t *messageCounter);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- uvm/uvm_main.c:133:76: warning: passing argument 2 of ‘send_prinyat_ref_azimuth’ from incompatible pointer type [-Wincompatible-pointer-types]
- 133 | send_status |= send_prinyat_ref_azimuth(connection_handle, io, ¤tMessageCounter);
- | ^~
- | |
- | IOInterface *
- uvm/uvm_comm.h:106:60: note: expected ‘uint16_t *’ {aka ‘short unsigned int *’} but argument is of type ‘IOInterface *’
- 106 | int send_prinyat_ref_azimuth(int clientSocketFD, uint16_t *messageCounter);
- | ~~~~~~~~~~^~~~~~~~~~~~~~
- uvm/uvm_main.c:133:32: error: too many arguments to function ‘send_prinyat_ref_azimuth’
- 133 | send_status |= send_prinyat_ref_azimuth(connection_handle, io, ¤tMessageCounter);
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- uvm/uvm_comm.h:106:5: note: declared here
- 106 | int send_prinyat_ref_azimuth(int clientSocketFD, uint16_t *messageCounter);
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- uvm/uvm_main.c:134:78: warning: passing argument 2 of ‘send_navigatsionnye_dannye’ from incompatible pointer type [-Wincompatible-pointer-types]
- 134 | send_status |= send_navigatsionnye_dannye(connection_handle, io, ¤tMessageCounter);
- | ^~
- | |
- | IOInterface *
- uvm/uvm_comm.h:122:62: note: expected ‘uint16_t *’ {aka ‘short unsigned int *’} but argument is of type ‘IOInterface *’
- 122 | int send_navigatsionnye_dannye(int clientSocketFD, uint16_t *messageCounter);
- | ~~~~~~~~~~^~~~~~~~~~~~~~
- uvm/uvm_main.c:134:32: error: too many arguments to function ‘send_navigatsionnye_dannye’
- 134 | send_status |= send_navigatsionnye_dannye(connection_handle, io, ¤tMessageCounter);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- uvm/uvm_comm.h:122:5: note: declared here
- 122 | int send_navigatsionnye_dannye(int clientSocketFD, uint16_t *messageCounter);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~
- uvm/uvm_main.c:25:14: warning: unused parameter ‘argc’ [-Wunused-parameter]
- 25 | int main(int argc, char* argv[] ) {
- | ~~~~^~~~
- uvm/uvm_main.c:25:26: warning: unused parameter ‘argv’ [-Wunused-parameter]
- 25 | int main(int argc, char* argv[] ) {
- | ~~~~~~^~~~~~
- make: *** [<встроенное>: uvm/uvm_main.o] Ошибка 1
- dtorkin@ubuntu1:~/Desktop/v0_12$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement