[Fwd: [MinGW-dvlpr] [Fwd: [MinGW-cvs] CVS: w32api/include winnt.h,1.4,1.5]]
Earnie Boyd
earnie_boyd@yahoo.com
Wed Aug 29 14:26:00 GMT 2001
FYI. I'll update winsup/w32api after Danny updates the
cvs.mingw.sourceforge.net files.
Earnie.
To : mingw-dvlpr at lists dot sourceforge dot net
Subject : Re: [MinGW-dvlpr] [Fwd: [MinGW-cvs] CVS: w32api/include winnt.h,1.4,1.5]
>From : Danny Smith <danny_r_smith_2001 at yahoo dot co dot nz>
Date : Thu, 30 Aug 2001 06:27:52 +1000 (EST)
List-Id : MinGW Devlopers Discussion List <mingw-dvlpr.lists.sourceforge.net>
Reply-To : mingw-dvlpr at lists dot sourceforge dot net
--- Earnie Boyd <earnie_boyd@yahoo.com> wrote: > This change has
broken the build of Cygwin.
>
I see the problem. _ANONYMOUS_STRUCT is undefined if __cplusplus
(because its part of C++ standard, not __extension__) I will revert
change later today (unless you beat me to it) and try to find a
different way of doing it.
Danny
> ../../../../src/winsup/cygwin/fhandler_floppy.cc: In method `off_t
> fhandler_dev_floppy::lseek(long int, int)':
> ../../../../src/winsup/cygwin/fhandler_floppy.cc:109: `union
> _LARGE_INTEGER' has no member named `LowPart'
> ../../../../src/winsup/cygwin/fhandler_floppy.cc:120: `union
> _LARGE_INTEGER' has no member named `LowPart'
> ../../../../src/winsup/cygwin/fhandler_floppy.cc:121: `union
> _LARGE_INTEGER' has no member named `LowPart'
>
> Earnie.
> ATTACHMENT part 2 message/rfc822
> To: mingw-cvs@lists.sourceforge.net
> From: Danny Smith <dannysmith@users.sourceforge.net>
> Subject: [MinGW-cvs] CVS: w32api/include winnt.h,1.4,1.5
> Reply-to: noreply@sourceforge.lists
> Date: Tue, 28 Aug 2001 14:56:18 -0700
>
> This list will notify you of updates to the code stored in CVS.
> Typically only developers with access to update the CVS are
> interested in this list. However, this list can be beneficial to see
> what is happening with your changes. If you wish to unsubscribe
> please do so at
> http://lists.sourceforge.net/lists/listinfo/mingw-cvs.Update of
> /cvsroot/mingw/w32api/include
> In directory usw-pr-cvs1:/tmp/cvs-serv10075/w32api/include
>
> Modified Files:
> winnt.h
> Log Message:
> * include\winnt.h: Allow anonymous (Xxx.LowPart) or
> non-anonymous (Xxx.u.LowPart) access to HighPart and
> LowPart of a LARGE_INTEGER or ULARGE_INTEGER.
>
>
>
> Index: winnt.h
> ===================================================================
> RCS file: /cvsroot/mingw/w32api/include/winnt.h,v
> retrieving revision 1.4
> retrieving revision 1.5
> diff -C2 -d -r1.4 -r1.5
> *** winnt.h 2001/08/15 02:52:26 1.4
> --- winnt.h 2001/08/28 21:56:16 1.5
> ***************
> *** 1702,1720 ****
> } EXCEPTION_POINTERS,*PEXCEPTION_POINTERS,*LPEXCEPTION_POINTERS;
> typedef union _LARGE_INTEGER {
> ! _ANONYMOUS_STRUCT struct {
> ! DWORD LowPart;
> ! LONG HighPart;
> ! }_STRUCT_NAME(u);
> ! LONGLONG QuadPart;
> ! } LARGE_INTEGER;
> ! typedef LARGE_INTEGER *PLARGE_INTEGER;
> typedef union _ULARGE_INTEGER {
> ! _ANONYMOUS_STRUCT struct {
> ! DWORD LowPart;
> ! DWORD HighPart;
> ! }_STRUCT_NAME(u);
> ! DWORDLONG QuadPart;
> ! } ULARGE_INTEGER;
> ! typedef ULARGE_INTEGER *PULARGE_INTEGER;
> typedef LARGE_INTEGER LUID,*PLUID;
> #pragma pack(push,4)
> --- 1702,1730 ----
> } EXCEPTION_POINTERS,*PEXCEPTION_POINTERS,*LPEXCEPTION_POINTERS;
> typedef union _LARGE_INTEGER {
> ! struct {
> ! DWORD LowPart;
> ! LONG HighPart;
> ! } u;
> ! #if _ANONYMOUS_STRUCT
> ! struct {
> ! DWORD LowPart;
> ! LONG HighPart;
> ! };
> ! #endif /* _ANONYMOUS_STRUCT */
> ! LONGLONG QuadPart;
> ! } LARGE_INTEGER, *PLARGE_INTEGER;
> typedef union _ULARGE_INTEGER {
> ! struct {
> ! DWORD LowPart;
> ! DWORD HighPart;
> ! } u;
> ! #if _ANONYMOUS_STRUCT
> ! struct {
> ! DWORD LowPart;
> ! DWORD HighPart;
> ! };
> ! #endif /* _ANONYMOUS_STRUCT */
> ! ULONGLONG QuadPart;
> ! } ULARGE_INTEGER, *PULARGE_INTEGER;
> typedef LARGE_INTEGER LUID,*PLUID;
> #pragma pack(push,4)
>
>
> _______________________________________________
> MinGW-cvs mailing list
> MinGW-cvs@lists.sourceforge.net
> http://lists.sourceforge.net/lists/listinfo/mingw-cvs
>
http://travel.yahoo.com.au - Yahoo! Travel
- Got Itchy feet? Get inspired!
_______________________________________________
MinGW-dvlpr mailing list
MinGW-dvlpr@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mingw-dvlpr
More information about the Cygwin-developers
mailing list