This is the mail archive of the cygwin-developers@cygwin.com 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]

Re: [Fwd: [MinGW-dvlpr] [Fwd: [MinGW-cvs] CVS: w32api/include winnt.h,1.4,1.5]]


FYI.  This has been fixed.

Earnie.

Earnie Boyd wrote:
> 
> FYI.  I'll update winsup/w32api after Danny updates the
> cvs.mingw.sourceforge.net files.
> 
> Earnie.
> 
>   ------------------------------------------------------------------------
> 
> Subject: Re: [MinGW-dvlpr] [Fwd: [MinGW-cvs] CVS: w32api/include winnt.h,1.4,1.5]
> Date: Thu, 30 Aug 2001 06:27:52 +1000 (EST)
> From: Danny Smith <danny_r_smith_2001@yahoo.co.nz>
> Reply-To: mingw-dvlpr@lists.sourceforge.net
> To: mingw-dvlpr@lists.sourceforge.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

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



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