On Sun, Jun 27, 2010 at 02:12:49AM -0500, Gavin wrote: >Freshly installed Cygwin 1.75, gcc etc included, on Win Vista SP2 32-bit >wxWidgets dies here after config, > >../configure --with-msw --enable-debug > >during make: > >In file included from ../src/msw/utils.cpp:56: >/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32api/winsock.h:479: >erro >r: declaration of C function `int select(int, _types_fd_set*, _types_fd_set*, >_t >ypes_fd_set*, const timeval*)' conflicts with >/usr/include/sys/select.h:31: error: previous declaration `int select(int, >_type >s_fd_set*, _types_fd_set*, _types_fd_set*, timeval*)' here >../src/msw/utils.cpp: In function `const wxChar* wxGetHomeDir(wxString*)': >../src/msw/utils.cpp:407: warning: `int cygwin_conv_to_full_win32_path(const >cha >r*, char*)' is deprecated (declared at /usr/include/sys/cygwin.h:52) >../src/msw/utils.cpp:407: warning: `int cygwin_conv_to_full_win32_path(const >cha >r*, char*)' is deprecated (declared at /usr/include/sys/cygwin.h:52) >make: *** [basedll_msw_utils.o] Error 1 > >Is conflict in cygwin or wxWidgets?
wxWidgets. It should not be including winsock.h in a cygwin program. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple