delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/03/12:37:54

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY
X-Spam-Check-By: sourceware.org
X-Yahoo-SMTP: jenXL62swBAWhMTL3wnej93oaS0ClBQOAKs8jbEbx_o-
Date: Thu, 3 Mar 2011 12:37:37 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: w32api/include/winbase.h rev. 1.101, OVERLAPPED and -std=c99
Message-ID: <20110303173737.GA16585@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4D6FC5BE DOT 7030601 AT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <4D6FC5BE.7030601@gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Thu, Mar 03, 2011 at 04:45:50PM +0000, Pete Batard wrote:
>Any application compiled in C99 mode and using OVERLAPPED is therefore 
>expected to break, and we have seen that issue after people upgraded 
>their cygwin installation and tried recompiling libusb [2]. Our current 
>workaround is to switch to gnu99, but with a source that is common to 
>both MSVC, MinGW and cygwin, GNU extensions is something we would like 
>to avoid. Also, the problem seems to have now spread to the latest 
>MinGW32 now (are they reusing cygwin's winbase.h?).

It's the other way around.  Cygwin's winbase.h comes from MinGW.  If
there is an issue you need to take it up with the MingW folks.

OTOH, for Cygwin programs you shouldn't be using winbase.h at all.

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019