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


Hi Dave,

Thanks for the description of the problem, and the workaround.  Our
code is pretty complicated at points, so it might be challenging to be
sure of the include order, but I'll try.

The other suggestion I saw from Christopher Faylor was to try Cygwin
commercial support.  This was actually the first major problem I've
had with Cygwin, so I haven't had to use it before and didn't even
think of it.  I'll try contacting them tomorrow, and possibly get a
fix for the strange looking defines in Xwindows.h, so the order of
includes shouldn't matter.  Personally, I'd be happy with sleep()
being defined in unistd.h, and Sleep() defined in Windows.h, and
keeping the two separate.

Thanks again for your help,
Chris

--
Chris LeBlanc
Claritas Development
GNS Science
Lower Hutt, New Zealand
Web: www.globeclaritas.com

--
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]