delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/06/27/15:00:00

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Sun, 27 Jun 2010 14:59:48 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Error making wxWigets 2.8.10 in Cygwin 1.7.5
Message-ID: <20100627185948.GB13357@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <AANLkTilnvEUBnRzieVusa2hsaGbMnA5YdBP5bVvrF6f- AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <AANLkTilnvEUBnRzieVusa2hsaGbMnA5YdBP5bVvrF6f-@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019