Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Harold Hunt" To: "cygwin" Cc: Subject: FW: [PATCH] include/w32api/winnt.h Date: Fri, 11 May 2001 02:19:33 -0400 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_000E_01C0D9C0.D12D77A0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal ------=_NextPart_000_000E_01C0D9C0.D12D77A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Anybody home??? There were no replies to this message... Harold -----Original Message----- From: cygwin-owner AT sources DOT redhat DOT com [mailto:cygwin-owner AT sources DOT redhat DOT com]On Behalf Of Harold Hunt Sent: Monday, May 07, 2001 2:32 AM To: Cygwin (E-mail) Subject: [PATCH] include/w32api/winnt.h Add DUMMYUNIONNAME macro to union in _REPARSE_DATA_BUFFER. Prevents following warning during compilation with -ansi: /usr/include/w32api/winnt.h:2487: warning: ANSI C doesn't support unnamed structs/unions Harold ------=_NextPart_000_000E_01C0D9C0.D12D77A0 Content-Type: application/octet-stream; name="winnt.h.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="winnt.h.diff" --- winnt.h.orig Mon May 7 02:25:06 2001=0A= +++ winnt.h Mon May 7 02:26:15 2001=0A= @@ -2484,7 +2484,7 @@=0A= struct {=0A= BYTE DataBuffer[1];=0A= } GenericReparseBuffer;=0A= - };=0A= + } DUMMYUNIONNAME;=0A= } REPARSE_DATA_BUFFER, *PREPARSE_DATA_BUFFER;=0A= typedef struct _REPARSE_GUID_DATA_BUFFER {=0A= DWORD ReparseTag;=0A= ------=_NextPart_000_000E_01C0D9C0.D12D77A0 Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple ------=_NextPart_000_000E_01C0D9C0.D12D77A0--