This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: i686-w64-mingw32-gcc & ntifs.h


> * 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]