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 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" Subject: Re: i686-w64-mingw32-gcc & ntifs.h References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD42ADBDB127330893F866BC4" X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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 > because /usr/i686-w64-mingw32/sys-root/mingw/include/ddk/ntifs.h contains > #include > and actually lives in ddk, i.e., it should be > #include > 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 > +#include > #include > #include > #include > -#include > +#include > #include > #include >=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 > +#include > #include > #include > #include >=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--