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: w32api/include/winbase.h rev. 1.101, OVERLAPPED and -std=c99


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


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