X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Tue, 5 May 2009 16:56:29 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: problems using Xlib.h/Xwindows.h/unistd.h and win32api under gcc-4 Message-ID: <20090505145629.GB21324@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <49FFC04E DOT 7010601 AT gmail DOT com> <20090505085953 DOT GS21324 AT calimero DOT vinschen DOT de> <4A00520C DOT 6080005 AT users DOT sourceforge DOT net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A00520C.6080005@users.sourceforge.net> User-Agent: Mutt/1.5.19 (2009-02-20) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 May 5 09:49, Yaakov S wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Corinna Vinschen wrote: > > AFAICS this is a generic problem with the X11/Xwindows.h file which > > should be fixed upstream. The definition of sleep as Sleep might be > > fine for a native X server, but not for the Cygwin X server and should > > be guarded with a #ifndef __CYGWIN__. > > is meant to be used only within XWin/Xming, which > obviously needs to be able to include both X11 and windows.h headers > without conflicting. Otherwise, X11 and Windows GUI really don't mix, > so this header isn't meant to be used by client code. Uh, ok. So this is actually a bug in the application? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/