- make
- g++ -g -MD -Wall -I./ -L./lib -lstdc++ -lcares -c -o CResolver.o CResolver.cpp
- g++ -g -MD -Wall -I./ -L./lib -lstdc++ -lcares -c -o CFunctions.c-ares.o CFunctions.c-ares.cpp
- g++ -g -MD -Wall -I./ -L./lib -lstdc++ -lcares -c -o CSocket.o CSocket.cpp
- CSocket.cpp: In member function ‘bool CSocket::Recv(char*, ssize_t&, int, sockaddr*, size_t&)’:
- CSocket.cpp:401:39: error: cannot convert ‘size_t* {aka long unsigned int*}’ to ‘socklen_t* {aka unsigned int*}’ in initialization
- socklen_t* nSockaddrLength = &iAddrLength;
- ^
- CSocket.cpp: In member function ‘bool CSocket::GetPeerName(sockaddr*, size_t&)’:
- CSocket.cpp:485:39: error: cannot convert ‘size_t* {aka long unsigned int*}’ to ‘socklen_t* {aka unsigned int*}’ in initialization
- socklen_t* nSockaddrLength = &iLength;
- ^
- CSocket.cpp: In member function ‘bool CSocket::GetSocketName(sockaddr*, size_t&)’:
- CSocket.cpp:502:39: error: cannot convert ‘size_t* {aka long unsigned int*}’ to ‘socklen_t* {aka unsigned int*}’ in initialization
- socklen_t* nSockaddrLength = &iLength;
- ^
- CSocket.cpp: In member function ‘bool CSocket::GetOption(int, int, void*, size_t)’:
- CSocket.cpp:533:29: error: cannot convert ‘size_t* {aka long unsigned int*}’ to ‘socklen_t* {aka unsigned int*}’ in initialization
- socklen_t* nSize = &iDataSize;
- ^
- <builtin>: recipe for target 'CSocket.o' failed
- make: *** [CSocket.o] Error 1
Untitled
From Bitty Mousedeer, 10 Years ago, written in Plain Text, viewed 739 times.
This paste will give up the ghost in 1 Second.
URL https://paste.godclan.hu/view/kIBigdbe
Embed
Download Paste or View Raw
— Expand Paste to full width of browser