Weegee

Untitled

Jun 24th, 2011
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.21 KB | None | 0 0
  1. debug.h:10:28: warning: 'dbg::ERROR_ALLOCATION_FAILED' defined but not used [-Wunused-variable]
  2. debug.h:14:21: warning: 'void dbg::_log(int, const char*, const char*, const char*, ...)' declared 'static' but never defined [-Wunused-function]
  3. socket.h:24:28: warning: 'dbg::ERROR_INVALID_FAMILY' defined but not used [-Wunused-variable]
  4. socket.h:25:28: warning: 'dbg::ERROR_BAD_SOCKET' defined but not used [-Wunused-variable]
  5. socket.h:26:28: warning: 'dbg::ERROR_BIND_FAILED' defined but not used [-Wunused-variable]
  6. socket.h:27:28: warning: 'dbg::ERROR_ACCEPT_FAILED' defined but not used [-Wunused-variable]
  7. socket.h:28:28: warning: 'dbg::ERROR_READ_FAILED' defined but not used [-Wunused-variable]
  8. socket.h:29:28: warning: 'dbg::ERROR_WRITE_FAILED' defined but not used [-Wunused-variable]
  9. socket.h:30:28: warning: 'dbg::ERROR_NO_BUFFER' defined but not used [-Wunused-variable]
  10. socket.h:31:28: warning: 'dbg::ERROR_BUFFER_TOO_SMALL' defined but not used [-Wunused-variable]
  11. socket.h:32:28: warning: 'dbg::ERROR_CONNECT_FAILED' defined but not used [-Wunused-variable]
  12. debug.h:10:28: warning: 'dbg::ERROR_ALLOCATION_FAILED' defined but not used [-Wunused-variable]
  13. debug.cpp:12:10: warning: 'void dbg::_log(int, const char*, const char*, const char*, ...)' defined but not used [-Wunused-function]
  14. socket.h: In constructor 'nirc_socket::nirc_socket()':
  15. socket.h:44:17: warning: 'nirc_socket::handle' will be initialized after [-Wreorder]
  16. socket.h:41:17: warning: 'int nirc_socket::address_family' [-Wreorder]
  17. socket.cpp:3:5: warning: when initialized here [-Wreorder]
  18. socket.cpp: In static member function 'static void nirc_socket::init()':
  19. socket.cpp:21:9: error: 'WORD' was not declared in this scope
  20. socket.cpp:21:9: error: expected ';' before 'wVersion'
  21. socket.cpp:21:9: error: 'WSADATA' was not declared in this scope
  22. socket.cpp:21:9: error: expected ';' before 'wsaData'
  23. socket.cpp:21:9: error: 'wVersion' was not declared in this scope
  24. socket.cpp:21:9: error: 'MAKEWORD' was not declared in this scope
  25. socket.cpp:21:9: error: 'wsaData' was not declared in this scope
  26. socket.cpp:21:9: error: 'WSAStartup' was not declared in this scope
  27. socket.cpp: In member function 'void nirc_client::read()':
  28. socket.cpp:138:18: error: '::read' has not been declared
  29. socket.cpp: In member function 'void nirc_client::read(unsigned int)':
  30. socket.cpp:158:18: error: '::read' has not been declared
  31. socket.cpp: In member function 'void nirc_client::set_buffer(unsigned int)':
  32. socket.cpp:179:63: error: 'malloc' was not declared in this scope
  33. socket.cpp:181:78: error: 'realloc' was not declared in this scope
  34. socket.cpp: In member function 'void nirc_socket::close()':
  35. socket.cpp:213:9: error: '::close' has not been declared
  36. socket.cpp: In member function 'void nirc_server::accept()':
  37. socket.cpp:243:90: error: invalid conversion from 'int*' to 'socklen_t*' [-fpermissive]
  38. /usr/include/sys/socket.h:214:12: error: initializing argument 3 of 'int accept(int, sockaddr*, socklen_t*)' [-fpermissive]
  39. debug.h: At global scope:
  40. debug.h:12:22: warning: 'dbg::log_file' defined but not used [-Wunused-variable]
  41. debug.h:14:21: warning: 'void dbg::_log(int, const char*, const char*, const char*, ...)' declared 'static' but never defined [-Wunused-function]
Add Comment
Please, Sign In to add comment