delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4E4D9487.4080103@users.sourceforge.net> |
Date: | Fri, 19 Aug 2011 06:39:03 +0800 |
From: | JonY <jon_y AT users DOT sourceforge DOT net> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.0 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com, |
"mingw-w64-public AT lists DOT sourceforge DOT net" <mingw-w64-public AT lists DOT sourceforge DOT net> | |
Subject: | Re: i686-w64-mingw32-gcc & ntifs.h |
References: | <svliuq67y2 DOT fsf AT smsv2-L DOT wtc DOT algo> |
In-Reply-To: | <svliuq67y2.fsf@smsv2-L.wtc.algo> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
--------------enigD42ADBDB127330893F866BC4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 8/18/2011 23:44, Sam Steingold wrote: > Hi, > I cannot > #include <ddk/ntifs.h> > because /usr/i686-w64-mingw32/sys-root/mingw/include/ddk/ntifs.h contains > #include <ntddk.h> > and <ntddk.h> actually lives in ddk, i.e., it should be > #include <ddk/ntddk.h> > after I aplly these two patches: > --- c:/gnu/cygwin/usr/i686-w64-mingw32/sys-root/mingw/include/ddk/ntddk.h= .old 2011-08-10 09:06:18.001000000 -0400 > +++ c:/gnu/cygwin/usr/i686-w64-mingw32/sys-root/mingw/include/ddk/ntddk.h= 2011-08-18 11:42:13.272375000 -0400 > @@ -35,11 +35,11 @@ > #define NT_INCLUDED > #define _CTYPE_DISABLE_MACROS >=20=20 > -#include <wdm.h> > +#include <ddk/wdm.h> > #include <excpt.h> > #include <ntdef.h> > #include <ntstatus.h> > -#include <mce.h> > +#include <ddk/mce.h> > #include <bugcodes.h> > #include <ntiologc.h> >=20=20 >=20 > Diff finished. Thu Aug 18 11:42:16 2011 > --- c:/gnu/cygwin/usr/i686-w64-mingw32/sys-root/mingw/include/ddk/ntifs.h= .old 2011-08-10 09:06:19.001000000 -0400 > +++ c:/gnu/cygwin/usr/i686-w64-mingw32/sys-root/mingw/include/ddk/ntifs.h= 2011-08-18 11:33:42.429125000 -0400 > @@ -31,7 +31,7 @@ extern "C" { > #endif >=20=20 > /* Dependencies */ > -#include <ntddk.h> > +#include <ddk/ntddk.h> > #include <excpt.h> > #include <ntdef.h> > #include <ntnls.h> >=20 > Diff finished. Thu Aug 18 11:36:04 2011 Adding to mingw-w64-public list. You are supposed to use -I to add the ddk path to gcc. --------------enigD42ADBDB127330893F866BC4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (MingW32) iEYEARECAAYFAk5NlIsACgkQp56AKe10wHdf2gCfaMlPvAfDE77/dsv6TTosGIAo LHoAnRmClQnlHsEVEoFOyXIWWaaMsK8d =rhpi -----END PGP SIGNATURE----- --------------enigD42ADBDB127330893F866BC4--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |