debug.h:10:28: warning: 'dbg::ERROR_ALLOCATION_FAILED' defined but not used [-Wunused-variable] debug.h:14:21: warning: 'void dbg::_log(int, const char*, const char*, const char*, ...)' declared 'static' but never defined [-Wunused-function] socket.h:24:28: warning: 'dbg::ERROR_INVALID_FAMILY' defined but not used [-Wunused-variable] socket.h:25:28: warning: 'dbg::ERROR_BAD_SOCKET' defined but not used [-Wunused-variable] socket.h:26:28: warning: 'dbg::ERROR_BIND_FAILED' defined but not used [-Wunused-variable] socket.h:27:28: warning: 'dbg::ERROR_ACCEPT_FAILED' defined but not used [-Wunused-variable] socket.h:28:28: warning: 'dbg::ERROR_READ_FAILED' defined but not used [-Wunused-variable] socket.h:29:28: warning: 'dbg::ERROR_WRITE_FAILED' defined but not used [-Wunused-variable] socket.h:30:28: warning: 'dbg::ERROR_NO_BUFFER' defined but not used [-Wunused-variable] socket.h:31:28: warning: 'dbg::ERROR_BUFFER_TOO_SMALL' defined but not used [-Wunused-variable] socket.h:32:28: warning: 'dbg::ERROR_CONNECT_FAILED' defined but not used [-Wunused-variable] debug.h:10:28: warning: 'dbg::ERROR_ALLOCATION_FAILED' defined but not used [-Wunused-variable] debug.cpp:12:10: warning: 'void dbg::_log(int, const char*, const char*, const char*, ...)' defined but not used [-Wunused-function] socket.h: In constructor 'nirc_socket::nirc_socket()': socket.h:44:17: warning: 'nirc_socket::handle' will be initialized after [-Wreorder] socket.h:41:17: warning: 'int nirc_socket::address_family' [-Wreorder] socket.cpp:3:5: warning: when initialized here [-Wreorder] socket.cpp: In static member function 'static void nirc_socket::init()': socket.cpp:21:9: error: 'WORD' was not declared in this scope socket.cpp:21:9: error: expected ';' before 'wVersion' socket.cpp:21:9: error: 'WSADATA' was not declared in this scope socket.cpp:21:9: error: expected ';' before 'wsaData' socket.cpp:21:9: error: 'wVersion' was not declared in this scope socket.cpp:21:9: error: 'MAKEWORD' was not declared in this scope socket.cpp:21:9: error: 'wsaData' was not declared in this scope socket.cpp:21:9: error: 'WSAStartup' was not declared in this scope socket.cpp: In member function 'void nirc_client::read()': socket.cpp:138:18: error: '::read' has not been declared socket.cpp: In member function 'void nirc_client::read(unsigned int)': socket.cpp:158:18: error: '::read' has not been declared socket.cpp: In member function 'void nirc_client::set_buffer(unsigned int)': socket.cpp:179:63: error: 'malloc' was not declared in this scope socket.cpp:181:78: error: 'realloc' was not declared in this scope socket.cpp: In member function 'void nirc_socket::close()': socket.cpp:213:9: error: '::close' has not been declared socket.cpp: In member function 'void nirc_server::accept()': socket.cpp:243:90: error: invalid conversion from 'int*' to 'socklen_t*' [-fpermissive] /usr/include/sys/socket.h:214:12: error: initializing argument 3 of 'int accept(int, sockaddr*, socklen_t*)' [-fpermissive] debug.h: At global scope: debug.h:12:22: warning: 'dbg::log_file' defined but not used [-Wunused-variable] debug.h:14:21: warning: 'void dbg::_log(int, const char*, const char*, const char*, ...)' declared 'static' but never defined [-Wunused-function]