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
  1.  
  2. make
  3. g++  -g -MD -Wall -I./ -L./lib -lstdc++ -lcares  -c -o CResolver.o CResolver.cpp
  4. g++  -g -MD -Wall -I./ -L./lib -lstdc++ -lcares  -c -o CFunctions.c-ares.o CFunctions.c-ares.cpp
  5. g++  -g -MD -Wall -I./ -L./lib -lstdc++ -lcares  -c -o CSocket.o CSocket.cpp
  6. CSocket.cpp: In member function ‘bool CSocket::Recv(char*, ssize_t&, int, sockaddr*, size_t&)’:
  7. CSocket.cpp:401:39: error: cannot convert ‘size_t* {aka long unsigned int*}’ to ‘socklen_t* {aka unsigned int*}’ in initialization
  8.          socklen_t* nSockaddrLength = &iAddrLength;
  9.                                        ^
  10. CSocket.cpp: In member function ‘bool CSocket::GetPeerName(sockaddr*, size_t&)’:
  11. CSocket.cpp:485:39: error: cannot convert ‘size_t* {aka long unsigned int*}’ to ‘socklen_t* {aka unsigned int*}’ in initialization
  12.          socklen_t* nSockaddrLength = &iLength;
  13.                                        ^
  14. CSocket.cpp: In member function ‘bool CSocket::GetSocketName(sockaddr*, size_t&)’:
  15. CSocket.cpp:502:39: error: cannot convert ‘size_t* {aka long unsigned int*}’ to ‘socklen_t* {aka unsigned int*}’ in initialization
  16.          socklen_t* nSockaddrLength = &iLength;
  17.                                        ^
  18. CSocket.cpp: In member function ‘bool CSocket::GetOption(int, int, void*, size_t)’:
  19. CSocket.cpp:533:29: error: cannot convert ‘size_t* {aka long unsigned int*}’ to ‘socklen_t* {aka unsigned int*}’ in initialization
  20.          socklen_t* nSize = &iDataSize;
  21.                              ^
  22. <builtin>: recipe for target 'CSocket.o' failed
  23. make: *** [CSocket.o] Error 1
  24.  

Reply to "Untitled"

Here you can reply to the paste above