X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0	tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_VR,TW_XG,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
From: Sam Steingold <sds@gnu.org>
To: cygwin@cygwin.com,
        mingw-w64-public-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: i686-w64-mingw32-gcc & ntifs.h
In-Reply-To: <CAEwic4YRYiOPP+6AQH_UrnO0pTpc6xYTZrV4bC-esAACXxCOaQ@mail.gmail.com>	(Kai Tietz's message of "Sat, 20 Aug 2011 09:31:47 +0200")
References: <svliuq67y2.fsf@smsv2-L.wtc.algo>	<4E4D9487.4080103@users.sourceforge.net>	<sv39gy47h5.fsf@smsv2-L.wtc.algo>	<4E4E38B9.9010803@users.sourceforge.net>	<20110819120044.GA2506@calimero.vinschen.de>	<svr54h2ql5.fsf@smsv2-L.wtc.algo>	<4E4F08D3.3060007@users.sourceforge.net>	<CAEwic4YRYiOPP+6AQH_UrnO0pTpc6xYTZrV4bC-esAACXxCOaQ@mail.gmail.com>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)
Mail-Copies-To: never
Reply-To: sds@gnu.org
X-Disclaimer: You should not expect anyone to agree with me.
Mail-Followup-To: cygwin@cygwin.com,	mingw-w64-public-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Date: Sun, 21 Aug 2011 21:26:17 -0400
Message-ID: <87fwkunsna.fsf@gnu.org>
MIME-Version: 1.0
Content-Type: text/plain
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

> * Kai Tietz <xgvrgm70-tZ/Lr1R23zjA+OdD9eORHt@choyvp.tznar.bet> [2011-08-20 09:31:47 +0200]:
> 2011/8/20 JonY <jon_y-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>:
>>> /usr/i686-w64-mingw32/sys-root/mingw/include/ddk/ntddk.h:2922:26:
>>> error: redeclaration of enumerator `WinRestrictedCodeSid'
>>> /usr/i686-w64-mingw32/sys-root/mingw/include/winnt.h:2681:413: note:
>>> previous definition of `WinRestrictedCodeSid' was here
>>>
>>> what about those?
>>>
>>
>> afaik, you aren't supposed to use use winnt.h and ntddk code together,
>> but I'm not sure this is accidental, I'll try to the devs and see if
>> they have something.
>>
>
> winnt.h is platform header part.  For DDK you should use AFAIR ntdef.h
> and/or wdm.h instead.

somehow my users who use mingw with msys can include winnt.h and
ntddk/ntifs.h while I (who uses cygwin with i686-w64-mingw32-gcc)
cannot.


-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 11.04 (natty) X 11.0.11001000
http://openvotingconsortium.org http://pmw.org.il http://memri.org
http://palestinefacts.org http://honestreporting.com http://truepeace.org
You cannot fire me. Slaves are not fired. Slaves are sold.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

