Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from socket.cpp:4:0:
- socket.hpp:18:8: error: ‘uint32’ does not name a type
- extern uint32 min_allowed_gepard_version;
- ^
- socket.hpp:42:2: error: ‘uint32’ does not name a type
- uint32 unique_id;
- ^
- socket.hpp:43:2: error: ‘uint32’ does not name a type
- uint32 sync_tick;
- ^
- socket.hpp:44:2: error: ‘uint32’ does not name a type
- uint32 gepard_shield_version;
- ^
- socket.hpp:103:26: error: ‘uint16’ has not been declared
- void gepard_init(int fd, uint16 packet_id);
- ^
- socket.hpp:105:36: error: ‘uint8’ has not been declared
- bool gepard_process_packet(int fd, uint8* packet_data, uint32 packet_size, struct gepard_crypt_link* link);
- ^
- socket.hpp:105:56: error: ‘uint32’ has not been declared
- bool gepard_process_packet(int fd, uint8* packet_data, uint32 packet_size, struct gepard_crypt_link* link);
- ^
- socket.hpp:106:21: error: variable or field ‘gepard_enc_dec’ declared void
- void gepard_enc_dec(uint8* in_data, uint8* out_data, unsigned int data_size, struct gepard_crypt_link* link);
- ^
- socket.hpp:106:21: error: ‘uint8’ was not declared in this scope
- socket.hpp:106:28: error: ‘in_data’ was not declared in this scope
- void gepard_enc_dec(uint8* in_data, uint8* out_data, unsigned int data_size, struct gepard_crypt_link* link);
- ^
- socket.hpp:106:37: error: ‘uint8’ was not declared in this scope
- void gepard_enc_dec(uint8* in_data, uint8* out_data, unsigned int data_size, struct gepard_crypt_link* link);
- ^
- socket.hpp:106:44: error: ‘out_data’ was not declared in this scope
- void gepard_enc_dec(uint8* in_data, uint8* out_data, unsigned int data_size, struct gepard_crypt_link* link);
- ^
- socket.hpp:106:54: error: expected primary-expression before ‘unsigned’
- void gepard_enc_dec(uint8* in_data, uint8* out_data, unsigned int data_size, struct gepard_crypt_link* link);
- ^
- socket.hpp:106:78: error: expected primary-expression before ‘struct’
- void gepard_enc_dec(uint8* in_data, uint8* out_data, unsigned int data_size, struct gepard_crypt_link* link);
- ^
- socket.cpp: In function ‘int WFIFOSET(int, size_t)’:
- socket.cpp:805:74: error: cannot convert ‘uint8* {aka unsigned char*}’ to ‘int*’ for argument ‘2’ to ‘bool gepard_process_packet(int, int*, int, gepard_crypt_link*)’
- gepard_process_packet(fd, s->wdata + s->wdata_size, len, &s->send_crypt);
- ^
- socket.cpp: In function ‘void gepard_config_read()’:
- socket.cpp:1736:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
- char* conf_name = "conf/gepard_shield.conf";
- ^
- socket.cpp:1765:12: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
- conf_name = "conf/gepard_version.txt";
- ^
- socket.cpp: In function ‘bool gepard_process_packet(int, uint8*, uint32, gepard_crypt_link*)’:
- socket.cpp:1794:80: error: ‘gepard_enc_dec’ was not declared in this scope
- gepard_enc_dec(packet_data + 2, packet_data + 2, 4, &session[fd]->sync_crypt);
- ^
- socket.cpp:1800:30: error: ‘struct gepard_info_data’ has no member named ‘sync_tick’
- session[fd]->gepard_info.sync_tick = gettick();
- ^
- socket.cpp:1834:76: error: ‘gepard_enc_dec’ was not declared in this scope
- gepard_enc_dec(packet_data + 2, packet_data + 2, RFIFOREST(fd) - 2, link);
- ^
- socket.cpp:1852:76: error: ‘gepard_enc_dec’ was not declared in this scope
- gepard_enc_dec(packet_data + 4, packet_data + 4, RFIFOREST(fd) - 4, link);
- ^
- socket.cpp:1863:74: error: ‘gepard_enc_dec’ was not declared in this scope
- gepard_enc_dec(packet_data + 4, packet_data + 4, packet_size - 4, link);
- ^
- socket.cpp:1876:74: error: ‘gepard_enc_dec’ was not declared in this scope
- gepard_enc_dec(packet_data + 2, packet_data + 2, packet_size - 2, link);
- ^
- socket.cpp:1889:74: error: ‘gepard_enc_dec’ was not declared in this scope
- gepard_enc_dec(packet_data + 4, packet_data + 4, packet_size - 4, link);
- ^
- socket.cpp:1909:74: error: ‘gepard_enc_dec’ was not declared in this scope
- gepard_enc_dec(packet_data + 4, packet_data + 4, packet_size - 4, link);
- ^
- socket.cpp:1927:29: error: ‘struct gepard_info_data’ has no member named ‘unique_id’
- session[fd]->gepard_info.unique_id = unique_id;
- ^
- socket.cpp:1928:29: error: ‘struct gepard_info_data’ has no member named ‘gepard_shield_version’
- session[fd]->gepard_info.gepard_shield_version = shield_ver;
- ^
- socket.cpp: In function ‘void gepard_config_read()’:
- socket.cpp:1774:47: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
- fscanf(fp, "%u", &min_allowed_gepard_version);
- ^
- make[1]: *** [obj/socket.o] Error 1
- make: *** [common] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement