This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problems using Xlib.h/Xwindows.h/unistd.h and win32api under gcc-4


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__.
> 
> <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.

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]