| delorie.com/archives/browse.cgi | search |
| 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 \(E-mail\)" <cygwin AT sources DOT redhat DOT com> |
| Subject: | [PATCH] include/w32api/winnt.h |
| Date: | Mon, 7 May 2001 02:31:56 -0400 |
| Message-ID: | <000401c0d6bf$6a0d5490$1fab0a23@huntharo> |
| MIME-Version: | 1.0 |
| X-Priority: | 3 (Normal) |
| X-MSMail-Priority: | Normal |
| X-Mailer: | Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) |
| Importance: | Normal |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
------=_NextPart_000_0005_01C0D69D.E2FBB490
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
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_0005_01C0D69D.E2FBB490
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_0005_01C0D69D.E2FBB490
Content-Type: text/plain; charset=us-ascii
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
------=_NextPart_000_0005_01C0D69D.E2FBB490--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |