Open williamtu opened 3 years ago
get_mtime
lib/socket-util.c(875,1): error: conflicting types for 'get_mtime'
get_mtime(const char *file_name, struct timespec *mtime)
^
./lib/socket-util.h(68,5): note: previous declaration is here
int get_mtime(const char *file_name, struct timespec *mtime);
^
lib/util.c(596,24): error: use of undeclared identifier '_TWO_DIGIT_EXPONENT'
_set_output_format(_TWO_DIGIT_EXPONENT);
^
In file included from ./lib/stream.h:25:
./lib/socket-util.h(149,40): warning: unused parameter 'style' [-Wunused-parameter]
static inline int make_unix_socket(int style, bool nonblock,
^
./lib/socket-util.h(149,52): warning: unused parameter 'nonblock' [-Wunused-parameter]
static inline int make_unix_socket(int style, bool nonblock,
^
./lib/socket-util.h(150,48): warning: unused parameter 'bind_path' [-Wunused-parameter]
const char *bind_path,
^
./lib/socket-util.h(151,48): warning: unused parameter 'connect_path' [-Wunused-parameter]
const char *connect_path)
^
lib/stream-windows.c(104,22): warning: unused parameter 'dscp' [-Wunused-parameter]
uint8_t dscp OVS_UNUSED)
^
lib/stream-windows.c(242,45): error: cannot take the address of an rvalue of type 'DWORD' (aka 'unsigned long')
if (!GetOverlappedResult(s->fd, ov, &(DWORD)retval, FALSE)) {
^~~~~~~~~~~~~~
lib/stream-windows.c(264,41): error: cannot take the address of an rvalue of type 'DWORD' (aka 'unsigned long')
result = ReadFile(s->fd, buffer, n, &(DWORD)retval, ov);