From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2078 invoked by alias); 14 Aug 2012 07:34:44 -0000 Received: (qmail 27976 invoked by uid 22791); 14 Aug 2012 07:34:18 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.83/v0.83-20-g38e4449) with ESMTP; Tue, 14 Aug 2012 07:34:05 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 313F72C0054; Tue, 14 Aug 2012 09:34:03 +0200 (CEST) Date: Tue, 14 Aug 2012 07:34:00 -0000 From: Corinna Vinschen To: cygwin-apps@cygwin.com Subject: Re: [ITA] w32api-3.0b_svn5368-1 Message-ID: <20120814073403.GB13181@calimero.vinschen.de> Reply-To: cygwin-apps@cygwin.com Mail-Followup-To: cygwin-apps@cygwin.com References: <50275206.9010607@users.sourceforge.net> <5029BD45.90107@users.sourceforge.net> <20120814071835.GA5034@calimero.vinschen.de> <20120814072938.GA13181@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20120814072938.GA13181@calimero.vinschen.de> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com X-SW-Source: 2012-08/txt/msg00036.txt.bz2 On Aug 14 09:29, Corinna Vinschen wrote: > On Aug 14 08:25, Andy Koppe wrote: > > On 14 August 2012 08:18, Corinna Vinschen wrote: > > > On Aug 13 21:51, Yaakov (Cygwin/X) wrote: > > >> On 2012-08-12 01:49, JonY wrote: > > >> >New w32api preliminary upload, now with mingw-w64 parts. > > >> > > >> Nack. Both mintty and xorg-server FTBFS with this w32api. > > > > > > Er... what? > > > > I had to look it up: Fails To Build From Source. > > > > /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../include/w32api/windef.h:23:27: > > error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ULONG’ > > > > windef.h:23: typedef unsigned __LONG32 ULONG; > > > > It doesn't like the __LONG32. > > Ok, that's fixable. Do you include windef before windows.h? If so, > does it work if you switch the includes? Alternatively, can you apply this patch to windef.h and try again? Index: windef.h =================================================================== --- windef.h (revision 5370) +++ windef.h (working copy) @@ -14,6 +14,8 @@ extern "C" { #endif +#include <_mingw.h> + #ifndef WINVER #define WINVER 0x0502 #endif Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat