delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/11/02:26:37

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Harold Hunt" <huntharo AT msu DOT edu>
To: "cygwin" <cygwin AT cygwin DOT com>
Cc: <earnie_boyd AT yahoo DOT com>
Subject: FW: [PATCH] include/w32api/winnt.h
Date: Fri, 11 May 2001 02:19:33 -0400
Message-ID: <NHEELHJHHFKPMAEAFMFCCEAMCFAA.huntharo@msu.edu>
MIME-Version: 1.0
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--

- Raw text -


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