tools/hexnet: comment sections out temporarily to get rid of compile errors
Doesn’t compile on Void x86_32 glibc. This will need to be investigated. I just wanted to get rid of the errors while working on other issues. Compile command: ccache g++ -std=c++20 -Wall -Wextra src/tools/hexnet.cpp -I./include -Lbin/lib -l:cli.so -l:libsockpp.so -o bin/tools/hexnetSoda
parent
a9759e3bc2
commit
bb40f6553e
|
@ -254,8 +254,8 @@ int main(int argc, char* argv[]){
|
||||||
return EXIT_RUNTIME;
|
return EXIT_RUNTIME;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::thread threadReadFromUDP = std::thread(readFromUDPSocket, udpSocket, mtu);
|
//std::thread threadReadFromUDP = std::thread(readFromUDPSocket, udpSocket, mtu);
|
||||||
threadReadFromUDP.join();
|
//threadReadFromUDP.join();
|
||||||
|
|
||||||
delete udpSocket;
|
delete udpSocket;
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
|
@ -283,8 +283,8 @@ int main(int argc, char* argv[]){
|
||||||
return EXIT_RUNTIME;
|
return EXIT_RUNTIME;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::thread threadReadFromTCP6 = std::thread(readFromTCP6Socket, tcp6Socket, mtu);
|
//std::thread threadReadFromTCP6 = std::thread(readFromTCP6Socket, tcp6Socket, mtu);
|
||||||
threadReadFromTCP6.join();
|
//threadReadFromTCP6.join();
|
||||||
|
|
||||||
delete tcp6Socket;
|
delete tcp6Socket;
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
|
@ -313,8 +313,8 @@ int main(int argc, char* argv[]){
|
||||||
return EXIT_RUNTIME;
|
return EXIT_RUNTIME;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::thread threadReadFromTCP = std::thread(readFromTCPSocket, tcpSocket, mtu);
|
//std::thread threadReadFromTCP = std::thread(readFromTCPSocket, tcpSocket, mtu);
|
||||||
threadReadFromTCP.join();
|
//threadReadFromTCP.join();
|
||||||
|
|
||||||
delete tcpSocket;
|
delete tcpSocket;
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
|
|
Loading…
Reference in New Issue