On 2013-04-16 11:09, LM wrote:
> Was curious if any other developers on this list were into porting
> applications from other platforms.  Would like to compare notes with
> other developers.  For instance, I built the X11 libraries and XWin
> server (natively not in Cygwin) and now that I'm checking some of the
> other libraries/applications that previously built fine, they seem to be
> colliding with some of the X11 header files.

There are indeed some conflicting types in the X11 and Win32 headers. 
In order to use both in the same file, you must use xproto-7.0.24 and 
#include <X11/Xwindows.h> or <X11/Xwinsock.h> instead of <windows.h> or 
<winsock2.h>, respectively.

HTH,


Yaakov
Cygwin Ports


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to