On 12/15/2016 01:13 PM, Gisle Vanem wrote: >> I've not checked all test-*.cc files for such errors. > > Another issue with sys_select.in.h: > test-sys_select-c++.cc > sys/select.h(305): error C2440: 'return': cannot convert from > 'int (__cdecl *)(int,fd_set *,fd_set *,fd_set *,timeval *)' to > 'gnulib_::_gl_select_wrapper::type' > sys/select.h(305): note: This conversion requires a reinterpret_cast, a > C-style cast or function-style cast > > But I fail to resolve this one.
Could it be due to a mismatch of "timeval" types? Note there's the system struct timeval type, and then there's the typedef in the gnulib namespace, that will point to the rpl_timeval replacement type on Windows. Thanks, Pedro Alves