delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4A00520C.6080005@users.sourceforge.net> |
Date: | Tue, 05 May 2009 09:49:48 -0500 |
From: | "Yaakov (Cygwin/X)" <yselkowitz AT users DOT sourceforge DOT net> |
User-Agent: | Thunderbird 2.0.0.21 (Windows/20090302) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: problems using Xlib.h/Xwindows.h/unistd.h and win32api under gcc-4 |
References: | <c342c1150905041957q448e21f5nffbd6200666425ab AT mail DOT gmail DOT com> <49FFC04E DOT 7010601 AT gmail DOT com> <c342c1150905042228g635c19f6x598692b00a30287b AT mail DOT gmail DOT com> <20090505085953 DOT GS21324 AT calimero DOT vinschen DOT de> |
In-Reply-To: | <20090505085953.GS21324@calimero.vinschen.de> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
-----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__. <X11/Xwindows.h> 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. Yaakov Cygwin/X -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkoAUgwACgkQpiWmPGlmQSM8AwCgnu0YR2q1Vk6VDipaeS9VpDIy oAoAnRJoY0NHGwxRRV5ZHonzjeNe8AtQ =K1hg -----END PGP SIGNATURE----- -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |